diff --git a/.next/BUILD_ID b/.next/BUILD_ID index dc5dc993c7e15aee23738b319368331b08e03112..7437b346b8db228439a540e6a1fbe73881ee4278 100644 --- a/.next/BUILD_ID +++ b/.next/BUILD_ID @@ -1 +1 @@ -E66ReztlUunPgDOKdXxsh \ No newline at end of file +HOMmT77GBF_yHKBIDvc4Q \ No newline at end of file diff --git a/.next/app-build-manifest.json b/.next/app-build-manifest.json index b05eaef969986e42daec3a2d46ba39b5b406c40c..0b24e75c14de30e5fe14c06d3c1eb85b0925f3ce 100644 --- a/.next/app-build-manifest.json +++ b/.next/app-build-manifest.json @@ -1,543 +1,543 @@ { "pages": { "/_not-found/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/_not-found/page-ba71488e719cbee5.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/_not-found/page-456a9067b36694a4.js" ], "/layout": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/css/7b8717d9d84180b1.css", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/2138-18d4ca002a920f5d.js", - "static/chunks/app/layout-19d4da7b6d1a11dd.js" - ], - "/api/admin/sites/[id]/database/logs/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/database/logs/route-b093bf7758b7ccd7.js" - ], - "/api/admin/sites/[id]/database/schema/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/database/schema/route-d9c68e12cf8a14d4.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/css/048b1824021554f0.css", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/4841-9c023033845750e4.js", + "static/chunks/app/layout-f8fe6cebce585a15.js" ], "/api/admin/sites/[id]/database/query/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/database/query/route-e965d26c21e33895.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/database/query/route-961ea734a9d8afc9.js" ], "/api/admin/sites/[id]/functions/[functionId]/logs/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/functions/[functionId]/logs/route-31e6d1bb9e5bc65c.js" - ], - "/api/admin/sites/[id]/functions/[functionId]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/functions/[functionId]/route-6624ebbb5007f791.js" - ], - "/api/admin/sites/[id]/secrets/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/secrets/route-f4d0251af1c5619d.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/functions/[functionId]/logs/route-961ea734a9d8afc9.js" ], "/api/admin/run-migrations/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/run-migrations/route-31ad301db9338cc8.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/run-migrations/route-961ea734a9d8afc9.js" ], - "/api/admin/sites/[id]/secrets/[secretId]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/secrets/[secretId]/route-9ecc975a4c1c111c.js" + "/api/admin/sites/[id]/database/logs/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/database/logs/route-961ea734a9d8afc9.js" ], - "/api/admin/dashboard/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/dashboard/route-59e1e8d72a0fbf17.js" + "/api/admin/sites/[id]/database/schema/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/database/schema/route-961ea734a9d8afc9.js" ], - "/api/admin/sites/[id]/server-context/mutate/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/server-context/mutate/route-b78e00e6b1fc34b4.js" + "/api/admin/dashboard/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/dashboard/route-961ea734a9d8afc9.js" ], - "/api/admin/sites/[id]/server-functions/[functionId]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/server-functions/[functionId]/route-1df65f51884c4800.js" + "/api/admin/sites/[id]/secrets/[secretId]/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/secrets/[secretId]/route-961ea734a9d8afc9.js" ], "/api/admin/sites/[id]/functions/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/functions/route-f8fb16feb4d0042f.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/functions/route-961ea734a9d8afc9.js" + ], + "/api/admin/sites/[id]/secrets/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/secrets/route-961ea734a9d8afc9.js" ], "/api/admin/sites/[id]/server-functions/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/server-functions/route-22ae3e3248349427.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/server-functions/route-961ea734a9d8afc9.js" ], "/api/admin/sites/[id]/server-context/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/admin/sites/[id]/server-context/route-8eed601e3ad70cb0.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/server-context/route-961ea734a9d8afc9.js" + ], + "/api/admin/sites/[id]/server-functions/[functionId]/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/server-functions/[functionId]/route-961ea734a9d8afc9.js" + ], + "/api/admin/sites/[id]/server-context/mutate/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/server-context/mutate/route-961ea734a9d8afc9.js" ], "/api/analytics/[siteId]/clear/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/clear/route-76bb9d55d3c8d30c.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/[siteId]/clear/route-961ea734a9d8afc9.js" ], "/api/analytics/[siteId]/engagement/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/engagement/route-39bd245cdcdeb44e.js" - ], - "/api/analytics/[siteId]/export/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/export/route-dc7209f3f30df836.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/[siteId]/engagement/route-961ea734a9d8afc9.js" ], "/api/analytics/[siteId]/heatmap/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/heatmap/route-c2a696b92f698cf2.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/[siteId]/heatmap/route-961ea734a9d8afc9.js" ], - "/api/analytics/[siteId]/storage/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/storage/route-a6075a911db439cb.js" + "/api/admin/sites/[id]/functions/[functionId]/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/admin/sites/[id]/functions/[functionId]/route-961ea734a9d8afc9.js" ], "/api/analytics/[siteId]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/route-d537100595379f20.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/[siteId]/route-961ea734a9d8afc9.js" ], - "/api/analytics/interaction/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/interaction/route-a893dc193fbd9f26.js" + "/api/analytics/[siteId]/storage/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/[siteId]/storage/route-961ea734a9d8afc9.js" ], - "/api/auth/check/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/auth/check/route-2bc03e3358b50cd0.js" + "/api/analytics/[siteId]/sessions/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/[siteId]/sessions/route-961ea734a9d8afc9.js" ], "/api/analytics/[siteId]/overview/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/overview/route-33cfa6db24302a32.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/[siteId]/overview/route-961ea734a9d8afc9.js" ], - "/api/auth/login/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/auth/login/route-18fe92c87fbfa15e.js" + "/api/analytics/interaction/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/interaction/route-961ea734a9d8afc9.js" + ], + "/api/analytics/track/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/track/route-961ea734a9d8afc9.js" + ], + "/api/analytics/[siteId]/export/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/analytics/[siteId]/export/route-961ea734a9d8afc9.js" ], "/api/docs/[...path]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/docs/[...path]/route-874d6dcc3505b4f9.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/docs/[...path]/route-961ea734a9d8afc9.js" + ], + "/api/generate/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/generate/route-961ea734a9d8afc9.js" ], "/api/auth/logout/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/auth/logout/route-d9070c4277d03fed.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/auth/logout/route-961ea734a9d8afc9.js" ], "/api/auth/me/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/auth/me/route-0f06197637f703ac.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/auth/me/route-961ea734a9d8afc9.js" ], - "/api/analytics/[siteId]/sessions/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/[siteId]/sessions/route-b2c948f133c0ae45.js" + "/api/auth/check/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/auth/check/route-961ea734a9d8afc9.js" ], - "/api/projects/[id]/sites/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/projects/[id]/sites/route-0605d468cc93ab8f.js" + "/api/auth/login/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/auth/login/route-961ea734a9d8afc9.js" ], - "/api/generate/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/generate/route-0e65a6cfb8d4177c.js" + "/api/sites/[id]/publish/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sites/[id]/publish/route-961ea734a9d8afc9.js" ], "/api/models/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/models/route-35f8e874f1e5c4c9.js" - ], - "/api/projects/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/projects/route-e443a33cbc5ced83.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/models/route-961ea734a9d8afc9.js" ], "/api/shell/execute/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/shell/execute/route-f518150859dcff5b.js" - ], - "/api/analytics/track/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/analytics/track/route-ba719bb7b83a092a.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/shell/execute/route-961ea734a9d8afc9.js" ], - "/api/sites/[id]/publish/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/publish/route-b2f6c6035ae5dd61.js" - ], - "/api/sites/[id]/thumbnail/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/thumbnail/route-279a452ec20bc17a.js" + "/api/projects/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/projects/route-961ea734a9d8afc9.js" ], "/api/sites/[id]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/route-37995db81547355e.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sites/[id]/route-961ea734a9d8afc9.js" ], - "/api/sync/projects/[id]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/projects/[id]/route-abe8be0679dc3fef.js" + "/api/projects/[id]/sites/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/projects/[id]/sites/route-961ea734a9d8afc9.js" ], "/api/sites/[id]/settings/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/settings/route-92cd8a2456a31ecf.js" - ], - "/api/sites/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/route-1f1268747c1518b7.js" - ], - "/api/sync/projects/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/projects/route-ba4a1b35c23eee9d.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sites/[id]/settings/route-961ea734a9d8afc9.js" ], "/api/sync/files/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/files/route-7072fd002a5d503a.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sync/files/route-961ea734a9d8afc9.js" ], - "/api/sync/templates/[id]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/templates/[id]/route-27126f484ce73434.js" + "/api/sync/projects/[id]/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sync/projects/[id]/route-961ea734a9d8afc9.js" + ], + "/api/sync/projects/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sync/projects/route-961ea734a9d8afc9.js" ], "/api/sync/templates/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/templates/route-df8a2aeae4f2167c.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sync/templates/route-961ea734a9d8afc9.js" + ], + "/api/sites/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sites/route-961ea734a9d8afc9.js" ], "/api/sync/skills/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/skills/route-9fbba378d54fe436.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sync/skills/route-961ea734a9d8afc9.js" + ], + "/api/sites/[id]/thumbnail/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sites/[id]/thumbnail/route-961ea734a9d8afc9.js" + ], + "/api/sync/skills/[id]/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sync/skills/[id]/route-961ea734a9d8afc9.js" ], "/api/sync/status/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/status/route-083b554a6e0bcf89.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sync/status/route-961ea734a9d8afc9.js" ], - "/api/validate-key/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/validate-key/route-42551140fa800077.js" + "/api/sync/templates/[id]/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sync/templates/[id]/route-961ea734a9d8afc9.js" ], - "/api/sync/skills/[id]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sync/skills/[id]/route-8d459287a3665b25.js" + "/api/validate-key/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/validate-key/route-961ea734a9d8afc9.js" ], "/sites/[id]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/sites/[id]/route-142a0b1d11fa08c1.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/sites/[id]/route-961ea734a9d8afc9.js" ], "/sites/[id]/[...path]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/sites/[id]/[...path]/route-28584e7d9e195cef.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/sites/[id]/[...path]/route-961ea734a9d8afc9.js" ], - "/admin/docs/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/docs/page-226865ee37f1fbcc.js" + "/api/sites/[id]/functions/[...path]/route": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/api/sites/[id]/functions/[...path]/route-961ea734a9d8afc9.js" ], - "/admin/dashboard/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/dashboard/page-fbd6d62ec0a157c3.js" + "/admin/docs/page": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/docs/page-6851bc68b8a2db8f.js" ], "/admin/login/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/admin/login/page-5470d9718e2ee0e3.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/admin/login/page-5f069849d073f76f.js" + ], + "/admin/dashboard/page": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/dashboard/page-6851bc68b8a2db8f.js" ], "/admin/projects/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/projects/page-1fe7c7e20e00f2b6.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/projects/page-6851bc68b8a2db8f.js" ], - "/admin/settings/model/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/settings/model/page-5bed268748dbbc2a.js" + "/admin/settings/application/page": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/settings/application/page-6851bc68b8a2db8f.js" ], - "/admin/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/admin/page-b2a62d22e5b9b7f1.js" + "/admin/skills/page": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/skills/page-6851bc68b8a2db8f.js" ], - "/admin/settings/application/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/settings/application/page-a874fccacd499bea.js" + "/admin/page": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/app/admin/page-700ea05bb99f3aa7.js" ], "/admin/settings/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/settings/page-9f364b6b8587064f.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/settings/page-6851bc68b8a2db8f.js" ], "/admin/sites/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/sites/page-cab0d1490b6a10b2.js" - ], - "/admin/skills/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/skills/page-929d76911d7d6b6c.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/sites/page-6851bc68b8a2db8f.js" ], "/admin/templates/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/admin/templates/page-504a7473b0432e50.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/templates/page-6851bc68b8a2db8f.js" ], - "/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/ad2866b8-a4659a388c5e0680.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5194-99a431c0b0218919.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/1645-ba208cf843cc4ff4.js", - "static/chunks/app/page-f25d0cf644cab125.js" + "/admin/settings/model/page": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/admin/settings/model/page-6851bc68b8a2db8f.js" ], - "/api/sites/[id]/functions/[...path]/route": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/app/api/sites/[id]/functions/[...path]/route-398027b95cbf24da.js" + "/page": [ + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/ad2866b8-e13a3cf75ccf0eb8.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/9974-f7789415a2178836.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/6971-b0cc891c05a94ee5.js", + "static/chunks/app/page-0aeebd468c8e7784.js" ], "/test-generation/page": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js", - "static/chunks/06bf0ff1-2f6b5dbae626a171.js", - "static/chunks/6671-78ed01c4e5154d89.js", - "static/chunks/4792-f97f5e70e2ff5861.js", - "static/chunks/5226-756b348ecc09845d.js", - "static/chunks/app/test-generation/page-9a29f57c36cce1f2.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js", + "static/chunks/06bf0ff1-101744fe776a5109.js", + "static/chunks/8720-c9ee040177c11cae.js", + "static/chunks/8111-afa4b6ab5893fd8c.js", + "static/chunks/7047-8ed7f297ea0641fa.js", + "static/chunks/app/test-generation/page-3f2a8abff861f1b3.js" ] } } \ No newline at end of file diff --git a/.next/app-path-routes-manifest.json b/.next/app-path-routes-manifest.json index b6cea0268b90ebf3c209e885bd599bbe13e0a51c..745400d25dce90a1fc9007652b8c642c1e508bc5 100644 --- a/.next/app-path-routes-manifest.json +++ b/.next/app-path-routes-manifest.json @@ -1,67 +1,67 @@ { "/_not-found/page": "/_not-found", - "/api/admin/sites/[id]/database/logs/route": "/api/admin/sites/[id]/database/logs", - "/api/admin/sites/[id]/database/schema/route": "/api/admin/sites/[id]/database/schema", "/api/admin/sites/[id]/database/query/route": "/api/admin/sites/[id]/database/query", "/api/admin/sites/[id]/functions/[functionId]/logs/route": "/api/admin/sites/[id]/functions/[functionId]/logs", - "/api/admin/sites/[id]/functions/[functionId]/route": "/api/admin/sites/[id]/functions/[functionId]", - "/api/admin/sites/[id]/secrets/route": "/api/admin/sites/[id]/secrets", "/api/admin/run-migrations/route": "/api/admin/run-migrations", - "/api/admin/sites/[id]/secrets/[secretId]/route": "/api/admin/sites/[id]/secrets/[secretId]", + "/api/admin/sites/[id]/database/logs/route": "/api/admin/sites/[id]/database/logs", + "/api/admin/sites/[id]/database/schema/route": "/api/admin/sites/[id]/database/schema", "/api/admin/dashboard/route": "/api/admin/dashboard", - "/api/admin/sites/[id]/server-context/mutate/route": "/api/admin/sites/[id]/server-context/mutate", - "/api/admin/sites/[id]/server-functions/[functionId]/route": "/api/admin/sites/[id]/server-functions/[functionId]", + "/api/admin/sites/[id]/secrets/[secretId]/route": "/api/admin/sites/[id]/secrets/[secretId]", "/api/admin/sites/[id]/functions/route": "/api/admin/sites/[id]/functions", + "/api/admin/sites/[id]/secrets/route": "/api/admin/sites/[id]/secrets", "/api/admin/sites/[id]/server-functions/route": "/api/admin/sites/[id]/server-functions", "/api/admin/sites/[id]/server-context/route": "/api/admin/sites/[id]/server-context", + "/api/admin/sites/[id]/server-functions/[functionId]/route": "/api/admin/sites/[id]/server-functions/[functionId]", + "/api/admin/sites/[id]/server-context/mutate/route": "/api/admin/sites/[id]/server-context/mutate", "/api/analytics/[siteId]/clear/route": "/api/analytics/[siteId]/clear", "/api/analytics/[siteId]/engagement/route": "/api/analytics/[siteId]/engagement", - "/api/analytics/[siteId]/export/route": "/api/analytics/[siteId]/export", "/api/analytics/[siteId]/heatmap/route": "/api/analytics/[siteId]/heatmap", - "/api/analytics/[siteId]/storage/route": "/api/analytics/[siteId]/storage", + "/api/admin/sites/[id]/functions/[functionId]/route": "/api/admin/sites/[id]/functions/[functionId]", "/api/analytics/[siteId]/route": "/api/analytics/[siteId]", - "/api/analytics/interaction/route": "/api/analytics/interaction", - "/api/auth/check/route": "/api/auth/check", + "/api/analytics/[siteId]/storage/route": "/api/analytics/[siteId]/storage", + "/api/analytics/[siteId]/sessions/route": "/api/analytics/[siteId]/sessions", "/api/analytics/[siteId]/overview/route": "/api/analytics/[siteId]/overview", - "/api/auth/login/route": "/api/auth/login", + "/api/analytics/interaction/route": "/api/analytics/interaction", + "/api/analytics/track/route": "/api/analytics/track", + "/api/analytics/[siteId]/export/route": "/api/analytics/[siteId]/export", "/api/docs/[...path]/route": "/api/docs/[...path]", + "/api/generate/route": "/api/generate", "/api/auth/logout/route": "/api/auth/logout", "/api/auth/me/route": "/api/auth/me", - "/api/analytics/[siteId]/sessions/route": "/api/analytics/[siteId]/sessions", - "/api/projects/[id]/sites/route": "/api/projects/[id]/sites", - "/api/generate/route": "/api/generate", + "/api/auth/check/route": "/api/auth/check", + "/api/auth/login/route": "/api/auth/login", + "/api/sites/[id]/publish/route": "/api/sites/[id]/publish", "/api/models/route": "/api/models", - "/api/projects/route": "/api/projects", "/api/shell/execute/route": "/api/shell/execute", - "/api/analytics/track/route": "/api/analytics/track", - "/api/sites/[id]/publish/route": "/api/sites/[id]/publish", - "/api/sites/[id]/thumbnail/route": "/api/sites/[id]/thumbnail", + "/api/projects/route": "/api/projects", "/api/sites/[id]/route": "/api/sites/[id]", - "/api/sync/projects/[id]/route": "/api/sync/projects/[id]", + "/api/projects/[id]/sites/route": "/api/projects/[id]/sites", "/api/sites/[id]/settings/route": "/api/sites/[id]/settings", - "/api/sites/route": "/api/sites", - "/api/sync/projects/route": "/api/sync/projects", "/api/sync/files/route": "/api/sync/files", - "/api/sync/templates/[id]/route": "/api/sync/templates/[id]", + "/api/sync/projects/[id]/route": "/api/sync/projects/[id]", + "/api/sync/projects/route": "/api/sync/projects", "/api/sync/templates/route": "/api/sync/templates", + "/api/sites/route": "/api/sites", "/api/sync/skills/route": "/api/sync/skills", + "/api/sites/[id]/thumbnail/route": "/api/sites/[id]/thumbnail", + "/api/sync/skills/[id]/route": "/api/sync/skills/[id]", "/api/sync/status/route": "/api/sync/status", + "/api/sync/templates/[id]/route": "/api/sync/templates/[id]", "/api/validate-key/route": "/api/validate-key", - "/api/sync/skills/[id]/route": "/api/sync/skills/[id]", "/sites/[id]/route": "/sites/[id]", "/sites/[id]/[...path]/route": "/sites/[id]/[...path]", + "/api/sites/[id]/functions/[...path]/route": "/api/sites/[id]/functions/[...path]", "/admin/docs/page": "/admin/docs", - "/admin/dashboard/page": "/admin/dashboard", "/admin/login/page": "/admin/login", + "/admin/dashboard/page": "/admin/dashboard", "/admin/projects/page": "/admin/projects", - "/admin/settings/model/page": "/admin/settings/model", - "/admin/page": "/admin", "/admin/settings/application/page": "/admin/settings/application", + "/admin/skills/page": "/admin/skills", + "/admin/page": "/admin", "/admin/settings/page": "/admin/settings", "/admin/sites/page": "/admin/sites", - "/admin/skills/page": "/admin/skills", "/admin/templates/page": "/admin/templates", + "/admin/settings/model/page": "/admin/settings/model", "/page": "/", - "/api/sites/[id]/functions/[...path]/route": "/api/sites/[id]/functions/[...path]", "/test-generation/page": "/test-generation" } \ No newline at end of file diff --git a/.next/build-manifest.json b/.next/build-manifest.json index e849392ba81197e0aea27485d4e8c30cb3e054d5..80b38a38c050ea159abf067745f8350f5d4c15ab 100644 --- a/.next/build-manifest.json +++ b/.next/build-manifest.json @@ -5,28 +5,28 @@ "devFiles": [], "ampDevFiles": [], "lowPriorityFiles": [ - "static/E66ReztlUunPgDOKdXxsh/_buildManifest.js", - "static/E66ReztlUunPgDOKdXxsh/_ssgManifest.js" + "static/HOMmT77GBF_yHKBIDvc4Q/_buildManifest.js", + "static/HOMmT77GBF_yHKBIDvc4Q/_ssgManifest.js" ], "rootMainFiles": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/4bd1b696-2683f5a71cc09935.js", - "static/chunks/1684-d33e5663462f625f.js", - "static/chunks/main-app-eac23abd81400eeb.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/4bd1b696-100b9d70ed4e49c1.js", + "static/chunks/1255-8befde0980f5cba9.js", + "static/chunks/main-app-6796e1116c8e92de.js" ], "rootMainFilesTree": {}, "pages": { "/_app": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/framework-744b75979ac08316.js", - "static/chunks/main-bbe4e11ff27a3bdc.js", - "static/chunks/pages/_app-5d1abe03d322390c.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/framework-bd61ec64032c2de7.js", + "static/chunks/main-73443a1a35107593.js", + "static/chunks/pages/_app-4b3fb5e477a0267f.js" ], "/_error": [ - "static/chunks/webpack-0af5272a654ff228.js", - "static/chunks/framework-744b75979ac08316.js", - "static/chunks/main-bbe4e11ff27a3bdc.js", - "static/chunks/pages/_error-3b2a1d523de49635.js" + "static/chunks/webpack-d5fcaaeea5d59391.js", + "static/chunks/framework-bd61ec64032c2de7.js", + "static/chunks/main-73443a1a35107593.js", + "static/chunks/pages/_error-c970d8b55ace1b48.js" ] }, "ampFirstPages": [] diff --git a/.next/prerender-manifest.json b/.next/prerender-manifest.json index 2d0e51b6363cd3d0a52a29cd34c2247dc89854ef..d182a78371ed022b9f9af5efb87c8ff27c449236 100644 --- a/.next/prerender-manifest.json +++ b/.next/prerender-manifest.json @@ -1,11 +1,12 @@ { "version": 4, "routes": { - "/admin/login": { + "/_not-found": { + "initialStatus": 404, "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -14,8 +15,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/login", - "dataRoute": "/admin/login.rsc", + "srcRoute": "/_not-found", + "dataRoute": "/_not-found.rsc", "allowHeader": [ "host", "x-matched-path", @@ -25,11 +26,11 @@ "x-next-revalidate-tag-token" ] }, - "/admin": { + "/admin/login": { "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -38,8 +39,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin", - "dataRoute": "/admin.rsc", + "srcRoute": "/admin/login", + "dataRoute": "/admin/login.rsc", "allowHeader": [ "host", "x-matched-path", @@ -49,11 +50,11 @@ "x-next-revalidate-tag-token" ] }, - "/admin/dashboard": { + "/admin": { "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -62,8 +63,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/dashboard", - "dataRoute": "/admin/dashboard.rsc", + "srcRoute": "/admin", + "dataRoute": "/admin.rsc", "allowHeader": [ "host", "x-matched-path", @@ -77,7 +78,7 @@ "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -101,7 +102,7 @@ "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -121,11 +122,11 @@ "x-next-revalidate-tag-token" ] }, - "/admin/sites": { + "/admin/templates": { "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -134,8 +135,32 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/sites", - "dataRoute": "/admin/sites.rsc", + "srcRoute": "/admin/templates", + "dataRoute": "/admin/templates.rsc", + "allowHeader": [ + "host", + "x-matched-path", + "x-prerender-revalidate", + "x-prerender-revalidate-if-generated", + "x-next-revalidated-tags", + "x-next-revalidate-tag-token" + ] + }, + "/": { + "experimentalBypassFor": [ + { + "type": "header", + "key": "next-action" + }, + { + "type": "header", + "key": "content-type", + "value": "multipart/form-data;.*" + } + ], + "initialRevalidateSeconds": false, + "srcRoute": "/", + "dataRoute": "/index.rsc", "allowHeader": [ "host", "x-matched-path", @@ -149,7 +174,7 @@ "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -169,11 +194,11 @@ "x-next-revalidate-tag-token" ] }, - "/test-generation": { + "/admin/settings": { "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -182,8 +207,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/test-generation", - "dataRoute": "/test-generation.rsc", + "srcRoute": "/admin/settings", + "dataRoute": "/admin/settings.rsc", "allowHeader": [ "host", "x-matched-path", @@ -193,11 +218,11 @@ "x-next-revalidate-tag-token" ] }, - "/": { + "/admin/dashboard": { "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -206,8 +231,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/", - "dataRoute": "/index.rsc", + "srcRoute": "/admin/dashboard", + "dataRoute": "/admin/dashboard.rsc", "allowHeader": [ "host", "x-matched-path", @@ -221,7 +246,7 @@ "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -241,11 +266,11 @@ "x-next-revalidate-tag-token" ] }, - "/admin/settings": { + "/admin/sites": { "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -254,8 +279,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/settings", - "dataRoute": "/admin/settings.rsc", + "srcRoute": "/admin/sites", + "dataRoute": "/admin/sites.rsc", "allowHeader": [ "host", "x-matched-path", @@ -265,11 +290,11 @@ "x-next-revalidate-tag-token" ] }, - "/admin/templates": { + "/test-generation": { "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -278,8 +303,8 @@ } ], "initialRevalidateSeconds": false, - "srcRoute": "/admin/templates", - "dataRoute": "/admin/templates.rsc", + "srcRoute": "/test-generation", + "dataRoute": "/test-generation.rsc", "allowHeader": [ "host", "x-matched-path", @@ -293,7 +318,7 @@ "experimentalBypassFor": [ { "type": "header", - "key": "Next-Action" + "key": "next-action" }, { "type": "header", @@ -317,8 +342,8 @@ "dynamicRoutes": {}, "notFoundRoutes": [], "preview": { - "previewModeId": "3c6a399bd375b1a25a32e18ea884a6fd", - "previewModeSigningKey": "3ab0043bee3e91e21c7cfcaff4f20aba0ad7c38cdd17b8ebe4d8a8d37bbe23eb", - "previewModeEncryptionKey": "5dfc075df6dde922383918b95853dc3e2c19920fcba6bf8ca46d8ae0d9ced820" + "previewModeId": "176af8411e27bc6e8d9b293d8c86dbc0", + "previewModeSigningKey": "7dfa713bb26ff97c73a19435245dac10784d4a44df6f416a7bb630a0e86ea529", + "previewModeEncryptionKey": "23ec5d0546038def6e70308a3d431a4fcd7e1b15ff54a517bab5e4a9c07396d5" } } \ No newline at end of file diff --git a/.next/react-loadable-manifest.json b/.next/react-loadable-manifest.json index eaaf1354a680f993ea7377ed4da806147b86ce99..7528f3f34f9534ab04a7b6aaf1ee3a0b634c45d7 100644 --- a/.next/react-loadable-manifest.json +++ b/.next/react-loadable-manifest.json @@ -1,54 +1,54 @@ { "components/file-explorer/index.tsx -> @/lib/vfs/skills": { - "id": 12277, + "id": 39336, "files": [] }, "components/guided-tour/context.tsx -> @/lib/vfs": { - "id": 14250, + "id": 94318, "files": [] }, "components/guided-tour/context.tsx -> @/lib/vfs/project-templates": { - "id": 18555, + "id": 98752, "files": [] }, "components/heatmap-viewer/index.tsx -> @/lib/utils/screenshot": { - "id": 37940, + "id": 3169, "files": [] }, "components/views/content-area.tsx -> @/lib/vfs": { - "id": 14250, + "id": 94318, "files": [] }, "lib/llm/debug-events-state.ts -> @/lib/vfs": { - "id": 14250, + "id": 94318, "files": [] }, "lib/vfs/adapters/factory.ts -> ./sqlite-adapter": { - "id": 30845, + "id": 87739, "files": [ - "static/chunks/aaea2bcf.ecfc8abc06b729b3.js", - "static/chunks/9715.5b198f01a6fea451.js", - "static/chunks/845.03eaee8d92d2c75b.js" + "static/chunks/aaea2bcf.143d3b0dc8132bc4.js", + "static/chunks/8231.2a53dd09caf3dd99.js", + "static/chunks/7739.fd0ea8365b972f8b.js" ] }, "lib/vfs/backup-service.ts -> @/lib/vfs": { - "id": 14250, + "id": 94318, "files": [] }, "lib/vfs/cli-shell.ts -> ./index": { - "id": 14250, + "id": 94318, "files": [] }, "lib/vfs/index.ts -> ./auto-sync": { - "id": 27709, + "id": 37714, "files": [ - "static/chunks/7709.a8a5b7a05b05f3e4.js" + "static/chunks/7714.ccb74eca63677a95.js" ] }, "lib/vfs/index.ts -> ./server-context": { - "id": 9177, + "id": 91577, "files": [ - "static/chunks/9177.447ca5fc3e015eaf.js" + "static/chunks/1577.e77ffd50962a74af.js" ] } } \ No newline at end of file diff --git a/.next/required-server-files.json b/.next/required-server-files.json index 539068663a2a273b5f40e8d90457ebe039afda61..84883608477bf7890de501ced76419ff3db2a26e 100644 --- a/.next/required-server-files.json +++ b/.next/required-server-files.json @@ -9,6 +9,7 @@ "ignoreBuildErrors": false, "tsconfigPath": "tsconfig.json" }, + "typedRoutes": false, "distDir": ".next", "cleanDistDir": true, "assetPrefix": "", @@ -83,6 +84,7 @@ "keepAlive": true }, "logging": {}, + "compiler": {}, "expireTime": 31536000, "staticPageGenerationTimeout": 60, "output": "standalone", @@ -96,7 +98,7 @@ }, "outputFileTracingRoot": "/Users/otto/Desktop/deepstudio/osw-studio-git", "experimental": { - "nodeMiddleware": false, + "useSkewCookie": false, "cacheLife": { "default": { "stale": 300, @@ -104,7 +106,7 @@ "expire": 4294967294 }, "seconds": { - "stale": 0, + "stale": 30, "revalidate": 1, "expire": 60 }, @@ -144,6 +146,7 @@ "linkNoTouchStart": false, "caseSensitiveRoutes": false, "clientSegmentCache": false, + "clientParamParsing": false, "dynamicOnHover": false, "preloadEntriesOnStart": true, "clientRouterFilter": true, @@ -158,6 +161,7 @@ "imgOptTimeoutInSeconds": 7, "imgOptMaxInputPixels": 268402689, "imgOptSequentialRead": null, + "imgOptSkipMetadata": null, "isrFlushToDisk": true, "workerThreads": false, "optimizeCss": false, @@ -172,7 +176,6 @@ "swcTraceProfiling": false, "forceSwcTransforms": false, "largePageDataBytes": 128000, - "typedRoutes": false, "typedEnv": false, "parallelServerCompiles": false, "parallelServerBuildTraces": false, @@ -180,9 +183,10 @@ "authInterrupts": false, "webpackMemoryOptimizations": false, "optimizeServerReact": true, - "useEarlyImport": false, "viewTransition": false, "routerBFCache": false, + "removeUncaughtErrorAndRejectionListeners": false, + "validateRSCRequestHeaders": false, "staleTimes": { "dynamic": 0, "static": 300 @@ -190,9 +194,14 @@ "serverComponentsHmrCache": true, "staticGenerationMaxConcurrency": 8, "staticGenerationMinPagesPerWorker": 25, - "dynamicIO": false, + "cacheComponents": false, "inlineCss": false, "useCache": false, + "globalNotFound": false, + "devtoolSegmentExplorer": true, + "browserDebugInfoInTerminal": false, + "optimizeRouterScrolling": false, + "middlewareClientMaxBodySize": 10485760, "optimizePackageImports": [ "lucide-react", "date-fns", @@ -224,10 +233,10 @@ "@effect/sql-mssql", "@effect/sql-mysql2", "@effect/sql-pg", - "@effect/sql-squlite-node", - "@effect/sql-squlite-bun", - "@effect/sql-squlite-wasm", - "@effect/sql-squlite-react-native", + "@effect/sql-sqlite-node", + "@effect/sql-sqlite-bun", + "@effect/sql-sqlite-wasm", + "@effect/sql-sqlite-react-native", "@effect/rpc", "@effect/rpc-http", "@effect/typeclass", @@ -273,7 +282,7 @@ "trustHostHeader": false, "isExperimentalCompile": false }, - "htmlLimitedBots": "Mediapartners-Google|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti", + "htmlLimitedBots": "[\\w-]+-Google|Google-[\\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight", "bundlePagesRouterDependencies": false, "configFileName": "next.config.ts", "serverExternalPackages": [ @@ -322,7 +331,8 @@ ".next/server/server-reference-manifest.json", ".next/BUILD_ID", ".next/server/next-font-manifest.js", - ".next/server/next-font-manifest.json" + ".next/server/next-font-manifest.json", + ".next/required-server-files.json" ], "ignore": [ "node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*" diff --git a/.next/routes-manifest.json b/.next/routes-manifest.json index d8a863ea842c3d5985af23cf53c031743a1fb10b..599f9f2dd9155e7a481a5f4c963daf582b4df1d3 100644 --- a/.next/routes-manifest.json +++ b/.next/routes-manifest.json @@ -13,6 +13,27 @@ } ], "headers": [], + "rewrites": { + "beforeFiles": [], + "afterFiles": [ + { + "source": "/sites/:projectId", + "destination": "/sites/:projectId/index.html", + "regex": "^/sites(?:/([^/]+?))(?:/)?$" + }, + { + "source": "/sites/:projectId/", + "destination": "/sites/:projectId/index.html", + "regex": "^/sites(?:/([^/]+?))/(?:/)?$" + }, + { + "source": "/sites/:projectId/:path([^.]+)", + "destination": "/sites/:projectId/:path.html", + "regex": "^/sites(?:/([^/]+?))(?:/([^.]+))(?:/)?$" + } + ], + "fallback": [] + }, "dynamicRoutes": [ { "page": "/api/admin/sites/[id]/database/logs", @@ -365,36 +386,19 @@ ], "dataRoutes": [], "rsc": { - "header": "RSC", - "varyHeader": "RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch", - "prefetchHeader": "Next-Router-Prefetch", + "header": "rsc", + "varyHeader": "rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch", + "prefetchHeader": "next-router-prefetch", "didPostponeHeader": "x-nextjs-postponed", "contentTypeHeader": "text/x-component", "suffix": ".rsc", "prefetchSuffix": ".prefetch.rsc", - "prefetchSegmentHeader": "Next-Router-Segment-Prefetch", + "prefetchSegmentHeader": "next-router-segment-prefetch", "prefetchSegmentSuffix": ".segment.rsc", "prefetchSegmentDirSuffix": ".segments" }, "rewriteHeaders": { "pathHeader": "x-nextjs-rewritten-path", "queryHeader": "x-nextjs-rewritten-query" - }, - "rewrites": [ - { - "source": "/sites/:projectId", - "destination": "/sites/:projectId/index.html", - "regex": "^/sites(?:/([^/]+?))(?:/)?$" - }, - { - "source": "/sites/:projectId/", - "destination": "/sites/:projectId/index.html", - "regex": "^/sites(?:/([^/]+?))/(?:/)?$" - }, - { - "source": "/sites/:projectId/:path([^.]+)", - "destination": "/sites/:projectId/:path.html", - "regex": "^/sites(?:/([^/]+?))(?:/([^.]+))(?:/)?$" - } - ] + } } \ No newline at end of file diff --git a/.next/server/app-paths-manifest.json b/.next/server/app-paths-manifest.json index 9f44fbbaf45a2db05f8015165dc5e88573ce7b81..6f7b965d6f401abef80b0db8e86a8d16ea25c155 100644 --- a/.next/server/app-paths-manifest.json +++ b/.next/server/app-paths-manifest.json @@ -1,67 +1,67 @@ { "/_not-found/page": "app/_not-found/page.js", - "/api/admin/sites/[id]/database/logs/route": "app/api/admin/sites/[id]/database/logs/route.js", - "/api/admin/sites/[id]/database/schema/route": "app/api/admin/sites/[id]/database/schema/route.js", "/api/admin/sites/[id]/database/query/route": "app/api/admin/sites/[id]/database/query/route.js", "/api/admin/sites/[id]/functions/[functionId]/logs/route": "app/api/admin/sites/[id]/functions/[functionId]/logs/route.js", - "/api/admin/sites/[id]/functions/[functionId]/route": "app/api/admin/sites/[id]/functions/[functionId]/route.js", - "/api/admin/sites/[id]/secrets/route": "app/api/admin/sites/[id]/secrets/route.js", "/api/admin/run-migrations/route": "app/api/admin/run-migrations/route.js", - "/api/admin/sites/[id]/secrets/[secretId]/route": "app/api/admin/sites/[id]/secrets/[secretId]/route.js", + "/api/admin/sites/[id]/database/logs/route": "app/api/admin/sites/[id]/database/logs/route.js", + "/api/admin/sites/[id]/database/schema/route": "app/api/admin/sites/[id]/database/schema/route.js", "/api/admin/dashboard/route": "app/api/admin/dashboard/route.js", - "/api/admin/sites/[id]/server-context/mutate/route": "app/api/admin/sites/[id]/server-context/mutate/route.js", - "/api/admin/sites/[id]/server-functions/[functionId]/route": "app/api/admin/sites/[id]/server-functions/[functionId]/route.js", + "/api/admin/sites/[id]/secrets/[secretId]/route": "app/api/admin/sites/[id]/secrets/[secretId]/route.js", "/api/admin/sites/[id]/functions/route": "app/api/admin/sites/[id]/functions/route.js", + "/api/admin/sites/[id]/secrets/route": "app/api/admin/sites/[id]/secrets/route.js", "/api/admin/sites/[id]/server-functions/route": "app/api/admin/sites/[id]/server-functions/route.js", "/api/admin/sites/[id]/server-context/route": "app/api/admin/sites/[id]/server-context/route.js", + "/api/admin/sites/[id]/server-functions/[functionId]/route": "app/api/admin/sites/[id]/server-functions/[functionId]/route.js", + "/api/admin/sites/[id]/server-context/mutate/route": "app/api/admin/sites/[id]/server-context/mutate/route.js", "/api/analytics/[siteId]/clear/route": "app/api/analytics/[siteId]/clear/route.js", "/api/analytics/[siteId]/engagement/route": "app/api/analytics/[siteId]/engagement/route.js", - "/api/analytics/[siteId]/export/route": "app/api/analytics/[siteId]/export/route.js", "/api/analytics/[siteId]/heatmap/route": "app/api/analytics/[siteId]/heatmap/route.js", - "/api/analytics/[siteId]/storage/route": "app/api/analytics/[siteId]/storage/route.js", + "/api/admin/sites/[id]/functions/[functionId]/route": "app/api/admin/sites/[id]/functions/[functionId]/route.js", "/api/analytics/[siteId]/route": "app/api/analytics/[siteId]/route.js", - "/api/analytics/interaction/route": "app/api/analytics/interaction/route.js", - "/api/auth/check/route": "app/api/auth/check/route.js", + "/api/analytics/[siteId]/storage/route": "app/api/analytics/[siteId]/storage/route.js", + "/api/analytics/[siteId]/sessions/route": "app/api/analytics/[siteId]/sessions/route.js", "/api/analytics/[siteId]/overview/route": "app/api/analytics/[siteId]/overview/route.js", - "/api/auth/login/route": "app/api/auth/login/route.js", + "/api/analytics/interaction/route": "app/api/analytics/interaction/route.js", + "/api/analytics/track/route": "app/api/analytics/track/route.js", + "/api/analytics/[siteId]/export/route": "app/api/analytics/[siteId]/export/route.js", "/api/docs/[...path]/route": "app/api/docs/[...path]/route.js", + "/api/generate/route": "app/api/generate/route.js", "/api/auth/logout/route": "app/api/auth/logout/route.js", "/api/auth/me/route": "app/api/auth/me/route.js", - "/api/analytics/[siteId]/sessions/route": "app/api/analytics/[siteId]/sessions/route.js", - "/api/projects/[id]/sites/route": "app/api/projects/[id]/sites/route.js", - "/api/generate/route": "app/api/generate/route.js", + "/api/auth/check/route": "app/api/auth/check/route.js", + "/api/auth/login/route": "app/api/auth/login/route.js", + "/api/sites/[id]/publish/route": "app/api/sites/[id]/publish/route.js", "/api/models/route": "app/api/models/route.js", - "/api/projects/route": "app/api/projects/route.js", "/api/shell/execute/route": "app/api/shell/execute/route.js", - "/api/analytics/track/route": "app/api/analytics/track/route.js", - "/api/sites/[id]/publish/route": "app/api/sites/[id]/publish/route.js", - "/api/sites/[id]/thumbnail/route": "app/api/sites/[id]/thumbnail/route.js", + "/api/projects/route": "app/api/projects/route.js", "/api/sites/[id]/route": "app/api/sites/[id]/route.js", - "/api/sync/projects/[id]/route": "app/api/sync/projects/[id]/route.js", + "/api/projects/[id]/sites/route": "app/api/projects/[id]/sites/route.js", "/api/sites/[id]/settings/route": "app/api/sites/[id]/settings/route.js", - "/api/sites/route": "app/api/sites/route.js", - "/api/sync/projects/route": "app/api/sync/projects/route.js", "/api/sync/files/route": "app/api/sync/files/route.js", - "/api/sync/templates/[id]/route": "app/api/sync/templates/[id]/route.js", + "/api/sync/projects/[id]/route": "app/api/sync/projects/[id]/route.js", + "/api/sync/projects/route": "app/api/sync/projects/route.js", "/api/sync/templates/route": "app/api/sync/templates/route.js", + "/api/sites/route": "app/api/sites/route.js", "/api/sync/skills/route": "app/api/sync/skills/route.js", + "/api/sites/[id]/thumbnail/route": "app/api/sites/[id]/thumbnail/route.js", + "/api/sync/skills/[id]/route": "app/api/sync/skills/[id]/route.js", "/api/sync/status/route": "app/api/sync/status/route.js", + "/api/sync/templates/[id]/route": "app/api/sync/templates/[id]/route.js", "/api/validate-key/route": "app/api/validate-key/route.js", - "/api/sync/skills/[id]/route": "app/api/sync/skills/[id]/route.js", "/sites/[id]/route": "app/sites/[id]/route.js", "/sites/[id]/[...path]/route": "app/sites/[id]/[...path]/route.js", + "/api/sites/[id]/functions/[...path]/route": "app/api/sites/[id]/functions/[...path]/route.js", "/admin/docs/page": "app/admin/docs/page.js", - "/admin/dashboard/page": "app/admin/dashboard/page.js", "/admin/login/page": "app/admin/login/page.js", + "/admin/dashboard/page": "app/admin/dashboard/page.js", "/admin/projects/page": "app/admin/projects/page.js", - "/admin/settings/model/page": "app/admin/settings/model/page.js", - "/admin/page": "app/admin/page.js", "/admin/settings/application/page": "app/admin/settings/application/page.js", + "/admin/skills/page": "app/admin/skills/page.js", + "/admin/page": "app/admin/page.js", "/admin/settings/page": "app/admin/settings/page.js", "/admin/sites/page": "app/admin/sites/page.js", - "/admin/skills/page": "app/admin/skills/page.js", "/admin/templates/page": "app/admin/templates/page.js", + "/admin/settings/model/page": "app/admin/settings/model/page.js", "/page": "app/page.js", - "/api/sites/[id]/functions/[...path]/route": "app/api/sites/[id]/functions/[...path]/route.js", "/test-generation/page": "app/test-generation/page.js" } \ No newline at end of file diff --git a/.next/server/app/_not-found.html b/.next/server/app/_not-found.html index 0856c9a1631ba66fcec4e285843baae13f9fce4c..e7087fc20728cf72ebfb60ee07fbca45019dbdae 100644 --- a/.next/server/app/_not-found.html +++ b/.next/server/app/_not-found.html @@ -1 +1 @@ -404: This page could not be found.Open Source Web Studio | Agentic AI Development 🎨

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.Open Source Web Studio | Agentic AI Development 🎨

404

This page could not be found.

\ No newline at end of file diff --git a/.next/server/app/_not-found.rsc b/.next/server/app/_not-found.rsc index 6150b7549b1ed7bdd0b5d92ff0aa75fde64d9eb8..bd27c9121ce7509efca6e4a0d75831860cc6d80d 100644 --- a/.next/server/app/_not-found.rsc +++ b/.next/server/app/_not-found.rsc @@ -1,24 +1,22 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[59665,[],"OutletBoundary"] -a:I[74911,[],"AsyncMetadataOutlet"] -c:I[59665,[],"ViewportBoundary"] -e:I[59665,[],"MetadataBoundary"] -10:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[24431,[],"OutletBoundary"] +9:I[15278,[],"AsyncMetadataOutlet"] +b:I[24431,[],"ViewportBoundary"] +d:I[24431,[],"MetadataBoundary"] +e:"$Sreact.suspense" +10:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:children:1:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L7",null,{"children":["$L8","$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$1","MFjFTYaWZb-PudzcdCKaYv",{"children":[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Le",null,{"children":"$Lf"}]]}],false]],"m":"$undefined","G":["$10","$undefined"],"s":false,"S":true} -11:"$Sreact.suspense" -12:I[74911,[],"AsyncMetadata"] -f:["$","div",null,{"hidden":true,"children":["$","$11",null,{"fallback":null,"children":["$","$L12",null,{"promise":"$@13"}]}]}] -9:null -d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L7",null,{"children":["$L8",["$","$L9",null,{"promise":"$@a"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],[["$","$Lb",null,{"children":"$Lc"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Ld",null,{"children":["$","div",null,{"hidden":true,"children":["$","$e",null,{"fallback":null,"children":"$Lf"}]}]}]]}],false]],"m":"$undefined","G":["$10",[]],"s":false,"S":true} +c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 8:null -b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -13:{"metadata":"$b:metadata","error":null,"digest":"$undefined"} +11:I[80622,[],"IconMark"] +a:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L11","20",{}]],"error":null,"digest":"$undefined"} +f:"$a:metadata" diff --git a/.next/server/app/_not-found/page.js b/.next/server/app/_not-found/page.js index 3e3b0e7faf79c90a0150b3941570154ff4635a7d..e97235afcd68e13814d7e14ca141c7cc02da2e45 100644 --- a/.next/server/app/_not-found/page.js +++ b/.next/server/app/_not-found/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=9492,e.ids=[9492],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10716:(e,t,o)=>{Promise.resolve().then(o.t.bind(o,86346,23)),Promise.resolve().then(o.t.bind(o,27924,23)),Promise.resolve().then(o.t.bind(o,35656,23)),Promise.resolve().then(o.t.bind(o,40099,23)),Promise.resolve().then(o.t.bind(o,38243,23)),Promise.resolve().then(o.t.bind(o,28827,23)),Promise.resolve().then(o.t.bind(o,62763,23)),Promise.resolve().then(o.t.bind(o,97173,23))},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},39035:(e,t,o)=>{"use strict";o.d(t,{ThemeProvider:()=>r});let r=(0,o(12907).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx","ThemeProvider")},41900:(e,t,o)=>{"use strict";o.d(t,{default:()=>r});let r=(0,o(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx","default")},52572:(e,t,o)=>{Promise.resolve().then(o.t.bind(o,16444,23)),Promise.resolve().then(o.t.bind(o,16042,23)),Promise.resolve().then(o.t.bind(o,88170,23)),Promise.resolve().then(o.t.bind(o,49477,23)),Promise.resolve().then(o.t.bind(o,29345,23)),Promise.resolve().then(o.t.bind(o,12089,23)),Promise.resolve().then(o.t.bind(o,46577,23)),Promise.resolve().then(o.t.bind(o,31307,23))},53014:(e,t,o)=>{"use strict";o.d(t,{default:()=>i});var r=o(60687),n=o(26553),s=o(8693);function i({children:e}){let t=new n.E;return(0,r.jsx)(s.Ht,{client:t,children:e})}},54920:(e,t,o)=>{Promise.resolve().then(o.bind(o,53014)),Promise.resolve().then(o.bind(o,99197)),Promise.resolve().then(o.bind(o,94593))},58014:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>m,metadata:()=>p,viewport:()=>c});var r=o(37413),n=o(95474),s=o.n(n),i=o(31015),a=o.n(i),l=o(41900),d=o(39035);o(94348);var u=o(80363);let p={title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",openGraph:{title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",url:"https://huggingface.co/spaces/otst/osw-studio",siteName:"Open Source Web Studio",images:[{url:"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png",width:1200,height:630,alt:"Open Source Web Studio - Agentic AI Development"}]},twitter:{card:"summary_large_image",title:"OSW-Studio | Agentic AI Development \uD83C\uDFA8",description:"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",images:["https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"]},appleWebApp:{capable:!0,title:"OSW-Studio",statusBarStyle:"black-translucent"},icons:{icon:"/osw-studio-logo.svg",shortcut:"/osw-studio-logo.svg",apple:"/osw-studio-logo.svg"}},c={initialScale:1,maximumScale:1,themeColor:"#000000"};function m({children:e}){return(0,r.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,r.jsx)("body",{className:`${s().variable} ${a().variable} antialiased bg-background h-[100dvh] overflow-hidden`,suppressHydrationWarning:!0,children:(0,r.jsxs)(d.ThemeProvider,{children:[(0,r.jsx)(u.Toaster,{richColors:!0,position:"bottom-center"}),(0,r.jsx)(l.default,{children:e})]})})})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},80363:(e,t,o)=>{"use strict";o.d(t,{Toaster:()=>r});let r=(0,o(12907).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster 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/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx","Toaster")},84675:(e,t,o)=>{"use strict";o.r(t),o.d(t,{GlobalError:()=>i.a,__next_app__:()=>p,pages:()=>u,routeModule:()=>c,tree:()=>d});var r=o(65239),n=o(48088),s=o(88170),i=o.n(s),a=o(30893),l={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>a[e]);o.d(t,l);let d={children:["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(o.t.bind(o,57398,23)),"next/dist/client/components/not-found-error"]}]},{}]},{layout:[()=>Promise.resolve().then(o.bind(o,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(o.t.bind(o,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(o.t.bind(o,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(o.t.bind(o,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,u=[],p={require:o,loadChunk:()=>Promise.resolve()},c=new r.AppPageRouteModule({definition:{kind:n.RouteKind.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},91368:(e,t,o)=>{Promise.resolve().then(o.bind(o,41900)),Promise.resolve().then(o.bind(o,39035)),Promise.resolve().then(o.bind(o,80363))},94348:()=>{},94593:(e,t,o)=>{"use strict";o.d(t,{Toaster:()=>i});var r=o(60687),n=o(10218),s=o(52581);let i=({...e})=>{let{theme:t}=(0,n.D)();return(0,r.jsx)(s.l$,{theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})}},99197:(e,t,o)=>{"use strict";o.d(t,{ThemeProvider:()=>s});var r=o(60687);o(43210);var n=o(10218);function s({children:e,attribute:t="class",defaultTheme:o="dark",enableSystem:s=!0,storageKey:i="osw-studio-theme",...a}){return(0,r.jsx)(n.N,{attribute:t,defaultTheme:o,enableSystem:s,storageKey:i,disableTransitionOnChange:!0,...a,children:e})}}};var t=require("../../webpack-runtime.js");t.C(e);var o=e=>t(t.s=e),r=t.X(0,[4447,8055],()=>o(84675));module.exports=r})(); \ No newline at end of file +(()=>{var a={};a.id=9492,a.ids=[9492],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16953:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n,metadata:()=>l,viewport:()=>m});var d=c(75338),e=c(17092),f=c.n(e),g=c(35385),h=c.n(g),i=c(69507),j=c(26262);c(94348);var k=c(20656);let l={title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",openGraph:{title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",url:"https://huggingface.co/spaces/otst/osw-studio",siteName:"Open Source Web Studio",images:[{url:"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png",width:1200,height:630,alt:"Open Source Web Studio - Agentic AI Development"}]},twitter:{card:"summary_large_image",title:"OSW-Studio | Agentic AI Development \uD83C\uDFA8",description:"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",images:["https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"]},appleWebApp:{capable:!0,title:"OSW-Studio",statusBarStyle:"black-translucent"},icons:{icon:"/osw-studio-logo.svg",shortcut:"/osw-studio-logo.svg",apple:"/osw-studio-logo.svg"}},m={initialScale:1,maximumScale:1,themeColor:"#000000"};function n({children:a}){return(0,d.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,d.jsx)("body",{className:`${f().variable} ${h().variable} antialiased bg-background h-[100dvh] overflow-hidden`,suppressHydrationWarning:!0,children:(0,d.jsxs)(j.ThemeProvider,{children:[(0,d.jsx)(k.Toaster,{richColors:!0,position:"bottom-center"}),(0,d.jsx)(i.default,{children:a})]})})})}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20656:(a,b,c)=>{"use strict";c.d(b,{Toaster:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster 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/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx","Toaster")},26262:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx","ThemeProvider")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},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")},35704:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81170,23)),Promise.resolve().then(c.t.bind(c,23597,23)),Promise.resolve().then(c.t.bind(c,36893,23)),Promise.resolve().then(c.t.bind(c,89748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,69576,23)),Promise.resolve().then(c.t.bind(c,73041,23)),Promise.resolve().then(c.t.bind(c,51384,23))},38502:(a,b,c)=>{"use strict";c.d(b,{Toaster:()=>g});var d=c(21124),e=c(45523),f=c(42830);let g=({...a})=>{let{theme:b}=(0,e.D)();return(0,d.jsx)(f.l$,{theme:b,className:"toaster group",closeButton:!0,style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...a})}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},45432:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,54160,23)),Promise.resolve().then(c.t.bind(c,31603,23)),Promise.resolve().then(c.t.bind(c,68495,23)),Promise.resolve().then(c.t.bind(c,75170,23)),Promise.resolve().then(c.t.bind(c,77526,23)),Promise.resolve().then(c.t.bind(c,78922,23)),Promise.resolve().then(c.t.bind(c,29234,23)),Promise.resolve().then(c.t.bind(c,12263,23)),Promise.resolve().then(c.bind(c,82146))},54920:(a,b,c)=>{Promise.resolve().then(c.bind(c,83133)),Promise.resolve().then(c.bind(c,67600)),Promise.resolve().then(c.bind(c,38502))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67600:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>f});var d=c(21124);c(38301);var e=c(45523);function f({children:a,attribute:b="class",defaultTheme:c="dark",enableSystem:f=!0,storageKey:g="osw-studio-theme",...h}){return(0,d.jsx)(e.N,{attribute:b,defaultTheme:c,enableSystem:f,storageKey:g,disableTransitionOnChange:!0,...h,children:a})}},69507:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx","default")},82079:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"]}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=[],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/_not-found/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},83133:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(21124),e=c(62806),f=c(96610);function g({children:a}){let b=new e.E;return(0,d.jsx)(f.Ht,{client:b,children:a})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91368:(a,b,c)=>{Promise.resolve().then(c.bind(c,69507)),Promise.resolve().then(c.bind(c,26262)),Promise.resolve().then(c.bind(c,20656))},94348:()=>{}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495],()=>b(b.s=82079));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/_not-found/page.js.nft.json b/.next/server/app/_not-found/page.js.nft.json index 99a9c00592ebcfd9966fb119f30779d09806bd21..9942162f87594dc184ec46e4d3101b0ebbbfef58 100644 --- a/.next/server/app/_not-found/page.js.nft.json +++ b/.next/server/app/_not-found/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../package.json","../../chunks/4447.js","../../chunks/8055.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../node_modules/next/dist/shared/lib/segment.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../package.json","../../chunks/4586.js","../../chunks/495.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/_not-found/page_client-reference-manifest.js b/.next/server/app/_not-found/page_client-reference-manifest.js index 03b534b7697933fad7343ee7957578c4c5683846..2a196cf587bd69e302952d9c802462c2181fc21a 100644 --- a/.next/server/app/_not-found/page_client-reference-manifest.js +++ b/.next/server/app/_not-found/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/_not-found/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/_not-found/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin.html b/.next/server/app/admin.html index 2f5063d822c2997620d43347d5b0ce3b2c9d10ef..961864857231b3ac1242afe5dce5ed5defae4341 100644 --- a/.next/server/app/admin.html +++ b/.next/server/app/admin.html @@ -1 +1 @@ -Open Source Web Studio | Agentic AI Development 🎨

Redirecting...

\ No newline at end of file +Open Source Web Studio | Agentic AI Development 🎨

Redirecting...

\ No newline at end of file diff --git a/.next/server/app/admin.rsc b/.next/server/app/admin.rsc index 5166c017f61f1048d2604625dce339ab1de3509c..a21b0ac8d88df6c9c18421ad948c0d39d2e5ca4b 100644 --- a/.next/server/app/admin.rsc +++ b/.next/server/app/admin.rsc @@ -1,28 +1,26 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[90894,[],"ClientPageRoot"] -8:I[57161,["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"default"] -b:I[59665,[],"OutletBoundary"] -e:I[74911,[],"AsyncMetadataOutlet"] -10:I[59665,[],"ViewportBoundary"] -12:I[59665,[],"MetadataBoundary"] -14:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[81959,[],"ClientPageRoot"] +8:I[25782,["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"default"] +b:I[24431,[],"OutletBoundary"] +d:I[15278,[],"AsyncMetadataOutlet"] +f:I[24431,[],"ViewportBoundary"] +11:I[24431,[],"MetadataBoundary"] +12:"$Sreact.suspense" +14:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin"],"i":false,"f":[[["",{"children":["admin",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc","$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","ElwCyAYgONGkkpyYQdtN_v",{"children":[["$","$L10",null,{"children":"$L11"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$L12",null,{"children":"$L13"}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} -15:"$Sreact.suspense" -16:I[74911,[],"AsyncMetadata"] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin"],"i":false,"f":[[["",{"children":["admin",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$L11",null,{"children":["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":"$L13"}]}]}]]}],false]],"m":"$undefined","G":["$14",[]],"s":false,"S":true} 9:{} -a:{} -13:["$","div",null,{"hidden":true,"children":["$","$15",null,{"fallback":null,"children":["$","$L16",null,{"promise":"$@17"}]}]}] -d:null -11:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +a:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params" +10:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] c:null -f:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -17:{"metadata":"$f:metadata","error":null,"digest":"$undefined"} +15:I[80622,[],"IconMark"] +e:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L15","20",{}]],"error":null,"digest":"$undefined"} +13:"$e:metadata" diff --git a/.next/server/app/admin/dashboard.html b/.next/server/app/admin/dashboard.html index 94eb79a0b19c61f9e739e703ff181ac7ddb9141d..fff8a2f7de32a7d01c05e8d4d30fa0f9455cec7b 100644 --- a/.next/server/app/admin/dashboard.html +++ b/.next/server/app/admin/dashboard.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Dashboard

Loading dashboard...

\ No newline at end of file +
Dashboard

Loading dashboard...

\ No newline at end of file diff --git a/.next/server/app/admin/dashboard.rsc b/.next/server/app/admin/dashboard.rsc index 1302280eadbb3cbe34256115494c3ef7f2755977..fa1fa7f7ce762c1201d8bf499de7b5b9f6e91734 100644 --- a/.next/server/app/admin/dashboard.rsc +++ b/.next/server/app/admin/dashboard.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","5957","static/chunks/app/admin/dashboard/page-fbd6d62ec0a157c3.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","5957","static/chunks/app/admin/dashboard/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","dashboard"],"i":false,"f":[[["",{"children":["admin",{"children":["dashboard",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"dashboard"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","SzExguXqZbdNJZRKbGkqTv",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","dashboard"],"i":false,"f":[[["",{"children":["admin",{"children":["dashboard",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["dashboard",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"dashboard"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/dashboard/page.js b/.next/server/app/admin/dashboard/page.js index a5e1027b834cd11aae5331e74cff7a6657681d74..a5910c6c1fe811b1f5c28c8b04ccbb735f72bd99 100644 --- a/.next/server/app/admin/dashboard/page.js +++ b/.next/server/app/admin/dashboard/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=5957,e.ids=[5957],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36167:(e,r,t)=>{Promise.resolve().then(t.bind(t,36903))},36903:(e,r,t)=>{"use strict";t.d(r,{PageWrapper:()=>s});let s=(0,t(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},41389:(e,r,t)=>{"use strict";t.r(r),t.d(r,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>u,routeModule:()=>c,tree:()=>p});var s=t(65239),o=t(48088),n=t(88170),i=t.n(n),a=t(30893),d={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>a[e]);t.d(r,d);let p={children:["",{children:["admin",{children:["dashboard",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,61186)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/dashboard/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,u=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/dashboard/page.tsx"],l={require:t,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/dashboard/page",pathname:"/admin/dashboard",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:p}})},55511:e=>{"use strict";e.exports=require("crypto")},61186:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>n});var s=t(37413),o=t(36903);function n(){return(0,s.jsx)(o.PageWrapper,{view:"dashboard"})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,r,t)=>{Promise.resolve().then(t.bind(t,69001))},69001:(e,r,t)=>{"use strict";t.d(r,{PageWrapper:()=>c});var s=t(60687),o=t(43210),n=t(11755),i=t(80021),a=t(35157),d=t(2565),p=t(13265),u=t(96597);function l({view:e,settingsTab:r}){let[t,d]=(0,o.useState)(null),[l,c]=(0,o.useState)(!1),x=t?(0,s.jsx)(a.a,{project:t,onBack:()=>d(null)}):(0,s.jsx)(i.f,{view:e,onProjectSelect:d,settingsTab:r});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.M,{currentView:e,onNavigate:()=>{},onProjectSelect:d,onOpenAbout:()=>c(!0),showSidebar:!t,children:x}),(0,s.jsx)(p.V,{location:"global"}),(0,s.jsx)(u.V,{open:l,onOpenChange:c})]})}function c({view:e,settingsTab:r}){return(0,s.jsx)(d.g,{children:(0,s.jsx)(l,{view:e,settingsTab:r})})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},87550:e=>{"use strict";e.exports=require("better-sqlite3")},94735:e=>{"use strict";e.exports=require("events")}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4447,8055,329,4390,3640,1123],()=>t(41389));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=5957,a.ids=[5957],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5549:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"dashboard"})}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},71912:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["dashboard",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,5549)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/dashboard/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/dashboard/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/dashboard/page",pathname:"/admin/dashboard",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/dashboard/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=71912));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/dashboard/page.js.nft.json b/.next/server/app/admin/dashboard/page.js.nft.json index 6f4650d25405861319e2cf72dfe289aaa6cbe4f6..c792533b162039ba63383da3913630d94bbba358 100644 --- a/.next/server/app/admin/dashboard/page.js.nft.json +++ b/.next/server/app/admin/dashboard/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1123.js","../../../chunks/1519.js","../../../chunks/2629.js","../../../chunks/329.js","../../../chunks/3640.js","../../../chunks/4390.js","../../../chunks/4447.js","../../../chunks/7783.js","../../../chunks/8055.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4221.js","../../../chunks/4586.js","../../../chunks/4681.js","../../../chunks/495.js","../../../chunks/740.js","../../../chunks/774.js","../../../chunks/7811.js","../../../chunks/8686.js","../../../chunks/9975.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/dashboard/page_client-reference-manifest.js b/.next/server/app/admin/dashboard/page_client-reference-manifest.js index 64dfb5d0334eb9370ac42332f2ab35153083a837..4de5f919d83abb1a45aba6da0d30c679625d1a7f 100644 --- a/.next/server/app/admin/dashboard/page_client-reference-manifest.js +++ b/.next/server/app/admin/dashboard/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/dashboard/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","5957","static/chunks/app/admin/dashboard/page-fbd6d62ec0a157c3.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/dashboard/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/dashboard/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","5957","static/chunks/app/admin/dashboard/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/dashboard/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/docs.html b/.next/server/app/admin/docs.html index 0a946590bdaa394cf9b2203242d13e4916e2469b..bc19cdfb4832d04b90c3c1c6dc75963f7aa048fe 100644 --- a/.next/server/app/admin/docs.html +++ b/.next/server/app/admin/docs.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Docs
Loading documentation...
\ No newline at end of file +
Docs
Loading documentation...
\ No newline at end of file diff --git a/.next/server/app/admin/docs.rsc b/.next/server/app/admin/docs.rsc index f8061cdddc44976fc5595301b7007d04d50973b4..49545d138e9e7067e1739b68b6651b25a3f326b8 100644 --- a/.next/server/app/admin/docs.rsc +++ b/.next/server/app/admin/docs.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","4004","static/chunks/app/admin/docs/page-226865ee37f1fbcc.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","4004","static/chunks/app/admin/docs/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","docs"],"i":false,"f":[[["",{"children":["admin",{"children":["docs",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["docs",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"docs"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","oootytfFKeEpxEP-Uf4pDv",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","docs"],"i":false,"f":[[["",{"children":["admin",{"children":["docs",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["docs",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"docs"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/docs/page.js b/.next/server/app/admin/docs/page.js index 629574fe19f33aa0698d3886af3c7ff7382eb8cf..09e149181ea40b305420af68a9261043382ef11f 100644 --- a/.next/server/app/admin/docs/page.js +++ b/.next/server/app/admin/docs/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=4004,e.ids=[4004],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36167:(e,r,t)=>{Promise.resolve().then(t.bind(t,36903))},36271:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>n});var s=t(37413),o=t(36903);function n(){return(0,s.jsx)(o.PageWrapper,{view:"docs"})}},36903:(e,r,t)=>{"use strict";t.d(r,{PageWrapper:()=>s});let s=(0,t(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,r,t)=>{Promise.resolve().then(t.bind(t,69001))},69001:(e,r,t)=>{"use strict";t.d(r,{PageWrapper:()=>l});var s=t(60687),o=t(43210),n=t(11755),i=t(80021),a=t(35157),p=t(2565),d=t(13265),u=t(96597);function c({view:e,settingsTab:r}){let[t,p]=(0,o.useState)(null),[c,l]=(0,o.useState)(!1),x=t?(0,s.jsx)(a.a,{project:t,onBack:()=>p(null)}):(0,s.jsx)(i.f,{view:e,onProjectSelect:p,settingsTab:r});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.M,{currentView:e,onNavigate:()=>{},onProjectSelect:p,onOpenAbout:()=>l(!0),showSidebar:!t,children:x}),(0,s.jsx)(d.V,{location:"global"}),(0,s.jsx)(u.V,{open:c,onOpenChange:l})]})}function l({view:e,settingsTab:r}){return(0,s.jsx)(p.g,{children:(0,s.jsx)(c,{view:e,settingsTab:r})})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},87550:e=>{"use strict";e.exports=require("better-sqlite3")},94735:e=>{"use strict";e.exports=require("events")},98339:(e,r,t)=>{"use strict";t.r(r),t.d(r,{GlobalError:()=>i.a,__next_app__:()=>c,pages:()=>u,routeModule:()=>l,tree:()=>d});var s=t(65239),o=t(48088),n=t(88170),i=t.n(n),a=t(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);t.d(r,p);let d={children:["",{children:["admin",{children:["docs",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,36271)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/docs/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,u=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/docs/page.tsx"],c={require:t,loadChunk:()=>Promise.resolve()},l=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/docs/page",pathname:"/admin/docs",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4447,8055,329,4390,3640,1123],()=>t(98339));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=4004,a.ids=[4004],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13201:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"docs"})}},17574:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["docs",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,13201)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/docs/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/docs/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/docs/page",pathname:"/admin/docs",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/docs/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=17574));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/docs/page.js.nft.json b/.next/server/app/admin/docs/page.js.nft.json index 6f4650d25405861319e2cf72dfe289aaa6cbe4f6..c792533b162039ba63383da3913630d94bbba358 100644 --- a/.next/server/app/admin/docs/page.js.nft.json +++ b/.next/server/app/admin/docs/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1123.js","../../../chunks/1519.js","../../../chunks/2629.js","../../../chunks/329.js","../../../chunks/3640.js","../../../chunks/4390.js","../../../chunks/4447.js","../../../chunks/7783.js","../../../chunks/8055.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4221.js","../../../chunks/4586.js","../../../chunks/4681.js","../../../chunks/495.js","../../../chunks/740.js","../../../chunks/774.js","../../../chunks/7811.js","../../../chunks/8686.js","../../../chunks/9975.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/docs/page_client-reference-manifest.js b/.next/server/app/admin/docs/page_client-reference-manifest.js index d064101d2c8b891ac705d7b25d9cf10317d3a8ce..b941731747f5b23b5fa59c25f92cdb3bc92a34e3 100644 --- a/.next/server/app/admin/docs/page_client-reference-manifest.js +++ b/.next/server/app/admin/docs/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/docs/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","4004","static/chunks/app/admin/docs/page-226865ee37f1fbcc.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/docs/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/docs/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","4004","static/chunks/app/admin/docs/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/docs/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/login.html b/.next/server/app/admin/login.html index 80b356a8133861eb8d403aafe6a4712b4efa37df..c7653d428b1e97331e327e260768cec77f06cfa5 100644 --- a/.next/server/app/admin/login.html +++ b/.next/server/app/admin/login.html @@ -1 +1 @@ -Open Source Web Studio | Agentic AI Development 🎨

OSW Studio Admin

Enter your password to continue

Powered byOSW Studio
\ No newline at end of file +Open Source Web Studio | Agentic AI Development 🎨

OSW Studio Admin

Enter your password to continue

Powered byOSW Studio
\ No newline at end of file diff --git a/.next/server/app/admin/login.rsc b/.next/server/app/admin/login.rsc index 5f5e028d0f5482b50cede0417db9fc206e4750de..8d080ea8b15186a4996d1cea9a6e981ec0059721 100644 --- a/.next/server/app/admin/login.rsc +++ b/.next/server/app/admin/login.rsc @@ -1,28 +1,26 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[90894,[],"ClientPageRoot"] -8:I[3727,["2116","static/chunks/app/admin/login/page-5470d9718e2ee0e3.js"],"default"] -b:I[59665,[],"OutletBoundary"] -e:I[74911,[],"AsyncMetadataOutlet"] -10:I[59665,[],"ViewportBoundary"] -12:I[59665,[],"MetadataBoundary"] -14:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[81959,[],"ClientPageRoot"] +8:I[62112,["2116","static/chunks/app/admin/login/page-5f069849d073f76f.js"],"default"] +b:I[24431,[],"OutletBoundary"] +d:I[15278,[],"AsyncMetadataOutlet"] +f:I[24431,[],"ViewportBoundary"] +11:I[24431,[],"MetadataBoundary"] +12:"$Sreact.suspense" +14:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","login"],"i":false,"f":[[["",{"children":["admin",{"children":["login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc","$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","jCQj5h30gv2n4H-RsCtzTv",{"children":[["$","$L10",null,{"children":"$L11"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$L12",null,{"children":"$L13"}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} -15:"$Sreact.suspense" -16:I[74911,[],"AsyncMetadata"] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","login"],"i":false,"f":[[["",{"children":["admin",{"children":["login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$L11",null,{"children":["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":"$L13"}]}]}]]}],false]],"m":"$undefined","G":["$14",[]],"s":false,"S":true} 9:{} -a:{} -13:["$","div",null,{"hidden":true,"children":["$","$15",null,{"fallback":null,"children":["$","$L16",null,{"promise":"$@17"}]}]}] -d:null -11:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +a:"$0:f:0:1:2:children:2:children:2:children:1:props:children:0:props:params" +10:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] c:null -f:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -17:{"metadata":"$f:metadata","error":null,"digest":"$undefined"} +15:I[80622,[],"IconMark"] +e:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L15","20",{}]],"error":null,"digest":"$undefined"} +13:"$e:metadata" diff --git a/.next/server/app/admin/login/page.js b/.next/server/app/admin/login/page.js index 32a82a6f801cd6a3e7eaf272784150af8f5ce8e8..9b45316ee638ae68988086cb51ad7c3f62a5b0ea 100644 --- a/.next/server/app/admin/login/page.js +++ b/.next/server/app/admin/login/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=2116,e.ids=[2116],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},9911:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx","default")},10716:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,86346,23)),Promise.resolve().then(s.t.bind(s,27924,23)),Promise.resolve().then(s.t.bind(s,35656,23)),Promise.resolve().then(s.t.bind(s,40099,23)),Promise.resolve().then(s.t.bind(s,38243,23)),Promise.resolve().then(s.t.bind(s,28827,23)),Promise.resolve().then(s.t.bind(s,62763,23)),Promise.resolve().then(s.t.bind(s,97173,23))},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12913:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>l});var r=s(60687),n=s(76180),o=s.n(n),i=s(43210),a=s(16189);function l(){let e=(0,a.useRouter)(),[t,s]=(0,i.useState)(""),[n,l]=(0,i.useState)(!1),[c,d]=(0,i.useState)(""),u=async s=>{s.preventDefault(),d(""),l(!0);try{let s=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:t})}),r=await s.json();if(!s.ok)return void d(r.error||"Login failed");e.push("/admin")}catch(e){d("An error occurred. Please try again."),console.error("Login error:",e)}finally{l(!1)}};return(0,r.jsxs)("div",{className:"jsx-301ec7a03a062a2c min-h-screen bg-[#0a0a0a] text-white flex items-center justify-center p-4 animate-fadeIn",children:[(0,r.jsx)(o(),{id:"301ec7a03a062a2c",children:"@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{from{opacity:0}to{opacity:1}}@-o-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@-webkit-keyframes float{0%,100%{-webkit-transform:translatey(0px);transform:translatey(0px)}50%{-webkit-transform:translatey(-10px);transform:translatey(-10px)}}@-moz-keyframes float{0%,100%{-moz-transform:translatey(0px);transform:translatey(0px)}50%{-moz-transform:translatey(-10px);transform:translatey(-10px)}}@-o-keyframes float{0%,100%{-o-transform:translatey(0px);transform:translatey(0px)}50%{-o-transform:translatey(-10px);transform:translatey(-10px)}}@keyframes float{0%,100%{-webkit-transform:translatey(0px);-moz-transform:translatey(0px);-o-transform:translatey(0px);transform:translatey(0px)}50%{-webkit-transform:translatey(-10px);-moz-transform:translatey(-10px);-o-transform:translatey(-10px);transform:translatey(-10px)}}.animate-fadeIn.jsx-301ec7a03a062a2c{-webkit-animation:fadeIn.6s ease-in;-moz-animation:fadeIn.6s ease-in;-o-animation:fadeIn.6s ease-in;animation:fadeIn.6s ease-in}.animate-float.jsx-301ec7a03a062a2c{-webkit-animation:float 3s ease-in-out infinite;-moz-animation:float 3s ease-in-out infinite;-o-animation:float 3s ease-in-out infinite;animation:float 3s ease-in-out infinite}"}),(0,r.jsxs)("div",{className:"jsx-301ec7a03a062a2c max-w-md w-full text-center",children:[(0,r.jsx)("div",{className:"jsx-301ec7a03a062a2c mb-8 animate-float",children:(0,r.jsxs)("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",preserveAspectRatio:"xMidYMid meet",className:"jsx-301ec7a03a062a2c w-24 h-24 mx-auto",children:[(0,r.jsx)("rect",{x:"0",y:"0",width:"256",height:"256",rx:"20",ry:"20",fill:"#000000",className:"jsx-301ec7a03a062a2c"}),(0,r.jsxs)("g",{transform:"translate(0,256) scale(0.0476,-0.0476)",fill:"#ffffff",stroke:"none",className:"jsx-301ec7a03a062a2c",children:[(0,r.jsx)("path",{d:"M725 4825 c-50 -18 -100 -71 -114 -122 -15 -54 -15 -1573 0 -1628 16 -55 44 -92 89 -115 38 -19 62 -20 855 -20 781 0 817 1 853 19 46 23 67 46 87 94 13 32 15 138 15 830 0 566 -3 804 -11 828 -16 45 -55 87 -104 110 -38 18 -82 19 -835 18 -659 0 -802 -2 -835 -14z m1351 -371 c15 -11 37 -33 48 -48 21 -27 21 -38 21 -520 0 -547 3 -523 -68 -566 -31 -19 -54 -20 -521 -20 -483 0 -489 0 -524 22 -20 12 -42 38 -53 62 -17 38 -19 74 -19 504 0 496 1 503 51 548 46 41 66 43 561 41 464 -2 477 -3 504 -23z",className:"jsx-301ec7a03a062a2c"}),(0,r.jsx)("path",{d:"M3058 4830 c-44 -13 -87 -49 -108 -90 -19 -37 -20 -61 -20 -471 0 -428 0 -432 22 -471 13 -22 41 -51 64 -64 41 -24 41 -24 685 -24 645 0 645 0 689 -22 63 -33 80 -71 80 -183 0 -101 -15 -144 -63 -179 -28 -21 -41 -21 -695 -26 -666 -5 -667 -5 -702 -27 -109 -68 -106 -247 5 -310 40 -23 40 -23 858 -23 664 0 824 3 850 14 43 17 95 78 102 118 3 18 5 225 3 459 -3 426 -3 426 -31 462 -58 76 -15 71 -757 77 -620 5 -667 6 -692 23 -44 30 -58 74 -58 179 0 116 16 153 80 186 44 22 44 22 693 22 710 0 678 -3 731 60 80 96 41 240 -79 287 -35 14 -1612 17 -1657 3z",className:"jsx-301ec7a03a062a2c"}),(0,r.jsx)("path",{d:"M702 2509 c-48 -24 -75 -57 -91 -114 -9 -29 -11 -253 -9 -840 3 -779 4 -801 23 -834 11 -19 37 -48 58 -65 39 -31 39 -31 380 -31 342 0 342 0 399 28 31 15 63 39 73 53 16 25 16 25 62 -16 77 -67 104 -71 470 -68 320 3 320 3 360 30 24 16 49 44 62 70 21 44 21 49 21 854 0 773 -1 811 -19 851 -35 76 -135 120 -215 93 -41 -13 -90 -51 -109 -84 -9 -16 -13 -187 -17 -688 -5 -654 -5 -667 -26 -694 -43 -58 -68 -69 -169 -72 -82 -3 -99 -1 -133 18 -22 12 -49 39 -61 60 -21 37 -21 45 -21 664 0 439 -3 641 -11 673 -32 123 -190 174 -285 91 -73 -64 -69 -20 -70 -743 0 -721 3 -687 -66 -737 -28 -20 -47 -23 -133 -26 -91 -3 -103 -2 -134 20 -19 13 -44 36 -55 51 -21 28 -21 38 -26 695 -4 481 -8 673 -17 687 -50 87 -152 118 -241 74z",className:"jsx-301ec7a03a062a2c"}),(0,r.jsx)("path",{d:"M3047 2515 c-47 -16 -81 -46 -101 -90 -14 -28 -16 -95 -16 -463 0 -281 4 -440 11 -459 15 -40 48 -73 94 -94 38 -17 79 -19 685 -19 626 0 646 -1 678 -20 58 -35 72 -72 72 -185 0 -110 -14 -147 -67 -182 -25 -17 -73 -18 -698 -23 -672 -5 -672 -5 -708 -33 -20 -15 -44 -42 -53 -60 -21 -39 -21 -125 -1 -163 20 -38 65 -80 100 -93 19 -8 289 -11 833 -11 701 0 809 2 841 15 48 20 71 41 94 88 19 35 19 60 17 480 -3 444 -3 444 -30 479 -54 71 -23 68 -740 68 -612 0 -645 1 -685 20 -67 30 -83 66 -83 183 0 116 14 156 68 189 35 21 35 21 691 22 606 1 658 2 688 19 137 74 130 264 -12 328 -38 18 -85 19 -840 18 -652 0 -807 -2 -838 -14z",className:"jsx-301ec7a03a062a2c"})]})]})}),(0,r.jsx)("h1",{className:"jsx-301ec7a03a062a2c text-3xl font-semibold mb-2 tracking-tight",children:"OSW Studio Admin"}),(0,r.jsx)("p",{className:"jsx-301ec7a03a062a2c text-zinc-400 mb-8",children:"Enter your password to continue"}),(0,r.jsxs)("form",{onSubmit:u,className:"jsx-301ec7a03a062a2c space-y-4",children:[(0,r.jsxs)("div",{className:"jsx-301ec7a03a062a2c text-left",children:[(0,r.jsx)("label",{htmlFor:"password",className:"jsx-301ec7a03a062a2c block text-sm font-medium text-zinc-400 mb-2",children:"Password"}),(0,r.jsx)("input",{id:"password",type:"password",value:t,onChange:e=>s(e.target.value),placeholder:"Enter your password",required:!0,autoFocus:!0,className:"jsx-301ec7a03a062a2c w-full px-4 py-3 bg-zinc-900 border border-zinc-800 rounded-lg text-white placeholder-zinc-500 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:border-transparent transition-all"})]}),c&&(0,r.jsx)("div",{className:"jsx-301ec7a03a062a2c p-3 bg-red-900/20 border border-red-800 text-red-400 rounded-lg text-sm",children:c}),(0,r.jsx)("button",{type:"submit",disabled:n,className:"jsx-301ec7a03a062a2c w-full bg-orange-600 hover:bg-orange-700 text-white font-medium py-3 px-4 rounded-lg transition-colors disabled:bg-zinc-700 disabled:text-zinc-500 disabled:cursor-not-allowed",children:n?"Logging in...":"Login"})]}),(0,r.jsxs)("div",{className:"jsx-301ec7a03a062a2c mt-12 pt-6 border-t border-zinc-800 flex items-center justify-center gap-2 text-sm text-zinc-500",children:[(0,r.jsx)("span",{className:"jsx-301ec7a03a062a2c",children:"Powered by"}),(0,r.jsxs)("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",preserveAspectRatio:"xMidYMid meet",className:"jsx-301ec7a03a062a2c w-5 h-5 opacity-80",children:[(0,r.jsx)("rect",{x:"0",y:"0",width:"256",height:"256",rx:"20",ry:"20",fill:"#52525b",className:"jsx-301ec7a03a062a2c"}),(0,r.jsxs)("g",{transform:"translate(0,256) scale(0.0476,-0.0476)",fill:"#ffffff",stroke:"none",className:"jsx-301ec7a03a062a2c",children:[(0,r.jsx)("path",{d:"M725 4825 c-50 -18 -100 -71 -114 -122 -15 -54 -15 -1573 0 -1628 16 -55 44 -92 89 -115 38 -19 62 -20 855 -20 781 0 817 1 853 19 46 23 67 46 87 94 13 32 15 138 15 830 0 566 -3 804 -11 828 -16 45 -55 87 -104 110 -38 18 -82 19 -835 18 -659 0 -802 -2 -835 -14z m1351 -371 c15 -11 37 -33 48 -48 21 -27 21 -38 21 -520 0 -547 3 -523 -68 -566 -31 -19 -54 -20 -521 -20 -483 0 -489 0 -524 22 -20 12 -42 38 -53 62 -17 38 -19 74 -19 504 0 496 1 503 51 548 46 41 66 43 561 41 464 -2 477 -3 504 -23z",className:"jsx-301ec7a03a062a2c"}),(0,r.jsx)("path",{d:"M3058 4830 c-44 -13 -87 -49 -108 -90 -19 -37 -20 -61 -20 -471 0 -428 0 -432 22 -471 13 -22 41 -51 64 -64 41 -24 41 -24 685 -24 645 0 645 0 689 -22 63 -33 80 -71 80 -183 0 -101 -15 -144 -63 -179 -28 -21 -41 -21 -695 -26 -666 -5 -667 -5 -702 -27 -109 -68 -106 -247 5 -310 40 -23 40 -23 858 -23 664 0 824 3 850 14 43 17 95 78 102 118 3 18 5 225 3 459 -3 426 -3 426 -31 462 -58 76 -15 71 -757 77 -620 5 -667 6 -692 23 -44 30 -58 74 -58 179 0 116 16 153 80 186 44 22 44 22 693 22 710 0 678 -3 731 60 80 96 41 240 -79 287 -35 14 -1612 17 -1657 3z",className:"jsx-301ec7a03a062a2c"}),(0,r.jsx)("path",{d:"M702 2509 c-48 -24 -75 -57 -91 -114 -9 -29 -11 -253 -9 -840 3 -779 4 -801 23 -834 11 -19 37 -48 58 -65 39 -31 39 -31 380 -31 342 0 342 0 399 28 31 15 63 39 73 53 16 25 16 25 62 -16 77 -67 104 -71 470 -68 320 3 320 3 360 30 24 16 49 44 62 70 21 44 21 49 21 854 0 773 -1 811 -19 851 -35 76 -135 120 -215 93 -41 -13 -90 -51 -109 -84 -9 -16 -13 -187 -17 -688 -5 -654 -5 -667 -26 -694 -43 -58 -68 -69 -169 -72 -82 -3 -99 -1 -133 18 -22 12 -49 39 -61 60 -21 37 -21 45 -21 664 0 439 -3 641 -11 673 -32 123 -190 174 -285 91 -73 -64 -69 -20 -70 -743 0 -721 3 -687 -66 -737 -28 -20 -47 -23 -133 -26 -91 -3 -103 -2 -134 20 -19 13 -44 36 -55 51 -21 28 -21 38 -26 695 -4 481 -8 673 -17 687 -50 87 -152 118 -241 74z",className:"jsx-301ec7a03a062a2c"}),(0,r.jsx)("path",{d:"M3047 2515 c-47 -16 -81 -46 -101 -90 -14 -28 -16 -95 -16 -463 0 -281 4 -440 11 -459 15 -40 48 -73 94 -94 38 -17 79 -19 685 -19 626 0 646 -1 678 -20 58 -35 72 -72 72 -185 0 -110 -14 -147 -67 -182 -25 -17 -73 -18 -698 -23 -672 -5 -672 -5 -708 -33 -20 -15 -44 -42 -53 -60 -21 -39 -21 -125 -1 -163 20 -38 65 -80 100 -93 19 -8 289 -11 833 -11 701 0 809 2 841 15 48 20 71 41 94 88 19 35 19 60 17 480 -3 444 -3 444 -30 479 -54 71 -23 68 -740 68 -612 0 -645 1 -685 20 -67 30 -83 66 -83 183 0 116 14 156 68 189 35 21 35 21 691 22 606 1 658 2 688 19 137 74 130 264 -12 328 -38 18 -85 19 -840 18 -652 0 -807 -2 -838 -14z",className:"jsx-301ec7a03a062a2c"})]})]}),(0,r.jsx)("span",{className:"jsx-301ec7a03a062a2c",children:"OSW Studio"})]})]})]})}},16189:(e,t,s)=>{"use strict";var r=s(65773);s.o(r,"useRouter")&&s.d(t,{useRouter:function(){return r.useRouter}}),s.o(r,"useSearchParams")&&s.d(t,{useSearchParams:function(){return r.useSearchParams}})},17841:(e,t,s)=>{Promise.resolve().then(s.bind(s,12913))},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},39035:(e,t,s)=>{"use strict";s.d(t,{ThemeProvider:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx","ThemeProvider")},41900:(e,t,s)=>{"use strict";s.d(t,{default:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx","default")},52572:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,16444,23)),Promise.resolve().then(s.t.bind(s,16042,23)),Promise.resolve().then(s.t.bind(s,88170,23)),Promise.resolve().then(s.t.bind(s,49477,23)),Promise.resolve().then(s.t.bind(s,29345,23)),Promise.resolve().then(s.t.bind(s,12089,23)),Promise.resolve().then(s.t.bind(s,46577,23)),Promise.resolve().then(s.t.bind(s,31307,23))},52689:(e,t,s)=>{Promise.resolve().then(s.bind(s,9911))},53014:(e,t,s)=>{"use strict";s.d(t,{default:()=>i});var r=s(60687),n=s(26553),o=s(8693);function i({children:e}){let t=new n.E;return(0,r.jsx)(o.Ht,{client:t,children:e})}},54261:(e,t,s)=>{"use strict";s.r(t),s.d(t,{GlobalError:()=>i.a,__next_app__:()=>u,pages:()=>d,routeModule:()=>p,tree:()=>c});var r=s(65239),n=s(48088),o=s(88170),i=s.n(o),a=s(30893),l={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>a[e]);s.d(t,l);let c={children:["",{children:["admin",{children:["login",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,9911)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(s.bind(s,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(s.t.bind(s,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(s.t.bind(s,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx"],u={require:s,loadChunk:()=>Promise.resolve()},p=new r.AppPageRouteModule({definition:{kind:n.RouteKind.APP_PAGE,page:"/admin/login/page",pathname:"/admin/login",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},54920:(e,t,s)=>{Promise.resolve().then(s.bind(s,53014)),Promise.resolve().then(s.bind(s,99197)),Promise.resolve().then(s.bind(s,94593))},56397:()=>{},58014:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>m,metadata:()=>u,viewport:()=>p});var r=s(37413),n=s(95474),o=s.n(n),i=s(31015),a=s.n(i),l=s(41900),c=s(39035);s(94348);var d=s(80363);let u={title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",openGraph:{title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",url:"https://huggingface.co/spaces/otst/osw-studio",siteName:"Open Source Web Studio",images:[{url:"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png",width:1200,height:630,alt:"Open Source Web Studio - Agentic AI Development"}]},twitter:{card:"summary_large_image",title:"OSW-Studio | Agentic AI Development \uD83C\uDFA8",description:"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",images:["https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"]},appleWebApp:{capable:!0,title:"OSW-Studio",statusBarStyle:"black-translucent"},icons:{icon:"/osw-studio-logo.svg",shortcut:"/osw-studio-logo.svg",apple:"/osw-studio-logo.svg"}},p={initialScale:1,maximumScale:1,themeColor:"#000000"};function m({children:e}){return(0,r.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,r.jsx)("body",{className:`${o().variable} ${a().variable} antialiased bg-background h-[100dvh] overflow-hidden`,suppressHydrationWarning:!0,children:(0,r.jsxs)(c.ThemeProvider,{children:[(0,r.jsx)(d.Toaster,{richColors:!0,position:"bottom-center"}),(0,r.jsx)(l.default,{children:e})]})})})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},75913:(e,t,s)=>{"use strict";s(56397);var r=s(43210),n=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(r),o="undefined"!=typeof process&&process.env&&!0,i=function(e){return"[object String]"===Object.prototype.toString.call(e)},a=function(){function e(e){var t=void 0===e?{}:e,s=t.name,r=void 0===s?"stylesheet":s,n=t.optimizeForSpeed,a=void 0===n?o:n;l(i(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",l("boolean"==typeof a,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=a,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0,this._nonce=null}var t,s=e.prototype;return s.setOptimizeForSpeed=function(e){l("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),l(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},s.isOptimizeForSpeed=function(){return this._optimizeForSpeed},s.inject=function(){var e=this;l(!this._injected,"sheet already injected"),this._injected=!0,this._serverSheet={cssRules:[],insertRule:function(t,s){return"number"==typeof s?e._serverSheet.cssRules[s]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),s},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},s.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t>>0},d={};function u(e,t){if(!t)return"jsx-"+e;var s=String(t),r=e+s;return d[r]||(d[r]="jsx-"+c(e+"-"+s)),d[r]}function p(e,t){var s=e+(t=t.replace(/\/style/gi,"\\/style"));return d[s]||(d[s]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[s]}var m=function(){function e(e){var t=void 0===e?{}:e,s=t.styleSheet,r=void 0===s?null:s,n=t.optimizeForSpeed,o=void 0!==n&&n;this._sheet=r||new a({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),r&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed());var s=this.getIdAndRules(e),r=s.styleId,n=s.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var o=n.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=o,this._instancesCounts[r]=1},t.remove=function(e){var t=this,s=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(s in this._instancesCounts,"styleId: `"+s+"` not found"),this._instancesCounts[s]-=1,this._instancesCounts[s]<1){var r=this._fromServer&&this._fromServer[s];r?(r.parentNode.removeChild(r),delete this._fromServer[s]):(this._indices[s].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[s]),delete this._instancesCounts[s]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],s=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return s[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,s;return t=this.cssRules(),void 0===(s=e)&&(s={}),t.map(function(e){var t=e[0],r=e[1];return n.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:s.nonce?s.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,s=e.dynamic,r=e.id;if(s){var n=u(r,s);return{styleId:n,rules:Array.isArray(t)?t.map(function(e){return p(n,e)}):[p(n,t)]}}return{styleId:u(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),h=r.createContext(null);h.displayName="StyleSheetContext";n.default.useInsertionEffect||n.default.useLayoutEffect;var f=void 0;function v(e){var t=f||r.useContext(h);return t&&t.add(e),null}v.dynamic=function(e){return e.map(function(e){return u(e[0],e[1])}).join(" ")},t.style=v},76180:(e,t,s)=>{"use strict";e.exports=s(75913).style},80363:(e,t,s)=>{"use strict";s.d(t,{Toaster:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster 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/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx","Toaster")},91368:(e,t,s)=>{Promise.resolve().then(s.bind(s,41900)),Promise.resolve().then(s.bind(s,39035)),Promise.resolve().then(s.bind(s,80363))},94348:()=>{},94593:(e,t,s)=>{"use strict";s.d(t,{Toaster:()=>i});var r=s(60687),n=s(10218),o=s(52581);let i=({...e})=>{let{theme:t}=(0,n.D)();return(0,r.jsx)(o.l$,{theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})}},99197:(e,t,s)=>{"use strict";s.d(t,{ThemeProvider:()=>o});var r=s(60687);s(43210);var n=s(10218);function o({children:e,attribute:t="class",defaultTheme:s="dark",enableSystem:o=!0,storageKey:i="osw-studio-theme",...a}){return(0,r.jsx)(n.N,{attribute:t,defaultTheme:s,enableSystem:o,storageKey:i,disableTransitionOnChange:!0,...a,children:e})}}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[4447,8055],()=>s(54261));module.exports=r})(); \ No newline at end of file +(()=>{var a={};a.id=2116,a.ids=[2116],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},7760:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx","default")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16953:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n,metadata:()=>l,viewport:()=>m});var d=c(75338),e=c(17092),f=c.n(e),g=c(35385),h=c.n(g),i=c(69507),j=c(26262);c(94348);var k=c(20656);let l={title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",openGraph:{title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",url:"https://huggingface.co/spaces/otst/osw-studio",siteName:"Open Source Web Studio",images:[{url:"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png",width:1200,height:630,alt:"Open Source Web Studio - Agentic AI Development"}]},twitter:{card:"summary_large_image",title:"OSW-Studio | Agentic AI Development \uD83C\uDFA8",description:"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",images:["https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"]},appleWebApp:{capable:!0,title:"OSW-Studio",statusBarStyle:"black-translucent"},icons:{icon:"/osw-studio-logo.svg",shortcut:"/osw-studio-logo.svg",apple:"/osw-studio-logo.svg"}},m={initialScale:1,maximumScale:1,themeColor:"#000000"};function n({children:a}){return(0,d.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,d.jsx)("body",{className:`${f().variable} ${h().variable} antialiased bg-background h-[100dvh] overflow-hidden`,suppressHydrationWarning:!0,children:(0,d.jsxs)(j.ThemeProvider,{children:[(0,d.jsx)(k.Toaster,{richColors:!0,position:"bottom-center"}),(0,d.jsx)(i.default,{children:a})]})})})}},17841:(a,b,c)=>{Promise.resolve().then(c.bind(c,92130))},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20656:(a,b,c)=>{"use strict";c.d(b,{Toaster:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster 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/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx","Toaster")},26262:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx","ThemeProvider")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},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")},35704:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81170,23)),Promise.resolve().then(c.t.bind(c,23597,23)),Promise.resolve().then(c.t.bind(c,36893,23)),Promise.resolve().then(c.t.bind(c,89748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,69576,23)),Promise.resolve().then(c.t.bind(c,73041,23)),Promise.resolve().then(c.t.bind(c,51384,23))},38502:(a,b,c)=>{"use strict";c.d(b,{Toaster:()=>g});var d=c(21124),e=c(45523),f=c(42830);let g=({...a})=>{let{theme:b}=(0,e.D)();return(0,d.jsx)(f.l$,{theme:b,className:"toaster group",closeButton:!0,style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...a})}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},42378:(a,b,c)=>{"use strict";var d=c(91330);c.o(d,"useRouter")&&c.d(b,{useRouter:function(){return d.useRouter}}),c.o(d,"useSearchParams")&&c.d(b,{useSearchParams:function(){return d.useSearchParams}})},45432:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,54160,23)),Promise.resolve().then(c.t.bind(c,31603,23)),Promise.resolve().then(c.t.bind(c,68495,23)),Promise.resolve().then(c.t.bind(c,75170,23)),Promise.resolve().then(c.t.bind(c,77526,23)),Promise.resolve().then(c.t.bind(c,78922,23)),Promise.resolve().then(c.t.bind(c,29234,23)),Promise.resolve().then(c.t.bind(c,12263,23)),Promise.resolve().then(c.bind(c,82146))},46544:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["login",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,7760)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/login/page",pathname:"/admin/login",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/login/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},52689:(a,b,c)=>{Promise.resolve().then(c.bind(c,7760))},54920:(a,b,c)=>{Promise.resolve().then(c.bind(c,83133)),Promise.resolve().then(c.bind(c,67600)),Promise.resolve().then(c.bind(c,38502))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67600:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>f});var d=c(21124);c(38301);var e=c(45523);function f({children:a,attribute:b="class",defaultTheme:c="dark",enableSystem:f=!0,storageKey:g="osw-studio-theme",...h}){return(0,d.jsx)(e.N,{attribute:b,defaultTheme:c,enableSystem:f,storageKey:g,disableTransitionOnChange:!0,...h,children:a})}},69507:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx","default")},83133:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(21124),e=c(62806),f=c(96610);function g({children:a}){let b=new e.E;return(0,d.jsx)(f.Ht,{client:b,children:a})}},83796:(a,b,c)=>{"use strict";c(83946);var d=c(38301),e=function(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}(d),f="undefined"!=typeof process&&process.env&&!0,g=function(a){return"[object String]"===Object.prototype.toString.call(a)},h=function(){function a(a){var b=void 0===a?{}:a,c=b.name,d=void 0===c?"stylesheet":c,e=b.optimizeForSpeed,h=void 0===e?f:e;i(g(d),"`name` must be a string"),this._name=d,this._deletedRulePlaceholder="#"+d+"-deleted-rule____{}",i("boolean"==typeof h,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=h,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0,this._nonce=null}var b,c=a.prototype;return c.setOptimizeForSpeed=function(a){i("boolean"==typeof a,"`setOptimizeForSpeed` accepts a boolean"),i(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=a,this.inject()},c.isOptimizeForSpeed=function(){return this._optimizeForSpeed},c.inject=function(){var a=this;i(!this._injected,"sheet already injected"),this._injected=!0,this._serverSheet={cssRules:[],insertRule:function(b,c){return"number"==typeof c?a._serverSheet.cssRules[c]={cssText:b}:a._serverSheet.cssRules.push({cssText:b}),c},deleteRule:function(b){a._serverSheet.cssRules[b]=null}}},c.getSheetForTag=function(a){if(a.sheet)return a.sheet;for(var b=0;b>>0},k={};function l(a,b){if(!b)return"jsx-"+a;var c=String(b),d=a+c;return k[d]||(k[d]="jsx-"+j(a+"-"+c)),k[d]}function m(a,b){var c=a+(b=b.replace(/\/style/gi,"\\/style"));return k[c]||(k[c]=b.replace(/__jsx-style-dynamic-selector/g,a)),k[c]}var n=function(){function a(a){var b=void 0===a?{}:a,c=b.styleSheet,d=void 0===c?null:c,e=b.optimizeForSpeed,f=void 0!==e&&e;this._sheet=d||new h({name:"styled-jsx",optimizeForSpeed:f}),this._sheet.inject(),d&&"boolean"==typeof f&&(this._sheet.setOptimizeForSpeed(f),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var b=a.prototype;return b.add=function(a){var b=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(a.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed());var c=this.getIdAndRules(a),d=c.styleId,e=c.rules;if(d in this._instancesCounts){this._instancesCounts[d]+=1;return}var f=e.map(function(a){return b._sheet.insertRule(a)}).filter(function(a){return -1!==a});this._indices[d]=f,this._instancesCounts[d]=1},b.remove=function(a){var b=this,c=this.getIdAndRules(a).styleId;if(function(a,b){if(!a)throw Error("StyleSheetRegistry: "+b+".")}(c in this._instancesCounts,"styleId: `"+c+"` not found"),this._instancesCounts[c]-=1,this._instancesCounts[c]<1){var d=this._fromServer&&this._fromServer[c];d?(d.parentNode.removeChild(d),delete this._fromServer[c]):(this._indices[c].forEach(function(a){return b._sheet.deleteRule(a)}),delete this._indices[c]),delete this._instancesCounts[c]}},b.update=function(a,b){this.add(b),this.remove(a)},b.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},b.cssRules=function(){var a=this,b=this._fromServer?Object.keys(this._fromServer).map(function(b){return[b,a._fromServer[b]]}):[],c=this._sheet.cssRules();return b.concat(Object.keys(this._indices).map(function(b){return[b,a._indices[b].map(function(a){return c[a].cssText}).join(a._optimizeForSpeed?"":"\n")]}).filter(function(a){return!!a[1]}))},b.styles=function(a){var b,c;return b=this.cssRules(),void 0===(c=a)&&(c={}),b.map(function(a){var b=a[0],d=a[1];return e.default.createElement("style",{id:"__"+b,key:"__"+b,nonce:c.nonce?c.nonce:void 0,dangerouslySetInnerHTML:{__html:d}})})},b.getIdAndRules=function(a){var b=a.children,c=a.dynamic,d=a.id;if(c){var e=l(d,c);return{styleId:e,rules:Array.isArray(b)?b.map(function(a){return m(e,a)}):[m(e,b)]}}return{styleId:l(d),rules:Array.isArray(b)?b:[b]}},b.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(a,b){return a[b.id.slice(2)]=b,a},{})},a}(),o=d.createContext(null);o.displayName="StyleSheetContext";e.default.useInsertionEffect||e.default.useLayoutEffect;var p=void 0;function q(a){var b=p||d.useContext(o);return b&&b.add(a),null}q.dynamic=function(a){return a.map(function(a){return l(a[0],a[1])}).join(" ")},b.style=q},83946:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91368:(a,b,c)=>{Promise.resolve().then(c.bind(c,69507)),Promise.resolve().then(c.bind(c,26262)),Promise.resolve().then(c.bind(c,20656))},92130:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>i});var d=c(21124),e=c(95627),f=c.n(e),g=c(38301),h=c(42378);function i(){let a=(0,h.useRouter)(),[b,c]=(0,g.useState)(""),[e,i]=(0,g.useState)(!1),[j,k]=(0,g.useState)(""),l=async c=>{c.preventDefault(),k(""),i(!0);try{let c=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:b})}),d=await c.json();if(!c.ok)return void k(d.error||"Login failed");a.push("/admin")}catch(a){k("An error occurred. Please try again."),console.error("Login error:",a)}finally{i(!1)}};return(0,d.jsxs)("div",{className:"jsx-301ec7a03a062a2c min-h-screen bg-[#0a0a0a] text-white flex items-center justify-center p-4 animate-fadeIn",children:[(0,d.jsx)(f(),{id:"301ec7a03a062a2c",children:"@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes float{0%,100%{transform:translatey(0px)}50%{transform:translatey(-10px)}}.animate-fadeIn.jsx-301ec7a03a062a2c{animation:fadeIn.6s ease-in}.animate-float.jsx-301ec7a03a062a2c{animation:float 3s ease-in-out infinite}"}),(0,d.jsxs)("div",{className:"jsx-301ec7a03a062a2c max-w-md w-full text-center",children:[(0,d.jsx)("div",{className:"jsx-301ec7a03a062a2c mb-8 animate-float",children:(0,d.jsxs)("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",preserveAspectRatio:"xMidYMid meet",className:"jsx-301ec7a03a062a2c w-24 h-24 mx-auto",children:[(0,d.jsx)("rect",{x:"0",y:"0",width:"256",height:"256",rx:"20",ry:"20",fill:"#000000",className:"jsx-301ec7a03a062a2c"}),(0,d.jsxs)("g",{transform:"translate(0,256) scale(0.0476,-0.0476)",fill:"#ffffff",stroke:"none",className:"jsx-301ec7a03a062a2c",children:[(0,d.jsx)("path",{d:"M725 4825 c-50 -18 -100 -71 -114 -122 -15 -54 -15 -1573 0 -1628 16 -55 44 -92 89 -115 38 -19 62 -20 855 -20 781 0 817 1 853 19 46 23 67 46 87 94 13 32 15 138 15 830 0 566 -3 804 -11 828 -16 45 -55 87 -104 110 -38 18 -82 19 -835 18 -659 0 -802 -2 -835 -14z m1351 -371 c15 -11 37 -33 48 -48 21 -27 21 -38 21 -520 0 -547 3 -523 -68 -566 -31 -19 -54 -20 -521 -20 -483 0 -489 0 -524 22 -20 12 -42 38 -53 62 -17 38 -19 74 -19 504 0 496 1 503 51 548 46 41 66 43 561 41 464 -2 477 -3 504 -23z",className:"jsx-301ec7a03a062a2c"}),(0,d.jsx)("path",{d:"M3058 4830 c-44 -13 -87 -49 -108 -90 -19 -37 -20 -61 -20 -471 0 -428 0 -432 22 -471 13 -22 41 -51 64 -64 41 -24 41 -24 685 -24 645 0 645 0 689 -22 63 -33 80 -71 80 -183 0 -101 -15 -144 -63 -179 -28 -21 -41 -21 -695 -26 -666 -5 -667 -5 -702 -27 -109 -68 -106 -247 5 -310 40 -23 40 -23 858 -23 664 0 824 3 850 14 43 17 95 78 102 118 3 18 5 225 3 459 -3 426 -3 426 -31 462 -58 76 -15 71 -757 77 -620 5 -667 6 -692 23 -44 30 -58 74 -58 179 0 116 16 153 80 186 44 22 44 22 693 22 710 0 678 -3 731 60 80 96 41 240 -79 287 -35 14 -1612 17 -1657 3z",className:"jsx-301ec7a03a062a2c"}),(0,d.jsx)("path",{d:"M702 2509 c-48 -24 -75 -57 -91 -114 -9 -29 -11 -253 -9 -840 3 -779 4 -801 23 -834 11 -19 37 -48 58 -65 39 -31 39 -31 380 -31 342 0 342 0 399 28 31 15 63 39 73 53 16 25 16 25 62 -16 77 -67 104 -71 470 -68 320 3 320 3 360 30 24 16 49 44 62 70 21 44 21 49 21 854 0 773 -1 811 -19 851 -35 76 -135 120 -215 93 -41 -13 -90 -51 -109 -84 -9 -16 -13 -187 -17 -688 -5 -654 -5 -667 -26 -694 -43 -58 -68 -69 -169 -72 -82 -3 -99 -1 -133 18 -22 12 -49 39 -61 60 -21 37 -21 45 -21 664 0 439 -3 641 -11 673 -32 123 -190 174 -285 91 -73 -64 -69 -20 -70 -743 0 -721 3 -687 -66 -737 -28 -20 -47 -23 -133 -26 -91 -3 -103 -2 -134 20 -19 13 -44 36 -55 51 -21 28 -21 38 -26 695 -4 481 -8 673 -17 687 -50 87 -152 118 -241 74z",className:"jsx-301ec7a03a062a2c"}),(0,d.jsx)("path",{d:"M3047 2515 c-47 -16 -81 -46 -101 -90 -14 -28 -16 -95 -16 -463 0 -281 4 -440 11 -459 15 -40 48 -73 94 -94 38 -17 79 -19 685 -19 626 0 646 -1 678 -20 58 -35 72 -72 72 -185 0 -110 -14 -147 -67 -182 -25 -17 -73 -18 -698 -23 -672 -5 -672 -5 -708 -33 -20 -15 -44 -42 -53 -60 -21 -39 -21 -125 -1 -163 20 -38 65 -80 100 -93 19 -8 289 -11 833 -11 701 0 809 2 841 15 48 20 71 41 94 88 19 35 19 60 17 480 -3 444 -3 444 -30 479 -54 71 -23 68 -740 68 -612 0 -645 1 -685 20 -67 30 -83 66 -83 183 0 116 14 156 68 189 35 21 35 21 691 22 606 1 658 2 688 19 137 74 130 264 -12 328 -38 18 -85 19 -840 18 -652 0 -807 -2 -838 -14z",className:"jsx-301ec7a03a062a2c"})]})]})}),(0,d.jsx)("h1",{className:"jsx-301ec7a03a062a2c text-3xl font-semibold mb-2 tracking-tight",children:"OSW Studio Admin"}),(0,d.jsx)("p",{className:"jsx-301ec7a03a062a2c text-zinc-400 mb-8",children:"Enter your password to continue"}),(0,d.jsxs)("form",{onSubmit:l,className:"jsx-301ec7a03a062a2c space-y-4",children:[(0,d.jsxs)("div",{className:"jsx-301ec7a03a062a2c text-left",children:[(0,d.jsx)("label",{htmlFor:"password",className:"jsx-301ec7a03a062a2c block text-sm font-medium text-zinc-400 mb-2",children:"Password"}),(0,d.jsx)("input",{id:"password",type:"password",value:b,onChange:a=>c(a.target.value),placeholder:"Enter your password",required:!0,autoFocus:!0,className:"jsx-301ec7a03a062a2c w-full px-4 py-3 bg-zinc-900 border border-zinc-800 rounded-lg text-white placeholder-zinc-500 focus:outline-none focus:ring-2 focus:ring-orange-500 focus:border-transparent transition-all"})]}),j&&(0,d.jsx)("div",{className:"jsx-301ec7a03a062a2c p-3 bg-red-900/20 border border-red-800 text-red-400 rounded-lg text-sm",children:j}),(0,d.jsx)("button",{type:"submit",disabled:e,className:"jsx-301ec7a03a062a2c w-full bg-orange-600 hover:bg-orange-700 text-white font-medium py-3 px-4 rounded-lg transition-colors disabled:bg-zinc-700 disabled:text-zinc-500 disabled:cursor-not-allowed",children:e?"Logging in...":"Login"})]}),(0,d.jsxs)("div",{className:"jsx-301ec7a03a062a2c mt-12 pt-6 border-t border-zinc-800 flex items-center justify-center gap-2 text-sm text-zinc-500",children:[(0,d.jsx)("span",{className:"jsx-301ec7a03a062a2c",children:"Powered by"}),(0,d.jsxs)("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",preserveAspectRatio:"xMidYMid meet",className:"jsx-301ec7a03a062a2c w-5 h-5 opacity-80",children:[(0,d.jsx)("rect",{x:"0",y:"0",width:"256",height:"256",rx:"20",ry:"20",fill:"#52525b",className:"jsx-301ec7a03a062a2c"}),(0,d.jsxs)("g",{transform:"translate(0,256) scale(0.0476,-0.0476)",fill:"#ffffff",stroke:"none",className:"jsx-301ec7a03a062a2c",children:[(0,d.jsx)("path",{d:"M725 4825 c-50 -18 -100 -71 -114 -122 -15 -54 -15 -1573 0 -1628 16 -55 44 -92 89 -115 38 -19 62 -20 855 -20 781 0 817 1 853 19 46 23 67 46 87 94 13 32 15 138 15 830 0 566 -3 804 -11 828 -16 45 -55 87 -104 110 -38 18 -82 19 -835 18 -659 0 -802 -2 -835 -14z m1351 -371 c15 -11 37 -33 48 -48 21 -27 21 -38 21 -520 0 -547 3 -523 -68 -566 -31 -19 -54 -20 -521 -20 -483 0 -489 0 -524 22 -20 12 -42 38 -53 62 -17 38 -19 74 -19 504 0 496 1 503 51 548 46 41 66 43 561 41 464 -2 477 -3 504 -23z",className:"jsx-301ec7a03a062a2c"}),(0,d.jsx)("path",{d:"M3058 4830 c-44 -13 -87 -49 -108 -90 -19 -37 -20 -61 -20 -471 0 -428 0 -432 22 -471 13 -22 41 -51 64 -64 41 -24 41 -24 685 -24 645 0 645 0 689 -22 63 -33 80 -71 80 -183 0 -101 -15 -144 -63 -179 -28 -21 -41 -21 -695 -26 -666 -5 -667 -5 -702 -27 -109 -68 -106 -247 5 -310 40 -23 40 -23 858 -23 664 0 824 3 850 14 43 17 95 78 102 118 3 18 5 225 3 459 -3 426 -3 426 -31 462 -58 76 -15 71 -757 77 -620 5 -667 6 -692 23 -44 30 -58 74 -58 179 0 116 16 153 80 186 44 22 44 22 693 22 710 0 678 -3 731 60 80 96 41 240 -79 287 -35 14 -1612 17 -1657 3z",className:"jsx-301ec7a03a062a2c"}),(0,d.jsx)("path",{d:"M702 2509 c-48 -24 -75 -57 -91 -114 -9 -29 -11 -253 -9 -840 3 -779 4 -801 23 -834 11 -19 37 -48 58 -65 39 -31 39 -31 380 -31 342 0 342 0 399 28 31 15 63 39 73 53 16 25 16 25 62 -16 77 -67 104 -71 470 -68 320 3 320 3 360 30 24 16 49 44 62 70 21 44 21 49 21 854 0 773 -1 811 -19 851 -35 76 -135 120 -215 93 -41 -13 -90 -51 -109 -84 -9 -16 -13 -187 -17 -688 -5 -654 -5 -667 -26 -694 -43 -58 -68 -69 -169 -72 -82 -3 -99 -1 -133 18 -22 12 -49 39 -61 60 -21 37 -21 45 -21 664 0 439 -3 641 -11 673 -32 123 -190 174 -285 91 -73 -64 -69 -20 -70 -743 0 -721 3 -687 -66 -737 -28 -20 -47 -23 -133 -26 -91 -3 -103 -2 -134 20 -19 13 -44 36 -55 51 -21 28 -21 38 -26 695 -4 481 -8 673 -17 687 -50 87 -152 118 -241 74z",className:"jsx-301ec7a03a062a2c"}),(0,d.jsx)("path",{d:"M3047 2515 c-47 -16 -81 -46 -101 -90 -14 -28 -16 -95 -16 -463 0 -281 4 -440 11 -459 15 -40 48 -73 94 -94 38 -17 79 -19 685 -19 626 0 646 -1 678 -20 58 -35 72 -72 72 -185 0 -110 -14 -147 -67 -182 -25 -17 -73 -18 -698 -23 -672 -5 -672 -5 -708 -33 -20 -15 -44 -42 -53 -60 -21 -39 -21 -125 -1 -163 20 -38 65 -80 100 -93 19 -8 289 -11 833 -11 701 0 809 2 841 15 48 20 71 41 94 88 19 35 19 60 17 480 -3 444 -3 444 -30 479 -54 71 -23 68 -740 68 -612 0 -645 1 -685 20 -67 30 -83 66 -83 183 0 116 14 156 68 189 35 21 35 21 691 22 606 1 658 2 688 19 137 74 130 264 -12 328 -38 18 -85 19 -840 18 -652 0 -807 -2 -838 -14z",className:"jsx-301ec7a03a062a2c"})]})]}),(0,d.jsx)("span",{className:"jsx-301ec7a03a062a2c",children:"OSW Studio"})]})]})]})}},94348:()=>{},95627:(a,b,c)=>{"use strict";a.exports=c(83796).style}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495],()=>b(b.s=46544));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/login/page.js.nft.json b/.next/server/app/admin/login/page.js.nft.json index a0f6cb1d7f70a587b1138f9091917d87885d3167..a6622048bc2b292398f2319105c12da49cd12876 100644 --- a/.next/server/app/admin/login/page.js.nft.json +++ b/.next/server/app/admin/login/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../package.json","../../../chunks/4447.js","../../../chunks/8055.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../package.json","../../../chunks/4586.js","../../../chunks/495.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/login/page_client-reference-manifest.js b/.next/server/app/admin/login/page_client-reference-manifest.js index 741fc304f4a796c2bf965ab8dbc914ff54785c8d..40738e43d11fbb51aba7fd0ea174c5a8d37e1011 100644 --- a/.next/server/app/admin/login/page_client-reference-manifest.js +++ b/.next/server/app/admin/login/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/login/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":["2116","static/chunks/app/admin/login/page-5470d9718e2ee0e3.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/login/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":["2116","static/chunks/app/admin/login/page-5f069849d073f76f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/page.js b/.next/server/app/admin/page.js index bfabcbd909674371b13f13ac1eede8179cf1c7bf..6e6ac568df577f3bd1bef7cde0ac7b35e376844e 100644 --- a/.next/server/app/admin/page.js +++ b/.next/server/app/admin/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=3698,e.ids=[3698],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8521:(e,t,o)=>{Promise.resolve().then(o.bind(o,20435))},10716:(e,t,o)=>{Promise.resolve().then(o.t.bind(o,86346,23)),Promise.resolve().then(o.t.bind(o,27924,23)),Promise.resolve().then(o.t.bind(o,35656,23)),Promise.resolve().then(o.t.bind(o,40099,23)),Promise.resolve().then(o.t.bind(o,38243,23)),Promise.resolve().then(o.t.bind(o,28827,23)),Promise.resolve().then(o.t.bind(o,62763,23)),Promise.resolve().then(o.t.bind(o,97173,23))},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16189:(e,t,o)=>{"use strict";var r=o(65773);o.o(r,"useRouter")&&o.d(t,{useRouter:function(){return r.useRouter}}),o.o(r,"useSearchParams")&&o.d(t,{useSearchParams:function(){return r.useSearchParams}})},18249:(e,t,o)=>{Promise.resolve().then(o.bind(o,49441))},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20435:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var r=o(60687);o(43210);var s=o(16189);function n(){return(0,s.useRouter)(),(0,r.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#0a0a0a]",children:(0,r.jsx)("p",{className:"text-zinc-400",children:"Redirecting..."})})}},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},39035:(e,t,o)=>{"use strict";o.d(t,{ThemeProvider:()=>r});let r=(0,o(12907).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx","ThemeProvider")},41900:(e,t,o)=>{"use strict";o.d(t,{default:()=>r});let r=(0,o(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx","default")},49441:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});let r=(0,o(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx","default")},52572:(e,t,o)=>{Promise.resolve().then(o.t.bind(o,16444,23)),Promise.resolve().then(o.t.bind(o,16042,23)),Promise.resolve().then(o.t.bind(o,88170,23)),Promise.resolve().then(o.t.bind(o,49477,23)),Promise.resolve().then(o.t.bind(o,29345,23)),Promise.resolve().then(o.t.bind(o,12089,23)),Promise.resolve().then(o.t.bind(o,46577,23)),Promise.resolve().then(o.t.bind(o,31307,23))},53014:(e,t,o)=>{"use strict";o.d(t,{default:()=>i});var r=o(60687),s=o(26553),n=o(8693);function i({children:e}){let t=new s.E;return(0,r.jsx)(n.Ht,{client:t,children:e})}},54920:(e,t,o)=>{Promise.resolve().then(o.bind(o,53014)),Promise.resolve().then(o.bind(o,99197)),Promise.resolve().then(o.bind(o,94593))},58014:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>m,metadata:()=>p,viewport:()=>c});var r=o(37413),s=o(95474),n=o.n(s),i=o(31015),a=o.n(i),d=o(41900),l=o(39035);o(94348);var u=o(80363);let p={title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",openGraph:{title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",url:"https://huggingface.co/spaces/otst/osw-studio",siteName:"Open Source Web Studio",images:[{url:"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png",width:1200,height:630,alt:"Open Source Web Studio - Agentic AI Development"}]},twitter:{card:"summary_large_image",title:"OSW-Studio | Agentic AI Development \uD83C\uDFA8",description:"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",images:["https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"]},appleWebApp:{capable:!0,title:"OSW-Studio",statusBarStyle:"black-translucent"},icons:{icon:"/osw-studio-logo.svg",shortcut:"/osw-studio-logo.svg",apple:"/osw-studio-logo.svg"}},c={initialScale:1,maximumScale:1,themeColor:"#000000"};function m({children:e}){return(0,r.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,r.jsx)("body",{className:`${n().variable} ${a().variable} antialiased bg-background h-[100dvh] overflow-hidden`,suppressHydrationWarning:!0,children:(0,r.jsxs)(l.ThemeProvider,{children:[(0,r.jsx)(u.Toaster,{richColors:!0,position:"bottom-center"}),(0,r.jsx)(d.default,{children:e})]})})})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},80363:(e,t,o)=>{"use strict";o.d(t,{Toaster:()=>r});let r=(0,o(12907).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster 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/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx","Toaster")},86925:(e,t,o)=>{"use strict";o.r(t),o.d(t,{GlobalError:()=>i.a,__next_app__:()=>p,pages:()=>u,routeModule:()=>c,tree:()=>l});var r=o(65239),s=o(48088),n=o(88170),i=o.n(n),a=o(30893),d={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>a[e]);o.d(t,d);let l={children:["",{children:["admin",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(o.bind(o,49441)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(o.bind(o,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(o.t.bind(o,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(o.t.bind(o,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(o.t.bind(o,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,u=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx"],p={require:o,loadChunk:()=>Promise.resolve()},c=new r.AppPageRouteModule({definition:{kind:s.RouteKind.APP_PAGE,page:"/admin/page",pathname:"/admin",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},91368:(e,t,o)=>{Promise.resolve().then(o.bind(o,41900)),Promise.resolve().then(o.bind(o,39035)),Promise.resolve().then(o.bind(o,80363))},94348:()=>{},94593:(e,t,o)=>{"use strict";o.d(t,{Toaster:()=>i});var r=o(60687),s=o(10218),n=o(52581);let i=({...e})=>{let{theme:t}=(0,s.D)();return(0,r.jsx)(n.l$,{theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})}},99197:(e,t,o)=>{"use strict";o.d(t,{ThemeProvider:()=>n});var r=o(60687);o(43210);var s=o(10218);function n({children:e,attribute:t="class",defaultTheme:o="dark",enableSystem:n=!0,storageKey:i="osw-studio-theme",...a}){return(0,r.jsx)(s.N,{attribute:t,defaultTheme:o,enableSystem:n,storageKey:i,disableTransitionOnChange:!0,...a,children:e})}}};var t=require("../../webpack-runtime.js");t.C(e);var o=e=>t(t.s=e),r=t.X(0,[4447,8055],()=>o(86925));module.exports=r})(); \ No newline at end of file +(()=>{var a={};a.id=3698,a.ids=[3698],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8521:(a,b,c)=>{Promise.resolve().then(c.bind(c,82016))},10024:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,37734)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/page",pathname:"/admin",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16953:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n,metadata:()=>l,viewport:()=>m});var d=c(75338),e=c(17092),f=c.n(e),g=c(35385),h=c.n(g),i=c(69507),j=c(26262);c(94348);var k=c(20656);let l={title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",openGraph:{title:"Open Source Web Studio | Agentic AI Development \uD83C\uDFA8",description:"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",url:"https://huggingface.co/spaces/otst/osw-studio",siteName:"Open Source Web Studio",images:[{url:"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png",width:1200,height:630,alt:"Open Source Web Studio - Agentic AI Development"}]},twitter:{card:"summary_large_image",title:"OSW-Studio | Agentic AI Development \uD83C\uDFA8",description:"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language.",images:["https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"]},appleWebApp:{capable:!0,title:"OSW-Studio",statusBarStyle:"black-translucent"},icons:{icon:"/osw-studio-logo.svg",shortcut:"/osw-studio-logo.svg",apple:"/osw-studio-logo.svg"}},m={initialScale:1,maximumScale:1,themeColor:"#000000"};function n({children:a}){return(0,d.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,d.jsx)("body",{className:`${f().variable} ${h().variable} antialiased bg-background h-[100dvh] overflow-hidden`,suppressHydrationWarning:!0,children:(0,d.jsxs)(j.ThemeProvider,{children:[(0,d.jsx)(k.Toaster,{richColors:!0,position:"bottom-center"}),(0,d.jsx)(i.default,{children:a})]})})})}},18249:(a,b,c)=>{Promise.resolve().then(c.bind(c,37734))},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20656:(a,b,c)=>{"use strict";c.d(b,{Toaster:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call Toaster() from the server but Toaster 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/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx","Toaster")},26262:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx","ThemeProvider")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},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")},35704:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,81170,23)),Promise.resolve().then(c.t.bind(c,23597,23)),Promise.resolve().then(c.t.bind(c,36893,23)),Promise.resolve().then(c.t.bind(c,89748,23)),Promise.resolve().then(c.t.bind(c,6060,23)),Promise.resolve().then(c.t.bind(c,7184,23)),Promise.resolve().then(c.t.bind(c,69576,23)),Promise.resolve().then(c.t.bind(c,73041,23)),Promise.resolve().then(c.t.bind(c,51384,23))},37734:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx","default")},38502:(a,b,c)=>{"use strict";c.d(b,{Toaster:()=>g});var d=c(21124),e=c(45523),f=c(42830);let g=({...a})=>{let{theme:b}=(0,e.D)();return(0,d.jsx)(f.l$,{theme:b,className:"toaster group",closeButton:!0,style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...a})}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},42378:(a,b,c)=>{"use strict";var d=c(91330);c.o(d,"useRouter")&&c.d(b,{useRouter:function(){return d.useRouter}}),c.o(d,"useSearchParams")&&c.d(b,{useSearchParams:function(){return d.useSearchParams}})},45432:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,54160,23)),Promise.resolve().then(c.t.bind(c,31603,23)),Promise.resolve().then(c.t.bind(c,68495,23)),Promise.resolve().then(c.t.bind(c,75170,23)),Promise.resolve().then(c.t.bind(c,77526,23)),Promise.resolve().then(c.t.bind(c,78922,23)),Promise.resolve().then(c.t.bind(c,29234,23)),Promise.resolve().then(c.t.bind(c,12263,23)),Promise.resolve().then(c.bind(c,82146))},54920:(a,b,c)=>{Promise.resolve().then(c.bind(c,83133)),Promise.resolve().then(c.bind(c,67600)),Promise.resolve().then(c.bind(c,38502))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67600:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>f});var d=c(21124);c(38301);var e=c(45523);function f({children:a,attribute:b="class",defaultTheme:c="dark",enableSystem:f=!0,storageKey:g="osw-studio-theme",...h}){return(0,d.jsx)(e.N,{attribute:b,defaultTheme:c,enableSystem:f,storageKey:g,disableTransitionOnChange:!0,...h,children:a})}},69507:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx","default")},82016:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(21124);c(38301);var e=c(42378);function f(){return(0,e.useRouter)(),(0,d.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#0a0a0a]",children:(0,d.jsx)("p",{className:"text-zinc-400",children:"Redirecting..."})})}},83133:(a,b,c)=>{"use strict";c.d(b,{default:()=>g});var d=c(21124),e=c(62806),f=c(96610);function g({children:a}){let b=new e.E;return(0,d.jsx)(f.Ht,{client:b,children:a})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91368:(a,b,c)=>{Promise.resolve().then(c.bind(c,69507)),Promise.resolve().then(c.bind(c,26262)),Promise.resolve().then(c.bind(c,20656))},94348:()=>{}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495],()=>b(b.s=10024));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/page.js.nft.json b/.next/server/app/admin/page.js.nft.json index 99a9c00592ebcfd9966fb119f30779d09806bd21..9942162f87594dc184ec46e4d3101b0ebbbfef58 100644 --- a/.next/server/app/admin/page.js.nft.json +++ b/.next/server/app/admin/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../package.json","../../chunks/4447.js","../../chunks/8055.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../node_modules/next/dist/shared/lib/segment.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../package.json","../../chunks/4586.js","../../chunks/495.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/page_client-reference-manifest.js b/.next/server/app/admin/page_client-reference-manifest.js index 74d2a462115fd46a0ad3ffc0eb5bbbd378545420..f8748fd42b063d3995cfe252c84b0bcdc5772219 100644 --- a/.next/server/app/admin/page_client-reference-manifest.js +++ b/.next/server/app/admin/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/projects.html b/.next/server/app/admin/projects.html index 9b58ffffefd563112f6446a484348cd8654c0cf4..1497e53472828c5d41329ace54d6564cc36055cc 100644 --- a/.next/server/app/admin/projects.html +++ b/.next/server/app/admin/projects.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Projects

Loading projects...

\ No newline at end of file +
Projects

Loading projects...

\ No newline at end of file diff --git a/.next/server/app/admin/projects.rsc b/.next/server/app/admin/projects.rsc index cd0f5a5743bf52132cf12ad5679516b38fc598e0..14bdd7d660ef3d997e10bbf918b6cbb2ea0dce0e 100644 --- a/.next/server/app/admin/projects.rsc +++ b/.next/server/app/admin/projects.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","3321","static/chunks/app/admin/projects/page-1fe7c7e20e00f2b6.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","3321","static/chunks/app/admin/projects/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","projects"],"i":false,"f":[[["",{"children":["admin",{"children":["projects",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["projects",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"projects"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","FSQAEgqLaodOFNXTr-iD3v",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","projects"],"i":false,"f":[[["",{"children":["admin",{"children":["projects",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["projects",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"projects"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/projects/page.js b/.next/server/app/admin/projects/page.js index ef5ec75ecfd605499535b631e2b28557e795a15f..0dbc7a40f8ca16a69a992c2399dd66a60f27494c 100644 --- a/.next/server/app/admin/projects/page.js +++ b/.next/server/app/admin/projects/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=3321,e.ids=[3321],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},9063:(e,r,t)=>{"use strict";t.r(r),t.d(r,{GlobalError:()=>i.a,__next_app__:()=>c,pages:()=>d,routeModule:()=>l,tree:()=>u});var s=t(65239),o=t(48088),n=t(88170),i=t.n(n),a=t(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);t.d(r,p);let u={children:["",{children:["admin",{children:["projects",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,72438)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/projects/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/projects/page.tsx"],c={require:t,loadChunk:()=>Promise.resolve()},l=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/projects/page",pathname:"/admin/projects",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36167:(e,r,t)=>{Promise.resolve().then(t.bind(t,36903))},36903:(e,r,t)=>{"use strict";t.d(r,{PageWrapper:()=>s});let s=(0,t(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,r,t)=>{Promise.resolve().then(t.bind(t,69001))},69001:(e,r,t)=>{"use strict";t.d(r,{PageWrapper:()=>l});var s=t(60687),o=t(43210),n=t(11755),i=t(80021),a=t(35157),p=t(2565),u=t(13265),d=t(96597);function c({view:e,settingsTab:r}){let[t,p]=(0,o.useState)(null),[c,l]=(0,o.useState)(!1),x=t?(0,s.jsx)(a.a,{project:t,onBack:()=>p(null)}):(0,s.jsx)(i.f,{view:e,onProjectSelect:p,settingsTab:r});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.M,{currentView:e,onNavigate:()=>{},onProjectSelect:p,onOpenAbout:()=>l(!0),showSidebar:!t,children:x}),(0,s.jsx)(u.V,{location:"global"}),(0,s.jsx)(d.V,{open:c,onOpenChange:l})]})}function l({view:e,settingsTab:r}){return(0,s.jsx)(p.g,{children:(0,s.jsx)(c,{view:e,settingsTab:r})})}},72438:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>n});var s=t(37413),o=t(36903);function n(){return(0,s.jsx)(o.PageWrapper,{view:"projects"})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},87550:e=>{"use strict";e.exports=require("better-sqlite3")},94735:e=>{"use strict";e.exports=require("events")}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4447,8055,329,4390,3640,1123],()=>t(9063));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=3321,a.ids=[3321],a.modules={100:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"projects"})}},261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},72114:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["projects",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,100)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/projects/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/projects/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/projects/page",pathname:"/admin/projects",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/projects/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=72114));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/projects/page.js.nft.json b/.next/server/app/admin/projects/page.js.nft.json index 6f4650d25405861319e2cf72dfe289aaa6cbe4f6..c792533b162039ba63383da3913630d94bbba358 100644 --- a/.next/server/app/admin/projects/page.js.nft.json +++ b/.next/server/app/admin/projects/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1123.js","../../../chunks/1519.js","../../../chunks/2629.js","../../../chunks/329.js","../../../chunks/3640.js","../../../chunks/4390.js","../../../chunks/4447.js","../../../chunks/7783.js","../../../chunks/8055.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4221.js","../../../chunks/4586.js","../../../chunks/4681.js","../../../chunks/495.js","../../../chunks/740.js","../../../chunks/774.js","../../../chunks/7811.js","../../../chunks/8686.js","../../../chunks/9975.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/projects/page_client-reference-manifest.js b/.next/server/app/admin/projects/page_client-reference-manifest.js index 276ab482c88fd01cb22f45f7d0bb674a84343fc6..5c99c8fe00065357021f86a8e6b96bf2f1c7ace3 100644 --- a/.next/server/app/admin/projects/page_client-reference-manifest.js +++ b/.next/server/app/admin/projects/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/projects/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","3321","static/chunks/app/admin/projects/page-1fe7c7e20e00f2b6.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/projects/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/projects/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","3321","static/chunks/app/admin/projects/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/projects/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/settings.html b/.next/server/app/admin/settings.html index 68c7766e98c7f4f42c7d159eda11b799b6742969..4c7046ff98839267f3fd3fa4f830176d9b7d4d0a 100644 --- a/.next/server/app/admin/settings.html +++ b/.next/server/app/admin/settings.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Settings

Loading...

\ No newline at end of file +
Settings

Loading...

\ No newline at end of file diff --git a/.next/server/app/admin/settings.rsc b/.next/server/app/admin/settings.rsc index 8ba8d5b80d41da197eb2e0e69b84a0797dd718a2..53c3847b51ac74a72876c76e913d233904fe0e9b 100644 --- a/.next/server/app/admin/settings.rsc +++ b/.next/server/app/admin/settings.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","7122","static/chunks/app/admin/settings/page-9f364b6b8587064f.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","7122","static/chunks/app/admin/settings/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","settings"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","KqxEfsOmTSxej7szlqrI4v",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","settings"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/settings/application.html b/.next/server/app/admin/settings/application.html index b2dc9ce8f81c0916d27a31bf30d2ba45d3814631..a5e59fcc974fd10995a086951e3526d8968dd357 100644 --- a/.next/server/app/admin/settings/application.html +++ b/.next/server/app/admin/settings/application.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Settings

Loading...

\ No newline at end of file +
Settings

Loading...

\ No newline at end of file diff --git a/.next/server/app/admin/settings/application.rsc b/.next/server/app/admin/settings/application.rsc index 8b4d538c8744f84343de935a6ade583c8f858cd7..8932d410e644a4ad3438566549a463e345a4a5b0 100644 --- a/.next/server/app/admin/settings/application.rsc +++ b/.next/server/app/admin/settings/application.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","6047","static/chunks/app/admin/settings/application/page-a874fccacd499bea.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","6047","static/chunks/app/admin/settings/application/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","settings","application"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["application",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["application",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings","settingsTab":"application"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","zaUWWFFDoiKtDKkefN0rXv",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","settings","application"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["application",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["application",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings","settingsTab":"application"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/settings/application/page.js b/.next/server/app/admin/settings/application/page.js index a3592e25aef106dfa7ba850d4d579dca9aec4865..caf58866739d242518b18519c496da04102b2e05 100644 --- a/.next/server/app/admin/settings/application/page.js +++ b/.next/server/app/admin/settings/application/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=6047,e.ids=[6047],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36167:(e,t,r)=>{Promise.resolve().then(r.bind(r,36903))},36903:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},37088:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r(37413),i=r(36903);function o(){return(0,s.jsx)(i.PageWrapper,{view:"settings",settingsTab:"application"})}},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,t,r)=>{Promise.resolve().then(r.bind(r,69001))},69001:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>c});var s=r(60687),i=r(43210),o=r(11755),n=r(80021),a=r(35157),p=r(2565),u=r(13265),d=r(96597);function l({view:e,settingsTab:t}){let[r,p]=(0,i.useState)(null),[l,c]=(0,i.useState)(!1),x=r?(0,s.jsx)(a.a,{project:r,onBack:()=>p(null)}):(0,s.jsx)(n.f,{view:e,onProjectSelect:p,settingsTab:t});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.M,{currentView:e,onNavigate:()=>{},onProjectSelect:p,onOpenAbout:()=>c(!0),showSidebar:!r,children:x}),(0,s.jsx)(u.V,{location:"global"}),(0,s.jsx)(d.V,{open:l,onOpenChange:c})]})}function c({view:e,settingsTab:t}){return(0,s.jsx)(p.g,{children:(0,s.jsx)(l,{view:e,settingsTab:t})})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},87550:e=>{"use strict";e.exports=require("better-sqlite3")},89575:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>n.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>c,tree:()=>u});var s=r(65239),i=r(48088),o=r(88170),n=r.n(o),a=r(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);r.d(t,p);let u={children:["",{children:["admin",{children:["settings",{children:["application",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,37088)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/application/page.tsx"]}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/application/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:i.RouteKind.APP_PAGE,page:"/admin/settings/application/page",pathname:"/admin/settings/application",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,329,4390,3640,1123],()=>r(89575));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=6047,a.ids=[6047],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},22578:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["settings",{children:["application",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,74629)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/application/page.tsx"]}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/application/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/settings/application/page",pathname:"/admin/settings/application",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/settings/application/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},73136:a=>{"use strict";a.exports=require("node:url")},74629:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"settings",settingsTab:"application"})}},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=22578));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/settings/application/page.js.nft.json b/.next/server/app/admin/settings/application/page.js.nft.json index f9f3dc260a31f04e5f7a316f07aabef5170c7ddf..45991383d5de1781c3099d6be3b7b2e86f1a6f73 100644 --- a/.next/server/app/admin/settings/application/page.js.nft.json +++ b/.next/server/app/admin/settings/application/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1123.js","../../../../chunks/1519.js","../../../../chunks/2629.js","../../../../chunks/329.js","../../../../chunks/3640.js","../../../../chunks/4390.js","../../../../chunks/4447.js","../../../../chunks/7783.js","../../../../chunks/8055.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4221.js","../../../../chunks/4586.js","../../../../chunks/4681.js","../../../../chunks/495.js","../../../../chunks/740.js","../../../../chunks/774.js","../../../../chunks/7811.js","../../../../chunks/8686.js","../../../../chunks/9975.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/settings/application/page_client-reference-manifest.js b/.next/server/app/admin/settings/application/page_client-reference-manifest.js index d41da0fbe47819f2b8155fc348ee6830179ef563..02eafe27895bc27d3453542e3f5bb8ad1ea0dd0b 100644 --- a/.next/server/app/admin/settings/application/page_client-reference-manifest.js +++ b/.next/server/app/admin/settings/application/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/application/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","6047","static/chunks/app/admin/settings/application/page-a874fccacd499bea.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/application/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/application/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","6047","static/chunks/app/admin/settings/application/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/application/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/settings/model.html b/.next/server/app/admin/settings/model.html index addad281d67286f331fad6a3411f6e50d9705076..fd6faa03af71d58cddc2b42a4cf8aef93c04ecfc 100644 --- a/.next/server/app/admin/settings/model.html +++ b/.next/server/app/admin/settings/model.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Settings

Loading...

\ No newline at end of file +
Settings

Loading...

\ No newline at end of file diff --git a/.next/server/app/admin/settings/model.rsc b/.next/server/app/admin/settings/model.rsc index 8e512a6777cec7f34132714ca8d0747edb2594cb..d481c267d68ccc9da7574faca8ecea3edd85bc99 100644 --- a/.next/server/app/admin/settings/model.rsc +++ b/.next/server/app/admin/settings/model.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","3116","static/chunks/app/admin/settings/model/page-5bed268748dbbc2a.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","3116","static/chunks/app/admin/settings/model/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","settings","model"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["model",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["model",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings","settingsTab":"model"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","c9wKEjvW4AKZmrwxmRNUSv",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","settings","model"],"i":false,"f":[[["",{"children":["admin",{"children":["settings",{"children":["model",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["settings",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["model",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"settings","settingsTab":"model"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/settings/model/page.js b/.next/server/app/admin/settings/model/page.js index f5bab615d7ea21d5426b6db70f96dc9b9616377d..c8294acc4dbd99dec879fc244d810978c41618af 100644 --- a/.next/server/app/admin/settings/model/page.js +++ b/.next/server/app/admin/settings/model/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=3116,e.ids=[3116],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36167:(e,t,r)=>{Promise.resolve().then(r.bind(r,36903))},36903:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},55355:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>u,routeModule:()=>c,tree:()=>d});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);r.d(t,p);let d={children:["",{children:["admin",{children:["settings",{children:["model",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,91855)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/model/page.tsx"]}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,u=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/model/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/settings/model/page",pathname:"/admin/settings/model",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,t,r)=>{Promise.resolve().then(r.bind(r,69001))},69001:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>c});var s=r(60687),o=r(43210),n=r(11755),i=r(80021),a=r(35157),p=r(2565),d=r(13265),u=r(96597);function l({view:e,settingsTab:t}){let[r,p]=(0,o.useState)(null),[l,c]=(0,o.useState)(!1),x=r?(0,s.jsx)(a.a,{project:r,onBack:()=>p(null)}):(0,s.jsx)(i.f,{view:e,onProjectSelect:p,settingsTab:t});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.M,{currentView:e,onNavigate:()=>{},onProjectSelect:p,onOpenAbout:()=>c(!0),showSidebar:!r,children:x}),(0,s.jsx)(d.V,{location:"global"}),(0,s.jsx)(u.V,{open:l,onOpenChange:c})]})}function c({view:e,settingsTab:t}){return(0,s.jsx)(p.g,{children:(0,s.jsx)(l,{view:e,settingsTab:t})})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},87550:e=>{"use strict";e.exports=require("better-sqlite3")},91855:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r(37413),o=r(36903);function n(){return(0,s.jsx)(o.PageWrapper,{view:"settings",settingsTab:"model"})}},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,329,4390,3640,1123],()=>r(55355));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=3116,a.ids=[3116],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},67570:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"settings",settingsTab:"model"})}},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},80862:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["settings",{children:["model",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,67570)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/model/page.tsx"]}]},{}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/model/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/settings/model/page",pathname:"/admin/settings/model",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/settings/model/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=80862));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/settings/model/page.js.nft.json b/.next/server/app/admin/settings/model/page.js.nft.json index f9f3dc260a31f04e5f7a316f07aabef5170c7ddf..45991383d5de1781c3099d6be3b7b2e86f1a6f73 100644 --- a/.next/server/app/admin/settings/model/page.js.nft.json +++ b/.next/server/app/admin/settings/model/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1123.js","../../../../chunks/1519.js","../../../../chunks/2629.js","../../../../chunks/329.js","../../../../chunks/3640.js","../../../../chunks/4390.js","../../../../chunks/4447.js","../../../../chunks/7783.js","../../../../chunks/8055.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4221.js","../../../../chunks/4586.js","../../../../chunks/4681.js","../../../../chunks/495.js","../../../../chunks/740.js","../../../../chunks/774.js","../../../../chunks/7811.js","../../../../chunks/8686.js","../../../../chunks/9975.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/settings/model/page_client-reference-manifest.js b/.next/server/app/admin/settings/model/page_client-reference-manifest.js index 10f5d159dcbabacf0aec1d548a65d5ec333cf1c1..779046735dbc3c1374a35ec59de0c08e8e71f6a3 100644 --- a/.next/server/app/admin/settings/model/page_client-reference-manifest.js +++ b/.next/server/app/admin/settings/model/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/model/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","3116","static/chunks/app/admin/settings/model/page-5bed268748dbbc2a.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/model/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/model/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","3116","static/chunks/app/admin/settings/model/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/model/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/settings/page.js b/.next/server/app/admin/settings/page.js index 3335c9345a41eb44427b29e1359aea8cfa0cdb71..4bdedacab625d2edcc0084fb6f00612ee087eba7 100644 --- a/.next/server/app/admin/settings/page.js +++ b/.next/server/app/admin/settings/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=7122,e.ids=[7122],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36167:(e,t,r)=>{Promise.resolve().then(r.bind(r,36903))},36903:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,t,r)=>{Promise.resolve().then(r.bind(r,69001))},69001:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>c});var s=r(60687),o=r(43210),n=r(11755),i=r(80021),a=r(35157),p=r(2565),u=r(13265),d=r(96597);function l({view:e,settingsTab:t}){let[r,p]=(0,o.useState)(null),[l,c]=(0,o.useState)(!1),x=r?(0,s.jsx)(a.a,{project:r,onBack:()=>p(null)}):(0,s.jsx)(i.f,{view:e,onProjectSelect:p,settingsTab:t});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.M,{currentView:e,onNavigate:()=>{},onProjectSelect:p,onOpenAbout:()=>c(!0),showSidebar:!r,children:x}),(0,s.jsx)(u.V,{location:"global"}),(0,s.jsx)(d.V,{open:l,onOpenChange:c})]})}function c({view:e,settingsTab:t}){return(0,s.jsx)(p.g,{children:(0,s.jsx)(l,{view:e,settingsTab:t})})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},81881:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r(37413),o=r(36903);function n(){return(0,s.jsx)(o.PageWrapper,{view:"settings"})}},87371:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>c,tree:()=>u});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);r.d(t,p);let u={children:["",{children:["admin",{children:["settings",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,81881)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/settings/page",pathname:"/admin/settings",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},87550:e=>{"use strict";e.exports=require("better-sqlite3")},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,329,4390,3640,1123],()=>r(87371));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=7122,a.ids=[7122],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},60270:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["settings",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,62800)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/settings/page",pathname:"/admin/settings",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/settings/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},62800:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"settings"})}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=60270));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/settings/page.js.nft.json b/.next/server/app/admin/settings/page.js.nft.json index 6f4650d25405861319e2cf72dfe289aaa6cbe4f6..c792533b162039ba63383da3913630d94bbba358 100644 --- a/.next/server/app/admin/settings/page.js.nft.json +++ b/.next/server/app/admin/settings/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1123.js","../../../chunks/1519.js","../../../chunks/2629.js","../../../chunks/329.js","../../../chunks/3640.js","../../../chunks/4390.js","../../../chunks/4447.js","../../../chunks/7783.js","../../../chunks/8055.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4221.js","../../../chunks/4586.js","../../../chunks/4681.js","../../../chunks/495.js","../../../chunks/740.js","../../../chunks/774.js","../../../chunks/7811.js","../../../chunks/8686.js","../../../chunks/9975.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/settings/page_client-reference-manifest.js b/.next/server/app/admin/settings/page_client-reference-manifest.js index 806221107382bcfa3203872aade56c4660640bc6..4906cadf50eb5ae25a137e8b4504b0bf6249014c 100644 --- a/.next/server/app/admin/settings/page_client-reference-manifest.js +++ b/.next/server/app/admin/settings/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","7122","static/chunks/app/admin/settings/page-9f364b6b8587064f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/settings/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","7122","static/chunks/app/admin/settings/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/settings/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/sites.html b/.next/server/app/admin/sites.html index 231dfab1011d7935dc8ea3adb75bcb3d97437422..1c447e3834ffb040fb6f2485f6f146ef24d13a56 100644 --- a/.next/server/app/admin/sites.html +++ b/.next/server/app/admin/sites.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Sites

Sites feature is only available in Server Mode

\ No newline at end of file +
Sites

Sites feature is only available in Server Mode

\ No newline at end of file diff --git a/.next/server/app/admin/sites.rsc b/.next/server/app/admin/sites.rsc index ce630c199744139cc2755f4c33d719c87707fe01..5029550646fcd0f8ee5a930073faba74539b55d1 100644 --- a/.next/server/app/admin/sites.rsc +++ b/.next/server/app/admin/sites.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","921","static/chunks/app/admin/sites/page-cab0d1490b6a10b2.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","921","static/chunks/app/admin/sites/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","sites"],"i":false,"f":[[["",{"children":["admin",{"children":["sites",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["sites",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"sites"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","9GCyB1WVKfTs8lnBP_OWDv",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","sites"],"i":false,"f":[[["",{"children":["admin",{"children":["sites",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["sites",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"sites"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/sites/page.js b/.next/server/app/admin/sites/page.js index 6dfb075364ee5619ee073283d0b2bf94c1e8850f..0b0bd70358741485e2ac5732e1ae3d591ade8765 100644 --- a/.next/server/app/admin/sites/page.js +++ b/.next/server/app/admin/sites/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=921,e.ids=[921],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36167:(e,t,r)=>{Promise.resolve().then(r.bind(r,36903))},36903:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},55511:e=>{"use strict";e.exports=require("crypto")},56117:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>n.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>c,tree:()=>u});var s=r(65239),o=r(48088),i=r(88170),n=r.n(i),a=r(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);r.d(t,p);let u={children:["",{children:["admin",{children:["sites",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,69862)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/sites/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/sites/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/sites/page",pathname:"/admin/sites",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,t,r)=>{Promise.resolve().then(r.bind(r,69001))},69001:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>c});var s=r(60687),o=r(43210),i=r(11755),n=r(80021),a=r(35157),p=r(2565),u=r(13265),d=r(96597);function l({view:e,settingsTab:t}){let[r,p]=(0,o.useState)(null),[l,c]=(0,o.useState)(!1),x=r?(0,s.jsx)(a.a,{project:r,onBack:()=>p(null)}):(0,s.jsx)(n.f,{view:e,onProjectSelect:p,settingsTab:t});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.M,{currentView:e,onNavigate:()=>{},onProjectSelect:p,onOpenAbout:()=>c(!0),showSidebar:!r,children:x}),(0,s.jsx)(u.V,{location:"global"}),(0,s.jsx)(d.V,{open:l,onOpenChange:c})]})}function c({view:e,settingsTab:t}){return(0,s.jsx)(p.g,{children:(0,s.jsx)(l,{view:e,settingsTab:t})})}},69862:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var s=r(37413),o=r(36903);function i(){return(0,s.jsx)(o.PageWrapper,{view:"sites"})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},87550:e=>{"use strict";e.exports=require("better-sqlite3")},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,329,4390,3640,1123],()=>r(56117));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=921,a.ids=[921],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},73136:a=>{"use strict";a.exports=require("node:url")},76464:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["sites",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,85433)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/sites/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/sites/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/sites/page",pathname:"/admin/sites",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/sites/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},85433:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"sites"})}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=76464));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/sites/page.js.nft.json b/.next/server/app/admin/sites/page.js.nft.json index 6f4650d25405861319e2cf72dfe289aaa6cbe4f6..c792533b162039ba63383da3913630d94bbba358 100644 --- a/.next/server/app/admin/sites/page.js.nft.json +++ b/.next/server/app/admin/sites/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1123.js","../../../chunks/1519.js","../../../chunks/2629.js","../../../chunks/329.js","../../../chunks/3640.js","../../../chunks/4390.js","../../../chunks/4447.js","../../../chunks/7783.js","../../../chunks/8055.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4221.js","../../../chunks/4586.js","../../../chunks/4681.js","../../../chunks/495.js","../../../chunks/740.js","../../../chunks/774.js","../../../chunks/7811.js","../../../chunks/8686.js","../../../chunks/9975.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/sites/page_client-reference-manifest.js b/.next/server/app/admin/sites/page_client-reference-manifest.js index f3f0dd63ec05eec98d0a964d3b9c132e1248d26a..ef91baff656698ef0e5a438ed8eb3b4dd08ba5b4 100644 --- a/.next/server/app/admin/sites/page_client-reference-manifest.js +++ b/.next/server/app/admin/sites/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/sites/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","921","static/chunks/app/admin/sites/page-cab0d1490b6a10b2.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/sites/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/sites/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","921","static/chunks/app/admin/sites/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/sites/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/skills.html b/.next/server/app/admin/skills.html index cd3db1e35a0846eedb13727972319f44c106fc89..7d703700dbacb63142aedae478b4b1aff4cc34dd 100644 --- a/.next/server/app/admin/skills.html +++ b/.next/server/app/admin/skills.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Skills

Loading skills...

\ No newline at end of file +
Skills

Loading skills...

\ No newline at end of file diff --git a/.next/server/app/admin/skills.rsc b/.next/server/app/admin/skills.rsc index 2d117f750662624ca270ab63405a4dd4e55e7713..4af6baaee4694a1e1da849f735f551137f93b989 100644 --- a/.next/server/app/admin/skills.rsc +++ b/.next/server/app/admin/skills.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","849","static/chunks/app/admin/skills/page-929d76911d7d6b6c.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","849","static/chunks/app/admin/skills/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","skills"],"i":false,"f":[[["",{"children":["admin",{"children":["skills",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["skills",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"skills"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","NXOqrb1LKA_nk85Y1DBD4v",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","skills"],"i":false,"f":[[["",{"children":["admin",{"children":["skills",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["skills",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"skills"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/skills/page.js b/.next/server/app/admin/skills/page.js index ca5d20ad60ca6397766070ce7681b48a62479185..defb750d08f1de691c3b0b5cfb6377898b6bdf04 100644 --- a/.next/server/app/admin/skills/page.js +++ b/.next/server/app/admin/skills/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=849,e.ids=[849],e.modules={1239:(e,r,t)=>{"use strict";t.r(r),t.d(r,{GlobalError:()=>n.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>c,tree:()=>u});var s=t(65239),o=t(48088),i=t(88170),n=t.n(i),a=t(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);t.d(r,p);let u={children:["",{children:["admin",{children:["skills",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,35110)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/skills/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/skills/page.tsx"],l={require:t,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/skills/page",pathname:"/admin/skills",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},35110:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>i});var s=t(37413),o=t(36903);function i(){return(0,s.jsx)(o.PageWrapper,{view:"skills"})}},36167:(e,r,t)=>{Promise.resolve().then(t.bind(t,36903))},36903:(e,r,t)=>{"use strict";t.d(r,{PageWrapper:()=>s});let s=(0,t(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,r,t)=>{Promise.resolve().then(t.bind(t,69001))},69001:(e,r,t)=>{"use strict";t.d(r,{PageWrapper:()=>c});var s=t(60687),o=t(43210),i=t(11755),n=t(80021),a=t(35157),p=t(2565),u=t(13265),d=t(96597);function l({view:e,settingsTab:r}){let[t,p]=(0,o.useState)(null),[l,c]=(0,o.useState)(!1),x=t?(0,s.jsx)(a.a,{project:t,onBack:()=>p(null)}):(0,s.jsx)(n.f,{view:e,onProjectSelect:p,settingsTab:r});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.M,{currentView:e,onNavigate:()=>{},onProjectSelect:p,onOpenAbout:()=>c(!0),showSidebar:!t,children:x}),(0,s.jsx)(u.V,{location:"global"}),(0,s.jsx)(d.V,{open:l,onOpenChange:c})]})}function c({view:e,settingsTab:r}){return(0,s.jsx)(p.g,{children:(0,s.jsx)(l,{view:e,settingsTab:r})})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},87550:e=>{"use strict";e.exports=require("better-sqlite3")},94735:e=>{"use strict";e.exports=require("events")}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4447,8055,329,4390,3640,1123],()=>t(1239));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=849,a.ids=[849],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64354:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["skills",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,76983)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/skills/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/skills/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/skills/page",pathname:"/admin/skills",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/skills/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},76983:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"skills"})}},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=64354));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/skills/page.js.nft.json b/.next/server/app/admin/skills/page.js.nft.json index 6f4650d25405861319e2cf72dfe289aaa6cbe4f6..c792533b162039ba63383da3913630d94bbba358 100644 --- a/.next/server/app/admin/skills/page.js.nft.json +++ b/.next/server/app/admin/skills/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1123.js","../../../chunks/1519.js","../../../chunks/2629.js","../../../chunks/329.js","../../../chunks/3640.js","../../../chunks/4390.js","../../../chunks/4447.js","../../../chunks/7783.js","../../../chunks/8055.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4221.js","../../../chunks/4586.js","../../../chunks/4681.js","../../../chunks/495.js","../../../chunks/740.js","../../../chunks/774.js","../../../chunks/7811.js","../../../chunks/8686.js","../../../chunks/9975.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/skills/page_client-reference-manifest.js b/.next/server/app/admin/skills/page_client-reference-manifest.js index 142d4b17ecfe0afb627d9321ccee2312ea973137..ae8977c41f9cc465268a39dc542e47436412e291 100644 --- a/.next/server/app/admin/skills/page_client-reference-manifest.js +++ b/.next/server/app/admin/skills/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/skills/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","849","static/chunks/app/admin/skills/page-929d76911d7d6b6c.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/skills/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/skills/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","849","static/chunks/app/admin/skills/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/skills/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/admin/templates.html b/.next/server/app/admin/templates.html index 5d04d3cce4805340de78bc95c375d4a1cead9ab3..bad0ce2ef09d039c08dd16e1b2a5ff0f1020c5cc 100644 --- a/.next/server/app/admin/templates.html +++ b/.next/server/app/admin/templates.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨
+Open Source Web Studio | Agentic AI Development 🎨
-
Templates

Loading templates...

\ No newline at end of file +
Templates

Loading templates...

\ No newline at end of file diff --git a/.next/server/app/admin/templates.rsc b/.next/server/app/admin/templates.rsc index ad3dfc5fafec407238912ecff7f049cdf4bdd09d..6ca397a9a2f4d8e508d74c70b3d978f614c5f13d 100644 --- a/.next/server/app/admin/templates.rsc +++ b/.next/server/app/admin/templates.rsc @@ -1,25 +1,23 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[19009,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","7698","static/chunks/app/admin/templates/page-504a7473b0432e50.js"],"PageWrapper"] -8:I[59665,[],"OutletBoundary"] -b:I[74911,[],"AsyncMetadataOutlet"] -d:I[59665,[],"ViewportBoundary"] -f:I[59665,[],"MetadataBoundary"] -11:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[43688,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","7698","static/chunks/app/admin/templates/page-6851bc68b8a2db8f.js"],"PageWrapper"] +8:I[24431,[],"OutletBoundary"] +a:I[15278,[],"AsyncMetadataOutlet"] +c:I[24431,[],"ViewportBoundary"] +e:I[24431,[],"MetadataBoundary"] +f:"$Sreact.suspense" +11:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","admin","templates"],"i":false,"f":[[["",{"children":["admin",{"children":["templates",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["templates",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"templates"}],null,["$","$L8",null,{"children":["$L9","$La",["$","$Lb",null,{"promise":"$@c"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","sm3CE0sixPr7FflLzBHVgv",{"children":[["$","$Ld",null,{"children":"$Le"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$Lf",null,{"children":"$L10"}]]}],false]],"m":"$undefined","G":["$11","$undefined"],"s":false,"S":true} -12:"$Sreact.suspense" -13:I[74911,[],"AsyncMetadata"] -10:["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":["$","$L13",null,{"promise":"$@14"}]}]}] -a:null -e:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","admin","templates"],"i":false,"f":[[["",{"children":["admin",{"children":["templates",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["admin",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["templates",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"view":"templates"}],null,["$","$L8",null,{"children":["$L9",["$","$La",null,{"promise":"$@b"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lc",null,{"children":"$Ld"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$Le",null,{"children":["$","div",null,{"hidden":true,"children":["$","$f",null,{"fallback":null,"children":"$L10"}]}]}]]}],false]],"m":"$undefined","G":["$11",[]],"s":false,"S":true} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] 9:null -c:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -14:{"metadata":"$c:metadata","error":null,"digest":"$undefined"} +12:I[80622,[],"IconMark"] +b:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L12","20",{}]],"error":null,"digest":"$undefined"} +10:"$b:metadata" diff --git a/.next/server/app/admin/templates/page.js b/.next/server/app/admin/templates/page.js index e89e3d9c90748d418b9ea8e560a614065ba19df8..538233bf1efd1cbeb289ccde9d1b47eda5cee178 100644 --- a/.next/server/app/admin/templates/page.js +++ b/.next/server/app/admin/templates/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=7698,e.ids=[7698],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11849:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var s=r(37413),o=r(36903);function n(){return(0,s.jsx)(o.PageWrapper,{view:"templates"})}},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},36167:(e,t,r)=>{Promise.resolve().then(r.bind(r,36903))},36903:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},46125:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>c,tree:()=>u});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);r.d(t,p);let u={children:["",{children:["admin",{children:["templates",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,11849)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/templates/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/templates/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/admin/templates/page",pathname:"/admin/templates",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(e,t,r)=>{Promise.resolve().then(r.bind(r,69001))},69001:(e,t,r)=>{"use strict";r.d(t,{PageWrapper:()=>c});var s=r(60687),o=r(43210),n=r(11755),i=r(80021),a=r(35157),p=r(2565),u=r(13265),d=r(96597);function l({view:e,settingsTab:t}){let[r,p]=(0,o.useState)(null),[l,c]=(0,o.useState)(!1),x=r?(0,s.jsx)(a.a,{project:r,onBack:()=>p(null)}):(0,s.jsx)(i.f,{view:e,onProjectSelect:p,settingsTab:t});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.M,{currentView:e,onNavigate:()=>{},onProjectSelect:p,onOpenAbout:()=>c(!0),showSidebar:!r,children:x}),(0,s.jsx)(u.V,{location:"global"}),(0,s.jsx)(d.V,{open:l,onOpenChange:c})]})}function c({view:e,settingsTab:t}){return(0,s.jsx)(p.g,{children:(0,s.jsx)(l,{view:e,settingsTab:t})})}},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},87550:e=>{"use strict";e.exports=require("better-sqlite3")},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,329,4390,3640,1123],()=>r(46125));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=7698,a.ids=[7698],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},2054:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call PageWrapper() from the server but PageWrapper 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/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx","PageWrapper")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31152:(a,b,c)=>{"use strict";c.d(b,{PageWrapper:()=>m});var d=c(21124),e=c(38301),f=c(29569),g=c(81535),h=c(40987),i=c(95919),j=c(14258),k=c(45914);function l({view:a,settingsTab:b}){let[c,i]=(0,e.useState)(null),[l,m]=(0,e.useState)(!1),n=c?(0,d.jsx)(h.a,{project:c,onBack:()=>i(null)}):(0,d.jsx)(g.f,{view:a,onProjectSelect:i,settingsTab:b});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(f.M,{currentView:a,onNavigate:()=>{},onProjectSelect:i,onOpenAbout:()=>m(!0),showSidebar:!c,children:n}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(k.V,{open:l,onOpenChange:m})]})}function m({view:a,settingsTab:b}){return(0,d.jsx)(i.g,{children:(0,d.jsx)(l,{view:a,settingsTab:b})})}},33873:a=>{"use strict";a.exports=require("path")},36167:(a,b,c)=>{Promise.resolve().then(c.bind(c,2054))},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},46888:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["admin",{children:["templates",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,50554)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/templates/page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/templates/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/admin/templates/page",pathname:"/admin/templates",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/admin/templates/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},50554:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(75338),e=c(2054);function f(){return(0,d.jsx)(e.PageWrapper,{view:"templates"})}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66431:(a,b,c)=>{Promise.resolve().then(c.bind(c,31152))},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=46888));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/admin/templates/page.js.nft.json b/.next/server/app/admin/templates/page.js.nft.json index 6f4650d25405861319e2cf72dfe289aaa6cbe4f6..c792533b162039ba63383da3913630d94bbba358 100644 --- a/.next/server/app/admin/templates/page.js.nft.json +++ b/.next/server/app/admin/templates/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1123.js","../../../chunks/1519.js","../../../chunks/2629.js","../../../chunks/329.js","../../../chunks/3640.js","../../../chunks/4390.js","../../../chunks/4447.js","../../../chunks/7783.js","../../../chunks/8055.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4221.js","../../../chunks/4586.js","../../../chunks/4681.js","../../../chunks/495.js","../../../chunks/740.js","../../../chunks/774.js","../../../chunks/7811.js","../../../chunks/8686.js","../../../chunks/9975.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/admin/templates/page_client-reference-manifest.js b/.next/server/app/admin/templates/page_client-reference-manifest.js index b9f8dabf7bd4a4667c221223cad8eece69258f85..87c1c3b784114bd538f2bbf0f9cc3db95dd2b8c2 100644 --- a/.next/server/app/admin/templates/page_client-reference-manifest.js +++ b/.next/server/app/admin/templates/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/templates/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","7698","static/chunks/app/admin/templates/page-504a7473b0432e50.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":["3698","static/chunks/app/admin/page-b2a62d22e5b9b7f1.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/templates/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/admin/templates/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","7698","static/chunks/app/admin/templates/page-6851bc68b8a2db8f.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":["3698","static/chunks/app/admin/page-700ea05bb99f3aa7.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/templates/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/dashboard/route.js b/.next/server/app/api/admin/dashboard/route.js index ea8a9e4bab382e2618892351801ea88289225e9e..26344e894bb0331310b83020972567fff031babb 100644 --- a/.next/server/app/api/admin/dashboard/route.js +++ b/.next/server/app/api/admin/dashboard/route.js @@ -1,38 +1,38 @@ -(()=>{var e={};e.id=7426,e.ids=[7426],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19870:(e,t,r)=>{"use strict";r.d(t,{XO:()=>i,ad:()=>o,p1:()=>u});var s=r(55511);let n=null;function a(){if(!n){let{getCoreDatabase:e}=r(50854);n=e()}return n}function o(e){try{var t;let r=a();if(!r)return;let n=(t=e.ip)&&"unknown"!==t?(0,s.createHash)("sha256").update(t).digest("hex").substring(0,8):"unknown",o=e.userAgent?.substring(0,255)||"";r.prepare(` +(()=>{var a={};a.id=7426,a.ids=[7426],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{"use strict";a.exports=require("fs")},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")},39588:(a,b,c)=>{"use strict";c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},42054:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>M,patchFetch:()=>L,routeModule:()=>H,serverHooks:()=>K,workAsyncStorage:()=>I,workUnitAsyncStorage:()=>J});var d={};c.r(d),c.d(d,{GET:()=>G});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(86802),x=c(74051),y=c(94471),z=c(29021),A=c(33873),B=c.n(A);async function C(){try{let a=B().join(process.cwd(),"package.json"),b=await z.promises.readFile(a,"utf-8");return JSON.parse(b).version||"unknown"}catch{return"unknown"}}async function D(){let a={version:"unknown",title:"Welcome to OSW Studio",highlights:[]};try{let b,c=B().join(process.cwd(),"docs","WHATS_NEW.md"),d=await z.promises.readFile(c,"utf-8"),e=d.match(/^## v(\d+\.\d+\.\d+)\s*-\s*(.+)$/m);if(!e)return a;let f=e[1],g=e[2].trim(),h=d.indexOf(e[0]),i=d.substring(h+e[0].length),j=i.match(/^(?:## |---)/m),k=j?i.substring(0,j.index):i,l=/^[-*]\s+\*\*(.+?)\*\*\s*[-–]?\s*(.*)$/gm,m=[];for(;null!==(b=l.exec(k))&&m.length<4;){let a=b[1].trim(),c=b[2]?.trim();m.push(c?`${a} - ${c}`:a)}if(0===m.length){let a=/^[-*]\s+(.+)$/gm;for(;null!==(b=a.exec(k))&&m.length<4;){let a=b[1].trim();a.match(/^\[.*\]\(.*\)$/)||m.push(a.replace(/\*\*/g,""))}}return{version:f,title:g,highlights:m}}catch{return a}}async function E(a){let b=0;try{for(let c of(await z.promises.readdir(a,{withFileTypes:!0}))){let d=B().join(a,c.name);if(c.isDirectory())b+=await E(d);else if(c.isFile()){let a=await z.promises.stat(d);b+=a.size}}}catch{}return b}async function F(){let a=B().join(process.cwd(),"sites"),b=0;try{for(let c of(await z.promises.readdir(a,{withFileTypes:!0})))if(c.isDirectory()){let d=B().join(a,c.name,"site.sqlite");try{await z.promises.access(d),b++}catch{}}}catch{}return b}async function G(){try{let a=await (0,w.UL)(),b=a.get("osw_session")?.value;if(!b)return u.NextResponse.json({error:"Unauthorized"},{status:401});let c=await (0,v.gV)(b);if(!c||!c.isAdmin)return u.NextResponse.json({error:"Unauthorized"},{status:401});let d=(0,x.getCoreDatabase)();(0,y.p1)(7);let[e,f,g,h,i,j,k,l,m,n]=await Promise.all([C(),Promise.resolve(d.prepare("SELECT COUNT(*) as count FROM projects").get().count),Promise.resolve(d.prepare("SELECT COUNT(*) as count FROM custom_templates").get().count),Promise.resolve(d.prepare("SELECT COUNT(*) as count FROM skills").get().count),Promise.resolve(d.prepare("SELECT COUNT(*) as count FROM files").get().count),Promise.resolve(d.prepare("SELECT COUNT(*) as count FROM sites WHERE published_at IS NOT NULL").get().count),F(),E(B().join(process.cwd(),"public","sites")),Promise.resolve((0,y.XO)(24)),D()]),o=m.topSites.map(a=>{let b=d.prepare("SELECT name FROM sites WHERE id = ?").get(a.siteId);return{...a,siteName:b?.name||a.siteId.substring(0,8)}}),p=d.prepare(` + SELECT id, name, description, updated_at as updatedAt + FROM projects + ORDER BY updated_at DESC + LIMIT 5 + `).all(),q=d.prepare(` + SELECT id, name, slug, enabled, published_at as publishedAt, updated_at as updatedAt + FROM sites + ORDER BY updated_at DESC + LIMIT 5 + `).all(),r=process.memoryUsage();return u.NextResponse.json({system:{version:e,nodeVersion:process.version,uptime:process.uptime(),memoryUsed:r.heapUsed,memoryTotal:r.heapTotal},content:{projects:f,templates:g,skills:h,totalFiles:i},hosting:{publishedSites:j,sitesWithDb:k,storageUsed:l},traffic:{requestsLastHour:m.requestsLastHour,requestsLastDay:m.requestsLastDay,errorCount:m.errorCount,topSites:o,recentErrors:m.recentErrors},whatsNew:n,recentProjects:p,recentSites:q.map(a=>({...a,enabled:!!a.enabled}))})}catch(a){return console.error("[Dashboard API] Error:",a),u.NextResponse.json({error:"Failed to fetch dashboard data"},{status:500})}}let H=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/dashboard/route",pathname:"/api/admin/dashboard",filename:"route",bundlePath:"app/api/admin/dashboard/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/dashboard/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:I,workUnitAsyncStorage:J,serverHooks:K}=H;function L(){return(0,g.patchFetch)({workAsyncStorage:I,workUnitAsyncStorage:J})}async function M(a,b,c){var d;let e="/api/admin/dashboard/route";"/index"===e&&(e="/");let g=await H.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:C}=g,D=(0,j.normalizeAppPath)(e),E=!!(y.dynamicRoutes[D]||y.routes[C]);if(E&&!x){let a=!!y.routes[C],b=y.dynamicRoutes[D];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let F=null;!E||H.isDev||x||(F="/index"===(F=C)?"/":F);let G=!0===H.isDev||!E,I=E&&!G,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:G,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>H.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>H.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!E)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await H.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await H.handleResponse({req:a,nextConfig:w,cacheKey:F,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!E)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&E||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await H.onRequestError(a,b,{routerKind:"App Router",routePath:D,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),E)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74051:(a,b,c)=>{"use strict";c.r(b),c.d(b,{closeAllConnections:()=>v,closeCoreDatabase:()=>u,closeSiteDatabase:()=>t,deleteSiteDatabase:()=>s,getCoreDatabase:()=>p,getCoreDatabasePath:()=>y,getSiteDatabase:()=>q,getSiteDatabasePath:()=>x,listSiteIds:()=>w,siteExists:()=>r});var d=c(87550),e=c.n(d),f=c(33873),g=c.n(f),h=c(29021),i=c.n(h);let j=null,k=new Map;function l(){return process.env.DATA_DIR||g().join(process.cwd(),"data")}function m(){return g().join(process.cwd(),"sites")}function n(a){i().existsSync(a)||i().mkdirSync(a,{recursive:!0})}function o(a){a.pragma("journal_mode = WAL"),a.pragma("foreign_keys = ON"),a.pragma("synchronous = NORMAL"),a.pragma("cache_size = -64000"),a.pragma("temp_store = MEMORY")}function p(){if(j)return j;let a=l();n(a);let b=g().join(a,"osws.sqlite");return o(j=new(e())(b)),j}function q(a){let b=k.get(a);if(b)return b;let c=m(),d=g().join(c,a);n(d);let f=g().join(d,"site.sqlite"),h=new(e())(f);return o(h),k.set(a,h),h}function r(a){let b=m(),c=g().join(b,a,"site.sqlite");return i().existsSync(c)}function s(a){t(a);let b=m(),c=g().join(b,a);if(i().existsSync(c)){for(let a of i().readdirSync(c))i().unlinkSync(g().join(c,a));i().rmdirSync(c)}}function t(a){let b=k.get(a);if(b){try{b.close()}catch{}k.delete(a)}}function u(){if(j){try{j.close()}catch{}j=null}}function v(){for(let[a]of k)t(a);u()}function w(){let a=m();return i().existsSync(a)?i().readdirSync(a,{withFileTypes:!0}).filter(a=>a.isDirectory()).filter(b=>i().existsSync(g().join(a,b.name,"site.sqlite"))).map(a=>a.name):[]}function x(a){let b=m();return g().join(b,a,"site.sqlite")}function y(){let a=l();return g().join(a,"osws.sqlite")}},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94471:(a,b,c)=>{"use strict";c.d(b,{XO:()=>h,ad:()=>g,p1:()=>i});var d=c(55511);let e=null;function f(){if(!e){let{getCoreDatabase:a}=c(74051);e=a()}return e}function g(a){try{var b;let c=f();if(!c)return;let e=(b=a.ip)&&"unknown"!==b?(0,d.createHash)("sha256").update(b).digest("hex").substring(0,8):"unknown",g=a.userAgent?.substring(0,255)||"";c.prepare(` INSERT INTO request_log (site_id, path, status_code, ip_hash, user_agent, timestamp) VALUES (?, ?, ?, ?, ?, datetime('now')) - `).run(e.siteId,e.path,e.statusCode,n,o)}catch(e){console.error("[RequestLogger] Failed to log request:",e)}}function i(e=24){try{let e=a();if(!e)return{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]};let t=e.prepare(` + `).run(a.siteId,a.path,a.statusCode,e,g)}catch(a){console.error("[RequestLogger] Failed to log request:",a)}}function h(a=24){try{let a=f();if(!a)return{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]};let b=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-1 hour') - `).get(),r=e.prepare(` + `).get(),c=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') - `).get(),s=e.prepare(` + `).get(),d=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') AND status_code >= 400 - `).get(),n=e.prepare(` + `).get(),e=a.prepare(` SELECT site_id as siteId, COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') GROUP BY site_id ORDER BY count DESC LIMIT 10 - `).all(),o=e.prepare(` + `).all(),g=a.prepare(` SELECT site_id as siteId, path, status_code as statusCode, timestamp FROM request_log WHERE status_code >= 400 ORDER BY timestamp DESC LIMIT 10 - `).all();return{requestsLastHour:t.count,requestsLastDay:r.count,errorCount:s.count,topSites:n,recentErrors:o}}catch(e){return console.error("[RequestLogger] Failed to get stats:",e),{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]}}}function u(e=7){try{let t=a();if(!t)return 0;return t.prepare(` + `).all();return{requestsLastHour:b.count,requestsLastDay:c.count,errorCount:d.count,topSites:e,recentErrors:g}}catch(a){return console.error("[RequestLogger] Failed to get stats:",a),{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]}}}function i(a=7){try{let b=f();if(!b)return 0;return b.prepare(` DELETE FROM request_log WHERE timestamp < datetime('now', '-' || ? || ' days') - `).run(e).changes}catch(e){return console.error("[RequestLogger] Failed to cleanup logs:",e),0}}},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{"use strict";r.d(t,{C0:()=>p,Ht:()=>l,gV:()=>c,jw:()=>u,oC:()=>d});var s=r(87806),n=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let n=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new s.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(n)}async function c(e){try{let t=i(),{payload:r}=await (0,n.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?c(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function d(){let e=await l();if(!e)throw Error("Unauthorized");return e}},50854:(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeAllConnections:()=>R,closeCoreDatabase:()=>w,closeSiteDatabase:()=>S,deleteSiteDatabase:()=>y,getCoreDatabase:()=>E,getCoreDatabasePath:()=>O,getSiteDatabase:()=>f,getSiteDatabasePath:()=>T,listSiteIds:()=>C,siteExists:()=>h});var s=r(87550),n=r.n(s),a=r(33873),o=r.n(a),i=r(29021),u=r.n(i);let c=null,l=new Map;function p(){return process.env.DATA_DIR||o().join(process.cwd(),"data")}function d(){return o().join(process.cwd(),"sites")}function m(e){u().existsSync(e)||u().mkdirSync(e,{recursive:!0})}function g(e){e.pragma("journal_mode = WAL"),e.pragma("foreign_keys = ON"),e.pragma("synchronous = NORMAL"),e.pragma("cache_size = -64000"),e.pragma("temp_store = MEMORY")}function E(){if(c)return c;let e=p();m(e);let t=o().join(e,"osws.sqlite");return g(c=new(n())(t)),c}function f(e){let t=l.get(e);if(t)return t;let r=d(),s=o().join(r,e);m(s);let a=o().join(s,"site.sqlite"),i=new(n())(a);return g(i),l.set(e,i),i}function h(e){let t=d(),r=o().join(t,e,"site.sqlite");return u().existsSync(r)}function y(e){S(e);let t=d(),r=o().join(t,e);if(u().existsSync(r)){for(let e of u().readdirSync(r))u().unlinkSync(o().join(r,e));u().rmdirSync(r)}}function S(e){let t=l.get(e);if(t){try{t.close()}catch{}l.delete(e)}}function w(){if(c){try{c.close()}catch{}c=null}}function R(){for(let[e]of l)S(e);w()}function C(){let e=d();return u().existsSync(e)?u().readdirSync(e,{withFileTypes:!0}).filter(e=>e.isDirectory()).filter(t=>u().existsSync(o().join(e,t.name,"site.sqlite"))).map(e=>e.name):[]}function T(e){let t=d();return o().join(t,e,"site.sqlite")}function O(){let e=p();return o().join(e,"osws.sqlite")}},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},72485:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>O,routeModule:()=>w,serverHooks:()=>T,workAsyncStorage:()=>R,workUnitAsyncStorage:()=>C});var s={};r.r(s),r.d(s,{GET:()=>S});var n=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613),c=r(44999),l=r(50854),p=r(19870),d=r(29021),m=r(33873),g=r.n(m);async function E(){try{let e=g().join(process.cwd(),"package.json"),t=await d.promises.readFile(e,"utf-8");return JSON.parse(t).version||"unknown"}catch{return"unknown"}}async function f(){let e={version:"unknown",title:"Welcome to OSW Studio",highlights:[]};try{let t,r=g().join(process.cwd(),"docs","WHATS_NEW.md"),s=await d.promises.readFile(r,"utf-8"),n=s.match(/^## v(\d+\.\d+\.\d+)\s*-\s*(.+)$/m);if(!n)return e;let a=n[1],o=n[2].trim(),i=s.indexOf(n[0]),u=s.substring(i+n[0].length),c=u.match(/^(?:## |---)/m),l=c?u.substring(0,c.index):u,p=/^[-*]\s+\*\*(.+?)\*\*\s*[-–]?\s*(.*)$/gm,m=[];for(;null!==(t=p.exec(l))&&m.length<4;){let e=t[1].trim(),r=t[2]?.trim();m.push(r?`${e} - ${r}`:e)}if(0===m.length){let e=/^[-*]\s+(.+)$/gm;for(;null!==(t=e.exec(l))&&m.length<4;){let e=t[1].trim();e.match(/^\[.*\]\(.*\)$/)||m.push(e.replace(/\*\*/g,""))}}return{version:a,title:o,highlights:m}}catch{return e}}async function h(e){let t=0;try{for(let r of(await d.promises.readdir(e,{withFileTypes:!0}))){let s=g().join(e,r.name);if(r.isDirectory())t+=await h(s);else if(r.isFile()){let e=await d.promises.stat(s);t+=e.size}}}catch{}return t}async function y(){let e=g().join(process.cwd(),"sites"),t=0;try{for(let r of(await d.promises.readdir(e,{withFileTypes:!0})))if(r.isDirectory()){let s=g().join(e,r.name,"site.sqlite");try{await d.promises.access(s),t++}catch{}}}catch{}return t}async function S(){try{let e=await (0,c.UL)(),t=e.get("osw_session")?.value;if(!t)return i.NextResponse.json({error:"Unauthorized"},{status:401});let r=await (0,u.gV)(t);if(!r||!r.isAdmin)return i.NextResponse.json({error:"Unauthorized"},{status:401});let s=(0,l.getCoreDatabase)();(0,p.p1)(7);let[n,a,o,d,m,S,w,R,C,T]=await Promise.all([E(),Promise.resolve(s.prepare("SELECT COUNT(*) as count FROM projects").get().count),Promise.resolve(s.prepare("SELECT COUNT(*) as count FROM custom_templates").get().count),Promise.resolve(s.prepare("SELECT COUNT(*) as count FROM skills").get().count),Promise.resolve(s.prepare("SELECT COUNT(*) as count FROM files").get().count),Promise.resolve(s.prepare("SELECT COUNT(*) as count FROM sites WHERE published_at IS NOT NULL").get().count),y(),h(g().join(process.cwd(),"public","sites")),Promise.resolve((0,p.XO)(24)),f()]),O=C.topSites.map(e=>{let t=s.prepare("SELECT name FROM sites WHERE id = ?").get(e.siteId);return{...e,siteName:t?.name||e.siteId.substring(0,8)}}),x=s.prepare(` - SELECT id, name, description, updated_at as updatedAt - FROM projects - ORDER BY updated_at DESC - LIMIT 5 - `).all(),q=s.prepare(` - SELECT id, name, slug, enabled, published_at as publishedAt, updated_at as updatedAt - FROM sites - ORDER BY updated_at DESC - LIMIT 5 - `).all(),L=process.memoryUsage();return i.NextResponse.json({system:{version:n,nodeVersion:process.version,uptime:process.uptime(),memoryUsed:L.heapUsed,memoryTotal:L.heapTotal},content:{projects:a,templates:o,skills:d,totalFiles:m},hosting:{publishedSites:S,sitesWithDb:w,storageUsed:R},traffic:{requestsLastHour:C.requestsLastHour,requestsLastDay:C.requestsLastDay,errorCount:C.errorCount,topSites:O,recentErrors:C.recentErrors},whatsNew:T,recentProjects:x,recentSites:q.map(e=>({...e,enabled:!!e.enabled}))})}catch(e){return console.error("[Dashboard API] Error:",e),i.NextResponse.json({error:"Failed to fetch dashboard data"},{status:500})}}let w=new n.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/dashboard/route",pathname:"/api/admin/dashboard",filename:"route",bundlePath:"app/api/admin/dashboard/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/dashboard/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:R,workUnitAsyncStorage:C,serverHooks:T}=w;function O(){return(0,o.patchFetch)({workAsyncStorage:R,workUnitAsyncStorage:C})}},78335:()=>{},87550:e=>{"use strict";e.exports=require("better-sqlite3")},96487:()=>{}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,5155],()=>r(72485));module.exports=s})(); \ No newline at end of file + `).run(a).changes}catch(a){return console.error("[RequestLogger] Failed to cleanup logs:",a),0}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151],()=>b(b.s=42054));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/dashboard/route.js.nft.json b/.next/server/app/api/admin/dashboard/route.js.nft.json index 28ca7d9a2675bcb641abeb6feee1b3a296294103..2ef7f23fbf50dbe5379ac9900f76c0c1c2b08f59 100644 --- a/.next/server/app/api/admin/dashboard/route.js.nft.json +++ b/.next/server/app/api/admin/dashboard/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../docs/WHATS_NEW.md","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/PLAN.md","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/about.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/contact.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/practice-areas.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/pricing.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/robots.txt","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/scripts/main.js","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles.css","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles/style.css","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../docs/WHATS_NEW.md","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/PLAN.md","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/about.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/contact.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/practice-areas.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/pricing.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/robots.txt","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/scripts/main.js","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles.css","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles/style.css","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/dashboard/route_client-reference-manifest.js b/.next/server/app/api/admin/dashboard/route_client-reference-manifest.js index dad7755a1198f7a1e35e4c3bd43f7b6dc4e9f4c4..42ae82478e4b1257bd2911b48df5e1f814516978 100644 --- a/.next/server/app/api/admin/dashboard/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/dashboard/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/dashboard/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/dashboard/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/dashboard/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/dashboard/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/run-migrations/route.js b/.next/server/app/api/admin/run-migrations/route.js index f77f8fa51e236bef9edad6ca10488413ab1ba0c6..820313c924f5f228583029e499746bfc1bf14a76 100644 --- a/.next/server/app/api/admin/run-migrations/route.js +++ b/.next/server/app/api/admin/run-migrations/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=729,e.ids=[729],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let s={randomUUID:n.randomUUID},a=new Uint8Array(256),i=a.length,o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let u=(e=e||{}).random??e.rng?.()??(i>a.length-16&&((0,n.randomFillSync)(a),i=0),a.slice(i,i+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>c,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>p});var n=r(87806),s=r(77412),a=r(44999);let i="osw_session";function o(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=o(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=o(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,a.UL)(),t=e.get(i)?.value;return t?d(t):null}async function c(){(await (0,a.UL)()).delete(i)}async function p(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},92435:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>g,routeModule:()=>c,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>m});var n={};r.r(n),r.d(n,{POST:()=>l});var s=r(96559),a=r(48088),i=r(37719),o=r(32190),u=r(50613),d=r(30417);async function l(e){try{if(!await (0,u.Ht)())return o.NextResponse.json({error:"Unauthorized"},{status:401});let{action:t}=await e.json(),r=(0,d.q)();if("status"===t)return await r.init(),o.NextResponse.json({success:!0,database:"SQLite",message:"Database initialized and ready. SQLite uses automatic schema creation."});if("reinitialize"===t)return await r.init(),o.NextResponse.json({success:!0,message:"Database reinitialized successfully."});if("list"===t)return o.NextResponse.json({success:!0,migrations:[],message:"SQLite uses automatic schema creation. No migration tracking required."});return o.NextResponse.json({error:'Invalid action. Use "status", "reinitialize", or "list".'},{status:400})}catch(e){return console.error("[Database Admin API] Error:",e),o.NextResponse.json({error:"Failed to perform database operation"},{status:500})}}let c=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/run-migrations/route",pathname:"/api/admin/run-migrations",filename:"route",bundlePath:"app/api/admin/run-migrations/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/run-migrations/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:p,workUnitAsyncStorage:m,serverHooks:f}=c;function g(){return(0,i.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:m})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(92435));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=729,a.ids=[729],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},72514:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a){try{if(!await (0,v.Ht)())return u.NextResponse.json({error:"Unauthorized"},{status:401});let{action:b}=await a.json(),c=(0,w.q)();if("status"===b)return await c.init(),u.NextResponse.json({success:!0,database:"SQLite",message:"Database initialized and ready. SQLite uses automatic schema creation."});if("reinitialize"===b)return await c.init(),u.NextResponse.json({success:!0,message:"Database reinitialized successfully."});if("list"===b)return u.NextResponse.json({success:!0,migrations:[],message:"SQLite uses automatic schema creation. No migration tracking required."});return u.NextResponse.json({error:'Invalid action. Use "status", "reinitialize", or "list".'},{status:400})}catch(a){return console.error("[Database Admin API] Error:",a),u.NextResponse.json({error:"Failed to perform database operation"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/run-migrations/route",pathname:"/api/admin/run-migrations",filename:"route",bundlePath:"app/api/admin/run-migrations/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/run-migrations/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/admin/run-migrations/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=72514));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/run-migrations/route.js.nft.json b/.next/server/app/api/admin/run-migrations/route.js.nft.json index 2c9183da5b50e05825422aa5df1827327eeb10a8..6c94e5cb3fe0486dbe372f74802902d64e6acc2c 100644 --- a/.next/server/app/api/admin/run-migrations/route.js.nft.json +++ b/.next/server/app/api/admin/run-migrations/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/run-migrations/route_client-reference-manifest.js b/.next/server/app/api/admin/run-migrations/route_client-reference-manifest.js index 96e5f5993a9cfe0e0590d878c7fcfee1649ffbdd..f1f9777f651087f9d40cf130657daecdc095e890 100644 --- a/.next/server/app/api/admin/run-migrations/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/run-migrations/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/run-migrations/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/run-migrations/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/run-migrations/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/run-migrations/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/logs/route.js b/.next/server/app/api/admin/sites/[id]/database/logs/route.js index 4f95fb0f11cf956475c375df5d58b9ed7ca6f2ae..0bf39a4530798758e4ff4176804052a49647d5ee 100644 --- a/.next/server/app/api/admin/sites/[id]/database/logs/route.js +++ b/.next/server/app/api/admin/sites/[id]/database/logs/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9886,e.ids=[9886],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let s={randomUUID:n.randomUUID},a=new Uint8Array(256),o=a.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>a.length-16&&((0,n.randomFillSync)(a),o=0),a.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>c});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function c(){let e=await l();if(!e)throw Error("Unauthorized");return e}},51581:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>x,routeModule:()=>c,serverHooks:()=>m,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>g});var n={};r.r(n),r.d(n,{DELETE:()=>p,GET:()=>l});var s=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613),d=r(30417);async function l(e,{params:t}){try{await (0,u.oC)();let{id:r}=await t,{searchParams:n}=new URL(e.url),s=Math.min(parseInt(n.get("limit")||"100"),1e3),a=(0,d.q)();await a.init();let o=await a.getSite?.(r);if(!o)return i.NextResponse.json({error:"Site not found"},{status:404});if(!o.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let l=a.getSiteDatabaseForAnalytics(r);if(!l)return i.NextResponse.json({error:"Site database not available"},{status:500});let p=l.getRecentLogs(s),c=l.listFunctions(),f=Object.fromEntries(c.map(e=>[e.id,e.name])),g=p.map(e=>({...e,functionName:f[e.functionId]||"Unknown"}));return i.NextResponse.json({logs:g})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Database API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e,{params:t}){try{await (0,u.oC)();let{id:r}=await t,{searchParams:n}=new URL(e.url),s=n.get("functionId")||void 0,a=(0,d.q)();await a.init();let o=await a.getSite?.(r);if(!o)return i.NextResponse.json({error:"Site not found"},{status:404});if(!o.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let l=a.getSiteDatabaseForAnalytics(r);if(!l)return i.NextResponse.json({error:"Site database not available"},{status:500});return l.clearFunctionLogs(s),i.NextResponse.json({success:!0})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Database API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let c=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/database/logs/route",pathname:"/api/admin/sites/[id]/database/logs",filename:"route",bundlePath:"app/api/admin/sites/[id]/database/logs/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/logs/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:f,workUnitAsyncStorage:g,serverHooks:m}=c;function x(){return(0,o.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:g})}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(51581));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=9886,a.ids=[9886],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4145:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{DELETE:()=>y,GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{await (0,v.oC)();let{id:c}=await b,{searchParams:d}=new URL(a.url),e=Math.min(parseInt(d.get("limit")||"100"),1e3),f=(0,w.q)();await f.init();let g=await f.getSite?.(c);if(!g)return u.NextResponse.json({error:"Site not found"},{status:404});if(!g.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let h=f.getSiteDatabaseForAnalytics(c);if(!h)return u.NextResponse.json({error:"Site database not available"},{status:500});let i=h.getRecentLogs(e),j=h.listFunctions(),k=Object.fromEntries(j.map(a=>[a.id,a.name])),l=i.map(a=>({...a,functionName:k[a.functionId]||"Unknown"}));return u.NextResponse.json({logs:l})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Database API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}async function y(a,{params:b}){try{await (0,v.oC)();let{id:c}=await b,{searchParams:d}=new URL(a.url),e=d.get("functionId")||void 0,f=(0,w.q)();await f.init();let g=await f.getSite?.(c);if(!g)return u.NextResponse.json({error:"Site not found"},{status:404});if(!g.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let h=f.getSiteDatabaseForAnalytics(c);if(!h)return u.NextResponse.json({error:"Site database not available"},{status:500});return h.clearFunctionLogs(e),u.NextResponse.json({success:!0})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Database API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/database/logs/route",pathname:"/api/admin/sites/[id]/database/logs",filename:"route",bundlePath:"app/api/admin/sites/[id]/database/logs/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/logs/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){var d;let e="/api/admin/sites/[id]/database/logs/route";"/index"===e&&(e="/");let g=await z.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||z.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===z.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>z.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>z.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=4145));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/logs/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/database/logs/route.js.nft.json index 1dd16c0c630e1891a6b1648c48193fe32bf26f62..1029ab8a3d9e801f59b6a34f4723550c6e1225fe 100644 --- a/.next/server/app/api/admin/sites/[id]/database/logs/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/database/logs/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/1692.js","../../../../../../../chunks/4586.js","../../../../../../../chunks/6151.js","../../../../../../../chunks/726.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/logs/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/database/logs/route_client-reference-manifest.js index 12a32d0e1123368bd7799d184d3512b8ca3fe997..2c374159eb83f52a823a3b71c78a09000d608f10 100644 --- a/.next/server/app/api/admin/sites/[id]/database/logs/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/database/logs/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/logs/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/logs/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/query/route.js b/.next/server/app/api/admin/sites/[id]/database/query/route.js index cd9f6c69c144c09b6aa551185156b52ad317ffaf..93ccd447ea7c021c052645d34bc516e69782fa8e 100644 --- a/.next/server/app/api/admin/sites/[id]/database/query/route.js +++ b/.next/server/app/api/admin/sites/[id]/database/query/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9053,e.ids=[9053],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let s={randomUUID:n.randomUUID},a=new Uint8Array(256),o=a.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>a.length-16&&((0,n.randomFillSync)(a),o=0),a.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},23998:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>w,routeModule:()=>p,serverHooks:()=>x,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>f});var n={};r.r(n),r.d(n,{POST:()=>l});var s=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613),d=r(30417);async function l(e,{params:t}){try{await (0,u.oC)();let{id:r}=await t,{sql:n}=await e.json();if(!n||"string"!=typeof n)return i.NextResponse.json({error:"SQL query is required"},{status:400});let s=(0,d.q)();await s.init();let a=await s.getSite?.(r);if(!a)return i.NextResponse.json({error:"Site not found"},{status:404});if(!a.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let o=s.getSiteDatabaseForAnalytics(r);if(!o)return i.NextResponse.json({error:"Site database not available"},{status:500});try{let e=o.executeRawSQL(n);return i.NextResponse.json({success:!0,columns:e.columns,rows:e.rows,rowsAffected:e.rowsAffected})}catch(t){let e=t instanceof Error?t.message:"Query failed";return i.NextResponse.json({error:e},{status:400})}}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Database API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let p=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/database/query/route",pathname:"/api/admin/sites/[id]/database/query",filename:"route",bundlePath:"app/api/admin/sites/[id]/database/query/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/query/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:f,serverHooks:x}=p;function w(){return(0,o.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:f})}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>c});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function c(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(23998));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=9053,a.ids=[9053],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49946:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{await (0,v.oC)();let{id:c}=await b,{sql:d}=await a.json();if(!d||"string"!=typeof d)return u.NextResponse.json({error:"SQL query is required"},{status:400});let e=(0,w.q)();await e.init();let f=await e.getSite?.(c);if(!f)return u.NextResponse.json({error:"Site not found"},{status:404});if(!f.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let g=e.getSiteDatabaseForAnalytics(c);if(!g)return u.NextResponse.json({error:"Site database not available"},{status:500});try{let a=g.executeRawSQL(d);return u.NextResponse.json({success:!0,columns:a.columns,rows:a.rows,rowsAffected:a.rowsAffected})}catch(b){let a=b instanceof Error?b.message:"Query failed";return u.NextResponse.json({error:a},{status:400})}}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Database API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/database/query/route",pathname:"/api/admin/sites/[id]/database/query",filename:"route",bundlePath:"app/api/admin/sites/[id]/database/query/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/query/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/admin/sites/[id]/database/query/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=49946));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/query/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/database/query/route.js.nft.json index 1dd16c0c630e1891a6b1648c48193fe32bf26f62..1029ab8a3d9e801f59b6a34f4723550c6e1225fe 100644 --- a/.next/server/app/api/admin/sites/[id]/database/query/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/database/query/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/1692.js","../../../../../../../chunks/4586.js","../../../../../../../chunks/6151.js","../../../../../../../chunks/726.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/query/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/database/query/route_client-reference-manifest.js index 2eed7ef45d70a872abb81051774d654030d7b5b5..dfdc4116cc313fa1612db0e5bcf906c6e917e7a2 100644 --- a/.next/server/app/api/admin/sites/[id]/database/query/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/database/query/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/query/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/query/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/query/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/query/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/schema/route.js b/.next/server/app/api/admin/sites/[id]/database/schema/route.js index ec2102fe34d436c393db25494068acbc6a93a5b0..4c135cd2d363131bb928ce4adb7a8ff1ef0a4846 100644 --- a/.next/server/app/api/admin/sites/[id]/database/schema/route.js +++ b/.next/server/app/api/admin/sites/[id]/database/schema/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2202,e.ids=[2202],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let a={randomUUID:n.randomUUID},s=new Uint8Array(256),o=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>s.length-16&&((0,n.randomFillSync)(s),o=0),s.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>c});var n=r(87806),a=r(77412),s=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let a=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(a)}async function d(e){try{let t=i(),{payload:r}=await (0,a.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,s.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,s.UL)()).delete(o)}async function c(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},89629:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>x,routeModule:()=>p,serverHooks:()=>f,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>m});var n={};r.r(n),r.d(n,{GET:()=>l});var a=r(96559),s=r(48088),o=r(37719),i=r(32190),u=r(50613),d=r(30417);async function l(e,{params:t}){try{await (0,u.oC)();let{id:e}=await t,r=(0,d.q)();await r.init();let n=await r.getSite?.(e);if(!n)return i.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let a=r.getSiteDatabaseForAnalytics(e);if(!a)return i.NextResponse.json({error:"Site database not available"},{status:500});let s=a.getTableSchema();return i.NextResponse.json({tables:s})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Database API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let p=new a.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/database/schema/route",pathname:"/api/admin/sites/[id]/database/schema",filename:"route",bundlePath:"app/api/admin/sites/[id]/database/schema/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/schema/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:m,serverHooks:f}=p;function x(){return(0,o.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:m})}}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(89629));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=2202,a.ids=[2202],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},43926:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{await (0,v.oC)();let{id:a}=await b,c=(0,w.q)();await c.init();let d=await c.getSite?.(a);if(!d)return u.NextResponse.json({error:"Site not found"},{status:404});if(!d.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let e=c.getSiteDatabaseForAnalytics(a);if(!e)return u.NextResponse.json({error:"Site database not available"},{status:500});let f=e.getTableSchema();return u.NextResponse.json({tables:f})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Database API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/database/schema/route",pathname:"/api/admin/sites/[id]/database/schema",filename:"route",bundlePath:"app/api/admin/sites/[id]/database/schema/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/schema/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/admin/sites/[id]/database/schema/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=43926));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/schema/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/database/schema/route.js.nft.json index 1dd16c0c630e1891a6b1648c48193fe32bf26f62..1029ab8a3d9e801f59b6a34f4723550c6e1225fe 100644 --- a/.next/server/app/api/admin/sites/[id]/database/schema/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/database/schema/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/1692.js","../../../../../../../chunks/4586.js","../../../../../../../chunks/6151.js","../../../../../../../chunks/726.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/database/schema/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/database/schema/route_client-reference-manifest.js index b6e686b9b31540265637680b4bc5289bb089ce61..197584805eeb43490f7b0798f8e29be66d5a3616 100644 --- a/.next/server/app/api/admin/sites/[id]/database/schema/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/database/schema/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/schema/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/schema/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/database/schema/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/database/schema/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js index 0406e671bf9142d348f30e2a61b5666ed60de261..25a78f13cf880fc5246252276c36f44f2f841726 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=530,e.ids=[530],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4696:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>x,routeModule:()=>p,serverHooks:()=>g,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>f});var n={};r.r(n),r.d(n,{GET:()=>l});var o=r(96559),s=r(48088),i=r(37719),a=r(32190),u=r(50613),d=r(30417);async function l(e,{params:t}){try{await (0,u.oC)();let{id:r,functionId:n}=await t,{searchParams:o}=new URL(e.url),s=Math.min(parseInt(o.get("limit")||"100"),1e3),i=(0,d.q)();await i.init();let l=await i.getSite?.(r);if(!l)return a.NextResponse.json({error:"Site not found"},{status:404});if(!l.databaseEnabled)return a.NextResponse.json({error:"Site database not enabled"},{status:400});let p=i.getSiteDatabaseForAnalytics(r);if(!p)return a.NextResponse.json({error:"Site database not available"},{status:500});if(!p.getFunction(n))return a.NextResponse.json({error:"Function not found"},{status:404});let c=p.getFunctionLogs(n,s);return a.NextResponse.json({logs:c})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return a.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),a.NextResponse.json({error:"Internal server error"},{status:500})}}let p=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/[functionId]/logs/route",pathname:"/api/admin/sites/[id]/functions/[functionId]/logs",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/[functionId]/logs/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/logs/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:f,serverHooks:g}=p;function x(){return(0,i.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:f})}},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let o={randomUUID:n.randomUUID},s=new Uint8Array(256),i=s.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(o.randomUUID&&!t&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(i>s.length-16&&((0,n.randomFillSync)(s),i=0),s.slice(i,i+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>c});var n=r(87806),o=r(77412),s=r(44999);let i="osw_session";function a(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let o=a(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(o)}async function d(e){try{let t=a(),{payload:r}=await (0,o.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,s.UL)(),t=e.get(i)?.value;return t?d(t):null}async function p(){(await (0,s.UL)()).delete(i)}async function c(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(4696));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=530,a.ids=[530],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48010:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{await (0,v.oC)();let{id:c,functionId:d}=await b,{searchParams:e}=new URL(a.url),f=Math.min(parseInt(e.get("limit")||"100"),1e3),g=(0,w.q)();await g.init();let h=await g.getSite?.(c);if(!h)return u.NextResponse.json({error:"Site not found"},{status:404});if(!h.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let i=g.getSiteDatabaseForAnalytics(c);if(!i)return u.NextResponse.json({error:"Site database not available"},{status:500});if(!i.getFunction(d))return u.NextResponse.json({error:"Function not found"},{status:404});let j=i.getFunctionLogs(d,f);return u.NextResponse.json({logs:j})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/[functionId]/logs/route",pathname:"/api/admin/sites/[id]/functions/[functionId]/logs",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/[functionId]/logs/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/logs/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/admin/sites/[id]/functions/[functionId]/logs/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=48010));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js.nft.json index 2c2ef45e0f2b2647239f4cdda3fbbfd2f9b50a60..2bd7394b6013c8fcb6bc6db85f91172ae3123c65 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../../data/osws.sqlite","../../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../../node_modules/next/package.json","../../../../../../../../../../package.json","../../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../../package.json","../../../../../../../../chunks/4447.js","../../../../../../../../chunks/5155.js","../../../../../../../../chunks/580.js","../../../../../../../../chunks/9709.js","../../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../../data/osws.sqlite","../../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../../node_modules/next/package.json","../../../../../../../../../../package.json","../../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../../package.json","../../../../../../../../chunks/1692.js","../../../../../../../../chunks/4586.js","../../../../../../../../chunks/6151.js","../../../../../../../../chunks/726.js","../../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route_client-reference-manifest.js index 74b8846f8168b742d675de5433ee8c0ea4047baa..1ca67a7b82b45b4466d1e2ebae5d3dcdcce9a39e 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/logs/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/[functionId]/logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/logs/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/[functionId]/logs/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/logs/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js index a82f129b337330ab74ab57bbf129c99293c9b8d2..e4314f092d6e51d5e8245c3c8269f637c71cb189 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6560,e.ids=[6560],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16801:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{patchFetch:()=>d,routeModule:()=>c,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>l});var s=r(96559),o=r(48088),a=r(37719),i=r(92781),u=e([i]);i=(u.then?(await u)():u)[0];let c=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/[functionId]/route",pathname:"/api/admin/sites/[id]/functions/[functionId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/[functionId]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:p,workUnitAsyncStorage:l,serverHooks:f}=c;function d(){return(0,a.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:l})}n()}catch(e){n(e)}})},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?d(t):null}async function p(){(await (0,o.UL)()).delete(a)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},92781:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{DELETE:()=>p,GET:()=>d,PUT:()=>c});var s=r(32190),o=r(50613),a=r(30417),i=r(3149),u=e([i]);async function d(e,{params:t}){try{await (0,o.oC)();let{id:e,functionId:r}=await t,n=(0,a.q)();await n.init();let i=await n.getSite?.(e);if(!i)return s.NextResponse.json({error:"Site not found"},{status:404});if(!i.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let u=n.getSiteDatabaseForAnalytics(e);if(!u)return s.NextResponse.json({error:"Site database not available"},{status:500});let d=u.getFunction(r);if(!d)return s.NextResponse.json({error:"Function not found"},{status:404});return s.NextResponse.json({function:d})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function c(e,{params:t}){try{await (0,o.oC)();let{id:r,functionId:n}=await t,u=await e.json(),d=(0,a.q)();await d.init();let c=await d.getSite?.(r);if(!c)return s.NextResponse.json({error:"Site not found"},{status:404});if(!c.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let p=d.getSiteDatabaseForAnalytics(r);if(!p)return s.NextResponse.json({error:"Site database not available"},{status:500});let l=p.getFunction(n);if(!l)return s.NextResponse.json({error:"Function not found"},{status:404});let f={};if(void 0!==u.name&&u.name!==l.name){let e=(0,i.QH)(u.name);if(e)return s.NextResponse.json({error:e},{status:400});let t=p.getFunctionByName(u.name);if(t&&t.id!==n)return s.NextResponse.json({error:"A function with this name already exists"},{status:409});f.name=u.name}if(void 0!==u.code){let e=(0,i.c2)(u.code);if(e)return s.NextResponse.json({error:e},{status:400});f.code=u.code}if(void 0!==u.description&&(f.description=u.description),void 0!==u.method){if(!["GET","POST","PUT","DELETE","ANY"].includes(u.method))return s.NextResponse.json({error:"Invalid HTTP method"},{status:400});f.method=u.method}void 0!==u.enabled&&(f.enabled=u.enabled),void 0!==u.timeoutMs&&(f.timeoutMs=Math.min(Math.max(u.timeoutMs,1e3),3e4)),Object.keys(f).length>0&&p.updateFunction(n,f);let x=p.getFunction(n);return s.NextResponse.json({function:x})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e,{params:t}){try{await (0,o.oC)();let{id:e,functionId:r}=await t,n=(0,a.q)();await n.init();let i=await n.getSite?.(e);if(!i)return s.NextResponse.json({error:"Site not found"},{status:404});if(!i.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let u=n.getSiteDatabaseForAnalytics(e);if(!u)return s.NextResponse.json({error:"Site database not available"},{status:500});if(!u.getFunction(r))return s.NextResponse.json({error:"Function not found"},{status:404});return u.deleteFunction(r),s.NextResponse.json({success:!0})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,8274],()=>r(16801));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=6560,a.ids=[6560],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:a=>{a.exports=import("quickjs-emscripten-core")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:a=>{a.exports=import("@jitl/quickjs-wasmfile-release-sync")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44426:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{DELETE:()=>l,GET:()=>j,PUT:()=>k});var e=c(10641),f=c(39588),g=c(97778),h=c(19958),i=a([h]);async function j(a,{params:b}){try{await (0,f.oC)();let{id:a,functionId:c}=await b,d=(0,g.q)();await d.init();let h=await d.getSite?.(a);if(!h)return e.NextResponse.json({error:"Site not found"},{status:404});if(!h.databaseEnabled)return e.NextResponse.json({error:"Site database not enabled"},{status:400});let i=d.getSiteDatabaseForAnalytics(a);if(!i)return e.NextResponse.json({error:"Site database not available"},{status:500});let j=i.getFunction(c);if(!j)return e.NextResponse.json({error:"Function not found"},{status:404});return e.NextResponse.json({function:j})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}async function k(a,{params:b}){try{await (0,f.oC)();let{id:c,functionId:d}=await b,i=await a.json(),j=(0,g.q)();await j.init();let k=await j.getSite?.(c);if(!k)return e.NextResponse.json({error:"Site not found"},{status:404});if(!k.databaseEnabled)return e.NextResponse.json({error:"Site database not enabled"},{status:400});let l=j.getSiteDatabaseForAnalytics(c);if(!l)return e.NextResponse.json({error:"Site database not available"},{status:500});let m=l.getFunction(d);if(!m)return e.NextResponse.json({error:"Function not found"},{status:404});let n={};if(void 0!==i.name&&i.name!==m.name){let a=(0,h.QH)(i.name);if(a)return e.NextResponse.json({error:a},{status:400});let b=l.getFunctionByName(i.name);if(b&&b.id!==d)return e.NextResponse.json({error:"A function with this name already exists"},{status:409});n.name=i.name}if(void 0!==i.code){let a=(0,h.c2)(i.code);if(a)return e.NextResponse.json({error:a},{status:400});n.code=i.code}if(void 0!==i.description&&(n.description=i.description),void 0!==i.method){if(!["GET","POST","PUT","DELETE","ANY"].includes(i.method))return e.NextResponse.json({error:"Invalid HTTP method"},{status:400});n.method=i.method}void 0!==i.enabled&&(n.enabled=i.enabled),void 0!==i.timeoutMs&&(n.timeoutMs=Math.min(Math.max(i.timeoutMs,1e3),3e4)),Object.keys(n).length>0&&l.updateFunction(d,n);let o=l.getFunction(d);return e.NextResponse.json({function:o})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}async function l(a,{params:b}){try{await (0,f.oC)();let{id:a,functionId:c}=await b,d=(0,g.q)();await d.init();let h=await d.getSite?.(a);if(!h)return e.NextResponse.json({error:"Site not found"},{status:404});if(!h.databaseEnabled)return e.NextResponse.json({error:"Site database not enabled"},{status:400});let i=d.getSiteDatabaseForAnalytics(a);if(!i)return e.NextResponse.json({error:"Site database not available"},{status:500});if(!i.getFunction(c))return e.NextResponse.json({error:"Function not found"},{status:404});return i.deleteFunction(c),e.NextResponse.json({success:!0})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}h=(i.then?(await i)():i)[0],d()}catch(a){d(a)}})},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},83188:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>x,patchFetch:()=>w,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(44426),v=a([u]);u=(v.then?(await v)():v)[0];let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/[functionId]/route",pathname:"/api/admin/sites/[id]/functions/[functionId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/[functionId]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route.ts",nextConfigOutput:"standalone",userland:u}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function w(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function x(a,b,c){var d;let e="/api/admin/sites/[id]/functions/[functionId]/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G=D,G="/index"===G?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726,3543],()=>b(b.s=83188));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js.nft.json index 818c46920b17a4f5d2344f04f5b9408ec0d670a8..b15d5ee8dccceda48af9d667512ebb83bf714d32 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/8274.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/1692.js","../../../../../../../chunks/3543.js","../../../../../../../chunks/4586.js","../../../../../../../chunks/6151.js","../../../../../../../chunks/726.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route_client-reference-manifest.js index e643040a06638ca6c4bad0f959bd3a941482806c..74cd07dbfd2048312fd9b1dae21544a04a0024ea 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/functions/[functionId]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/[functionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/[functionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/[functionId]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/route.js b/.next/server/app/api/admin/sites/[id]/functions/route.js index be12f3a5b7cb59111a4d754f8ec8c065be0546f8..1f6e2558355f6a3cff685b4df1256d19f9bc65cc 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/route.js +++ b/.next/server/app/api/admin/sites/[id]/functions/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5646,e.ids=[5646],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33087:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{patchFetch:()=>d,routeModule:()=>c,serverHooks:()=>x,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>l});var s=r(96559),a=r(48088),o=r(37719),i=r(81315),u=e([i]);i=(u.then?(await u)():u)[0];let c=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/route",pathname:"/api/admin/sites/[id]/functions",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:p,workUnitAsyncStorage:l,serverHooks:x}=c;function d(){return(0,o.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:l})}n()}catch(e){n(e)}})},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},81315:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{GET:()=>d,POST:()=>c});var s=r(32190),a=r(50613),o=r(30417),i=r(3149),u=e([i]);async function d(e,{params:t}){try{await (0,a.oC)();let{id:e}=await t,r=(0,o.q)();await r.init();let n=await r.getSite?.(e);if(!n)return s.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let i=r.getSiteDatabaseForAnalytics(e);if(!i)return s.NextResponse.json({error:"Site database not available"},{status:500});let u=i.listFunctions();return s.NextResponse.json({functions:u})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function c(e,{params:t}){try{await (0,a.oC)();let{id:r}=await t,n=await e.json();if(!n.name)return s.NextResponse.json({error:"Function name is required"},{status:400});if(!n.code)return s.NextResponse.json({error:"Function code is required"},{status:400});let u=(0,i.QH)(n.name);if(u)return s.NextResponse.json({error:u},{status:400});let d=(0,i.c2)(n.code);if(d)return s.NextResponse.json({error:d},{status:400});let c=n.method||"ANY";if(!["GET","POST","PUT","DELETE","ANY"].includes(c))return s.NextResponse.json({error:"Invalid HTTP method"},{status:400});let p=Math.min(Math.max(n.timeoutMs||5e3,1e3),3e4),l=(0,o.q)();await l.init();let x=await l.getSite?.(r);if(!x)return s.NextResponse.json({error:"Site not found"},{status:404});x.databaseEnabled||(x.databaseEnabled=!0,await l.enableSiteDatabase(r),await l.updateSite?.(x));let f=l.getSiteDatabaseForAnalytics(r);if(!f)return s.NextResponse.json({error:"Site database not available"},{status:500});if(f.getFunctionByName(n.name))return s.NextResponse.json({error:"A function with this name already exists"},{status:409});let m=f.createFunction({name:n.name,description:n.description||void 0,code:n.code,method:c,enabled:!1!==n.enabled,timeoutMs:p}),w=f.getFunction(m);return s.NextResponse.json({function:w},{status:201})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,8274],()=>r(33087));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=5646,a.ids=[5646],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:a=>{a.exports=import("quickjs-emscripten-core")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11266:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>j,POST:()=>k});var e=c(10641),f=c(39588),g=c(97778),h=c(19958),i=a([h]);async function j(a,{params:b}){try{await (0,f.oC)();let{id:a}=await b,c=(0,g.q)();await c.init();let d=await c.getSite?.(a);if(!d)return e.NextResponse.json({error:"Site not found"},{status:404});if(!d.databaseEnabled)return e.NextResponse.json({error:"Site database not enabled"},{status:400});let h=c.getSiteDatabaseForAnalytics(a);if(!h)return e.NextResponse.json({error:"Site database not available"},{status:500});let i=h.listFunctions();return e.NextResponse.json({functions:i})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}async function k(a,{params:b}){try{await (0,f.oC)();let{id:c}=await b,d=await a.json();if(!d.name)return e.NextResponse.json({error:"Function name is required"},{status:400});if(!d.code)return e.NextResponse.json({error:"Function code is required"},{status:400});let i=(0,h.QH)(d.name);if(i)return e.NextResponse.json({error:i},{status:400});let j=(0,h.c2)(d.code);if(j)return e.NextResponse.json({error:j},{status:400});let k=d.method||"ANY";if(!["GET","POST","PUT","DELETE","ANY"].includes(k))return e.NextResponse.json({error:"Invalid HTTP method"},{status:400});let l=Math.min(Math.max(d.timeoutMs||5e3,1e3),3e4),m=(0,g.q)();await m.init();let n=await m.getSite?.(c);if(!n)return e.NextResponse.json({error:"Site not found"},{status:404});n.databaseEnabled||(n.databaseEnabled=!0,await m.enableSiteDatabase(c),await m.updateSite?.(n));let o=m.getSiteDatabaseForAnalytics(c);if(!o)return e.NextResponse.json({error:"Site database not available"},{status:500});if(o.getFunctionByName(d.name))return e.NextResponse.json({error:"A function with this name already exists"},{status:409});let p=o.createFunction({name:d.name,description:d.description||void 0,code:d.code,method:k,enabled:!1!==d.enabled,timeoutMs:l}),q=o.getFunction(p);return e.NextResponse.json({function:q},{status:201})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}h=(i.then?(await i)():i)[0],d()}catch(a){d(a)}})},17915:a=>{a.exports=import("@jitl/quickjs-wasmfile-release-sync")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71370:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>x,patchFetch:()=>w,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(11266),v=a([u]);u=(v.then?(await v)():v)[0];let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/functions/route",pathname:"/api/admin/sites/[id]/functions",filename:"route",bundlePath:"app/api/admin/sites/[id]/functions/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route.ts",nextConfigOutput:"standalone",userland:u}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function w(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function x(a,b,c){var d;let e="/api/admin/sites/[id]/functions/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G=D,G="/index"===G?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726,3543],()=>b(b.s=71370));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/functions/route.js.nft.json index 61412027cd8ff8c2c39e676c7a0d2eeec53e8e55..5f91d1805adb75097532cad6ae95104f6a62d4b1 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/functions/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/8274.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/1692.js","../../../../../../chunks/3543.js","../../../../../../chunks/4586.js","../../../../../../chunks/6151.js","../../../../../../chunks/726.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/functions/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/functions/route_client-reference-manifest.js index c5ca92c15d5b3e534b45c863a1b7aec20f275d12..6e36b7f0f2a8f9187b5164697f8646771e84b043 100644 --- a/.next/server/app/api/admin/sites/[id]/functions/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/functions/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/functions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/functions/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js index 991e546df325633afb8f8841e29ce02422c7afa1..60ceff81db38b6f6174c4c59d7628db08940990e 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js +++ b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5940,e.ids=[5940],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(55511);let n={randomUUID:s.randomUUID},a=new Uint8Array(256),o=a.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(n.randomUUID&&!t&&!e)return n.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>a.length-16&&((0,s.randomFillSync)(a),o=0),a.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>c,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>p});var s=r(87806),n=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let n=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new s.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(n)}async function d(e){try{let t=i(),{payload:r}=await (0,n.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function c(){(await (0,a.UL)()).delete(o)}async function p(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},99661:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>w,routeModule:()=>S,serverHooks:()=>g,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>x});var s={};r.r(s),r.d(s,{DELETE:()=>f,GET:()=>c,PUT:()=>p});var n=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613),d=r(30417),l=r(2573);async function c(e,{params:t}){try{await (0,u.oC)();let{id:e,secretId:r}=await t,s=(0,d.q)();await s.init();let n=await s.getSite?.(e);if(!n)return i.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let a=s.getSiteDatabaseForAnalytics(e);if(!a)return i.NextResponse.json({error:"Site database not available"},{status:500});let o=a.getSecret(r);if(!o)return i.NextResponse.json({error:"Secret not found"},{status:404});return i.NextResponse.json({secret:o})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e,{params:t}){try{await (0,u.oC)();let{id:s,secretId:n}=await t,a=await e.json(),o=(0,d.q)();await o.init();let c=await o.getSite?.(s);if(!c)return i.NextResponse.json({error:"Site not found"},{status:404});if(!c.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let p=o.getSiteDatabaseForAnalytics(s);if(!p)return i.NextResponse.json({error:"Site database not available"},{status:500});let f=p.getSecret(n);if(!f)return i.NextResponse.json({error:"Secret not found"},{status:404});if(void 0!==a.value&&""!==a.value){if(!(0,l.yg)())return i.NextResponse.json({error:"Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable."},{status:500});p.updateSecretValue(n,a.value)}let S={};if(void 0!==a.name&&a.name!==f.name){var r;let e=(r=a.name)&&0!==r.trim().length?r.length>64?"Secret name must be 64 characters or less":/^[A-Z][A-Z0-9_]*$/.test(r)?null:"Secret name must be SCREAMING_SNAKE_CASE (uppercase letters, numbers, underscores; must start with letter)":"Secret name is required";if(e)return i.NextResponse.json({error:e},{status:400});let t=p.getSecretByName(a.name);if(t&&t.id!==n)return i.NextResponse.json({error:"A secret with this name already exists"},{status:409});S.name=a.name}void 0!==a.description&&(S.description=a.description),Object.keys(S).length>0&&p.updateSecretMetadata(n,S);let m=p.getSecret(n);return i.NextResponse.json({secret:m})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function f(e,{params:t}){try{await (0,u.oC)();let{id:e,secretId:r}=await t,s=(0,d.q)();await s.init();let n=await s.getSite?.(e);if(!n)return i.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let a=s.getSiteDatabaseForAnalytics(e);if(!a)return i.NextResponse.json({error:"Site database not available"},{status:500});if(!a.getSecret(r))return i.NextResponse.json({error:"Secret not found"},{status:404});return a.deleteSecret(r),i.NextResponse.json({success:!0})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let S=new n.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/secrets/[secretId]/route",pathname:"/api/admin/sites/[id]/secrets/[secretId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/secrets/[secretId]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/[secretId]/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:m,workUnitAsyncStorage:x,serverHooks:g}=S;function w(){return(0,o.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:x})}}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,5155,9709],()=>r(99661));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=5940,a.ids=[5940],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},28478:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{DELETE:()=>A,GET:()=>y,PUT:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778),x=c(75794);async function y(a,{params:b}){try{await (0,v.oC)();let{id:a,secretId:c}=await b,d=(0,w.q)();await d.init();let e=await d.getSite?.(a);if(!e)return u.NextResponse.json({error:"Site not found"},{status:404});if(!e.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let f=d.getSiteDatabaseForAnalytics(a);if(!f)return u.NextResponse.json({error:"Site database not available"},{status:500});let g=f.getSecret(c);if(!g)return u.NextResponse.json({error:"Secret not found"},{status:404});return u.NextResponse.json({secret:g})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}async function z(a,{params:b}){try{await (0,v.oC)();let{id:d,secretId:e}=await b,f=await a.json(),g=(0,w.q)();await g.init();let h=await g.getSite?.(d);if(!h)return u.NextResponse.json({error:"Site not found"},{status:404});if(!h.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let i=g.getSiteDatabaseForAnalytics(d);if(!i)return u.NextResponse.json({error:"Site database not available"},{status:500});let j=i.getSecret(e);if(!j)return u.NextResponse.json({error:"Secret not found"},{status:404});if(void 0!==f.value&&""!==f.value){if(!(0,x.yg)())return u.NextResponse.json({error:"Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable."},{status:500});i.updateSecretValue(e,f.value)}let k={};if(void 0!==f.name&&f.name!==j.name){var c;let a=(c=f.name)&&0!==c.trim().length?c.length>64?"Secret name must be 64 characters or less":/^[A-Z][A-Z0-9_]*$/.test(c)?null:"Secret name must be SCREAMING_SNAKE_CASE (uppercase letters, numbers, underscores; must start with letter)":"Secret name is required";if(a)return u.NextResponse.json({error:a},{status:400});let b=i.getSecretByName(f.name);if(b&&b.id!==e)return u.NextResponse.json({error:"A secret with this name already exists"},{status:409});k.name=f.name}void 0!==f.description&&(k.description=f.description),Object.keys(k).length>0&&i.updateSecretMetadata(e,k);let l=i.getSecret(e);return u.NextResponse.json({secret:l})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}async function A(a,{params:b}){try{await (0,v.oC)();let{id:a,secretId:c}=await b,d=(0,w.q)();await d.init();let e=await d.getSite?.(a);if(!e)return u.NextResponse.json({error:"Site not found"},{status:404});if(!e.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let f=d.getSiteDatabaseForAnalytics(a);if(!f)return u.NextResponse.json({error:"Site database not available"},{status:500});if(!f.getSecret(c))return u.NextResponse.json({error:"Secret not found"},{status:404});return f.deleteSecret(c),u.NextResponse.json({success:!0})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/secrets/[secretId]/route",pathname:"/api/admin/sites/[id]/secrets/[secretId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/secrets/[secretId]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/[secretId]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){var d;let e="/api/admin/sites/[id]/secrets/[secretId]/route";"/index"===e&&(e="/");let g=await B.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||B.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===B.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>B.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>B.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=28478));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js.nft.json index 1dd16c0c630e1891a6b1648c48193fe32bf26f62..1029ab8a3d9e801f59b6a34f4723550c6e1225fe 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/1692.js","../../../../../../../chunks/4586.js","../../../../../../../chunks/6151.js","../../../../../../../chunks/726.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route_client-reference-manifest.js index e360baafd2707141be8c43d931188fb5696df920..86c053fba45485c80c855d94e4d624fcaa72c9b7 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/secrets/[secretId]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/secrets/[secretId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/[secretId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/secrets/[secretId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/[secretId]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/route.js b/.next/server/app/api/admin/sites/[id]/secrets/route.js index 6624cb893c3305b01ed45670c21e382b3672339a..6b12316998f7f885cb38ef516ab78e6f1c44d52d 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/route.js +++ b/.next/server/app/api/admin/sites/[id]/secrets/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=134,e.ids=[134],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},20985:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>g,routeModule:()=>m,serverHooks:()=>x,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>S});var s={};r.r(s),r.d(s,{GET:()=>c,POST:()=>p});var n=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613),d=r(30417),l=r(2573);async function c(e,{params:t}){try{await (0,u.oC)();let{id:e}=await t,r=(0,d.q)();await r.init();let s=await r.getSite?.(e);if(!s)return i.NextResponse.json({error:"Site not found"},{status:404});if(!s.databaseEnabled)return i.NextResponse.json({error:"Site database not enabled"},{status:400});let n=r.getSiteDatabaseForAnalytics(e);if(!n)return i.NextResponse.json({error:"Site database not available"},{status:500});let a=n.listSecrets();return i.NextResponse.json({secrets:a,encryptionConfigured:(0,l.yg)()})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e,{params:t}){try{var r;await (0,u.oC)();let{id:s}=await t,n=await e.json();if(!(0,l.yg)())return i.NextResponse.json({error:"Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable."},{status:500});if(!n.name)return i.NextResponse.json({error:"Secret name is required"},{status:400});if(!n.value)return i.NextResponse.json({error:"Secret value is required"},{status:400});let a=(r=n.name)&&0!==r.trim().length?r.length>64?"Secret name must be 64 characters or less":/^[A-Z][A-Z0-9_]*$/.test(r)?null:"Secret name must be SCREAMING_SNAKE_CASE (uppercase letters, numbers, underscores; must start with letter)":"Secret name is required";if(a)return i.NextResponse.json({error:a},{status:400});let o=(0,d.q)();await o.init();let c=await o.getSite?.(s);if(!c)return i.NextResponse.json({error:"Site not found"},{status:404});c.databaseEnabled||(c.databaseEnabled=!0,await o.enableSiteDatabase(s),await o.updateSite?.(c));let p=o.getSiteDatabaseForAnalytics(s);if(!p)return i.NextResponse.json({error:"Site database not available"},{status:500});if(p.getSecretByName(n.name))return i.NextResponse.json({error:"A secret with this name already exists"},{status:409});let m=p.createSecret(n.name,n.value,n.description||void 0),f=p.getSecret(m);return i.NextResponse.json({secret:f},{status:201})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let m=new n.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/secrets/route",pathname:"/api/admin/sites/[id]/secrets",filename:"route",bundlePath:"app/api/admin/sites/[id]/secrets/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:f,workUnitAsyncStorage:S,serverHooks:x}=m;function g(){return(0,o.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:S})}},23870:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(55511);let n={randomUUID:s.randomUUID},a=new Uint8Array(256),o=a.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(n.randomUUID&&!t&&!e)return n.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>a.length-16&&((0,s.randomFillSync)(a),o=0),a.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>c,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>p});var s=r(87806),n=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let n=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new s.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(n)}async function d(e){try{let t=i(),{payload:r}=await (0,n.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function c(){(await (0,a.UL)()).delete(o)}async function p(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,5155,9709],()=>r(20985));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=134,a.ids=[134],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},34901:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778),x=c(75794);async function y(a,{params:b}){try{await (0,v.oC)();let{id:a}=await b,c=(0,w.q)();await c.init();let d=await c.getSite?.(a);if(!d)return u.NextResponse.json({error:"Site not found"},{status:404});if(!d.databaseEnabled)return u.NextResponse.json({error:"Site database not enabled"},{status:400});let e=c.getSiteDatabaseForAnalytics(a);if(!e)return u.NextResponse.json({error:"Site database not available"},{status:500});let f=e.listSecrets();return u.NextResponse.json({secrets:f,encryptionConfigured:(0,x.yg)()})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}async function z(a,{params:b}){try{var c;await (0,v.oC)();let{id:d}=await b,e=await a.json();if(!(0,x.yg)())return u.NextResponse.json({error:"Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable."},{status:500});if(!e.name)return u.NextResponse.json({error:"Secret name is required"},{status:400});if(!e.value)return u.NextResponse.json({error:"Secret value is required"},{status:400});let f=(c=e.name)&&0!==c.trim().length?c.length>64?"Secret name must be 64 characters or less":/^[A-Z][A-Z0-9_]*$/.test(c)?null:"Secret name must be SCREAMING_SNAKE_CASE (uppercase letters, numbers, underscores; must start with letter)":"Secret name is required";if(f)return u.NextResponse.json({error:f},{status:400});let g=(0,w.q)();await g.init();let h=await g.getSite?.(d);if(!h)return u.NextResponse.json({error:"Site not found"},{status:404});h.databaseEnabled||(h.databaseEnabled=!0,await g.enableSiteDatabase(d),await g.updateSite?.(h));let i=g.getSiteDatabaseForAnalytics(d);if(!i)return u.NextResponse.json({error:"Site database not available"},{status:500});if(i.getSecretByName(e.name))return u.NextResponse.json({error:"A secret with this name already exists"},{status:409});let j=i.createSecret(e.name,e.value,e.description||void 0),k=i.getSecret(j);return u.NextResponse.json({secret:k},{status:201})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Secrets API] Error:",a),u.NextResponse.json({error:"Internal server error"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/secrets/route",pathname:"/api/admin/sites/[id]/secrets",filename:"route",bundlePath:"app/api/admin/sites/[id]/secrets/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/admin/sites/[id]/secrets/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=34901));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/secrets/route.js.nft.json index 4b93122c612d42342417723922e638784d869a9e..a2f881879257a6a6b1387819ac32d223a161b44f 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/secrets/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/1692.js","../../../../../../chunks/4586.js","../../../../../../chunks/6151.js","../../../../../../chunks/726.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/secrets/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/secrets/route_client-reference-manifest.js index 9b2cdb99a5d848174b5d9641d0a43b93dc61f70c..dbfd34ba087219cbbf961007becff928c02ce8f9 100644 --- a/.next/server/app/api/admin/sites/[id]/secrets/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/secrets/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/secrets/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/secrets/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/secrets/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js index 497d908145996890ea50883d3c89952bb57cfcf5..8153ff8a6a339de9746b67e5f95fee6aec446f75 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js +++ b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7061,e.ids=[7061],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,s)=>{s.d(t,{A:()=>u});var r=s(55511);let n={randomUUID:r.randomUUID},o=new Uint8Array(256),i=o.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let u=function(e,t,s){if(n.randomUUID&&!t&&!e)return n.randomUUID();let u=(e=e||{}).random??e.rng?.()??(i>o.length-16&&((0,r.randomFillSync)(o),i=0),o.slice(i,i+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((s=s||0)<0||s+16>t.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[s+e]=u[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},54007:(e,t,s)=>{s.r(t),s.d(t,{patchFetch:()=>h,routeModule:()=>l,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>m});var r={};s.r(r),s.d(r,{POST:()=>d});var n=s(96559),o=s(48088),i=s(37719),a=s(32190),u=s(30417),c=s(78508);async function d(e,t){try{let{id:s}=await t.params,{operation:r,path:n,content:o}=await e.json();if(!n)return a.NextResponse.json({success:!1,error:"Path is required"},{status:400});let i=(0,u.q)();if(await i.init(),!await i.getSite(s))return a.NextResponse.json({success:!1,error:"Site not found"},{status:404});let d=i.getSiteDatabaseForAnalytics(s);if(!d)return a.NextResponse.json({success:!1,error:"Site database not available"},{status:500});if("delete"===r)return function(e,t){if(e.startsWith("/.server/secrets/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getSecretByName(s);return r?(t.deleteSecret(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Secret not found: ${s}`},{status:404})}if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getFunctionByName(s);return r?(t.deleteFunction(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Edge function not found: ${s}`},{status:404})}if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json")){let s=e.split("/").pop().replace(".json",""),r=t.getServerFunctionByName(s);return r?(t.deleteServerFunction(r.id),a.NextResponse.json({success:!0})):a.NextResponse.json({success:!1,error:`Server function not found: ${s}`},{status:404})}return a.NextResponse.json({success:!1,error:`Cannot delete ${e}`},{status:400})}(n,d);if(!o)return a.NextResponse.json({success:!1,error:"Content is required for create/update"},{status:400});if("/.server/db/schema.sql"===n)return a.NextResponse.json({success:!1,error:`Cannot modify ${n} - read-only file`},{status:400});if(n.startsWith("/.server/secrets/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.xJ)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getSecretByName(i);u?s.updateSecretMetadata(u.id,{name:o.name,description:o.description||""}):s.createSecretPlaceholder(o.name,o.description||"");let d=s.getSecretByName(o.name),l=`/.server/secrets/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.e0)(d),isReadOnly:!1}})}(n,o,d);if(n.startsWith("/.server/edge-functions/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.K3)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getFunctionByName(i);u?s.updateFunction(u.id,{name:o.name,code:o.code,method:o.method,description:o.description,enabled:o.enabled??!0,timeoutMs:o.timeoutMs??5e3}):s.createFunction({name:o.name,code:o.code,method:o.method,description:o.description,enabled:o.enabled??!0,timeoutMs:o.timeoutMs??5e3});let d=s.getFunctionByName(o.name),l=`/.server/edge-functions/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.hS)(d),isReadOnly:!1}})}(n,o,d);if(n.startsWith("/.server/server-functions/")&&n.endsWith(".json"))return function(e,t,s){let r;try{r=JSON.parse(t)}catch(t){let e=t instanceof Error?t.message:String(t);return a.NextResponse.json({success:!1,error:`Invalid JSON: ${e}`},{status:400})}let n=(0,c.W8)(r);if(!n.valid)return a.NextResponse.json({success:!1,error:`Validation failed: ${n.errors.join("; ")}`},{status:400});let o=r,i=e.split("/").pop().replace(".json",""),u=s.getServerFunctionByName(i);u?s.updateServerFunction(u.id,{name:o.name,code:o.code,description:o.description,enabled:o.enabled??!0}):s.createServerFunction({name:o.name,code:o.code,description:o.description,enabled:o.enabled??!0});let d=s.getServerFunctionByName(o.name),l=`/.server/server-functions/${o.name}.json`;return a.NextResponse.json({success:!0,file:{path:l,content:(0,c.HI)(d),isReadOnly:!1}})}(n,o,d);return a.NextResponse.json({success:!1,error:`Unrecognized server context path: ${n}`},{status:400})}catch(e){return console.error("[API] Server context mutation failed:",e),a.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Mutation failed"},{status:500})}}let l=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-context/mutate/route",pathname:"/api/admin/sites/[id]/server-context/mutate",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-context/mutate/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/mutate/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:p,workUnitAsyncStorage:m,serverHooks:f}=l;function h(){return(0,i.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:m})}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78508:(e,t,s)=>{function r(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function n(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function o(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}s.d(t,{HI:()=>n,K3:()=>a,W8:()=>u,e0:()=>o,hS:()=>r,xJ:()=>c});let i=["db","fetch","console","args","request","Response","server","secrets","atob","btoa"];function a(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let s=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?s.includes(e.method)||t.push(`Method must be one of: ${s.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(s){let e=s instanceof Error?s.message:String(s);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function u(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?i.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(s){let e=s instanceof Error?s.message:String(s);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function c(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[4447,580,9709],()=>s(54007));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=7061,a.ids=[7061],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64751:(a,b,c)=>{function d(a){return JSON.stringify({name:a.name,method:a.method,description:a.description,enabled:a.enabled,timeoutMs:a.timeoutMs||5e3,code:a.code},null,2)}function e(a){return JSON.stringify({name:a.name,description:a.description,enabled:a.enabled,code:a.code},null,2)}function f(a){return JSON.stringify({name:a.name,description:a.description||void 0,hasValue:a.hasValue},null,2)}c.d(b,{HI:()=>e,K3:()=>h,W8:()=>i,e0:()=>f,hS:()=>d,xJ:()=>j});let g=["db","fetch","console","args","request","Response","server","secrets","atob","btoa"];function h(a){let b=[];if(!a||"object"!=typeof a)return{valid:!1,errors:["Invalid JSON: expected an object"]};a.name&&"string"==typeof a.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(a.name)||b.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):b.push('Missing or invalid "name" field');let c=["GET","POST","PUT","DELETE","ANY"];if(a.method&&"string"==typeof a.method?c.includes(a.method)||b.push(`Method must be one of: ${c.join(", ")}`):b.push('Missing or invalid "method" field'),a.code&&"string"==typeof a.code)try{Function(a.code)}catch(c){let a=c instanceof Error?c.message:String(c);b.push(`JavaScript syntax error: ${a}`)}else b.push('Missing or invalid "code" field');return void 0!==a.enabled&&"boolean"!=typeof a.enabled&&b.push('"enabled" must be a boolean'),void 0!==a.timeoutMs&&("number"!=typeof a.timeoutMs?b.push('"timeoutMs" must be a number'):(a.timeoutMs<1e3||a.timeoutMs>3e4)&&b.push("Timeout must be between 1000 and 30000 ms")),{valid:0===b.length,errors:b}}function i(a){let b=[];if(!a||"object"!=typeof a)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(a.name&&"string"==typeof a.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(a.name)?g.includes(a.name)&&b.push(`Cannot use reserved name: ${a.name}`):b.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):b.push('Missing or invalid "name" field'),a.code&&"string"==typeof a.code)try{Function("args","db","fetch","console",a.code)}catch(c){let a=c instanceof Error?c.message:String(c);b.push(`JavaScript syntax error: ${a}`)}else b.push('Missing or invalid "code" field');return void 0!==a.enabled&&"boolean"!=typeof a.enabled&&b.push('"enabled" must be a boolean'),{valid:0===b.length,errors:b}}function j(a){let b=[];return a&&"object"==typeof a?(a.name&&"string"==typeof a.name?/^[A-Z][A-Z0-9_]*$/.test(a.name)?a.name.length>64&&b.push("Name must be 64 characters or less"):b.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):b.push('Missing or invalid "name" field'),void 0!==a.description&&"string"!=typeof a.description&&b.push('"description" must be a string'),{valid:0===b.length,errors:b}):{valid:!1,errors:["Invalid JSON: expected an object"]}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91481:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(64751);async function x(a,b){try{let{id:c}=await b.params,{operation:d,path:e,content:f}=await a.json();if(!e)return u.NextResponse.json({success:!1,error:"Path is required"},{status:400});let g=(0,v.q)();if(await g.init(),!await g.getSite(c))return u.NextResponse.json({success:!1,error:"Site not found"},{status:404});let h=g.getSiteDatabaseForAnalytics(c);if(!h)return u.NextResponse.json({success:!1,error:"Site database not available"},{status:500});if("delete"===d)return function(a,b){if(a.startsWith("/.server/secrets/")&&a.endsWith(".json")){let c=a.split("/").pop().replace(".json",""),d=b.getSecretByName(c);return d?(b.deleteSecret(d.id),u.NextResponse.json({success:!0})):u.NextResponse.json({success:!1,error:`Secret not found: ${c}`},{status:404})}if(a.startsWith("/.server/edge-functions/")&&a.endsWith(".json")){let c=a.split("/").pop().replace(".json",""),d=b.getFunctionByName(c);return d?(b.deleteFunction(d.id),u.NextResponse.json({success:!0})):u.NextResponse.json({success:!1,error:`Edge function not found: ${c}`},{status:404})}if(a.startsWith("/.server/server-functions/")&&a.endsWith(".json")){let c=a.split("/").pop().replace(".json",""),d=b.getServerFunctionByName(c);return d?(b.deleteServerFunction(d.id),u.NextResponse.json({success:!0})):u.NextResponse.json({success:!1,error:`Server function not found: ${c}`},{status:404})}return u.NextResponse.json({success:!1,error:`Cannot delete ${a}`},{status:400})}(e,h);if(!f)return u.NextResponse.json({success:!1,error:"Content is required for create/update"},{status:400});if("/.server/db/schema.sql"===e)return u.NextResponse.json({success:!1,error:`Cannot modify ${e} - read-only file`},{status:400});if(e.startsWith("/.server/secrets/")&&e.endsWith(".json"))return function(a,b,c){let d;try{d=JSON.parse(b)}catch(b){let a=b instanceof Error?b.message:String(b);return u.NextResponse.json({success:!1,error:`Invalid JSON: ${a}`},{status:400})}let e=(0,w.xJ)(d);if(!e.valid)return u.NextResponse.json({success:!1,error:`Validation failed: ${e.errors.join("; ")}`},{status:400});let f=d,g=a.split("/").pop().replace(".json",""),h=c.getSecretByName(g);h?c.updateSecretMetadata(h.id,{name:f.name,description:f.description||""}):c.createSecretPlaceholder(f.name,f.description||"");let i=c.getSecretByName(f.name),j=`/.server/secrets/${f.name}.json`;return u.NextResponse.json({success:!0,file:{path:j,content:(0,w.e0)(i),isReadOnly:!1}})}(e,f,h);if(e.startsWith("/.server/edge-functions/")&&e.endsWith(".json"))return function(a,b,c){let d;try{d=JSON.parse(b)}catch(b){let a=b instanceof Error?b.message:String(b);return u.NextResponse.json({success:!1,error:`Invalid JSON: ${a}`},{status:400})}let e=(0,w.K3)(d);if(!e.valid)return u.NextResponse.json({success:!1,error:`Validation failed: ${e.errors.join("; ")}`},{status:400});let f=d,g=a.split("/").pop().replace(".json",""),h=c.getFunctionByName(g);h?c.updateFunction(h.id,{name:f.name,code:f.code,method:f.method,description:f.description,enabled:f.enabled??!0,timeoutMs:f.timeoutMs??5e3}):c.createFunction({name:f.name,code:f.code,method:f.method,description:f.description,enabled:f.enabled??!0,timeoutMs:f.timeoutMs??5e3});let i=c.getFunctionByName(f.name),j=`/.server/edge-functions/${f.name}.json`;return u.NextResponse.json({success:!0,file:{path:j,content:(0,w.hS)(i),isReadOnly:!1}})}(e,f,h);if(e.startsWith("/.server/server-functions/")&&e.endsWith(".json"))return function(a,b,c){let d;try{d=JSON.parse(b)}catch(b){let a=b instanceof Error?b.message:String(b);return u.NextResponse.json({success:!1,error:`Invalid JSON: ${a}`},{status:400})}let e=(0,w.W8)(d);if(!e.valid)return u.NextResponse.json({success:!1,error:`Validation failed: ${e.errors.join("; ")}`},{status:400});let f=d,g=a.split("/").pop().replace(".json",""),h=c.getServerFunctionByName(g);h?c.updateServerFunction(h.id,{name:f.name,code:f.code,description:f.description,enabled:f.enabled??!0}):c.createServerFunction({name:f.name,code:f.code,description:f.description,enabled:f.enabled??!0});let i=c.getServerFunctionByName(f.name),j=`/.server/server-functions/${f.name}.json`;return u.NextResponse.json({success:!0,file:{path:j,content:(0,w.HI)(i),isReadOnly:!1}})}(e,f,h);return u.NextResponse.json({success:!1,error:`Unrecognized server context path: ${e}`},{status:400})}catch(a){return console.error("[API] Server context mutation failed:",a),u.NextResponse.json({success:!1,error:a instanceof Error?a.message:"Mutation failed"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-context/mutate/route",pathname:"/api/admin/sites/[id]/server-context/mutate",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-context/mutate/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/mutate/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/admin/sites/[id]/server-context/mutate/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=91481));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js.nft.json index 59dcc1e454e894f9c56dfb2c1608a5470e266576..06aec9d73c39fcc0ed35b32e32cef5f8f04e4f3e 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/580.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/1692.js","../../../../../../../chunks/4586.js","../../../../../../../chunks/726.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route_client-reference-manifest.js index a8f4b99cdcb0db9d6c310c43f6ed966dbc3987c0..98c68ddd5280db7f6bd0e63910f83d09776ad700 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/mutate/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/server-context/mutate/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-context/mutate/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/mutate/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-context/mutate/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/mutate/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/route.js b/.next/server/app/api/admin/sites/[id]/server-context/route.js index c61175a3237afd58c62a1882a0ece3fc8eef2308..89e4e11dd10469d3f44a3c4de2cbd17c4beb743a 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/route.js +++ b/.next/server/app/api/admin/sites/[id]/server-context/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5468,e.ids=[5468],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(55511);let s={randomUUID:r.randomUUID},o=new Uint8Array(256),i=o.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let d=function(e,t,n){if(s.randomUUID&&!t&&!e)return s.randomUUID();let d=(e=e||{}).random??e.rng?.()??(i>o.length-16&&((0,r.randomFillSync)(o),i=0),o.slice(i,i+=16));if(d.length<16)throw Error("Random bytes length must be >= 16");if(d[6]=15&d[6]|64,d[8]=63&d[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=d[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(d)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78508:(e,t,n)=>{function r(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function s(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function o(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}n.d(t,{HI:()=>s,K3:()=>a,W8:()=>d,e0:()=>o,hS:()=>r,xJ:()=>u});let i=["db","fetch","console","args","request","Response","server","secrets","atob","btoa"];function a(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let n=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?n.includes(e.method)||t.push(`Method must be one of: ${n.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function d(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?i.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function u(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}},87550:e=>{e.exports=require("better-sqlite3")},98681:(e,t,n)=>{n.r(t),n.d(t,{patchFetch:()=>f,routeModule:()=>p,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>m});var r={};n.r(r),n.d(r,{GET:()=>l});var s=n(96559),o=n(48088),i=n(37719),a=n(32190),d=n(30417),u=n(78508);async function l(e,t){try{let{id:e}=await t.params,n=(0,d.q)();await n.init();let r=await n.getSite(e);if(!r)return a.NextResponse.json({error:"Site not found"},{status:404});let s=n.getSiteDatabaseForAnalytics(e);if(!s)return a.NextResponse.json({error:"Site database not available"},{status:500});let o=[];o.push({path:"/.server/db/schema.sql",content:s.getSchemaForExport(),isReadOnly:!0});let i=s.listSecrets();for(let e of i)o.push({path:`/.server/secrets/${e.name}.json`,content:(0,u.e0)(e),isReadOnly:!1});let l=s.listFunctions();for(let e of l)o.push({path:`/.server/edge-functions/${e.name}.json`,content:(0,u.hS)(e),isReadOnly:!1});let p=s.listServerFunctions();for(let e of p)o.push({path:`/.server/server-functions/${e.name}.json`,content:(0,u.HI)(e),isReadOnly:!1});let c={siteName:r.name,siteId:e,hasDatabase:!0,edgeFunctionCount:l.filter(e=>e.enabled).length,serverFunctionCount:p.filter(e=>e.enabled).length,secretCount:i.length};return a.NextResponse.json({files:o,metadata:c})}catch(e){return console.error("[API] Failed to get server context:",e),a.NextResponse.json({error:"Failed to get server context"},{status:500})}}let p=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-context/route",pathname:"/api/admin/sites/[id]/server-context",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-context/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:c,workUnitAsyncStorage:m,serverHooks:h}=p;function f(){return(0,i.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:m})}}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[4447,580,9709],()=>n(98681));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=5468,a.ids=[5468],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64751:(a,b,c)=>{function d(a){return JSON.stringify({name:a.name,method:a.method,description:a.description,enabled:a.enabled,timeoutMs:a.timeoutMs||5e3,code:a.code},null,2)}function e(a){return JSON.stringify({name:a.name,description:a.description,enabled:a.enabled,code:a.code},null,2)}function f(a){return JSON.stringify({name:a.name,description:a.description||void 0,hasValue:a.hasValue},null,2)}c.d(b,{HI:()=>e,K3:()=>h,W8:()=>i,e0:()=>f,hS:()=>d,xJ:()=>j});let g=["db","fetch","console","args","request","Response","server","secrets","atob","btoa"];function h(a){let b=[];if(!a||"object"!=typeof a)return{valid:!1,errors:["Invalid JSON: expected an object"]};a.name&&"string"==typeof a.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(a.name)||b.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):b.push('Missing or invalid "name" field');let c=["GET","POST","PUT","DELETE","ANY"];if(a.method&&"string"==typeof a.method?c.includes(a.method)||b.push(`Method must be one of: ${c.join(", ")}`):b.push('Missing or invalid "method" field'),a.code&&"string"==typeof a.code)try{Function(a.code)}catch(c){let a=c instanceof Error?c.message:String(c);b.push(`JavaScript syntax error: ${a}`)}else b.push('Missing or invalid "code" field');return void 0!==a.enabled&&"boolean"!=typeof a.enabled&&b.push('"enabled" must be a boolean'),void 0!==a.timeoutMs&&("number"!=typeof a.timeoutMs?b.push('"timeoutMs" must be a number'):(a.timeoutMs<1e3||a.timeoutMs>3e4)&&b.push("Timeout must be between 1000 and 30000 ms")),{valid:0===b.length,errors:b}}function i(a){let b=[];if(!a||"object"!=typeof a)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(a.name&&"string"==typeof a.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(a.name)?g.includes(a.name)&&b.push(`Cannot use reserved name: ${a.name}`):b.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):b.push('Missing or invalid "name" field'),a.code&&"string"==typeof a.code)try{Function("args","db","fetch","console",a.code)}catch(c){let a=c instanceof Error?c.message:String(c);b.push(`JavaScript syntax error: ${a}`)}else b.push('Missing or invalid "code" field');return void 0!==a.enabled&&"boolean"!=typeof a.enabled&&b.push('"enabled" must be a boolean'),{valid:0===b.length,errors:b}}function j(a){let b=[];return a&&"object"==typeof a?(a.name&&"string"==typeof a.name?/^[A-Z][A-Z0-9_]*$/.test(a.name)?a.name.length>64&&b.push("Name must be 64 characters or less"):b.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):b.push('Missing or invalid "name" field'),void 0!==a.description&&"string"!=typeof a.description&&b.push('"description" must be a string'),{valid:0===b.length,errors:b}):{valid:!1,errors:["Invalid JSON: expected an object"]}}},71012:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(64751);async function x(a,b){try{let{id:a}=await b.params,c=(0,v.q)();await c.init();let d=await c.getSite(a);if(!d)return u.NextResponse.json({error:"Site not found"},{status:404});let e=c.getSiteDatabaseForAnalytics(a);if(!e)return u.NextResponse.json({error:"Site database not available"},{status:500});let f=[];f.push({path:"/.server/db/schema.sql",content:e.getSchemaForExport(),isReadOnly:!0});let g=e.listSecrets();for(let a of g)f.push({path:`/.server/secrets/${a.name}.json`,content:(0,w.e0)(a),isReadOnly:!1});let h=e.listFunctions();for(let a of h)f.push({path:`/.server/edge-functions/${a.name}.json`,content:(0,w.hS)(a),isReadOnly:!1});let i=e.listServerFunctions();for(let a of i)f.push({path:`/.server/server-functions/${a.name}.json`,content:(0,w.HI)(a),isReadOnly:!1});let j={siteName:d.name,siteId:a,hasDatabase:!0,edgeFunctionCount:h.filter(a=>a.enabled).length,serverFunctionCount:i.filter(a=>a.enabled).length,secretCount:g.length};return u.NextResponse.json({files:f,metadata:j})}catch(a){return console.error("[API] Failed to get server context:",a),u.NextResponse.json({error:"Failed to get server context"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-context/route",pathname:"/api/admin/sites/[id]/server-context",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-context/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/admin/sites/[id]/server-context/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=71012));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/server-context/route.js.nft.json index 8add3a1f606e2e2d39ae583ddd14de015f140ff3..52bc88f2531ab24b7524321bfa19d7d2e0f048a6 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/server-context/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/580.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/1692.js","../../../../../../chunks/4586.js","../../../../../../chunks/726.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-context/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/server-context/route_client-reference-manifest.js index df774c4d4f51204870fa408a6b44d6a26bf0e0a2..eaa04b0596c36c70e136b61462a84310114444cd 100644 --- a/.next/server/app/api/admin/sites/[id]/server-context/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/server-context/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-context/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-context/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-context/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js index 0b4d404043e4640e003df58a5c5435f3c155f543..f8bf3ab93615f079b8b36c6ab5fb141d78b400e5 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js +++ b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=820,e.ids=[820],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},8535:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{patchFetch:()=>d,routeModule:()=>c,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>l});var s=r(96559),o=r(48088),a=r(37719),i=r(50057),u=e([i]);i=(u.then?(await u)():u)[0];let c=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-functions/[functionId]/route",pathname:"/api/admin/sites/[id]/server-functions/[functionId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-functions/[functionId]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/[functionId]/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:p,workUnitAsyncStorage:l,serverHooks:f}=c;function d(){return(0,a.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:l})}n()}catch(e){n(e)}})},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50057:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{DELETE:()=>p,GET:()=>d,PUT:()=>c});var s=r(32190),o=r(50613),a=r(30417),i=r(3149),u=e([i]);async function d(e,{params:t}){try{await (0,o.oC)();let{id:e,functionId:r}=await t,n=(0,a.q)();await n.init();let i=await n.getSite?.(e);if(!i)return s.NextResponse.json({error:"Site not found"},{status:404});if(!i.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let u=n.getSiteDatabaseForAnalytics(e);if(!u)return s.NextResponse.json({error:"Site database not available"},{status:500});let d=u.getServerFunction(r);if(!d)return s.NextResponse.json({error:"Server function not found"},{status:404});return s.NextResponse.json({function:d})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function c(e,{params:t}){try{await (0,o.oC)();let{id:r,functionId:n}=await t,u=await e.json(),d=(0,a.q)();await d.init();let c=await d.getSite?.(r);if(!c)return s.NextResponse.json({error:"Site not found"},{status:404});if(!c.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let p=d.getSiteDatabaseForAnalytics(r);if(!p)return s.NextResponse.json({error:"Site database not available"},{status:500});let l=p.getServerFunction(n);if(!l)return s.NextResponse.json({error:"Server function not found"},{status:404});let f={};if(void 0!==u.name&&u.name!==l.name){let e=(0,i.Rv)(u.name);if(e)return s.NextResponse.json({error:e},{status:400});let t=p.getServerFunctionByName(u.name);if(t&&t.id!==n)return s.NextResponse.json({error:"A server function with this name already exists"},{status:409});f.name=u.name}if(void 0!==u.code){let e=(0,i.c2)(u.code);if(e)return s.NextResponse.json({error:e},{status:400});f.code=u.code}void 0!==u.description&&(f.description=u.description),void 0!==u.enabled&&(f.enabled=u.enabled),Object.keys(f).length>0&&p.updateServerFunction(n,f);let x=p.getServerFunction(n);return s.NextResponse.json({function:x})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e,{params:t}){try{await (0,o.oC)();let{id:e,functionId:r}=await t,n=(0,a.q)();await n.init();let i=await n.getSite?.(e);if(!i)return s.NextResponse.json({error:"Site not found"},{status:404});if(!i.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let u=n.getSiteDatabaseForAnalytics(e);if(!u)return s.NextResponse.json({error:"Site database not available"},{status:500});if(!u.getServerFunction(r))return s.NextResponse.json({error:"Server function not found"},{status:404});return u.deleteServerFunction(r),s.NextResponse.json({success:!0})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?d(t):null}async function p(){(await (0,o.UL)()).delete(a)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,8274],()=>r(8535));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=820,a.ids=[820],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:a=>{a.exports=import("quickjs-emscripten-core")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13026:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>x,patchFetch:()=>w,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(55032),v=a([u]);u=(v.then?(await v)():v)[0];let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-functions/[functionId]/route",pathname:"/api/admin/sites/[id]/server-functions/[functionId]",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-functions/[functionId]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/[functionId]/route.ts",nextConfigOutput:"standalone",userland:u}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function w(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function x(a,b,c){var d;let e="/api/admin/sites/[id]/server-functions/[functionId]/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G=D,G="/index"===G?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},17915:a=>{a.exports=import("@jitl/quickjs-wasmfile-release-sync")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55032:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{DELETE:()=>l,GET:()=>j,PUT:()=>k});var e=c(10641),f=c(39588),g=c(97778),h=c(19958),i=a([h]);async function j(a,{params:b}){try{await (0,f.oC)();let{id:a,functionId:c}=await b,d=(0,g.q)();await d.init();let h=await d.getSite?.(a);if(!h)return e.NextResponse.json({error:"Site not found"},{status:404});if(!h.databaseEnabled)return e.NextResponse.json({error:"Site database not enabled"},{status:400});let i=d.getSiteDatabaseForAnalytics(a);if(!i)return e.NextResponse.json({error:"Site database not available"},{status:500});let j=i.getServerFunction(c);if(!j)return e.NextResponse.json({error:"Server function not found"},{status:404});return e.NextResponse.json({function:j})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}async function k(a,{params:b}){try{await (0,f.oC)();let{id:c,functionId:d}=await b,i=await a.json(),j=(0,g.q)();await j.init();let k=await j.getSite?.(c);if(!k)return e.NextResponse.json({error:"Site not found"},{status:404});if(!k.databaseEnabled)return e.NextResponse.json({error:"Site database not enabled"},{status:400});let l=j.getSiteDatabaseForAnalytics(c);if(!l)return e.NextResponse.json({error:"Site database not available"},{status:500});let m=l.getServerFunction(d);if(!m)return e.NextResponse.json({error:"Server function not found"},{status:404});let n={};if(void 0!==i.name&&i.name!==m.name){let a=(0,h.Rv)(i.name);if(a)return e.NextResponse.json({error:a},{status:400});let b=l.getServerFunctionByName(i.name);if(b&&b.id!==d)return e.NextResponse.json({error:"A server function with this name already exists"},{status:409});n.name=i.name}if(void 0!==i.code){let a=(0,h.c2)(i.code);if(a)return e.NextResponse.json({error:a},{status:400});n.code=i.code}void 0!==i.description&&(n.description=i.description),void 0!==i.enabled&&(n.enabled=i.enabled),Object.keys(n).length>0&&l.updateServerFunction(d,n);let o=l.getServerFunction(d);return e.NextResponse.json({function:o})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}async function l(a,{params:b}){try{await (0,f.oC)();let{id:a,functionId:c}=await b,d=(0,g.q)();await d.init();let h=await d.getSite?.(a);if(!h)return e.NextResponse.json({error:"Site not found"},{status:404});if(!h.databaseEnabled)return e.NextResponse.json({error:"Site database not enabled"},{status:400});let i=d.getSiteDatabaseForAnalytics(a);if(!i)return e.NextResponse.json({error:"Site database not available"},{status:500});if(!i.getServerFunction(c))return e.NextResponse.json({error:"Server function not found"},{status:404});return i.deleteServerFunction(c),e.NextResponse.json({success:!0})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}h=(i.then?(await i)():i)[0],d()}catch(a){d(a)}})},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726,3543],()=>b(b.s=13026));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js.nft.json index 818c46920b17a4f5d2344f04f5b9408ec0d670a8..b15d5ee8dccceda48af9d667512ebb83bf714d32 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/4447.js","../../../../../../../chunks/5155.js","../../../../../../../chunks/580.js","../../../../../../../chunks/8274.js","../../../../../../../chunks/9709.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../../data/osws.sqlite","../../../../../../../../../data/osws.sqlite-shm","../../../../../../../../../data/osws.sqlite-wal","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../../node_modules/bindings/package.json","../../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../../package.json","../../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../../package.json","../../../../../../../chunks/1692.js","../../../../../../../chunks/3543.js","../../../../../../../chunks/4586.js","../../../../../../../chunks/6151.js","../../../../../../../chunks/726.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route_client-reference-manifest.js index 5867ae50c07ee7a45da592c6eded8a4487215a6e..2181560c5ce5d9f784aad6b2247f3f7b39bccdbc 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/server-functions/[functionId]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-functions/[functionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/[functionId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-functions/[functionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/[functionId]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/route.js b/.next/server/app/api/admin/sites/[id]/server-functions/route.js index 21206ae30dff89cfdc35e4df8c68abf4fa77d6dd..cb9e91047d7fac9f53df05c20f464c7080d6d498 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/route.js +++ b/.next/server/app/api/admin/sites/[id]/server-functions/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=1618,e.ids=[1618],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},41921:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{patchFetch:()=>d,routeModule:()=>c,serverHooks:()=>x,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>l});var s=r(96559),a=r(48088),o=r(37719),i=r(97695),u=e([i]);i=(u.then?(await u)():u)[0];let c=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-functions/route",pathname:"/api/admin/sites/[id]/server-functions",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-functions/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:p,workUnitAsyncStorage:l,serverHooks:x}=c;function d(){return(0,o.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:l})}n()}catch(e){n(e)}})},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(o)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},97695:(e,t,r)=>{r.a(e,async(e,n)=>{try{r.r(t),r.d(t,{GET:()=>d,POST:()=>c});var s=r(32190),a=r(50613),o=r(30417),i=r(3149),u=e([i]);async function d(e,{params:t}){try{await (0,a.oC)();let{id:e}=await t,r=(0,o.q)();await r.init();let n=await r.getSite?.(e);if(!n)return s.NextResponse.json({error:"Site not found"},{status:404});if(!n.databaseEnabled)return s.NextResponse.json({error:"Site database not enabled"},{status:400});let i=r.getSiteDatabaseForAnalytics(e);if(!i)return s.NextResponse.json({error:"Site database not available"},{status:500});let u=i.listServerFunctions();return s.NextResponse.json({functions:u})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}async function c(e,{params:t}){try{await (0,a.oC)();let{id:r}=await t,n=await e.json();if(!n.name)return s.NextResponse.json({error:"Function name is required"},{status:400});if(!n.code)return s.NextResponse.json({error:"Function code is required"},{status:400});let u=(0,i.Rv)(n.name);if(u)return s.NextResponse.json({error:u},{status:400});let d=(0,i.c2)(n.code);if(d)return s.NextResponse.json({error:d},{status:400});let c=(0,o.q)();await c.init();let p=await c.getSite?.(r);if(!p)return s.NextResponse.json({error:"Site not found"},{status:404});p.databaseEnabled||(p.databaseEnabled=!0,await c.enableSiteDatabase(r),await c.updateSite?.(p));let l=c.getSiteDatabaseForAnalytics(r);if(!l)return s.NextResponse.json({error:"Site database not available"},{status:500});if(l.getServerFunctionByName(n.name))return s.NextResponse.json({error:"A server function with this name already exists"},{status:409});let x=l.createServerFunction({name:n.name,description:n.description||void 0,code:n.code,enabled:!1!==n.enabled}),f=l.getServerFunction(x);return s.NextResponse.json({function:f},{status:201})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return s.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",e),s.NextResponse.json({error:"Internal server error"},{status:500})}}i=(u.then?(await u)():u)[0],n()}catch(e){n(e)}})}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709,8274],()=>r(41921));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=1618,a.ids=[1618],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:a=>{a.exports=import("quickjs-emscripten-core")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:a=>{a.exports=import("@jitl/quickjs-wasmfile-release-sync")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19924:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>x,patchFetch:()=>w,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(60160),v=a([u]);u=(v.then?(await v)():v)[0];let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/admin/sites/[id]/server-functions/route",pathname:"/api/admin/sites/[id]/server-functions",filename:"route",bundlePath:"app/api/admin/sites/[id]/server-functions/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route.ts",nextConfigOutput:"standalone",userland:u}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function w(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function x(a,b,c){var d;let e="/api/admin/sites/[id]/server-functions/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G=D,G="/index"===G?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},60160:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>j,POST:()=>k});var e=c(10641),f=c(39588),g=c(97778),h=c(19958),i=a([h]);async function j(a,{params:b}){try{await (0,f.oC)();let{id:a}=await b,c=(0,g.q)();await c.init();let d=await c.getSite?.(a);if(!d)return e.NextResponse.json({error:"Site not found"},{status:404});if(!d.databaseEnabled)return e.NextResponse.json({error:"Site database not enabled"},{status:400});let h=c.getSiteDatabaseForAnalytics(a);if(!h)return e.NextResponse.json({error:"Site database not available"},{status:500});let i=h.listServerFunctions();return e.NextResponse.json({functions:i})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}async function k(a,{params:b}){try{await (0,f.oC)();let{id:c}=await b,d=await a.json();if(!d.name)return e.NextResponse.json({error:"Function name is required"},{status:400});if(!d.code)return e.NextResponse.json({error:"Function code is required"},{status:400});let i=(0,h.Rv)(d.name);if(i)return e.NextResponse.json({error:i},{status:400});let j=(0,h.c2)(d.code);if(j)return e.NextResponse.json({error:j},{status:400});let k=(0,g.q)();await k.init();let l=await k.getSite?.(c);if(!l)return e.NextResponse.json({error:"Site not found"},{status:404});l.databaseEnabled||(l.databaseEnabled=!0,await k.enableSiteDatabase(c),await k.updateSite?.(l));let m=k.getSiteDatabaseForAnalytics(c);if(!m)return e.NextResponse.json({error:"Site database not available"},{status:500});if(m.getServerFunctionByName(d.name))return e.NextResponse.json({error:"A server function with this name already exists"},{status:409});let n=m.createServerFunction({name:d.name,description:d.description||void 0,code:d.code,enabled:!1!==d.enabled}),o=m.getServerFunction(n);return e.NextResponse.json({function:o},{status:201})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return e.NextResponse.json({error:"Unauthorized"},{status:401});return console.error("[Admin Server Functions API] Error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}h=(i.then?(await i)():i)[0],d()}catch(a){d(a)}})},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726,3543],()=>b(b.s=19924));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/route.js.nft.json b/.next/server/app/api/admin/sites/[id]/server-functions/route.js.nft.json index 61412027cd8ff8c2c39e676c7a0d2eeec53e8e55..5f91d1805adb75097532cad6ae95104f6a62d4b1 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/route.js.nft.json +++ b/.next/server/app/api/admin/sites/[id]/server-functions/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/5155.js","../../../../../../chunks/580.js","../../../../../../chunks/8274.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/1692.js","../../../../../../chunks/3543.js","../../../../../../chunks/4586.js","../../../../../../chunks/6151.js","../../../../../../chunks/726.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/sites/[id]/server-functions/route_client-reference-manifest.js b/.next/server/app/api/admin/sites/[id]/server-functions/route_client-reference-manifest.js index c9025d8ef79839d4e649e5e0b3f087b93382388c..3a322c3dd7ae1f4ae8ca7955bb647ad77369f569 100644 --- a/.next/server/app/api/admin/sites/[id]/server-functions/route_client-reference-manifest.js +++ b/.next/server/app/api/admin/sites/[id]/server-functions/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-functions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/sites/[id]/server-functions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/admin/sites/[id]/server-functions/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/clear/route.js b/.next/server/app/api/analytics/[siteId]/clear/route.js index 2efaad12832a7af6db3d15970b60b5e749f9ad94..a334b473e26d23ec74e0c270668f514f4284ea52 100644 --- a/.next/server/app/api/analytics/[siteId]/clear/route.js +++ b/.next/server/app/api/analytics/[siteId]/clear/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=1989,e.ids=[1989],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let s={randomUUID:n.randomUUID},a=new Uint8Array(256),o=a.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>a.length-16&&((0,n.randomFillSync)(a),o=0),a.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>d,Ht:()=>c,gV:()=>l,jw:()=>u,oC:()=>p});var n=r(87806),s=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(s)}async function l(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?l(t):null}async function d(){(await (0,a.UL)()).delete(o)}async function p(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73876:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>y,routeModule:()=>d,serverHooks:()=>g,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>f});var n={};r.r(n),r.d(n,{DELETE:()=>c});var s=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613),l=r(30417);async function c(e,{params:t}){try{if(!await (0,u.Ht)())return i.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:r}=await t,n=e.nextUrl.searchParams.get("type")||"all";if(!["all","pageviews","interactions","sessions"].includes(n))return i.NextResponse.json({error:"Invalid type parameter. Must be one of: all, pageviews, interactions, sessions"},{status:400});let s=(0,l.q)();if(await s.init(),!await s.getSite(r))return i.NextResponse.json({error:"Site not found"},{status:404});let a=s.getSiteDatabaseForAnalytics(r);if(!a)return i.NextResponse.json({error:"Site database not enabled"},{status:404});let o=a.getAnalyticsStorageInfo();"all"===n?a.clearAnalytics():a.clearAnalytics(n);let c=a.getAnalyticsStorageInfo(),d={pageviews:o.pageviewCount-c.pageviewCount,interactions:o.interactionCount-c.interactionCount,sessions:o.sessionCount-c.sessionCount};return i.NextResponse.json({success:!0,message:"Analytics data cleared successfully",deleted:d})}catch(e){return console.error("[Analytics Clear API] Error:",e),i.NextResponse.json({error:"Failed to clear analytics data"},{status:500})}}let d=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/clear/route",pathname:"/api/analytics/[siteId]/clear",filename:"route",bundlePath:"app/api/analytics/[siteId]/clear/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/clear/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:p,workUnitAsyncStorage:f,serverHooks:g}=d;function y(){return(0,o.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:f})}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(73876));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=1989,a.ids=[1989],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71499:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{DELETE:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{if(!await (0,v.Ht)())return u.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:c}=await b,d=a.nextUrl.searchParams.get("type")||"all";if(!["all","pageviews","interactions","sessions"].includes(d))return u.NextResponse.json({error:"Invalid type parameter. Must be one of: all, pageviews, interactions, sessions"},{status:400});let e=(0,w.q)();if(await e.init(),!await e.getSite(c))return u.NextResponse.json({error:"Site not found"},{status:404});let f=e.getSiteDatabaseForAnalytics(c);if(!f)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let g=f.getAnalyticsStorageInfo();"all"===d?f.clearAnalytics():f.clearAnalytics(d);let h=f.getAnalyticsStorageInfo(),i={pageviews:g.pageviewCount-h.pageviewCount,interactions:g.interactionCount-h.interactionCount,sessions:g.sessionCount-h.sessionCount};return u.NextResponse.json({success:!0,message:"Analytics data cleared successfully",deleted:i})}catch(a){return console.error("[Analytics Clear API] Error:",a),u.NextResponse.json({error:"Failed to clear analytics data"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/clear/route",pathname:"/api/analytics/[siteId]/clear",filename:"route",bundlePath:"app/api/analytics/[siteId]/clear/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/clear/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/analytics/[siteId]/clear/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=71499));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/clear/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/clear/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/analytics/[siteId]/clear/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/clear/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/clear/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/clear/route_client-reference-manifest.js index 4c40732f76b1cfecdc0ad9dbcbba0b7828622d62..41c3f38620bcae4df4aee488d23c3385c5964394 100644 --- a/.next/server/app/api/analytics/[siteId]/clear/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/clear/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/clear/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/clear/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/clear/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/clear/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/engagement/route.js b/.next/server/app/api/analytics/[siteId]/engagement/route.js index f60e2484c421f037735ed083e6596c88833ee654..1d6929c65cb64bb2a160dfc4061cd9b534b109cd 100644 --- a/.next/server/app/api/analytics/[siteId]/engagement/route.js +++ b/.next/server/app/api/analytics/[siteId]/engagement/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9379,e.ids=[9379],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let a={randomUUID:n.randomUUID},s=new Uint8Array(256),o=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>s.length-16&&((0,n.randomFillSync)(s),o=0),s.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>d,gV:()=>l,jw:()=>u,oC:()=>c});var n=r(87806),a=r(77412),s=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let a=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(a)}async function l(e){try{let t=i(),{payload:r}=await (0,a.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function d(){let e=await (0,s.UL)(),t=e.get(o)?.value;return t?l(t):null}async function p(){(await (0,s.UL)()).delete(o)}async function c(){let e=await d();if(!e)throw Error("Unauthorized");return e}},55152:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>x,routeModule:()=>p,serverHooks:()=>m,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>g});var n={};r.r(n),r.d(n,{GET:()=>d});var a=r(96559),s=r(48088),o=r(37719),i=r(32190),u=r(50613),l=r(30417);async function d(e,{params:t}){try{if(!await (0,u.Ht)())return i.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:r}=await t,{searchParams:n}=new URL(e.url),a=parseInt(n.get("days")||"30",10),s=(0,l.q)();if(await s.init(),!await s.getSite(r))return i.NextResponse.json({error:"Site not found"},{status:404});let o=s.getSiteDatabaseForAnalytics(r);if(!o)return i.NextResponse.json({error:"Site database not enabled"},{status:404});let d=o.getEngagementMetrics(a),p={timeOnPage:{average:d.avgTimeOnPage,median:d.avgTimeOnPage,distribution:{}},scrollDepth:{average:d.avgScrollDepth,milestones:d.scrollDepthDistribution},exitPages:d.exitPageCounts.map((e,t,r)=>{let n=r.reduce((e,t)=>e+t.count,0);return{page:e.page,exitCount:e.count,exitRate:n>0?e.count/n:0}}),topLandingPages:[]};return i.NextResponse.json(p)}catch(e){return console.error("[Analytics Engagement API] Error:",e),i.NextResponse.json({error:"Failed to fetch engagement metrics"},{status:500})}}let p=new a.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/engagement/route",pathname:"/api/analytics/[siteId]/engagement",filename:"route",bundlePath:"app/api/analytics/[siteId]/engagement/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/engagement/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:g,serverHooks:m}=p;function x(){return(0,o.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:g})}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(55152));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=9379,a.ids=[9379],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},22963:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{if(!await (0,v.Ht)())return u.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:c}=await b,{searchParams:d}=new URL(a.url),e=parseInt(d.get("days")||"30",10),f=(0,w.q)();if(await f.init(),!await f.getSite(c))return u.NextResponse.json({error:"Site not found"},{status:404});let g=f.getSiteDatabaseForAnalytics(c);if(!g)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let h=g.getEngagementMetrics(e),i={timeOnPage:{average:h.avgTimeOnPage,median:h.avgTimeOnPage,distribution:{}},scrollDepth:{average:h.avgScrollDepth,milestones:h.scrollDepthDistribution},exitPages:h.exitPageCounts.map((a,b,c)=>{let d=c.reduce((a,b)=>a+b.count,0);return{page:a.page,exitCount:a.count,exitRate:d>0?a.count/d:0}}),topLandingPages:[]};return u.NextResponse.json(i)}catch(a){return console.error("[Analytics Engagement API] Error:",a),u.NextResponse.json({error:"Failed to fetch engagement metrics"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/engagement/route",pathname:"/api/analytics/[siteId]/engagement",filename:"route",bundlePath:"app/api/analytics/[siteId]/engagement/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/engagement/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/analytics/[siteId]/engagement/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=22963));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/engagement/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/engagement/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/analytics/[siteId]/engagement/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/engagement/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/engagement/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/engagement/route_client-reference-manifest.js index 17904c9f89cd388d9a66ae156bcb835f38d0a38c..e179c50ea40a32af786a7100544a40cfc49c125d 100644 --- a/.next/server/app/api/analytics/[siteId]/engagement/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/engagement/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/engagement/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/engagement/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/engagement/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/engagement/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/export/route.js b/.next/server/app/api/analytics/[siteId]/export/route.js index d646a8ddad5aece287de614493c3d4d27cad8f8f..5a12425571bac61c90acc102a432f0540ab9de51 100644 --- a/.next/server/app/api/analytics/[siteId]/export/route.js +++ b/.next/server/app/api/analytics/[siteId]/export/route.js @@ -1,3 +1,3 @@ -"use strict";(()=>{var e={};e.id=8080,e.ids=[8080],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},9855:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>y,routeModule:()=>d,serverHooks:()=>x,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>f});var n={};r.r(n),r.d(n,{POST:()=>p});var o=r(96559),s=r(48088),a=r(37719),i=r(32190),u=r(50613),l=r(30417);async function p(e,{params:t}){try{if(!await (0,u.Ht)())return i.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:r}=await t,{format:n="csv",type:o="all"}=await e.json(),s=(0,l.q)();if(await s.init(),!await s.getSite(r))return i.NextResponse.json({error:"Site not found"},{status:404});let a=s.getSiteDatabaseForAnalytics(r);if(!a)return i.NextResponse.json({error:"Site database not enabled"},{status:404});let p=a.exportAnalyticsData(o);if("json"===n)return i.NextResponse.json(p,{headers:{"Content-Disposition":`attachment; filename="analytics-${r}-${Date.now()}.json"`}});{let e=[];for(let[t,r]of Object.entries(p)){if(!Array.isArray(r)||0===r.length)continue;e.push(` -# ${t.toUpperCase()} -`);let n=Object.keys(r[0]);for(let t of(e.push(n.join(",")),r)){let r=n.map(e=>{let r=t[e];return null==r?"":"object"==typeof r?JSON.stringify(r):`"${String(r).replace(/"/g,'""')}"`});e.push(r.join(","))}}let t=e.join("\n");return new i.NextResponse(t,{headers:{"Content-Type":"text/csv","Content-Disposition":`attachment; filename="analytics-${r}-${Date.now()}.csv"`}})}}catch(e){return console.error("[Analytics Export API] Error:",e),i.NextResponse.json({error:"Failed to export analytics data"},{status:500})}}let d=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/export/route",pathname:"/api/analytics/[siteId]/export",filename:"route",bundlePath:"app/api/analytics/[siteId]/export/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/export/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:f,serverHooks:x}=d;function y(){return(0,a.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:f})}},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let o={randomUUID:n.randomUUID},s=new Uint8Array(256),a=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(o.randomUUID&&!t&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(a>s.length-16&&((0,n.randomFillSync)(s),a=0),s.slice(a,a+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>d,Ht:()=>p,gV:()=>l,jw:()=>u,oC:()=>c});var n=r(87806),o=r(77412),s=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let o=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(o)}async function l(e){try{let t=i(),{payload:r}=await (0,o.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function p(){let e=await (0,s.UL)(),t=e.get(a)?.value;return t?l(t):null}async function d(){(await (0,s.UL)()).delete(a)}async function c(){let e=await p();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(9855));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=8080,a.ids=[8080],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},93584:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{if(!await (0,v.Ht)())return u.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:c}=await b,{format:d="csv",type:e="all"}=await a.json(),f=(0,w.q)();if(await f.init(),!await f.getSite(c))return u.NextResponse.json({error:"Site not found"},{status:404});let g=f.getSiteDatabaseForAnalytics(c);if(!g)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let h=g.exportAnalyticsData(e);if("json"===d)return u.NextResponse.json(h,{headers:{"Content-Disposition":`attachment; filename="analytics-${c}-${Date.now()}.json"`}});{let a=[];for(let[b,c]of Object.entries(h)){if(!Array.isArray(c)||0===c.length)continue;a.push(` +# ${b.toUpperCase()} +`);let d=Object.keys(c[0]);for(let b of(a.push(d.join(",")),c)){let c=d.map(a=>{let c=b[a];return null==c?"":"object"==typeof c?JSON.stringify(c):`"${String(c).replace(/"/g,'""')}"`});a.push(c.join(","))}}let b=a.join("\n");return new u.NextResponse(b,{headers:{"Content-Type":"text/csv","Content-Disposition":`attachment; filename="analytics-${c}-${Date.now()}.csv"`}})}}catch(a){return console.error("[Analytics Export API] Error:",a),u.NextResponse.json({error:"Failed to export analytics data"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/export/route",pathname:"/api/analytics/[siteId]/export",filename:"route",bundlePath:"app/api/analytics/[siteId]/export/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/export/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/analytics/[siteId]/export/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=93584));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/export/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/export/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/analytics/[siteId]/export/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/export/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/export/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/export/route_client-reference-manifest.js index 187bb6b41f49281d258d066c2b426d9991370b83..d3358028ba18a9fb3547d0bbffcc46a24115f05a 100644 --- a/.next/server/app/api/analytics/[siteId]/export/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/export/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/export/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/export/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/export/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/export/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/heatmap/route.js b/.next/server/app/api/analytics/[siteId]/heatmap/route.js index de208ba0cd31de437befae94e47c8385c80f7659..030eba7cc9e22f5922efd86d87a0ec8878fffaa7 100644 --- a/.next/server/app/api/analytics/[siteId]/heatmap/route.js +++ b/.next/server/app/api/analytics/[siteId]/heatmap/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6758,e.ids=[6758],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(55511);let a={randomUUID:n.randomUUID},o=new Uint8Array(256),s=o.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let l=function(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();let l=(e=e||{}).random??e.rng?.()??(s>o.length-16&&((0,n.randomFillSync)(o),s=0),o.slice(s,s+=16));if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=l[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(l)}},24575:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>h,routeModule:()=>d,serverHooks:()=>g,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>m});var n={};r.r(n),r.d(n,{GET:()=>p});var a=r(96559),o=r(48088),s=r(37719),i=r(32190),l=r(50613),u=r(30417);async function p(e,{params:t}){try{if(!await (0,l.Ht)())return i.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:r}=await t,{searchParams:n}=new URL(e.url),a=n.get("page"),o=n.get("type")||"click",s=n.get("device"),p=n.get("dateFrom"),d=n.get("dateTo");if(!a)return i.NextResponse.json({error:"Missing required parameter: page"},{status:400});let c=(0,u.q)();if(await c.init(),!await c.getSite(r))return i.NextResponse.json({error:"Site not found"},{status:404});let m=c.getSiteDatabaseForAnalytics(r);if(!m)return i.NextResponse.json({error:"Site database not enabled"},{status:404});if("click"===o){let e=m.getClickData(a,p||void 0,d||void 0).map(e=>{try{let t="string"==typeof e.coordinates?JSON.parse(e.coordinates):e.coordinates;return{x:t.x,y:t.y,scrollY:t.scrollY||0,viewportWidth:t.viewportWidth,viewportHeight:t.viewportHeight,documentHeight:t.documentHeight,elementSelector:e.elementSelector,timestamp:e.timestamp}}catch{return null}}).filter(e=>null!==e);return s&&"all"!==s&&(e=e.filter(e=>{let t=e.viewportWidth;return"mobile"===s?t<768:"tablet"===s?t>=768&&t<1024:"desktop"!==s||t>=1024})),i.NextResponse.json({type:"click",page:a,sampleSize:e.length,points:e})}if("scroll"===o){let e=m.getScrollData(a,p||void 0,d||void 0),t=e.reduce((e,t)=>{let r=t.scrollDepth;return e[r]=(e[r]||0)+1,e},{});return i.NextResponse.json({type:"scroll",page:a,sampleSize:e.length,depthDistribution:t,rawData:e})}return i.NextResponse.json({error:"Invalid type"},{status:400})}catch(e){return console.error("[Analytics Heatmap API] Error:",e),i.NextResponse.json({error:"Failed to fetch heatmap data"},{status:500})}}let d=new a.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/heatmap/route",pathname:"/api/analytics/[siteId]/heatmap",filename:"route",bundlePath:"app/api/analytics/[siteId]/heatmap/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/heatmap/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:m,serverHooks:g}=d;function h(){return(0,s.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:m})}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>d,Ht:()=>p,gV:()=>u,jw:()=>l,oC:()=>c});var n=r(87806),a=r(77412),o=r(44999);let s="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function l(e,t,r=!0){let a=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(a)}async function u(e){try{let t=i(),{payload:r}=await (0,a.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function p(){let e=await (0,o.UL)(),t=e.get(s)?.value;return t?u(t):null}async function d(){(await (0,o.UL)()).delete(s)}async function c(){let e=await p();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(24575));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=6758,a.ids=[6758],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87687:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{if(!await (0,v.Ht)())return u.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:c}=await b,{searchParams:d}=new URL(a.url),e=d.get("page"),f=d.get("type")||"click",g=d.get("device"),h=d.get("dateFrom"),i=d.get("dateTo");if(!e)return u.NextResponse.json({error:"Missing required parameter: page"},{status:400});let j=(0,w.q)();if(await j.init(),!await j.getSite(c))return u.NextResponse.json({error:"Site not found"},{status:404});let k=j.getSiteDatabaseForAnalytics(c);if(!k)return u.NextResponse.json({error:"Site database not enabled"},{status:404});if("click"===f){let a=k.getClickData(e,h||void 0,i||void 0).map(a=>{try{let b="string"==typeof a.coordinates?JSON.parse(a.coordinates):a.coordinates;return{x:b.x,y:b.y,scrollY:b.scrollY||0,viewportWidth:b.viewportWidth,viewportHeight:b.viewportHeight,documentHeight:b.documentHeight,elementSelector:a.elementSelector,timestamp:a.timestamp}}catch{return null}}).filter(a=>null!==a);return g&&"all"!==g&&(a=a.filter(a=>{let b=a.viewportWidth;return"mobile"===g?b<768:"tablet"===g?b>=768&&b<1024:"desktop"!==g||b>=1024})),u.NextResponse.json({type:"click",page:e,sampleSize:a.length,points:a})}if("scroll"===f){let a=k.getScrollData(e,h||void 0,i||void 0),b=a.reduce((a,b)=>{let c=b.scrollDepth;return a[c]=(a[c]||0)+1,a},{});return u.NextResponse.json({type:"scroll",page:e,sampleSize:a.length,depthDistribution:b,rawData:a})}return u.NextResponse.json({error:"Invalid type"},{status:400})}catch(a){return console.error("[Analytics Heatmap API] Error:",a),u.NextResponse.json({error:"Failed to fetch heatmap data"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/heatmap/route",pathname:"/api/analytics/[siteId]/heatmap",filename:"route",bundlePath:"app/api/analytics/[siteId]/heatmap/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/heatmap/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/analytics/[siteId]/heatmap/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=87687));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/heatmap/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/heatmap/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/analytics/[siteId]/heatmap/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/heatmap/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/heatmap/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/heatmap/route_client-reference-manifest.js index 8be746e2a07fd235b6b5c9a03d95b7417b02654a..a71ed11fa1a7e581312e659951f0d91e61d366d4 100644 --- a/.next/server/app/api/analytics/[siteId]/heatmap/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/heatmap/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/heatmap/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/heatmap/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/heatmap/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/heatmap/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/overview/route.js b/.next/server/app/api/analytics/[siteId]/overview/route.js index c544ea114ce3e5c88b117b94aaeacb14bc81595c..294eedb9505d9c2edf97612b28f017b7376b5067 100644 --- a/.next/server/app/api/analytics/[siteId]/overview/route.js +++ b/.next/server/app/api/analytics/[siteId]/overview/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7715,e.ids=[7715],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let o={randomUUID:n.randomUUID},a=new Uint8Array(256),s=a.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(o.randomUUID&&!t&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(s>a.length-16&&((0,n.randomFillSync)(a),s=0),a.slice(s,s+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},28895:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>g,routeModule:()=>p,serverHooks:()=>v,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>w});var n={};r.r(n),r.d(n,{GET:()=>l});var o=r(96559),a=r(48088),s=r(37719),i=r(32190),u=r(50613),d=r(30417);async function l(e,{params:t}){try{if(!await (0,u.Ht)())return i.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:r}=await t,{searchParams:n}=new URL(e.url),o=parseInt(n.get("days")||"30",10),a=(0,d.q)();if(await a.init(),!await a.getSite(r))return i.NextResponse.json({error:"Site not found"},{status:404});let s=a.getSiteDatabaseForAnalytics(r);if(!s)return i.NextResponse.json({error:"Site database not enabled"},{status:404});let l=s.getOverviewStats(o),p=s.getStats(o),c={totalPageviews:l.totalPageviews,uniqueVisitors:l.uniqueSessions,averageTimeOnSite:l.avgSessionDuration,bounceRate:l.bounceRate/100,topPages:p.topPages.map(e=>({page:e.path,views:e.views})),topReferrers:p.topReferrers,deviceBreakdown:l.deviceBreakdown.reduce((e,t)=>(e[t.device]=t.count,e),{}),countryBreakdown:{}};return i.NextResponse.json(c)}catch(e){return console.error("[Analytics Overview API] Error:",e),i.NextResponse.json({error:"Failed to fetch analytics overview"},{status:500})}}let p=new o.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/overview/route",pathname:"/api/analytics/[siteId]/overview",filename:"route",bundlePath:"app/api/analytics/[siteId]/overview/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/overview/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:w,serverHooks:v}=p;function g(){return(0,s.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:w})}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>c});var n=r(87806),o=r(77412),a=r(44999);let s="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let o=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(o)}async function d(e){try{let t=i(),{payload:r}=await (0,o.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,a.UL)(),t=e.get(s)?.value;return t?d(t):null}async function p(){(await (0,a.UL)()).delete(s)}async function c(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(28895));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=7715,a.ids=[7715],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78632:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{if(!await (0,v.Ht)())return u.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:c}=await b,{searchParams:d}=new URL(a.url),e=parseInt(d.get("days")||"30",10),f=(0,w.q)();if(await f.init(),!await f.getSite(c))return u.NextResponse.json({error:"Site not found"},{status:404});let g=f.getSiteDatabaseForAnalytics(c);if(!g)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let h=g.getOverviewStats(e),i=g.getStats(e),j={totalPageviews:h.totalPageviews,uniqueVisitors:h.uniqueSessions,averageTimeOnSite:h.avgSessionDuration,bounceRate:h.bounceRate/100,topPages:i.topPages.map(a=>({page:a.path,views:a.views})),topReferrers:i.topReferrers,deviceBreakdown:h.deviceBreakdown.reduce((a,b)=>(a[b.device]=b.count,a),{}),countryBreakdown:{}};return u.NextResponse.json(j)}catch(a){return console.error("[Analytics Overview API] Error:",a),u.NextResponse.json({error:"Failed to fetch analytics overview"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/overview/route",pathname:"/api/analytics/[siteId]/overview",filename:"route",bundlePath:"app/api/analytics/[siteId]/overview/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/overview/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/analytics/[siteId]/overview/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=78632));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/overview/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/overview/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/analytics/[siteId]/overview/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/overview/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/overview/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/overview/route_client-reference-manifest.js index 46b56808881758bb2bf5afd54ef987d8e69ea763..3869b49ba8676604ba0c53c0e1afbe6d4278dbb1 100644 --- a/.next/server/app/api/analytics/[siteId]/overview/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/overview/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/overview/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/overview/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/overview/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/overview/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/route.js b/.next/server/app/api/analytics/[siteId]/route.js index 0001c593f0c7fb2ce4c2b1b979c4f6c303ca2abd..9748e3a5d515a82d6e4c56e073d3c05742b9bec8 100644 --- a/.next/server/app/api/analytics/[siteId]/route.js +++ b/.next/server/app/api/analytics/[siteId]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4975,e.ids=[4975],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(55511);let a={randomUUID:s.randomUUID},n=new Uint8Array(256),o=n.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>n.length-16&&((0,s.randomFillSync)(n),o=0),n.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69532:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>f,routeModule:()=>d,serverHooks:()=>g,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>c});var s={};r.r(s),r.d(s,{GET:()=>p});var a=r(96559),n=r(48088),o=r(37719),i=r(32190),u=r(30417);async function p(e,{params:t}){try{let{siteId:r}=await t,s=e.nextUrl.searchParams,a=parseInt(s.get("days")||"30",10),n=(0,u.q)();if(await n.init(),!await n.getSite(r))return i.NextResponse.json({error:"Site not found"},{status:404});let o=n.getSiteDatabaseForAnalytics(r);if(!o)return i.NextResponse.json({error:"Site database not enabled"},{status:404});let p=o.getStats(a),d=o.getTopPages(a,10),l=o.getTopReferrers(a,10),c=o.getPageviewsOverTime(a),g={totalPageviews:p.totalPageviews,uniqueVisitors:p.uniqueSessions,topPages:d,topReferrers:l.map(e=>({referrer:e.referrer,views:e.count})),countries:[],pageviewsOverTime:c.map(e=>({date:e.date,views:e.views}))};return i.NextResponse.json(g)}catch(e){return console.error("[Analytics API] Error fetching analytics:",e),i.NextResponse.json({error:"Failed to fetch analytics"},{status:500})}}let d=new a.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/route",pathname:"/api/analytics/[siteId]",filename:"route",bundlePath:"app/api/analytics/[siteId]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:l,workUnitAsyncStorage:c,serverHooks:g}=d;function f(){return(0,o.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:c})}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,9709],()=>r(69532));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=4975,a.ids=[4975],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29855:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>C,patchFetch:()=>B,routeModule:()=>x,serverHooks:()=>A,workAsyncStorage:()=>y,workUnitAsyncStorage:()=>z});var d={};c.r(d),c.d(d,{GET:()=>w});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778);async function w(a,{params:b}){try{let{siteId:c}=await b,d=a.nextUrl.searchParams,e=parseInt(d.get("days")||"30",10),f=(0,v.q)();if(await f.init(),!await f.getSite(c))return u.NextResponse.json({error:"Site not found"},{status:404});let g=f.getSiteDatabaseForAnalytics(c);if(!g)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let h=g.getStats(e),i=g.getTopPages(e,10),j=g.getTopReferrers(e,10),k=g.getPageviewsOverTime(e),l={totalPageviews:h.totalPageviews,uniqueVisitors:h.uniqueSessions,topPages:i,topReferrers:j.map(a=>({referrer:a.referrer,views:a.count})),countries:[],pageviewsOverTime:k.map(a=>({date:a.date,views:a.views}))};return u.NextResponse.json(l)}catch(a){return console.error("[Analytics API] Error fetching analytics:",a),u.NextResponse.json({error:"Failed to fetch analytics"},{status:500})}}let x=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/route",pathname:"/api/analytics/[siteId]",filename:"route",bundlePath:"app/api/analytics/[siteId]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:y,workUnitAsyncStorage:z,serverHooks:A}=x;function B(){return(0,g.patchFetch)({workAsyncStorage:y,workUnitAsyncStorage:z})}async function C(a,b,c){var d;let e="/api/analytics/[siteId]/route";"/index"===e&&(e="/");let g=await x.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!y){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||x.isDev||y||(G="/index"===(G=D)?"/":G);let H=!0===x.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>x.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>x.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await x.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await x.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await x.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=29855));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/route.js.nft.json index 356d70acea50c2b43d853db72da9bc8bd10c56df..4eac3c3a01f0d17750b936f83214f28fee8ade69 100644 --- a/.next/server/app/api/analytics/[siteId]/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/route_client-reference-manifest.js index d12b03c9ceac3a62a9257cfdfd6ec03f9599911a..44da42fcfbb0fbd6194172648367e0063773b878 100644 --- a/.next/server/app/api/analytics/[siteId]/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/sessions/route.js b/.next/server/app/api/analytics/[siteId]/sessions/route.js index cad036eb53dac36c54076ee52f8630f436d0f166..e4a27ca7309e7f66b8f5047a11048ccbd7011948 100644 --- a/.next/server/app/api/analytics/[siteId]/sessions/route.js +++ b/.next/server/app/api/analytics/[siteId]/sessions/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2133,e.ids=[2133],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let a={randomUUID:n.randomUUID},s=new Uint8Array(256),o=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>s.length-16&&((0,n.randomFillSync)(s),o=0),s.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>d,Ht:()=>p,gV:()=>l,jw:()=>u,oC:()=>c});var n=r(87806),a=r(77412),s=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let a=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(a)}async function l(e){try{let t=i(),{payload:r}=await (0,a.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function p(){let e=await (0,s.UL)(),t=e.get(o)?.value;return t?l(t):null}async function d(){(await (0,s.UL)()).delete(o)}async function c(){let e=await p();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},82658:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>m,routeModule:()=>d,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>g});var n={};r.r(n),r.d(n,{GET:()=>p});var a=r(96559),s=r(48088),o=r(37719),i=r(32190),u=r(50613),l=r(30417);async function p(e,{params:t}){try{if(!await (0,u.Ht)())return i.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:r}=await t,{searchParams:n}=new URL(e.url),a=n.get("dateFrom"),s=n.get("dateTo"),o=Math.min(parseInt(n.get("limit")||"100",10),1e3),p=(0,l.q)();if(await p.init(),!await p.getSite(r))return i.NextResponse.json({error:"Site not found"},{status:404});let d=p.getSiteDatabaseForAnalytics(r);if(!d)return i.NextResponse.json({error:"Site database not enabled"},{status:404});let c=d.getSessionsWithJourneys(a||void 0,s||void 0,o).map(e=>({sessionId:e.sessionId,pages:e.pages.map((t,r)=>({path:t.path,timestamp:t.timestamp,duration:r{e.pages.forEach((n,a)=>{if(r.set(n.path,(r.get(n.path)||0)+1),a({id:e,label:"/"===e?"Home":e,value:t})).sort((e,t)=>t.value-e.value).slice(0,20),a=new Set(n.map(e=>e.id));return{nodes:n,links:Array.from(t.entries()).map(([e,t])=>{let[r,n]=e.split("::");return{source:r,target:n,value:t}}).filter(e=>a.has(e.source)&&a.has(e.target)).sort((e,t)=>t.value-e.value)}}(c);return i.NextResponse.json({sessions:c,flowData:g,summary:{totalSessions:c.length,bounceRate:c.length>0?c.filter(e=>e.isBounce).length/c.length:0,averageDuration:c.length>0?c.reduce((e,t)=>e+t.totalDuration,0)/c.length:0,averagePageCount:c.length>0?c.reduce((e,t)=>e+t.pageCount,0)/c.length:0}})}catch(e){return console.error("[Analytics Sessions API] Error:",e),i.NextResponse.json({error:"Failed to fetch session data"},{status:500})}}let d=new a.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/sessions/route",pathname:"/api/analytics/[siteId]/sessions",filename:"route",bundlePath:"app/api/analytics/[siteId]/sessions/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/sessions/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:g,serverHooks:h}=d;function m(){return(0,o.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:g})}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(82658));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=2133,a.ids=[2133],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4325:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{if(!await (0,v.Ht)())return u.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:c}=await b,{searchParams:d}=new URL(a.url),e=d.get("dateFrom"),f=d.get("dateTo"),g=Math.min(parseInt(d.get("limit")||"100",10),1e3),h=(0,w.q)();if(await h.init(),!await h.getSite(c))return u.NextResponse.json({error:"Site not found"},{status:404});let i=h.getSiteDatabaseForAnalytics(c);if(!i)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let j=i.getSessionsWithJourneys(e||void 0,f||void 0,g).map(a=>({sessionId:a.sessionId,pages:a.pages.map((b,c)=>({path:b.path,timestamp:b.timestamp,duration:c{a.pages.forEach((d,e)=>{if(c.set(d.path,(c.get(d.path)||0)+1),e({id:a,label:"/"===a?"Home":a,value:b})).sort((a,b)=>b.value-a.value).slice(0,20),e=new Set(d.map(a=>a.id));return{nodes:d,links:Array.from(b.entries()).map(([a,b])=>{let[c,d]=a.split("::");return{source:c,target:d,value:b}}).filter(a=>e.has(a.source)&&e.has(a.target)).sort((a,b)=>b.value-a.value)}}(j);return u.NextResponse.json({sessions:j,flowData:k,summary:{totalSessions:j.length,bounceRate:j.length>0?j.filter(a=>a.isBounce).length/j.length:0,averageDuration:j.length>0?j.reduce((a,b)=>a+b.totalDuration,0)/j.length:0,averagePageCount:j.length>0?j.reduce((a,b)=>a+b.pageCount,0)/j.length:0}})}catch(a){return console.error("[Analytics Sessions API] Error:",a),u.NextResponse.json({error:"Failed to fetch session data"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/sessions/route",pathname:"/api/analytics/[siteId]/sessions",filename:"route",bundlePath:"app/api/analytics/[siteId]/sessions/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/sessions/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/analytics/[siteId]/sessions/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=4325));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/sessions/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/sessions/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/analytics/[siteId]/sessions/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/sessions/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/sessions/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/sessions/route_client-reference-manifest.js index a35b1771339b7dbe390546a8c4a5859c16c7f8b3..9f1c74acfb45a9693283341f4a691c29705de851 100644 --- a/.next/server/app/api/analytics/[siteId]/sessions/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/sessions/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/sessions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/sessions/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/sessions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/sessions/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/storage/route.js b/.next/server/app/api/analytics/[siteId]/storage/route.js index f727945fe49400a14a60bdc7da75d3fb5c82cbc2..0851bf0e0d5cee7fcb3bd7d06be68fa56d80fd75 100644 --- a/.next/server/app/api/analytics/[siteId]/storage/route.js +++ b/.next/server/app/api/analytics/[siteId]/storage/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=1497,e.ids=[1497],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let o={randomUUID:n.randomUUID},s=new Uint8Array(256),a=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(o.randomUUID&&!t&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(a>s.length-16&&((0,n.randomFillSync)(s),a=0),s.slice(a,a+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>p,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>c});var n=r(87806),o=r(77412),s=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let o=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(o)}async function d(e){try{let t=i(),{payload:r}=await (0,o.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,s.UL)(),t=e.get(a)?.value;return t?d(t):null}async function p(){(await (0,s.UL)()).delete(a)}async function c(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},96286:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>f,routeModule:()=>p,serverHooks:()=>x,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>g});var n={};r.r(n),r.d(n,{GET:()=>l});var o=r(96559),s=r(48088),a=r(37719),i=r(32190),u=r(50613),d=r(30417);async function l(e,{params:t}){try{if(!await (0,u.Ht)())return i.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:e}=await t,r=(0,d.q)();if(await r.init(),!await r.getSite(e))return i.NextResponse.json({error:"Site not found"},{status:404});let n=r.getSiteDatabaseForAnalytics(e);if(!n)return i.NextResponse.json({error:"Site database not enabled"},{status:404});let o=n.getAnalyticsStorageInfo(),s=200*o.pageviewCount/1048576,a=150*o.interactionCount/1048576,l=100*o.sessionCount/1048576,p=s+a+l,c={totalMB:parseFloat(p.toFixed(2)),breakdown:{pageviews:{count:o.pageviewCount,sizeMB:parseFloat(s.toFixed(2))},interactions:{count:o.interactionCount,sizeMB:parseFloat(a.toFixed(2))},sessions:{count:o.sessionCount,sizeMB:parseFloat(l.toFixed(2))}}};return i.NextResponse.json(c)}catch(e){return console.error("[Analytics Storage API] Error:",e),i.NextResponse.json({error:"Failed to get storage usage"},{status:500})}}let p=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/storage/route",pathname:"/api/analytics/[siteId]/storage",filename:"route",bundlePath:"app/api/analytics/[siteId]/storage/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/storage/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:c,workUnitAsyncStorage:g,serverHooks:x}=p;function f(){return(0,a.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:g})}}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(96286));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=1497,a.ids=[1497],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},83704:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a,{params:b}){try{if(!await (0,v.Ht)())return u.NextResponse.json({error:"Unauthorized"},{status:401});let{siteId:a}=await b,c=(0,w.q)();if(await c.init(),!await c.getSite(a))return u.NextResponse.json({error:"Site not found"},{status:404});let d=c.getSiteDatabaseForAnalytics(a);if(!d)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let e=d.getAnalyticsStorageInfo(),f=200*e.pageviewCount/1048576,g=150*e.interactionCount/1048576,h=100*e.sessionCount/1048576,i=f+g+h,j={totalMB:parseFloat(i.toFixed(2)),breakdown:{pageviews:{count:e.pageviewCount,sizeMB:parseFloat(f.toFixed(2))},interactions:{count:e.interactionCount,sizeMB:parseFloat(g.toFixed(2))},sessions:{count:e.sessionCount,sizeMB:parseFloat(h.toFixed(2))}}};return u.NextResponse.json(j)}catch(a){return console.error("[Analytics Storage API] Error:",a),u.NextResponse.json({error:"Failed to get storage usage"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/[siteId]/storage/route",pathname:"/api/analytics/[siteId]/storage",filename:"route",bundlePath:"app/api/analytics/[siteId]/storage/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/storage/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/analytics/[siteId]/storage/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=83704));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/storage/route.js.nft.json b/.next/server/app/api/analytics/[siteId]/storage/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/analytics/[siteId]/storage/route.js.nft.json +++ b/.next/server/app/api/analytics/[siteId]/storage/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/[siteId]/storage/route_client-reference-manifest.js b/.next/server/app/api/analytics/[siteId]/storage/route_client-reference-manifest.js index 2613b8cf120c7ceaee3d8acb7e014c984063ce8b..09860d784853e4fecfce3c3fab5dad90475c5c83 100644 --- a/.next/server/app/api/analytics/[siteId]/storage/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/[siteId]/storage/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/storage/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/storage/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/[siteId]/storage/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/[siteId]/storage/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/interaction/route.js b/.next/server/app/api/analytics/interaction/route.js index c3f197c49bb549665effa9fa7ee850460810dfe9..35100fa618e66c69e29279e7ffbb5ccd1eada20b 100644 --- a/.next/server/app/api/analytics/interaction/route.js +++ b/.next/server/app/api/analytics/interaction/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=8687,e.ids=[8687],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14938:(e,t,r)=>{r.d(t,{Cm:()=>a,F7:()=>s,fi:()=>i,iH:()=>o});class n{check(e,t){let r=Date.now();r-this.lastCleanup>this.CLEANUP_INTERVAL&&this.cleanup(t.windowMs);let n=(this.requests.get(e)||[]).filter(e=>r-e=t.limit)return!1;if(n.push(r),this.requests.set(e,n),this.requests.size>this.MAX_KEYS){let e=this.requests.keys().next().value;void 0!==e&&this.requests.delete(e)}return!0}getCount(e,t){let r=Date.now();return(this.requests.get(e)||[]).filter(e=>r-en-et-r{r.d(t,{A:()=>l});var n=r(55511);let s={randomUUID:n.randomUUID},i=new Uint8Array(256),o=i.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let l=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let l=(e=e||{}).random??e.rng?.()??(o>i.length-16&&((0,n.randomFillSync)(i),o=0),i.slice(o,o+=16));if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=l[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(l)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74551:(e,t,r)=>{r.d(t,{H6:()=>o,In:()=>s,TB:()=>n,iJ:()=>i}),r(55511);function n(e,t){let r=e.headers.get("origin")||"",n=e.headers.get("referer")||"";return t.some(e=>r.startsWith(e)||n.startsWith(e))}function s(e,t){let r=process.env.NEXT_PUBLIC_APP_URL||"http://localhost:3000",n=[`${r}/sites/${e}`,r];return r.includes("localhost")&&(n.push("http://localhost:3000"),n.push("http://127.0.0.1:3000")),t&&(n.push(`https://${t}`),n.push(`http://${t}`)),n}function i(e){if(!e)return!0;let t=e.toLowerCase();return["bot","crawl","spider","scrape","curl","wget","python","java","http","go-http-client","axios","fetch","node-fetch","requests","urllib","headless","phantom","selenium","puppeteer","playwright"].some(e=>t.includes(e))}function o(e){if(e.pagePath&&e.pagePath.length>500||e.referrer&&e.referrer.length>500||e.userAgent&&e.userAgent.length>500)return!0;let t=/(union|select|insert|update|delete|drop|create|alter)/i;return!!(e.pagePath&&t.test(e.pagePath)||e.referrer&&t.test(e.referrer))}},77026:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>y,routeModule:()=>f,serverHooks:()=>w,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>x});var n={};r.r(n),r.d(n,{POST:()=>p});var s=r(96559),i=r(48088),o=r(37719),a=r(32190),l=r(30417),u=r(14938),c=r(74551);async function p(e){try{let t=await e.json();if("batch"in t&&!0===t.batch)return g(e,t);let{siteId:r,pagePath:n,interactionType:s,elementSelector:i,coordinates:o,scrollDepth:p,timeOnPage:f,userAgent:m}=t,x=(0,u.Cm)(e);if(!u.fi.check(x,u.iH.interaction)){let e=u.fi.getResetTime(x,u.iH.interaction);return a.NextResponse.json({error:"Rate limit exceeded"},{status:429,headers:{"Retry-After":e.toString(),"X-RateLimit-Limit":u.iH.interaction.limit.toString(),"X-RateLimit-Remaining":"0"}})}if(!r||!n||!s)return a.NextResponse.json({error:"Missing required fields: siteId, pagePath, interactionType"},{status:400});if((0,c.H6)({pagePath:n,userAgent:m}))return console.warn("[Analytics Interaction] Suspicious request detected:",{siteId:r,pagePath:n,ip:x}),a.NextResponse.json({error:"Invalid request"},{status:400});if(m&&(0,c.iJ)(m))return a.NextResponse.json({success:!0});let w=(0,l.q)();await w.init();let y=await w.getSite(r);if(!y)return a.NextResponse.json({error:"Site not found"},{status:404});if(!y.analytics.enabled||"builtin"!==y.analytics.provider)return a.NextResponse.json({error:"Built-in analytics not enabled for this site"},{status:403});let R=w.getSiteDatabaseForAnalytics(r);if(!R)return a.NextResponse.json({error:"Site database not enabled"},{status:404});let v=y.analytics.features||{};if("click"===s&&!v.heatmaps)return a.NextResponse.json({error:"Heatmaps feature not enabled"},{status:403});if("scroll"===s&&!v.engagementTracking&&!v.heatmaps||"exit"===s&&!v.engagementTracking)return a.NextResponse.json({error:"Engagement tracking not enabled"},{status:403});let j=(0,c.In)(r,y.customDomain);if(!(0,c.TB)(e,j))return console.warn("[Analytics Interaction] Invalid origin (rejected):",{origin:e.headers.get("origin"),referer:e.headers.get("referer"),allowedOrigins:j,siteId:r,ip:x}),a.NextResponse.json({error:"Origin not allowed"},{status:403});let q=d(m||e.headers.get("user-agent")||"",e),b=h(n);return R.recordInteraction({sessionId:q,pagePath:b,interactionType:s,elementSelector:i,coordinates:o?{x:o.x,y:o.y,scrollY:o.scrollY,viewportWidth:o.viewportWidth,viewportHeight:o.viewportHeight,documentHeight:o.documentHeight}:void 0,scrollDepth:p,timeOnPage:f}),a.NextResponse.json({success:!0})}catch(e){return console.error("[Analytics Interaction API] Error:",e),a.NextResponse.json({error:"Failed to track interaction"},{status:500})}}function d(e,t){var r;let n=t.headers.get("x-forwarded-for"),s=(r=n?n.split(",")[0]:"")?r.includes(":")?r.split(":").slice(0,4).join(":")+"::":r.split(".").slice(0,2).join(".")+".0.0":"",i=`${e}|${s}|${new Date().toDateString()}`,o=0;for(let e=0;e100)return a.NextResponse.json({error:"Batch size exceeds maximum of 100 interactions"},{status:400});let n=(0,u.Cm)(e);if(!u.fi.check(n,u.iH.interaction)){let e=u.fi.getResetTime(n,u.iH.interaction);return a.NextResponse.json({error:"Rate limit exceeded"},{status:429,headers:{"Retry-After":e.toString(),"X-RateLimit-Limit":u.iH.interaction.limit.toString(),"X-RateLimit-Remaining":"0"}})}let{siteId:s,userAgent:i}=r[0];if(!s)return a.NextResponse.json({error:"Missing required field: siteId"},{status:400});if(i&&(0,c.iJ)(i))return a.NextResponse.json({success:!0});let o=(0,l.q)();await o.init();try{let t=await o.getSite(s);if(!t)return a.NextResponse.json({error:"Site not found"},{status:404});if(!t.analytics.enabled||"builtin"!==t.analytics.provider)return a.NextResponse.json({error:"Built-in analytics not enabled for this site"},{status:403});let i=o.getSiteDatabaseForAnalytics(s);if(!i)return a.NextResponse.json({error:"Site database not enabled"},{status:404});let l=(0,c.In)(s,t.customDomain);if(!(0,c.TB)(e,l))return console.warn("[Analytics Batch] Invalid origin (rejected):",{origin:e.headers.get("origin"),referer:e.headers.get("referer"),allowedOrigins:l,siteId:s,ip:n}),a.NextResponse.json({error:"Origin not allowed"},{status:403});let u=e.headers.get("user-agent")||"",p=0,g=0;for(let n of r){let{pagePath:r,interactionType:s,elementSelector:o,coordinates:a,scrollDepth:l,timeOnPage:f,userAgent:m}=n;if(!r||!s){g++;continue}let x=t.analytics.features||{};if("click"===s&&!x.heatmaps||"scroll"===s&&!x.engagementTracking&&!x.heatmaps||"exit"===s&&!x.engagementTracking||(0,c.H6)({pagePath:r,userAgent:m})){g++;continue}let w=d(m||u,e),y=h(r);try{i.recordInteraction({sessionId:w,pagePath:y,interactionType:s,elementSelector:o,coordinates:a?{x:a.x,y:a.y,scrollY:a.scrollY,viewportWidth:a.viewportWidth,viewportHeight:a.viewportHeight,documentHeight:a.documentHeight}:void 0,scrollDepth:l,timeOnPage:f}),p++}catch(e){console.error("[Analytics Batch] Error inserting interaction:",e),g++}}return a.NextResponse.json({success:!0,processed:p,skipped:g,total:r.length})}catch(e){return console.error("[Analytics Batch] Error processing batch:",e),a.NextResponse.json({error:"Failed to process batch interactions"},{status:500})}}let f=new s.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/analytics/interaction/route",pathname:"/api/analytics/interaction",filename:"route",bundlePath:"app/api/analytics/interaction/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/interaction/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:m,workUnitAsyncStorage:x,serverHooks:w}=f;function y(){return(0,o.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:x})}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,9709],()=>r(77026));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=8687,a.ids=[8687],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},37310:(a,b,c)=>{function d(a,b){let c=a.headers.get("origin")||"",d=a.headers.get("referer")||"";return b.some(a=>c.startsWith(a)||d.startsWith(a))}function e(a,b){let c=process.env.NEXT_PUBLIC_APP_URL||"http://localhost:3000",d=[`${c}/sites/${a}`,c];return c.includes("localhost")&&(d.push("http://localhost:3000"),d.push("http://127.0.0.1:3000")),b&&(d.push(`https://${b}`),d.push(`http://${b}`)),d}function f(a){if(!a)return!0;let b=a.toLowerCase();return["bot","crawl","spider","scrape","curl","wget","python","java","http","go-http-client","axios","fetch","node-fetch","requests","urllib","headless","phantom","selenium","puppeteer","playwright"].some(a=>b.includes(a))}function g(a){if(a.pagePath&&a.pagePath.length>500||a.referrer&&a.referrer.length>500||a.userAgent&&a.userAgent.length>500)return!0;let b=/(union|select|insert|update|delete|drop|create|alter)/i;return!!(a.pagePath&&b.test(a.pagePath)||a.referrer&&b.test(a.referrer))}c.d(b,{H6:()=>g,In:()=>e,TB:()=>d,iJ:()=>f}),c(55511)},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51987:(a,b,c)=>{c.d(b,{Cm:()=>h,F7:()=>e,fi:()=>f,iH:()=>g});class d{check(a,b){let c=Date.now();c-this.lastCleanup>this.CLEANUP_INTERVAL&&this.cleanup(b.windowMs);let d=(this.requests.get(a)||[]).filter(a=>c-a=b.limit)return!1;if(d.push(c),this.requests.set(a,d),this.requests.size>this.MAX_KEYS){let a=this.requests.keys().next().value;void 0!==a&&this.requests.delete(a)}return!0}getCount(a,b){let c=Date.now();return(this.requests.get(a)||[]).filter(a=>c-ad-ab-c{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},93527:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>H,patchFetch:()=>G,routeModule:()=>C,serverHooks:()=>F,workAsyncStorage:()=>D,workUnitAsyncStorage:()=>E});var d={};c.r(d),c.d(d,{POST:()=>y});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(51987),x=c(37310);async function y(a){try{let b=await a.json();if("batch"in b&&!0===b.batch)return B(a,b);let{siteId:c,pagePath:d,interactionType:e,elementSelector:f,coordinates:g,scrollDepth:h,timeOnPage:i,userAgent:j}=b,k=(0,w.Cm)(a);if(!w.fi.check(k,w.iH.interaction)){let a=w.fi.getResetTime(k,w.iH.interaction);return u.NextResponse.json({error:"Rate limit exceeded"},{status:429,headers:{"Retry-After":a.toString(),"X-RateLimit-Limit":w.iH.interaction.limit.toString(),"X-RateLimit-Remaining":"0"}})}if(!c||!d||!e)return u.NextResponse.json({error:"Missing required fields: siteId, pagePath, interactionType"},{status:400});if((0,x.H6)({pagePath:d,userAgent:j}))return console.warn("[Analytics Interaction] Suspicious request detected:",{siteId:c,pagePath:d,ip:k}),u.NextResponse.json({error:"Invalid request"},{status:400});if(j&&(0,x.iJ)(j))return u.NextResponse.json({success:!0});let l=(0,v.q)();await l.init();let m=await l.getSite(c);if(!m)return u.NextResponse.json({error:"Site not found"},{status:404});if(!m.analytics.enabled||"builtin"!==m.analytics.provider)return u.NextResponse.json({error:"Built-in analytics not enabled for this site"},{status:403});let n=l.getSiteDatabaseForAnalytics(c);if(!n)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let o=m.analytics.features||{};if("click"===e&&!o.heatmaps)return u.NextResponse.json({error:"Heatmaps feature not enabled"},{status:403});if("scroll"===e&&!o.engagementTracking&&!o.heatmaps||"exit"===e&&!o.engagementTracking)return u.NextResponse.json({error:"Engagement tracking not enabled"},{status:403});let p=(0,x.In)(c,m.customDomain);if(!(0,x.TB)(a,p))return console.warn("[Analytics Interaction] Invalid origin (rejected):",{origin:a.headers.get("origin"),referer:a.headers.get("referer"),allowedOrigins:p,siteId:c,ip:k}),u.NextResponse.json({error:"Origin not allowed"},{status:403});let q=z(j||a.headers.get("user-agent")||"",a),r=A(d);return n.recordInteraction({sessionId:q,pagePath:r,interactionType:e,elementSelector:f,coordinates:g?{x:g.x,y:g.y,scrollY:g.scrollY,viewportWidth:g.viewportWidth,viewportHeight:g.viewportHeight,documentHeight:g.documentHeight}:void 0,scrollDepth:h,timeOnPage:i}),u.NextResponse.json({success:!0})}catch(a){return console.error("[Analytics Interaction API] Error:",a),u.NextResponse.json({error:"Failed to track interaction"},{status:500})}}function z(a,b){var c;let d=b.headers.get("x-forwarded-for"),e=(c=d?d.split(",")[0]:"")?c.includes(":")?c.split(":").slice(0,4).join(":")+"::":c.split(".").slice(0,2).join(".")+".0.0":"",f=`${a}|${e}|${new Date().toDateString()}`,g=0;for(let a=0;a100)return u.NextResponse.json({error:"Batch size exceeds maximum of 100 interactions"},{status:400});let d=(0,w.Cm)(a);if(!w.fi.check(d,w.iH.interaction)){let a=w.fi.getResetTime(d,w.iH.interaction);return u.NextResponse.json({error:"Rate limit exceeded"},{status:429,headers:{"Retry-After":a.toString(),"X-RateLimit-Limit":w.iH.interaction.limit.toString(),"X-RateLimit-Remaining":"0"}})}let{siteId:e,userAgent:f}=c[0];if(!e)return u.NextResponse.json({error:"Missing required field: siteId"},{status:400});if(f&&(0,x.iJ)(f))return u.NextResponse.json({success:!0});let g=(0,v.q)();await g.init();try{let b=await g.getSite(e);if(!b)return u.NextResponse.json({error:"Site not found"},{status:404});if(!b.analytics.enabled||"builtin"!==b.analytics.provider)return u.NextResponse.json({error:"Built-in analytics not enabled for this site"},{status:403});let f=g.getSiteDatabaseForAnalytics(e);if(!f)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let h=(0,x.In)(e,b.customDomain);if(!(0,x.TB)(a,h))return console.warn("[Analytics Batch] Invalid origin (rejected):",{origin:a.headers.get("origin"),referer:a.headers.get("referer"),allowedOrigins:h,siteId:e,ip:d}),u.NextResponse.json({error:"Origin not allowed"},{status:403});let i=a.headers.get("user-agent")||"",j=0,k=0;for(let d of c){let{pagePath:c,interactionType:e,elementSelector:g,coordinates:h,scrollDepth:l,timeOnPage:m,userAgent:n}=d;if(!c||!e){k++;continue}let o=b.analytics.features||{};if("click"===e&&!o.heatmaps||"scroll"===e&&!o.engagementTracking&&!o.heatmaps||"exit"===e&&!o.engagementTracking||(0,x.H6)({pagePath:c,userAgent:n})){k++;continue}let p=z(n||i,a),q=A(c);try{f.recordInteraction({sessionId:p,pagePath:q,interactionType:e,elementSelector:g,coordinates:h?{x:h.x,y:h.y,scrollY:h.scrollY,viewportWidth:h.viewportWidth,viewportHeight:h.viewportHeight,documentHeight:h.documentHeight}:void 0,scrollDepth:l,timeOnPage:m}),j++}catch(a){console.error("[Analytics Batch] Error inserting interaction:",a),k++}}return u.NextResponse.json({success:!0,processed:j,skipped:k,total:c.length})}catch(a){return console.error("[Analytics Batch] Error processing batch:",a),u.NextResponse.json({error:"Failed to process batch interactions"},{status:500})}}let C=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/analytics/interaction/route",pathname:"/api/analytics/interaction",filename:"route",bundlePath:"app/api/analytics/interaction/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/interaction/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:D,workUnitAsyncStorage:E,serverHooks:F}=C;function G(){return(0,g.patchFetch)({workAsyncStorage:D,workUnitAsyncStorage:E})}async function H(a,b,c){var d;let e="/api/analytics/interaction/route";"/index"===e&&(e="/");let g=await C.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||C.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===C.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>C.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>C.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&B&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await C.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await C.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:B,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await C.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=93527));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/interaction/route.js.nft.json b/.next/server/app/api/analytics/interaction/route.js.nft.json index 356d70acea50c2b43d853db72da9bc8bd10c56df..4eac3c3a01f0d17750b936f83214f28fee8ade69 100644 --- a/.next/server/app/api/analytics/interaction/route.js.nft.json +++ b/.next/server/app/api/analytics/interaction/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/interaction/route_client-reference-manifest.js b/.next/server/app/api/analytics/interaction/route_client-reference-manifest.js index c1e56d1531b9fc42e8a5091ce2b233c038e42cdd..484f08ba101b7878ddfdd19728ea89c34557e4f3 100644 --- a/.next/server/app/api/analytics/interaction/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/interaction/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/interaction/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/interaction/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/interaction/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/interaction/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/analytics/track/route.js b/.next/server/app/api/analytics/track/route.js index f65bfe3e8c35f60bdd5d059bef9da36821a26999..97d98d7fdfb472e4dcc6239db4656352fe2e2283 100644 --- a/.next/server/app/api/analytics/track/route.js +++ b/.next/server/app/api/analytics/track/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3618,e.ids=[3618],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14938:(e,t,r)=>{r.d(t,{Cm:()=>o,F7:()=>i,fi:()=>n,iH:()=>a});class s{check(e,t){let r=Date.now();r-this.lastCleanup>this.CLEANUP_INTERVAL&&this.cleanup(t.windowMs);let s=(this.requests.get(e)||[]).filter(e=>r-e=t.limit)return!1;if(s.push(r),this.requests.set(e,s),this.requests.size>this.MAX_KEYS){let e=this.requests.keys().next().value;void 0!==e&&this.requests.delete(e)}return!0}getCount(e,t){let r=Date.now();return(this.requests.get(e)||[]).filter(e=>r-es-et-r{r.d(t,{A:()=>l});var s=r(55511);let i={randomUUID:s.randomUUID},n=new Uint8Array(256),a=n.length,o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));let l=function(e,t,r){if(i.randomUUID&&!t&&!e)return i.randomUUID();let l=(e=e||{}).random??e.rng?.()??(a>n.length-16&&((0,s.randomFillSync)(n),a=0),n.slice(a,a+=16));if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=l[e];return t}return function(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}(l)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74551:(e,t,r)=>{r.d(t,{H6:()=>a,In:()=>i,TB:()=>s,iJ:()=>n}),r(55511);function s(e,t){let r=e.headers.get("origin")||"",s=e.headers.get("referer")||"";return t.some(e=>r.startsWith(e)||s.startsWith(e))}function i(e,t){let r=process.env.NEXT_PUBLIC_APP_URL||"http://localhost:3000",s=[`${r}/sites/${e}`,r];return r.includes("localhost")&&(s.push("http://localhost:3000"),s.push("http://127.0.0.1:3000")),t&&(s.push(`https://${t}`),s.push(`http://${t}`)),s}function n(e){if(!e)return!0;let t=e.toLowerCase();return["bot","crawl","spider","scrape","curl","wget","python","java","http","go-http-client","axios","fetch","node-fetch","requests","urllib","headless","phantom","selenium","puppeteer","playwright"].some(e=>t.includes(e))}function a(e){if(e.pagePath&&e.pagePath.length>500||e.referrer&&e.referrer.length>500||e.userAgent&&e.userAgent.length>500)return!0;let t=/(union|select|insert|update|delete|drop|create|alter)/i;return!!(e.pagePath&&t.test(e.pagePath)||e.referrer&&t.test(e.referrer))}},87550:e=>{e.exports=require("better-sqlite3")},93988:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>m,routeModule:()=>h,serverHooks:()=>w,workAsyncStorage:()=>g,workUnitAsyncStorage:()=>f});var s={};r.r(s),r.d(s,{POST:()=>c});var i=r(96559),n=r(48088),a=r(37719),o=r(32190),l=r(30417),u=r(14938),p=r(74551);async function c(e){try{let{siteId:t,pagePath:r,referrer:s,userAgent:i,deviceType:n}=await e.json(),a=(0,u.Cm)(e);if(!u.F7.check(a,u.iH.pageview)){let e=u.F7.getResetTime(a,u.iH.pageview);return o.NextResponse.json({error:"Rate limit exceeded"},{status:429,headers:{"Retry-After":e.toString(),"X-RateLimit-Limit":u.iH.pageview.limit.toString(),"X-RateLimit-Remaining":"0"}})}if(!t||!r)return o.NextResponse.json({error:"Missing required fields: siteId, pagePath"},{status:400});if((0,p.H6)({pagePath:r,referrer:s,userAgent:i}))return console.warn("[Analytics] Suspicious request detected:",{siteId:t,pagePath:r,ip:a}),o.NextResponse.json({error:"Invalid request"},{status:400});if((0,p.iJ)(i))return o.NextResponse.json({success:!0});let c=(0,l.q)();await c.init();let h=await c.getSite(t);if(!h)return o.NextResponse.json({error:"Site not found"},{status:404});if(!h.analytics.enabled||"builtin"!==h.analytics.provider)return o.NextResponse.json({error:"Built-in analytics not enabled for this site"},{status:403});let g=c.getSiteDatabaseForAnalytics(t);if(!g)return o.NextResponse.json({error:"Site database not enabled"},{status:404});let f=(0,p.In)(t,h.customDomain);if(!(0,p.TB)(e,f))return console.warn("[Analytics] Invalid origin (rejected):",{origin:e.headers.get("origin"),referer:e.headers.get("referer"),allowedOrigins:f,siteId:t,ip:a}),o.NextResponse.json({error:"Origin not allowed"},{status:403});let w=function(e,t){var r;let s=t.headers.get("x-forwarded-for"),i=(r=s?s.split(",")[0]:"")?r.includes(":")?r.split(":").slice(0,4).join(":")+"::":r.split(".").slice(0,2).join(".")+".0.0":"",n=`${e}|${i}|${new Date().toDateString()}`,a=0;for(let e=0;et(t.s=e),s=t.X(0,[4447,580,9709],()=>r(93988));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=3618,a.ids=[3618],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},24162:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{POST:()=>y});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(51987),x=c(37310);async function y(a){try{let{siteId:b,pagePath:c,referrer:d,userAgent:e,deviceType:f}=await a.json(),g=(0,w.Cm)(a);if(!w.F7.check(g,w.iH.pageview)){let a=w.F7.getResetTime(g,w.iH.pageview);return u.NextResponse.json({error:"Rate limit exceeded"},{status:429,headers:{"Retry-After":a.toString(),"X-RateLimit-Limit":w.iH.pageview.limit.toString(),"X-RateLimit-Remaining":"0"}})}if(!b||!c)return u.NextResponse.json({error:"Missing required fields: siteId, pagePath"},{status:400});if((0,x.H6)({pagePath:c,referrer:d,userAgent:e}))return console.warn("[Analytics] Suspicious request detected:",{siteId:b,pagePath:c,ip:g}),u.NextResponse.json({error:"Invalid request"},{status:400});if((0,x.iJ)(e))return u.NextResponse.json({success:!0});let h=(0,v.q)();await h.init();let i=await h.getSite(b);if(!i)return u.NextResponse.json({error:"Site not found"},{status:404});if(!i.analytics.enabled||"builtin"!==i.analytics.provider)return u.NextResponse.json({error:"Built-in analytics not enabled for this site"},{status:403});let j=h.getSiteDatabaseForAnalytics(b);if(!j)return u.NextResponse.json({error:"Site database not enabled"},{status:404});let k=(0,x.In)(b,i.customDomain);if(!(0,x.TB)(a,k))return console.warn("[Analytics] Invalid origin (rejected):",{origin:a.headers.get("origin"),referer:a.headers.get("referer"),allowedOrigins:k,siteId:b,ip:g}),u.NextResponse.json({error:"Origin not allowed"},{status:403});let l=function(a,b){var c;let d=b.headers.get("x-forwarded-for"),e=(c=d?d.split(",")[0]:"")?c.includes(":")?c.split(":").slice(0,4).join(":")+"::":c.split(".").slice(0,2).join(".")+".0.0":"",f=`${a}|${e}|${new Date().toDateString()}`,g=0;for(let a=0;a{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},37310:(a,b,c)=>{function d(a,b){let c=a.headers.get("origin")||"",d=a.headers.get("referer")||"";return b.some(a=>c.startsWith(a)||d.startsWith(a))}function e(a,b){let c=process.env.NEXT_PUBLIC_APP_URL||"http://localhost:3000",d=[`${c}/sites/${a}`,c];return c.includes("localhost")&&(d.push("http://localhost:3000"),d.push("http://127.0.0.1:3000")),b&&(d.push(`https://${b}`),d.push(`http://${b}`)),d}function f(a){if(!a)return!0;let b=a.toLowerCase();return["bot","crawl","spider","scrape","curl","wget","python","java","http","go-http-client","axios","fetch","node-fetch","requests","urllib","headless","phantom","selenium","puppeteer","playwright"].some(a=>b.includes(a))}function g(a){if(a.pagePath&&a.pagePath.length>500||a.referrer&&a.referrer.length>500||a.userAgent&&a.userAgent.length>500)return!0;let b=/(union|select|insert|update|delete|drop|create|alter)/i;return!!(a.pagePath&&b.test(a.pagePath)||a.referrer&&b.test(a.referrer))}c.d(b,{H6:()=>g,In:()=>e,TB:()=>d,iJ:()=>f}),c(55511)},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51987:(a,b,c)=>{c.d(b,{Cm:()=>h,F7:()=>e,fi:()=>f,iH:()=>g});class d{check(a,b){let c=Date.now();c-this.lastCleanup>this.CLEANUP_INTERVAL&&this.cleanup(b.windowMs);let d=(this.requests.get(a)||[]).filter(a=>c-a=b.limit)return!1;if(d.push(c),this.requests.set(a,d),this.requests.size>this.MAX_KEYS){let a=this.requests.keys().next().value;void 0!==a&&this.requests.delete(a)}return!0}getCount(a,b){let c=Date.now();return(this.requests.get(a)||[]).filter(a=>c-ad-ab-c{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=24162));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/analytics/track/route.js.nft.json b/.next/server/app/api/analytics/track/route.js.nft.json index 356d70acea50c2b43d853db72da9bc8bd10c56df..4eac3c3a01f0d17750b936f83214f28fee8ade69 100644 --- a/.next/server/app/api/analytics/track/route.js.nft.json +++ b/.next/server/app/api/analytics/track/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/analytics/track/route_client-reference-manifest.js b/.next/server/app/api/analytics/track/route_client-reference-manifest.js index c0f92ae94a6500ad1183af29beded38920969abf..bbf1fcf3f17b60f56d7c9ffe1a539f85665dbe58 100644 --- a/.next/server/app/api/analytics/track/route_client-reference-manifest.js +++ b/.next/server/app/api/analytics/track/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/track/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/track/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/analytics/track/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/analytics/track/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/check/route.js b/.next/server/app/api/auth/check/route.js index 29ec1d934367b69bfbc0c2cea01b416e47a96d5a..7391f6edddeaad01e463e2a2c51786922cb8308c 100644 --- a/.next/server/app/api/auth/check/route.js +++ b/.next/server/app/api/auth/check/route.js @@ -1 +1 @@ -(()=>{var e={};e.id=521,e.ids=[521],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{"use strict";r.d(t,{C0:()=>d,Ht:()=>p,gV:()=>c,jw:()=>u,oC:()=>l});var s=r(87806),n=r(77412),a=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let n=i(),a=Math.floor((Date.now()+864e5)/1e3);return await new s.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(a).setIssuedAt().sign(n)}async function c(e){try{let t=i(),{payload:r}=await (0,n.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function p(){let e=await (0,a.UL)(),t=e.get(o)?.value;return t?c(t):null}async function d(){(await (0,a.UL)()).delete(o)}async function l(){let e=await p();if(!e)throw Error("Unauthorized");return e}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79322:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>h,routeModule:()=>p,serverHooks:()=>x,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>l});var s={};r.r(s),r.d(s,{GET:()=>c});var n=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(50613);async function c(){return await (0,u.Ht)()?i.NextResponse.json({authenticated:!0}):i.NextResponse.json({authenticated:!1},{status:401})}let p=new n.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/auth/check/route",pathname:"/api/auth/check",filename:"route",bundlePath:"app/api/auth/check/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/check/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:d,workUnitAsyncStorage:l,serverHooks:x}=p;function h(){return(0,o.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:l})}},96487:()=>{}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,5155],()=>r(79322));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=521,a.ids=[521],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},35436:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>C,patchFetch:()=>B,routeModule:()=>x,serverHooks:()=>A,workAsyncStorage:()=>y,workUnitAsyncStorage:()=>z});var d={};c.r(d),c.d(d,{GET:()=>w});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588);async function w(){return await (0,v.Ht)()?u.NextResponse.json({authenticated:!0}):u.NextResponse.json({authenticated:!1},{status:401})}let x=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/auth/check/route",pathname:"/api/auth/check",filename:"route",bundlePath:"app/api/auth/check/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/check/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:y,workUnitAsyncStorage:z,serverHooks:A}=x;function B(){return(0,g.patchFetch)({workAsyncStorage:y,workUnitAsyncStorage:z})}async function C(a,b,c){var d;let e="/api/auth/check/route";"/index"===e&&(e="/");let g=await x.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!y){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||x.isDev||y||(G="/index"===(G=D)?"/":G);let H=!0===x.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>x.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>x.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await x.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await x.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await x.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},39588:(a,b,c)=>{"use strict";c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151],()=>b(b.s=35436));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/auth/check/route.js.nft.json b/.next/server/app/api/auth/check/route.js.nft.json index 8f15290b17382a0b5c3b47af6706c568453c475d..685f8abf41ef45def439b258e0c08d78ae59f836 100644 --- a/.next/server/app/api/auth/check/route.js.nft.json +++ b/.next/server/app/api/auth/check/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/check/route_client-reference-manifest.js b/.next/server/app/api/auth/check/route_client-reference-manifest.js index c0ab447da0b81e3e9ca4e9864079e8fc227cd05b..fa18251cec4d6b1b2f09c4dad06b275a268300df 100644 --- a/.next/server/app/api/auth/check/route_client-reference-manifest.js +++ b/.next/server/app/api/auth/check/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/check/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/check/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/check/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/check/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/login/route.js b/.next/server/app/api/auth/login/route.js index 375768bcdd240e10e6eab3ce384634a7f8984cee..413375891dbfa0da7668a402c1864ab8ec55edf9 100644 --- a/.next/server/app/api/auth/login/route.js +++ b/.next/server/app/api/auth/login/route.js @@ -1 +1 @@ -(()=>{var e={};e.id=7758,e.ids=[7758],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32371:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>v,routeModule:()=>l,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>g});var n={};t.r(n),t.d(n,{POST:()=>c});var s=t(96559),o=t(48088),a=t(37719),i=t(32190),u=t(50613),d=t(66819);async function c(e){try{let r,{password:t}=await e.json();if(!t)return d.v.debug("[API /api/auth/login] No password provided"),i.NextResponse.json({error:"Password required"},{status:400});let n=process.env.ADMIN_PASSWORD;if(!n)return d.v.error("[API /api/auth/login] ADMIN_PASSWORD not configured in .env file"),i.NextResponse.json({error:"Authentication not configured. Please set ADMIN_PASSWORD in your .env file."},{status:500});if(t!==n)return d.v.debug("[API /api/auth/login] Invalid password attempt"),i.NextResponse.json({error:"Invalid password"},{status:401});try{r=await (0,u.jw)("admin","admin@localhost",!0)}catch(e){return d.v.error("[API /api/auth/login] Session creation error:",e),i.NextResponse.json({error:"Failed to create session. Check SESSION_SECRET environment variable."},{status:500})}d.v.debug("[API /api/auth/login] Login successful");let s=i.NextResponse.json({success:!0});return s.cookies.set("osw_session",r,{httpOnly:!0,secure:"false"!==process.env.SECURE_COOKIES,sameSite:"lax",maxAge:86400,path:"/"}),s}catch(e){return d.v.error("[API /api/auth/login] Error:",e),i.NextResponse.json({error:e instanceof Error?e.message:"Login failed"},{status:500})}}let l=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/auth/login/route",pathname:"/api/auth/login",filename:"route",bundlePath:"app/api/auth/login/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/login/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:p,workUnitAsyncStorage:g,serverHooks:f}=l;function v(){return(0,a.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:g})}},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,r,t)=>{"use strict";t.d(r,{C0:()=>l,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>p});var n=t(87806),s=t(77412),o=t(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,r,t=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:r,isAdmin:t}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function d(e){try{let r=i(),{payload:t}=await (0,s.V)(e,r);return{userId:t.userId,email:t.email,isAdmin:t.isAdmin,exp:t.exp}}catch(e){return null}}async function c(){let e=await (0,o.UL)(),r=e.get(a)?.value;return r?d(r):null}async function l(){(await (0,o.UL)()).delete(a)}async function p(){let e=await c();if(!e)throw Error("Unauthorized");return e}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,r,t)=>{"use strict";t.d(r,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function o(e){return n[s]<=n[e]}let a={debug:(...e)=>{o("debug")&&console.debug(...e)},info:(...e)=>{o("info")&&console.info(...e)},warn:(...e)=>{o("warn")&&console.warn(...e)},error:(...e)=>{o("error")&&console.error(...e)}}},78335:()=>{},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),n=r.X(0,[4447,580,5155],()=>t(32371));module.exports=n})(); \ No newline at end of file +(()=>{var a={};a.id=7758,a.ids=[7758],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},39588:(a,b,c)=>{"use strict";c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},75548:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(95012);async function x(a){try{let b,{password:c}=await a.json();if(!c)return w.v.debug("[API /api/auth/login] No password provided"),u.NextResponse.json({error:"Password required"},{status:400});let d=process.env.ADMIN_PASSWORD;if(!d)return w.v.error("[API /api/auth/login] ADMIN_PASSWORD not configured in .env file"),u.NextResponse.json({error:"Authentication not configured. Please set ADMIN_PASSWORD in your .env file."},{status:500});if(c!==d)return w.v.debug("[API /api/auth/login] Invalid password attempt"),u.NextResponse.json({error:"Invalid password"},{status:401});try{b=await (0,v.jw)("admin","admin@localhost",!0)}catch(a){return w.v.error("[API /api/auth/login] Session creation error:",a),u.NextResponse.json({error:"Failed to create session. Check SESSION_SECRET environment variable."},{status:500})}w.v.debug("[API /api/auth/login] Login successful");let e=u.NextResponse.json({success:!0});return e.cookies.set("osw_session",b,{httpOnly:!0,secure:"false"!==process.env.SECURE_COOKIES,sameSite:"lax",maxAge:86400,path:"/"}),e}catch(a){return w.v.error("[API /api/auth/login] Error:",a),u.NextResponse.json({error:a instanceof Error?a.message:"Login failed"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/auth/login/route",pathname:"/api/auth/login",filename:"route",bundlePath:"app/api/auth/login/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/login/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/auth/login/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},95012:(a,b,c)=>{"use strict";c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151],()=>b(b.s=75548));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/auth/login/route.js.nft.json b/.next/server/app/api/auth/login/route.js.nft.json index 8f15290b17382a0b5c3b47af6706c568453c475d..685f8abf41ef45def439b258e0c08d78ae59f836 100644 --- a/.next/server/app/api/auth/login/route.js.nft.json +++ b/.next/server/app/api/auth/login/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/login/route_client-reference-manifest.js b/.next/server/app/api/auth/login/route_client-reference-manifest.js index e865336c4b285b32225642210b9d69c1c135ca5e..1f38acfb9a82456ae0f6468b803168ed605f312f 100644 --- a/.next/server/app/api/auth/login/route_client-reference-manifest.js +++ b/.next/server/app/api/auth/login/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/login/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/login/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/login/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/login/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/logout/route.js b/.next/server/app/api/auth/logout/route.js index 0d42ab41dfe8d52b86023d8823504e985b24caa8..763dd3e4a7a17c2f40d6cdaaf2bb7a09af217711 100644 --- a/.next/server/app/api/auth/logout/route.js +++ b/.next/server/app/api/auth/logout/route.js @@ -1 +1 @@ -(()=>{var e={};e.id=8489,e.ids=[8489],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},27282:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>f,routeModule:()=>p,serverHooks:()=>g,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>w});var n={};r.r(n),r.d(n,{POST:()=>d});var o=r(96559),s=r(48088),a=r(37719),i=r(32190),u=r(50613),c=r(66819);async function d(){try{return await (0,u.C0)(),i.NextResponse.json({success:!0})}catch(e){return c.v.error("[API /api/auth/logout] Error:",e),i.NextResponse.json({error:e instanceof Error?e.message:"Logout failed"},{status:500})}}let p=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/auth/logout/route",pathname:"/api/auth/logout",filename:"route",bundlePath:"app/api/auth/logout/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/logout/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:l,workUnitAsyncStorage:w,serverHooks:g}=p;function f(){return(0,a.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:w})}},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{"use strict";r.d(t,{C0:()=>p,Ht:()=>d,gV:()=>c,jw:()=>u,oC:()=>l});var n=r(87806),o=r(77412),s=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let o=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(o)}async function c(e){try{let t=i(),{payload:r}=await (0,o.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function d(){let e=await (0,s.UL)(),t=e.get(a)?.value;return t?c(t):null}async function p(){(await (0,s.UL)()).delete(a)}async function l(){let e=await d();if(!e)throw Error("Unauthorized");return e}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},o="undefined"!=typeof process&&"warn"||"warn";function s(e){return n[o]<=n[e]}let a={debug:(...e)=>{s("debug")&&console.debug(...e)},info:(...e)=>{s("info")&&console.info(...e)},warn:(...e)=>{s("warn")&&console.warn(...e)},error:(...e)=>{s("error")&&console.error(...e)}}},78335:()=>{},96487:()=>{}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155],()=>r(27282));module.exports=n})(); \ No newline at end of file +(()=>{var a={};a.id=8489,a.ids=[8489],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},39588:(a,b,c)=>{"use strict";c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},84242:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(95012);async function x(){try{return await (0,v.C0)(),u.NextResponse.json({success:!0})}catch(a){return w.v.error("[API /api/auth/logout] Error:",a),u.NextResponse.json({error:a instanceof Error?a.message:"Logout failed"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/auth/logout/route",pathname:"/api/auth/logout",filename:"route",bundlePath:"app/api/auth/logout/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/logout/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/auth/logout/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},95012:(a,b,c)=>{"use strict";c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151],()=>b(b.s=84242));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/auth/logout/route.js.nft.json b/.next/server/app/api/auth/logout/route.js.nft.json index 8f15290b17382a0b5c3b47af6706c568453c475d..685f8abf41ef45def439b258e0c08d78ae59f836 100644 --- a/.next/server/app/api/auth/logout/route.js.nft.json +++ b/.next/server/app/api/auth/logout/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/logout/route_client-reference-manifest.js b/.next/server/app/api/auth/logout/route_client-reference-manifest.js index 4a723ee6357cda3949341b57433a5bf8b5fd56ec..ac81cb2cc6de5fc20b150cd1ef98cb67c639765c 100644 --- a/.next/server/app/api/auth/logout/route_client-reference-manifest.js +++ b/.next/server/app/api/auth/logout/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/logout/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/logout/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/logout/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/logout/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/me/route.js b/.next/server/app/api/auth/me/route.js index 63bd654bab1328c6ac77d366823e1e423be082b2..e8c44a66ee9c993a031b852440c6812918c61ff1 100644 --- a/.next/server/app/api/auth/me/route.js +++ b/.next/server/app/api/auth/me/route.js @@ -1 +1 @@ -(()=>{var e={};e.id=8673,e.ids=[8673],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{"use strict";r.d(t,{C0:()=>p,Ht:()=>c,gV:()=>d,jw:()=>u,oC:()=>l});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function d(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function c(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?d(t):null}async function p(){(await (0,o.UL)()).delete(a)}async function l(){let e=await c();if(!e)throw Error("Unauthorized");return e}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function o(e){return n[s]<=n[e]}let a={debug:(...e)=>{o("debug")&&console.debug(...e)},info:(...e)=>{o("info")&&console.info(...e)},warn:(...e)=>{o("warn")&&console.warn(...e)},error:(...e)=>{o("error")&&console.error(...e)}}},72238:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>f,routeModule:()=>p,serverHooks:()=>m,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>w});var n={};r.r(n),r.d(n,{GET:()=>c});var s=r(96559),o=r(48088),a=r(37719),i=r(32190),u=r(50613),d=r(66819);async function c(){try{let e=await (0,u.Ht)();if(!e)return i.NextResponse.json({authenticated:!1},{status:200});return i.NextResponse.json({authenticated:!0,user:{userId:e.userId,email:e.email,isAdmin:e.isAdmin}})}catch(e){return d.v.error("[API /api/auth/me] Error:",e),i.NextResponse.json({error:e instanceof Error?e.message:"Failed to get session"},{status:500})}}let p=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/auth/me/route",pathname:"/api/auth/me",filename:"route",bundlePath:"app/api/auth/me/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/me/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:l,workUnitAsyncStorage:w,serverHooks:m}=p;function f(){return(0,a.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:w})}},78335:()=>{},96487:()=>{}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155],()=>r(72238));module.exports=n})(); \ No newline at end of file +(()=>{var a={};a.id=8673,a.ids=[8673],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},39588:(a,b,c)=>{"use strict";c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},58957:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(95012);async function x(){try{let a=await (0,v.Ht)();if(!a)return u.NextResponse.json({authenticated:!1},{status:200});return u.NextResponse.json({authenticated:!0,user:{userId:a.userId,email:a.email,isAdmin:a.isAdmin}})}catch(a){return w.v.error("[API /api/auth/me] Error:",a),u.NextResponse.json({error:a instanceof Error?a.message:"Failed to get session"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/auth/me/route",pathname:"/api/auth/me",filename:"route",bundlePath:"app/api/auth/me/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/me/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/auth/me/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},95012:(a,b,c)=>{"use strict";c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151],()=>b(b.s=58957));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/auth/me/route.js.nft.json b/.next/server/app/api/auth/me/route.js.nft.json index 8f15290b17382a0b5c3b47af6706c568453c475d..685f8abf41ef45def439b258e0c08d78ae59f836 100644 --- a/.next/server/app/api/auth/me/route.js.nft.json +++ b/.next/server/app/api/auth/me/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/me/route_client-reference-manifest.js b/.next/server/app/api/auth/me/route_client-reference-manifest.js index bd1ede2c84d7e389625e3177ed65a049a63a2fd2..5901b268463f6201db73d3710026369ac3fbecb2 100644 --- a/.next/server/app/api/auth/me/route_client-reference-manifest.js +++ b/.next/server/app/api/auth/me/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/me/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/me/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/me/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/auth/me/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/docs/[...path]/route.js b/.next/server/app/api/docs/[...path]/route.js index 341813ce11e6f38d59ae954671dd9b3a5f0c6381..98192262ecd752deeab66724693e363c2f3decdc 100644 --- a/.next/server/app/api/docs/[...path]/route.js +++ b/.next/server/app/api/docs/[...path]/route.js @@ -1 +1 @@ -(()=>{var e={};e.id=6573,e.ids=[6573],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},96487:()=>{},97821:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>m,routeModule:()=>c,serverHooks:()=>h,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>x});var s={};r.r(s),r.d(s,{GET:()=>d});var o=r(96559),a=r(48088),n=r(37719),i=r(32190);let u=require("fs/promises");var p=r(33873);async function d(e,{params:t}){try{let{path:e}=await t,r=e.join("/");if(r.includes("..")||r.startsWith("/"))return i.NextResponse.json({error:"Invalid path"},{status:400});let s=(0,p.join)(process.cwd(),"docs",r),o=await (0,u.readFile)(s,"utf-8");return new i.NextResponse(o,{headers:{"Content-Type":"text/markdown; charset=utf-8","Cache-Control":"public, max-age=3600"}})}catch(e){if(console.error("[Docs API] Error reading file:",e),"ENOENT"===e.code)return i.NextResponse.json({error:"Document not found"},{status:404});return i.NextResponse.json({error:"Failed to read document"},{status:500})}}let c=new o.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/docs/[...path]/route",pathname:"/api/docs/[...path]",filename:"route",bundlePath:"app/api/docs/[...path]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/docs/[...path]/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:l,workUnitAsyncStorage:x,serverHooks:h}=c;function m(){return(0,n.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:x})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580],()=>r(97821));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=6573,a.ids=[6573],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10117:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641);let v=require("fs/promises");var w=c(33873);async function x(a,{params:b}){try{let{path:a}=await b,c=a.join("/");if(c.includes("..")||c.startsWith("/"))return u.NextResponse.json({error:"Invalid path"},{status:400});let d=(0,w.join)(process.cwd(),"docs",c),e=await (0,v.readFile)(d,"utf-8");return new u.NextResponse(e,{headers:{"Content-Type":"text/markdown; charset=utf-8","Cache-Control":"public, max-age=3600"}})}catch(a){if(console.error("[Docs API] Error reading file:",a),"ENOENT"===a.code)return u.NextResponse.json({error:"Document not found"},{status:404});return u.NextResponse.json({error:"Failed to read document"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/docs/[...path]/route",pathname:"/api/docs/[...path]",filename:"route",bundlePath:"app/api/docs/[...path]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/docs/[...path]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/docs/[...path]/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},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")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692],()=>b(b.s=10117));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/docs/[...path]/route.js.nft.json b/.next/server/app/api/docs/[...path]/route.js.nft.json index ff04668978b677df81f66d7a410db9a24a5a318e..a16c7bc0ffc06465571d975be245d84e385d03b7 100644 --- a/.next/server/app/api/docs/[...path]/route.js.nft.json +++ b/.next/server/app/api/docs/[...path]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../docs/DEPLOYING_SITES.md","../../../../../../docs/FAQ.md","../../../../../../docs/GETTING_STARTED.md","../../../../../../docs/OVERVIEW.md","../../../../../../docs/PROJECTS.md","../../../../../../docs/SERVER_FEATURES.md","../../../../../../docs/SERVER_MODE.md","../../../../../../docs/SITE_PUBLISHING.md","../../../../../../docs/SKILLS.md","../../../../../../docs/TEMPLATES.md","../../../../../../docs/TROUBLESHOOTING.md","../../../../../../docs/WHATS_NEW.md","../../../../../../docs/WORKING_WITH_AI.md","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../docs/DEPLOYING_SITES.md","../../../../../../docs/FAQ.md","../../../../../../docs/GETTING_STARTED.md","../../../../../../docs/OVERVIEW.md","../../../../../../docs/PROJECTS.md","../../../../../../docs/SERVER_FEATURES.md","../../../../../../docs/SERVER_MODE.md","../../../../../../docs/SITE_PUBLISHING.md","../../../../../../docs/SKILLS.md","../../../../../../docs/TEMPLATES.md","../../../../../../docs/TROUBLESHOOTING.md","../../../../../../docs/WHATS_NEW.md","../../../../../../docs/WORKING_WITH_AI.md","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/docs/[...path]/route_client-reference-manifest.js b/.next/server/app/api/docs/[...path]/route_client-reference-manifest.js index a060fcfe315da42ddf9e385d87098a901acd5205..fe13dd4af288847c0b08a78d0b9ff69dd8172949 100644 --- a/.next/server/app/api/docs/[...path]/route_client-reference-manifest.js +++ b/.next/server/app/api/docs/[...path]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/docs/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/docs/[...path]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/docs/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/docs/[...path]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/generate/route.js b/.next/server/app/api/generate/route.js index 5dc2b573c4db69ef61e066799822b20d72768c39..1dc8f2be18049d07d7a951112dc5330dcdea05fd 100644 --- a/.next/server/app/api/generate/route.js +++ b/.next/server/app/api/generate/route.js @@ -1,4 +1,4 @@ -(()=>{var e={};e.id=5435,e.ids=[5435],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14092:(e,t,o)=>{"use strict";o.d(t,{sO:()=>s});let r={openrouter:{id:"openrouter",name:"OpenRouter",description:"Access multiple AI models through a unified API",apiKeyRequired:!0,apiKeyPlaceholder:"sk-or-...",apiKeyHelpUrl:"https://openrouter.ai/keys",baseUrl:"https://openrouter.ai/api/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},openai:{id:"openai",name:"OpenAI",description:"GPT-4, GPT-3.5 and other OpenAI models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-...",apiKeyHelpUrl:"https://platform.openai.com/api-keys",baseUrl:"https://api.openai.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},anthropic:{id:"anthropic",name:"Anthropic",description:"Claude 3.5 Sonnet, Haiku and Opus models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-ant-...",apiKeyHelpUrl:"https://console.anthropic.com/settings/keys",baseUrl:"https://api.anthropic.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},groq:{id:"groq",name:"Groq",description:"Ultra-fast inference with Llama and Mixtral models",apiKeyRequired:!0,apiKeyPlaceholder:"gsk_...",apiKeyHelpUrl:"https://console.groq.com/keys",baseUrl:"https://api.groq.com/openai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},gemini:{id:"gemini",name:"Google Gemini",description:"Google's multimodal AI models",apiKeyRequired:!0,apiKeyPlaceholder:"AI...",apiKeyHelpUrl:"https://aistudio.google.com/apikey",baseUrl:"https://generativelanguage.googleapis.com/v1beta",models:[{id:"gemini-2.0-flash-exp",name:"Gemini 2.0 Flash",description:"Latest experimental Gemini model",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-pro",name:"Gemini 1.5 Pro",description:"Advanced reasoning and analysis",contextLength:2097152,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-flash",name:"Gemini 1.5 Flash",description:"Fast and versatile",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0}],supportsFunctions:!0,supportsStreaming:!0},ollama:{id:"ollama",name:"Ollama",description:"Run models locally with Ollama",apiKeyRequired:!1,baseUrl:"http://localhost:11434/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},lmstudio:{id:"lmstudio",name:"LM Studio",description:"Local model server with tool use support",apiKeyRequired:!1,baseUrl:"http://localhost:1234/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},sambanova:{id:"sambanova",name:"SambaNova",description:"High-performance AI chips for inference",apiKeyRequired:!0,apiKeyPlaceholder:"SambaNova API Key",apiKeyHelpUrl:"https://cloud.sambanova.ai/apis",baseUrl:"https://api.sambanova.ai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0}};function s(e){return r[e]}},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,t,o)=>{"use strict";o.d(t,{v:()=>a});let r={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function n(e){return r[s]<=r[e]}let a={debug:(...e)=>{n("debug")&&console.debug(...e)},info:(...e)=>{n("info")&&console.info(...e)},warn:(...e)=>{n("warn")&&console.warn(...e)},error:(...e)=>{n("error")&&console.error(...e)}}},78335:()=>{},90202:(e,t,o)=>{"use strict";o.r(t),o.d(t,{patchFetch:()=>f,routeModule:()=>d,serverHooks:()=>g,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>h});var r={};o.r(r),o.d(r,{POST:()=>c});var s=o(96559),n=o(48088),a=o(37719),i=o(32190),l=o(14092),p=o(66819);async function c(e){try{let{prompt:t,apiKey:o,model:r,tools:s,context:n,messages:a,tool_choice:c,provider:d,max_tokens:m,reasoning:h}=await e.json(),g=d||"openrouter",f=(0,l.sO)(g);if(!t&&!a)return i.NextResponse.json({error:"Either prompt or messages is required"},{status:400});if(f.apiKeyRequired&&!o)return i.NextResponse.json({error:`${f.name} API key is required. Please set it in settings.`},{status:400});let y=`You operate in a sandboxed virtual terminal. +(()=>{var a={};a.id=5435,a.ids=[5435],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20933:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{POST:()=>y});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(94729),w=c(95012);function x(a){let b=a.match(/^data:([^;]+);base64,(.+)$/);if(!b)throw Error("Invalid data URL format");return{mediaType:b[1],data:b[2]}}async function y(a){try{let{prompt:d,apiKey:e,model:f,tools:g,context:h,messages:i,tool_choice:j,provider:k,max_tokens:l,reasoning:m}=await a.json(),n=k||"openrouter",o=(0,v.sO)(n);if(!d&&!i)return u.NextResponse.json({error:"Either prompt or messages is required"},{status:400});if(o.apiKeyRequired&&!e)return u.NextResponse.json({error:`${o.name} API key is required. Please set it in settings.`},{status:400});let p=`You operate in a sandboxed virtual terminal. Guidelines: - Create semantic, accessible HTML5; modern CSS3; clean JS (ES6+). @@ -22,28 +22,28 @@ Habits: 2. Use "update" only for simple text changes without clear entity boundaries 3. Use "rewrite" for complete file replacement - AVOID large oldStr blocks (50+ lines) - use replace_entity instead for code blocks. -- Keep changes small and atomic.`;if(n?.fileTree&&(y+=` +- Keep changes small and atomic.`;if(h?.fileTree&&(p+=` Current project structure: -${n.fileTree}`),n?.existingFiles&&Array.isArray(n.existingFiles)&&(y+=` +${h.fileTree}`),h?.existingFiles&&Array.isArray(h.existingFiles)&&(p+=` Existing files (modify via json_patch; use mv/rm for structure): -${n.existingFiles.join("\n")}`),n?.mainFiles&&Object.keys(n.mainFiles).length>0)for(let[e,t]of(y+=` +${h.existingFiles.join("\n")}`),h?.mainFiles&&Object.keys(h.mainFiles).length>0)for(let[a,b]of(p+=` -Current file contents (use exact text when crafting json_patch operations):`,Object.entries(n.mainFiles))){let o=String(t),r=o.length>1e3?o.substring(0,1e3)+"\n... (truncated)":o;y+=` +Current file contents (use exact text when crafting json_patch operations):`,Object.entries(h.mainFiles))){let c=String(b),d=c.length>1e3?c.substring(0,1e3)+"\n... (truncated)":c;p+=` -=== ${e} === -${r}`}n?.instructions&&(y+=` +=== ${a} === +${d}`}h?.instructions&&(p+=` Additional instructions: -${n.instructions}`);let v=a||[{role:"system",content:y},{role:"user",content:t}];a&&!a.some(e=>"system"===e.role)&&v.unshift({role:"system",content:y});let x=function(e,t,o){let r=t.baseUrl||"https://openrouter.ai/api/v1";return"anthropic"===e?"https://api.anthropic.com/v1/messages":"gemini"===e?`https://generativelanguage.googleapis.com/v1beta/models/${o||"gemini-1.5-flash"}:generateContent`:`${r}/chat/completions`}(g,f,r),k=function(e,t,o,r){let s={"Content-Type":"application/json"};return"anthropic"===e?(s["x-api-key"]=t||"",s["anthropic-version"]="2023-06-01",r.supportsFunctions&&(s["anthropic-beta"]="tools-2024-04-04")):"gemini"===e||(t&&(s.Authorization=`Bearer ${t}`),"openrouter"===e&&(s["HTTP-Referer"]=o.headers.get("referer")||"http://localhost:3000",s["X-Title"]="OSW-Studio")),s}(g,o,e,f),b=v,w="";if("anthropic"===g){let e=v.find(e=>"system"===e.role);e&&(w=e.content),b=[];let t=null;for(let e of v)if("system"===e.role)continue;else if("tool"===e.role)t&&"user"===t.role?(Array.isArray(t.content)||(t={...t,content:[{type:"text",text:t.content}]}),t.content.push({type:"tool_result",tool_use_id:e.tool_call_id,content:e.content})):(t&&"user"===t.role&&b.push(t),t={role:"user",content:[{type:"tool_result",tool_use_id:e.tool_call_id,content:e.content}]});else{if(t&&"user"===t.role&&b.push(t),"assistant"===e.role&&e.tool_calls){let o=[];for(let t of(e.content&&o.push({type:"text",text:e.content}),e.tool_calls))o.push({type:"tool_use",id:t.id,name:t.function.name,input:JSON.parse(t.function.arguments||"{}")});t={role:"assistant",content:o}}else t=e.content||"assistant"!==e.role?{...e}:null;"user"!==e.role&&t&&(b.push(t),t=null)}t&&"user"===t.role&&b.push(t)}let _={model:r||u(g),messages:b,stream:!0};if("anthropic"===g&&w&&(_.system=w),s&&s.length>0){let e=s.filter(e=>e.name&&""!==e.name.trim()?(e.description||p.v.warn('[API] Tool missing "description" field:',e.name),e.parameters||p.v.warn('[API] Tool missing "parameters" field:',e.name),!0):(p.v.error('[API] Tool missing required "name" field:',e),!1));if(0===e.length)return i.NextResponse.json({error:"All tools are invalid. Tools must have a name field."},{status:400});"anthropic"===g?(_.tools=e.map(e=>({name:e.name,description:e.description,input_schema:e.parameters})),c&&"object"==typeof c?_.tool_choice=c:"auto"!==c&&c?"any"===c?_.tool_choice={type:"any"}:"string"==typeof c?_.tool_choice={type:"tool",name:c}:_.tool_choice={type:"auto"}:_.tool_choice={type:"auto"}):("ollama"===g?_.tools=e.map(e=>({type:"function",function:e})):_.tools=e.map(e=>({type:"function",function:e})),_.tool_choice=c||"auto")}"openai"===g?(_.max_completion_tokens=m||4096,(r||u(g)).includes("gpt-5-nano")?_.temperature=1:_.temperature=.7):(_.max_tokens=m||4096,_.temperature=.7);let A=r||"";A.includes("gemini")&&(A.includes("thinking")||A.includes("2.5")||A.includes("3-pro"))&&(_.reasoning={max_tokens:4096}),h&&"openrouter"===g&&(_.reasoning=h);let R=A.includes("deepseek")&&A.includes("v3.2");"openrouter"===g&&R&&(_.provider={order:["DeepSeek"],allow_fallbacks:!0});let S=await fetch(x,{method:"POST",headers:k,body:JSON.stringify(_)});if(!S.ok){let e=await S.text(),t=e;try{let o=JSON.parse(e);if(o.error?.message){if(t=o.error.message,o.error.metadata?.raw)try{let e=JSON.parse(o.error.metadata.raw);e.error?.message&&(t=`${o.error.message}: ${e.error.message}`)}catch{o.error.metadata.raw!==o.error.message&&(t=`${o.error.message} (${o.error.metadata.raw})`)}o.error.metadata?.provider_name&&(t=`[${o.error.metadata.provider_name}] ${t}`)}else"string"==typeof o.error&&(t=o.error);p.v.error("[API] Provider error details:",JSON.stringify(o,null,2))}catch{p.v.error("[API] Provider error (raw):",e)}let o={};if(429===S.status){let e=S.headers.get("Retry-After"),t=S.headers.get("X-RateLimit-Reset"),r=S.headers.get("X-RateLimit-Remaining");e&&(o["Retry-After"]=e),t&&(o["X-RateLimit-Reset"]=t),r&&(o["X-RateLimit-Remaining"]=r)}if("ollama"===g&&t.includes("does not support tools")&&s&&s.length>0){let e=y+` +${h.instructions}`);let q=i||[{role:"system",content:p},{role:"user",content:d}];i&&!i.some(a=>"system"===a.role)&&q.unshift({role:"system",content:p});let r=function(a,b,c){let d=b.baseUrl||"https://openrouter.ai/api/v1";return"anthropic"===a?"https://api.anthropic.com/v1/messages":"gemini"===a?`https://generativelanguage.googleapis.com/v1beta/models/${c||"gemini-1.5-flash"}:generateContent`:`${d}/chat/completions`}(n,o,f),s=function(a,b,c,d){let e={"Content-Type":"application/json"};return"anthropic"===a?(e["x-api-key"]=b||"",e["anthropic-version"]="2023-06-01",d.supportsFunctions&&(e["anthropic-beta"]="tools-2024-04-04")):"gemini"===a||(b&&(e.Authorization=`Bearer ${b}`),"openrouter"===a&&(e["HTTP-Referer"]=c.headers.get("referer")||"http://localhost:3000",e["X-Title"]="OSW-Studio")),e}(n,e,a,o),t=q,y="";if("anthropic"===n){var b,c;let a=q.find(a=>"system"===a.role);a&&(b=a.content,y="string"==typeof b?b:b.filter(a=>"text"===a.type).map(a=>a.text).join("\n")),t=[];let d=null;for(let a of q)if("system"===a.role)continue;else if("tool"===a.role)d&&"user"===d.role?(Array.isArray(d.content)||(d={...d,content:[{type:"text",text:d.content}]}),d.content.push({type:"tool_result",tool_use_id:a.tool_call_id,content:a.content})):(d&&"user"===d.role&&t.push(d),d={role:"user",content:[{type:"tool_result",tool_use_id:a.tool_call_id,content:a.content}]});else{if(d&&"user"===d.role&&t.push(d),"assistant"===a.role&&a.tool_calls){let b=[];for(let c of(a.content&&b.push({type:"text",text:a.content}),a.tool_calls))b.push({type:"tool_use",id:c.id,name:c.function.name,input:JSON.parse(c.function.arguments||"{}")});d={role:"assistant",content:b}}else d=a.content||"assistant"!==a.role?"user"===a.role&&"string"!=typeof a.content?{...a,content:(c=a.content,"string"==typeof c?c:c.map(a=>{if("text"===a.type)return{type:"text",text:a.text};let{mediaType:b,data:c}=x(a.image_url.url);return{type:"image",source:{type:"base64",media_type:b,data:c}}}))}:{...a}:null;"user"!==a.role&&d&&(t.push(d),d=null)}d&&"user"===d.role&&t.push(d)}let A=[];if("ollama"===n){let{processedMessages:a,images:b}=function(a){let b=[];return{processedMessages:a.map(a=>{if("string"==typeof a.content)return a;let c=a.content.filter(a=>"text"===a.type);for(let c of a.content.filter(a=>"image_url"===a.type))try{let{data:a}=x(c.image_url.url);b.push(a)}catch{w.v.warn("[API] Failed to parse image data URL for Ollama")}return{...a,content:c.map(a=>a.text).join("\n")}}),images:b}}(t);t=a,A=b}let B={model:f||z(n),messages:t,stream:!0};if("ollama"===n&&A.length>0&&(B.images=A),"anthropic"===n&&y&&(B.system=y),g&&g.length>0){let a=g.filter(a=>a.name&&""!==a.name.trim()?(a.description||w.v.warn('[API] Tool missing "description" field:',a.name),a.parameters||w.v.warn('[API] Tool missing "parameters" field:',a.name),!0):(w.v.error('[API] Tool missing required "name" field:',a),!1));if(0===a.length)return u.NextResponse.json({error:"All tools are invalid. Tools must have a name field."},{status:400});"anthropic"===n?(B.tools=a.map(a=>({name:a.name,description:a.description,input_schema:a.parameters})),j&&"object"==typeof j?B.tool_choice=j:"auto"!==j&&j?"any"===j?B.tool_choice={type:"any"}:"string"==typeof j?B.tool_choice={type:"tool",name:j}:B.tool_choice={type:"auto"}:B.tool_choice={type:"auto"}):("ollama"===n?B.tools=a.map(a=>({type:"function",function:a})):B.tools=a.map(a=>({type:"function",function:a})),B.tool_choice=j||"auto")}"openai"===n?(B.max_completion_tokens=l||4096,(f||z(n)).includes("gpt-5-nano")?B.temperature=1:B.temperature=.7):(B.max_tokens=l||4096,B.temperature=.7);let C=f||"";C.includes("gemini")&&(C.includes("thinking")||C.includes("2.5")||C.includes("3-pro"))&&(B.reasoning={max_tokens:4096}),m&&"openrouter"===n&&(B.reasoning=m);let D=C.includes("deepseek")&&C.includes("v3.2");"openrouter"===n&&D&&(B.provider={order:["DeepSeek"],allow_fallbacks:!0});let E=await fetch(r,{method:"POST",headers:s,body:JSON.stringify(B)});if(!E.ok){let a=await E.text(),b=a;try{let c=JSON.parse(a);if(c.error?.message){if(b=c.error.message,c.error.metadata?.raw)try{let a=JSON.parse(c.error.metadata.raw);a.error?.message&&(b=`${c.error.message}: ${a.error.message}`)}catch{c.error.metadata.raw!==c.error.message&&(b=`${c.error.message} (${c.error.metadata.raw})`)}c.error.metadata?.provider_name&&(b=`[${c.error.metadata.provider_name}] ${b}`)}else"string"==typeof c.error&&(b=c.error);w.v.error("[API] Provider error details:",JSON.stringify(c,null,2))}catch{w.v.error("[API] Provider error (raw):",a)}let c={};if(429===E.status){let a=E.headers.get("Retry-After"),b=E.headers.get("X-RateLimit-Reset"),d=E.headers.get("X-RateLimit-Remaining");a&&(c["Retry-After"]=a),b&&(c["X-RateLimit-Reset"]=b),d&&(c["X-RateLimit-Remaining"]=d)}if("ollama"===n&&b.includes("does not support tools")&&g&&g.length>0){let a=p+` IMPORTANT: This model doesn't support native function calling, so you must use JSON format for tool calls. Available tools: -${s.map(e=>` -- ${e.name}: ${e.description} - Parameters: ${JSON.stringify(e.parameters,null,2)} +${g.map(a=>` +- ${a.name}: ${a.description} + Parameters: ${JSON.stringify(a.parameters,null,2)} `).join("")} When you need to use a tool, respond with: @@ -61,4 +61,4 @@ When you need to use a tool, respond with: } \`\`\` -You can make multiple tool calls in a single response. Always include the tool_calls array even for a single tool call.`,t=[...v],r=t.findIndex(e=>"system"===e.role);r>=0&&(t[r].content=e);let n={..._,messages:t};delete n.tools,delete n.tool_choice;let a=await fetch(x,{method:"POST",headers:o,body:JSON.stringify(n)});if(!a.ok){let e=await a.text();return i.NextResponse.json({error:`${f.name} API error (after fallback): ${e}`},{status:a.status})}return new Response(a.body,{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","X-Tool-Fallback":"json-parsing"}})}return i.NextResponse.json({error:`${f.name} API error: ${t}`},{status:S.status,headers:o})}let P={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"};if("openrouter"===g)for(let e of["x-openrouter-generation-id","x-openrouter-usage","x-openrouter-tokens","x-openrouter-cost"]){let t=S.headers.get(e);t&&(P[e]=t)}return new Response(S.body,{headers:P})}catch(r){let e=r instanceof Error?r.message:"Unknown error",t=/fetch failed|Failed to fetch|NetworkError/i.test(e),o=t?"Network error: unable to reach the model API. Check your internet connection or proxy settings.":e;return i.NextResponse.json({error:o},{status:t?503:500})}}function u(e){switch(e){case"openrouter":default:return"deepseek/deepseek-chat";case"openai":return"gpt-4o-mini";case"anthropic":return"claude-3-5-haiku-20241022";case"groq":return"llama-3.3-70b-versatile";case"gemini":return"gemini-1.5-flash";case"ollama":return"llama3.2:latest";case"lmstudio":return"qwen/qwen3-4b-thinking-2507";case"sambanova":return"Meta-Llama-3.3-70B-Instruct"}}let d=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/generate/route",pathname:"/api/generate",filename:"route",bundlePath:"app/api/generate/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/generate/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:m,workUnitAsyncStorage:h,serverHooks:g}=d;function f(){return(0,a.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:h})}},96487:()=>{}};var t=require("../../../webpack-runtime.js");t.C(e);var o=e=>t(t.s=e),r=t.X(0,[4447,580],()=>o(90202));module.exports=r})(); \ No newline at end of file +You can make multiple tool calls in a single response. Always include the tool_calls array even for a single tool call.`,b=[...q],d=b.findIndex(a=>"system"===a.role);d>=0&&(b[d].content=a);let e={...B,messages:b};delete e.tools,delete e.tool_choice;let f=await fetch(r,{method:"POST",headers:c,body:JSON.stringify(e)});if(!f.ok){let a=await f.text();return u.NextResponse.json({error:`${o.name} API error (after fallback): ${a}`},{status:f.status})}return new Response(f.body,{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive","X-Tool-Fallback":"json-parsing"}})}return u.NextResponse.json({error:`${o.name} API error: ${b}`},{status:E.status,headers:c})}let F={"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"};if("openrouter"===n)for(let a of["x-openrouter-generation-id","x-openrouter-usage","x-openrouter-tokens","x-openrouter-cost"]){let b=E.headers.get(a);b&&(F[a]=b)}return new Response(E.body,{headers:F})}catch(d){let a=d instanceof Error?d.message:"Unknown error",b=/fetch failed|Failed to fetch|NetworkError/i.test(a),c=b?"Network error: unable to reach the model API. Check your internet connection or proxy settings.":a;return u.NextResponse.json({error:c},{status:b?503:500})}}function z(a){switch(a){case"openrouter":default:return"deepseek/deepseek-chat";case"openai":return"gpt-4o-mini";case"anthropic":return"claude-3-5-haiku-20241022";case"groq":return"llama-3.3-70b-versatile";case"gemini":return"gemini-1.5-flash";case"ollama":return"llama3.2:latest";case"lmstudio":return"qwen/qwen3-4b-thinking-2507";case"sambanova":return"Meta-Llama-3.3-70B-Instruct"}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/generate/route",pathname:"/api/generate",filename:"route",bundlePath:"app/api/generate/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/generate/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/generate/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},94729:(a,b,c)=>{"use strict";c.d(b,{sO:()=>e});let d={openrouter:{id:"openrouter",name:"OpenRouter",description:"Access multiple AI models through a unified API",apiKeyRequired:!0,apiKeyPlaceholder:"sk-or-...",apiKeyHelpUrl:"https://openrouter.ai/keys",baseUrl:"https://openrouter.ai/api/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},openai:{id:"openai",name:"OpenAI",description:"GPT-4, GPT-3.5 and other OpenAI models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-...",apiKeyHelpUrl:"https://platform.openai.com/api-keys",baseUrl:"https://api.openai.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},anthropic:{id:"anthropic",name:"Anthropic",description:"Claude 3.5 Sonnet, Haiku and Opus models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-ant-...",apiKeyHelpUrl:"https://console.anthropic.com/settings/keys",baseUrl:"https://api.anthropic.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},groq:{id:"groq",name:"Groq",description:"Ultra-fast inference with Llama and Mixtral models",apiKeyRequired:!0,apiKeyPlaceholder:"gsk_...",apiKeyHelpUrl:"https://console.groq.com/keys",baseUrl:"https://api.groq.com/openai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},gemini:{id:"gemini",name:"Google Gemini",description:"Google's multimodal AI models",apiKeyRequired:!0,apiKeyPlaceholder:"AI...",apiKeyHelpUrl:"https://aistudio.google.com/apikey",baseUrl:"https://generativelanguage.googleapis.com/v1beta",models:[{id:"gemini-2.0-flash-exp",name:"Gemini 2.0 Flash",description:"Latest experimental Gemini model",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-pro",name:"Gemini 1.5 Pro",description:"Advanced reasoning and analysis",contextLength:2097152,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-flash",name:"Gemini 1.5 Flash",description:"Fast and versatile",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0}],supportsFunctions:!0,supportsStreaming:!0},ollama:{id:"ollama",name:"Ollama",description:"Run models locally with Ollama",apiKeyRequired:!1,baseUrl:"http://localhost:11434/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},lmstudio:{id:"lmstudio",name:"LM Studio",description:"Local model server with tool use support",apiKeyRequired:!1,baseUrl:"http://localhost:1234/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},sambanova:{id:"sambanova",name:"SambaNova",description:"High-performance AI chips for inference",apiKeyRequired:!0,apiKeyPlaceholder:"SambaNova API Key",apiKeyHelpUrl:"https://cloud.sambanova.ai/apis",baseUrl:"https://api.sambanova.ai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0}};function e(a){return d[a]}},95012:(a,b,c)=>{"use strict";c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692],()=>b(b.s=20933));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/generate/route.js.nft.json b/.next/server/app/api/generate/route.js.nft.json index 35b51ae9d0f39de4c28f8c6549c739b99d9765e7..5f67b25f0e83d2ba25e19010861069fd47f2ae52 100644 --- a/.next/server/app/api/generate/route.js.nft.json +++ b/.next/server/app/api/generate/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1692.js","../../../chunks/4586.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/generate/route_client-reference-manifest.js b/.next/server/app/api/generate/route_client-reference-manifest.js index be4ac06d7befe04d7bbce230d4c791e385949faa..b687fdfad1bd723575b4848e4f83f33d5ed77e1e 100644 --- a/.next/server/app/api/generate/route_client-reference-manifest.js +++ b/.next/server/app/api/generate/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/generate/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/generate/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/generate/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/generate/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/models/route.js b/.next/server/app/api/models/route.js index e13f31d0b06e891c8299d022ae3a48134440a592..70c3f36b5aa2127a99c96ff702b9a0f34ad5b21b 100644 --- a/.next/server/app/api/models/route.js +++ b/.next/server/app/api/models/route.js @@ -1 +1 @@ -(()=>{var e={};e.id=552,e.ids=[552],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14092:(e,t,o)=>{"use strict";o.d(t,{sO:()=>s});let r={openrouter:{id:"openrouter",name:"OpenRouter",description:"Access multiple AI models through a unified API",apiKeyRequired:!0,apiKeyPlaceholder:"sk-or-...",apiKeyHelpUrl:"https://openrouter.ai/keys",baseUrl:"https://openrouter.ai/api/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},openai:{id:"openai",name:"OpenAI",description:"GPT-4, GPT-3.5 and other OpenAI models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-...",apiKeyHelpUrl:"https://platform.openai.com/api-keys",baseUrl:"https://api.openai.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},anthropic:{id:"anthropic",name:"Anthropic",description:"Claude 3.5 Sonnet, Haiku and Opus models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-ant-...",apiKeyHelpUrl:"https://console.anthropic.com/settings/keys",baseUrl:"https://api.anthropic.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},groq:{id:"groq",name:"Groq",description:"Ultra-fast inference with Llama and Mixtral models",apiKeyRequired:!0,apiKeyPlaceholder:"gsk_...",apiKeyHelpUrl:"https://console.groq.com/keys",baseUrl:"https://api.groq.com/openai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},gemini:{id:"gemini",name:"Google Gemini",description:"Google's multimodal AI models",apiKeyRequired:!0,apiKeyPlaceholder:"AI...",apiKeyHelpUrl:"https://aistudio.google.com/apikey",baseUrl:"https://generativelanguage.googleapis.com/v1beta",models:[{id:"gemini-2.0-flash-exp",name:"Gemini 2.0 Flash",description:"Latest experimental Gemini model",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-pro",name:"Gemini 1.5 Pro",description:"Advanced reasoning and analysis",contextLength:2097152,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-flash",name:"Gemini 1.5 Flash",description:"Fast and versatile",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0}],supportsFunctions:!0,supportsStreaming:!0},ollama:{id:"ollama",name:"Ollama",description:"Run models locally with Ollama",apiKeyRequired:!1,baseUrl:"http://localhost:11434/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},lmstudio:{id:"lmstudio",name:"LM Studio",description:"Local model server with tool use support",apiKeyRequired:!1,baseUrl:"http://localhost:1234/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},sambanova:{id:"sambanova",name:"SambaNova",description:"High-performance AI chips for inference",apiKeyRequired:!0,apiKeyPlaceholder:"SambaNova API Key",apiKeyHelpUrl:"https://cloud.sambanova.ai/apis",baseUrl:"https://api.sambanova.ai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0}};function s(e){return r[e]}},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,t,o)=>{"use strict";o.d(t,{v:()=>i});let r={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function a(e){return r[s]<=r[e]}let i={debug:(...e)=>{a("debug")&&console.debug(...e)},info:(...e)=>{a("info")&&console.info(...e)},warn:(...e)=>{a("warn")&&console.warn(...e)},error:(...e)=>{a("error")&&console.error(...e)}}},72080:(e,t,o)=>{"use strict";o.r(t),o.d(t,{patchFetch:()=>g,routeModule:()=>u,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>m});var r={};o.r(r),o.d(r,{POST:()=>d});var s=o(96559),a=o(48088),i=o(37719),n=o(32190),p=o(14092),l=o(66819);async function d(e){try{let{apiKey:t,provider:o}=await e.json();if(!o)return n.NextResponse.json({error:"Provider is required"},{status:400});let r=(0,p.sO)(o);if(r.apiKeyRequired&&!t)return n.NextResponse.json({models:[]});let s=[];try{switch(o){case"openrouter":let a=await fetch("https://openrouter.ai/api/v1/models",{headers:{Authorization:`Bearer ${t}`,"HTTP-Referer":e.headers.get("referer")||"http://localhost:3000","X-Title":"OSW-Studio"}});if(a.ok){let e=await a.json();s=e.data?.filter(e=>e.id.includes("deepseek")||e.id.includes("qwen")||e.id.includes("claude")||e.id.includes("gpt")||e.id.includes("llama"))?.map(e=>e.id)||[]}break;case"anthropic":let i=await fetch("https://api.anthropic.com/v1/models",{headers:{"x-api-key":t,"anthropic-version":"2023-06-01"}});if(i.ok){let e=await i.json();s=e.data?.map(e=>e.id)||[]}break;case"openai":let n=await fetch("https://api.openai.com/v1/models",{headers:{Authorization:`Bearer ${t}`}});if(n.ok){let e=await n.json();s=e.data?.map(e=>e.id)||[]}break;case"groq":let p=await fetch("https://api.groq.com/openai/v1/models",{headers:{Authorization:`Bearer ${t}`}});if(p.ok){let e=await p.json();s=e.data?.map(e=>e.id)||[]}break;case"ollama":try{let e=await fetch("http://localhost:11434/api/tags");if(e.ok){let t=await e.json();s=t.models?.map(e=>e.name)||[]}}catch(e){l.v.error("Ollama models fetch error:",e)}break;case"lmstudio":try{let e=await fetch(`${r.baseUrl}/models`);if(e.ok){let t=await e.json();s=t.data?.map(e=>e.id)||[]}}catch(e){l.v.error("LM Studio models fetch error:",e)}break;case"gemini":s=r.models?.map(e=>e.id)||[];break;default:if(r.baseUrl&&t){let e=await fetch(`${r.baseUrl}/models`,{headers:{Authorization:`Bearer ${t}`,"Content-Type":"application/json"}});if(e.ok){let t=await e.json();s=t.data?.map(e=>e.id)||[]}}}}catch(e){l.v.error(`Error fetching models for ${o}:`,e),r.models&&(s=r.models.map(e=>e.id))}return n.NextResponse.json({models:s})}catch(e){return l.v.error("Models API error:",e),n.NextResponse.json({models:[]})}}let u=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/models/route",pathname:"/api/models",filename:"route",bundlePath:"app/api/models/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/models/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:c,workUnitAsyncStorage:m,serverHooks:h}=u;function g(){return(0,i.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:m})}},78335:()=>{},96487:()=>{}};var t=require("../../../webpack-runtime.js");t.C(e);var o=e=>t(t.s=e),r=t.X(0,[4447,580],()=>o(72080));module.exports=r})(); \ No newline at end of file +(()=>{var a={};a.id=552,a.ids=[552],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},89774:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(94729),w=c(95012);async function x(a){try{let{apiKey:b,provider:c}=await a.json();if(!c)return u.NextResponse.json({error:"Provider is required"},{status:400});let d=(0,v.sO)(c);if(d.apiKeyRequired&&!b)return u.NextResponse.json({models:[]});let e=[];try{switch(c){case"openrouter":let f=await fetch("https://openrouter.ai/api/v1/models",{headers:{Authorization:`Bearer ${b}`,"HTTP-Referer":a.headers.get("referer")||"http://localhost:3000","X-Title":"OSW-Studio"}});if(f.ok){let a=await f.json();e=a.data?.filter(a=>a.id.includes("deepseek")||a.id.includes("qwen")||a.id.includes("claude")||a.id.includes("gpt")||a.id.includes("llama"))?.map(a=>a.id)||[]}break;case"anthropic":let g=await fetch("https://api.anthropic.com/v1/models",{headers:{"x-api-key":b,"anthropic-version":"2023-06-01"}});if(g.ok){let a=await g.json();e=a.data?.map(a=>a.id)||[]}break;case"openai":let h=await fetch("https://api.openai.com/v1/models",{headers:{Authorization:`Bearer ${b}`}});if(h.ok){let a=await h.json();e=a.data?.map(a=>a.id)||[]}break;case"groq":let i=await fetch("https://api.groq.com/openai/v1/models",{headers:{Authorization:`Bearer ${b}`}});if(i.ok){let a=await i.json();e=a.data?.map(a=>a.id)||[]}break;case"ollama":try{let a=await fetch("http://localhost:11434/api/tags");if(a.ok){let b=await a.json();e=b.models?.map(a=>a.name)||[]}}catch(a){w.v.error("Ollama models fetch error:",a)}break;case"lmstudio":try{let a=await fetch(`${d.baseUrl}/models`);if(a.ok){let b=await a.json();e=b.data?.map(a=>a.id)||[]}}catch(a){w.v.error("LM Studio models fetch error:",a)}break;case"gemini":e=d.models?.map(a=>a.id)||[];break;default:if(d.baseUrl&&b){let a=await fetch(`${d.baseUrl}/models`,{headers:{Authorization:`Bearer ${b}`,"Content-Type":"application/json"}});if(a.ok){let b=await a.json();e=b.data?.map(a=>a.id)||[]}}}}catch(a){w.v.error(`Error fetching models for ${c}:`,a),d.models&&(e=d.models.map(a=>a.id))}return u.NextResponse.json({models:e})}catch(a){return w.v.error("Models API error:",a),u.NextResponse.json({models:[]})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/models/route",pathname:"/api/models",filename:"route",bundlePath:"app/api/models/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/models/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/models/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},94729:(a,b,c)=>{"use strict";c.d(b,{sO:()=>e});let d={openrouter:{id:"openrouter",name:"OpenRouter",description:"Access multiple AI models through a unified API",apiKeyRequired:!0,apiKeyPlaceholder:"sk-or-...",apiKeyHelpUrl:"https://openrouter.ai/keys",baseUrl:"https://openrouter.ai/api/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},openai:{id:"openai",name:"OpenAI",description:"GPT-4, GPT-3.5 and other OpenAI models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-...",apiKeyHelpUrl:"https://platform.openai.com/api-keys",baseUrl:"https://api.openai.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},anthropic:{id:"anthropic",name:"Anthropic",description:"Claude 3.5 Sonnet, Haiku and Opus models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-ant-...",apiKeyHelpUrl:"https://console.anthropic.com/settings/keys",baseUrl:"https://api.anthropic.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},groq:{id:"groq",name:"Groq",description:"Ultra-fast inference with Llama and Mixtral models",apiKeyRequired:!0,apiKeyPlaceholder:"gsk_...",apiKeyHelpUrl:"https://console.groq.com/keys",baseUrl:"https://api.groq.com/openai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},gemini:{id:"gemini",name:"Google Gemini",description:"Google's multimodal AI models",apiKeyRequired:!0,apiKeyPlaceholder:"AI...",apiKeyHelpUrl:"https://aistudio.google.com/apikey",baseUrl:"https://generativelanguage.googleapis.com/v1beta",models:[{id:"gemini-2.0-flash-exp",name:"Gemini 2.0 Flash",description:"Latest experimental Gemini model",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-pro",name:"Gemini 1.5 Pro",description:"Advanced reasoning and analysis",contextLength:2097152,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-flash",name:"Gemini 1.5 Flash",description:"Fast and versatile",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0}],supportsFunctions:!0,supportsStreaming:!0},ollama:{id:"ollama",name:"Ollama",description:"Run models locally with Ollama",apiKeyRequired:!1,baseUrl:"http://localhost:11434/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},lmstudio:{id:"lmstudio",name:"LM Studio",description:"Local model server with tool use support",apiKeyRequired:!1,baseUrl:"http://localhost:1234/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},sambanova:{id:"sambanova",name:"SambaNova",description:"High-performance AI chips for inference",apiKeyRequired:!0,apiKeyPlaceholder:"SambaNova API Key",apiKeyHelpUrl:"https://cloud.sambanova.ai/apis",baseUrl:"https://api.sambanova.ai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0}};function e(a){return d[a]}},95012:(a,b,c)=>{"use strict";c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692],()=>b(b.s=89774));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/models/route.js.nft.json b/.next/server/app/api/models/route.js.nft.json index 35b51ae9d0f39de4c28f8c6549c739b99d9765e7..5f67b25f0e83d2ba25e19010861069fd47f2ae52 100644 --- a/.next/server/app/api/models/route.js.nft.json +++ b/.next/server/app/api/models/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1692.js","../../../chunks/4586.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/models/route_client-reference-manifest.js b/.next/server/app/api/models/route_client-reference-manifest.js index 8c563507a830221295f1d13e7303b99ae53fdcbe..ed1249eec1748af6dab97dac673d1619b1a57ba8 100644 --- a/.next/server/app/api/models/route_client-reference-manifest.js +++ b/.next/server/app/api/models/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/models/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/models/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/models/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/models/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/projects/[id]/sites/route.js b/.next/server/app/api/projects/[id]/sites/route.js index 11781a317158f290e2cf07f2c65e9720dfaa6321..6cf4b18de42cfe0a9f4b63bc6e0411fe6c2e4939 100644 --- a/.next/server/app/api/projects/[id]/sites/route.js +++ b/.next/server/app/api/projects/[id]/sites/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=1471,e.ids=[1471],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12843:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>f,routeModule:()=>d,serverHooks:()=>x,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>c});var s={};t.r(s),t.d(s,{GET:()=>p});var o=t(96559),n=t(48088),i=t(37719),a=t(32190),u=t(30417);async function p(e,{params:r}){try{let{id:e}=await r;if(!e)return a.NextResponse.json({error:"Project ID is required"},{status:400});let t=await (0,u.B)();if(await t.init(),!await t.getProject(e))return await t.close?.(),a.NextResponse.json({error:"Project not found"},{status:404});let s=await t.listSitesByProject?.(e)||[];return await t.close?.(),a.NextResponse.json({sites:s})}catch(e){return console.error("[Projects Sites API] Error listing sites:",e),a.NextResponse.json({error:"Failed to list sites for project"},{status:500})}}let d=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/projects/[id]/sites/route",pathname:"/api/projects/[id]/sites",filename:"route",bundlePath:"app/api/projects/[id]/sites/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/[id]/sites/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:l,workUnitAsyncStorage:c,serverHooks:x}=d;function f(){return(0,i.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:c})}},23870:(e,r,t)=>{t.d(r,{A:()=>u});var s=t(55511);let o={randomUUID:s.randomUUID},n=new Uint8Array(256),i=n.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let u=function(e,r,t){if(o.randomUUID&&!r&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(i>n.length-16&&((0,s.randomFillSync)(n),i=0),n.slice(i,i+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,r){if((t=t||0)<0||t+16>r.length)throw RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[t+e]=u[e];return r}return function(e,r=0){return(a[e[r+0]]+a[e[r+1]]+a[e[r+2]]+a[e[r+3]]+"-"+a[e[r+4]]+a[e[r+5]]+"-"+a[e[r+6]]+a[e[r+7]]+"-"+a[e[r+8]]+a[e[r+9]]+"-"+a[e[r+10]]+a[e[r+11]]+a[e[r+12]]+a[e[r+13]]+a[e[r+14]]+a[e[r+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4447,580,9709],()=>t(12843));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=1471,a.ids=[1471],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27991:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>C,patchFetch:()=>B,routeModule:()=>x,serverHooks:()=>A,workAsyncStorage:()=>y,workUnitAsyncStorage:()=>z});var d={};c.r(d),c.d(d,{GET:()=>w});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778);async function w(a,{params:b}){try{let{id:a}=await b;if(!a)return u.NextResponse.json({error:"Project ID is required"},{status:400});let c=await (0,v.B)();if(await c.init(),!await c.getProject(a))return await c.close?.(),u.NextResponse.json({error:"Project not found"},{status:404});let d=await c.listSitesByProject?.(a)||[];return await c.close?.(),u.NextResponse.json({sites:d})}catch(a){return console.error("[Projects Sites API] Error listing sites:",a),u.NextResponse.json({error:"Failed to list sites for project"},{status:500})}}let x=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/projects/[id]/sites/route",pathname:"/api/projects/[id]/sites",filename:"route",bundlePath:"app/api/projects/[id]/sites/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/[id]/sites/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:y,workUnitAsyncStorage:z,serverHooks:A}=x;function B(){return(0,g.patchFetch)({workAsyncStorage:y,workUnitAsyncStorage:z})}async function C(a,b,c){var d;let e="/api/projects/[id]/sites/route";"/index"===e&&(e="/");let g=await x.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!y){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||x.isDev||y||(G="/index"===(G=D)?"/":G);let H=!0===x.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>x.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>x.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await x.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await x.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await x.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=27991));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/projects/[id]/sites/route.js.nft.json b/.next/server/app/api/projects/[id]/sites/route.js.nft.json index 9b3a8af3ffa899356353fd178254ec9059e79629..089f7c8a5e74f98fa79ededab8a16a30372a1253 100644 --- a/.next/server/app/api/projects/[id]/sites/route.js.nft.json +++ b/.next/server/app/api/projects/[id]/sites/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/projects/[id]/sites/route_client-reference-manifest.js b/.next/server/app/api/projects/[id]/sites/route_client-reference-manifest.js index e207fdea3ea820ce07b5c9ec9b1c50acc43a4d3f..cae3a544fc3514967e6303d4cab6fd7aedc14064 100644 --- a/.next/server/app/api/projects/[id]/sites/route_client-reference-manifest.js +++ b/.next/server/app/api/projects/[id]/sites/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/[id]/sites/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/[id]/sites/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/[id]/sites/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/[id]/sites/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/projects/route.js b/.next/server/app/api/projects/route.js index a3ed578ea62d9bc5beb7ca9e4b4f213e3659af7d..1063349b0c3340efa6300ab86fd71ed6df610398 100644 --- a/.next/server/app/api/projects/route.js +++ b/.next/server/app/api/projects/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=64,e.ids=[64],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,r,t)=>{t.d(r,{A:()=>u});var n=t(55511);let o={randomUUID:n.randomUUID},s=new Uint8Array(256),a=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,r,t){if(o.randomUUID&&!r&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(a>s.length-16&&((0,n.randomFillSync)(s),a=0),s.slice(a,a+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,r){if((t=t||0)<0||t+16>r.length)throw RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[t+e]=u[e];return r}return function(e,r=0){return(i[e[r+0]]+i[e[r+1]]+i[e[r+2]]+i[e[r+3]]+"-"+i[e[r+4]]+i[e[r+5]]+"-"+i[e[r+6]]+i[e[r+7]]+"-"+i[e[r+8]]+i[e[r+9]]+"-"+i[e[r+10]]+i[e[r+11]]+i[e[r+12]]+i[e[r+13]]+i[e[r+14]]+i[e[r+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34264:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>x,routeModule:()=>c,serverHooks:()=>g,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>w});var n={};t.r(n),t.d(n,{GET:()=>l});var o=t(96559),s=t(48088),a=t(37719),i=t(32190),u=t(50613),p=t(30417),d=t(66819);async function l(e){try{await (0,u.oC)();let r=await (0,p.B)();await r.init();let{searchParams:t}=new URL(e.url),n=t.get("fields"),o=n?n.split(",").map(e=>e.trim()):void 0,s=await r.listProjects(o);return await r.close?.(),i.NextResponse.json(s)}catch(e){if(d.v.error("[API /api/projects] ❌ Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to fetch projects"},{status:500})}}let c=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/projects/route",pathname:"/api/projects",filename:"route",bundlePath:"app/api/projects/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:f,workUnitAsyncStorage:w,serverHooks:g}=c;function x(){return(0,a.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:w})}},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,r,t)=>{t.d(r,{C0:()=>l,Ht:()=>d,gV:()=>p,jw:()=>u,oC:()=>c});var n=t(87806),o=t(77412),s=t(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,r,t=!0){let o=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:r,isAdmin:t}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(o)}async function p(e){try{let r=i(),{payload:t}=await (0,o.V)(e,r);return{userId:t.userId,email:t.email,isAdmin:t.isAdmin,exp:t.exp}}catch(e){return null}}async function d(){let e=await (0,s.UL)(),r=e.get(a)?.value;return r?p(r):null}async function l(){(await (0,s.UL)()).delete(a)}async function c(){let e=await d();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,r,t)=>{t.d(r,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},o="undefined"!=typeof process&&"warn"||"warn";function s(e){return n[o]<=n[e]}let a={debug:(...e)=>{s("debug")&&console.debug(...e)},info:(...e)=>{s("info")&&console.info(...e)},warn:(...e)=>{s("warn")&&console.warn(...e)},error:(...e)=>{s("error")&&console.error(...e)}}},87550:e=>{e.exports=require("better-sqlite3")}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),n=r.X(0,[4447,580,5155,9709],()=>t(34264));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=64,a.ids=[64],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},38338:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>y});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778),x=c(95012);async function y(a){try{await (0,v.oC)();let b=await (0,w.B)();await b.init();let{searchParams:c}=new URL(a.url),d=c.get("fields"),e=d?d.split(",").map(a=>a.trim()):void 0,f=await b.listProjects(e);return await b.close?.(),u.NextResponse.json(f)}catch(a){if(x.v.error("[API /api/projects] ❌ Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to fetch projects"},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/projects/route",pathname:"/api/projects",filename:"route",bundlePath:"app/api/projects/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){var d;let e="/api/projects/route";"/index"===e&&(e="/");let g=await z.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||z.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===z.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>z.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>z.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=38338));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/projects/route.js.nft.json b/.next/server/app/api/projects/route.js.nft.json index ca993b8a20437d0fbcfdcbdbd4e8c33ff7bfd0b6..6f17bd1773c72b4691ffd85403900f4a65dfd40b 100644 --- a/.next/server/app/api/projects/route.js.nft.json +++ b/.next/server/app/api/projects/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/4447.js","../../../chunks/5155.js","../../../chunks/580.js","../../../chunks/9709.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/1692.js","../../../chunks/4586.js","../../../chunks/6151.js","../../../chunks/726.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/projects/route_client-reference-manifest.js b/.next/server/app/api/projects/route_client-reference-manifest.js index 01acbca4447cf72f1cca6a19b7b6411d2cc8dd2e..2e2e6ebe4fd07c2185544dee7ef9f59d9a51a36e 100644 --- a/.next/server/app/api/projects/route_client-reference-manifest.js +++ b/.next/server/app/api/projects/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/projects/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/projects/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/shell/execute/route.js b/.next/server/app/api/shell/execute/route.js index 93ccfd4e949aaa76af6f2194a69774640b8e925d..38574313a0ab12af977c9f55e5a1f3cc19947755 100644 --- a/.next/server/app/api/shell/execute/route.js +++ b/.next/server/app/api/shell/execute/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9552,e.ids=[9552],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(55511);let o={randomUUID:s.randomUUID},n=new Uint8Array(256),i=n.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(o.randomUUID&&!t&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(i>n.length-16&&((0,s.randomFillSync)(n),i=0),n.slice(i,i+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>c,Ht:()=>l,gV:()=>d,jw:()=>u,oC:()=>p});var s=r(87806),o=r(77412),n=r(44999);let i="osw_session";function a(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let o=a(),n=Math.floor((Date.now()+864e5)/1e3);return await new s.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(n).setIssuedAt().sign(o)}async function d(e){try{let t=a(),{payload:r}=await (0,o.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function l(){let e=await (0,n.UL)(),t=e.get(i)?.value;return t?d(t):null}async function c(){(await (0,n.UL)()).delete(i)}async function p(){let e=await l();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},60012:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>m,routeModule:()=>p,serverHooks:()=>h,workAsyncStorage:()=>x,workUnitAsyncStorage:()=>f});var s={};r.r(s),r.d(s,{POST:()=>l});var o=r(96559),n=r(48088),i=r(37719),a=r(32190),u=r(50613),d=r(30417);async function l(e){try{await (0,u.oC)();let{siteId:t,cmd:r}=await e.json();if(!t||"string"!=typeof t)return a.NextResponse.json({stdout:"",stderr:"siteId is required",exitCode:1},{status:400});if(!r||!Array.isArray(r)||0===r.length)return a.NextResponse.json({stdout:"",stderr:"cmd array is required",exitCode:1},{status:400});let s=r[0];if("sqlite3"===s)return c(t,r);return a.NextResponse.json({stdout:"",stderr:`${s}: not supported on server`,exitCode:1})}catch(e){if(e instanceof Error&&"Unauthorized"===e.message)return a.NextResponse.json({stdout:"",stderr:"Unauthorized",exitCode:1},{status:401});return console.error("[Shell Execute API] Error:",e),a.NextResponse.json({stdout:"",stderr:e instanceof Error?e.message:"Server error",exitCode:1},{status:500})}}async function c(e,t){try{let r=(0,d.q)();if(await r.init(),!await r.getSite?.(e))return a.NextResponse.json({stdout:"",stderr:"sqlite3: site not found",exitCode:1});let s=r.getSiteDatabaseForAnalytics(e);if(!s)return a.NextResponse.json({stdout:"",stderr:"sqlite3: site database not available",exitCode:1});let o=t.includes("-json"),n=t.slice(1).find(e=>!e.startsWith("-"));if(!n)return a.NextResponse.json({stdout:"",stderr:"sqlite3: no query provided",exitCode:1});let i=s.executeUserQuery(n);if(i.error)return a.NextResponse.json({stdout:"",stderr:`sqlite3: ${i.error}`,exitCode:1});let u="",l=n.trim().toUpperCase().startsWith("SELECT");if(o){let e=i.rows.map(e=>{let t={};return i.columns.forEach((r,s)=>{t[r]=e[s]}),t});u=JSON.stringify(e,null,2)}else u=i.rows.length>0?i.columns.length>0?i.columns.join("|")+"\n"+i.rows.map(e=>e.join("|")).join("\n"):i.rows.map(e=>e.join("|")).join("\n"):l?i.columns.length>0?i.columns.join("|")+"\n(0 rows)":"(0 rows)":i.rowsAffected>0?`${i.rowsAffected} row(s) affected`:"OK";return a.NextResponse.json({stdout:u,stderr:"",exitCode:0})}catch(e){return console.error("[Shell Execute API] sqlite3 error:",e),a.NextResponse.json({stdout:"",stderr:`sqlite3: ${e instanceof Error?e.message:"execution failed"}`,exitCode:1})}}let p=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/shell/execute/route",pathname:"/api/shell/execute",filename:"route",bundlePath:"app/api/shell/execute/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/shell/execute/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:x,workUnitAsyncStorage:f,serverHooks:h}=p;function m(){return(0,i.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:f})}},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,5155,9709],()=>r(60012));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=9552,a.ids=[9552],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31313:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(39588),w=c(97778);async function x(a){try{await (0,v.oC)();let{siteId:b,cmd:c}=await a.json();if(!b||"string"!=typeof b)return u.NextResponse.json({stdout:"",stderr:"siteId is required",exitCode:1},{status:400});if(!c||!Array.isArray(c)||0===c.length)return u.NextResponse.json({stdout:"",stderr:"cmd array is required",exitCode:1},{status:400});let d=c[0];if("sqlite3"===d)return y(b,c);return u.NextResponse.json({stdout:"",stderr:`${d}: not supported on server`,exitCode:1})}catch(a){if(a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({stdout:"",stderr:"Unauthorized",exitCode:1},{status:401});return console.error("[Shell Execute API] Error:",a),u.NextResponse.json({stdout:"",stderr:a instanceof Error?a.message:"Server error",exitCode:1},{status:500})}}async function y(a,b){try{let c=(0,w.q)();if(await c.init(),!await c.getSite?.(a))return u.NextResponse.json({stdout:"",stderr:"sqlite3: site not found",exitCode:1});let d=c.getSiteDatabaseForAnalytics(a);if(!d)return u.NextResponse.json({stdout:"",stderr:"sqlite3: site database not available",exitCode:1});let e=b.includes("-json"),f=b.slice(1).find(a=>!a.startsWith("-"));if(!f)return u.NextResponse.json({stdout:"",stderr:"sqlite3: no query provided",exitCode:1});let g=d.executeUserQuery(f);if(g.error)return u.NextResponse.json({stdout:"",stderr:`sqlite3: ${g.error}`,exitCode:1});let h="",i=f.trim().toUpperCase().startsWith("SELECT");if(e){let a=g.rows.map(a=>{let b={};return g.columns.forEach((c,d)=>{b[c]=a[d]}),b});h=JSON.stringify(a,null,2)}else h=g.rows.length>0?g.columns.length>0?g.columns.join("|")+"\n"+g.rows.map(a=>a.join("|")).join("\n"):g.rows.map(a=>a.join("|")).join("\n"):i?g.columns.length>0?g.columns.join("|")+"\n(0 rows)":"(0 rows)":g.rowsAffected>0?`${g.rowsAffected} row(s) affected`:"OK";return u.NextResponse.json({stdout:h,stderr:"",exitCode:0})}catch(a){return console.error("[Shell Execute API] sqlite3 error:",a),u.NextResponse.json({stdout:"",stderr:`sqlite3: ${a instanceof Error?a.message:"execution failed"}`,exitCode:1})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/shell/execute/route",pathname:"/api/shell/execute",filename:"route",bundlePath:"app/api/shell/execute/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/shell/execute/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){var d;let e="/api/shell/execute/route";"/index"===e&&(e="/");let g=await z.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||z.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===z.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>z.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>z.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=31313));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/shell/execute/route.js.nft.json b/.next/server/app/api/shell/execute/route.js.nft.json index 2c9183da5b50e05825422aa5df1827327eeb10a8..6c94e5cb3fe0486dbe372f74802902d64e6acc2c 100644 --- a/.next/server/app/api/shell/execute/route.js.nft.json +++ b/.next/server/app/api/shell/execute/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/shell/execute/route_client-reference-manifest.js b/.next/server/app/api/shell/execute/route_client-reference-manifest.js index 9b6405fca916ccb3f2eeb8ad6d05f62ae5450995..5a82e2947db7079b1bef2ee2d51dd251ab8409c5 100644 --- a/.next/server/app/api/shell/execute/route_client-reference-manifest.js +++ b/.next/server/app/api/shell/execute/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/shell/execute/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/shell/execute/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/shell/execute/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/shell/execute/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/functions/[...path]/route.js b/.next/server/app/api/sites/[id]/functions/[...path]/route.js index a1db13133919d9413c5a81a8aab98f27a23f87cb..0081e476b723e87203462fc8fbc1c180db35ed4e 100644 --- a/.next/server/app/api/sites/[id]/functions/[...path]/route.js +++ b/.next/server/app/api/sites/[id]/functions/[...path]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4548,e.ids=[4548],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:e=>{e.exports=import("quickjs-emscripten-core")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:e=>{e.exports=import("@jitl/quickjs-wasmfile-release-sync")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},60523:(e,t,r)=>{r.a(e,async(e,s)=>{try{r.r(t),r.d(t,{patchFetch:()=>p,routeModule:()=>d,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>l});var o=r(96559),n=r(48088),a=r(37719),i=r(94305),u=e([i]);i=(u.then?(await u)():u)[0];let d=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/sites/[id]/functions/[...path]/route",pathname:"/api/sites/[id]/functions/[...path]",filename:"route",bundlePath:"app/api/sites/[id]/functions/[...path]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/functions/[...path]/route.ts",nextConfigOutput:"standalone",userland:i}),{workAsyncStorage:c,workUnitAsyncStorage:l,serverHooks:h}=d;function p(){return(0,a.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:l})}s()}catch(e){s(e)}})},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")},94305:(e,t,r)=>{r.a(e,async(e,s)=>{try{r.r(t),r.d(t,{DELETE:()=>l,GET:()=>p,PATCH:()=>h,POST:()=>d,PUT:()=>c});var o=r(32190),n=r(30417),a=r(3149),i=e([a]);async function u(e,{params:t}){let r=Date.now();try{let s,{id:i,path:u}=await t,p=u[0],d=u.slice(1).join("/");if(!p)return o.NextResponse.json({error:"Function name is required"},{status:400});let c=(0,n.q)();await c.init();let l=await c.getSite?.(i);if(!l)return o.NextResponse.json({error:"Site not found"},{status:404});if(!l.databaseEnabled)return o.NextResponse.json({error:"Edge functions not enabled for this site"},{status:404});let h=c.getSiteDatabaseForAnalytics(i);if(!h)return o.NextResponse.json({error:"Site database not available"},{status:500});let x=h.getFunctionByName(p);if(!x)return o.NextResponse.json({error:`Function "${p}" not found`},{status:404});if(!x.enabled)return o.NextResponse.json({error:`Function "${p}" is disabled`},{status:503});if("ANY"!==x.method&&x.method!==e.method)return o.NextResponse.json({error:`Method ${e.method} not allowed for this function`},{status:405});let f=null;if("GET"!==e.method&&"HEAD"!==e.method){let t=e.headers.get("content-type")||"";if(t.includes("application/json"))try{f=await e.json()}catch{f=null}else t.includes("text/")&&(f=await e.text())}let m=new URL(e.url),y={};m.searchParams.forEach((e,t)=>{y[t]=e});let g={},w=["accept","accept-language","content-type","content-length","origin","referer","user-agent","x-requested-with"];e.headers.forEach((e,t)=>{w.includes(t.toLowerCase())&&(g[t.toLowerCase()]=e)});let j={method:e.method,headers:g,body:f,params:{path:d},query:y,path:`/${p}${d?"/"+d:""}`},b=await (0,a.cv)(x,j,h);try{h.logFunctionExecution(x.id,{method:e.method,path:j.path,statusCode:b.response.status,durationMs:b.durationMs,error:b.error})}catch(e){console.error("[Edge Functions] Failed to log execution:",e)}let q=new Headers;return Object.entries(b.response.headers).forEach(([e,t])=>{q.set(e,t)}),q.set("X-Execution-Time",`${Date.now()-r}ms`),"object"==typeof b.response.body?(s=JSON.stringify(b.response.body),q.has("Content-Type")||q.set("Content-Type","application/json")):s=b.response.body,new o.NextResponse(s,{status:b.response.status,headers:q})}catch(e){return console.error("[Edge Functions] Unexpected error:",e),o.NextResponse.json({error:"Internal server error"},{status:500})}}a=(i.then?(await i)():i)[0];let p=u,d=u,c=u,l=u,h=u;s()}catch(e){s(e)}})}};var t=require("../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,9709,8274],()=>r(60523));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=4548,a.ids=[4548],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5205:a=>{a.exports=import("quickjs-emscripten-core")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17915:a=>{a.exports=import("@jitl/quickjs-wasmfile-release-sync")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},34348:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{DELETE:()=>m,GET:()=>j,PATCH:()=>n,POST:()=>k,PUT:()=>l});var e=c(10641),f=c(97778),g=c(19958),h=a([g]);async function i(a,{params:b}){let c=Date.now();try{let d,{id:h,path:i}=await b,j=i[0],k=i.slice(1).join("/");if(!j)return e.NextResponse.json({error:"Function name is required"},{status:400});let l=(0,f.q)();await l.init();let m=await l.getSite?.(h);if(!m)return e.NextResponse.json({error:"Site not found"},{status:404});if(!m.databaseEnabled)return e.NextResponse.json({error:"Edge functions not enabled for this site"},{status:404});let n=l.getSiteDatabaseForAnalytics(h);if(!n)return e.NextResponse.json({error:"Site database not available"},{status:500});let o=n.getFunctionByName(j);if(!o)return e.NextResponse.json({error:`Function "${j}" not found`},{status:404});if(!o.enabled)return e.NextResponse.json({error:`Function "${j}" is disabled`},{status:503});if("ANY"!==o.method&&o.method!==a.method)return e.NextResponse.json({error:`Method ${a.method} not allowed for this function`},{status:405});let p=null;if("GET"!==a.method&&"HEAD"!==a.method){let b=a.headers.get("content-type")||"";if(b.includes("application/json"))try{p=await a.json()}catch{p=null}else b.includes("text/")&&(p=await a.text())}let q=new URL(a.url),r={};q.searchParams.forEach((a,b)=>{r[b]=a});let s={},t=["accept","accept-language","content-type","content-length","origin","referer","user-agent","x-requested-with"];a.headers.forEach((a,b)=>{t.includes(b.toLowerCase())&&(s[b.toLowerCase()]=a)});let u={method:a.method,headers:s,body:p,params:{path:k},query:r,path:`/${j}${k?"/"+k:""}`},v=await (0,g.cv)(o,u,n);try{n.logFunctionExecution(o.id,{method:a.method,path:u.path,statusCode:v.response.status,durationMs:v.durationMs,error:v.error})}catch(a){console.error("[Edge Functions] Failed to log execution:",a)}let w=new Headers;return Object.entries(v.response.headers).forEach(([a,b])=>{w.set(a,b)}),w.set("X-Execution-Time",`${Date.now()-c}ms`),"object"==typeof v.response.body?(d=JSON.stringify(v.response.body),w.has("Content-Type")||w.set("Content-Type","application/json")):d=v.response.body,new e.NextResponse(d,{status:v.response.status,headers:w})}catch(a){return console.error("[Edge Functions] Unexpected error:",a),e.NextResponse.json({error:"Internal server error"},{status:500})}}g=(h.then?(await h)():h)[0];let j=i,k=i,l=i,m=i,n=i;d()}catch(a){d(a)}})},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74702:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>x,patchFetch:()=>w,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(34348),v=a([u]);u=(v.then?(await v)():v)[0];let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sites/[id]/functions/[...path]/route",pathname:"/api/sites/[id]/functions/[...path]",filename:"route",bundlePath:"app/api/sites/[id]/functions/[...path]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/functions/[...path]/route.ts",nextConfigOutput:"standalone",userland:u}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function w(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function x(a,b,c){var d;let e="/api/sites/[id]/functions/[...path]/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G=D,G="/index"===G?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726,3543],()=>b(b.s=74702));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/functions/[...path]/route.js.nft.json b/.next/server/app/api/sites/[id]/functions/[...path]/route.js.nft.json index 1dfe51d10db2e0e8108fab5e2da8e5d67e4e0d20..06612079bc5a77d028d06d88399dc650f583232b 100644 --- a/.next/server/app/api/sites/[id]/functions/[...path]/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/functions/[...path]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/4447.js","../../../../../../chunks/580.js","../../../../../../chunks/8274.js","../../../../../../chunks/9709.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../../data/osws.sqlite","../../../../../../../../data/osws.sqlite-shm","../../../../../../../../data/osws.sqlite-wal","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-ffi-types/package.json","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs","../../../../../../../../node_modules/@jitl/quickjs-wasmfile-release-sync/package.json","../../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/bindings/bindings.js","../../../../../../../../node_modules/bindings/package.json","../../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-JTKJZQYV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/chunk-PEXOKBOE.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.js","../../../../../../../../node_modules/quickjs-emscripten-core/dist/index.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-6F3E5H7Y.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/dist/module-asyncify-R6PWJ6ZV.mjs","../../../../../../../../node_modules/quickjs-emscripten-core/package.json","../../../../../../../../package.json","../../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../../package.json","../../../../../../chunks/1692.js","../../../../../../chunks/3543.js","../../../../../../chunks/4586.js","../../../../../../chunks/726.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/functions/[...path]/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/functions/[...path]/route_client-reference-manifest.js index 074e90ee5126300980a6ea3b544b83c471659c77..6b1e27c1ea67bec4a2885f82fa6c5facd0fb81e7 100644 --- a/.next/server/app/api/sites/[id]/functions/[...path]/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/functions/[...path]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/functions/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/functions/[...path]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/functions/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/functions/[...path]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/publish/route.js b/.next/server/app/api/sites/[id]/publish/route.js index 4350be52f51db3222be97fba3b5b4050c740e623..4406a6ab08ba1c0ff6d5e95f3614ee0a8a625953 100644 --- a/.next/server/app/api/sites/[id]/publish/route.js +++ b/.next/server/app/api/sites/[id]/publish/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6024,e.ids=[6024],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},40458:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>b,routeModule:()=>l,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>x});var s={};r.r(s),r.d(s,{POST:()=>d});var i=r(96559),a=r(48088),o=r(37719),n=r(32190),p=r(1671),u=r(30417);async function d(e,{params:t}){try{let{id:e}=await t,r=await (0,p.YE)(e);if(!r.success)return n.NextResponse.json({error:r.error||"Failed to build site"},{status:500});let s=(0,u.q)();await s.init();let i=await s.getSite?.(e);return i&&s.updateSite&&(i.lastPublishedVersion=i.settingsVersion,i.publishedAt=new Date,i.updatedAt=new Date,i.databaseEnabled||(i.databaseEnabled=!0,await s.enableSiteDatabase(e)),await s.updateSite(i)),n.NextResponse.json({success:!0,siteId:r.siteId,projectId:r.projectId,filesWritten:r.filesWritten,outputPath:r.outputPath})}catch(e){return console.error("[Sites API] Error publishing site:",e),n.NextResponse.json({error:"Failed to publish site"},{status:500})}}let l=new i.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/sites/[id]/publish/route",pathname:"/api/sites/[id]/publish",filename:"route",bundlePath:"app/api/sites/[id]/publish/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/publish/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:c,workUnitAsyncStorage:x,serverHooks:h}=l;function b(){return(0,o.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:x})}},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,7035,9709,1671],()=>r(40458));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=6024,a.ids=[6024],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26784:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(82797),w=c(97778);async function x(a,{params:b}){try{let{id:a}=await b,c=await (0,v.YE)(a);if(!c.success)return u.NextResponse.json({error:c.error||"Failed to build site"},{status:500});let d=(0,w.q)();await d.init();let e=await d.getSite?.(a);return e&&d.updateSite&&(e.lastPublishedVersion=e.settingsVersion,e.publishedAt=new Date,e.updatedAt=new Date,e.databaseEnabled||(e.databaseEnabled=!0,await d.enableSiteDatabase(a)),await d.updateSite(e)),u.NextResponse.json({success:!0,siteId:c.siteId,projectId:c.projectId,filesWritten:c.filesWritten,outputPath:c.outputPath})}catch(a){return console.error("[Sites API] Error publishing site:",a),u.NextResponse.json({error:"Failed to publish site"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sites/[id]/publish/route",pathname:"/api/sites/[id]/publish",filename:"route",bundlePath:"app/api/sites/[id]/publish/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/publish/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/sites/[id]/publish/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,9298,726,2797],()=>b(b.s=26784));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/publish/route.js.nft.json b/.next/server/app/api/sites/[id]/publish/route.js.nft.json index 3a9137fd06050bebfa6ce40be42999d9ed2ce767..e0dc5f0dac02a7a7b4024ba28f29b3413ea47268 100644 --- a/.next/server/app/api/sites/[id]/publish/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/publish/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/PLAN.md","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/about.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/contact.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/practice-areas.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/pricing.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/robots.txt","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/scripts/main.js","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/sitemap.xml","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles.css","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles/style.css","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1671.js","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/7035.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/PLAN.md","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/about.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/contact.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/practice-areas.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/pricing.html","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/robots.txt","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/scripts/main.js","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/sitemap.xml","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles.css","../../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles/style.css","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/2797.js","../../../../../chunks/4586.js","../../../../../chunks/726.js","../../../../../chunks/9298.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/publish/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/publish/route_client-reference-manifest.js index 94d53831c9992f387e85b8bbeddec077fe66c100..071bc49f8fa8d25df366e89dae200f80b46050d0 100644 --- a/.next/server/app/api/sites/[id]/publish/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/publish/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/publish/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/publish/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/publish/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/publish/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/route.js b/.next/server/app/api/sites/[id]/route.js index 46ea32d7fb5e21b37679cc223a49d35e81d57d9f..ede14d0d666cd8c7112d7901cbdc3feaa84e42c1 100644 --- a/.next/server/app/api/sites/[id]/route.js +++ b/.next/server/app/api/sites/[id]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2684,e.ids=[2684],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},59115:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>f,routeModule:()=>x,serverHooks:()=>j,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>g});var s={};r.r(s),r.d(s,{DELETE:()=>c,GET:()=>d,PUT:()=>l});var a=r(96559),i=r(48088),o=r(37719),n=r(32190),u=r(30417),p=r(1671);async function d(e,{params:t}){try{let{id:e}=await t,r=await (0,u.B)();await r.init();let s=await r.getSite?.(e);if(await r.close?.(),!s)return n.NextResponse.json({error:"Site not found"},{status:404});return n.NextResponse.json(s)}catch(e){return console.error("[Sites API] Error getting site:",e),n.NextResponse.json({error:"Failed to get site"},{status:500})}}async function l(e,{params:t}){try{let{id:r}=await t,s=await e.json(),a=await (0,u.B)();await a.init();let i=await a.getSite?.(r);if(!i)return await a.close?.(),n.NextResponse.json({error:"Site not found"},{status:404});let o={...i,...s,id:r,updatedAt:new Date};return a.updateSite&&await a.updateSite(o),await a.close?.(),n.NextResponse.json(o)}catch(e){return console.error("[Sites API] Error updating site:",e),n.NextResponse.json({error:"Failed to update site"},{status:500})}}async function c(e,{params:t}){try{let{id:e}=await t,r=await (0,u.B)();if(await r.init(),!await r.getSite?.(e))return await r.close?.(),n.NextResponse.json({error:"Site not found"},{status:404});return r.deleteSite&&await r.deleteSite(e),await r.close?.(),await (0,p.lN)(e),n.NextResponse.json({success:!0})}catch(e){return console.error("[Sites API] Error deleting site:",e),n.NextResponse.json({error:"Failed to delete site"},{status:500})}}let x=new a.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/sites/[id]/route",pathname:"/api/sites/[id]",filename:"route",bundlePath:"app/api/sites/[id]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:w,workUnitAsyncStorage:g,serverHooks:j}=x;function f(){return(0,o.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:g})}},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,7035,9709,1671],()=>r(59115));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=2684,a.ids=[2684],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26993:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{DELETE:()=>z,GET:()=>x,PUT:()=>y});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(82797);async function x(a,{params:b}){try{let{id:a}=await b,c=await (0,v.B)();await c.init();let d=await c.getSite?.(a);if(await c.close?.(),!d)return u.NextResponse.json({error:"Site not found"},{status:404});return u.NextResponse.json(d)}catch(a){return console.error("[Sites API] Error getting site:",a),u.NextResponse.json({error:"Failed to get site"},{status:500})}}async function y(a,{params:b}){try{let{id:c}=await b,d=await a.json(),e=await (0,v.B)();await e.init();let f=await e.getSite?.(c);if(!f)return await e.close?.(),u.NextResponse.json({error:"Site not found"},{status:404});let g={...f,...d,id:c,updatedAt:new Date};return e.updateSite&&await e.updateSite(g),await e.close?.(),u.NextResponse.json(g)}catch(a){return console.error("[Sites API] Error updating site:",a),u.NextResponse.json({error:"Failed to update site"},{status:500})}}async function z(a,{params:b}){try{let{id:a}=await b,c=await (0,v.B)();if(await c.init(),!await c.getSite?.(a))return await c.close?.(),u.NextResponse.json({error:"Site not found"},{status:404});return c.deleteSite&&await c.deleteSite(a),await c.close?.(),await (0,w.lN)(a),u.NextResponse.json({success:!0})}catch(a){return console.error("[Sites API] Error deleting site:",a),u.NextResponse.json({error:"Failed to delete site"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sites/[id]/route",pathname:"/api/sites/[id]",filename:"route",bundlePath:"app/api/sites/[id]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/sites/[id]/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,9298,726,2797],()=>b(b.s=26993));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/route.js.nft.json b/.next/server/app/api/sites/[id]/route.js.nft.json index 7eb537a4582b4b1e1e5160b48cc2735d68db8121..ecbaff90ef6fd8062bb9010b8c4d0f35285a61f8 100644 --- a/.next/server/app/api/sites/[id]/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/PLAN.md","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/about.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/contact.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/practice-areas.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/pricing.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/robots.txt","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/scripts/main.js","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles.css","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles/style.css","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1671.js","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/7035.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/PLAN.md","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/about.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/contact.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/practice-areas.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/pricing.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/robots.txt","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/scripts/main.js","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles.css","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles/style.css","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/2797.js","../../../../chunks/4586.js","../../../../chunks/726.js","../../../../chunks/9298.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/route_client-reference-manifest.js index 15dc25c6abf6f6d9a0210a4177ae170a3aced219..6e5cae32503458e3eebd4e113f122653a3478b43 100644 --- a/.next/server/app/api/sites/[id]/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/settings/route.js b/.next/server/app/api/sites/[id]/settings/route.js index 4927649f534fb65918456badd4bdff354ddee383..54bd22bd0da4b8ab9776fc5b98b339296e848cf5 100644 --- a/.next/server/app/api/sites/[id]/settings/route.js +++ b/.next/server/app/api/sites/[id]/settings/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=2260,e.ids=[2260],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,s)=>{s.d(t,{A:()=>d});var r=s(55511);let n={randomUUID:r.randomUUID},i=new Uint8Array(256),o=i.length,a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));let d=function(e,t,s){if(n.randomUUID&&!t&&!e)return n.randomUUID();let d=(e=e||{}).random??e.rng?.()??(o>i.length-16&&((0,r.randomFillSync)(i),o=0),i.slice(o,o+=16));if(d.length<16)throw Error("Random bytes length must be >= 16");if(d[6]=15&d[6]|64,d[8]=63&d[8]|128,t){if((s=s||0)<0||s+16>t.length)throw RangeError(`UUID byte range ${s}:${s+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[s+e]=d[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(d)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32961:(e,t,s)=>{s.r(t),s.d(t,{patchFetch:()=>h,routeModule:()=>p,serverHooks:()=>m,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>g});var r={};s.r(r),s.d(r,{GET:()=>u,PUT:()=>c});var n=s(96559),i=s(48088),o=s(37719),a=s(32190),d=s(30417);async function u(e,{params:t}){try{let{id:e}=await t,s=await (0,d.B)();await s.init();let r=await s.getSite?.(e);if(await s.close?.(),!r)return a.NextResponse.json({error:"Site not found"},{status:404});let n={enabled:r.enabled,underConstruction:r.underConstruction,customDomain:r.customDomain,headScripts:r.headScripts,bodyScripts:r.bodyScripts,cdnLinks:r.cdnLinks,analytics:r.analytics,seo:r.seo,compliance:r.compliance,settingsVersion:r.settingsVersion,lastPublishedVersion:r.lastPublishedVersion};return a.NextResponse.json(n)}catch(e){return console.error("[Sites API] Error getting site settings:",e),a.NextResponse.json({error:"Failed to get site settings"},{status:500})}}async function c(e,{params:t}){try{let{id:s}=await t,r=await e.json(),n=await (0,d.B)();await n.init();let i=await n.getSite?.(s);if(!i)return await n.close?.(),a.NextResponse.json({error:"Site not found"},{status:404});let o={...i,enabled:r.enabled??i.enabled,underConstruction:r.underConstruction??i.underConstruction,customDomain:r.customDomain??i.customDomain,headScripts:r.headScripts??i.headScripts,bodyScripts:r.bodyScripts??i.bodyScripts,cdnLinks:r.cdnLinks??i.cdnLinks,analytics:r.analytics??i.analytics,seo:r.seo??i.seo,compliance:r.compliance??i.compliance,settingsVersion:i.settingsVersion+1,updatedAt:new Date};n.updateSite&&await n.updateSite(o),await n.close?.();let u={enabled:o.enabled,underConstruction:o.underConstruction,customDomain:o.customDomain,headScripts:o.headScripts,bodyScripts:o.bodyScripts,cdnLinks:o.cdnLinks,analytics:o.analytics,seo:o.seo,compliance:o.compliance,settingsVersion:o.settingsVersion,lastPublishedVersion:i.lastPublishedVersion};return a.NextResponse.json(u)}catch(e){return console.error("[Sites API] Error updating site settings:",e),a.NextResponse.json({error:"Failed to update site settings"},{status:500})}}let p=new n.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/sites/[id]/settings/route",pathname:"/api/sites/[id]/settings",filename:"route",bundlePath:"app/api/sites/[id]/settings/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/settings/route.ts",nextConfigOutput:"standalone",userland:r}),{workAsyncStorage:l,workUnitAsyncStorage:g,serverHooks:m}=p;function h(){return(0,o.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:g})}},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[4447,580,9709],()=>s(32961));module.exports=r})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=2260,a.ids=[2260],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73182:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{GET:()=>w,PUT:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778);async function w(a,{params:b}){try{let{id:a}=await b,c=await (0,v.B)();await c.init();let d=await c.getSite?.(a);if(await c.close?.(),!d)return u.NextResponse.json({error:"Site not found"},{status:404});let e={enabled:d.enabled,underConstruction:d.underConstruction,customDomain:d.customDomain,headScripts:d.headScripts,bodyScripts:d.bodyScripts,cdnLinks:d.cdnLinks,analytics:d.analytics,seo:d.seo,compliance:d.compliance,settingsVersion:d.settingsVersion,lastPublishedVersion:d.lastPublishedVersion};return u.NextResponse.json(e)}catch(a){return console.error("[Sites API] Error getting site settings:",a),u.NextResponse.json({error:"Failed to get site settings"},{status:500})}}async function x(a,{params:b}){try{let{id:c}=await b,d=await a.json(),e=await (0,v.B)();await e.init();let f=await e.getSite?.(c);if(!f)return await e.close?.(),u.NextResponse.json({error:"Site not found"},{status:404});let g={...f,enabled:d.enabled??f.enabled,underConstruction:d.underConstruction??f.underConstruction,customDomain:d.customDomain??f.customDomain,headScripts:d.headScripts??f.headScripts,bodyScripts:d.bodyScripts??f.bodyScripts,cdnLinks:d.cdnLinks??f.cdnLinks,analytics:d.analytics??f.analytics,seo:d.seo??f.seo,compliance:d.compliance??f.compliance,settingsVersion:f.settingsVersion+1,updatedAt:new Date};e.updateSite&&await e.updateSite(g),await e.close?.();let h={enabled:g.enabled,underConstruction:g.underConstruction,customDomain:g.customDomain,headScripts:g.headScripts,bodyScripts:g.bodyScripts,cdnLinks:g.cdnLinks,analytics:g.analytics,seo:g.seo,compliance:g.compliance,settingsVersion:g.settingsVersion,lastPublishedVersion:f.lastPublishedVersion};return u.NextResponse.json(h)}catch(a){return console.error("[Sites API] Error updating site settings:",a),u.NextResponse.json({error:"Failed to update site settings"},{status:500})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sites/[id]/settings/route",pathname:"/api/sites/[id]/settings",filename:"route",bundlePath:"app/api/sites/[id]/settings/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/settings/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/sites/[id]/settings/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=73182));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/settings/route.js.nft.json b/.next/server/app/api/sites/[id]/settings/route.js.nft.json index 9b3a8af3ffa899356353fd178254ec9059e79629..089f7c8a5e74f98fa79ededab8a16a30372a1253 100644 --- a/.next/server/app/api/sites/[id]/settings/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/settings/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/settings/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/settings/route_client-reference-manifest.js index 737a4a6c633f163b15266c0ee3d90ffec578a78a..04030b161712cf7da6b12129510f200fbc986bf7 100644 --- a/.next/server/app/api/sites/[id]/settings/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/settings/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/settings/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/settings/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/settings/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/settings/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/thumbnail/route.js b/.next/server/app/api/sites/[id]/thumbnail/route.js index b4cc87b0a3293186433970a9b12d7f356be2eba9..2cce554db6fbd1790c24941e4ec38f7b4d60c26e 100644 --- a/.next/server/app/api/sites/[id]/thumbnail/route.js +++ b/.next/server/app/api/sites/[id]/thumbnail/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=9221,e.ids=[9221],e.modules={3137:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>g,routeModule:()=>d,serverHooks:()=>c,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>m});var a={};r.r(a),r.d(a,{PUT:()=>p});var s=r(96559),i=r(48088),n=r(37719),o=r(32190),u=r(30417);async function p(e,{params:t}){try{let{id:r}=await t,{previewImage:a}=await e.json();if(!a||"string"!=typeof a)return o.NextResponse.json({error:"previewImage (base64 data URL) is required"},{status:400});if(!a.startsWith("data:image/"))return o.NextResponse.json({error:"previewImage must be a base64 data URL (data:image/...)"},{status:400});let s=await (0,u.B)();await s.init();let i=await s.getSite?.(r);if(!i)return await s.close?.(),o.NextResponse.json({error:"Site not found"},{status:404});let n={...i,previewImage:a,previewUpdatedAt:new Date,updatedAt:new Date};return s.updateSite&&await s.updateSite(n),await s.close?.(),o.NextResponse.json({success:!0,previewImage:n.previewImage,previewUpdatedAt:n.previewUpdatedAt})}catch(e){return console.error("[Sites API] Error updating site thumbnail:",e),o.NextResponse.json({error:"Failed to update site thumbnail"},{status:500})}}let d=new s.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/sites/[id]/thumbnail/route",pathname:"/api/sites/[id]/thumbnail",filename:"route",bundlePath:"app/api/sites/[id]/thumbnail/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/thumbnail/route.ts",nextConfigOutput:"standalone",userland:a}),{workAsyncStorage:l,workUnitAsyncStorage:m,serverHooks:c}=d;function g(){return(0,n.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:m})}},3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var a=r(55511);let s={randomUUID:a.randomUUID},i=new Uint8Array(256),n=i.length,o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let u=(e=e||{}).random??e.rng?.()??(n>i.length-16&&((0,a.randomFillSync)(i),n=0),i.slice(n,n+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[4447,580,9709],()=>r(3137));module.exports=a})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=9221,a.ids=[9221],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},37108:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>C,patchFetch:()=>B,routeModule:()=>x,serverHooks:()=>A,workAsyncStorage:()=>y,workUnitAsyncStorage:()=>z});var d={};c.r(d),c.d(d,{PUT:()=>w});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778);async function w(a,{params:b}){try{let{id:c}=await b,{previewImage:d}=await a.json();if(!d||"string"!=typeof d)return u.NextResponse.json({error:"previewImage (base64 data URL) is required"},{status:400});if(!d.startsWith("data:image/"))return u.NextResponse.json({error:"previewImage must be a base64 data URL (data:image/...)"},{status:400});let e=await (0,v.B)();await e.init();let f=await e.getSite?.(c);if(!f)return await e.close?.(),u.NextResponse.json({error:"Site not found"},{status:404});let g={...f,previewImage:d,previewUpdatedAt:new Date,updatedAt:new Date};return e.updateSite&&await e.updateSite(g),await e.close?.(),u.NextResponse.json({success:!0,previewImage:g.previewImage,previewUpdatedAt:g.previewUpdatedAt})}catch(a){return console.error("[Sites API] Error updating site thumbnail:",a),u.NextResponse.json({error:"Failed to update site thumbnail"},{status:500})}}let x=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sites/[id]/thumbnail/route",pathname:"/api/sites/[id]/thumbnail",filename:"route",bundlePath:"app/api/sites/[id]/thumbnail/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/thumbnail/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:y,workUnitAsyncStorage:z,serverHooks:A}=x;function B(){return(0,g.patchFetch)({workAsyncStorage:y,workUnitAsyncStorage:z})}async function C(a,b,c){var d;let e="/api/sites/[id]/thumbnail/route";"/index"===e&&(e="/");let g=await x.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:y,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!y){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||x.isDev||y||(G="/index"===(G=D)?"/":G);let H=!0===x.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>x.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>x.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await x.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await x.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),y&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await x.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=37108));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/thumbnail/route.js.nft.json b/.next/server/app/api/sites/[id]/thumbnail/route.js.nft.json index 9b3a8af3ffa899356353fd178254ec9059e79629..089f7c8a5e74f98fa79ededab8a16a30372a1253 100644 --- a/.next/server/app/api/sites/[id]/thumbnail/route.js.nft.json +++ b/.next/server/app/api/sites/[id]/thumbnail/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/[id]/thumbnail/route_client-reference-manifest.js b/.next/server/app/api/sites/[id]/thumbnail/route_client-reference-manifest.js index 80578b4a16030d08350584e1fb56358de6426669..4195a5243ea84ef0d19b396bd028830a7b3187ad 100644 --- a/.next/server/app/api/sites/[id]/thumbnail/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/[id]/thumbnail/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/thumbnail/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/thumbnail/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/[id]/thumbnail/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/[id]/thumbnail/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sites/route.js b/.next/server/app/api/sites/route.js index bbe694c47d044351b88f2f0c8fec2ec5d4ca9a00..e43d2cd2e52d08edefd46bc8b8e6dc0e31c4cba5 100644 --- a/.next/server/app/api/sites/route.js +++ b/.next/server/app/api/sites/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3926,e.ids=[3926],e.modules={2815:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>f,routeModule:()=>l,serverHooks:()=>w,workAsyncStorage:()=>x,workUnitAsyncStorage:()=>g});var s={};r.r(s),r.d(s,{GET:()=>d,POST:()=>c});var n=r(96559),o=r(48088),a=r(37719),i=r(32190),u=r(30417),p=r(23870);async function d(){try{let e=await (0,u.B)();await e.init();let t=await e.listSites?.()||[];return await e.close?.(),i.NextResponse.json(t)}catch(e){return console.error("[Sites API] ❌ Error listing sites:",e),i.NextResponse.json({error:"Failed to list sites"},{status:500})}}async function c(e){try{let{projectId:t,name:r,slug:s}=await e.json();if(!t||!r)return i.NextResponse.json({error:"projectId and name are required"},{status:400});let n=await (0,u.B)();if(await n.init(),!await n.getProject(t))return await n.close?.(),i.NextResponse.json({error:"Project not found"},{status:404});let o={id:(0,p.A)(),projectId:t,name:r,slug:s||void 0,enabled:!1,underConstruction:!1,headScripts:[],bodyScripts:[],cdnLinks:[],analytics:{enabled:!1,provider:"builtin",privacyMode:!0},seo:{},compliance:{enabled:!1,bannerPosition:"bottom",bannerStyle:"bar",message:"",acceptButtonText:"Accept",declineButtonText:"Decline",mode:"opt-in",blockAnalytics:!0},settingsVersion:1,createdAt:new Date,updatedAt:new Date};return n.createSite&&await n.createSite(o),await n.close?.(),i.NextResponse.json(o,{status:201})}catch(e){return console.error("[Sites API] Error creating site:",e),i.NextResponse.json({error:"Failed to create site"},{status:500})}}let l=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/sites/route",pathname:"/api/sites",filename:"route",bundlePath:"app/api/sites/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:x,workUnitAsyncStorage:g,serverHooks:w}=l;function f(){return(0,a.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:g})}},3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(55511);let n={randomUUID:s.randomUUID},o=new Uint8Array(256),a=o.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(n.randomUUID&&!t&&!e)return n.randomUUID();let u=(e=e||{}).random??e.rng?.()??(a>o.length-16&&((0,s.randomFillSync)(o),a=0),o.slice(a,a+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580,9709],()=>r(2815));module.exports=s})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=3926,a.ids=[3926],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},97886:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>x,POST:()=>y});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(32524);async function x(){try{let a=await (0,v.B)();await a.init();let b=await a.listSites?.()||[];return await a.close?.(),u.NextResponse.json(b)}catch(a){return console.error("[Sites API] ❌ Error listing sites:",a),u.NextResponse.json({error:"Failed to list sites"},{status:500})}}async function y(a){try{let{projectId:b,name:c,slug:d}=await a.json();if(!b||!c)return u.NextResponse.json({error:"projectId and name are required"},{status:400});let e=await (0,v.B)();if(await e.init(),!await e.getProject(b))return await e.close?.(),u.NextResponse.json({error:"Project not found"},{status:404});let f={id:(0,w.A)(),projectId:b,name:c,slug:d||void 0,enabled:!1,underConstruction:!1,headScripts:[],bodyScripts:[],cdnLinks:[],analytics:{enabled:!1,provider:"builtin",privacyMode:!0},seo:{},compliance:{enabled:!1,bannerPosition:"bottom",bannerStyle:"bar",message:"",acceptButtonText:"Accept",declineButtonText:"Decline",mode:"opt-in",blockAnalytics:!0},settingsVersion:1,createdAt:new Date,updatedAt:new Date};return e.createSite&&await e.createSite(f),await e.close?.(),u.NextResponse.json(f,{status:201})}catch(a){return console.error("[Sites API] Error creating site:",a),u.NextResponse.json({error:"Failed to create site"},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sites/route",pathname:"/api/sites",filename:"route",bundlePath:"app/api/sites/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){var d;let e="/api/sites/route";"/index"===e&&(e="/");let g=await z.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||z.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===z.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>z.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>z.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=97886));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sites/route.js.nft.json b/.next/server/app/api/sites/route.js.nft.json index 17f74d325deb247c3320d138496368864ea7d99a..2a79f9dc631aba4358cb438eae2324ecd2bbde9f 100644 --- a/.next/server/app/api/sites/route.js.nft.json +++ b/.next/server/app/api/sites/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../chunks/9709.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/1692.js","../../../chunks/4586.js","../../../chunks/726.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sites/route_client-reference-manifest.js b/.next/server/app/api/sites/route_client-reference-manifest.js index b25afdead311c7e4a4c426f8244016ab34b26e3b..5b3da8a7f2a00fcb091a1b7c4776eb6a4a2898e1 100644 --- a/.next/server/app/api/sites/route_client-reference-manifest.js +++ b/.next/server/app/api/sites/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sites/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sites/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/files/route.js b/.next/server/app/api/sync/files/route.js index 29ee40fcf3e6fe9e02e8d5cbc2f08aca7d0ad652..5fe387df3aae01d97bcae237f27a8f4f41c304c8 100644 --- a/.next/server/app/api/sync/files/route.js +++ b/.next/server/app/api/sync/files/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=6543,e.ids=[6543],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,r,t)=>{t.d(r,{A:()=>u});var n=t(55511);let o={randomUUID:n.randomUUID},s=new Uint8Array(256),a=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,r,t){if(o.randomUUID&&!r&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(a>s.length-16&&((0,n.randomFillSync)(s),a=0),s.slice(a,a+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,r){if((t=t||0)<0||t+16>r.length)throw RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[t+e]=u[e];return r}return function(e,r=0){return(i[e[r+0]]+i[e[r+1]]+i[e[r+2]]+i[e[r+3]]+"-"+i[e[r+4]]+i[e[r+5]]+"-"+i[e[r+6]]+i[e[r+7]]+"-"+i[e[r+8]]+i[e[r+9]]+"-"+i[e[r+10]]+i[e[r+11]]+i[e[r+12]]+i[e[r+13]]+i[e[r+14]]+i[e[r+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},41314:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>y,routeModule:()=>f,serverHooks:()=>x,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>g});var n={};t.r(n),t.d(n,{GET:()=>d,POST:()=>p});var o=t(96559),s=t(48088),a=t(37719),i=t(32190),u=t(30417),l=t(50613),c=t(66819);async function d(e){try{await (0,l.oC)();let{searchParams:r}=new URL(e.url),t=r.get("projectId");if(!t)return i.NextResponse.json({error:"projectId parameter required"},{status:400});let n=await (0,u.B)();await n.init();let o=await n.listFiles(t);return await n.close?.(),i.NextResponse.json({files:o})}catch(e){if(c.v.error("[API /api/sync/files GET] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to fetch files"},{status:500})}}async function p(e){try{await (0,l.oC)();let{projectId:r,files:t}=await e.json();if(!r||!Array.isArray(t))return i.NextResponse.json({error:"Invalid request: projectId and files array required"},{status:400});let n=await (0,u.B)();for(let e of(await n.init(),await n.deleteProjectFiles(r),t))await n.createFile(e);return await n.close?.(),i.NextResponse.json({success:!0,count:t.length})}catch(e){if(c.v.error("[API /api/sync/files POST] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to sync files"},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/sync/files/route",pathname:"/api/sync/files",filename:"route",bundlePath:"app/api/sync/files/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/files/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:w,workUnitAsyncStorage:g,serverHooks:x}=f;function y(){return(0,a.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:g})}},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,r,t)=>{t.d(r,{C0:()=>d,Ht:()=>c,gV:()=>l,jw:()=>u,oC:()=>p});var n=t(87806),o=t(77412),s=t(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,r,t=!0){let o=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:r,isAdmin:t}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(o)}async function l(e){try{let r=i(),{payload:t}=await (0,o.V)(e,r);return{userId:t.userId,email:t.email,isAdmin:t.isAdmin,exp:t.exp}}catch(e){return null}}async function c(){let e=await (0,s.UL)(),r=e.get(a)?.value;return r?l(r):null}async function d(){(await (0,s.UL)()).delete(a)}async function p(){let e=await c();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,r,t)=>{t.d(r,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},o="undefined"!=typeof process&&"warn"||"warn";function s(e){return n[o]<=n[e]}let a={debug:(...e)=>{s("debug")&&console.debug(...e)},info:(...e)=>{s("info")&&console.info(...e)},warn:(...e)=>{s("warn")&&console.warn(...e)},error:(...e)=>{s("error")&&console.error(...e)}}},87550:e=>{e.exports=require("better-sqlite3")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),n=r.X(0,[4447,580,5155,9709],()=>t(41314));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=6543,a.ids=[6543],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},90987:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(39588),x=c(95012);async function y(a){try{await (0,w.oC)();let{searchParams:b}=new URL(a.url),c=b.get("projectId");if(!c)return u.NextResponse.json({error:"projectId parameter required"},{status:400});let d=await (0,v.B)();await d.init();let e=await d.listFiles(c);return await d.close?.(),u.NextResponse.json({files:e})}catch(a){if(x.v.error("[API /api/sync/files GET] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to fetch files"},{status:500})}}async function z(a){try{await (0,w.oC)();let{projectId:b,files:c}=await a.json();if(!b||!Array.isArray(c))return u.NextResponse.json({error:"Invalid request: projectId and files array required"},{status:400});let d=await (0,v.B)();for(let a of(await d.init(),await d.deleteProjectFiles(b),c))await d.createFile(a);return await d.close?.(),u.NextResponse.json({success:!0,count:c.length})}catch(a){if(x.v.error("[API /api/sync/files POST] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to sync files"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sync/files/route",pathname:"/api/sync/files",filename:"route",bundlePath:"app/api/sync/files/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/files/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/sync/files/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=90987));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sync/files/route.js.nft.json b/.next/server/app/api/sync/files/route.js.nft.json index 2c9183da5b50e05825422aa5df1827327eeb10a8..6c94e5cb3fe0486dbe372f74802902d64e6acc2c 100644 --- a/.next/server/app/api/sync/files/route.js.nft.json +++ b/.next/server/app/api/sync/files/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/files/route_client-reference-manifest.js b/.next/server/app/api/sync/files/route_client-reference-manifest.js index 2dcc4228e4ce9e6005f42b17cf22499c87961f0c..db1a607d1b7475e5a4d7816c4aab0f1c8f8fb4d5 100644 --- a/.next/server/app/api/sync/files/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/files/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/files/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/files/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/files/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/files/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/[id]/route.js b/.next/server/app/api/sync/projects/[id]/route.js index 9f44bbf0e87a5d9fb7508e96d82327dc2e322fbf..081fcb51ebd0f8a86528c6a8d4a534e23bb7cc55 100644 --- a/.next/server/app/api/sync/projects/[id]/route.js +++ b/.next/server/app/api/sync/projects/[id]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=5350,e.ids=[5350],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,r,t)=>{t.d(r,{A:()=>c});var o=t(55511);let n={randomUUID:o.randomUUID},s=new Uint8Array(256),a=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let c=function(e,r,t){if(n.randomUUID&&!r&&!e)return n.randomUUID();let c=(e=e||{}).random??e.rng?.()??(a>s.length-16&&((0,o.randomFillSync)(s),a=0),s.slice(a,a+=16));if(c.length<16)throw Error("Random bytes length must be >= 16");if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,r){if((t=t||0)<0||t+16>r.length)throw RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[t+e]=c[e];return r}return function(e,r=0){return(i[e[r+0]]+i[e[r+1]]+i[e[r+2]]+i[e[r+3]]+"-"+i[e[r+4]]+i[e[r+5]]+"-"+i[e[r+6]]+i[e[r+7]]+"-"+i[e[r+8]]+i[e[r+9]]+"-"+i[e[r+10]]+i[e[r+11]]+i[e[r+12]]+i[e[r+13]]+i[e[r+14]]+i[e[r+15]]).toLowerCase()}(c)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,r,t)=>{t.d(r,{v:()=>a});let o={debug:10,info:20,warn:30,error:40,silent:50},n="undefined"!=typeof process&&"warn"||"warn";function s(e){return o[n]<=o[e]}let a={debug:(...e)=>{s("debug")&&console.debug(...e)},info:(...e)=>{s("info")&&console.info(...e)},warn:(...e)=>{s("warn")&&console.warn(...e)},error:(...e)=>{s("error")&&console.error(...e)}}},70060:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>y,routeModule:()=>l,serverHooks:()=>w,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>j});var o={};t.r(o),t.d(o,{GET:()=>d,POST:()=>p});var n=t(96559),s=t(48088),a=t(37719),i=t(32190),c=t(30417),u=t(66819);async function p(e,{params:r}){try{let t,{id:o}=await r,{project:n,files:s}=await e.json();if(!n||n.id!==o)return i.NextResponse.json({error:"Invalid project data"},{status:400});try{t=await (0,c.B)()}catch(e){return u.v.error("[API /api/sync/projects/[id] POST] Server adapter initialization failed:",e),i.NextResponse.json({error:"Server mode not configured. Check DATABASE_URL environment variable."},{status:500})}await t.init();let a=new Date,p={...n,lastSyncedAt:a,serverUpdatedAt:n.updatedAt,syncStatus:"synced"};for(let e of(await t.getProject(o)?await t.updateProject(p):await t.createProject(p),await t.listFiles(o)))await t.deleteFile(o,e.path);for(let e of s)await t.createFile(e);return u.v.debug(`[API /api/sync/projects/${o}] Project synced successfully`),i.NextResponse.json({success:!0,project:p,fileCount:s.length})}catch(e){return u.v.error("[API /api/sync/projects/[id] POST] Error:",e),i.NextResponse.json({error:e instanceof Error?e.message:"Failed to push project"},{status:500})}}async function d(e,{params:r}){try{let e,{id:t}=await r;try{e=await (0,c.B)()}catch(e){return u.v.error("[API /api/sync/projects/[id] GET] Server adapter initialization failed:",e),i.NextResponse.json({error:"Server mode not configured. Check DATABASE_URL environment variable."},{status:500})}await e.init();let o=await e.getProject(t);if(!o)return i.NextResponse.json({error:"Project not found"},{status:404});let n=await e.listFiles(t);return u.v.debug(`[API /api/sync/projects/${t}] Project pulled successfully`),i.NextResponse.json({success:!0,project:o,files:n})}catch(e){return u.v.error("[API /api/sync/projects/[id] GET] Error:",e),i.NextResponse.json({error:e instanceof Error?e.message:"Failed to pull project"},{status:500})}}let l=new n.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/sync/projects/[id]/route",pathname:"/api/sync/projects/[id]",filename:"route",bundlePath:"app/api/sync/projects/[id]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/[id]/route.ts",nextConfigOutput:"standalone",userland:o}),{workAsyncStorage:f,workUnitAsyncStorage:j,serverHooks:w}=l;function y(){return(0,a.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:j})}},87550:e=>{e.exports=require("better-sqlite3")}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4447,580,9709],()=>t(70060));module.exports=o})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=5350,a.ids=[5350],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87127:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(95012);async function x(a,{params:b}){try{let c,{id:d}=await b,{project:e,files:f}=await a.json();if(!e||e.id!==d)return u.NextResponse.json({error:"Invalid project data"},{status:400});try{c=await (0,v.B)()}catch(a){return w.v.error("[API /api/sync/projects/[id] POST] Server adapter initialization failed:",a),u.NextResponse.json({error:"Server mode not configured. Check DATABASE_URL environment variable."},{status:500})}await c.init();let g=new Date,h={...e,lastSyncedAt:g,serverUpdatedAt:e.updatedAt,syncStatus:"synced"};for(let a of(await c.getProject(d)?await c.updateProject(h):await c.createProject(h),await c.listFiles(d)))await c.deleteFile(d,a.path);for(let a of f)await c.createFile(a);return w.v.debug(`[API /api/sync/projects/${d}] Project synced successfully`),u.NextResponse.json({success:!0,project:h,fileCount:f.length})}catch(a){return w.v.error("[API /api/sync/projects/[id] POST] Error:",a),u.NextResponse.json({error:a instanceof Error?a.message:"Failed to push project"},{status:500})}}async function y(a,{params:b}){try{let a,{id:c}=await b;try{a=await (0,v.B)()}catch(a){return w.v.error("[API /api/sync/projects/[id] GET] Server adapter initialization failed:",a),u.NextResponse.json({error:"Server mode not configured. Check DATABASE_URL environment variable."},{status:500})}await a.init();let d=await a.getProject(c);if(!d)return u.NextResponse.json({error:"Project not found"},{status:404});let e=await a.listFiles(c);return w.v.debug(`[API /api/sync/projects/${c}] Project pulled successfully`),u.NextResponse.json({success:!0,project:d,files:e})}catch(a){return w.v.error("[API /api/sync/projects/[id] GET] Error:",a),u.NextResponse.json({error:a instanceof Error?a.message:"Failed to pull project"},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sync/projects/[id]/route",pathname:"/api/sync/projects/[id]",filename:"route",bundlePath:"app/api/sync/projects/[id]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/[id]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){var d;let e="/api/sync/projects/[id]/route";"/index"===e&&(e="/");let g=await z.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||z.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===z.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>z.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>z.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},87550:a=>{a.exports=require("better-sqlite3")},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=87127));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/[id]/route.js.nft.json b/.next/server/app/api/sync/projects/[id]/route.js.nft.json index 9b3a8af3ffa899356353fd178254ec9059e79629..089f7c8a5e74f98fa79ededab8a16a30372a1253 100644 --- a/.next/server/app/api/sync/projects/[id]/route.js.nft.json +++ b/.next/server/app/api/sync/projects/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/[id]/route_client-reference-manifest.js b/.next/server/app/api/sync/projects/[id]/route_client-reference-manifest.js index 6e19f7ea31975c3337563fa933f745662b689204..7260e1b6a1b672fb2d0c2584da38120e3b1592f4 100644 --- a/.next/server/app/api/sync/projects/[id]/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/projects/[id]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/projects/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/projects/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/[id]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/route.js b/.next/server/app/api/sync/projects/route.js index 99c5426e4e8ffe2af3ed440125408d91c52a9baa..948cb9dcda7b74e5f0c2276983bf9bdab31a13f9 100644 --- a/.next/server/app/api/sync/projects/route.js +++ b/.next/server/app/api/sync/projects/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=7564,e.ids=[7564],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,r,t)=>{t.d(r,{A:()=>u});var n=t(55511);let o={randomUUID:n.randomUUID},s=new Uint8Array(256),a=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,r,t){if(o.randomUUID&&!r&&!e)return o.randomUUID();let u=(e=e||{}).random??e.rng?.()??(a>s.length-16&&((0,n.randomFillSync)(s),a=0),s.slice(a,a+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,r){if((t=t||0)<0||t+16>r.length)throw RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[t+e]=u[e];return r}return function(e,r=0){return(i[e[r+0]]+i[e[r+1]]+i[e[r+2]]+i[e[r+3]]+"-"+i[e[r+4]]+i[e[r+5]]+"-"+i[e[r+6]]+i[e[r+7]]+"-"+i[e[r+8]]+i[e[r+9]]+"-"+i[e[r+10]]+i[e[r+11]]+i[e[r+12]]+i[e[r+13]]+i[e[r+14]]+i[e[r+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31416:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>h,routeModule:()=>f,serverHooks:()=>x,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>g});var n={};t.r(n),t.d(n,{GET:()=>d,POST:()=>l});var o=t(96559),s=t(48088),a=t(37719),i=t(32190),u=t(30417),c=t(50613),p=t(66819);async function d(){try{await (0,c.oC)();let e=await (0,u.B)();await e.init();let r=await e.listProjects();return await e.close?.(),i.NextResponse.json({projects:r})}catch(e){if(p.v.error("[API /api/sync/projects GET] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to fetch projects"},{status:500})}}async function l(e){try{await (0,c.oC)();let{project:r}=await e.json();if(!r||!r.id)return i.NextResponse.json({error:"Invalid project data"},{status:400});let t=await (0,u.B)();return await t.init(),await t.getProject(r.id)?await t.updateProject(r):await t.createProject(r),await t.close?.(),i.NextResponse.json({success:!0,project:r})}catch(e){if(p.v.error("[API /api/sync/projects POST] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to sync project"},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/sync/projects/route",pathname:"/api/sync/projects",filename:"route",bundlePath:"app/api/sync/projects/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:w,workUnitAsyncStorage:g,serverHooks:x}=f;function h(){return(0,a.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:g})}},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,r,t)=>{t.d(r,{C0:()=>d,Ht:()=>p,gV:()=>c,jw:()=>u,oC:()=>l});var n=t(87806),o=t(77412),s=t(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,r,t=!0){let o=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:r,isAdmin:t}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(o)}async function c(e){try{let r=i(),{payload:t}=await (0,o.V)(e,r);return{userId:t.userId,email:t.email,isAdmin:t.isAdmin,exp:t.exp}}catch(e){return null}}async function p(){let e=await (0,s.UL)(),r=e.get(a)?.value;return r?c(r):null}async function d(){(await (0,s.UL)()).delete(a)}async function l(){let e=await p();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,r,t)=>{t.d(r,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},o="undefined"!=typeof process&&"warn"||"warn";function s(e){return n[o]<=n[e]}let a={debug:(...e)=>{s("debug")&&console.debug(...e)},info:(...e)=>{s("info")&&console.info(...e)},warn:(...e)=>{s("warn")&&console.warn(...e)},error:(...e)=>{s("error")&&console.error(...e)}}},87550:e=>{e.exports=require("better-sqlite3")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),n=r.X(0,[4447,580,5155,9709],()=>t(31416));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=7564,a.ids=[7564],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}},99559:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(39588),x=c(95012);async function y(){try{await (0,w.oC)();let a=await (0,v.B)();await a.init();let b=await a.listProjects();return await a.close?.(),u.NextResponse.json({projects:b})}catch(a){if(x.v.error("[API /api/sync/projects GET] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to fetch projects"},{status:500})}}async function z(a){try{await (0,w.oC)();let{project:b}=await a.json();if(!b||!b.id)return u.NextResponse.json({error:"Invalid project data"},{status:400});let c=await (0,v.B)();return await c.init(),await c.getProject(b.id)?await c.updateProject(b):await c.createProject(b),await c.close?.(),u.NextResponse.json({success:!0,project:b})}catch(a){if(x.v.error("[API /api/sync/projects POST] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to sync project"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sync/projects/route",pathname:"/api/sync/projects",filename:"route",bundlePath:"app/api/sync/projects/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/sync/projects/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=99559));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/route.js.nft.json b/.next/server/app/api/sync/projects/route.js.nft.json index 2c9183da5b50e05825422aa5df1827327eeb10a8..6c94e5cb3fe0486dbe372f74802902d64e6acc2c 100644 --- a/.next/server/app/api/sync/projects/route.js.nft.json +++ b/.next/server/app/api/sync/projects/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/projects/route_client-reference-manifest.js b/.next/server/app/api/sync/projects/route_client-reference-manifest.js index 6413f4e00337556fbf9342d546c0d48f77a2afcc..4875c3c6611a2a079972dc25b99f8eee577cdc05 100644 --- a/.next/server/app/api/sync/projects/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/projects/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/projects/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/projects/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/projects/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/skills/[id]/route.js b/.next/server/app/api/sync/skills/[id]/route.js index 5e34bcf3baf2109b86db94f8b25ce7d25a88acab..ca049f71cd9b0e51e7781ab3dc60d3da1c1611e4 100644 --- a/.next/server/app/api/sync/skills/[id]/route.js +++ b/.next/server/app/api/sync/skills/[id]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=1502,e.ids=[1502],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(55511);let s={randomUUID:n.randomUUID},o=new Uint8Array(256),a=o.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let l=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let l=(e=e||{}).random??e.rng?.()??(a>o.length-16&&((0,n.randomFillSync)(o),a=0),o.slice(a,a+=16));if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=l[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(l)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>c,Ht:()=>d,gV:()=>u,jw:()=>l,oC:()=>p});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function l(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function u(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function d(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?u(t):null}async function c(){(await (0,o.UL)()).delete(a)}async function p(){let e=await d();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,t,r)=>{r.d(t,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function o(e){return n[s]<=n[e]}let a={debug:(...e)=>{o("debug")&&console.debug(...e)},info:(...e)=>{o("info")&&console.info(...e)},warn:(...e)=>{o("warn")&&console.warn(...e)},error:(...e)=>{o("error")&&console.error(...e)}}},75825:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>k,routeModule:()=>f,serverHooks:()=>g,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>x});var n={};r.r(n),r.d(n,{DELETE:()=>w,GET:()=>c,POST:()=>p});var s=r(96559),o=r(48088),a=r(37719),i=r(32190),l=r(30417),u=r(50613),d=r(66819);async function c(e,{params:t}){try{await (0,u.oC)();let{id:e}=await t,r=await (0,l.B)();await r.init();let n=await r.getSkill(e);if(await r.close?.(),!n)return i.NextResponse.json({error:"Skill not found"},{status:404});return i.NextResponse.json({success:!0,skill:n})}catch(e){if(d.v.error("[API /api/sync/skills/[id] GET] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to fetch skill"},{status:500})}}async function p(e,{params:t}){try{await (0,u.oC)();let{id:r}=await t,{skill:n}=await e.json();if(!n||n.id!==r)return i.NextResponse.json({error:"Invalid skill data or ID mismatch"},{status:400});if(n.isBuiltIn)return i.NextResponse.json({error:"Cannot sync built-in skills"},{status:400});let s=await (0,l.B)();await s.init();let o=await s.getSkill(r),a=new Date;o?await s.updateSkill({id:n.id,name:n.name,description:n.description,content:n.content,markdown:n.markdown,createdAt:n.createdAt,updatedAt:a}):await s.createSkill({id:n.id,name:n.name,description:n.description,content:n.content,markdown:n.markdown,createdAt:n.createdAt,updatedAt:a});let d=await s.getSkill(r);return await s.close?.(),i.NextResponse.json({success:!0,skill:d,action:o?"updated":"created"})}catch(e){if(d.v.error("[API /api/sync/skills/[id] POST] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to sync skill"},{status:500})}}async function w(e,{params:t}){try{await (0,u.oC)();let{id:e}=await t,r=await (0,l.B)();await r.init();let n=await r.getSkill(e);if(!n)return await r.close?.(),i.NextResponse.json({error:"Skill not found"},{status:404});if(n.isBuiltIn)return await r.close?.(),i.NextResponse.json({error:"Cannot delete built-in skills"},{status:400});return await r.deleteSkill(e),await r.close?.(),i.NextResponse.json({success:!0})}catch(e){if(d.v.error("[API /api/sync/skills/[id] DELETE] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to delete skill"},{status:500})}}let f=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/sync/skills/[id]/route",pathname:"/api/sync/skills/[id]",filename:"route",bundlePath:"app/api/sync/skills/[id]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/[id]/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:m,workUnitAsyncStorage:x,serverHooks:g}=f;function k(){return(0,a.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:x})}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(75825));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=1502,a.ids=[1502],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},15017:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{DELETE:()=>A,GET:()=>y,POST:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(39588),x=c(95012);async function y(a,{params:b}){try{await (0,w.oC)();let{id:a}=await b,c=await (0,v.B)();await c.init();let d=await c.getSkill(a);if(await c.close?.(),!d)return u.NextResponse.json({error:"Skill not found"},{status:404});return u.NextResponse.json({success:!0,skill:d})}catch(a){if(x.v.error("[API /api/sync/skills/[id] GET] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to fetch skill"},{status:500})}}async function z(a,{params:b}){try{await (0,w.oC)();let{id:c}=await b,{skill:d}=await a.json();if(!d||d.id!==c)return u.NextResponse.json({error:"Invalid skill data or ID mismatch"},{status:400});if(d.isBuiltIn)return u.NextResponse.json({error:"Cannot sync built-in skills"},{status:400});let e=await (0,v.B)();await e.init();let f=await e.getSkill(c),g=new Date;f?await e.updateSkill({id:d.id,name:d.name,description:d.description,content:d.content,markdown:d.markdown,createdAt:d.createdAt,updatedAt:g}):await e.createSkill({id:d.id,name:d.name,description:d.description,content:d.content,markdown:d.markdown,createdAt:d.createdAt,updatedAt:g});let h=await e.getSkill(c);return await e.close?.(),u.NextResponse.json({success:!0,skill:h,action:f?"updated":"created"})}catch(a){if(x.v.error("[API /api/sync/skills/[id] POST] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to sync skill"},{status:500})}}async function A(a,{params:b}){try{await (0,w.oC)();let{id:a}=await b,c=await (0,v.B)();await c.init();let d=await c.getSkill(a);if(!d)return await c.close?.(),u.NextResponse.json({error:"Skill not found"},{status:404});if(d.isBuiltIn)return await c.close?.(),u.NextResponse.json({error:"Cannot delete built-in skills"},{status:400});return await c.deleteSkill(a),await c.close?.(),u.NextResponse.json({success:!0})}catch(a){if(x.v.error("[API /api/sync/skills/[id] DELETE] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to delete skill"},{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sync/skills/[id]/route",pathname:"/api/sync/skills/[id]",filename:"route",bundlePath:"app/api/sync/skills/[id]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/[id]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){var d;let e="/api/sync/skills/[id]/route";"/index"===e&&(e="/");let g=await B.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||B.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===B.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>B.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>B.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=15017));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sync/skills/[id]/route.js.nft.json b/.next/server/app/api/sync/skills/[id]/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/sync/skills/[id]/route.js.nft.json +++ b/.next/server/app/api/sync/skills/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/skills/[id]/route_client-reference-manifest.js b/.next/server/app/api/sync/skills/[id]/route_client-reference-manifest.js index 92d6000c7c46de39b66d3a57d2d2678750be30fe..8580a96ce76c1bea05dd7a396d4b7c67ba2d8c19 100644 --- a/.next/server/app/api/sync/skills/[id]/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/skills/[id]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/skills/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/skills/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/[id]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/skills/route.js b/.next/server/app/api/sync/skills/route.js index 2898596f094cf219b4d7ffc9436d7d0325f71702..85511e5bf279ae48cc9a2aeec1294919bde60d4d 100644 --- a/.next/server/app/api/sync/skills/route.js +++ b/.next/server/app/api/sync/skills/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=4596,e.ids=[4596],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,r,t)=>{t.d(r,{A:()=>l});var n=t(55511);let s={randomUUID:n.randomUUID},o=new Uint8Array(256),a=o.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let l=function(e,r,t){if(s.randomUUID&&!r&&!e)return s.randomUUID();let l=(e=e||{}).random??e.rng?.()??(a>o.length-16&&((0,n.randomFillSync)(o),a=0),o.slice(a,a+=16));if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,r){if((t=t||0)<0||t+16>r.length)throw RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[t+e]=l[e];return r}return function(e,r=0){return(i[e[r+0]]+i[e[r+1]]+i[e[r+2]]+i[e[r+3]]+"-"+i[e[r+4]]+i[e[r+5]]+"-"+i[e[r+6]]+i[e[r+7]]+"-"+i[e[r+8]]+i[e[r+9]]+"-"+i[e[r+10]]+i[e[r+11]]+i[e[r+12]]+i[e[r+13]]+i[e[r+14]]+i[e[r+15]]).toLowerCase()}(l)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},42595:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>x,routeModule:()=>f,serverHooks:()=>g,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>m});var n={};t.r(n),t.d(n,{GET:()=>c,POST:()=>p});var s=t(96559),o=t(48088),a=t(37719),i=t(32190),l=t(30417),u=t(50613),d=t(66819);async function c(){try{await (0,u.oC)();let e=await (0,l.B)();await e.init();let r=(await e.getAllSkills()||[]).filter(e=>!e.isBuiltIn);return await e.close?.(),i.NextResponse.json({success:!0,skills:r})}catch(e){if(d.v.error("[API /api/sync/skills GET] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to fetch skills"},{status:500})}}async function p(e){try{await (0,u.oC)();let{skills:r}=await e.json();if(!r||!Array.isArray(r))return i.NextResponse.json({error:"Invalid skills data - expected array"},{status:400});let t=await (0,l.B)();await t.init();let n=0,s=0,o=[];for(let e of r)if(!e.isBuiltIn)try{await t.getSkill(e.id)?(await t.updateSkill({id:e.id,name:e.name,description:e.description,content:e.content,markdown:e.markdown,createdAt:e.createdAt,updatedAt:new Date}),s++):(await t.createSkill({id:e.id,name:e.name,description:e.description,content:e.content,markdown:e.markdown,createdAt:e.createdAt,updatedAt:e.updatedAt}),n++)}catch(r){o.push(`Failed to sync skill "${e.name}": ${r instanceof Error?r.message:"Unknown error"}`)}return await t.close?.(),i.NextResponse.json({success:0===o.length,created:n,updated:s,errors:o.length>0?o:void 0})}catch(e){if(d.v.error("[API /api/sync/skills POST] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to sync skills"},{status:500})}}let f=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/sync/skills/route",pathname:"/api/sync/skills",filename:"route",bundlePath:"app/api/sync/skills/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:w,workUnitAsyncStorage:m,serverHooks:g}=f;function x(){return(0,a.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:m})}},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,r,t)=>{t.d(r,{C0:()=>c,Ht:()=>d,gV:()=>u,jw:()=>l,oC:()=>p});var n=t(87806),s=t(77412),o=t(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function l(e,r,t=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:r,isAdmin:t}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function u(e){try{let r=i(),{payload:t}=await (0,s.V)(e,r);return{userId:t.userId,email:t.email,isAdmin:t.isAdmin,exp:t.exp}}catch(e){return null}}async function d(){let e=await (0,o.UL)(),r=e.get(a)?.value;return r?u(r):null}async function c(){(await (0,o.UL)()).delete(a)}async function p(){let e=await d();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,r,t)=>{t.d(r,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function o(e){return n[s]<=n[e]}let a={debug:(...e)=>{o("debug")&&console.debug(...e)},info:(...e)=>{o("info")&&console.info(...e)},warn:(...e)=>{o("warn")&&console.warn(...e)},error:(...e)=>{o("error")&&console.error(...e)}}},87550:e=>{e.exports=require("better-sqlite3")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),n=r.X(0,[4447,580,5155,9709],()=>t(42595));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=4596,a.ids=[4596],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},89201:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(39588),x=c(95012);async function y(){try{await (0,w.oC)();let a=await (0,v.B)();await a.init();let b=(await a.getAllSkills()||[]).filter(a=>!a.isBuiltIn);return await a.close?.(),u.NextResponse.json({success:!0,skills:b})}catch(a){if(x.v.error("[API /api/sync/skills GET] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to fetch skills"},{status:500})}}async function z(a){try{await (0,w.oC)();let{skills:b}=await a.json();if(!b||!Array.isArray(b))return u.NextResponse.json({error:"Invalid skills data - expected array"},{status:400});let c=await (0,v.B)();await c.init();let d=0,e=0,f=[];for(let a of b)if(!a.isBuiltIn)try{await c.getSkill(a.id)?(await c.updateSkill({id:a.id,name:a.name,description:a.description,content:a.content,markdown:a.markdown,createdAt:a.createdAt,updatedAt:new Date}),e++):(await c.createSkill({id:a.id,name:a.name,description:a.description,content:a.content,markdown:a.markdown,createdAt:a.createdAt,updatedAt:a.updatedAt}),d++)}catch(b){f.push(`Failed to sync skill "${a.name}": ${b instanceof Error?b.message:"Unknown error"}`)}return await c.close?.(),u.NextResponse.json({success:0===f.length,created:d,updated:e,errors:f.length>0?f:void 0})}catch(a){if(x.v.error("[API /api/sync/skills POST] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to sync skills"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sync/skills/route",pathname:"/api/sync/skills",filename:"route",bundlePath:"app/api/sync/skills/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/sync/skills/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=89201));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sync/skills/route.js.nft.json b/.next/server/app/api/sync/skills/route.js.nft.json index 2c9183da5b50e05825422aa5df1827327eeb10a8..6c94e5cb3fe0486dbe372f74802902d64e6acc2c 100644 --- a/.next/server/app/api/sync/skills/route.js.nft.json +++ b/.next/server/app/api/sync/skills/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/skills/route_client-reference-manifest.js b/.next/server/app/api/sync/skills/route_client-reference-manifest.js index e927f374fd200c32b6375add89f00aa34072251b..de8b81a855fa81914c5adf88fac6d5c9b806bcbf 100644 --- a/.next/server/app/api/sync/skills/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/skills/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/skills/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/skills/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/skills/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/status/route.js b/.next/server/app/api/sync/status/route.js index 4b3dcd85ef376a26f4d7de87c26ac5eff1c95d09..36c3578012c01f34d944e8339b3008e5855e1b73 100644 --- a/.next/server/app/api/sync/status/route.js +++ b/.next/server/app/api/sync/status/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3084,e.ids=[3084],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let s={randomUUID:n.randomUUID},a=new Uint8Array(256),o=a.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>a.length-16&&((0,n.randomFillSync)(a),o=0),a.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,t,r)=>{r.d(t,{v:()=>o});let n={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function a(e){return n[s]<=n[e]}let o={debug:(...e)=>{a("debug")&&console.debug(...e)},info:(...e)=>{a("info")&&console.info(...e)},warn:(...e)=>{a("warn")&&console.warn(...e)},error:(...e)=>{a("error")&&console.error(...e)}}},74880:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>h,routeModule:()=>c,serverHooks:()=>f,workAsyncStorage:()=>g,workUnitAsyncStorage:()=>m});var n={};r.r(n),r.d(n,{GET:()=>p});var s=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(30417),l=r(66819);function d(e,t=new Date){if(!e)return t;if(e instanceof Date)return isNaN(e.getTime())?t:e;let r=new Date(e);return isNaN(r.getTime())?t:r}async function p(e){try{let e;try{e=await (0,u.B)()}catch(e){return l.v.error("[API /api/sync/status] Server adapter initialization failed:",e),i.NextResponse.json({error:"Server mode not configured. Check DATABASE_URL environment variable."},{status:500})}await e.init();let t=await e.listProjects()||[],r=e.listSites?await e.listSites():[],n=(await e.getAllSkills()||[]).filter(e=>!e.isBuiltIn),s=await e.getAllCustomTemplates()||[],a=t.map(e=>{let t=d(e.updatedAt);return{id:e.id,name:e.name,updatedAt:t.toISOString()}}),o=n.map(e=>{let t=d(e.updatedAt);return{id:e.id,name:e.name,updatedAt:t.toISOString()}}),p=s.map(e=>{let t=d(e.updatedAt||e.importedAt);return{id:e.id,name:e.name,updatedAt:t.toISOString()}}),c=[...a.map(e=>e.updatedAt),...o.map(e=>e.updatedAt),...p.map(e=>e.updatedAt)],g=null;c.length>0&&(g=[...c].sort((e,t)=>new Date(t).getTime()-new Date(e).getTime())[0]),l.v.debug(`[API /api/sync/status] Fetched status for ${a.length} projects, ${o.length} skills, ${p.length} templates, ${r.length} sites`);let m={success:!0,projects:a,skills:o,templates:p,summary:{projectCount:t.length,skillCount:n.length,templateCount:s.length,siteCount:r.length,lastUpdated:g,isUninitialized:0===t.length}};return i.NextResponse.json(m)}catch(e){return l.v.error("[API /api/sync/status] Error:",e),i.NextResponse.json({error:e instanceof Error?e.message:"Failed to fetch sync status"},{status:500})}}let c=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/sync/status/route",pathname:"/api/sync/status",filename:"route",bundlePath:"app/api/sync/status/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/status/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:g,workUnitAsyncStorage:m,serverHooks:f}=c;function h(){return(0,o.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:m})}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,9709],()=>r(74880));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=3084,a.ids=[3084],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},85317:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>y});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(95012);function x(a,b=new Date){if(!a)return b;if(a instanceof Date)return isNaN(a.getTime())?b:a;let c=new Date(a);return isNaN(c.getTime())?b:c}async function y(a){try{let a;try{a=await (0,v.B)()}catch(a){return w.v.error("[API /api/sync/status] Server adapter initialization failed:",a),u.NextResponse.json({error:"Server mode not configured. Check DATABASE_URL environment variable."},{status:500})}await a.init();let b=await a.listProjects()||[],c=a.listSites?await a.listSites():[],d=(await a.getAllSkills()||[]).filter(a=>!a.isBuiltIn),e=await a.getAllCustomTemplates()||[],f=b.map(a=>{let b=x(a.updatedAt);return{id:a.id,name:a.name,updatedAt:b.toISOString()}}),g=d.map(a=>{let b=x(a.updatedAt);return{id:a.id,name:a.name,updatedAt:b.toISOString()}}),h=e.map(a=>{let b=x(a.updatedAt||a.importedAt);return{id:a.id,name:a.name,updatedAt:b.toISOString()}}),i=[...f.map(a=>a.updatedAt),...g.map(a=>a.updatedAt),...h.map(a=>a.updatedAt)],j=null;i.length>0&&(j=[...i].sort((a,b)=>new Date(b).getTime()-new Date(a).getTime())[0]),w.v.debug(`[API /api/sync/status] Fetched status for ${f.length} projects, ${g.length} skills, ${h.length} templates, ${c.length} sites`);let k={success:!0,projects:f,skills:g,templates:h,summary:{projectCount:b.length,skillCount:d.length,templateCount:e.length,siteCount:c.length,lastUpdated:j,isUninitialized:0===b.length}};return u.NextResponse.json(k)}catch(a){return w.v.error("[API /api/sync/status] Error:",a),u.NextResponse.json({error:a instanceof Error?a.message:"Failed to fetch sync status"},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sync/status/route",pathname:"/api/sync/status",filename:"route",bundlePath:"app/api/sync/status/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/status/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){var d;let e="/api/sync/status/route";"/index"===e&&(e="/");let g=await z.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||z.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===z.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>z.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>z.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await z.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,726],()=>b(b.s=85317));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sync/status/route.js.nft.json b/.next/server/app/api/sync/status/route.js.nft.json index 356d70acea50c2b43d853db72da9bc8bd10c56df..4eac3c3a01f0d17750b936f83214f28fee8ade69 100644 --- a/.next/server/app/api/sync/status/route.js.nft.json +++ b/.next/server/app/api/sync/status/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/status/route_client-reference-manifest.js b/.next/server/app/api/sync/status/route_client-reference-manifest.js index 8051ee463320eb1cf3fdfbbcc9fd6fe383ded207..f8189aca963748910deea98424c161477fb9a467 100644 --- a/.next/server/app/api/sync/status/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/status/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/status/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/status/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/status/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/status/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/templates/[id]/route.js b/.next/server/app/api/sync/templates/[id]/route.js index 5ad03ec5f34c54657fc60eb022950e65fd9e48f6..d41064e85bb4c1ec909656c9b7fee0f12eee2dc2 100644 --- a/.next/server/app/api/sync/templates/[id]/route.js +++ b/.next/server/app/api/sync/templates/[id]/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=1415,e.ids=[1415],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let a={randomUUID:n.randomUUID},s=new Uint8Array(256),o=s.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(a.randomUUID&&!t&&!e)return a.randomUUID();let u=(e=e||{}).random??e.rng?.()??(o>s.length-16&&((0,n.randomFillSync)(s),o=0),s.slice(o,o+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>d,Ht:()=>p,gV:()=>l,jw:()=>u,oC:()=>c});var n=r(87806),a=r(77412),s=r(44999);let o="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let a=i(),s=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(s).setIssuedAt().sign(a)}async function l(e){try{let t=i(),{payload:r}=await (0,a.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function p(){let e=await (0,s.UL)(),t=e.get(o)?.value;return t?l(t):null}async function d(){(await (0,s.UL)()).delete(o)}async function c(){let e=await p();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,t,r)=>{r.d(t,{v:()=>o});let n={debug:10,info:20,warn:30,error:40,silent:50},a="undefined"!=typeof process&&"warn"||"warn";function s(e){return n[a]<=n[e]}let o={debug:(...e)=>{s("debug")&&console.debug(...e)},info:(...e)=>{s("info")&&console.info(...e)},warn:(...e)=>{s("warn")&&console.warn(...e)},error:(...e)=>{s("error")&&console.error(...e)}}},87550:e=>{e.exports=require("better-sqlite3")},98373:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>h,routeModule:()=>w,serverHooks:()=>x,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>g});var n={};r.r(n),r.d(n,{DELETE:()=>m,GET:()=>d,POST:()=>c});var a=r(96559),s=r(48088),o=r(37719),i=r(32190),u=r(30417),l=r(50613),p=r(66819);async function d(e,{params:t}){try{await (0,l.oC)();let{id:e}=await t,r=await (0,u.B)();await r.init();let n=await r.getCustomTemplate(e);if(await r.close?.(),!n)return i.NextResponse.json({error:"Template not found"},{status:404});return i.NextResponse.json({success:!0,template:n})}catch(e){if(p.v.error("[API /api/sync/templates/[id] GET] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to fetch template"},{status:500})}}async function c(e,{params:t}){try{await (0,l.oC)();let{id:r}=await t,{template:n}=await e.json();if(!n||n.id!==r)return i.NextResponse.json({error:"Invalid template data or ID mismatch"},{status:400});let a=await (0,u.B)();await a.init();let s=await a.getCustomTemplate(r),o={...n,updatedAt:new Date};await a.saveCustomTemplate(o);let p=await a.getCustomTemplate(r);return await a.close?.(),i.NextResponse.json({success:!0,template:p,action:s?"updated":"created"})}catch(e){if(p.v.error("[API /api/sync/templates/[id] POST] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to sync template"},{status:500})}}async function m(e,{params:t}){try{await (0,l.oC)();let{id:e}=await t,r=await (0,u.B)();if(await r.init(),!await r.getCustomTemplate(e))return await r.close?.(),i.NextResponse.json({error:"Template not found"},{status:404});return await r.deleteCustomTemplate(e),await r.close?.(),i.NextResponse.json({success:!0})}catch(e){if(p.v.error("[API /api/sync/templates/[id] DELETE] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to delete template"},{status:500})}}let w=new a.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/sync/templates/[id]/route",pathname:"/api/sync/templates/[id]",filename:"route",bundlePath:"app/api/sync/templates/[id]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/[id]/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:f,workUnitAsyncStorage:g,serverHooks:x}=w;function h(){return(0,o.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:g})}}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(98373));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=1415,a.ids=[1415],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},83408:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{DELETE:()=>A,GET:()=>y,POST:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(39588),x=c(95012);async function y(a,{params:b}){try{await (0,w.oC)();let{id:a}=await b,c=await (0,v.B)();await c.init();let d=await c.getCustomTemplate(a);if(await c.close?.(),!d)return u.NextResponse.json({error:"Template not found"},{status:404});return u.NextResponse.json({success:!0,template:d})}catch(a){if(x.v.error("[API /api/sync/templates/[id] GET] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to fetch template"},{status:500})}}async function z(a,{params:b}){try{await (0,w.oC)();let{id:c}=await b,{template:d}=await a.json();if(!d||d.id!==c)return u.NextResponse.json({error:"Invalid template data or ID mismatch"},{status:400});let e=await (0,v.B)();await e.init();let f=await e.getCustomTemplate(c),g={...d,updatedAt:new Date};await e.saveCustomTemplate(g);let h=await e.getCustomTemplate(c);return await e.close?.(),u.NextResponse.json({success:!0,template:h,action:f?"updated":"created"})}catch(a){if(x.v.error("[API /api/sync/templates/[id] POST] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to sync template"},{status:500})}}async function A(a,{params:b}){try{await (0,w.oC)();let{id:a}=await b,c=await (0,v.B)();if(await c.init(),!await c.getCustomTemplate(a))return await c.close?.(),u.NextResponse.json({error:"Template not found"},{status:404});return await c.deleteCustomTemplate(a),await c.close?.(),u.NextResponse.json({success:!0})}catch(a){if(x.v.error("[API /api/sync/templates/[id] DELETE] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to delete template"},{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sync/templates/[id]/route",pathname:"/api/sync/templates/[id]",filename:"route",bundlePath:"app/api/sync/templates/[id]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/[id]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){var d;let e="/api/sync/templates/[id]/route";"/index"===e&&(e="/");let g=await B.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||B.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===B.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>B.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>B.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=83408));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sync/templates/[id]/route.js.nft.json b/.next/server/app/api/sync/templates/[id]/route.js.nft.json index b8be00c66ea192e50cec1a00b37ccda7e0e6646c..258bac5cdf2b58f3c0544372b29441ff95bf20de 100644 --- a/.next/server/app/api/sync/templates/[id]/route.js.nft.json +++ b/.next/server/app/api/sync/templates/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/4447.js","../../../../../chunks/5155.js","../../../../../chunks/580.js","../../../../../chunks/9709.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../../data/osws.sqlite","../../../../../../../data/osws.sqlite-shm","../../../../../../../data/osws.sqlite-wal","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../../package.json","../../../../../chunks/1692.js","../../../../../chunks/4586.js","../../../../../chunks/6151.js","../../../../../chunks/726.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/templates/[id]/route_client-reference-manifest.js b/.next/server/app/api/sync/templates/[id]/route_client-reference-manifest.js index 5dd2e94d070156c4d8f6cf59c10fd5d2946fee23..fdfa728cdb4c02164afa88013a6eec69625c87db 100644 --- a/.next/server/app/api/sync/templates/[id]/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/templates/[id]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/templates/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/[id]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/templates/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/[id]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/sync/templates/route.js b/.next/server/app/api/sync/templates/route.js index af479b69efd6ce608dc56e81a2ca05f8fdda5b93..db0911c612c6104ad44a34313ed956de6e407882 100644 --- a/.next/server/app/api/sync/templates/route.js +++ b/.next/server/app/api/sync/templates/route.js @@ -1 +1 @@ -"use strict";(()=>{var e={};e.id=3771,e.ids=[3771],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},23870:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(55511);let s={randomUUID:n.randomUUID},o=new Uint8Array(256),a=o.length,i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));let u=function(e,t,r){if(s.randomUUID&&!t&&!e)return s.randomUUID();let u=(e=e||{}).random??e.rng?.()??(a>o.length-16&&((0,n.randomFillSync)(o),a=0),o.slice(a,a+=16));if(u.length<16)throw Error("Random bytes length must be >= 16");if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=u[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(u)}},29021:e=>{e.exports=require("fs")},29056:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>x,routeModule:()=>f,serverHooks:()=>g,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>w});var n={};r.r(n),r.d(n,{GET:()=>c,POST:()=>d});var s=r(96559),o=r(48088),a=r(37719),i=r(32190),u=r(30417),l=r(50613),p=r(66819);async function c(){try{await (0,l.oC)();let e=await (0,u.B)();await e.init();let t=await e.getAllCustomTemplates();return await e.close?.(),i.NextResponse.json({success:!0,templates:t})}catch(e){if(p.v.error("[API /api/sync/templates GET] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to fetch templates"},{status:500})}}async function d(e){try{await (0,l.oC)();let{templates:t}=await e.json();if(!t||!Array.isArray(t))return i.NextResponse.json({error:"Invalid templates data - expected array"},{status:400});let r=await (0,u.B)();await r.init();let n=0,s=0,o=[];for(let e of t)try{let t=await r.getCustomTemplate(e.id),o={...e,updatedAt:new Date};await r.saveCustomTemplate(o),t?s++:n++}catch(t){o.push(`Failed to sync template "${e.name}": ${t instanceof Error?t.message:"Unknown error"}`)}return await r.close?.(),i.NextResponse.json({success:0===o.length,created:n,updated:s,errors:o.length>0?o:void 0})}catch(e){if(p.v.error("[API /api/sync/templates POST] Error:",e),e instanceof Error&&"Unauthorized"===e.message)return i.NextResponse.json({error:"Unauthorized"},{status:401});return i.NextResponse.json({error:e instanceof Error?e.message:"Failed to sync templates"},{status:500})}}let f=new s.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/sync/templates/route",pathname:"/api/sync/templates",filename:"route",bundlePath:"app/api/sync/templates/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/route.ts",nextConfigOutput:"standalone",userland:n}),{workAsyncStorage:m,workUnitAsyncStorage:w,serverHooks:g}=f;function x(){return(0,a.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:w})}},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50613:(e,t,r)=>{r.d(t,{C0:()=>c,Ht:()=>p,gV:()=>l,jw:()=>u,oC:()=>d});var n=r(87806),s=r(77412),o=r(44999);let a="osw_session";function i(){let e=process.env.SESSION_SECRET;if(!e)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(e)}async function u(e,t,r=!0){let s=i(),o=Math.floor((Date.now()+864e5)/1e3);return await new n.P({userId:e,email:t,isAdmin:r}).setProtectedHeader({alg:"HS256"}).setExpirationTime(o).setIssuedAt().sign(s)}async function l(e){try{let t=i(),{payload:r}=await (0,s.V)(e,t);return{userId:r.userId,email:r.email,isAdmin:r.isAdmin,exp:r.exp}}catch(e){return null}}async function p(){let e=await (0,o.UL)(),t=e.get(a)?.value;return t?l(t):null}async function c(){(await (0,o.UL)()).delete(a)}async function d(){let e=await p();if(!e)throw Error("Unauthorized");return e}},55511:e=>{e.exports=require("crypto")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,t,r)=>{r.d(t,{v:()=>a});let n={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function o(e){return n[s]<=n[e]}let a={debug:(...e)=>{o("debug")&&console.debug(...e)},info:(...e)=>{o("info")&&console.info(...e)},warn:(...e)=>{o("warn")&&console.warn(...e)},error:(...e)=>{o("error")&&console.error(...e)}}},87550:e=>{e.exports=require("better-sqlite3")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4447,580,5155,9709],()=>r(29056));module.exports=n})(); \ No newline at end of file +"use strict";(()=>{var a={};a.id=3771,a.ids=[3771],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32524:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},33873:a=>{a.exports=require("path")},39588:(a,b,c)=>{c.d(b,{C0:()=>l,Ht:()=>k,gV:()=>j,jw:()=>i,oC:()=>m});var d=c(84440),e=c(47671),f=c(86802);let g="osw_session";function h(){let a=process.env.SESSION_SECRET;if(!a)throw Error("SESSION_SECRET environment variable not set");return new TextEncoder().encode(a)}async function i(a,b,c=!0){let e=h(),f=Math.floor((Date.now()+864e5)/1e3);return await new d.P({userId:a,email:b,isAdmin:c}).setProtectedHeader({alg:"HS256"}).setExpirationTime(f).setIssuedAt().sign(e)}async function j(a){try{let b=h(),{payload:c}=await (0,e.V)(a,b);return{userId:c.userId,email:c.email,isAdmin:c.isAdmin,exp:c.exp}}catch(a){return null}}async function k(){let a=await (0,f.UL)(),b=a.get(g)?.value;return b?j(b):null}async function l(){(await (0,f.UL)()).delete(g)}async function m(){let a=await k();if(!a)throw Error("Unauthorized");return a}},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},75414:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>y,POST:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(97778),w=c(39588),x=c(95012);async function y(){try{await (0,w.oC)();let a=await (0,v.B)();await a.init();let b=await a.getAllCustomTemplates();return await a.close?.(),u.NextResponse.json({success:!0,templates:b})}catch(a){if(x.v.error("[API /api/sync/templates GET] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to fetch templates"},{status:500})}}async function z(a){try{await (0,w.oC)();let{templates:b}=await a.json();if(!b||!Array.isArray(b))return u.NextResponse.json({error:"Invalid templates data - expected array"},{status:400});let c=await (0,v.B)();await c.init();let d=0,e=0,f=[];for(let a of b)try{let b=await c.getCustomTemplate(a.id),f={...a,updatedAt:new Date};await c.saveCustomTemplate(f),b?e++:d++}catch(b){f.push(`Failed to sync template "${a.name}": ${b instanceof Error?b.message:"Unknown error"}`)}return await c.close?.(),u.NextResponse.json({success:0===f.length,created:d,updated:e,errors:f.length>0?f:void 0})}catch(a){if(x.v.error("[API /api/sync/templates POST] Error:",a),a instanceof Error&&"Unauthorized"===a.message)return u.NextResponse.json({error:"Unauthorized"},{status:401});return u.NextResponse.json({error:a instanceof Error?a.message:"Failed to sync templates"},{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/sync/templates/route",pathname:"/api/sync/templates",filename:"route",bundlePath:"app/api/sync/templates/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/api/sync/templates/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},95012:(a,b,c)=>{c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692,6151,726],()=>b(b.s=75414));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/sync/templates/route.js.nft.json b/.next/server/app/api/sync/templates/route.js.nft.json index 2c9183da5b50e05825422aa5df1827327eeb10a8..6c94e5cb3fe0486dbe372f74802902d64e6acc2c 100644 --- a/.next/server/app/api/sync/templates/route.js.nft.json +++ b/.next/server/app/api/sync/templates/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/5155.js","../../../../chunks/580.js","../../../../chunks/9709.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../chunks/6151.js","../../../../chunks/726.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/sync/templates/route_client-reference-manifest.js b/.next/server/app/api/sync/templates/route_client-reference-manifest.js index 3da91d593c64e0d695c82f86583ea0f86890da54..d041d544e4ebf49981e6d6c2a2e312acf593bc19 100644 --- a/.next/server/app/api/sync/templates/route_client-reference-manifest.js +++ b/.next/server/app/api/sync/templates/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/templates/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/sync/templates/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/sync/templates/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/validate-key/route.js b/.next/server/app/api/validate-key/route.js index c449aaf43f39d263dfce58fcf494cdc4b860a86c..71887f5fd1d669c86a40812783b4cad4634d65ec 100644 --- a/.next/server/app/api/validate-key/route.js +++ b/.next/server/app/api/validate-key/route.js @@ -1 +1 @@ -(()=>{var e={};e.id=5078,e.ids=[5078],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14092:(e,o,r)=>{"use strict";r.d(o,{sO:()=>s});let t={openrouter:{id:"openrouter",name:"OpenRouter",description:"Access multiple AI models through a unified API",apiKeyRequired:!0,apiKeyPlaceholder:"sk-or-...",apiKeyHelpUrl:"https://openrouter.ai/keys",baseUrl:"https://openrouter.ai/api/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},openai:{id:"openai",name:"OpenAI",description:"GPT-4, GPT-3.5 and other OpenAI models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-...",apiKeyHelpUrl:"https://platform.openai.com/api-keys",baseUrl:"https://api.openai.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},anthropic:{id:"anthropic",name:"Anthropic",description:"Claude 3.5 Sonnet, Haiku and Opus models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-ant-...",apiKeyHelpUrl:"https://console.anthropic.com/settings/keys",baseUrl:"https://api.anthropic.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},groq:{id:"groq",name:"Groq",description:"Ultra-fast inference with Llama and Mixtral models",apiKeyRequired:!0,apiKeyPlaceholder:"gsk_...",apiKeyHelpUrl:"https://console.groq.com/keys",baseUrl:"https://api.groq.com/openai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},gemini:{id:"gemini",name:"Google Gemini",description:"Google's multimodal AI models",apiKeyRequired:!0,apiKeyPlaceholder:"AI...",apiKeyHelpUrl:"https://aistudio.google.com/apikey",baseUrl:"https://generativelanguage.googleapis.com/v1beta",models:[{id:"gemini-2.0-flash-exp",name:"Gemini 2.0 Flash",description:"Latest experimental Gemini model",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-pro",name:"Gemini 1.5 Pro",description:"Advanced reasoning and analysis",contextLength:2097152,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-flash",name:"Gemini 1.5 Flash",description:"Fast and versatile",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0}],supportsFunctions:!0,supportsStreaming:!0},ollama:{id:"ollama",name:"Ollama",description:"Run models locally with Ollama",apiKeyRequired:!1,baseUrl:"http://localhost:11434/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},lmstudio:{id:"lmstudio",name:"LM Studio",description:"Local model server with tool use support",apiKeyRequired:!1,baseUrl:"http://localhost:1234/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},sambanova:{id:"sambanova",name:"SambaNova",description:"High-performance AI chips for inference",apiKeyRequired:!0,apiKeyPlaceholder:"SambaNova API Key",apiKeyHelpUrl:"https://cloud.sambanova.ai/apis",baseUrl:"https://api.sambanova.ai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0}};function s(e){return t[e]}},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},51085:(e,o,r)=>{"use strict";r.r(o),r.d(o,{patchFetch:()=>g,routeModule:()=>d,serverHooks:()=>h,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>m});var t={};r.r(t),r.d(t,{POST:()=>u});var s=r(96559),a=r(48088),i=r(37719),n=r(32190),p=r(14092),l=r(66819);async function u(e){try{let{apiKey:o,provider:r}=await e.json();if(!o||!r)return n.NextResponse.json({error:"API key and provider are required"},{status:400});let t=(0,p.sO)(r),s=!1;switch(r){case"openrouter":s=(await fetch("https://openrouter.ai/api/v1/auth/key",{headers:{Authorization:`Bearer ${o}`}})).ok;break;case"openai":s=(await fetch("https://api.openai.com/v1/models",{headers:{Authorization:`Bearer ${o}`}})).ok;break;case"anthropic":s=(await fetch("https://api.anthropic.com/v1/models",{headers:{"x-api-key":o,"anthropic-version":"2023-06-01"}})).ok;break;case"groq":s=(await fetch("https://api.groq.com/openai/v1/models",{headers:{Authorization:`Bearer ${o}`}})).ok;break;case"ollama":case"lmstudio":s=(await fetch(`${t.baseUrl}/models`)).ok;break;case"gemini":s=!!o&&o.length>10;break;default:s=!!t.baseUrl&&(await fetch(`${t.baseUrl}/models`,{headers:{Authorization:`Bearer ${o}`}})).ok}return n.NextResponse.json({valid:s})}catch(e){return l.v.error("Validation error:",e),n.NextResponse.json({valid:!1})}}let d=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/validate-key/route",pathname:"/api/validate-key",filename:"route",bundlePath:"app/api/validate-key/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/validate-key/route.ts",nextConfigOutput:"standalone",userland:t}),{workAsyncStorage:c,workUnitAsyncStorage:m,serverHooks:h}=d;function g(){return(0,i.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:m})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66819:(e,o,r)=>{"use strict";r.d(o,{v:()=>i});let t={debug:10,info:20,warn:30,error:40,silent:50},s="undefined"!=typeof process&&"warn"||"warn";function a(e){return t[s]<=t[e]}let i={debug:(...e)=>{a("debug")&&console.debug(...e)},info:(...e)=>{a("info")&&console.info(...e)},warn:(...e)=>{a("warn")&&console.warn(...e)},error:(...e)=>{a("error")&&console.error(...e)}}},78335:()=>{},96487:()=>{}};var o=require("../../../webpack-runtime.js");o.C(e);var r=e=>o(o.s=e),t=o.X(0,[4447,580],()=>r(51085));module.exports=t})(); \ No newline at end of file +(()=>{var a={};a.id=5078,a.ids=[5078],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26704:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>D,patchFetch:()=>C,routeModule:()=>y,serverHooks:()=>B,workAsyncStorage:()=>z,workUnitAsyncStorage:()=>A});var d={};c.r(d),c.d(d,{POST:()=>x});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(94729),w=c(95012);async function x(a){try{let{apiKey:b,provider:c}=await a.json();if(!b||!c)return u.NextResponse.json({error:"API key and provider are required"},{status:400});let d=(0,v.sO)(c),e=!1;switch(c){case"openrouter":e=(await fetch("https://openrouter.ai/api/v1/auth/key",{headers:{Authorization:`Bearer ${b}`}})).ok;break;case"openai":e=(await fetch("https://api.openai.com/v1/models",{headers:{Authorization:`Bearer ${b}`}})).ok;break;case"anthropic":e=(await fetch("https://api.anthropic.com/v1/models",{headers:{"x-api-key":b,"anthropic-version":"2023-06-01"}})).ok;break;case"groq":e=(await fetch("https://api.groq.com/openai/v1/models",{headers:{Authorization:`Bearer ${b}`}})).ok;break;case"ollama":case"lmstudio":e=(await fetch(`${d.baseUrl}/models`)).ok;break;case"gemini":e=!!b&&b.length>10;break;default:e=!!d.baseUrl&&(await fetch(`${d.baseUrl}/models`,{headers:{Authorization:`Bearer ${b}`}})).ok}return u.NextResponse.json({valid:e})}catch(a){return w.v.error("Validation error:",a),u.NextResponse.json({valid:!1})}}let y=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/validate-key/route",pathname:"/api/validate-key",filename:"route",bundlePath:"app/api/validate-key/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/validate-key/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:z,workUnitAsyncStorage:A,serverHooks:B}=y;function C(){return(0,g.patchFetch)({workAsyncStorage:z,workUnitAsyncStorage:A})}async function D(a,b,c){var d;let e="/api/validate-key/route";"/index"===e&&(e="/");let g=await y.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:z,routerServerContext:A,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(z.dynamicRoutes[E]||z.routes[D]);if(F&&!x){let a=!!z.routes[D],b=z.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||y.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===y.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:z,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>y.onRequestError(a,b,d,A)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>y.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await y.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},A),b}},l=await y.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:z,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await y.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},94729:(a,b,c)=>{"use strict";c.d(b,{sO:()=>e});let d={openrouter:{id:"openrouter",name:"OpenRouter",description:"Access multiple AI models through a unified API",apiKeyRequired:!0,apiKeyPlaceholder:"sk-or-...",apiKeyHelpUrl:"https://openrouter.ai/keys",baseUrl:"https://openrouter.ai/api/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},openai:{id:"openai",name:"OpenAI",description:"GPT-4, GPT-3.5 and other OpenAI models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-...",apiKeyHelpUrl:"https://platform.openai.com/api-keys",baseUrl:"https://api.openai.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},anthropic:{id:"anthropic",name:"Anthropic",description:"Claude 3.5 Sonnet, Haiku and Opus models",apiKeyRequired:!0,apiKeyPlaceholder:"sk-ant-...",apiKeyHelpUrl:"https://console.anthropic.com/settings/keys",baseUrl:"https://api.anthropic.com/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},groq:{id:"groq",name:"Groq",description:"Ultra-fast inference with Llama and Mixtral models",apiKeyRequired:!0,apiKeyPlaceholder:"gsk_...",apiKeyHelpUrl:"https://console.groq.com/keys",baseUrl:"https://api.groq.com/openai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0},gemini:{id:"gemini",name:"Google Gemini",description:"Google's multimodal AI models",apiKeyRequired:!0,apiKeyPlaceholder:"AI...",apiKeyHelpUrl:"https://aistudio.google.com/apikey",baseUrl:"https://generativelanguage.googleapis.com/v1beta",models:[{id:"gemini-2.0-flash-exp",name:"Gemini 2.0 Flash",description:"Latest experimental Gemini model",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-pro",name:"Gemini 1.5 Pro",description:"Advanced reasoning and analysis",contextLength:2097152,maxTokens:8192,supportsFunctions:!0,supportsVision:!0},{id:"gemini-1.5-flash",name:"Gemini 1.5 Flash",description:"Fast and versatile",contextLength:1048576,maxTokens:8192,supportsFunctions:!0,supportsVision:!0}],supportsFunctions:!0,supportsStreaming:!0},ollama:{id:"ollama",name:"Ollama",description:"Run models locally with Ollama",apiKeyRequired:!1,baseUrl:"http://localhost:11434/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},lmstudio:{id:"lmstudio",name:"LM Studio",description:"Local model server with tool use support",apiKeyRequired:!1,baseUrl:"http://localhost:1234/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0,isLocal:!0},sambanova:{id:"sambanova",name:"SambaNova",description:"High-performance AI chips for inference",apiKeyRequired:!0,apiKeyPlaceholder:"SambaNova API Key",apiKeyHelpUrl:"https://cloud.sambanova.ai/apis",baseUrl:"https://api.sambanova.ai/v1",supportsModelDiscovery:!0,supportsFunctions:!0,supportsStreaming:!0}};function e(a){return d[a]}},95012:(a,b,c)=>{"use strict";c.d(b,{v:()=>g});let d={debug:10,info:20,warn:30,error:40,silent:50},e="undefined"!=typeof process&&"warn"||"warn";function f(a){return d[e]<=d[a]}let g={debug:(...a)=>{f("debug")&&console.debug(...a)},info:(...a)=>{f("info")&&console.info(...a)},warn:(...a)=>{f("warn")&&console.warn(...a)},error:(...a)=>{f("error")&&console.error(...a)}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692],()=>b(b.s=26704));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/api/validate-key/route.js.nft.json b/.next/server/app/api/validate-key/route.js.nft.json index 35b51ae9d0f39de4c28f8c6549c739b99d9765e7..5f67b25f0e83d2ba25e19010861069fd47f2ae52 100644 --- a/.next/server/app/api/validate-key/route.js.nft.json +++ b/.next/server/app/api/validate-key/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1692.js","../../../chunks/4586.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/validate-key/route_client-reference-manifest.js b/.next/server/app/api/validate-key/route_client-reference-manifest.js index fb9aed533d0eec4f524168e096d0f876c93b0c1e..8bfc5b4662d271e74912af674bc88e7780e26a20 100644 --- a/.next/server/app/api/validate-key/route_client-reference-manifest.js +++ b/.next/server/app/api/validate-key/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/validate-key/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/validate-key/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/validate-key/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/api/validate-key/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/index.html b/.next/server/app/index.html index 176604a3b80d23946b8fe3b927f7bf755a3309fe..405749a074f1f488c41e7eb376dddcd3e5181c4c 100644 --- a/.next/server/app/index.html +++ b/.next/server/app/index.html @@ -1 +1 @@ -Open Source Web Studio | Agentic AI Development 🎨

Loading...

\ No newline at end of file +Open Source Web Studio | Agentic AI Development 🎨

Loading...

\ No newline at end of file diff --git a/.next/server/app/index.rsc b/.next/server/app/index.rsc index 9dce9acaa79203c3fc6cbeaf096ba954569b8039..621f2373148ae5189c7fe12dbe77029e590c7624 100644 --- a/.next/server/app/index.rsc +++ b/.next/server/app/index.rsc @@ -1,28 +1,26 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[90894,[],"ClientPageRoot"] -8:I[40796,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"default"] -b:I[59665,[],"OutletBoundary"] -e:I[74911,[],"AsyncMetadataOutlet"] -10:I[59665,[],"ViewportBoundary"] -12:I[59665,[],"MetadataBoundary"] -14:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[81959,[],"ClientPageRoot"] +8:I[91367,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"default"] +b:I[24431,[],"OutletBoundary"] +d:I[15278,[],"AsyncMetadataOutlet"] +f:I[24431,[],"ViewportBoundary"] +11:I[24431,[],"MetadataBoundary"] +12:"$Sreact.suspense" +14:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc","$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","_8_hc-IzL2UQkZ_YlEgkQv",{"children":[["$","$L10",null,{"children":"$L11"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$L12",null,{"children":"$L13"}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} -15:"$Sreact.suspense" -16:I[74911,[],"AsyncMetadata"] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$L11",null,{"children":["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":"$L13"}]}]}]]}],false]],"m":"$undefined","G":["$14",[]],"s":false,"S":true} 9:{} -a:{} -13:["$","div",null,{"hidden":true,"children":["$","$15",null,{"fallback":null,"children":["$","$L16",null,{"promise":"$@17"}]}]}] -d:null -11:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +a:"$0:f:0:1:2:children:1:props:children:0:props:params" +10:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] c:null -f:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -17:{"metadata":"$f:metadata","error":null,"digest":"$undefined"} +15:I[80622,[],"IconMark"] +e:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L15","20",{}]],"error":null,"digest":"$undefined"} +13:"$e:metadata" diff --git a/.next/server/app/page.js b/.next/server/app/page.js index d1f6d99370ed80503c73282d605de99cc78f7f4b..9d7b3de8b3c607be871e6cb682a6169c53dc0f88 100644 --- a/.next/server/app/page.js +++ b/.next/server/app/page.js @@ -1 +1,2 @@ -(()=>{var e={};e.id=8974,e.ids=[8974],e.modules={1708:e=>{"use strict";e.exports=require("node:process")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12501:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>c,tree:()=>p});var s=r(65239),o=r(48088),n=r(88170),i=r.n(n),a=r(30893),u={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(u[e]=()=>a[e]);r.d(t,u);let p=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,90597)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}],d=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx"],l={require:r,loadChunk:()=>Promise.resolve()},c=new s.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:p}})},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},43555:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var s=r(60687),o=r(43210),n=r.n(o),i=r(16189),a=r(35157),u=r(2565),p=r(13265),d=r(11755),l=r(80021),c=r(96597);function x(){let e=(0,i.useSearchParams)();e.get("doc");let[t,r]=(0,o.useState)(null),[n,x]=(0,o.useState)("dashboard"),[g,h]=(0,o.useState)(!1),{state:f,setActiveProjectId:m,start:b}=(0,u.C)();e.get("settings"),f.currentStep?.id,f.status;let v=(0,o.useCallback)(e=>{x(e)},[]),j=(0,o.useCallback)(()=>{r(null),x("projects"),b&&b()},[b]),q=(0,o.useMemo)(()=>t?(0,s.jsx)(a.a,{project:t,onBack:()=>r(null)}):(0,s.jsx)(l.f,{view:n,onProjectSelect:r,onNavigate:v,onStartTour:j}),[t,n,v,j]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.M,{currentView:n,onNavigate:e=>x(e),onProjectSelect:r,onStartTour:j,onOpenAbout:()=>h(!0),showSidebar:!t,children:q}),(0,s.jsx)(p.V,{location:"global"}),(0,s.jsx)(c.V,{open:g,onOpenChange:h})]})}function g(){return(0,s.jsx)(u.g,{children:(0,s.jsx)(n().Suspense,{fallback:(0,s.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#0a0a0a]",children:(0,s.jsx)("p",{className:"text-zinc-400",children:"Loading..."})}),children:(0,s.jsx)(x,{})})})}function h(){return(0,i.useRouter)(),(0,s.jsx)(g,{})}},46539:(e,t,r)=>{Promise.resolve().then(r.bind(r,43555))},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73136:e=>{"use strict";e.exports=require("node:url")},76760:e=>{"use strict";e.exports=require("node:path")},79428:e=>{"use strict";e.exports=require("buffer")},86291:(e,t,r)=>{Promise.resolve().then(r.bind(r,90597))},87550:e=>{"use strict";e.exports=require("better-sqlite3")},90597:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx","default")},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,8055,329,4390,3640,1123],()=>r(12501));module.exports=s})(); \ No newline at end of file +(()=>{var a={};a.id=8974,a.ids=[8974],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},17742:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx","default")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},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")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},46539:(a,b,c)=>{Promise.resolve().then(c.bind(c,52148))},52148:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p});var d=c(21124),e=c(38301),f=c.n(e),g=c(42378),h=c(40987),i=c(95919),j=c(14258),k=c(29569),l=c(81535),m=c(45914);function n(){let a=(0,g.useSearchParams)();a.get("doc");let[b,c]=(0,e.useState)(null),[f,n]=(0,e.useState)("dashboard"),[o,p]=(0,e.useState)(!1),{state:q,setActiveProjectId:r,start:s}=(0,i.C)();a.get("settings"),q.currentStep?.id,q.status;let t=(0,e.useCallback)(a=>{n(a)},[]),u=(0,e.useCallback)(()=>{c(null),n("projects"),s&&s()},[s]),v=(0,e.useMemo)(()=>b?(0,d.jsx)(h.a,{project:b,onBack:()=>c(null)}):(0,d.jsx)(l.f,{view:f,onProjectSelect:c,onNavigate:t,onStartTour:u}),[b,f,t,u]);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(k.M,{currentView:f,onNavigate:a=>n(a),onProjectSelect:c,onStartTour:u,onOpenAbout:()=>p(!0),showSidebar:!b,children:v}),(0,d.jsx)(j.V,{location:"global"}),(0,d.jsx)(m.V,{open:o,onOpenChange:p})]})}function o(){return(0,d.jsx)(i.g,{children:(0,d.jsx)(f().Suspense,{fallback:(0,d.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#0a0a0a]",children:(0,d.jsx)("p",{className:"text-zinc-400",children:"Loading..."})}),children:(0,d.jsx)(n,{})})})}function p(){return(0,g.useRouter)(),(0,d.jsx)(o,{})}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},79428:a=>{"use strict";a.exports=require("buffer")},80144:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H=["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,17742)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx"]}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}],I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},86291:(a,b,c)=>{Promise.resolve().then(c.bind(c,17742))},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,8686,7811,4221],()=>b(b.s=80144));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/page.js.nft.json b/.next/server/app/page.js.nft.json index 9fcdb2b126d7b946981c059daa4f079f69250b8a..fffb790eb76efc1db873083c467e1a330f72ee3a 100644 --- a/.next/server/app/page.js.nft.json +++ b/.next/server/app/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../node_modules/better-sqlite3/lib/database.js","../../../node_modules/better-sqlite3/lib/index.js","../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../node_modules/better-sqlite3/lib/methods/function.js","../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../node_modules/better-sqlite3/lib/methods/table.js","../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../node_modules/better-sqlite3/lib/util.js","../../../node_modules/better-sqlite3/package.json","../../../node_modules/bindings/bindings.js","../../../node_modules/bindings/package.json","../../../node_modules/file-uri-to-path/index.js","../../../node_modules/file-uri-to-path/package.json","../../../node_modules/next/dist/client/components/app-router-headers.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/package.json","../../../package.json","../../package.json","../chunks/1123.js","../chunks/1519.js","../chunks/2629.js","../chunks/329.js","../chunks/3640.js","../chunks/4390.js","../chunks/4447.js","../chunks/7783.js","../chunks/8055.js","../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../node_modules/better-sqlite3/lib/database.js","../../../node_modules/better-sqlite3/lib/index.js","../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../node_modules/better-sqlite3/lib/methods/function.js","../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../node_modules/better-sqlite3/lib/methods/table.js","../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../node_modules/better-sqlite3/lib/util.js","../../../node_modules/better-sqlite3/package.json","../../../node_modules/bindings/bindings.js","../../../node_modules/bindings/package.json","../../../node_modules/file-uri-to-path/index.js","../../../node_modules/file-uri-to-path/package.json","../../../node_modules/next/dist/client/components/app-router-headers.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../node_modules/next/dist/lib/client-and-server-references.js","../../../node_modules/next/dist/lib/constants.js","../../../node_modules/next/dist/lib/interop-default.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/lru-cache.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/server/load-manifest.external.js","../../../node_modules/next/dist/server/response-cache/types.js","../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../node_modules/next/dist/shared/lib/segment.js","../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../node_modules/next/package.json","../../../package.json","../../package.json","../chunks/4221.js","../chunks/4586.js","../chunks/4681.js","../chunks/495.js","../chunks/740.js","../chunks/774.js","../chunks/7811.js","../chunks/8686.js","../chunks/9975.js","../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/page_client-reference-manifest.js b/.next/server/app/page_client-reference-manifest.js index 9993546320cf5e0c0942a119df4457b0730c0b0e..60ef88e79334d3ef4a207e509c75c4ea6d61bc53 100644 --- a/.next/server/app/page_client-reference-manifest.js +++ b/.next/server/app/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/sites/[id]/[...path]/route.js b/.next/server/app/sites/[id]/[...path]/route.js index a1310905979e503187bac43f318a40fd969a18f1..98c1ee5efd62c2378ad4d951299a1334622f2595 100644 --- a/.next/server/app/sites/[id]/[...path]/route.js +++ b/.next/server/app/sites/[id]/[...path]/route.js @@ -1,28 +1,28 @@ -(()=>{var e={};e.id=5585,e.ids=[5585],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19870:(e,t,r)=>{"use strict";r.d(t,{XO:()=>i,ad:()=>o,p1:()=>u});var s=r(55511);let n=null;function a(){if(!n){let{getCoreDatabase:e}=r(50854);n=e()}return n}function o(e){try{var t;let r=a();if(!r)return;let n=(t=e.ip)&&"unknown"!==t?(0,s.createHash)("sha256").update(t).digest("hex").substring(0,8):"unknown",o=e.userAgent?.substring(0,255)||"";r.prepare(` +(()=>{var a={};a.id=5585,a.ids=[5585],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{"use strict";a.exports=require("fs")},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")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},52222:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>G,patchFetch:()=>F,routeModule:()=>B,serverHooks:()=>E,workAsyncStorage:()=>C,workUnitAsyncStorage:()=>D});var d={};c.r(d),c.d(d,{GET:()=>A});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(29021),w=c(33873),x=c.n(w),y=c(94471);let z={html:"text/html",htm:"text/html",css:"text/css",js:"application/javascript",json:"application/json",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",ico:"image/x-icon",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",ttf:"font/ttf",eot:"application/vnd.ms-fontobject",txt:"text/plain",pdf:"application/pdf",xml:"application/xml"};async function A(a,{params:b}){let{id:c,path:d=[]}=await b,e=d.length>0?d.join("/"):"index.html";try{let b=x().join(process.cwd(),"public","sites",c,e);try{await v.promises.access(b)}catch{return(0,y.ad)({siteId:c,path:"/"+e,statusCode:404,ip:a.headers.get("x-forwarded-for")||a.headers.get("x-real-ip")||"unknown",userAgent:a.headers.get("user-agent")||""}),new u.NextResponse("File not found",{status:404})}let d=await v.promises.readFile(b),f=z[e.split(".").pop()?.toLowerCase()||""]||"application/octet-stream";return(0,y.ad)({siteId:c,path:"/"+e,statusCode:200,ip:a.headers.get("x-forwarded-for")||a.headers.get("x-real-ip")||"unknown",userAgent:a.headers.get("user-agent")||""}),new u.NextResponse(d.toString("utf-8"),{status:200,headers:{"Content-Type":f,"Cache-Control":"public, max-age=3600"}})}catch(b){return console.error("[Sites Route] Error:",b),(0,y.ad)({siteId:c,path:"/"+e,statusCode:500,ip:a.headers.get("x-forwarded-for")||a.headers.get("x-real-ip")||"unknown",userAgent:a.headers.get("user-agent")||""}),new u.NextResponse("Internal server error",{status:500})}}let B=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/sites/[id]/[...path]/route",pathname:"/sites/[id]/[...path]",filename:"route",bundlePath:"app/sites/[id]/[...path]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:C,workUnitAsyncStorage:D,serverHooks:E}=B;function F(){return(0,g.patchFetch)({workAsyncStorage:C,workUnitAsyncStorage:D})}async function G(a,b,c){var d;let e="/sites/[id]/[...path]/route";"/index"===e&&(e="/");let g=await B.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||B.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===B.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>B.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>B.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&A&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await B.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})},z),b}},l=await B.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:A,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",A?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await B.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:A})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74051:(a,b,c)=>{"use strict";c.r(b),c.d(b,{closeAllConnections:()=>v,closeCoreDatabase:()=>u,closeSiteDatabase:()=>t,deleteSiteDatabase:()=>s,getCoreDatabase:()=>p,getCoreDatabasePath:()=>y,getSiteDatabase:()=>q,getSiteDatabasePath:()=>x,listSiteIds:()=>w,siteExists:()=>r});var d=c(87550),e=c.n(d),f=c(33873),g=c.n(f),h=c(29021),i=c.n(h);let j=null,k=new Map;function l(){return process.env.DATA_DIR||g().join(process.cwd(),"data")}function m(){return g().join(process.cwd(),"sites")}function n(a){i().existsSync(a)||i().mkdirSync(a,{recursive:!0})}function o(a){a.pragma("journal_mode = WAL"),a.pragma("foreign_keys = ON"),a.pragma("synchronous = NORMAL"),a.pragma("cache_size = -64000"),a.pragma("temp_store = MEMORY")}function p(){if(j)return j;let a=l();n(a);let b=g().join(a,"osws.sqlite");return o(j=new(e())(b)),j}function q(a){let b=k.get(a);if(b)return b;let c=m(),d=g().join(c,a);n(d);let f=g().join(d,"site.sqlite"),h=new(e())(f);return o(h),k.set(a,h),h}function r(a){let b=m(),c=g().join(b,a,"site.sqlite");return i().existsSync(c)}function s(a){t(a);let b=m(),c=g().join(b,a);if(i().existsSync(c)){for(let a of i().readdirSync(c))i().unlinkSync(g().join(c,a));i().rmdirSync(c)}}function t(a){let b=k.get(a);if(b){try{b.close()}catch{}k.delete(a)}}function u(){if(j){try{j.close()}catch{}j=null}}function v(){for(let[a]of k)t(a);u()}function w(){let a=m();return i().existsSync(a)?i().readdirSync(a,{withFileTypes:!0}).filter(a=>a.isDirectory()).filter(b=>i().existsSync(g().join(a,b.name,"site.sqlite"))).map(a=>a.name):[]}function x(a){let b=m();return g().join(b,a,"site.sqlite")}function y(){let a=l();return g().join(a,"osws.sqlite")}},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94471:(a,b,c)=>{"use strict";c.d(b,{XO:()=>h,ad:()=>g,p1:()=>i});var d=c(55511);let e=null;function f(){if(!e){let{getCoreDatabase:a}=c(74051);e=a()}return e}function g(a){try{var b;let c=f();if(!c)return;let e=(b=a.ip)&&"unknown"!==b?(0,d.createHash)("sha256").update(b).digest("hex").substring(0,8):"unknown",g=a.userAgent?.substring(0,255)||"";c.prepare(` INSERT INTO request_log (site_id, path, status_code, ip_hash, user_agent, timestamp) VALUES (?, ?, ?, ?, ?, datetime('now')) - `).run(e.siteId,e.path,e.statusCode,n,o)}catch(e){console.error("[RequestLogger] Failed to log request:",e)}}function i(e=24){try{let e=a();if(!e)return{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]};let t=e.prepare(` + `).run(a.siteId,a.path,a.statusCode,e,g)}catch(a){console.error("[RequestLogger] Failed to log request:",a)}}function h(a=24){try{let a=f();if(!a)return{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]};let b=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-1 hour') - `).get(),r=e.prepare(` + `).get(),c=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') - `).get(),s=e.prepare(` + `).get(),d=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') AND status_code >= 400 - `).get(),n=e.prepare(` + `).get(),e=a.prepare(` SELECT site_id as siteId, COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') GROUP BY site_id ORDER BY count DESC LIMIT 10 - `).all(),o=e.prepare(` + `).all(),g=a.prepare(` SELECT site_id as siteId, path, status_code as statusCode, timestamp FROM request_log WHERE status_code >= 400 ORDER BY timestamp DESC LIMIT 10 - `).all();return{requestsLastHour:t.count,requestsLastDay:r.count,errorCount:s.count,topSites:n,recentErrors:o}}catch(e){return console.error("[RequestLogger] Failed to get stats:",e),{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]}}}function u(e=7){try{let t=a();if(!t)return 0;return t.prepare(` + `).all();return{requestsLastHour:b.count,requestsLastDay:c.count,errorCount:d.count,topSites:e,recentErrors:g}}catch(a){return console.error("[RequestLogger] Failed to get stats:",a),{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]}}}function i(a=7){try{let b=f();if(!b)return 0;return b.prepare(` DELETE FROM request_log WHERE timestamp < datetime('now', '-' || ? || ' days') - `).run(e).changes}catch(e){return console.error("[RequestLogger] Failed to cleanup logs:",e),0}}},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50854:(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeAllConnections:()=>y,closeCoreDatabase:()=>q,closeSiteDatabase:()=>E,deleteSiteDatabase:()=>w,getCoreDatabase:()=>m,getCoreDatabasePath:()=>j,getSiteDatabase:()=>h,getSiteDatabasePath:()=>S,listSiteIds:()=>R,siteExists:()=>x});var s=r(87550),n=r.n(s),a=r(33873),o=r.n(a),i=r(29021),u=r.n(i);let p=null,c=new Map;function l(){return process.env.DATA_DIR||o().join(process.cwd(),"data")}function d(){return o().join(process.cwd(),"sites")}function g(e){u().existsSync(e)||u().mkdirSync(e,{recursive:!0})}function f(e){e.pragma("journal_mode = WAL"),e.pragma("foreign_keys = ON"),e.pragma("synchronous = NORMAL"),e.pragma("cache_size = -64000"),e.pragma("temp_store = MEMORY")}function m(){if(p)return p;let e=l();g(e);let t=o().join(e,"osws.sqlite");return f(p=new(n())(t)),p}function h(e){let t=c.get(e);if(t)return t;let r=d(),s=o().join(r,e);g(s);let a=o().join(s,"site.sqlite"),i=new(n())(a);return f(i),c.set(e,i),i}function x(e){let t=d(),r=o().join(t,e,"site.sqlite");return u().existsSync(r)}function w(e){E(e);let t=d(),r=o().join(t,e);if(u().existsSync(r)){for(let e of u().readdirSync(r))u().unlinkSync(o().join(r,e));u().rmdirSync(r)}}function E(e){let t=c.get(e);if(t){try{t.close()}catch{}c.delete(e)}}function q(){if(p){try{p.close()}catch{}p=null}}function y(){for(let[e]of c)E(e);q()}function R(){let e=d();return u().existsSync(e)?u().readdirSync(e,{withFileTypes:!0}).filter(e=>e.isDirectory()).filter(t=>u().existsSync(o().join(e,t.name,"site.sqlite"))).map(e=>e.name):[]}function S(e){let t=d();return o().join(t,e,"site.sqlite")}function j(){let e=l();return o().join(e,"osws.sqlite")}},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},87550:e=>{"use strict";e.exports=require("better-sqlite3")},96487:()=>{},97720:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>w,routeModule:()=>f,serverHooks:()=>x,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>h});var s={};r.r(s),r.d(s,{GET:()=>g});var n=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(29021),p=r(33873),c=r.n(p),l=r(19870);let d={html:"text/html",htm:"text/html",css:"text/css",js:"application/javascript",json:"application/json",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",ico:"image/x-icon",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",ttf:"font/ttf",eot:"application/vnd.ms-fontobject",txt:"text/plain",pdf:"application/pdf",xml:"application/xml"};async function g(e,{params:t}){let{id:r,path:s=[]}=await t,n=s.length>0?s.join("/"):"index.html";try{let t=c().join(process.cwd(),"public","sites",r,n);try{await u.promises.access(t)}catch{return(0,l.ad)({siteId:r,path:"/"+n,statusCode:404,ip:e.headers.get("x-forwarded-for")||e.headers.get("x-real-ip")||"unknown",userAgent:e.headers.get("user-agent")||""}),new i.NextResponse("File not found",{status:404})}let s=await u.promises.readFile(t),a=d[n.split(".").pop()?.toLowerCase()||""]||"application/octet-stream";return(0,l.ad)({siteId:r,path:"/"+n,statusCode:200,ip:e.headers.get("x-forwarded-for")||e.headers.get("x-real-ip")||"unknown",userAgent:e.headers.get("user-agent")||""}),new i.NextResponse(s.toString("utf-8"),{status:200,headers:{"Content-Type":a,"Cache-Control":"public, max-age=3600"}})}catch(t){return console.error("[Sites Route] Error:",t),(0,l.ad)({siteId:r,path:"/"+n,statusCode:500,ip:e.headers.get("x-forwarded-for")||e.headers.get("x-real-ip")||"unknown",userAgent:e.headers.get("user-agent")||""}),new i.NextResponse("Internal server error",{status:500})}}let f=new n.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/sites/[id]/[...path]/route",pathname:"/sites/[id]/[...path]",filename:"route",bundlePath:"app/sites/[id]/[...path]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:m,workUnitAsyncStorage:h,serverHooks:x}=f;function w(){return(0,o.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:h})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580],()=>r(97720));module.exports=s})(); \ No newline at end of file + `).run(a).changes}catch(a){return console.error("[RequestLogger] Failed to cleanup logs:",a),0}}},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692],()=>b(b.s=52222));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/sites/[id]/[...path]/route.js.nft.json b/.next/server/app/sites/[id]/[...path]/route.js.nft.json index 0ef753222fcc632d506544ded3d4493611f21e21..4849765f4832b2468b246d80ce00953afaba86c3 100644 --- a/.next/server/app/sites/[id]/[...path]/route.js.nft.json +++ b/.next/server/app/sites/[id]/[...path]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/PLAN.md","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/about.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/contact.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/practice-areas.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/pricing.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/robots.txt","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/scripts/main.js","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles.css","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles/style.css","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/4447.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../../data/osws.sqlite","../../../../../../data/osws.sqlite-shm","../../../../../../data/osws.sqlite-wal","../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/aukioloajat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/hinnat.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/palvelut.html","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/robots.txt","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/scripts/main.js","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/sitemap.xml","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/styles/style.css","../../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/yhteystiedot.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/about.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/plan.md","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/players.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/robots.txt","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/schedule.html","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/scripts/main.js","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/sitemap.xml","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/styles/style.css","../../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/testing.txt","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/benefits.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/equipment.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/getting-started.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/scripts/main.js","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/styles/style.css","../../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/training.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/robots.txt","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/scripts/main.js","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/sitemap.xml","../../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/styles/style.css","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/contact.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/scripts/main.js","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/services.html","../../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/about.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/plan.md","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/players.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/robots.txt","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/schedule.html","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/scripts/main.js","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/sitemap.xml","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/styles/style.css","../../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/testing.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/contact.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/services.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/data/testimonials.json","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/css/styles.css","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/public/js/main.js","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/robots.txt","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/services.html","../../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/PLAN.md","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/about.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/contact.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/practice-areas.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/pricing.html","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/robots.txt","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/scripts/main.js","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/sitemap.xml","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles.css","../../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/styles/style.css","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/PLAN.md","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/about.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/contact.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/robots.txt","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/scripts/main.js","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/sitemap.xml","../../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/benefits.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/equipment.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/getting-started.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/robots.txt","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/scripts/main.js","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/sitemap.xml","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/styles/style.css","../../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/training.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/plan.md","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/robots.txt","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/scripts/main.js","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/sitemap.xml","../../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/styles/style.css","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/plan.md","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/robots.txt","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/animations.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/scripts/main.js","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/sitemap.xml","../../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/styles/style.css","../../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/robots.txt","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/scripts/main.js","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/sitemap.xml","../../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/styles/style.css","../../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../../package.json","../../../../chunks/1692.js","../../../../chunks/4586.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/sites/[id]/[...path]/route_client-reference-manifest.js b/.next/server/app/sites/[id]/[...path]/route_client-reference-manifest.js index 4ae4bc72723c99088c8126e9b55e751c99aff401..cbc13687a8f0e01fc233b7c779e6564221afe9e9 100644 --- a/.next/server/app/sites/[id]/[...path]/route_client-reference-manifest.js +++ b/.next/server/app/sites/[id]/[...path]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/sites/[id]/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/sites/[id]/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/sites/[id]/route.js b/.next/server/app/sites/[id]/route.js index 7beb428fa4c6432441915d1a60718d828467319e..4eaa07c9c6b9e9618511a489c131abe7d95f5d26 100644 --- a/.next/server/app/sites/[id]/route.js +++ b/.next/server/app/sites/[id]/route.js @@ -1,28 +1,28 @@ -(()=>{var e={};e.id=6871,e.ids=[6871],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19870:(e,t,r)=>{"use strict";r.d(t,{XO:()=>i,ad:()=>o,p1:()=>u});var s=r(55511);let n=null;function a(){if(!n){let{getCoreDatabase:e}=r(50854);n=e()}return n}function o(e){try{var t;let r=a();if(!r)return;let n=(t=e.ip)&&"unknown"!==t?(0,s.createHash)("sha256").update(t).digest("hex").substring(0,8):"unknown",o=e.userAgent?.substring(0,255)||"";r.prepare(` +(()=>{var a={};a.id=6871,a.ids=[6871],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29021:a=>{"use strict";a.exports=require("fs")},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")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{"use strict";a.exports=require("crypto")},57986:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>F,patchFetch:()=>E,routeModule:()=>A,serverHooks:()=>D,workAsyncStorage:()=>B,workUnitAsyncStorage:()=>C});var d={};c.r(d),c.d(d,{GET:()=>z});var e=c(95736),f=c(9117),g=c(4044),h=c(39326),i=c(32324),j=c(261),k=c(54290),l=c(85328),m=c(38928),n=c(46595),o=c(3421),p=c(17679),q=c(41681),r=c(63446),s=c(86439),t=c(51356),u=c(10641),v=c(29021),w=c(33873),x=c.n(w),y=c(94471);async function z(a,{params:b}){let c=200,{id:d}=await b;try{let b=x().join(process.cwd(),"public","sites",d,"index.html");try{await v.promises.access(b)}catch{return c=404,(0,y.ad)({siteId:d,path:"/index.html",statusCode:c,ip:a.headers.get("x-forwarded-for")||a.headers.get("x-real-ip")||"unknown",userAgent:a.headers.get("user-agent")||""}),new u.NextResponse("Site not found",{status:404})}let e=await v.promises.readFile(b,"utf-8");return(0,y.ad)({siteId:d,path:"/index.html",statusCode:c,ip:a.headers.get("x-forwarded-for")||a.headers.get("x-real-ip")||"unknown",userAgent:a.headers.get("user-agent")||""}),new u.NextResponse(e,{status:200,headers:{"Content-Type":"text/html","Cache-Control":"public, max-age=3600"}})}catch(b){return console.error("[Sites Route] Error:",b),(0,y.ad)({siteId:d,path:"/index.html",statusCode:500,ip:a.headers.get("x-forwarded-for")||a.headers.get("x-real-ip")||"unknown",userAgent:a.headers.get("user-agent")||""}),new u.NextResponse("Internal server error",{status:500})}}let A=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/sites/[id]/route",pathname:"/sites/[id]",filename:"route",bundlePath:"app/sites/[id]/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route.ts",nextConfigOutput:"standalone",userland:d}),{workAsyncStorage:B,workUnitAsyncStorage:C,serverHooks:D}=A;function E(){return(0,g.patchFetch)({workAsyncStorage:B,workUnitAsyncStorage:C})}async function F(a,b,c){var d;let e="/sites/[id]/route";"/index"===e&&(e="/");let g=await A.prepare(a,b,{srcPage:e,multiZoneDraftMode:!1});if(!g)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,params:v,nextConfig:w,isDraftMode:x,prerenderManifest:y,routerServerContext:z,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,resolvedPathname:D}=g,E=(0,j.normalizeAppPath)(e),F=!!(y.dynamicRoutes[E]||y.routes[D]);if(F&&!x){let a=!!y.routes[D],b=y.dynamicRoutes[E];if(b&&!1===b.fallback&&!a)throw new s.NoFallbackError}let G=null;!F||A.isDev||x||(G="/index"===(G=D)?"/":G);let H=!0===A.isDev||!F,I=F&&!H,J=a.method||"GET",K=(0,i.getTracer)(),L=K.getActiveScopeSpan(),M={params:v,prerenderManifest:y,renderOpts:{experimental:{cacheComponents:!!w.experimental.cacheComponents,authInterrupts:!!w.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:null==(d=w.experimental)?void 0:d.cacheLife,isRevalidate:I,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d)=>A.onRequestError(a,b,d,z)},sharedContext:{buildId:u}},N=new k.NodeNextRequest(a),O=new k.NodeNextResponse(b),P=l.NextRequestAdapter.fromNodeNextRequest(N,(0,l.signalFromNodeResponse)(b));try{let d=async c=>A.handle(P,M).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=K.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${J} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${J} ${a.url}`)}),g=async g=>{var i,j;let k=async({previousCacheEntry:f})=>{try{if(!(0,h.getRequestMeta)(a,"minimalMode")&&B&&C&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let e=await d(g);a.fetchMetrics=M.renderOpts.fetchMetrics;let i=M.renderOpts.pendingWaitUntil;i&&c.waitUntil&&(c.waitUntil(i),i=void 0);let j=M.renderOpts.collectedTags;if(!F)return await (0,o.I)(N,O,e,M.renderOpts.pendingWaitUntil),null;{let a=await e.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(e.headers);j&&(b[r.NEXT_CACHE_TAGS_HEADER]=j),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==M.renderOpts.collectedRevalidate&&!(M.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&M.renderOpts.collectedRevalidate,d=void 0===M.renderOpts.collectedExpire||M.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:M.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:e.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:d}}}}catch(b){throw(null==f?void 0:f.isStale)&&await A.onRequestError(a,b,{routerKind:"App Router",routePath:e,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})},z),b}},l=await A.handleResponse({req:a,nextConfig:w,cacheKey:G,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:y,isRoutePPREnabled:!1,isOnDemandRevalidate:B,revalidateOnlyGenerated:C,responseGenerator:k,waitUntil:c.waitUntil});if(!F)return null;if((null==l||null==(i=l.value)?void 0:i.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==l||null==(j=l.value)?void 0:j.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,h.getRequestMeta)(a,"minimalMode")||b.setHeader("x-nextjs-cache",B?"REVALIDATED":l.isMiss?"MISS":l.isStale?"STALE":"HIT"),x&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let m=(0,p.fromNodeOutgoingHttpHeaders)(l.value.headers);return(0,h.getRequestMeta)(a,"minimalMode")&&F||m.delete(r.NEXT_CACHE_TAGS_HEADER),!l.cacheControl||b.getHeader("Cache-Control")||m.get("Cache-Control")||m.set("Cache-Control",(0,q.getCacheControlHeader)(l.cacheControl)),await (0,o.I)(N,O,new Response(l.value.body,{headers:m,status:l.value.status||200})),null};L?await g(L):await K.withPropagatedContext(a.headers,()=>K.trace(m.BaseServerSpan.handleRequest,{spanName:`${J} ${a.url}`,kind:i.SpanKind.SERVER,attributes:{"http.method":J,"http.target":a.url}},g))}catch(b){if(b instanceof s.NoFallbackError||await A.onRequestError(a,b,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,n.c)({isRevalidate:I,isOnDemandRevalidate:B})}),F)throw b;return await (0,o.I)(N,O,new Response(null,{status:500})),null}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74051:(a,b,c)=>{"use strict";c.r(b),c.d(b,{closeAllConnections:()=>v,closeCoreDatabase:()=>u,closeSiteDatabase:()=>t,deleteSiteDatabase:()=>s,getCoreDatabase:()=>p,getCoreDatabasePath:()=>y,getSiteDatabase:()=>q,getSiteDatabasePath:()=>x,listSiteIds:()=>w,siteExists:()=>r});var d=c(87550),e=c.n(d),f=c(33873),g=c.n(f),h=c(29021),i=c.n(h);let j=null,k=new Map;function l(){return process.env.DATA_DIR||g().join(process.cwd(),"data")}function m(){return g().join(process.cwd(),"sites")}function n(a){i().existsSync(a)||i().mkdirSync(a,{recursive:!0})}function o(a){a.pragma("journal_mode = WAL"),a.pragma("foreign_keys = ON"),a.pragma("synchronous = NORMAL"),a.pragma("cache_size = -64000"),a.pragma("temp_store = MEMORY")}function p(){if(j)return j;let a=l();n(a);let b=g().join(a,"osws.sqlite");return o(j=new(e())(b)),j}function q(a){let b=k.get(a);if(b)return b;let c=m(),d=g().join(c,a);n(d);let f=g().join(d,"site.sqlite"),h=new(e())(f);return o(h),k.set(a,h),h}function r(a){let b=m(),c=g().join(b,a,"site.sqlite");return i().existsSync(c)}function s(a){t(a);let b=m(),c=g().join(b,a);if(i().existsSync(c)){for(let a of i().readdirSync(c))i().unlinkSync(g().join(c,a));i().rmdirSync(c)}}function t(a){let b=k.get(a);if(b){try{b.close()}catch{}k.delete(a)}}function u(){if(j){try{j.close()}catch{}j=null}}function v(){for(let[a]of k)t(a);u()}function w(){let a=m();return i().existsSync(a)?i().readdirSync(a,{withFileTypes:!0}).filter(a=>a.isDirectory()).filter(b=>i().existsSync(g().join(a,b.name,"site.sqlite"))).map(a=>a.name):[]}function x(a){let b=m();return g().join(b,a,"site.sqlite")}function y(){let a=l();return g().join(a,"osws.sqlite")}},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94471:(a,b,c)=>{"use strict";c.d(b,{XO:()=>h,ad:()=>g,p1:()=>i});var d=c(55511);let e=null;function f(){if(!e){let{getCoreDatabase:a}=c(74051);e=a()}return e}function g(a){try{var b;let c=f();if(!c)return;let e=(b=a.ip)&&"unknown"!==b?(0,d.createHash)("sha256").update(b).digest("hex").substring(0,8):"unknown",g=a.userAgent?.substring(0,255)||"";c.prepare(` INSERT INTO request_log (site_id, path, status_code, ip_hash, user_agent, timestamp) VALUES (?, ?, ?, ?, ?, datetime('now')) - `).run(e.siteId,e.path,e.statusCode,n,o)}catch(e){console.error("[RequestLogger] Failed to log request:",e)}}function i(e=24){try{let e=a();if(!e)return{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]};let t=e.prepare(` + `).run(a.siteId,a.path,a.statusCode,e,g)}catch(a){console.error("[RequestLogger] Failed to log request:",a)}}function h(a=24){try{let a=f();if(!a)return{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]};let b=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-1 hour') - `).get(),r=e.prepare(` + `).get(),c=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') - `).get(),s=e.prepare(` + `).get(),d=a.prepare(` SELECT COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') AND status_code >= 400 - `).get(),n=e.prepare(` + `).get(),e=a.prepare(` SELECT site_id as siteId, COUNT(*) as count FROM request_log WHERE timestamp > datetime('now', '-24 hours') GROUP BY site_id ORDER BY count DESC LIMIT 10 - `).all(),o=e.prepare(` + `).all(),g=a.prepare(` SELECT site_id as siteId, path, status_code as statusCode, timestamp FROM request_log WHERE status_code >= 400 ORDER BY timestamp DESC LIMIT 10 - `).all();return{requestsLastHour:t.count,requestsLastDay:r.count,errorCount:s.count,topSites:n,recentErrors:o}}catch(e){return console.error("[RequestLogger] Failed to get stats:",e),{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]}}}function u(e=7){try{let t=a();if(!t)return 0;return t.prepare(` + `).all();return{requestsLastHour:b.count,requestsLastDay:c.count,errorCount:d.count,topSites:e,recentErrors:g}}catch(a){return console.error("[RequestLogger] Failed to get stats:",a),{requestsLastHour:0,requestsLastDay:0,errorCount:0,topSites:[],recentErrors:[]}}}function i(a=7){try{let b=f();if(!b)return 0;return b.prepare(` DELETE FROM request_log WHERE timestamp < datetime('now', '-' || ? || ' days') - `).run(e).changes}catch(e){return console.error("[RequestLogger] Failed to cleanup logs:",e),0}}},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},38372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>x,routeModule:()=>g,serverHooks:()=>f,workAsyncStorage:()=>h,workUnitAsyncStorage:()=>m});var s={};r.r(s),r.d(s,{GET:()=>l});var n=r(96559),a=r(48088),o=r(37719),i=r(32190),u=r(29021),c=r(33873),d=r.n(c),p=r(19870);async function l(e,{params:t}){let r=200,{id:s}=await t;try{let t=d().join(process.cwd(),"public","sites",s,"index.html");try{await u.promises.access(t)}catch{return r=404,(0,p.ad)({siteId:s,path:"/index.html",statusCode:r,ip:e.headers.get("x-forwarded-for")||e.headers.get("x-real-ip")||"unknown",userAgent:e.headers.get("user-agent")||""}),new i.NextResponse("Site not found",{status:404})}let n=await u.promises.readFile(t,"utf-8");return(0,p.ad)({siteId:s,path:"/index.html",statusCode:r,ip:e.headers.get("x-forwarded-for")||e.headers.get("x-real-ip")||"unknown",userAgent:e.headers.get("user-agent")||""}),new i.NextResponse(n,{status:200,headers:{"Content-Type":"text/html","Cache-Control":"public, max-age=3600"}})}catch(t){return console.error("[Sites Route] Error:",t),(0,p.ad)({siteId:s,path:"/index.html",statusCode:500,ip:e.headers.get("x-forwarded-for")||e.headers.get("x-real-ip")||"unknown",userAgent:e.headers.get("user-agent")||""}),new i.NextResponse("Internal server error",{status:500})}}let g=new n.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/sites/[id]/route",pathname:"/sites/[id]",filename:"route",bundlePath:"app/sites/[id]/route"},resolvedPagePath:"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route.ts",nextConfigOutput:"standalone",userland:s}),{workAsyncStorage:h,workUnitAsyncStorage:m,serverHooks:f}=g;function x(){return(0,o.patchFetch)({workAsyncStorage:h,workUnitAsyncStorage:m})}},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50854:(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeAllConnections:()=>y,closeCoreDatabase:()=>q,closeSiteDatabase:()=>w,deleteSiteDatabase:()=>E,getCoreDatabase:()=>m,getCoreDatabasePath:()=>C,getSiteDatabase:()=>f,getSiteDatabasePath:()=>S,listSiteIds:()=>R,siteExists:()=>x});var s=r(87550),n=r.n(s),a=r(33873),o=r.n(a),i=r(29021),u=r.n(i);let c=null,d=new Map;function p(){return process.env.DATA_DIR||o().join(process.cwd(),"data")}function l(){return o().join(process.cwd(),"sites")}function g(e){u().existsSync(e)||u().mkdirSync(e,{recursive:!0})}function h(e){e.pragma("journal_mode = WAL"),e.pragma("foreign_keys = ON"),e.pragma("synchronous = NORMAL"),e.pragma("cache_size = -64000"),e.pragma("temp_store = MEMORY")}function m(){if(c)return c;let e=p();g(e);let t=o().join(e,"osws.sqlite");return h(c=new(n())(t)),c}function f(e){let t=d.get(e);if(t)return t;let r=l(),s=o().join(r,e);g(s);let a=o().join(s,"site.sqlite"),i=new(n())(a);return h(i),d.set(e,i),i}function x(e){let t=l(),r=o().join(t,e,"site.sqlite");return u().existsSync(r)}function E(e){w(e);let t=l(),r=o().join(t,e);if(u().existsSync(r)){for(let e of u().readdirSync(r))u().unlinkSync(o().join(r,e));u().rmdirSync(r)}}function w(e){let t=d.get(e);if(t){try{t.close()}catch{}d.delete(e)}}function q(){if(c){try{c.close()}catch{}c=null}}function y(){for(let[e]of d)w(e);q()}function R(){let e=l();return u().existsSync(e)?u().readdirSync(e,{withFileTypes:!0}).filter(e=>e.isDirectory()).filter(t=>u().existsSync(o().join(e,t.name,"site.sqlite"))).map(e=>e.name):[]}function S(e){let t=l();return o().join(t,e,"site.sqlite")}function C(){let e=p();return o().join(e,"osws.sqlite")}},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},87550:e=>{"use strict";e.exports=require("better-sqlite3")},96487:()=>{}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4447,580],()=>r(38372));module.exports=s})(); \ No newline at end of file + `).run(a).changes}catch(a){return console.error("[RequestLogger] Failed to cleanup logs:",a),0}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,1692],()=>b(b.s=57986));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/sites/[id]/route.js.nft.json b/.next/server/app/sites/[id]/route.js.nft.json index 8bcaf1138f607ca5209facf1c880634b3e31b07a..9b48567012e3c360f419676d2910057272abbb07 100644 --- a/.next/server/app/sites/[id]/route.js.nft.json +++ b/.next/server/app/sites/[id]/route.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/4447.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../../data/osws.sqlite","../../../../../data/osws.sqlite-shm","../../../../../data/osws.sqlite-wal","../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../node_modules/better-sqlite3/package.json","../../../../../node_modules/bindings/bindings.js","../../../../../node_modules/bindings/package.json","../../../../../node_modules/file-uri-to-path/index.js","../../../../../node_modules/file-uri-to-path/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../node_modules/next/dist/lib/constants.js","../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../node_modules/next/dist/lib/is-error.js","../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../../public/sites/039b8554-0a87-42f7-a969-570c3fa99cb5/index.html","../../../../../public/sites/18efcdfd-9309-45d1-bf13-82a968da7216/index.html","../../../../../public/sites/20af6c75-4c1b-4c53-94bc-fa2ff7e445fa/index.html","../../../../../public/sites/22950e26-4edf-45c9-8719-b212f697a8b1/index.html","../../../../../public/sites/505b4e67-9ba5-4396-9a76-9368a6848874/index.html","../../../../../public/sites/6333fd6d-b2bf-4eb2-a48e-762b7a7be8b7/index.html","../../../../../public/sites/69d3cb0a-3cd3-4d41-981c-3d4ba5c978cc/index.html","../../../../../public/sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/index.html","../../../../../public/sites/8a671c27-1498-4164-9cdf-5429469f45f6/index.html","../../../../../public/sites/9e5a46cf-1efd-4377-9da5-1e2eb63b8ca4/index.html","../../../../../public/sites/a57c81e5-0175-49b9-b333-d0a4d1094271/index.html","../../../../../public/sites/af3ba693-4c5a-4564-9c93-0c9b9f3d74f1/index.html","../../../../../public/sites/be28436b-5a58-4c1b-a1da-ec28036b41e3/index.html","../../../../../public/sites/ea724ee7-fc57-4bde-a505-e083d72d52b2/index.html","../../../../../sites/7882e8c5-bdb9-4f0c-851c-cb9657291796/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-shm","../../../../../sites/8a671c27-1498-4164-9cdf-5429469f45f6/site.sqlite-wal","../../../../package.json","../../../chunks/1692.js","../../../chunks/4586.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/sites/[id]/route_client-reference-manifest.js b/.next/server/app/sites/[id]/route_client-reference-manifest.js index eb2fb0b9cb33788870a49ed3f659d79bab88eade..b76bb459fcedad57bbef28d4ee5902776e623a61 100644 --- a/.next/server/app/sites/[id]/route_client-reference-manifest.js +++ b/.next/server/app/sites/[id]/route_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/sites/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/sites/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/route":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/sites/[id]/[...path]/route":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/test-generation.html b/.next/server/app/test-generation.html index 33d69269188be3aec62e97a0abf4711363878227..7216407a3759d9acfea181e0c5bab81b0b2ae22a 100644 --- a/.next/server/app/test-generation.html +++ b/.next/server/app/test-generation.html @@ -1,4 +1,4 @@ -Open Source Web Studio | Agentic AI Development 🎨

Model Tester

How to Interpret Test Results

These tests validate basic code generation capabilities across different task types. A passing test means files were created/modified successfully. A failing test indicates the model couldn't complete the task or didn't produce expected outputs.

Tip: Select your preferred provider and model below to test specific configurations. The generation output will show you what the AI is thinking during execution.
💡

Cost Warning

Running these tests can be very expensive and likely isn't necessary. It's cheaper and easier to just use good models and research community feedback about agentic capabilities.

This tester is largely for evaluating how models perform with OSW Studio's implementation and using those results to improve the agentic system.

Total Tests
0
Passed
0
Failed
0
Success Rate
0.0%
Add hamburger menu to navbar(ui)
Add a mobile hamburger menu to the navbar. The hamburger should appear on screens smaller than 768px...
Create modal dialog(ui)
Create a modal dialog that can be opened with a button click. The modal should have a close button a...
Add contact form with validation(ui)
Add a contact form with fields for name, email, and message. Include client-side validation for requ...
Create dropdown menu(ui)
Create a dropdown menu for the navigation. When hovering over "Services" link, show a dropdown with ...
Create image carousel(ui)
Create an image carousel/slider with next and previous buttons. It should display one image at a tim...
Change background to gradient(style)
Change the body background to a linear gradient from #ff8c42 to #e65100...
Add dark mode toggle(style)
Add a dark mode toggle button that switches the entire page between light and dark themes. Store the...
Create responsive grid layout(style)
Create a responsive grid layout with 3 columns on desktop, 2 on tablet, and 1 on mobile. Add 6 card ...
Add API fetch functionality(javascript)
Add a button that fetches data from https://jsonplaceholder.typicode.com/users and displays the user...
Create countdown timer(javascript)
Create a countdown timer that counts down from 60 seconds and displays the remaining time. Include s...
Build a todo list application(complex)
Build a todo list application with the ability to add tasks, mark them as complete, delete tasks, an...
\ No newline at end of file +

Model Tester

How to Interpret Test Results

These tests validate basic code generation capabilities across different task types. A passing test means files were created/modified successfully. A failing test indicates the model couldn't complete the task or didn't produce expected outputs.

Tip: Select your preferred provider and model below to test specific configurations. The generation output will show you what the AI is thinking during execution.
💡

Cost Warning

Running these tests can be very expensive and likely isn't necessary. It's cheaper and easier to just use good models and research community feedback about agentic capabilities.

This tester is largely for evaluating how models perform with OSW Studio's implementation and using those results to improve the agentic system.

Total Tests
0
Passed
0
Failed
0
Success Rate
0.0%
Add hamburger menu to navbar(ui)
Add a mobile hamburger menu to the navbar. The hamburger should appear on screens smaller than 768px...
Create modal dialog(ui)
Create a modal dialog that can be opened with a button click. The modal should have a close button a...
Add contact form with validation(ui)
Add a contact form with fields for name, email, and message. Include client-side validation for requ...
Create dropdown menu(ui)
Create a dropdown menu for the navigation. When hovering over "Services" link, show a dropdown with ...
Create image carousel(ui)
Create an image carousel/slider with next and previous buttons. It should display one image at a tim...
Change background to gradient(style)
Change the body background to a linear gradient from #ff8c42 to #e65100...
Add dark mode toggle(style)
Add a dark mode toggle button that switches the entire page between light and dark themes. Store the...
Create responsive grid layout(style)
Create a responsive grid layout with 3 columns on desktop, 2 on tablet, and 1 on mobile. Add 6 card ...
Add API fetch functionality(javascript)
Add a button that fetches data from https://jsonplaceholder.typicode.com/users and displays the user...
Create countdown timer(javascript)
Create a countdown timer that counts down from 60 seconds and displays the remaining time. Include s...
Build a todo list application(complex)
Build a todo list application with the ability to add tasks, mark them as complete, delete tasks, an...
\ No newline at end of file diff --git a/.next/server/app/test-generation.rsc b/.next/server/app/test-generation.rsc index e87ec7a0df786f00ba9ec3623d128a205d7b20a2..35f103e5fde74088f768fe6d58129ef38e355f67 100644 --- a/.next/server/app/test-generation.rsc +++ b/.next/server/app/test-generation.rsc @@ -1,28 +1,26 @@ 1:"$Sreact.fragment" -2:I[61321,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"ThemeProvider"] -3:I[15851,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"Toaster"] -4:I[25388,["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"default"] -5:I[87555,[],""] -6:I[31295,[],""] -7:I[90894,[],"ClientPageRoot"] -8:I[59054,["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5226","static/chunks/5226-756b348ecc09845d.js","6932","static/chunks/app/test-generation/page-9a29f57c36cce1f2.js"],"default"] -b:I[59665,[],"OutletBoundary"] -e:I[74911,[],"AsyncMetadataOutlet"] -10:I[59665,[],"ViewportBoundary"] -12:I[59665,[],"MetadataBoundary"] -14:I[26614,[],""] +2:I[98124,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"ThemeProvider"] +3:I[70240,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"Toaster"] +4:I[46131,["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"default"] +5:I[9766,[],""] +6:I[98924,[],""] +7:I[81959,[],"ClientPageRoot"] +8:I[84674,["5948","static/chunks/06bf0ff1-101744fe776a5109.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6932","static/chunks/app/test-generation/page-3f2a8abff861f1b3.js"],"default"] +b:I[24431,[],"OutletBoundary"] +d:I[15278,[],"AsyncMetadataOutlet"] +f:I[24431,[],"ViewportBoundary"] +11:I[24431,[],"MetadataBoundary"] +12:"$Sreact.suspense" +14:I[57150,[],""] :HL["/_next/static/media/58f662ed5ba12a72-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/c3f6eb667c0186c5-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] :HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] -:HL["/_next/static/css/7b8717d9d84180b1.css","style"] -0:{"P":null,"b":"E66ReztlUunPgDOKdXxsh","p":"","c":["","test-generation"],"i":false,"f":[[["",{"children":["test-generation",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7b8717d9d84180b1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["test-generation",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc","$Ld",["$","$Le",null,{"promise":"$@f"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,["$","$1","wfvPgh02477nhLP3-T0yxv",{"children":[["$","$L10",null,{"children":"$L11"}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],["$","$L12",null,{"children":"$L13"}]]}],false]],"m":"$undefined","G":["$14","$undefined"],"s":false,"S":true} -15:"$Sreact.suspense" -16:I[74911,[],"AsyncMetadata"] +:HL["/_next/static/css/048b1824021554f0.css","style"] +0:{"P":null,"b":"HOMmT77GBF_yHKBIDvc4Q","p":"","c":["","test-generation"],"i":false,"f":[[["",{"children":["test-generation",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/048b1824021554f0.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"__variable_f367f3 __variable_438d47 antialiased bg-background h-[100dvh] overflow-hidden","suppressHydrationWarning":true,"children":["$","$L2",null,{"children":[["$","$L3",null,{"richColors":true,"position":"bottom-center"}],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]}]}]]}],{"children":["test-generation",["$","$1","c",{"children":[null,["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","searchParams":{},"params":{},"promises":["$@9","$@a"]}],null,["$","$Lb",null,{"children":["$Lc",["$","$Ld",null,{"promise":"$@e"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$Lf",null,{"children":"$L10"}],["$","meta",null,{"name":"next-size-adjust","content":""}]],["$","$L11",null,{"children":["$","div",null,{"hidden":true,"children":["$","$12",null,{"fallback":null,"children":"$L13"}]}]}]]}],false]],"m":"$undefined","G":["$14",[]],"s":false,"S":true} 9:{} -a:{} -13:["$","div",null,{"hidden":true,"children":["$","$15",null,{"fallback":null,"children":["$","$L16",null,{"promise":"$@17"}]}]}] -d:null -11:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] +a:"$0:f:0:1:2:children:2:children:1:props:children:0:props:params" +10:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1, maximum-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#000000"}]] c:null -f:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}]],"error":null,"digest":"$undefined"} -17:{"metadata":"$f:metadata","error":null,"digest":"$undefined"} +15:I[80622,[],"IconMark"] +e:{"metadata":[["$","title","0",{"children":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","1",{"name":"description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","2",{"name":"mobile-web-app-capable","content":"yes"}],["$","meta","3",{"name":"apple-mobile-web-app-title","content":"OSW-Studio"}],["$","meta","4",{"name":"apple-mobile-web-app-status-bar-style","content":"black-translucent"}],["$","meta","5",{"property":"og:title","content":"Open Source Web Studio | Agentic AI Development 🎨"}],["$","meta","6",{"property":"og:description","content":"Open Source Web Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","7",{"property":"og:url","content":"https://huggingface.co/spaces/otst/osw-studio"}],["$","meta","8",{"property":"og:site_name","content":"Open Source Web Studio"}],["$","meta","9",{"property":"og:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","meta","10",{"property":"og:image:width","content":"1200"}],["$","meta","11",{"property":"og:image:height","content":"630"}],["$","meta","12",{"property":"og:image:alt","content":"Open Source Web Studio - Agentic AI Development"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:title","content":"OSW-Studio | Agentic AI Development 🎨"}],["$","meta","15",{"name":"twitter:description","content":"OSW-Studio is an AI-powered development environment that enables autonomous multi-file development through intelligent tool usage. Build complete applications with natural language."}],["$","meta","16",{"name":"twitter:image","content":"https://huggingface.co/spaces/otst/osw-studio/resolve/main/banner.png"}],["$","link","17",{"rel":"shortcut icon","href":"/osw-studio-logo.svg"}],["$","link","18",{"rel":"icon","href":"/osw-studio-logo.svg"}],["$","link","19",{"rel":"apple-touch-icon","href":"/osw-studio-logo.svg"}],["$","$L15","20",{}]],"error":null,"digest":"$undefined"} +13:"$e:metadata" diff --git a/.next/server/app/test-generation/page.js b/.next/server/app/test-generation/page.js index d83a37533717a5ecf4ff94d7b13d25b79358f985..1e5932f9ca6814b90fe223a3c19b13bdedf08a90 100644 --- a/.next/server/app/test-generation/page.js +++ b/.next/server/app/test-generation/page.js @@ -1,4 +1,4 @@ -(()=>{var e={};e.id=6932,e.ids=[6932],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30268:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>C});var a=s(60687),i=s(43210),r=s(24934),n=s(26627);let o=` +(()=>{var a={};a.id=6932,a.ids=[6932],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11987:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>A});var d=c(21124),e=c(38301),f=c(19217),g=c(22725);let h=` @@ -49,7 +49,7 @@ -`,d=`/* Additional styles */ +`,i=`/* Additional styles */ .container { max-width: 1200px; margin: 0 auto; @@ -69,7 +69,7 @@ .btn:hover { background: #0056b3; -}`,l=` +}`,j=` document.addEventListener('DOMContentLoaded', function() { const navLinks = document.querySelectorAll('nav a'); @@ -78,4 +78,5 @@ document.addEventListener('DOMContentLoaded', function() { e.preventDefault(); }); }); -});`,c=[{id:"ui-hamburger-menu",name:"Add hamburger menu to navbar",category:"ui",prompt:"Add a mobile hamburger menu to the navbar. The hamburger should appear on screens smaller than 768px and toggle the navigation menu visibility when clicked.",setupFiles:{"/index.html":o,"/styles.css":d,"/script.js":l},expectedElements:[".hamburger"],expectedPatterns:[/hamburger|menu-toggle|mobile-menu/i,/@media.*max-width.*768px/,/addEventListener.*click/]},{id:"ui-modal-dialog",name:"Create modal dialog",category:"ui",prompt:"Create a modal dialog that can be opened with a button click. The modal should have a close button and clicking outside the modal should also close it.",setupFiles:{"/index.html":o,"/styles.css":d,"/script.js":l},expectedElements:[".modal",".modal-content"],expectedPatterns:[/modal/i,/display:\s*(none|block|flex)/,/addEventListener.*click/,/close|dismiss/i]},{id:"ui-contact-form",name:"Add contact form with validation",category:"ui",prompt:"Add a contact form with fields for name, email, and message. Include client-side validation for required fields and email format.",setupFiles:{"/index.html":o,"/styles.css":d,"/script.js":l},expectedElements:["form",'input[type="text"]','input[type="email"]',"textarea",'button[type="submit"]'],expectedPatterns:[/
({id:e.id,name:e.name,status:"pending"}))),[o,d]=(0,i.useState)(null),[l,C]=(0,i.useState)(new Map),[T,P]=(0,i.useState)(new Map),[S,E]=(0,i.useState)(new Set),M=(0,i.useRef)(new Map),[q,D]=(0,i.useState)({total:0,passed:0,failed:0,successRate:0}),[R,F]=(0,i.useState)(!1),[_,O]=(0,i.useState)(""),$=async e=>{let t=c.find(t=>t.id===e);if(!t)return;let a=Date.now();d(e),E(t=>new Set([...t,e])),s(t=>t.map(t=>t.id===e?{...t,status:"running",generationOutput:""}:t));try{let i=`test-${Date.now()}`,r=new n.t(i,"orchestrator",(t,a)=>{if("assistant_delta"===t&&(a?.text||a?.snapshot)){let t=a.text,i=a.snapshot;P(s=>{let a=new Map(s);if(void 0!==i)a.set(e,i);else if(t){let s=a.get(e)||"";a.set(e,s+t)}return a}),s(s=>s.map(s=>s.id===e?{...s,generationOutput:i||(s.generationOutput||"")+(t||"")}:s)),setTimeout(()=>{let t=M.current.get(e);t&&(t.scrollTop=t.scrollHeight)},0)}},{chatMode:!1});C(t=>{let s=new Map(t);return s.set(e,r),s});let o=await r.execute(t.prompt);s(t=>t.map(t=>t.id===e?{...t,status:o.success?"success":"failed",executionTime:Date.now()-a,errors:o.success?void 0:[o.summary],details:o.summary,filesModified:[],toolCalls:o.conversation?.length||0}:t)),o.success?w.oR.success(`Test passed: ${t.name}`):w.oR.error(`Test failed: ${t.name} - ${o.summary}`)}catch(r){let i=r instanceof Error?r.message:String(r);s(t=>t.map(t=>t.id===e?{...t,status:"failed",executionTime:Date.now()-a,errors:[i],details:`Error: ${i}`}:t)),w.oR.error(`Test error: ${t.name}`)}C(t=>{let s=new Map(t);return s.delete(e),s}),d(null),U()},I=e=>{let t=l.get(e);t&&(t.stop(),w.oR.info(`Stopping test: ${c.find(t=>t.id===e)?.name}`))},L=async()=>{for(let e of["style-background-gradient","ui-hamburger-menu","js-countdown-timer"]){if(null===o)break;await $(e),await new Promise(e=>setTimeout(e,3e3))}},U=()=>{let e=t.filter(e=>"pending"!==e.status&&"running"!==e.status),s=t.filter(e=>"success"===e.status),a=t.filter(e=>"failed"===e.status||"stopped"===e.status);D({total:e.length,passed:s.length,failed:a.length,successRate:e.length>0?s.length/e.length*100:0})},W=e=>{switch(e){case"success":return(0,a.jsx)(m.A,{className:"h-4 w-4 text-green-500"});case"failed":return(0,a.jsx)(u.A,{className:"h-4 w-4 text-red-500"});case"stopped":return(0,a.jsx)(p,{className:"h-4 w-4 text-orange-500"});case"running":return(0,a.jsx)(x.A,{className:"h-4 w-4 text-blue-500 animate-spin"});default:return(0,a.jsx)(h.A,{className:"h-4 w-4 text-gray-400"})}},z=[{id:"back",label:"Back to Projects",icon:g.A,onClick:()=>e.push("/"),variant:"outline"}];return(0,a.jsxs)("div",{className:"h-screen flex flex-col",children:[(0,a.jsx)(N.j,{leftText:"Model Tester",onLogoClick:()=>e.push("/"),actions:z}),(0,a.jsx)("div",{className:"flex-1 overflow-auto bg-background p-6",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,a.jsx)("div",{className:"bg-blue-50 dark:bg-blue-950/30 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-6",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)(y.A,{className:"h-5 w-5 text-blue-600 dark:text-blue-400 mt-0.5"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h3",{className:"font-medium text-blue-900 dark:text-blue-100 mb-1",children:"How to Interpret Test Results"}),(0,a.jsxs)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:["These tests validate basic code generation capabilities across different task types. A ",(0,a.jsx)("strong",{children:"passing test"})," means files were created/modified successfully. A ",(0,a.jsx)("strong",{children:"failing test"})," indicates the model couldn't complete the task or didn't produce expected outputs."]}),(0,a.jsxs)("div",{className:"mt-2 text-xs text-blue-700 dark:text-blue-300",children:[(0,a.jsx)("strong",{children:"Tip:"})," Select your preferred provider and model below to test specific configurations. The generation output will show you what the AI is thinking during execution."]})]})]})}),(0,a.jsx)("div",{className:"bg-amber-50 dark:bg-amber-950/30 border border-amber-200 dark:border-amber-800 rounded-lg p-4 mb-6",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"text-amber-600 dark:text-amber-400 mt-0.5",children:"\uD83D\uDCA1"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h3",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Cost Warning"}),(0,a.jsxs)("p",{className:"text-sm text-amber-800 dark:text-amber-200",children:["Running these tests can be ",(0,a.jsx)("strong",{children:"very expensive"})," and likely isn't necessary. It's cheaper and easier to just use good models and research community feedback about agentic capabilities."]}),(0,a.jsx)("p",{className:"text-sm text-amber-800 dark:text-amber-200 mt-2",children:"This tester is largely for evaluating how models perform with OSW Studio's implementation and using those results to improve the agentic system."})]})]})}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4 mb-6",children:[(0,a.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-1",children:"Total Tests"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:q.total})]}),(0,a.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-1",children:"Passed"}),(0,a.jsx)("div",{className:"text-2xl font-bold text-green-600",children:q.passed})]}),(0,a.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-1",children:"Failed"}),(0,a.jsx)("div",{className:"text-2xl font-bold text-red-600",children:q.failed})]}),(0,a.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-1",children:"Success Rate"}),(0,a.jsxs)("div",{className:"text-2xl font-bold",children:[q.successRate.toFixed(1),"%"]})]})]}),(0,a.jsxs)("div",{className:"flex gap-4 mb-6",children:[(0,a.jsxs)(A.AM,{open:R,onOpenChange:F,children:[(0,a.jsx)(A.Wv,{asChild:!0,children:(0,a.jsxs)(r.$,{variant:"outline",children:[(0,a.jsx)("span",{children:(e=>{if(!e)return"Select Model";let t=e.split("/");return t[t.length-1].split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")})(_)}),R?(0,a.jsx)(f.A,{className:"h-4 w-4 ml-2"}):(0,a.jsx)(b.A,{className:"h-4 w-4 ml-2"})]})}),(0,a.jsx)(A.hl,{className:"w-96",align:"start",side:"bottom",sideOffset:4,avoidCollisions:!1,children:(0,a.jsx)(k.t,{onClose:()=>F(!1),onModelChange:e=>O(e)})})]}),(0,a.jsxs)(r.$,{onClick:L,disabled:null!==o,children:[(0,a.jsx)(v.A,{className:"h-4 w-4 mr-2"}),"Run Quick Tests (5 tests)"]}),(0,a.jsxs)(r.$,{variant:"outline",onClick:()=>{l.forEach((e,t)=>{e.stop()}),s(c.map(e=>({id:e.id,name:e.name,status:"pending"}))),D({total:0,passed:0,failed:0,successRate:0}),d(null),C(new Map),P(new Map),E(new Set)},disabled:null!==o,children:[(0,a.jsx)(x.A,{className:"h-4 w-4 mr-2"}),"Reset"]})]}),(0,a.jsx)("div",{className:"grid gap-4",children:t.map(e=>{let t=c.find(t=>t.id===e.id);return(0,a.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 font-medium",children:[W(e.status),e.name,(0,a.jsxs)("span",{className:"text-sm font-normal text-muted-foreground",children:["(",t?.category,")"]})]}),(0,a.jsxs)("div",{className:"text-sm text-muted-foreground mt-1",children:[t?.prompt.substring(0,100),"..."]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[e.executionTime&&(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:[(e.executionTime/1e3).toFixed(1),"s"]}),"running"===e.status&&o===e.id?(0,a.jsxs)(r.$,{size:"sm",variant:"destructive",onClick:()=>I(e.id),children:[(0,a.jsx)(p,{className:"h-3 w-3 mr-1"}),"Stop"]}):(0,a.jsxs)(r.$,{size:"sm",variant:"outline",onClick:()=>$(e.id),disabled:null!==o,children:[(0,a.jsx)(v.A,{className:"h-3 w-3 mr-1"}),"Test"]}),("running"===e.status||e.generationOutput||S.has(e.id))&&(0,a.jsx)(r.$,{size:"sm",variant:"ghost",onClick:()=>{E(t=>{let s=new Set(t);return s.has(e.id)?s.delete(e.id):s.add(e.id),s})},children:S.has(e.id)?(0,a.jsx)(b.A,{className:"h-3 w-3"}):(0,a.jsx)(f.A,{className:"h-3 w-3"})})]})]}),("running"===e.status||S.has(e.id))&&(e.generationOutput||T.get(e.id))&&(0,a.jsxs)("div",{className:"mt-3 pt-3 border-t",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-muted-foreground",children:"Generation Output"}),"running"===e.status&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(x.A,{className:"h-3 w-3 animate-spin"}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:"Generating..."})]})]}),(0,a.jsx)("div",{className:"bg-muted/50 rounded-md p-3 max-h-64 overflow-y-auto",ref:t=>{t&&M.current.set(e.id,t)},children:(0,a.jsx)("pre",{className:"text-xs font-mono whitespace-pre-wrap text-foreground/80",children:e.generationOutput||T.get(e.id)||""})})]}),("success"===e.status||"failed"===e.status||"stopped"===e.status)&&(0,a.jsxs)("div",{className:"mt-3 pt-3 border-t space-y-2",children:[e.details&&(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Result:"})," ",e.details]}),void 0!==e.toolCalls&&(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Tool Calls:"})," ",e.toolCalls]}),e.filesModified&&e.filesModified.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Files:"})," ",e.filesModified.join(", ")]}),e.errors&&e.errors.length>0&&(0,a.jsxs)("div",{className:"text-red-600",children:[(0,a.jsx)("strong",{children:"Errors:"})," ",e.errors.join(", ")]})]})]},e.id)})})]})})]})}},33873:e=>{"use strict";e.exports=require("path")},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78487:(e,t,s)=>{Promise.resolve().then(s.bind(s,30268))},79428:e=>{"use strict";e.exports=require("buffer")},82623:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});let a=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx","default")},84063:(e,t,s)=>{Promise.resolve().then(s.bind(s,82623))},87550:e=>{"use strict";e.exports=require("better-sqlite3")},93633:(e,t,s)=>{"use strict";s.r(t),s.d(t,{GlobalError:()=>n.a,__next_app__:()=>m,pages:()=>c,routeModule:()=>u,tree:()=>l});var a=s(65239),i=s(48088),r=s(88170),n=s.n(r),o=s(30893),d={};for(let e in o)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>o[e]);s.d(t,d);let l={children:["",{children:["test-generation",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,82623)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(s.bind(s,58014)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(s.t.bind(s,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(s.t.bind(s,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,c=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx"],m={require:s,loadChunk:()=>Promise.resolve()},u=new a.AppPageRouteModule({definition:{kind:i.RouteKind.APP_PAGE,page:"/test-generation/page",pathname:"/test-generation",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},94735:e=>{"use strict";e.exports=require("events")}};var t=require("../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),a=t.X(0,[4447,8055,329,3640],()=>s(93633));module.exports=a})(); \ No newline at end of file +});`,k=[{id:"ui-hamburger-menu",name:"Add hamburger menu to navbar",category:"ui",prompt:"Add a mobile hamburger menu to the navbar. The hamburger should appear on screens smaller than 768px and toggle the navigation menu visibility when clicked.",setupFiles:{"/index.html":h,"/styles.css":i,"/script.js":j},expectedElements:[".hamburger"],expectedPatterns:[/hamburger|menu-toggle|mobile-menu/i,/@media.*max-width.*768px/,/addEventListener.*click/]},{id:"ui-modal-dialog",name:"Create modal dialog",category:"ui",prompt:"Create a modal dialog that can be opened with a button click. The modal should have a close button and clicking outside the modal should also close it.",setupFiles:{"/index.html":h,"/styles.css":i,"/script.js":j},expectedElements:[".modal",".modal-content"],expectedPatterns:[/modal/i,/display:\s*(none|block|flex)/,/addEventListener.*click/,/close|dismiss/i]},{id:"ui-contact-form",name:"Add contact form with validation",category:"ui",prompt:"Add a contact form with fields for name, email, and message. Include client-side validation for required fields and email format.",setupFiles:{"/index.html":h,"/styles.css":i,"/script.js":j},expectedElements:["form",'input[type="text"]','input[type="email"]',"textarea",'button[type="submit"]'],expectedPatterns:[/({id:a.id,name:a.name,status:"pending"}))),[h,i]=(0,e.useState)(null),[j,A]=(0,e.useState)(new Map),[B,C]=(0,e.useState)(new Map),[D,E]=(0,e.useState)(new Set),F=(0,e.useRef)(new Map),[G,H]=(0,e.useState)({total:0,passed:0,failed:0,successRate:0}),[I,J]=(0,e.useState)(!1),[K,L]=(0,e.useState)(""),M=async a=>{let b=k.find(b=>b.id===a);if(!b)return;let d=Date.now();i(a),E(b=>new Set([...b,a])),c(b=>b.map(b=>b.id===a?{...b,status:"running",generationOutput:""}:b));try{let e=`test-${Date.now()}`,f=new g.t(e,"orchestrator",(b,d)=>{if("assistant_delta"===b&&(d?.text||d?.snapshot)){let b=d.text,e=d.snapshot;C(c=>{let d=new Map(c);if(void 0!==e)d.set(a,e);else if(b){let c=d.get(a)||"";d.set(a,c+b)}return d}),c(c=>c.map(c=>c.id===a?{...c,generationOutput:e||(c.generationOutput||"")+(b||"")}:c)),setTimeout(()=>{let b=F.current.get(a);b&&(b.scrollTop=b.scrollHeight)},0)}},{chatMode:!1});A(b=>{let c=new Map(b);return c.set(a,f),c});let h=await f.execute(b.prompt);c(b=>b.map(b=>b.id===a?{...b,status:h.success?"success":"failed",executionTime:Date.now()-d,errors:h.success?void 0:[h.summary],details:h.summary,filesModified:[],toolCalls:h.conversation?.length||0}:b)),h.success?v.oR.success(`Test passed: ${b.name}`):v.oR.error(`Test failed: ${b.name} - ${h.summary}`)}catch(f){let e=f instanceof Error?f.message:String(f);c(b=>b.map(b=>b.id===a?{...b,status:"failed",executionTime:Date.now()-d,errors:[e],details:`Error: ${e}`}:b)),v.oR.error(`Test error: ${b.name}`)}A(b=>{let c=new Map(b);return c.delete(a),c}),i(null),O()},N=async()=>{for(let a of["style-background-gradient","ui-hamburger-menu","js-countdown-timer"]){if(null===h)break;await M(a),await new Promise(a=>setTimeout(a,3e3))}},O=()=>{let a=b.filter(a=>"pending"!==a.status&&"running"!==a.status),c=b.filter(a=>"success"===a.status),d=b.filter(a=>"failed"===a.status||"stopped"===a.status);H({total:a.length,passed:c.length,failed:d.length,successRate:a.length>0?c.length/a.length*100:0})},P=[{id:"back",label:"Back to Projects",icon:q.A,onClick:()=>a.push("/"),variant:"outline"}];return(0,d.jsxs)("div",{className:"h-screen flex flex-col",children:[(0,d.jsx)(y.j,{leftText:"Model Tester",onLogoClick:()=>a.push("/"),actions:P}),(0,d.jsx)("div",{className:"flex-1 overflow-auto bg-background p-6",children:(0,d.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-950/30 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-6",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)(w.A,{className:"h-5 w-5 text-blue-600 dark:text-blue-400 mt-0.5"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-medium text-blue-900 dark:text-blue-100 mb-1",children:"How to Interpret Test Results"}),(0,d.jsxs)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:["These tests validate basic code generation capabilities across different task types. A ",(0,d.jsx)("strong",{children:"passing test"})," means files were created/modified successfully. A ",(0,d.jsx)("strong",{children:"failing test"})," indicates the model couldn't complete the task or didn't produce expected outputs."]}),(0,d.jsxs)("div",{className:"mt-2 text-xs text-blue-700 dark:text-blue-300",children:[(0,d.jsx)("strong",{children:"Tip:"})," Select your preferred provider and model below to test specific configurations. The generation output will show you what the AI is thinking during execution."]})]})]})}),(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-950/30 border border-amber-200 dark:border-amber-800 rounded-lg p-4 mb-6",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("div",{className:"text-amber-600 dark:text-amber-400 mt-0.5",children:"\uD83D\uDCA1"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Cost Warning"}),(0,d.jsxs)("p",{className:"text-sm text-amber-800 dark:text-amber-200",children:["Running these tests can be ",(0,d.jsx)("strong",{children:"very expensive"})," and likely isn't necessary. It's cheaper and easier to just use good models and research community feedback about agentic capabilities."]}),(0,d.jsx)("p",{className:"text-sm text-amber-800 dark:text-amber-200 mt-2",children:"This tester is largely for evaluating how models perform with OSW Studio's implementation and using those results to improve the agentic system."})]})]})}),(0,d.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4 mb-6",children:[(0,d.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,d.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-1",children:"Total Tests"}),(0,d.jsx)("div",{className:"text-2xl font-bold",children:G.total})]}),(0,d.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,d.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-1",children:"Passed"}),(0,d.jsx)("div",{className:"text-2xl font-bold text-green-600",children:G.passed})]}),(0,d.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,d.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-1",children:"Failed"}),(0,d.jsx)("div",{className:"text-2xl font-bold text-red-600",children:G.failed})]}),(0,d.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,d.jsx)("div",{className:"text-sm font-medium text-muted-foreground mb-1",children:"Success Rate"}),(0,d.jsxs)("div",{className:"text-2xl font-bold",children:[G.successRate.toFixed(1),"%"]})]})]}),(0,d.jsxs)("div",{className:"flex gap-4 mb-6",children:[(0,d.jsxs)(z.AM,{open:I,onOpenChange:J,children:[(0,d.jsx)(z.Wv,{asChild:!0,children:(0,d.jsxs)(f.$,{variant:"outline",children:[(0,d.jsx)("span",{children:(a=>{if(!a)return"Select Model";let b=a.split("/");return b[b.length-1].split("-").map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")})(K)}),I?(0,d.jsx)(r.A,{className:"h-4 w-4 ml-2"}):(0,d.jsx)(s.A,{className:"h-4 w-4 ml-2"})]})}),(0,d.jsx)(z.hl,{className:"w-96",align:"start",side:"bottom",sideOffset:4,avoidCollisions:!1,children:(0,d.jsx)(x.t,{onClose:()=>J(!1),onModelChange:a=>L(a)})})]}),(0,d.jsxs)(f.$,{onClick:N,disabled:null!==h,children:[(0,d.jsx)(t.A,{className:"h-4 w-4 mr-2"}),"Run Quick Tests (5 tests)"]}),(0,d.jsxs)(f.$,{variant:"outline",onClick:()=>{j.forEach((a,b)=>{a.stop()}),c(k.map(a=>({id:a.id,name:a.name,status:"pending"}))),H({total:0,passed:0,failed:0,successRate:0}),i(null),A(new Map),C(new Map),E(new Set)},disabled:null!==h,children:[(0,d.jsx)(o.A,{className:"h-4 w-4 mr-2"}),"Reset"]})]}),(0,d.jsx)("div",{className:"grid gap-4",children:b.map(a=>{let b=k.find(b=>b.id===a.id);return(0,d.jsxs)("div",{className:"bg-card border rounded-lg p-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 font-medium",children:[(a=>{switch(a){case"success":return(0,d.jsx)(l.A,{className:"h-4 w-4 text-green-500"});case"failed":return(0,d.jsx)(m.A,{className:"h-4 w-4 text-red-500"});case"stopped":return(0,d.jsx)(n,{className:"h-4 w-4 text-orange-500"});case"running":return(0,d.jsx)(o.A,{className:"h-4 w-4 text-blue-500 animate-spin"});default:return(0,d.jsx)(p.A,{className:"h-4 w-4 text-gray-400"})}})(a.status),a.name,(0,d.jsxs)("span",{className:"text-sm font-normal text-muted-foreground",children:["(",b?.category,")"]})]}),(0,d.jsxs)("div",{className:"text-sm text-muted-foreground mt-1",children:[b?.prompt.substring(0,100),"..."]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[a.executionTime&&(0,d.jsxs)("span",{className:"text-sm text-muted-foreground",children:[(a.executionTime/1e3).toFixed(1),"s"]}),"running"===a.status&&h===a.id?(0,d.jsxs)(f.$,{size:"sm",variant:"destructive",onClick:()=>(a=>{let b=j.get(a);b&&(b.stop(),v.oR.info(`Stopping test: ${k.find(b=>b.id===a)?.name}`))})(a.id),children:[(0,d.jsx)(n,{className:"h-3 w-3 mr-1"}),"Stop"]}):(0,d.jsxs)(f.$,{size:"sm",variant:"outline",onClick:()=>M(a.id),disabled:null!==h,children:[(0,d.jsx)(t.A,{className:"h-3 w-3 mr-1"}),"Test"]}),("running"===a.status||a.generationOutput||D.has(a.id))&&(0,d.jsx)(f.$,{size:"sm",variant:"ghost",onClick:()=>{E(b=>{let c=new Set(b);return c.has(a.id)?c.delete(a.id):c.add(a.id),c})},children:D.has(a.id)?(0,d.jsx)(s.A,{className:"h-3 w-3"}):(0,d.jsx)(r.A,{className:"h-3 w-3"})})]})]}),("running"===a.status||D.has(a.id))&&(a.generationOutput||B.get(a.id))&&(0,d.jsxs)("div",{className:"mt-3 pt-3 border-t",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,d.jsx)("div",{className:"text-sm font-medium text-muted-foreground",children:"Generation Output"}),"running"===a.status&&(0,d.jsxs)("div",{className:"flex items-center gap-1",children:[(0,d.jsx)(o.A,{className:"h-3 w-3 animate-spin"}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:"Generating..."})]})]}),(0,d.jsx)("div",{className:"bg-muted/50 rounded-md p-3 max-h-64 overflow-y-auto",ref:b=>{b&&F.current.set(a.id,b)},children:(0,d.jsx)("pre",{className:"text-xs font-mono whitespace-pre-wrap text-foreground/80",children:a.generationOutput||B.get(a.id)||""})})]}),("success"===a.status||"failed"===a.status||"stopped"===a.status)&&(0,d.jsxs)("div",{className:"mt-3 pt-3 border-t space-y-2",children:[a.details&&(0,d.jsxs)("div",{children:[(0,d.jsx)("strong",{children:"Result:"})," ",a.details]}),void 0!==a.toolCalls&&(0,d.jsxs)("div",{children:[(0,d.jsx)("strong",{children:"Tool Calls:"})," ",a.toolCalls]}),a.filesModified&&a.filesModified.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsx)("strong",{children:"Files:"})," ",a.filesModified.join(", ")]}),a.errors&&a.errors.length>0&&(0,d.jsxs)("div",{className:"text-red-600",children:[(0,d.jsx)("strong",{children:"Errors:"})," ",a.errors.join(", ")]})]})]},a.id)})})]})})]})}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},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")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},56660:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(49754),e=c(9117),f=c(46595),g=c(32324),h=c(39326),i=c(38928),j=c(20175),k=c(12),l=c(54290),m=c(12696),n=c(82802),o=c(77533),p=c(45229),q=c(32822),r=c(261),s=c(26453),t=c(52474),u=c(26713),v=c(51356),w=c(62685),x=c(36225),y=c(63446),z=c(2762),A=c(45742),B=c(86439),C=c(81170),D=c.n(C),E=c(62506),F=c(91203),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["test-generation",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,60940)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(c.bind(c,16953)),"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,81170,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,87028,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,90461,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,32768,23)),"next/dist/client/components/builtin/unauthorized.js"]}]}.children,I=["/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/test-generation/page",pathname:"/test-generation",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/test-generation/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} +see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},60940:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(97954).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx\" from the server, but it's 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/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx","default")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78487:(a,b,c)=>{Promise.resolve().then(c.bind(c,11987))},79428:a=>{"use strict";a.exports=require("buffer")},84063:(a,b,c)=>{Promise.resolve().then(c.bind(c,60940))},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[4586,495,774,7811],()=>b(b.s=56660));module.exports=c})(); \ No newline at end of file diff --git a/.next/server/app/test-generation/page.js.nft.json b/.next/server/app/test-generation/page.js.nft.json index 90d7302eb5f1dd6368fee3841ae48348173a75f8..457b0984d9fc930d959908288e109831db8c3252 100644 --- a/.next/server/app/test-generation/page.js.nft.json +++ b/.next/server/app/test-generation/page.js.nft.json @@ -1 +1 @@ -{"version":1,"files":["../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../node_modules/better-sqlite3/lib/database.js","../../../../node_modules/better-sqlite3/lib/index.js","../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../node_modules/better-sqlite3/lib/util.js","../../../../node_modules/better-sqlite3/package.json","../../../../node_modules/bindings/bindings.js","../../../../node_modules/bindings/package.json","../../../../node_modules/file-uri-to-path/index.js","../../../../node_modules/file-uri-to-path/package.json","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/1519.js","../../chunks/2629.js","../../chunks/329.js","../../chunks/3640.js","../../chunks/4447.js","../../chunks/7783.js","../../chunks/8055.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file +{"version":1,"files":["../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../node_modules/better-sqlite3/lib/database.js","../../../../node_modules/better-sqlite3/lib/index.js","../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../node_modules/better-sqlite3/lib/util.js","../../../../node_modules/better-sqlite3/package.json","../../../../node_modules/bindings/bindings.js","../../../../node_modules/bindings/package.json","../../../../node_modules/file-uri-to-path/index.js","../../../../node_modules/file-uri-to-path/package.json","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../node_modules/next/dist/lib/constants.js","../../../../node_modules/next/dist/lib/interop-default.js","../../../../node_modules/next/dist/lib/is-error.js","../../../../node_modules/next/dist/lib/semver-noop.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/cache-handlers/default.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../node_modules/next/dist/server/response-cache/types.js","../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../node_modules/next/dist/shared/lib/segment.js","../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/4586.js","../../chunks/4681.js","../../chunks/495.js","../../chunks/740.js","../../chunks/774.js","../../chunks/7811.js","../../chunks/9975.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/test-generation/page_client-reference-manifest.js b/.next/server/app/test-generation/page_client-reference-manifest.js index ebc7896129870857d23835db642e4c983348420b..b2297579a2540632ae6dbda4615c550b1160989b 100644 --- a/.next/server/app/test-generation/page_client-reference-manifest.js +++ b/.next/server/app/test-generation/page_client-reference-manifest.js @@ -1 +1 @@ -globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/test-generation/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3727":{"*":{"id":"12913","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"94593","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"69001","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"43555","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"20435","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"30268","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"99197","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":25388,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":61321,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":15851,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":9755,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":56382,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":85410,"name":"*","chunks":["6671","static/chunks/6671-78ed01c4e5154d89.js","2138","static/chunks/2138-18d4ca002a920f5d.js","7177","static/chunks/app/layout-19d4da7b6d1a11dd.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":19009,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":3727,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":57161,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":40796,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","4316","static/chunks/ad2866b8-a4659a388c5e0680.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5194","static/chunks/5194-99a431c0b0218919.js","5226","static/chunks/5226-756b348ecc09845d.js","1645","static/chunks/1645-ba208cf843cc4ff4.js","8974","static/chunks/app/page-f25d0cf644cab125.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":59054,"name":"*","chunks":["5948","static/chunks/06bf0ff1-2f6b5dbae626a171.js","6671","static/chunks/6671-78ed01c4e5154d89.js","4792","static/chunks/4792-f97f5e70e2ff5861.js","5226","static/chunks/5226-756b348ecc09845d.js","6932","static/chunks/app/test-generation/page-9a29f57c36cce1f2.js"],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/7b8717d9d84180b1.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page":[]},"rscModuleMapping":{"3727":{"*":{"id":"9911","name":"*","chunks":[],"async":false}},"15851":{"*":{"id":"80363","name":"*","chunks":[],"async":false}},"19009":{"*":{"id":"36903","name":"*","chunks":[],"async":false}},"25388":{"*":{"id":"41900","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"40796":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"57161":{"*":{"id":"49441","name":"*","chunks":[],"async":false}},"59054":{"*":{"id":"82623","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"61321":{"*":{"id":"39035","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"85410":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/test-generation/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"9766":{"*":{"id":"77526","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"78922","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"68495","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"12263","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"82016","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"31152","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"83133","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"54160","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"92130","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"75170","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"38502","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"82146","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"31603","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"52148","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"67600","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"29234","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":57150,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-page.js":{"id":81959,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/client-segment.js":{"id":17989,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":63886,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9766,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":15278,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":98924,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":24431,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":80622,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/tanstack-query-provider.tsx":{"id":46131,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/providers/theme-provider.tsx":{"id":98124,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/ui/sonner.tsx":{"id":70240,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":85568,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"PT_Sans\",\"arguments\":[{\"variable\":\"--font-ptSans-mono\",\"subsets\":[\"latin\"],\"weight\":[\"400\",\"700\"]}],\"variableName\":\"ptSans\"}":{"id":80231,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/assets/globals.css":{"id":27408,"name":"*","chunks":["8720","static/chunks/8720-c9ee040177c11cae.js","4841","static/chunks/4841-9c023033845750e4.js","7177","static/chunks/app/layout-f8fe6cebce585a15.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/components/page-wrapper/index.tsx":{"id":43688,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/login/page.tsx":{"id":62112,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/admin/page.tsx":{"id":25782,"name":"*","chunks":[],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page.tsx":{"id":91367,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","4316","static/chunks/ad2866b8-e13a3cf75ccf0eb8.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","9974","static/chunks/9974-f7789415a2178836.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6971","static/chunks/6971-b0cc891c05a94ee5.js","8974","static/chunks/app/page-0aeebd468c8e7784.js"],"async":false},"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page.tsx":{"id":84674,"name":"*","chunks":["5948","static/chunks/06bf0ff1-101744fe776a5109.js","8720","static/chunks/8720-c9ee040177c11cae.js","8111","static/chunks/8111-afa4b6ab5893fd8c.js","7047","static/chunks/7047-8ed7f297ea0641fa.js","6932","static/chunks/app/test-generation/page-3f2a8abff861f1b3.js"],"async":false}},"entryCSSFiles":{"/Users/otto/Desktop/deepstudio/osw-studio-git/":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/layout":[{"inlined":false,"path":"static/css/048b1824021554f0.css"}],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/page":[],"/Users/otto/Desktop/deepstudio/osw-studio-git/app/test-generation/page":[]},"rscModuleMapping":{"9766":{"*":{"id":"6060","name":"*","chunks":[],"async":false}},"15278":{"*":{"id":"7184","name":"*","chunks":[],"async":false}},"17989":{"*":{"id":"36893","name":"*","chunks":[],"async":false}},"24431":{"*":{"id":"73041","name":"*","chunks":[],"async":false}},"25782":{"*":{"id":"37734","name":"*","chunks":[],"async":false}},"27408":{"*":{"id":"94348","name":"*","chunks":[],"async":false}},"43688":{"*":{"id":"2054","name":"*","chunks":[],"async":false}},"46131":{"*":{"id":"69507","name":"*","chunks":[],"async":false}},"57150":{"*":{"id":"81170","name":"*","chunks":[],"async":false}},"62112":{"*":{"id":"7760","name":"*","chunks":[],"async":false}},"63886":{"*":{"id":"89748","name":"*","chunks":[],"async":false}},"70240":{"*":{"id":"20656","name":"*","chunks":[],"async":false}},"80622":{"*":{"id":"51384","name":"*","chunks":[],"async":false}},"81959":{"*":{"id":"23597","name":"*","chunks":[],"async":false}},"84674":{"*":{"id":"60940","name":"*","chunks":[],"async":false}},"91367":{"*":{"id":"17742","name":"*","chunks":[],"async":false}},"98124":{"*":{"id":"26262","name":"*","chunks":[],"async":false}},"98924":{"*":{"id":"69576","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/chunks/1123.js b/.next/server/chunks/1123.js deleted file mode 100644 index 6601ba15269753b36b6da5408425ff6000c36294..0000000000000000000000000000000000000000 --- a/.next/server/chunks/1123.js +++ /dev/null @@ -1,3312 +0,0 @@ -"use strict";exports.id=1123,exports.ids=[1123,1519],exports.modules={1519:(e,t,s)=>{async function a(e){}async function r(){return{serverProjectCount:0,serverSiteCount:0,serverLastUpdated:null,localProjectCount:0,isUninitialized:!1,needsSync:!1,loading:!1,error:"Server mode not enabled"}}s.d(t,{autoSyncProject:()=>a,jP:()=>r}),s(68269),s(96241),s(52581)},2565:(e,t,s)=>{s.d(t,{g:()=>m,C:()=>u});var a=s(60687),r=s(43210),i=s(4950),n=s(88712),l=s(25495),o=(s(68269),s(94742)),c=s(32623);let d=(0,r.createContext)(null);function m({children:e}){let[t,l]=(0,r.useState)("idle"),[m,u]=(0,r.useState)(0),[h,p]=(0,r.useState)(0),[x,g]=(0,r.useState)([]),[f,v]=(0,r.useState)(!1),[j,b]=(0,r.useState)([]),[y,w]=(0,r.useState)(null),[N,k]=(0,r.useState)(null),[S,C]=(0,r.useState)({projectId:null,preCheckpointId:null,postCheckpointId:null,originalCss:null,updatedCss:null}),A=(0,r.useRef)(S),T=(0,r.useRef)(null),E=(0,r.useRef)(null),P=(0,r.useRef)(null),$=(0,r.useRef)(null),I=(0,r.useRef)(null),F=(0,r.useRef)(null),R=(0,r.useMemo)(()=>(function(e){if(!(e<0)&&!(e>=n.A.length))return n.A[e]})(m),[m]),D=(0,r.useCallback)(()=>{C({projectId:null,preCheckpointId:null,postCheckpointId:null,originalCss:null,updatedCss:null}),T.current=null,E.current=null,P.current=null,$.current=null},[]),L=(0,r.useCallback)(async()=>{"running"===t&&(l("idle"),await new Promise(e=>setTimeout(e,100)));try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269)),{createProjectFromTemplate:t}=await Promise.resolve().then(s.bind(s,87929)),{DEMO_PROJECT_TEMPLATE:a}=await Promise.resolve().then(s.bind(s,87929));await e.init();let r=await e.createProject("Example Studios (Tour)","Demo project for guided tour");await t(e,r.id,a,a.assets),k(r.id);let i=await e.listProjects();b(i),await new Promise(e=>setTimeout(e,100)),l("running"),u(0),p(e=>e+1),g([]),D()}catch(e){console.error("[Tour] Failed to create demo project:",e),l("running"),u(0),p(e=>e+1),g([]),D()}},[D,t]),z=(0,r.useCallback)(e=>{F.current=e},[]),M=(0,r.useCallback)(async(e="finish")=>{let t=A.current;if(t.projectId&&t.preCheckpointId&&t.postCheckpointId&&c.$.runWithSuppressedDirty(t.projectId,async()=>{await o.Y.restoreCheckpoint(t.preCheckpointId)}).then(()=>{}).catch(e=>{console.error("[GuidedTour] Failed to restore baseline during cleanup",e)}),N)try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));await e.init(),(await e.listProjects()).filter(e=>e.id!==N).length>0&&await e.deleteProject(N)}catch(e){console.error("[GuidedTour] Failed to cleanup tour demo project",e)}D(),g([]),u(0),p(e=>e+1),l("finish"===e?"completed":"idle"),i.s.setHasSeenTour(!0),I.current?.abort(),F.current=null},[D,N,j]),O=(0,r.useCallback)(()=>{M("skip")},[M]),B=(0,r.useCallback)(()=>{u(e=>{let t=e+1;if(t>=n.A.length)return M(),e;let s=n.A[t];return s?.location==="workspace"&&N&&setTimeout(()=>{w(N)},100),p(e=>e+1),t})},[M,N]),U=(0,r.useCallback)(()=>{u(e=>{let t=Math.max(0,e-1);return t!==e&&p(e=>e+1),t})},[]),W=(0,r.useMemo)(()=>({state:{status:t,stepIndex:m,stepKey:h,currentStep:R,transcript:x,isBusy:f,projectList:j,tourDemoProjectId:N},start:L,skip:O,next:B,previous:U,setProjectList:e=>{b(e)},setActiveProjectId:w,setTranscript:g,setWorkspaceHandler:z,setTourDemoProjectId:k}),[t,m,h,R,x,f,j,N,L,O,B,U,z]);return(0,a.jsx)(d.Provider,{value:W,children:e})}function u(){let e=(0,r.useContext)(d);if(!e)throw Error("useGuidedTour must be used within a GuidedTourProvider");return e}},5643:(e,t,s)=>{s.d(t,{X:()=>k});var a=s(60687),r=s(43210),i=s.n(r),n=s(22106),l=s(68269),o=s(24934),c=s(13861),d=s(11860),m=s(78122),u=s(47033),h=s(14952),p=s(32192),x=s(19352),g=s(17581),f=s(97638),v=s(34318),j=s(63974),b=s(96241),y=s(59784);let w={mobile:{width:"375px",height:"100%",maxHeight:"667px"},tablet:{width:"768px",height:"100%",maxHeight:"1024px"},desktop:{width:"100%",height:"100%",maxHeight:"900px",maxWidth:"1440px"},responsive:{width:"100%",height:"100%"}},N=(0,r.forwardRef)(({projectId:e,refreshTrigger:t,onFocusSelection:s,hasFocusTarget:i=!1,onClose:N,siteId:k},S)=>{let[C,A]=(0,r.useState)(null),[T,E]=(0,r.useState)("/"),[P,$]=(0,r.useState)(!0),[I,F]=(0,r.useState)(null),[R,D]=(0,r.useState)("tablet"),[L,z]=(0,r.useState)(["/"]),[M,O]=(0,r.useState)(0),[B,U]=(0,r.useState)(!1),[W,_]=(0,r.useState)(!1),J=(0,r.useMemo)(()=>W?{backgroundColor:"var(--button-preview-active)",color:"white"}:i?{backgroundColor:"rgba(99, 102, 241, 0.12)",color:"var(--button-preview-active)"}:{},[W,i]),q=(0,r.useRef)(null),H=(0,r.useRef)(null),V=(0,r.useRef)(null),G=(0,r.useRef)("/"),Y=(0,r.useRef)(null),X=(0,r.useRef)(!1);(0,r.useImperativeHandle)(S,()=>({captureScreenshot:async()=>q.current&&B?await (0,y.captureIframeScreenshot)(q.current):(b.v.warn("Cannot capture screenshot: iframe not ready"),null)}),[B]);let K=(0,r.useCallback)(e=>{if(q.current&&q.current.contentWindow)try{q.current.contentWindow.postMessage(e,"*")}catch(e){b.v.warn("Failed to communicate with preview iframe",e)}},[]),Z=(0,r.useRef)(!1),Q=(0,r.useRef)(null),ee=(0,r.useRef)(null),et=(0,r.useRef)(null),es=()=>(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center gap-2",children:[(0,a.jsx)(c.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-preview-active)"}}),N?(0,a.jsxs)("button",{type:"button",onClick:N,"aria-label":"Hide preview",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(c.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-preview-active)"}}),(0,a.jsx)(d.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(c.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-preview-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Live Preview"})]});(0,r.useEffect)(()=>{V.current=C},[C]),(0,r.useEffect)(()=>{X.current=W,B&&K({type:"selector-toggle",active:W})},[W,B,K]),(0,r.useEffect)(()=>{let e=q.current;if(!e)return;let t=()=>{K({type:"selector-toggle",active:X.current})};return e.addEventListener("load",t),()=>{e.removeEventListener("load",t)}},[B,K]),(0,r.useEffect)(()=>{G.current=T},[T]),(0,r.useEffect)(()=>{if(B&&Y.current&&V.current){let e=Y.current;Y.current=null,en(e,V.current)}},[B]),(0,r.useEffect)(()=>()=>{ee.current&&window.clearTimeout(ee.current)},[]);let ea=(0,r.useCallback)(async(t=!1,s=!0)=>{s&&$(!0),F(null);try{await l.vfs.init();let s=t?G.current:null;H.current&&H.current.cleanupBlobUrls();let a=new n.B(l.vfs,e,void 0,k||void 0);H.current=a;let r=await a.compileProject();A(r),V.current=r;let i=s;i||(i=r.blobUrls.has("/index.html")?"/":r.entryPoint||(r.routes.length>0?r.routes[0].path:"/")),en(i,r)}catch(e){F(e instanceof Error?e.message:"Failed to compile project"),b.v.error("Compilation error:",e)}finally{s&&$(!1)}},[e]),er=(0,r.useCallback)((e=!1,t=!0)=>{if(Z.current){let s=Q.current;Q.current={preserve:(s?.preserve??!1)||e,showLoading:(s?.showLoading??!1)||t};return}(async(e,t)=>{Z.current=!0;try{await ea(e,t)}finally{Z.current=!1;let e=Q.current;Q.current=null,e&&er(e.preserve,e.showLoading)}})(e,t)},[ea]),ei=(0,r.useCallback)((e=!1,t=!1)=>{let s=et.current;et.current={preserve:(s?.preserve??!1)||e,showLoading:(s?.showLoading??!1)||t},ee.current&&window.clearTimeout(ee.current),ee.current=window.setTimeout(()=>{let e=et.current;et.current=null,ee.current=null,e&&er(e.preserve,e.showLoading)},150)},[er]);(0,r.useEffect)(()=>{er()},[e,t,er]),(0,r.useEffect)(()=>{let t=()=>{ei(!0)},s=t=>{t.detail&&t.detail.projectId!==e||ei(!0)};return window.addEventListener("filesChanged",t),window.addEventListener("fileContentChanged",s),()=>{window.removeEventListener("filesChanged",t),window.removeEventListener("fileContentChanged",s)}},[e,ei]);let en=(e,t)=>{let s,a=t||V.current||C;if(!a)return void b.v.warn("No compiled project available");if(X.current?_(!1):K({type:"selector-toggle",active:!1}),!q.current||!B){Y.current=e;return}let r=e;r.startsWith("/")||(r="/"+r);let i=a.routes.find(e=>e.path===r);s=i?i.file:"/"===r?"/index.html":r.endsWith("/")?r+"index.html":r+".html";let n=a.files.find(e=>e.path===s);if(!n&&!r.endsWith("/")){let e=r+"/index.html";(n=a.files.find(t=>t.path===e))&&(s=e)}if(!n){F(`Page not found: ${e}`),a.files.find(e=>"/index.html"===e.path||"index.html"===e.path)&&"/"!==e&&en("/",t);return}let l="string"==typeof n.content?n.content:new TextDecoder().decode(n.content);l=(l=(l=l.replace(/href="([^"]+)"/g,(e,t)=>{if(!t.endsWith(".css")||t.startsWith("http")||t.startsWith("//"))return e;let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`href="${r}"`:e})).replace(/src="([^"]+)"/g,(e,t)=>{if(!t.endsWith(".js")||t.startsWith("http")||t.startsWith("//"))return e;let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`src="${r}"`:e})).replace(/src="([^"]+\.(png|jpg|jpeg|gif|svg|webp))"/gi,(e,t)=>{let s=t.startsWith("/")?t:"/"+t,r=a.blobUrls.get(s);return r?`src="${r}"`:e});let o=` - - `;l.includes("")?l=l.replace("",o+""):l+=o,q.current.srcdoc=l,E(r),G.current=r,O(e=>(z(t=>[...t.slice(0,e+1),r]),e+1))},el=(0,r.useCallback)(e=>{en(e)},[C]),eo=()=>{if(M>0){let e=M-1;O(e),en(L[e])}},ec=()=>{if(M{en("/")},em=()=>{er(!0,!1)};return((0,r.useEffect)(()=>{let e=e=>{let t=e.data;if(t&&"object"==typeof t){if("navigate"===t.type&&t.path)return void el(t.path);if("selector-selection"===t.type&&t.payload){_(!1),s?.(t.payload);return}"selector-cancelled"===t.type&&_(!1)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[el,s]),(0,r.useEffect)(()=>()=>{H.current&&H.current.cleanupBlobUrls()},[]),P)?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center space-y-2",children:[(0,a.jsx)(m.A,{className:"w-8 h-8 animate-spin mx-auto text-primary"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:"Compiling project..."})]})})]}):I?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center text-destructive space-y-2",children:[(0,a.jsx)("p",{className:"font-medium",children:"Error"}),(0,a.jsx)("p",{className:"text-sm mt-2",children:I}),(0,a.jsx)(o.$,{onClick:em,className:"mt-4",children:"Try Again"})]})})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)(es,{}),(0,a.jsxs)("div",{className:"border-b p-2 flex items-center gap-2 md:hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:eo,disabled:0===M,children:(0,a.jsx)(u.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ec,disabled:M>=L.length-1,children:(0,a.jsx)(h.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ed,children:(0,a.jsx)(p.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:em,children:(0,a.jsx)(m.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>_(e=>!e),disabled:!B,style:J,title:W?"Cancel element selection":i?"Replace focused element":"Select element","data-tour-id":"focus-crosshair-button",children:(0,a.jsx)(x.A,{className:"h-3 w-3"})})]}),C&&C.routes.length>1&&(0,a.jsxs)(j.l6,{value:T,onValueChange:el,children:[(0,a.jsx)(j.bq,{className:"flex-1 h-8 min-w-0 max-w-full",children:(0,a.jsx)(j.yv,{className:"truncate"})}),(0,a.jsx)(j.gC,{children:C.routes.map(e=>(0,a.jsx)(j.eb,{value:e.path,children:e.title||e.path},e.path))})]})]}),(0,a.jsxs)("div",{className:"border-b p-2 hidden md:flex items-center gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:eo,disabled:0===M,children:(0,a.jsx)(u.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ec,disabled:M>=L.length-1,children:(0,a.jsx)(h.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ed,children:(0,a.jsx)(p.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:em,children:(0,a.jsx)(m.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>_(e=>!e),disabled:!B,style:{backgroundColor:W?"var(--button-preview-active)":void 0,color:W?"white":void 0},title:W?"Cancel element focus":"Select element","data-tour-id":"focus-crosshair-button",children:(0,a.jsx)(x.A,{className:"h-3 w-3"})})]}),(0,a.jsx)("div",{className:"flex-1 px-3 py-1 bg-muted rounded text-sm",children:T}),C&&C.routes.length>1&&(0,a.jsxs)(j.l6,{value:T,onValueChange:el,children:[(0,a.jsx)(j.bq,{className:"w-[200px] h-8",children:(0,a.jsx)(j.yv,{})}),(0,a.jsx)(j.gC,{children:C.routes.map(e=>(0,a.jsx)(j.eb,{value:e.path,children:e.title||e.path},e.path))})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1 border-l pl-2",children:[(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"mobile"===R?"var(--button-preview-active)":void 0,color:"mobile"===R?"white":void 0},onClick:()=>D("mobile"),children:(0,a.jsx)(g.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"tablet"===R?"var(--button-preview-active)":void 0,color:"tablet"===R?"white":void 0},onClick:()=>D("tablet"),children:(0,a.jsx)(f.A,{className:"h-3 w-3"})}),(0,a.jsx)(o.$,{size:"icon",variant:"ghost",className:"h-5 w-5 rounded-sm",style:{backgroundColor:"desktop"===R?"var(--button-preview-active)":void 0,color:"desktop"===R?"white":void 0},onClick:()=>D("desktop"),children:(0,a.jsx)(v.A,{className:"h-3 w-3"})})]})]}),(0,a.jsx)("div",{className:"flex-1 bg-muted/20 dark:bg-muted/10 p-4 overflow-auto min-h-0",children:(0,a.jsx)("div",{className:(0,b.cn)("bg-white mx-auto shadow-2xl transition-all duration-300","responsive"!==R&&"rounded-lg"),style:{width:w[R].width||"100%",height:w[R].height||"100%",maxHeight:w[R].maxHeight||"100%",maxWidth:w[R].maxWidth||"100%"},children:(0,a.jsx)("iframe",{ref:e=>{q.current=e,e&&!B?setTimeout(()=>{U(!0)},0):!e&&B&&U(!1)},className:"w-full h-full rounded-lg",sandbox:"allow-scripts allow-same-origin allow-forms",title:"Preview"})})})]})});N.displayName="MultipagePreview";let k=i().memo(N)},11755:(e,t,s)=>{s.d(t,{M:()=>ed});var a=s(60687),r=s(43210),i=s(68269);s(1519);var n=s(24934),l=s(96271),o=s(49625),c=s(18179),d=s(11437),m=s(61187),u=s(56085),h=s(82080),p=s(84027),x=s(96882),g=s(45989),f=s(62157),v=s(9593),j=s(40083),b=s(47033),y=s(14952),w=s(78272),N=s(44624),k=s(50047),S=s(96241),C=s(16189);let A=[{id:"dashboard",label:"Dashboard",icon:o.A,path:"dashboard"},{id:"projects",label:"Projects",icon:c.A,path:"projects",hasRecentProjects:!0},{id:"sites",label:"Sites",icon:d.A,path:"sites",serverModeOnly:!0},{id:"templates",label:"Templates",icon:m.A,path:"templates"},{id:"skills",label:"Skills",icon:u.A,path:"skills"},{id:"docs",label:"Docs",icon:h.A,path:"docs",subItems:k.P.map(e=>({id:e.id,label:e.title,icon:e.icon,file:e.file}))},{id:"settings",label:"Settings",icon:p.A,path:"settings",subItems:[{id:"application",label:"Application",icon:p.A},{id:"model",label:"Provider & Model",icon:u.A}]},{id:"tour",label:"Guided Tour",icon:x.A,action:"start-tour"},{id:"tester",label:"Model Tester",icon:g.A,path:"/test-generation"},{id:"about",label:"About",icon:x.A,action:"open-about"},{id:"discord",label:"Discord",icon:N.E,href:"https://discord.gg/mAJ8Ss4u"},{id:"github",label:"GitHub",icon:f.A,href:"https://github.com/o-stahl/osw-studio"}];function T({currentView:e,onNavigate:t,onProjectSelect:s,onStartTour:i,onOpenAbout:o,onOpenSettings:d,onServerSync:m,onLogoClick:u,onPinnedChange:h,onHoverChange:p,onCollapsedChange:x,mobileOpen:g=!1,onMobileOpenChange:f}){let v=(0,C.useRouter)(),j=(0,C.useSearchParams)(),N=j.get("doc"),k=j.get("settings"),[T,E]=(0,r.useState)(!0),[P,$]=(0,r.useState)(!1),[I,F]=(0,r.useState)([]),[R,D]=(0,r.useState)(!0),[L,z]=(0,r.useState)(null),[M,O]=(0,r.useState)(()=>{let t=new Set;return"docs"===e&&t.add("docs"),"projects"===e&&t.add("projects"),"settings"===e&&t.add("settings"),t}),[B,U]=(0,r.useState)(!1),[W,_]=(0,r.useState)(!1),J=!W&&!T&&!P,q=()=>{let e=!T;E(e),localStorage.setItem("osw-admin-sidebar-pinned",String(e)),h?.(e)},H=A.filter(e=>!e.serverModeOnly),V=e=>{O(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},G=async e=>{if(f?.(!1),e.href)window.open(e.href,"_blank","noopener,noreferrer");else if(e.path)v.push("/"),t(e.id);else if("start-tour"===e.action&&i)i();else if("open-about"===e.action&&o)o();else if("open-settings"===e.action&&d)d();else if("server-sync"===e.action&&m)m();else if("logout"===e.action)try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&v.push("/admin/login")}catch(e){console.error("Logout failed:",e)}};return(0,a.jsxs)(a.Fragment,{children:[g&&(0,a.jsx)("div",{className:"md:hidden fixed inset-0 bg-black/50 z-40",onClick:()=>f?.(!1)}),(0,a.jsxs)("div",{className:(0,S.cn)("flex flex-col h-screen bg-card transition-all duration-300","border-l md:border-l-0 md:border-r","md:relative md:left-0",T?"md:relative":"md:absolute md:left-0 md:top-0 md:z-40 md:shadow-lg","fixed right-0 top-0 z-50 w-60",J?"":"md:w-60",g?"translate-x-0":"translate-x-full md:translate-x-0"),style:{width:J?"56px":void 0},onMouseEnter:()=>{W||T||($(!0),p?.(!0))},onMouseLeave:()=>{W||T||($(!1),p?.(!1))},children:[(0,a.jsxs)("button",{onClick:()=>{W?g&&f?.(!1):q()},onMouseEnter:()=>!W&&U(!0),onMouseLeave:()=>!W&&U(!1),className:(0,S.cn)("p-3 border-b flex items-center gap-3 h-[54px] overflow-hidden w-full","hover:bg-accent/50 transition-colors cursor-pointer",J&&"justify-center"),children:[(0,a.jsxs)("div",{className:"relative w-6 h-6 flex items-center justify-center flex-shrink-0",children:[(0,a.jsx)(l.g,{width:24,height:24,className:(0,S.cn)("transition-opacity absolute",B&&"opacity-0")}),T?(0,a.jsx)(b.A,{className:(0,S.cn)("hidden md:block h-6 w-6 transition-opacity absolute",B?"opacity-100":"opacity-0 pointer-events-none")}):(0,a.jsx)(y.A,{className:(0,S.cn)("hidden md:block h-6 w-6 transition-opacity absolute",B?"opacity-100":"opacity-0 pointer-events-none")})]}),!J&&(0,a.jsx)("span",{className:"text-sm font-semibold whitespace-nowrap",children:B&&!T?"Pin":"Open\xa0Source Web\xa0Studio"})]}),(0,a.jsx)("nav",{className:"flex-1 p-2 space-y-1 overflow-y-auto",children:H.map(r=>{let i=r.icon,l=e===r.id,o=r.subItems&&r.subItems.length>0||r.hasRecentProjects,d=M.has(r.id);return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:(0,S.cn)("p-1",d&&o&&"bg-muted rounded-2xl"),children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)(n.$,{variant:l&&!o?"default":"ghost",className:(0,S.cn)("w-full",J?"justify-center px-2":"justify-start",!J&&o&&"pr-8"),onClick:()=>{o&&e===r.id||G(r)},title:J?r.label:void 0,children:[(0,a.jsx)(i,{className:(0,S.cn)("h-4 w-4",!J&&"mr-2")}),!J&&r.label]}),!J&&o&&(0,a.jsx)("button",{className:(0,S.cn)("absolute right-2 top-1/2 -translate-y-1/2","p-1 rounded hover:bg-accent transition-colors"),onClick:e=>{e.preventDefault(),e.stopPropagation(),V(r.id)},children:(0,a.jsx)(w.A,{className:(0,S.cn)("h-4 w-4 transition-transform",d&&"rotate-180")})})]}),r.hasRecentProjects&&d&&(0,a.jsx)("div",{className:(0,S.cn)("mt-1 space-y-1",J?"flex flex-col items-center":"ml-4"),children:R?(0,a.jsx)(a.Fragment,{children:[1,2,3].map(e=>(0,a.jsxs)("div",{className:(0,S.cn)("flex items-center gap-2",J?"justify-center p-1":"h-8 px-2"),children:[(0,a.jsx)("div",{className:"h-3 w-3 bg-muted-foreground/20 rounded animate-pulse"}),!J&&(0,a.jsx)("div",{className:"h-3 flex-1 bg-muted-foreground/20 rounded animate-pulse"})]},e))}):I.length>0?I.map(e=>(0,a.jsxs)(n.$,{variant:"ghost",size:"sm",className:(0,S.cn)(J?"w-8 h-8 p-0 justify-center":"w-full justify-start text-xs"),onClick:()=>{f?.(!1),s(e)},title:e.name,children:[(0,a.jsx)(c.A,{className:(0,S.cn)("h-3 w-3 flex-shrink-0",!J&&"mr-2")}),!J&&(0,a.jsx)("span",{className:"truncate",children:e.name})]},e.id)):!J&&(0,a.jsx)("div",{className:"px-2 py-1 text-xs text-muted-foreground",children:"No recent projects"})}),r.subItems&&d&&(0,a.jsx)("div",{className:(0,S.cn)("mt-1 space-y-1",J?"flex flex-col items-center":"ml-4"),children:r.subItems.map(e=>{let s=e.icon,i=e.file?N===e.id:"settings"===r.id&&k===e.id;return(0,a.jsxs)(n.$,{variant:i?"default":"ghost",size:"sm",className:(0,S.cn)(J?"w-8 h-8 p-0 justify-center":"w-full justify-start text-xs"),onClick:()=>{f?.(!1),e.file?v.push(`/?doc=${e.id}`):"settings"===r.id?v.push(`/?settings=${e.id}`):v.push("/"),t(r.id)},title:J?e.label:void 0,children:[(0,a.jsx)(s,{className:(0,S.cn)("h-3 w-3",!J&&"mr-2")}),!J&&e.label]},e.id)})})]})},r.id)})}),!1,(0,a.jsx)("div",{className:"hidden md:block border-t p-2",children:(0,a.jsx)(n.$,{variant:"ghost",size:"sm",className:(0,S.cn)("w-full",J?"justify-center px-2":"justify-start"),onClick:q,title:J?T?"Unpin sidebar":"Pin sidebar":void 0,children:T?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b.A,{className:(0,S.cn)("h-4 w-4",!J&&"mr-2")}),!J&&"Unpin"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y.A,{className:(0,S.cn)("h-4 w-4",!J&&"mr-2")}),!J&&"Pin"]})})})]})]})}function E(e){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"w-full h-full bg-card"}),children:(0,a.jsx)(T,{...e})})}v.A,j.A;var P=s(51567),$=s(43649),I=s(61611),F=s(37826),R=s(83801),D=s(78122),L=s(77767),z=s(2975),M=s(89422),O=s(85910);function B({items:e}){let t=e.filter(e=>"synced"===e.status).length,s=e.filter(e=>"local-newer"===e.status).length,r=e.filter(e=>"server-newer"===e.status).length,i=e.filter(e=>"conflict"===e.status).length,n=e.filter(e=>"local-only"===e.status).length,l=e.filter(e=>"server-only"===e.status).length,o=[];return t>0&&o.push(`${t} synced`),s>0&&o.push(`${s} local newer`),r>0&&o.push(`${r} server newer`),i>0&&o.push(`${i} conflicts`),n>0&&o.push(`${n} local only`),l>0&&o.push(`${l} server only`),(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:o.join(", ")})}var U=s(80189),W=s(5336),_=s(62022),J=s(35071);let q={synced:{label:"Synced",description:"Local and server are in sync. No action needed.",icon:W.A,colorClass:"text-green-600 dark:text-green-400",bgClass:"bg-green-500/10"},"local-newer":{label:"Local newer",description:"You have local changes not yet on the server. Push to sync.",icon:z.A,colorClass:"text-blue-600 dark:text-blue-400",bgClass:"bg-blue-500/10"},"server-newer":{label:"Server newer",description:"Server has updates you don't have locally. Pull to get latest.",icon:M.A,colorClass:"text-orange-600 dark:text-orange-400",bgClass:"bg-orange-500/10"},conflict:{label:"Conflict",description:"Both local and server have changes. Push to overwrite server, or pull to discard local changes.",icon:$.A,colorClass:"text-red-600 dark:text-red-400",bgClass:"bg-red-500/10"},"local-only":{label:"Local only",description:"Only exists in your browser. Push to save to server.",icon:_.A,colorClass:"text-gray-600 dark:text-gray-400",bgClass:"bg-gray-500/10"},"server-only":{label:"Server only",description:"Only exists on server. Pull to download locally.",icon:v.A,colorClass:"text-purple-600 dark:text-purple-400",bgClass:"bg-purple-500/10"},syncing:{label:"Syncing...",description:"Currently syncing with server.",icon:D.A,colorClass:"text-blue-600 dark:text-blue-400",bgClass:"bg-blue-500/10"},error:{label:"Error",description:"Sync failed. Try again.",icon:J.A,colorClass:"text-red-600 dark:text-red-400",bgClass:"bg-red-500/10"}};function H({status:e,showLabel:t=!0,size:s="sm",className:r}){let i=q[e],n=i.icon,l=(0,a.jsxs)("span",{className:(0,S.cn)("inline-flex items-center gap-1 rounded-full font-medium cursor-help","sm"===s?"px-1.5 py-0.5":"px-2 py-1",i.bgClass,i.colorClass,"sm"===s?"text-xs":"text-sm",r),children:[(0,a.jsx)(n,{className:(0,S.cn)("sm"===s?"w-3.5 h-3.5":"w-4 h-4","syncing"===e&&"animate-spin")}),t&&(0,a.jsx)("span",{children:i.label})]});return(0,a.jsx)(U.Bc,{delayDuration:300,children:(0,a.jsxs)(U.m_,{children:[(0,a.jsx)(U.k$,{asChild:!0,children:l}),(0,a.jsx)(U.ZI,{side:"top",className:"max-w-xs",children:(0,a.jsx)("p",{className:"text-sm",children:i.description})})]})})}var V=s(93437);function G({item:e,selected:t,onSelectChange:s,onPush:r,onPull:i,onResolve:l,disabled:o=!1,syncing:c=!1}){let d=["local-newer","local-only","conflict"].includes(e.status),m=["server-newer","server-only","conflict"].includes(e.status),u="conflict"===e.status;return(0,a.jsxs)("div",{className:(0,S.cn)("flex items-center gap-3 p-2 rounded-md hover:bg-muted/50 transition-colors",t&&"bg-muted/30"),children:[(0,a.jsx)(V.S,{checked:t,onCheckedChange:e=>s(!0===e),disabled:o||c||"synced"===e.status||"server-only"===e.status,"aria-label":`Select ${e.name}`}),(0,a.jsx)("div",{className:"flex-1 min-w-0",children:(0,a.jsx)("span",{className:"text-sm font-medium truncate block",children:e.name})}),(0,a.jsx)(H,{status:c?"syncing":e.status,showLabel:!0,size:"sm"}),(0,a.jsx)("div",{className:"flex items-center gap-1",children:u&&l?(0,a.jsx)(n.$,{variant:"outline",size:"sm",onClick:l,disabled:o||c,className:"h-7 text-xs",children:"Resolve"}):(0,a.jsxs)(a.Fragment,{children:[d&&r&&(0,a.jsx)(n.$,{variant:"ghost",size:"icon",onClick:r,disabled:o||c,className:"h-7 w-7",title:"Push to server",children:c?(0,a.jsx)(D.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,a.jsx)(z.A,{className:"h-3.5 w-3.5"})}),m&&i&&(0,a.jsx)(n.$,{variant:"ghost",size:"icon",onClick:i,disabled:o||c,className:"h-7 w-7",title:"Pull from server",children:c?(0,a.jsx)(D.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,a.jsx)(M.A,{className:"h-3.5 w-3.5"})})]})})]})}var Y=s(45001),X=s(52581);function K({items:e,selectedIds:t,syncingIds:s,onSelectedIdsChange:n,onSyncingIdsChange:l,onRefresh:o,onSyncComplete:c,onRegisterPushSelected:d,onRegisterPullSelected:m}){let u=(0,Y.j)();(0,r.useRef)(t);let h=(0,r.useRef)(s);(0,r.useRef)(e);let p=(e,s)=>{let a=new Set(t);s?a.add(e):a.delete(e),n(a)},x=async e=>{l(new Set(h.current).add(e.id));try{let t=await i.vfs.getProject(e.id);if(!t)return void X.oR.error(`Project "${e.name}" not found`);let s=await i.vfs.listFiles(e.id),a=await u.pushSingleProject(e.id,t,s);if(a.success){if(a.project){let e=a.project.updatedAt?new Date(a.project.updatedAt):new Date;t.lastSyncedAt=new Date,t.serverUpdatedAt=e,await i.vfs.updateProject(t,{preserveUpdatedAt:!0})}X.oR.success(`Pushed "${e.name}" to server`),o(),c()}else X.oR.error(a.error||"Failed to push project")}catch(e){S.v.error("Push error:",e),X.oR.error("Failed to push project")}finally{let t=new Set(h.current);t.delete(e.id),l(t)}},g=async e=>{l(new Set(h.current).add(e.id));try{let t=await u.pullSingleProject(e.id);if(!t.success||!t.project)return void X.oR.error(t.error||"Failed to pull project");if(await i.vfs.getProject(e.id))for(let t of(await i.vfs.listFiles(e.id)))await i.vfs.deleteFile(e.id,t.path);else await i.vfs.createProject(t.project.name,t.project.description||"");for(let s of t.files||[])await i.vfs.createFile(e.id,s.path,s.content||"");let s=await i.vfs.getProject(e.id);if(s){let e=t.project.updatedAt?new Date(t.project.updatedAt):new Date;s.name=t.project.name,s.description=t.project.description,s.updatedAt=e,s.lastSyncedAt=new Date,s.serverUpdatedAt=e,await i.vfs.updateProject(s,{preserveUpdatedAt:!0})}X.oR.success(`Pulled "${e.name}" from server`),o(),c()}catch(e){S.v.error("Pull error:",e),X.oR.error("Failed to pull project")}finally{let t=new Set(h.current);t.delete(e.id),l(t)}};return 0===e.length?(0,a.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No projects to sync"}):(0,a.jsxs)("div",{children:[(0,a.jsx)(B,{items:e}),(0,a.jsx)("div",{className:"mt-3 border rounded-lg divide-y overflow-y-auto max-h-64",children:e.map(e=>(0,a.jsx)(G,{item:e,selected:t.has(e.id),onSelectChange:t=>p(e.id,t),onPush:()=>x(e),onPull:()=>g(e),syncing:s.has(e.id),disabled:s.size>0},e.id))})]})}var Z=s(38594);function Q({items:e,selectedIds:t,syncingIds:s,onSelectedIdsChange:i,onSyncingIdsChange:n,onRefresh:l,onSyncComplete:o,onRegisterPushSelected:c,onRegisterPullSelected:d}){let m=(0,Y.j)();(0,r.useRef)(t);let u=(0,r.useRef)(s);(0,r.useRef)(e);let h=(e,s)=>{let a=new Set(t);s?a.add(e):a.delete(e),i(a)},p=async e=>{n(new Set(u.current).add(e.id));try{let t=await Z._.getSkill(e.id);if(!t)return void X.oR.error(`Skill "${e.name}" not found`);let s=await m.pushSkill(t);s.success?(s.skill&&await Z._.updateSyncMetadata(e.id,new Date,new Date(s.skill.updatedAt)),X.oR.success(`Pushed "${e.name}" to server`),l(),o()):X.oR.error(s.error||"Failed to push skill")}catch(e){S.v.error("Push skill error:",e),X.oR.error("Failed to push skill")}finally{let t=new Set(u.current);t.delete(e.id),n(t)}},x=async e=>{n(new Set(u.current).add(e.id));try{let t=await m.pullSkill(e.id);if(!t.success||!t.skill)return void X.oR.error(t.error||"Failed to pull skill");await Z._.importFromServer(t.skill),X.oR.success(`Pulled "${e.name}" from server`),l(),o()}catch(e){S.v.error("Pull skill error:",e),X.oR.error("Failed to pull skill")}finally{let t=new Set(u.current);t.delete(e.id),n(t)}};return 0===e.length?(0,a.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No custom skills to sync"}):(0,a.jsxs)("div",{children:[(0,a.jsx)(B,{items:e}),(0,a.jsx)("div",{className:"mt-3 border rounded-lg divide-y overflow-y-auto max-h-64",children:e.map(e=>(0,a.jsx)(G,{item:e,selected:t.has(e.id),onSelectChange:t=>h(e.id,t),onPush:()=>p(e),onPull:()=>x(e),syncing:s.has(e.id),disabled:s.size>0},e.id))})]})}var ee=s(75589);function et({items:e,selectedIds:t,syncingIds:s,onSelectedIdsChange:i,onSyncingIdsChange:n,onRefresh:l,onSyncComplete:o,onRegisterPushSelected:c,onRegisterPullSelected:d}){let m=(0,Y.j)();(0,r.useRef)(t);let u=(0,r.useRef)(s);(0,r.useRef)(e);let h=(e,s)=>{let a=new Set(t);s?a.add(e):a.delete(e),i(a)},p=async e=>{n(new Set(u.current).add(e.id));try{let t=new ee.n;await t.init();let s=await t.getCustomTemplate(e.id);if(!s)return void X.oR.error(`Template "${e.name}" not found`);let a=await m.pushTemplate(s);a.success?(X.oR.success(`Pushed "${e.name}" to server`),l(),o()):X.oR.error(a.error||"Failed to push template")}catch(e){S.v.error("Push template error:",e),X.oR.error("Failed to push template")}finally{let t=new Set(u.current);t.delete(e.id),n(t)}},x=async e=>{n(new Set(u.current).add(e.id));try{let t=await m.pullTemplate(e.id);if(!t.success||!t.template)return void X.oR.error(t.error||"Failed to pull template");let s=new ee.n;await s.init();let a={...t.template,importedAt:new Date(t.template.importedAt),updatedAt:t.template.updatedAt?new Date(t.template.updatedAt):new Date};await s.saveCustomTemplate(a),X.oR.success(`Pulled "${e.name}" from server`),l(),o()}catch(e){S.v.error("Pull template error:",e),X.oR.error("Failed to pull template")}finally{let t=new Set(u.current);t.delete(e.id),n(t)}};return 0===e.length?(0,a.jsx)("div",{className:"text-center py-8 text-muted-foreground",children:"No custom templates to sync"}):(0,a.jsxs)("div",{children:[(0,a.jsx)(B,{items:e}),(0,a.jsx)("div",{className:"mt-3 border rounded-lg divide-y overflow-y-auto max-h-64",children:e.map(e=>(0,a.jsx)(G,{item:e,selected:t.has(e.id),onSelectChange:t=>h(e.id,t),onPush:()=>p(e),onPull:()=>x(e),syncing:s.has(e.id),disabled:s.size>0},e.id))})]})}var es=s(96060),ea=s(86757);function er({syncStatus:e,onRefresh:t,onSyncComplete:s,onBulkActionStateChange:i}){let[n,l]=(0,r.useState)("projects"),[o,c]=(0,r.useState)(new Set),[d,m]=(0,r.useState)(new Set),[u,p]=(0,r.useState)(new Set),[x,g]=(0,r.useState)(new Set),[f,v]=(0,r.useState)(new Set),[j,b]=(0,r.useState)(new Set),y=(0,r.useRef)(null),w=(0,r.useRef)(null),N=e.projects.items.length,k=e.skills.items.length,S=e.templates.items.length,C=(0,r.useCallback)(e=>e.filter(e=>"synced"!==e.status&&"server-only"!==e.status),[]);(0,r.useCallback)((e,t)=>e.filter(e=>t.has(e.id)&&["local-newer","local-only","conflict"].includes(e.status)),[]),(0,r.useCallback)((e,t)=>e.filter(e=>t.has(e.id)&&["server-newer","server-only","conflict"].includes(e.status)),[]);let A=(0,r.useCallback)(()=>{switch(n){case"projects":return{items:e.projects.items,selectedIds:o,setSelectedIds:c,syncingIds:x};case"skills":return{items:e.skills.items,selectedIds:d,setSelectedIds:m,syncingIds:f};case"templates":return{items:e.templates.items,selectedIds:u,setSelectedIds:p,syncingIds:j}}},[n,e,o,d,u,x,f,j]);(0,r.useCallback)(()=>{let{items:e,selectedIds:t,setSelectedIds:s}=A(),a=C(e);s(t.size===a.length&&a.length>0?new Set:new Set(a.map(e=>e.id)))},[A,C]),(0,r.useCallback)(async()=>{y.current&&await y.current()},[]),(0,r.useCallback)(async()=>{w.current&&await w.current()},[]);let T=(0,r.useCallback)(e=>{y.current=e},[]),E=(0,r.useCallback)(e=>{w.current=e},[]);return(0,a.jsxs)(O.tU,{value:n,onValueChange:e=>l(e),children:[(0,a.jsxs)(O.j7,{className:"grid w-full grid-cols-3",children:[(0,a.jsxs)(O.Xi,{value:"projects",className:"flex items-center gap-1.5",children:[(0,a.jsx)(es.A,{className:"h-3.5 w-3.5"}),(0,a.jsx)("span",{children:"Projects"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:["(",N,")"]})]}),(0,a.jsxs)(O.Xi,{value:"skills",className:"flex items-center gap-1.5",children:[(0,a.jsx)(h.A,{className:"h-3.5 w-3.5"}),(0,a.jsx)("span",{children:"Skills"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:["(",k,")"]})]}),(0,a.jsxs)(O.Xi,{value:"templates",className:"flex items-center gap-1.5",children:[(0,a.jsx)(ea.A,{className:"h-3.5 w-3.5"}),(0,a.jsx)("span",{children:"Templates"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:["(",S,")"]})]})]}),(0,a.jsx)(O.av,{value:"projects",className:"mt-4",children:(0,a.jsx)(K,{items:e.projects.items,selectedIds:o,syncingIds:x,onSelectedIdsChange:c,onSyncingIdsChange:g,onRefresh:t,onSyncComplete:s,onRegisterPushSelected:T,onRegisterPullSelected:E})}),(0,a.jsx)(O.av,{value:"skills",className:"mt-4",children:(0,a.jsx)(Q,{items:e.skills.items,selectedIds:d,syncingIds:f,onSelectedIdsChange:m,onSyncingIdsChange:v,onRefresh:t,onSyncComplete:s,onRegisterPushSelected:T,onRegisterPullSelected:E})}),(0,a.jsx)(O.av,{value:"templates",className:"mt-4",children:(0,a.jsx)(et,{items:e.templates.items,selectedIds:u,syncingIds:j,onSelectedIdsChange:p,onSyncingIdsChange:b,onRefresh:t,onSyncComplete:s,onRegisterPushSelected:T,onRegisterPullSelected:E})})]})}function ei(e){return{syncedCount:e.filter(e=>"synced"===e.status).length,localNewerCount:e.filter(e=>"local-newer"===e.status).length,serverNewerCount:e.filter(e=>"server-newer"===e.status).length,conflictCount:e.filter(e=>"conflict"===e.status).length,localOnlyCount:e.filter(e=>"local-only"===e.status).length,serverOnlyCount:e.filter(e=>"server-only"===e.status).length}}function en(e,t,s){if(!e)return t?"server-only":"synced";if(!t)return"local-only";if(!s)return e>t?"local-newer":t>e?"server-newer":"synced";let a=e>s,r=t>s;return a&&r?"conflict":a?"local-newer":r?"server-newer":"synced"}let el={items:[],syncedCount:0,localNewerCount:0,serverNewerCount:0,conflictCount:0,localOnlyCount:0,serverOnlyCount:0},eo={projects:el,skills:el,templates:el,loading:!0,error:null};function ec({open:e,onOpenChange:t,onSyncComplete:s}){let[l,o]=(0,r.useState)(!1),[c,d]=(0,r.useState)(!0),{status:m,refresh:u,loading:h,error:p}=function(){let[e,t]=(0,r.useState)(eo),s=(0,Y.j)(),a=(0,r.useCallback)(async()=>{t(e=>({...e,loading:!0,error:null}));try{let e=await s.getEnhancedSyncStatus();if(!e.success||!e.data)return void t(t=>({...t,loading:!1,error:e.error||"Failed to fetch server status"}));let a=e.data,r=new Map(a.projects.map(e=>[e.id,{name:e.name,updatedAt:new Date(e.updatedAt)}])),n=new Map(a.skills.map(e=>[e.id,{name:e.name,updatedAt:new Date(e.updatedAt)}])),l=new Map(a.templates.map(e=>[e.id,{name:e.name,updatedAt:new Date(e.updatedAt)}]));await i.vfs.init();let o=await i.vfs.listProjects(),c=await Z._.getCustomSkills(),d=new ee.n;await d.init();let m=await d.getAllCustomTemplates(),u=[],h=new Set;for(let e of o){h.add(e.id);let t=r.get(e.id),s=en(e.updatedAt,t?.updatedAt||null,e.lastSyncedAt||null);u.push({id:e.id,name:e.name,type:"project",localUpdatedAt:e.updatedAt,serverUpdatedAt:t?.updatedAt||null,lastSyncedAt:e.lastSyncedAt||null,status:s})}for(let[e,t]of r)h.has(e)||u.push({id:e,name:t.name,type:"project",localUpdatedAt:null,serverUpdatedAt:t.updatedAt,lastSyncedAt:null,status:"server-only"});let p=[],x=new Set;for(let e of c){x.add(e.id);let t=n.get(e.id),s=en(e.updatedAt,t?.updatedAt||null,e.lastSyncedAt||null);p.push({id:e.id,name:e.name,type:"skill",localUpdatedAt:e.updatedAt,serverUpdatedAt:t?.updatedAt||null,lastSyncedAt:e.lastSyncedAt||null,status:s})}for(let[e,t]of n)x.has(e)||p.push({id:e,name:t.name,type:"skill",localUpdatedAt:null,serverUpdatedAt:t.updatedAt,lastSyncedAt:null,status:"server-only"});let g=[],f=new Set;for(let e of m){f.add(e.id);let t=l.get(e.id),s=e.updatedAt||e.importedAt,a=en(s,t?.updatedAt||null,null);g.push({id:e.id,name:e.name,type:"template",localUpdatedAt:s,serverUpdatedAt:t?.updatedAt||null,lastSyncedAt:null,status:a})}for(let[e,t]of l)f.has(e)||g.push({id:e,name:t.name,type:"template",localUpdatedAt:null,serverUpdatedAt:t.updatedAt,lastSyncedAt:null,status:"server-only"});let v=ei(u),j=ei(p),b=ei(g);t({projects:{items:u,...v},skills:{items:p,...j},templates:{items:g,...b},loading:!1,error:null})}catch(e){S.v.error("[useSyncStatus] Error fetching sync status:",e),t(t=>({...t,loading:!1,error:e instanceof Error?e.message:"Failed to fetch sync status"}))}},[s]);return{status:e,refresh:a,loading:e.loading,error:e.error}}(),[x,g]=(0,r.useState)(null),f="sm:max-w-2xl";return c?(0,a.jsx)(F.lG,{open:e,onOpenChange:t,children:(0,a.jsx)(F.Cf,{className:f,children:(0,a.jsxs)(F.c7,{children:[(0,a.jsx)(F.L3,{children:"Server Sync"}),(0,a.jsx)(F.rr,{children:"Checking authentication status..."})]})})}):l?(0,a.jsx)(F.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(F.Cf,{className:f,children:[(0,a.jsxs)(F.c7,{children:[(0,a.jsxs)(F.L3,{className:"flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"w-5 h-5"}),"Server Sync"]}),(0,a.jsx)(F.rr,{children:"Synchronize projects, skills, and templates between your browser and the server."})]}),(0,a.jsxs)("div",{children:[p&&(0,a.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-red-500/10 border border-red-500/30 rounded-lg",children:[(0,a.jsx)($.A,{className:"w-5 h-5 text-red-500 flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("p",{className:"font-medium text-red-600 dark:text-red-400",children:"Error loading sync status"}),(0,a.jsx)("p",{className:"text-muted-foreground mt-1",children:p})]})]}),h&&(0,a.jsxs)("div",{className:"flex items-center justify-center py-8",children:[(0,a.jsx)(D.A,{className:"w-6 h-6 animate-spin text-muted-foreground"}),(0,a.jsx)("span",{className:"ml-2 text-muted-foreground",children:"Loading sync status..."})]}),!h&&!p&&(0,a.jsx)(er,{syncStatus:m,onRefresh:u,onSyncComplete:()=>{u(),s?.()},onBulkActionStateChange:g})]}),(0,a.jsxs)(F.Es,{className:"flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap flex-1",children:[x&&x.selectableCount>0&&(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:x.onSelectAll,disabled:x.isSyncing,children:[(0,a.jsx)(L.A,{className:"h-3.5 w-3.5 mr-1.5"}),x.selectedCount===x.selectableCount?"Deselect":"Select All"]}),x&&x.pushableCount>0&&(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:x.onPushSelected,disabled:x.isSyncing,children:[(0,a.jsx)(z.A,{className:"h-3.5 w-3.5 mr-1.5"}),"Push (",x.pushableCount,")"]}),x&&x.pullableCount>0&&(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:x.onPullSelected,disabled:x.isSyncing,children:[(0,a.jsx)(M.A,{className:"h-3.5 w-3.5 mr-1.5"}),"Pull (",x.pullableCount,")"]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:u,disabled:h,children:[(0,a.jsx)(D.A,{className:`w-4 h-4 mr-2 ${h?"animate-spin":""}`}),"Refresh"]}),(0,a.jsx)(n.$,{variant:"outline",onClick:()=>t(!1),children:"Close"})]})]})]})}):(0,a.jsx)(F.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(F.Cf,{className:f,children:[(0,a.jsxs)(F.c7,{children:[(0,a.jsxs)(F.L3,{className:"flex items-center gap-2",children:[(0,a.jsx)(R.A,{className:"w-5 h-5"}),"Not Authenticated"]}),(0,a.jsx)(F.rr,{children:"You need to login to sync projects, skills, and templates with the server."})]}),(0,a.jsxs)(F.Es,{children:[(0,a.jsx)(n.$,{variant:"outline",onClick:()=>t(!1),children:"Cancel"}),(0,a.jsx)(n.$,{onClick:()=>window.location.href="/admin/login",children:"Go to Login"})]})]})})}function ed({children:e,currentView:t,onNavigate:s,onProjectSelect:i,onStartTour:l,onOpenAbout:o,onOpenSettings:c,showSidebar:d=!0}){let m=(0,C.useRouter)(),[u,h]=(0,r.useState)(!0),[p,x]=(0,r.useState)(!1),[,g]=(0,r.useState)(!1),[f,j]=(0,r.useState)(!1),[b,y]=(0,r.useState)(!1),[w,N]=(0,r.useState)(!1),[k,A]=(0,r.useState)(0);return d?(0,a.jsxs)("div",{className:"relative flex h-screen overflow-hidden",children:[(0,a.jsx)(E,{currentView:t,onNavigate:s,onProjectSelect:i,onStartTour:l,onOpenAbout:o,onOpenSettings:c,onServerSync:()=>j(!0),onLogoClick:()=>m.push("/admin"),onPinnedChange:h,onHoverChange:x,onCollapsedChange:g,mobileOpen:b,onMobileOpenChange:y}),!u&&p&&(0,a.jsx)("div",{className:"absolute inset-0 bg-black/20 z-30"}),(0,a.jsxs)("div",{className:(0,S.cn)("flex-1 flex flex-col overflow-hidden transition-all duration-300",!u&&"md:ml-[56px]"),children:[(0,a.jsx)(P.j,{hideLogo:!0,showMobileMenu:!0,onMobileMenuClick:()=>y(!0),hideActionsOnMobile:!0,pageName:t.charAt(0).toUpperCase()+t.slice(1),className:"md:hidden"}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:e})]}),(0,a.jsx)(ec,{open:f,onOpenChange:j}),(0,a.jsx)(F.lG,{open:w,onOpenChange:N,children:(0,a.jsxs)(F.Cf,{className:"sm:max-w-md",children:[(0,a.jsxs)(F.c7,{children:[(0,a.jsxs)(F.L3,{className:"flex items-center gap-2",children:[(0,a.jsx)($.A,{className:"w-5 h-5 text-orange-500"}),"Server Database Not Initialized"]}),(0,a.jsxs)(F.rr,{children:["Your server database is empty, but you have ",k," project",1!==k?"s":""," stored locally."]})]}),(0,a.jsxs)("div",{className:"space-y-4 py-4",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-muted rounded-lg",children:[(0,a.jsx)(I.A,{className:"w-5 h-5 text-muted-foreground flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"text-sm",children:[(0,a.jsx)("p",{className:"font-medium",children:"Why does this matter?"}),(0,a.jsxs)("p",{className:"text-muted-foreground mt-1",children:["The ",(0,a.jsx)("strong",{children:"Sites"})," feature requires projects to be synced to the server database. Until you push your local projects, the Sites view won't show any projects to publish."]})]})]}),(0,a.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Click ",(0,a.jsx)("strong",{children:"Open Sync"})," to push your local projects to the server, or dismiss this message to configure it later."]})]}),(0,a.jsxs)(F.Es,{className:"flex-col sm:flex-row gap-2",children:[(0,a.jsx)(n.$,{variant:"outline",onClick:()=>{localStorage.setItem("osw-server-init-dismissed","true"),N(!1)},children:"Dismiss"}),(0,a.jsxs)(n.$,{onClick:()=>{N(!1),j(!0)},children:[(0,a.jsx)(v.A,{className:"w-4 h-4 mr-2"}),"Open Sync"]})]})]})})]}):(0,a.jsx)(a.Fragment,{children:e})}},13265:(e,t,s)=>{s.d(t,{V:()=>c});var a=s(60687),r=s(43210),i=s(2565),n=s(24934),l=s(41862),o=s(88712);function c({location:e}){let{state:t,next:s,previous:c,skip:d}=(0,i.C)(),{status:m,currentStep:u,stepKey:h,isBusy:p,stepIndex:x}=t,[g,f]=(0,r.useState)(null),v=o.A.length,j=(0,r.useMemo)(()=>!!u&&!!p&&("workspace-edit"===u.id||"workspace-focus"===u.id||"workspace-checkpoint"===u.id),[u,p]);if("running"!==m||!u||u.location!==e)return null;let b=u.primaryLabel??"Next",y=u.secondaryLabel??"Skip";return(0,a.jsxs)("div",{className:"fixed inset-0 z-[2000] pointer-events-auto",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-background/30"}),g&&(0,a.jsx)("div",{className:"pointer-events-none fixed rounded-xl border-2 border-primary ring-4 ring-primary/30 transition-all animate-ring-opacity",style:{top:g.top,left:g.left,width:g.width,height:g.height}}),(0,a.jsx)("div",{className:"absolute bottom-10 left-1/2 flex w-full max-w-xl -translate-x-1/2 flex-col gap-4 px-4",children:(0,a.jsxs)("div",{className:"pointer-events-auto rounded-2xl border bg-background/95 p-6 shadow-2xl",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-foreground",children:u.title}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground font-medium",children:[x+1,"/",v]})]}),(0,a.jsx)("div",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:u.body})]}),p&&(0,a.jsx)(l.A,{className:"h-5 w-5 animate-spin text-primary"})]}),(0,a.jsxs)("div",{className:"mt-6 flex items-center justify-between",children:[u.showBack?(0,a.jsx)(n.$,{variant:"ghost",onClick:c,disabled:p,children:"Back"}):(0,a.jsx)("div",{}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(n.$,{variant:"ghost",onClick:d,children:y}),(0,a.jsx)(n.$,{onClick:s,disabled:j,children:b})]})]})]})})]})}},15616:(e,t,s)=>{s.d(t,{T:()=>n});var a=s(60687),r=s(43210),i=s(96241);let n=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)("textarea",{className:(0,i.cn)("flex min-h-[84px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...t}));n.displayName="Textarea"},22926:(e,t,s)=>{s.d(t,{O:()=>T});var a=s(60687),r=s(43210),i=s(4950),n=s(24934),l=s(68988),o=s(39390),c=s(63974),d=s(42902),m=s(52581),u=s(10218),h=s(98971),p=s(78272),x=s(23928),g=s(43649),f=s(61611),v=s(31158),j=s(16023),b=s(96882),y=s(86884),w=s(96597),N=s(94084),k=s.n(N),S=s(96241);class C{static{this.BACKUP_VERSION="1.9.0"}static{this.FILE_EXTENSION=".osws"}static{this.MAX_IMPORT_SIZE=0x6400000}static async exportAllData(){try{S.v.info("Starting data export...");let e={version:this.BACKUP_VERSION,exportDate:new Date().toISOString(),databases:{vfs:await this.exportUnifiedData(),conversations:[],checkpoints:[]},metadata:{projectCount:0,totalSize:0,exportedFrom:"oswstudio"}};e.metadata.projectCount=e.databases.vfs.projects.length,e.metadata.totalSize=this.calculateDataSize(e);let t=new(k());t.file("backup.json",JSON.stringify(e,null,2));let s=await t.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}}),a=`oswstudio-backup-${new Date().toISOString().split("T")[0]}${this.FILE_EXTENSION}`;this.downloadBlob(s,a),S.v.info(`Export completed: ${e.metadata.projectCount} projects, ${this.formatBytes(e.metadata.totalSize)}`)}catch(e){throw S.v.error("Export failed:",e),Error(`Export failed: ${e instanceof Error?e.message:"Unknown error"}`)}}static async importAllData(e,t={mode:"merge"}){try{if(!e.name.endsWith(this.FILE_EXTENSION))throw Error(`Invalid file type. Expected ${this.FILE_EXTENSION} file.`);if(e.size>this.MAX_IMPORT_SIZE)throw Error(`File too large. Maximum size is ${this.formatBytes(this.MAX_IMPORT_SIZE)}.`);t.onProgress?.(10,"Reading backup file...");let a=new(k()),r=(await a.loadAsync(e)).file("backup.json");if(!r)throw Error("Invalid backup file format.");let i=await r.async("string"),n=JSON.parse(i);if(this.validateBackupData(n),t.onProgress?.(30,"Validating backup data..."),"replace"===t.mode){t.onProgress?.(40,"Clearing existing data...");try{let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));e.db?.db&&(S.v.info("[Backup] Closing VFS database before deletion"),e.db.db.close())}catch(e){S.v.warn("[Backup] Could not close VFS database",e)}await this.clearAllData(),await new Promise(e=>setTimeout(e,500))}t.onProgress?.(50,"Importing all data...");let l={...n.databases.vfs,conversations:n.databases.vfs.conversations||n.databases.conversations||[],checkpoints:n.databases.vfs.checkpoints||n.databases.checkpoints||[]};await this.importUnifiedData(l),t.onProgress?.(100,"Import completed successfully!"),S.v.info(`Import completed: ${n.metadata.projectCount} projects restored`)}catch(e){throw S.v.error("Import failed:",e),Error(`Import failed: ${e instanceof Error?e.message:"Unknown error"}`)}}static async validateBackupFile(e){try{if(!e.name.endsWith(this.FILE_EXTENSION))return{valid:!1,reason:"Invalid file extension"};if(e.size>this.MAX_IMPORT_SIZE)return{valid:!1,reason:"File too large"};let t=new(k()),s=(await t.loadAsync(e)).file("backup.json");if(!s)return{valid:!1,reason:"Invalid backup file format"};let a=await s.async("string"),r=JSON.parse(a);return this.validateBackupData(r),{valid:!0,metadata:r.metadata}}catch(e){return{valid:!1,reason:e instanceof Error?e.message:"Unknown error"}}}static async exportUnifiedData(){let e={projects:[],files:[],fileTree:[],conversations:[],checkpoints:[]};return new Promise((t,s)=>{let a=indexedDB.open("osw-studio-db",1);a.onsuccess=async()=>{try{let s=a.result,r=s.transaction(["projects"],"readonly"),i=r.objectStore("projects").getAll();i.onsuccess=()=>{e.projects=i.result||[]};let n=s.transaction(["files"],"readonly"),l=n.objectStore("files").getAll();l.onsuccess=()=>{e.files=l.result||[]};let o=s.transaction(["fileTree"],"readonly"),c=o.objectStore("fileTree").getAll();c.onsuccess=()=>{e.fileTree=c.result||[]};let d=s.transaction(["conversations"],"readonly"),m=d.objectStore("conversations").getAll();m.onsuccess=()=>{e.conversations=m.result||[]};let u=s.transaction(["checkpoints"],"readonly"),h=u.objectStore("checkpoints").getAll();h.onsuccess=()=>{e.checkpoints=h.result||[]},await Promise.all([new Promise(e=>r.oncomplete=()=>e(void 0)),new Promise(e=>n.oncomplete=()=>e(void 0)),new Promise(e=>o.oncomplete=()=>e(void 0)),new Promise(e=>d.oncomplete=()=>e(void 0)),new Promise(e=>u.oncomplete=()=>e(void 0))]),t(e)}catch(e){s(e)}},a.onerror=()=>s(a.error)})}static async importLegacyConversations(){return new Promise(e=>{let t=indexedDB.open("DeepStudioConversations",1);t.onsuccess=()=>{let s=t.result.transaction(["conversations"],"readonly").objectStore("conversations").getAll();s.onsuccess=()=>{e(s.result||[])},s.onerror=()=>e([])},t.onerror=()=>e([])})}static async importLegacyCheckpoints(){return new Promise(e=>{let t=indexedDB.open("DeepStudioCheckpoints",1);t.onsuccess=()=>{let s=t.result.transaction(["checkpoints"],"readonly").objectStore("checkpoints").getAll();s.onsuccess=()=>{e(s.result||[])},s.onerror=()=>e([])},t.onerror=()=>e([])})}static async importUnifiedData(e){return new Promise((t,s)=>{S.v.info("[Import] Opening database for import...");let a=setTimeout(()=>{S.v.error("[Import] Database open timeout after 10s"),s(Error("Database open timeout"))},1e4),r=indexedDB.open("osw-studio-db",1);r.onerror=()=>{clearTimeout(a),S.v.error("[Import] Failed to open database for import",r.error),s(r.error)},r.onblocked=()=>{S.v.warn("[Import] Database open is blocked - waiting for connections to close")},r.onupgradeneeded=e=>{S.v.info("[Import] Creating database schema...");let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}},r.onsuccess=async()=>{try{clearTimeout(a);let s=r.result;S.v.info("[Import] Database opened successfully"),S.v.info("[Import] Starting data import...",{projects:e.projects?.length||0,files:e.files?.length||0,fileTree:e.fileTree?.length||0,conversations:e.conversations?.length||0,checkpoints:e.checkpoints?.length||0});let i=s.transaction(["projects"],"readwrite").objectStore("projects");for(let t of e.projects||[])await new Promise((e,s)=>{let a=i.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import project:",t.id,a.error),s(a.error)}});S.v.info("[Import] Projects imported");let n=s.transaction(["files"],"readwrite").objectStore("files");for(let t of e.files||[])await new Promise((e,s)=>{let a=n.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import file:",t.path,a.error),s(a.error)}});S.v.info("[Import] Files imported");let l=s.transaction(["fileTree"],"readwrite").objectStore("fileTree");for(let t of e.fileTree||[])await new Promise((e,s)=>{let a=l.put(t);a.onsuccess=()=>e(),a.onerror=()=>{S.v.error("[Import] Failed to import tree node:",t.path,a.error),s(a.error)}});S.v.info("[Import] File tree imported");let o=e.conversations||[];if(o.length>0){S.v.info("[Import] Importing conversations:",o.length);let e=s.transaction(["conversations"],"readwrite").objectStore("conversations");for(let t of o)await new Promise((s,a)=>{let r=e.put(t);r.onsuccess=()=>s(),r.onerror=()=>{S.v.error("[Import] Failed to import conversation:",t.id,r.error),a(r.error)}});S.v.info("[Import] Conversations imported")}let c=e.checkpoints||[];if(c.length>0){S.v.info("[Import] Importing checkpoints:",c.length);let e=s.transaction(["checkpoints"],"readwrite").objectStore("checkpoints");for(let t of c)await new Promise((s,a)=>{let r=e.put(t);r.onsuccess=()=>s(),r.onerror=()=>{S.v.error("[Import] Failed to import checkpoint:",t.id,r.error),a(r.error)}});S.v.info("[Import] Checkpoints imported")}S.v.info("[Import] All data imported successfully"),t()}catch(e){s(e)}},r.onerror=()=>s(r.error)})}static async clearAllData(){for(let e of["osw-studio-db","osw-studio-vfs","OSWStudioConversations","OSWStudioCheckpoints","deepstudio-vfs","DeepStudioConversations","DeepStudioCheckpoints"])await new Promise(t=>{let s=setTimeout(()=>{S.v.warn(`[Backup] Database deletion timeout for: ${e}`),t()},2e3),a=indexedDB.deleteDatabase(e);a.onsuccess=()=>{clearTimeout(s),S.v.info(`[Backup] Deleted database: ${e}`),t()},a.onerror=()=>{clearTimeout(s),S.v.warn(`[Backup] Error deleting database: ${e}`,a.error),t()},a.onblocked=()=>{S.v.warn(`[Backup] Database deletion blocked: ${e}`)}});S.v.info("[Backup] All databases cleared")}static validateBackupData(e){if(!e.version||!e.exportDate||!e.databases||!e.metadata)throw Error("Invalid backup file structure");if(!e.databases.vfs||!e.databases.conversations||!e.databases.checkpoints)throw Error("Incomplete backup data");let t=e.version.split(".").map(Number),s=this.BACKUP_VERSION.split(".").map(Number);if(t[0]>s[0])throw Error(`Backup version ${e.version} is not compatible with current version ${this.BACKUP_VERSION}`)}static calculateDataSize(e){return JSON.stringify(e).length}static formatBytes(e){if(0===e)return"0 Bytes";let t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["Bytes","KB","MB","GB"][t]}static downloadBlob(e,t){let s=URL.createObjectURL(e),a=document.createElement("a");a.href=s,a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s)}}var A=s(47696);function T({onClose:e}){let[t,s]=(0,r.useState)({}),[N,k]=(0,r.useState)({}),{theme:S,setTheme:T}=(0,u.D)(),[E,P]=(0,r.useState)(!1),[$,I]=(0,r.useState)(!1),[F,R]=(0,r.useState)(!1),[D,L]=(0,r.useState)(!1),[z,M]=(0,r.useState)(0),[O,B]=(0,r.useState)(""),[U,W]=(0,r.useState)({application:!0,costTracking:!0,dataManagement:!0}),_=(e,t)=>{i.s.setSetting(e,t),s(s=>({...s,[e]:t}))},J=async()=>{try{R(!0),await C.exportAllData(),m.oR.success("Data exported successfully!")}catch(e){m.oR.error(e instanceof Error?e.message:"Export failed")}finally{R(!1)}},q=e=>{W(t=>({...t,[e]:!t[e]}))};return(0,a.jsxs)("div",{className:"max-h-[calc(100vh-4rem)] overflow-y-auto",children:[(0,a.jsxs)("div",{className:"space-y-3 pb-4",children:[(0,a.jsxs)(A.Nt,{open:U.application,onOpenChange:()=>q("application"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(h.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Application Settings"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.application?"rotate-180":""}`})]}),(0,a.jsxs)(A.Ke,{className:"px-3 pt-2 pb-3",children:[(0,a.jsx)("p",{className:"text-muted-foreground text-xs mb-4",children:"Configure your preferences and display options"}),(0,a.jsx)("div",{className:"space-y-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"theme",children:"Theme"}),(0,a.jsxs)(c.l6,{value:E?S:"dark",onValueChange:e=>{T(e),_("theme",e)},children:[(0,a.jsx)(c.bq,{id:"theme",className:"mt-2",children:(0,a.jsx)(c.yv,{})}),(0,a.jsxs)(c.gC,{children:[(0,a.jsx)(c.eb,{value:"light",children:"Light"}),(0,a.jsx)(c.eb,{value:"dark",children:"Dark"}),(0,a.jsx)(c.eb,{value:"system",children:"System"})]})]})]})})]})]}),(0,a.jsxs)(A.Nt,{open:U.costTracking,onOpenChange:()=>q("costTracking"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Cost Tracking"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.costTracking?"rotate-180":""}`})]}),(0,a.jsx)(A.Ke,{className:"px-3 pt-2 pb-3",children:(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"show-costs",children:"Display Costs"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show cost information in messages"})]}),(0,a.jsx)(d.d,{id:"show-costs",checked:!1!==N.showCosts,onCheckedChange:e=>{let t={...N,showCosts:e};i.s.setCostSettings(t),k(t)}})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"daily-limit",children:"Daily Cost Limit (USD)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"daily-limit",type:"number",min:"0",step:"0.01",placeholder:"No limit",value:N.dailyLimit||"",onChange:e=>{let t=e.target.value?parseFloat(e.target.value):void 0,s={...N,dailyLimit:t};i.s.setCostSettings(s),k(s)}}),N.dailyLimit&&(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:["$",N.dailyLimit.toFixed(2),"/day"]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"project-limit",children:"Project Cost Limit (USD)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"project-limit",type:"number",min:"0",step:"0.01",placeholder:"No limit",value:N.projectLimit||"",onChange:e=>{let t=e.target.value?parseFloat(e.target.value):void 0,s={...N,projectLimit:t};i.s.setCostSettings(s),k(s)}}),N.projectLimit&&(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:["$",N.projectLimit.toFixed(2),"/project"]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(o.J,{htmlFor:"warning-threshold",children:"Warning Threshold (%)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(l.p,{id:"warning-threshold",type:"number",min:"50",max:"100",step:"5",value:N.warningThreshold||80,onChange:e=>{let t=parseInt(e.target.value),s={...N,warningThreshold:t};i.s.setCostSettings(s),k(s)}}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground flex items-center gap-1",children:[(0,a.jsx)(g.A,{className:"h-3 w-3"}),"Warn at ",N.warningThreshold||80,"%"]})]})]}),(0,a.jsx)("div",{className:"border-t pt-3 mt-3",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Lifetime Total"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:y.U.formatCost(i.s.getLifetimeCosts().total)})]}),(0,a.jsx)(n.$,{variant:"outline",size:"sm",onClick:()=>{confirm("Reset lifetime cost tracking? This cannot be undone.")&&(i.s.resetLifetimeCosts(),m.oR.success("Lifetime costs reset"))},children:"Reset Stats"})]})})]})})]}),(0,a.jsxs)(A.Nt,{open:U.dataManagement,onOpenChange:()=>q("dataManagement"),children:[(0,a.jsxs)(A.R6,{className:"flex items-center justify-between w-full p-3 rounded-lg hover:bg-muted/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(f.A,{className:"h-4 w-4"}),(0,a.jsx)("h4",{className:"font-medium text-sm",children:"Data Management"})]}),(0,a.jsx)(p.A,{className:`h-4 w-4 transition-transform duration-200 ${U.dataManagement?"rotate-180":""}`})]}),(0,a.jsxs)(A.Ke,{className:"px-3 pt-2 pb-3",children:[(0,a.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:"Backup and restore your projects, conversations, and settings. Use this to migrate your data to OSWStudio or create backups."}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Export All Data"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"Download a backup file containing all your projects and data"})]}),(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:J,disabled:F,className:"flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"h-4 w-4"}),F?"Exporting...":"Export"]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Import Data"}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"Restore from a .osws backup file"})]}),(0,a.jsxs)(n.$,{variant:"outline",size:"sm",onClick:()=>{let e=document.createElement("input");e.type="file",e.accept=".osws",e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{L(!0),M(0),B("Validating file...");let e=await C.validateBackupFile(t);if(!e.valid)return void m.oR.error(`Invalid backup file: ${e.reason}`);let s=confirm(`Import ${e.metadata?.projectCount||0} projects? - -Choose OK to REPLACE all current data, or Cancel to MERGE with existing data.`);await C.importAllData(t,{mode:s?"replace":"merge",onProgress:(e,t)=>{M(e),B(t)}}),m.oR.success("Data imported successfully!"),setTimeout(()=>window.location.reload(),1e3)}catch(e){m.oR.error(e instanceof Error?e.message:"Import failed")}finally{L(!1),M(0),B("")}},e.click()},disabled:D,className:"flex items-center gap-2",children:[(0,a.jsx)(j.A,{className:"h-4 w-4"}),D?"Importing...":"Import"]})]}),D&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between text-xs",children:[(0,a.jsx)("span",{children:O}),(0,a.jsxs)("span",{children:[z,"%"]})]}),(0,a.jsx)("div",{className:"w-full bg-muted rounded-full h-2",children:(0,a.jsx)("div",{className:"bg-primary h-2 rounded-full transition-all duration-300",style:{width:`${z}%`}})})]})]})]})]})]}),(0,a.jsxs)("div",{className:"flex justify-between pt-4 px-3 border-t mt-4",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(n.$,{variant:"destructive",onClick:()=>{confirm("Are you sure you want to clear all settings?")&&(i.s.clearSettings(),s({}),m.oR.success("Settings cleared"))},children:"Clear All Settings"}),(0,a.jsxs)(n.$,{variant:"outline",onClick:()=>I(!0),children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"About OSW Studio"]})]}),e&&(0,a.jsx)(n.$,{onClick:e,children:"Close"})]}),(0,a.jsx)(w.V,{open:$,onOpenChange:I})]})}},30758:e=>{e.exports={rE:"1.23.0"}},35157:(e,t,s)=>{s.d(t,{a:()=>eG});var a=s(60687),r=s(43210),i=s.n(r),n=s(68269),l=s(96241),o=s(24923),c=s(24413),d=s(82080),m=s(18179),u=s(82570),h=s(78272),p=s(14952),x=s(9005),g=s(2943),f=s(78464),v=s(16023),j=s(13861),b=s(33427),y=s(11860),w=s(12597),N=s(24934),k=s(65915),S=s(13964),C=s(65822);let A=k.bL,T=k.l9;k.YJ,k.ZL,k.Pb,k.z6,r.forwardRef(({className:e,inset:t,children:s,...r},i)=>(0,a.jsxs)(k.ZP,{ref:i,className:(0,l.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...r,children:[s,(0,a.jsx)(p.A,{className:"ml-auto h-4 w-4"})]})).displayName=k.ZP.displayName,r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.G5,{ref:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})).displayName=k.G5.displayName;let E=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.ZL,{children:(0,a.jsx)(k.UC,{ref:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));E.displayName=k.UC.displayName;let P=r.forwardRef(({className:e,inset:t,...s},r)=>(0,a.jsx)(k.q7,{ref:r,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...s}));P.displayName=k.q7.displayName,r.forwardRef(({className:e,children:t,checked:s,...r},i)=>(0,a.jsxs)(k.H_,{ref:i,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:s,...r,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(k.VF,{children:(0,a.jsx)(S.A,{className:"h-4 w-4"})})}),t]})).displayName=k.H_.displayName,r.forwardRef(({className:e,children:t,...s},r)=>(0,a.jsxs)(k.hN,{ref:r,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...s,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(k.VF,{children:(0,a.jsx)(C.A,{className:"h-2 w-2 fill-current"})})}),t]})).displayName=k.hN.displayName,r.forwardRef(({className:e,inset:t,...s},r)=>(0,a.jsx)(k.JU,{ref:r,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...s})).displayName=k.JU.displayName,r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(k.wv,{ref:s,className:(0,l.cn)("-mx-1 my-1 h-px bg-border",e),...t})).displayName=k.wv.displayName;var $=s(68988),I=s(52581);function F({projectId:e,onFileSelect:t,selectedPath:i,onClose:k}){let[S,C]=(0,r.useState)([]),[F,R]=(0,r.useState)([]),[D,L]=(0,r.useState)(new Set(["/"])),[z,M]=(0,r.useState)(null),[O,B]=(0,r.useState)(""),[U,W]=(0,r.useState)(!1),[_,J]=(0,r.useState)(null),[q,H]=(0,r.useState)(null),[V,G]=(0,r.useState)(!1),Y=(0,r.useRef)(null),X=e=>e.startsWith("/.skills/")||e.startsWith("/.server/")||"/.skills"===e||"/.server"===e,K=e=>e.startsWith("/.server/")||"/.server"===e,Z=e=>e.startsWith("/.skills/")||"/.skills"===e,Q=(0,r.useCallback)(async()=>{try{await n.vfs.init();let t=await n.vfs.getAllFilesAndDirectories(e);if(V){let a=(await n.vfs.listDirectory(e,"/",{includeTransient:!0})).filter(e=>e.path.startsWith("/.")),{skillsService:r}=await Promise.resolve().then(s.bind(s,85945)),i=await r.getEnabledSkills(),l=new Set(i.map(e=>`/.skills/${e.id}.md`)),o=a.filter(e=>!e.path.startsWith("/.skills/")||l.has(e.path));t.push(...o)}let a=t.filter(e=>"directory"!==e.type);C(a),R(ee(t,V))}catch(e){l.v.error("Failed to load files:",e)}},[e,V]),ee=(e,t)=>{let s=t?e:e.filter(e=>!e.path.startsWith("/.")),a=[],r=new Map;s.forEach(e=>{if("directory"===e.type){let t=e.path.split("/").filter(Boolean),s={path:e.path,name:e.name||t[t.length-1]||"unnamed",type:"directory",children:[]};r.set(e.path,s)}}),s.forEach(e=>{if("directory"!==e.type){let t=e.path.split("/").filter(Boolean),s="";for(let e=0;e{let s=t.split("/").filter(Boolean);if(1===s.length)a.push(e);else{let t="/"+s.slice(0,-1).join("/"),a=r.get(t);a&&a.children&&a.children.push(e)}}),e.forEach(e=>{if("directory"!==e.type){let t=e.path.split("/").filter(Boolean),s={path:e.path,name:e.name,type:"file"};if(1===t.length)a.push(s);else{let e="/"+t.slice(0,-1).join("/"),a=r.get(e);a&&a.children?.push(s)}}});let i=e=>{e.sort((e,t)=>e.type===t.type?e.name.localeCompare(t.name):"directory"===e.type?-1:1),e.forEach(e=>{e.children&&i(e.children)})};return i(a),a},et=e=>{L(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},es=async e=>{if("directory"===e.type)et(e.path);else{let s=S.find(t=>t.path===e.path);s&&t&&t(s)}},ea=async(t="/")=>{let s=prompt("Enter file name:");if(!s)return;let a="/"===t?`/${s}`:`${t}/${s}`;try{await n.vfs.createFile(e,a,""),await Q()}catch(e){l.v.error("Failed to create file:",e)}},er=async(t="/")=>{let s=prompt("Enter directory name:");if(!s)return;let a="/"===t?`/${s}`:`${t}/${s}`;try{await n.vfs.createDirectory(e,a),await Q()}catch(e){l.v.error("Failed to create directory:",e)}},ei=async(t,s)=>{if(confirm(`Delete ${s} "${t}"?`))try{"file"===s?await n.vfs.deleteFile(e,t):await n.vfs.deleteDirectory(e,t),await Q()}catch(e){l.v.error(`Failed to delete ${s}:`,e)}},en=async(t,s)=>{if(!O)return;let a=t.split("/");a[a.length-1]=O;let r=a.join("/");try{"directory"===s?await n.vfs.renameDirectory(e,t,r):await n.vfs.renameFile(e,t,r),await Q(),M(null),B("")}catch(e){l.v.error(`Failed to rename ${s}:`,e)}},el=async e=>{for(let t of(e.preventDefault(),e.stopPropagation(),W(!1),Array.from(e.dataTransfer.items)))if("file"===t.kind){let e=t.getAsFile();e&&await eo(e,"/")}},eo=async(t,s)=>{if(!(0,o.fu)(t.name))return void I.oR.error(`File type not supported: ${t.name}`);let a=(0,o.Gr)(t.name),r=o.Q6[a];if(t.size>r)return void I.oR.error(`File too large: ${t.name}. Maximum size is ${Math.round(r/1024/1024)}MB`);let i="/"===s?`/${t.name}`:`${s}/${t.name}`;try{let s;s="image"===a||"video"===a||"binary"===a?await t.arrayBuffer():await t.text(),await n.vfs.createFile(e,i,s),await Q(),I.oR.success(`Uploaded ${t.name}`)}catch(a){if(a.message?.includes("already exists")){if(confirm(`File "${t.name}" already exists. Overwrite?`))try{await n.vfs.deleteFile(e,i),await eo(t,s)}catch(e){l.v.error("Failed to overwrite file:",e),I.oR.error("Failed to overwrite file")}}else l.v.error("Failed to upload file:",a),I.oR.error(`Failed to upload ${t.name}: ${a.message}`)}},ec=(e,t)=>{e.stopPropagation(),J(t),e.dataTransfer.effectAllowed="move"},ed=()=>{J(null),H(null)},em=(e,t)=>{e.preventDefault(),e.stopPropagation(),_&&t!==_.path&&(e.dataTransfer.dropEffect="move",H(t))},eu=async(t,s)=>{if(t.preventDefault(),t.stopPropagation(),!_||s&&_.path===s.path)return void H(null);let a=s&&"directory"===s.type?s.path:"/";if("directory"===_.type){let e=_.path.endsWith("/")?_.path:_.path+"/";if((a.endsWith("/")?a:a+"/").startsWith(e)){I.oR.error("Cannot move a folder into itself"),H(null);return}}let r=_.name,i="/"===a?`/${r}`:`${a}/${r}`;try{"directory"===_.type?await n.vfs.moveDirectory(e,_.path,i):await n.vfs.moveFile(e,_.path,i),await Q(),I.oR.success(`Moved ${_.name} to ${"/"===a?"root":a}`)}catch(e){l.v.error("Failed to move item:",e),I.oR.error(`Failed to move: ${e.message}`)}H(null)},eh=(e,t=0)=>{let s=D.has(e.path),r=i===e.path,n=z===e.path,b=q===e.path,y=X(e.path),w=K(e.path),N=Z(e.path);return(0,a.jsxs)("div",{draggable:!n&&!y,onDragStart:t=>!y&&ec(t,e),onDragEnd:ed,onDragOver:t=>"directory"===e.type&&!y&&em(t,e.path),onDrop:t=>"directory"===e.type&&!y&&eu(t,e),children:[(0,a.jsxs)(A,{children:[(0,a.jsx)(T,{children:(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 px-2 py-1.5 hover:bg-accent hover:text-accent-foreground cursor-pointer rounded-md transition-colors",r&&"bg-accent text-accent-foreground",b&&"directory"===e.type&&"bg-blue-500/20 border border-blue-500",_?.path===e.path&&"opacity-50",y&&"opacity-75","group"),style:{paddingLeft:`${16*t+8}px`},onClick:()=>es(e),children:["directory"===e.type?(0,a.jsxs)(a.Fragment,{children:[s?(0,a.jsx)(h.A,{className:"w-4 h-4 text-muted-foreground"}):(0,a.jsx)(p.A,{className:"w-4 h-4 text-muted-foreground"}),w?(0,a.jsx)(c.A,{className:"w-4 h-4 text-orange-500"}):N?(0,a.jsx)(d.A,{className:"w-4 h-4 text-purple-500"}):s?(0,a.jsx)(m.A,{className:"w-4 h-4 text-blue-500"}):(0,a.jsx)(u.A,{className:"w-4 h-4 text-blue-500"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"w-4"}),(()=>{let t=(0,o.Gr)(e.path);return"image"===t?(0,a.jsx)(x.A,{className:"w-4 h-4 text-green-500"}):"video"===t?(0,a.jsx)(g.A,{className:"w-4 h-4 text-purple-500"}):(0,a.jsx)(f.A,{className:"w-4 h-4 text-muted-foreground"})})()]}),n?(0,a.jsx)($.p,{value:O,onChange:e=>B(e.target.value),onBlur:()=>en(e.path,e.type),onKeyDown:t=>{"Enter"===t.key?en(e.path,e.type):"Escape"===t.key&&(M(null),B(""))},className:"h-5 text-sm",autoFocus:!0,onClick:e=>e.stopPropagation()}):(0,a.jsxs)("span",{className:(0,l.cn)("text-sm flex-1",y&&"italic"),children:[e.name,y&&(0,a.jsx)("span",{className:"text-xs text-muted-foreground ml-1",children:"(read-only)"})]})]})}),(0,a.jsxs)(E,{children:[!y&&(0,a.jsxs)(a.Fragment,{children:["directory"===e.type&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(P,{onClick:()=>ea(e.path),children:[(0,a.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"New File"]}),(0,a.jsxs)(P,{onClick:()=>er(e.path),children:[(0,a.jsx)(u.A,{className:"mr-2 h-4 w-4"}),"New Folder"]}),(0,a.jsxs)(P,{onClick:()=>Y.current?.click(),children:[(0,a.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Upload Files"]})]}),(0,a.jsx)(P,{onClick:()=>{M(e.path),B(e.name)},children:"Rename"}),(0,a.jsx)(P,{onClick:()=>ei(e.path,e.type),className:"text-destructive",children:"Delete"})]}),y&&(0,a.jsxs)(P,{disabled:!0,children:[(0,a.jsx)(j.A,{className:"mr-2 h-4 w-4"}),"Read-only ",w?"server context":"skill"]})]})]}),"directory"===e.type&&s&&e.children&&(0,a.jsx)("div",{children:e.children.map(e=>eh(e,t+1))})]},e.path)};return(0,a.jsxs)("div",{className:"h-full flex flex-col",onDrop:el,onDragOver:e=>{e.preventDefault(),e.stopPropagation(),W(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation();let t=e.currentTarget.getBoundingClientRect(),s=e.clientX,a=e.clientY;(s=t.right||a=t.bottom)&&W(!1)},children:[(0,a.jsx)("input",{ref:Y,type:"file",multiple:!0,className:"hidden",onChange:async e=>{for(let t of Array.from(e.target.files||[]))await eo(t,"/");Y.current&&(Y.current.value="")}}),(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(b.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-files-active)"}}),k?(0,a.jsxs)("button",{type:"button",onClick:k,"aria-label":"Hide file explorer",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(b.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-files-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(b.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-files-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"File Explorer"})]}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>Y.current?.click(),title:"Upload files",children:(0,a.jsx)(v.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>ea("/"),title:"New file",children:(0,a.jsx)(f.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:()=>er("/"),title:"New folder",children:(0,a.jsx)(u.A,{className:"h-3 w-3"})})]})]}),(0,a.jsxs)(A,{children:[(0,a.jsx)(T,{asChild:!0,children:(0,a.jsxs)("div",{className:(0,l.cn)("flex-1 overflow-y-auto p-3 space-y-0.5 relative",U&&"bg-blue-500/10"),onDragOver:e=>{_&&(e.preventDefault(),e.stopPropagation(),H("/"))},onDrop:e=>{_&&eu(e,null)},children:[U&&(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:(0,a.jsxs)("div",{className:"bg-blue-500/20 border-2 border-dashed border-blue-500 rounded-lg p-8",children:[(0,a.jsx)(v.A,{className:"h-12 w-12 text-blue-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-sm text-blue-600",children:"Drop files here to upload"})]})}),0===F.length?(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center py-8",children:(0,a.jsxs)("div",{className:"text-center space-y-3",children:[(0,a.jsx)(u.A,{className:"h-12 w-12 mx-auto opacity-50 text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-base font-medium text-foreground",children:"No files yet"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Create your first file to get started"})]})]})}):(0,a.jsx)("div",{className:"contents",children:F.map(e=>eh(e))})]})}),(0,a.jsxs)(E,{children:[(0,a.jsxs)(P,{onClick:()=>ea("/"),children:[(0,a.jsx)(f.A,{className:"mr-2 h-4 w-4"}),"New File"]}),(0,a.jsxs)(P,{onClick:()=>er("/"),children:[(0,a.jsx)(u.A,{className:"mr-2 h-4 w-4"}),"New Folder"]}),(0,a.jsxs)(P,{onClick:()=>Y.current?.click(),children:[(0,a.jsx)(v.A,{className:"mr-2 h-4 w-4"}),"Upload Files"]}),(0,a.jsxs)(P,{onClick:()=>G(!V),children:[V?(0,a.jsx)(w.A,{className:"mr-2 h-4 w-4"}):(0,a.jsx)(j.A,{className:"mr-2 h-4 w-4"}),V?"Hide Hidden Files":"Show Hidden Files"]})]})]})]})}var R=s(49753),D=s(34091),L=s(8819),z=s(26316),M=s(93613),O=s(10218);function B({projectId:e,onFilesChange:t,onClose:s}){let[o,c]=(0,r.useState)(new Map),[d,m]=(0,r.useState)(null),{resolvedTheme:u}=(0,O.D)(),[h,p]=(0,r.useState)(!1),g=i().useRef(new Set),f=(e,t)=>{t&&t.stopPropagation();let s=o.get(e);if((!s?.modified||confirm(`Close ${s.file.name} without saving?`))&&(c(t=>{let s=new Map(t);return s.delete(e),s}),d===e)){let t=Array.from(o.keys()).filter(t=>t!==e);m(t.length>0?t[t.length-1]:null)}},v=(0,r.useCallback)((e,t)=>{void 0!==e&&"text"===b(t).type&&c(s=>{let a=new Map(s),r=a.get(t);if(r){let s=r.content!==e;a.set(t,{...r,content:e,modified:s})}return a})},[]),j=(0,r.useCallback)(async t=>{let s=o.get(t);if(s&&s.modified){g.current.add(t);try{await n.vfs.init();let a=await n.vfs.updateFile(e,t,s.content);c(e=>{let r=new Map(e);return r.set(t,{file:a,content:s.content,modified:!1}),r})}catch(e){l.v.error("Failed to save file:",e)}finally{setTimeout(()=>{g.current.delete(t)},100)}}},[o,e]);(0,r.useCallback)(e=>{(e.metaKey||e.ctrlKey)&&"s"===e.key&&(e.preventDefault(),d&&j(d))},[d,j]);let b=e=>{let t=e.split(".").pop()?.toLowerCase();if(["png","jpg","jpeg","gif","bmp","svg","webp"].includes(t||""))return{type:"image",language:"plaintext"};let s={js:"javascript",mjs:"javascript",ts:"typescript",tsx:"typescript",html:"html",htm:"html",css:"css",json:"json",md:"markdown",txt:"plaintext",xml:"xml",yaml:"yaml",yml:"yaml"};return s[t||""]?{type:"text",language:s[t||""]}:["zip","tar","gz","exe","bin","pdf","doc","docx","xls","xlsx","ppt","pptx"].includes(t||"")?{type:"unsupported",language:"plaintext"}:{type:"text",language:"plaintext"}},w=e=>b(e).language,k=d?o.get(d):null;return(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"p-3 border-b bg-muted/70 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(D.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-editor-active)"}}),s?(0,a.jsxs)("button",{type:"button",onClick:s,"aria-label":"Hide code editor",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(D.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-editor-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(D.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-editor-active)"}}),(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Code Editor"})]}),k?.modified&&"text"===b(k.file.path).type&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",className:"h-5 px-2 gap-1.5",onClick:()=>j(d),children:[(0,a.jsx)(L.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-xs",children:"Save"})]})]}),0===o.size?(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center text-muted-foreground",children:(0,a.jsxs)("div",{className:"text-center space-y-3",children:[(0,a.jsx)(z.A,{className:"h-12 w-12 mx-auto opacity-50"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-base font-medium",children:"No files open"}),(0,a.jsx)("p",{className:"text-sm",children:"Select a file from the explorer to edit"})]})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"border-b bg-muted/70",children:(0,a.jsx)("div",{className:"flex items-center overflow-x-auto scrollbar-thin",children:Array.from(o.entries()).map(([e,t])=>(0,a.jsxs)("div",{className:(0,l.cn)("flex items-center gap-2 px-4 py-2.5 border-r cursor-pointer transition-all relative group",d===e?"bg-background border-b-2 border-b-primary shadow-sm":"hover:bg-muted/50 border-b-2 border-b-transparent"),onClick:()=>m(e),children:[(0,a.jsxs)("span",{className:"text-sm",children:[t.file.name,t.modified&&(0,a.jsx)("span",{className:"text-orange-500 ml-1",children:"●"})]}),(0,a.jsx)(N.$,{size:"icon",variant:"ghost",className:"h-4 w-4 p-0 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>f(e,t),children:(0,a.jsx)(y.A,{className:"h-3 w-3 hover:text-destructive"})})]},e))})}),k&&(0,a.jsx)("div",{className:"flex-1 border-t",children:(()=>{let e=b(k.file.path);return"image"===e.type?(0,a.jsx)("div",{className:"h-full flex items-center justify-center bg-background p-8",children:(0,a.jsxs)("div",{className:"text-center space-y-4 max-w-2xl",children:[(0,a.jsx)(x.A,{className:"h-12 w-12 mx-auto text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Image Preview"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:k.file.name})]}),(0,a.jsx)("div",{className:"border rounded-lg p-4 bg-muted/30 max-h-96 overflow-auto",children:(0,a.jsx)("img",{src:`data:image/${k.file.path.split(".").pop()};base64,${k.content}`,alt:k.file.name,className:"max-w-full h-auto rounded shadow-sm",onError:e=>{let t=e.target;if(t.style.display="none",!t.parentElement?.querySelector(".error-msg")){let e=document.createElement("div");e.className="error-msg text-sm text-muted-foreground flex items-center gap-2",e.innerHTML='Unable to display image',t.parentElement?.appendChild(e)}}})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Image files cannot be edited in the text editor"})]})}):"unsupported"===e.type?(0,a.jsx)("div",{className:"h-full flex items-center justify-center bg-background p-8",children:(0,a.jsxs)("div",{className:"text-center space-y-4",children:[(0,a.jsx)(M.A,{className:"h-12 w-12 mx-auto text-muted-foreground"}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Unsupported File Type"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:k.file.name}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground max-w-md",children:"This file type is not supported for editing in the text editor. Binary files and certain document formats cannot be displayed here."})]})]})}):(0,a.jsx)(R.Ay,{height:"100%",language:w(k.file.path),value:k.content,onChange:e=>v(e,k.file.path),theme:h?"dark"===u?"vs-dark":"light":"vs-dark",options:{minimap:{enabled:!1},fontSize:14,lineNumbers:"on",roundedSelection:!1,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2,wordWrap:"on",wrappingIndent:"indent"}})})()})]})]})}function U(e){window.dispatchEvent(new CustomEvent("openFile",{detail:e}))}var W=s(5643),_=s(28559),J=s(13943),q=s(84027),H=s(58887),V=s(48210),G=s(51567),Y=s(26627),X=s(4950),K=s(10158);let Z=new Set(["assistant_delta","tool_param_delta","reasoning_delta"]);class Q{async initDB(){if(this.isInitialized)return;let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));await e.init(),this.isInitialized=!0}async getDB(){let{vfs:e}=await Promise.resolve().then(s.bind(s,68269));return e.getDatabase()}getDebugEventsId(e){return`debug_events_${e}`}async loadEvents(e){await this.initDB();let t=await this.getDB(),s=this.getDebugEventsId(e);return new Promise((a,r)=>{let i=t.transaction([this.storeName],"readonly").objectStore(this.storeName).get(s);i.onsuccess=()=>{let t=i.result;t&&t.events?(this.eventsCache.set(e,t.events),a(t.events)):a([])},i.onerror=()=>{l.v.error("Failed to load debug events from DB"),r(i.error)}})}async saveEvents(e,t){await this.initDB();let s=await this.getDB(),a={id:this.getDebugEventsId(e),projectId:e,events:t,lastUpdated:new Date().toISOString()};return new Promise((r,i)=>{let n=s.transaction([this.storeName],"readwrite").objectStore(this.storeName).put(a);n.onsuccess=()=>{this.eventsCache.set(e,t),r()},n.onerror=()=>{l.v.error("Failed to save debug events to DB"),i(n.error)}})}async appendEvent(e,t){let s=this.eventsCache.get(e);s||(s=await this.loadEvents(e)),s.push(t),this.eventsCache.set(e,s),Z.has(t.event)||await this.saveEvents(e,s)}async clearEvents(e){this.eventsCache.delete(e),await this.saveEvents(e,[]),l.v.debug(`[DebugEventsState] Cleared debug events for project ${e}`)}async truncateEvents(e,t){this.eventsCache.set(e,t),await this.saveEvents(e,t),l.v.debug(`[DebugEventsState] Truncated debug events for project ${e} to ${t.length} events`)}async getEvents(e){let t=this.eventsCache.get(e);return t||(t=await this.loadEvents(e)),t}async deleteProject(e){await this.initDB();let t=await this.getDB(),s=this.getDebugEventsId(e);return new Promise((a,r)=>{let i=t.transaction([this.storeName],"readwrite").objectStore(this.storeName).delete(s);i.onsuccess=()=>{this.eventsCache.delete(e),a()},i.onerror=()=>{l.v.error("Failed to delete debug events from DB"),r(i.error)}})}unloadProject(e){let t=this.eventsCache.has(e);this.eventsCache.delete(e),t&&l.v.debug(`[DebugEventsState] Unloaded debug events cache for project ${e}`)}constructor(){this.eventsCache=new Map,this.storeName="debugEvents",this.isInitialized=!1}}let ee=new Q;var et=s(81381),es=s(24527);let ea=({className:e,...t})=>(0,a.jsx)(es.YZ,{className:(0,l.cn)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",e),...t}),er=es.Zk,ei=({withHandle:e,className:t,...s})=>(0,a.jsx)(es.TW,{className:(0,l.cn)("group relative flex w-2 mx-1 items-center justify-center bg-transparent hover:bg-border/50 transition-colors after:absolute after:inset-y-0 after:left-1/2 after:w-4 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-2 data-[panel-group-direction=vertical]:my-1 data-[panel-group-direction=vertical]:mx-0 data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-4 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90 cursor-col-resize data-[panel-group-direction=vertical]:cursor-row-resize",t),...s,children:e&&(0,a.jsx)("div",{className:"z-10 flex h-12 w-1 items-center justify-center rounded-full bg-border/30 hover:bg-border/50 transition-colors opacity-0 group-hover:opacity-100",children:(0,a.jsx)(et.A,{className:"h-3 w-3 text-muted-foreground/50"})})});var en=s(80189),el=s(94742),eo=s(32623),ec=s(33135),ed=s(22926),em=s(13265),eu=s(2565),eh=s(47696),ep=s(88233),ex=s(24366),eg=s(3589),ef=s(38991);function ev(){let[e,t]=(0,r.useState)(null),[s,i]=(0,r.useState)(!1);return s&&e?(0,a.jsxs)("div",{className:`text-xs font-mono ${e.percent>80?"text-red-500":e.percent>60?"text-yellow-500":"text-muted-foreground"} flex items-center gap-1`,title:`JS Heap: ${e.usedMB}MB used / ${e.totalMB}MB limit (${e.percent}%)`,children:[(0,a.jsx)("span",{className:"opacity-60",children:"MEM:"}),(0,a.jsxs)("span",{children:[e.usedMB,"MB"]}),e.percent>60&&(0,a.jsxs)("span",{className:"opacity-60",children:["(",e.percent,"%)"]})]}):null}function ej({events:e,onClear:t,onClose:s,projectId:i}){let[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(!0),d=(0,r.useRef)(null),[m,u]=(0,r.useState)(!0),[h,p]=(0,r.useState)(""),[x,g]=(0,r.useState)([]),[f,v]=(0,r.useState)(!1),j=(0,r.useRef)(null),b=(0,r.useMemo)(()=>{let t=[],s=null,a=new Set(["assistant_delta","tool_param_delta","reasoning_delta"]);for(let r of e)a.has(r.event)?s&&s.event===r.event?s.count=(s.count||1)+1:(s&&t.push(s),s={...r,count:1}):(s&&(t.push(s),s=null),t.push(r));return s&&t.push(s),t},[e]),w=async()=>{if(!h.trim()||!i||f)return;let e=h.trim();p(""),v(!0);try{let t=e.split(/\s+/),s=await ef._.execute(i,t),a=s.success?s.stdout||"(no output)":s.stderr||"Command failed";g(t=>[...t,{cmd:e,output:a,isError:!s.success}])}catch(t){g(s=>[...s,{cmd:e,output:`Error: ${t instanceof Error?t.message:"Unknown error"}`,isError:!0}])}finally{v(!1),setTimeout(()=>{j.current?.scrollTo({top:j.current.scrollHeight,behavior:"smooth"})},50)}},k=n?b.filter(e=>e.event.toLowerCase().includes(n.toLowerCase())):b,S=e.reduce((e,t)=>(e[t.event]=(e[t.event]||0)+1,e),{});return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-card border border-border rounded-lg overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-border bg-muted/30 shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(V.A,{className:"h-4 w-4 md:hidden"}),s?(0,a.jsxs)("button",{type:"button",onClick:s,"aria-label":"Hide debug panel",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(V.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0"}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(V.A,{className:"hidden h-4 w-4 md:inline-flex"}),(0,a.jsx)("span",{className:"font-semibold text-sm",children:"Debug Events"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:["(",k.length,"/",e.length,")"]}),(0,a.jsx)(ev,{})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:()=>{t?.()},className:"h-7 px-2 hover:bg-muted",title:"Clear all events",children:(0,a.jsx)(ep.A,{className:"h-3 w-3"})}),(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:()=>{let t=new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`debug-events-${Date.now()}.json`,a.click(),URL.revokeObjectURL(s)},className:"h-7 px-2 text-xs hover:bg-muted",title:"Export to JSON",children:"Export"})]})]}),(0,a.jsx)("div",{className:"p-2 border-b border-border bg-muted/20 text-xs",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.entries(S).map(([e,t])=>(0,a.jsxs)("button",{onClick:()=>l(n===e?"":e),className:`px-2 py-1 rounded ${n===e?"bg-primary text-primary-foreground":"bg-muted hover:bg-muted/80"}`,children:[e," (",t,")"]},e))})}),(0,a.jsx)("div",{className:"p-2 border-b border-border",children:(0,a.jsx)("input",{type:"text",placeholder:"Filter events...",value:n,onChange:e=>l(e.target.value),className:"w-full px-2 py-1 text-xs rounded bg-background border border-border"})}),(0,a.jsx)("div",{className:"p-2 border-b border-border flex items-center gap-2",children:(0,a.jsxs)("label",{className:"text-xs flex items-center gap-1 cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:m,onChange:e=>u(e.target.checked),className:"rounded"}),"Auto-scroll"]})}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto p-2 space-y-1",children:[0===k.length?(0,a.jsx)("div",{className:"text-xs text-muted-foreground text-center p-4",children:"No events yet. Events will appear here as they occur."}):k.map(e=>(0,a.jsx)(eb,{event:e},e.id)),(0,a.jsx)("div",{ref:d})]}),i&&(0,a.jsxs)("div",{className:"border-t border-border shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 bg-muted/30 border-b border-border",children:[(0,a.jsx)(ex.A,{className:"h-3 w-3 text-muted-foreground"}),(0,a.jsx)("span",{className:"text-xs font-medium",children:"VFS Shell"}),x.length>0&&(0,a.jsx)("button",{onClick:()=>g([]),className:"ml-auto text-xs text-muted-foreground hover:text-foreground",children:"Clear"})]}),x.length>0&&(0,a.jsx)("div",{ref:j,className:"max-h-32 overflow-y-auto p-2 bg-zinc-950 font-mono text-xs",children:x.map((e,t)=>(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsxs)("div",{className:"text-emerald-400",children:["$ ",e.cmd]}),(0,a.jsx)("pre",{className:`whitespace-pre-wrap ${e.isError?"text-red-400":"text-zinc-300"}`,children:e.output})]},t))}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-2 bg-zinc-950",children:[(0,a.jsx)("span",{className:"text-emerald-400 font-mono text-xs",children:"$"}),(0,a.jsx)("input",{type:"text",value:h,onChange:e=>p(e.target.value),onKeyDown:e=>"Enter"===e.key&&w(),placeholder:"ls -la /.skills/",disabled:f,className:"flex-1 bg-transparent border-none outline-none text-xs font-mono text-zinc-100 placeholder:text-zinc-600"}),(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:w,disabled:f||!h.trim(),className:"h-6 px-2 text-xs text-zinc-400 hover:text-zinc-100 hover:bg-zinc-800",children:f?"...":"Run"})]})]})]})}function eb({event:e}){var t;let[s,i]=(0,r.useState)(!1),n=new Date(e.timestamp).toLocaleTimeString();return(0,a.jsxs)(eh.Nt,{open:s,onOpenChange:i,children:[(0,a.jsx)(eh.R6,{className:"w-full text-left",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 p-1.5 rounded hover:bg-muted/50 text-xs",children:[s?(0,a.jsx)(eg.A,{className:"h-3 w-3"}):(0,a.jsx)(h.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-muted-foreground font-mono",children:n}),(0,a.jsx)("span",{className:`font-semibold ${(t=e.event).includes("error")||t.includes("failed")?"text-red-500":t.includes("retry")?"text-yellow-500":t.includes("completed")||t.includes("success")?"text-green-500":t.includes("tool")?"text-blue-500":t.includes("agent")?"text-purple-500":t.includes("plan")?"text-orange-500":"text-foreground"}`,children:e.event}),e.count&&e.count>1&&(0,a.jsxs)("span",{className:"text-muted-foreground font-mono",children:["(",e.count,")"]})]})}),(0,a.jsx)(eh.Ke,{children:(0,a.jsx)("div",{className:"ml-6 p-2 bg-muted/30 rounded text-xs font-mono overflow-x-auto",children:(0,a.jsx)("pre",{children:JSON.stringify(e.data,null,2)})})})]})}var ey=s(41862),ew=s(5336),eN=s(35071),ek=s(27900),eS=s(80375),eC=s(78122),eA=s(78200),eT=s(6727),eE=s(83753),eP=s(86223),e$=s(15616),eI=s(97314);let eF=(0,s(24224).F)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-3",sm:"h-8 px-2",lg:"h-10 px-3"}},defaultVariants:{variant:"default",size:"default"}}),eR=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(eI.bL,{ref:s,className:(0,l.cn)("inline-flex items-center justify-center gap-1 rounded-md bg-muted p-1",e),...t}));eR.displayName=eI.bL.displayName;let eD=r.forwardRef(({className:e,variant:t,size:s,...r},i)=>(0,a.jsx)(eI.q7,{ref:i,className:(0,l.cn)(eF({variant:t,size:s}),e),...r}));eD.displayName=eI.q7.displayName;var eL=s(22157);let ez={shell:(0,a.jsx)(p.A,{className:"h-3 w-3 text-blue-500"}),json_patch:(0,a.jsx)(z.A,{className:"h-3 w-3 text-orange-500"})},eM={pending:(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-gray-400"}),executing:(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-500"}),completed:(0,a.jsx)(ew.A,{className:"h-3 w-3 text-green-500"}),failed:(0,a.jsx)(eN.A,{className:"h-3 w-3 text-red-500"})};function eO({events:e,onRestore:t,onRetry:s,prompt:i,setPrompt:n,generating:l,onGenerate:o,onStop:c,focusContext:d,setFocusContext:m,focusPreviewSnippet:u,chatMode:p,setChatMode:x,currentModel:g,setCurrentModel:f,getModelDisplayName:v,isTourLockingInput:j=!1,onClearChat:b,onClose:w}){let k=(0,r.useRef)(null),[S,C]=(0,r.useState)(!0),[A,T]=(0,r.useState)(!1),[E,P]=(0,r.useState)(new Set);(0,r.useRef)(!1);let $=(0,r.useRef)(0),I=(0,r.useRef)(new Map),F=(0,r.useRef)({result:[],currentTurn:{id:`turn-${Date.now()}`,items:[]},currentToolBatch:0,toolsByBatchAndIndex:new Map,itemIdCounter:0}),R=(0,r.useMemo)(()=>{let t,s=F.current,a=e.length-$.current;if(0===e.length||$.current>e.length)return $.current=0,I.current=new Map,F.current={result:[],currentTurn:{id:`turn-${Date.now()}`,items:[]},currentToolBatch:0,toolsByBatchAndIndex:new Map,itemIdCounter:0},[];let r=e[e.length-1],i=r&&("assistant_delta"===r.event||"tool_param_delta"===r.event||"reasoning_delta"===r.event),n=I.current.get(r?.id||""),l=i&&r.version&&n!==r.version;if(0===a&&!l)return[...s.result,...s.currentTurn.items.length>0?[s.currentTurn]:[]];for(let a of(l?(t=[r],I.current.set(r.id,r.version)):t=e.slice($.current),t))switch(a.event){case"waiting":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"waiting",timestamp:a.timestamp,data:null});break;case"reasoning_start":case"stopped":s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"reasoning_delta":let e=(a.data?.all||[a.data]).map(e=>e?.text||"").join("");if(!e.trim()){s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break}let t=s.currentTurn.items.find(e=>"reasoning"===e.type&&e.eventId===a.id);if(t)t.data=e;else{let t={id:`item-${s.itemIdCounter++}`,type:"reasoning",timestamp:a.timestamp,data:e,eventId:a.id};s.currentTurn.items.push(t)}s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"reasoning_complete":s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"toolCalls":let r=a.data?.toolCalls||[];for(let e=0;e"waiting"!==e.type);break;case"tool_status":let{toolIndex:i,status:n,result:l,error:o}=a.data||{},c=`${s.currentToolBatch-1}-${i}`,d=s.toolsByBatchAndIndex.get(c);d&&(d.status=n,l&&(d.result=l),o&&(d.error=o));break;case"tool_result":let m=a.data?.toolIndex,u=`${s.currentToolBatch-1}-${m}`,h=s.toolsByBatchAndIndex.get(u);h&&a.data?.result&&(h.result=a.data.result);break;case"tool_param_delta":for(let e of a.data?.all||[a.data]){let{toolId:t,partialArguments:a}=e||{};if(!t)continue;let r=s.currentTurn.items.find(e=>"tool"===e.type&&e.data?.id===t);if(r){let e=r.data;try{e.parameters=JSON.parse(a)}catch{e.parameters={_raw:a}}}}break;case"assistant_delta":let p=a.data?.all||[a.data],x=s.currentTurn.items.find(e=>"text"===e.type&&e.eventId===a.id),g=p.map(e=>e?.text||"").join("");if(g)if(x)x.data=g;else{let e={id:`item-${s.itemIdCounter++}`,type:"text",timestamp:a.timestamp,data:g,eventId:a.id};s.currentTurn.items.push(e)}s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"plan_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"plan",timestamp:a.timestamp,data:a.data?.content||""});break;case"agent_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"agent",timestamp:a.timestamp,data:a.data?.content||""});break;case"task_progress":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"progress",timestamp:a.timestamp,data:a.data?.content||""});break;case"conversation_message":let f=a.data?.message;if(f?.role==="user"){if(f.content?.includes("Before finishing, you must call the evaluation tool"))break;let e=f.ui_metadata?.isSyntheticError===!0;s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:e?"synthetic_error":"user",timestamp:a.timestamp,data:f.content||""})}break;case"user_message":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"user",timestamp:a.timestamp,data:a.data?.content||""});break;case"error":s.currentTurn.items.push({id:`item-${s.itemIdCounter++}`,type:"error",timestamp:a.timestamp,data:a.data}),s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"usage":s.currentTurn.usage=a.data,s.currentTurn.items=s.currentTurn.items.filter(e=>"waiting"!==e.type);break;case"checkpoint_created":s.currentTurn.checkpointId=a.data?.checkpointId;break;case"iteration":s.currentTurn.iteration=a.data?.iteration,s.currentTurn.items.length>0&&(s.result.push(s.currentTurn),s.currentTurn={id:`turn-${Date.now()}-${s.result.length}`,items:[]})}return l||($.current=e.length),[...s.result,...s.currentTurn.items.length>0?[s.currentTurn]:[]]},[e]),D=e=>{P(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},L=u?.trim()??"",z=d?(0,a.jsxs)("div",{id:"focus-context-hint",className:"rounded-md border border-dashed border-primary/40 bg-primary/5 px-3 py-2 text-xs text-muted-foreground shadow-sm",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 text-foreground",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-medium text-xs uppercase tracking-wide text-primary",children:"context"}),(0,a.jsx)("span",{className:"text-[10px] uppercase tracking-wide text-muted-foreground",children:"included in next message"})]}),(0,a.jsx)(N.$,{size:"sm",variant:"ghost",className:"h-6 px-2 text-xs",onClick:()=>m(null),title:"Clear focus context",children:"Clear"})]}),(0,a.jsxs)("div",{className:"mt-2 space-y-2",children:[d.domPath&&(0,a.jsx)("div",{className:"text-[11px] font-mono text-muted-foreground/80 break-all leading-snug",children:d.domPath}),L&&(0,a.jsx)("pre",{className:"max-h-24 overflow-auto rounded border border-border/50 bg-background/90 px-2 py-1 text-[11px] text-foreground leading-relaxed",children:(0,a.jsx)("code",{children:L})})]})]}):null;return(0,a.jsxs)("div",{className:"h-full flex flex-col bg-card border border-border rounded-lg overflow-hidden","data-tour-id":"assistant-panel",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 border-b border-border bg-muted/30 shrink-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(H.A,{className:"h-4 w-4 md:hidden",style:{color:"var(--button-assistant-active)"}}),w?(0,a.jsxs)("button",{type:"button",onClick:w,"aria-label":"Hide chat panel",className:"relative hidden h-6 w-6 items-center justify-center rounded-sm text-muted-foreground transition-colors hover:text-destructive md:flex group",children:[(0,a.jsx)(H.A,{className:"h-4 w-4 transition-opacity group-hover:opacity-0",style:{color:"var(--button-assistant-active)"}}),(0,a.jsx)(y.A,{className:"absolute h-3 w-3 opacity-0 transition-opacity group-hover:opacity-100"})]}):(0,a.jsx)(H.A,{className:"hidden h-4 w-4 md:inline-flex",style:{color:"var(--button-assistant-active)"}}),(0,a.jsx)("span",{className:"font-semibold text-sm",children:"Chat"})]}),(0,a.jsx)("div",{className:"flex items-center gap-1",children:b&&(0,a.jsx)(N.$,{variant:"ghost",size:"sm",onClick:b,className:"h-7 px-2 hover:bg-muted",title:"Clear chat","data-tour-id":"clear-chat-button",children:(0,a.jsx)(ep.A,{className:"h-3 w-3"})})})]}),(0,a.jsx)("div",{ref:k,className:"flex-1 overflow-y-auto p-4 space-y-4",children:0===R.length?(0,a.jsx)("div",{className:"text-xs text-muted-foreground text-center p-4",children:"No messages yet. Start a conversation to see it here."}):R.map(e=>(0,a.jsx)(eB,{turn:e,onRestore:t,onRetry:s,expandedItems:E,onToggleExpanded:D},e.id))}),(0,a.jsxs)("div",{className:"p-3 space-y-2",children:[z,(0,a.jsxs)("div",{className:"bg-card border border-border rounded-lg shadow-sm overflow-hidden",children:[(0,a.jsxs)("div",{className:"relative flex bg-card rounded-lg transition-all",children:[(0,a.jsx)(e$.T,{value:i,onChange:e=>n(e.target.value),onKeyDown:e=>{!j&&"Enter"===e.key&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),o())},placeholder:"Describe what you want to build...",className:"flex-1 px-3 py-2 bg-transparent border-0 resize-none focus:outline-none text-sm placeholder:text-muted-foreground text-foreground",rows:3,disabled:l||j}),(0,a.jsx)("div",{className:"flex flex-col p-2 gap-2",children:(0,a.jsx)(N.$,{onClick:l?c:o,disabled:j?!l:!l&&!i.trim(),size:"sm",className:"flex items-center gap-2",children:l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ey.A,{className:"h-4 w-4 animate-spin"}),"Stop"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ek.A,{className:"h-4 w-4"}),"Send"]})})})]}),(0,a.jsx)("div",{className:"border-t border-border bg-muted/50 px-2 py-2",children:(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsxs)(ec.AM,{open:A,onOpenChange:T,children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"h-7 text-xs","data-tour-id":"provider-settings-trigger",children:[(0,a.jsx)("span",{children:v(g)}),A?(0,a.jsx)(h.A,{className:"h-3 w-3 ml-1"}):(0,a.jsx)(eg.A,{className:"h-3 w-3 ml-1"})]})}),(0,a.jsx)(ec.hl,{className:"w-[36rem] max-w-[calc(100vw-2rem)]",align:"start","data-tour-id":"provider-settings-popup",children:(0,a.jsx)(eL.t,{onClose:()=>T(!1),onModelChange:e=>f(e)})})]}),(0,a.jsxs)(eR,{type:"single",value:p?"chat":"code",onValueChange:e=>{e&&x("chat"===e)},className:"gap-1",children:[(0,a.jsxs)(eD,{value:"chat",className:"h-7 text-xs px-2",children:[(0,a.jsx)(H.A,{className:"h-3 w-3 mr-1"}),"Chat"]}),(0,a.jsxs)(eD,{value:"code",className:"h-7 text-xs px-2",children:[(0,a.jsx)(eS.A,{className:"h-3 w-3 mr-1"}),"Code"]})]})]})})]})]})]})}function eB({turn:e,onRestore:t,onRetry:s,expandedItems:r,onToggleExpanded:i}){return(0,a.jsxs)("div",{className:"space-y-2",children:[e.items.map(e=>{switch(e.type){case"waiting":return(0,a.jsx)("div",{className:"bg-muted/30 rounded-md p-2 opacity-70",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-400"}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:"Waiting for response..."})]})},e.id);case"reasoning":return(0,a.jsx)(e_,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"plan":return(0,a.jsx)(eJ,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"agent":return(0,a.jsx)(eq,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"progress":return(0,a.jsx)(eH,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"tool":return(0,a.jsx)(eU,{itemId:e.id,tool:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"text":return(0,a.jsx)("div",{className:"text-sm text-foreground/90 bg-muted/20 px-3 py-2 rounded",children:(0,a.jsx)(eP.T,{content:e.data})},e.id);case"user":return(0,a.jsxs)("div",{className:"text-sm text-foreground bg-primary/10 px-3 py-2 rounded border border-primary/20",children:[(0,a.jsx)("div",{className:"font-semibold text-primary mb-1 text-xs",children:"User"}),(0,a.jsx)("div",{className:"whitespace-pre-wrap",children:e.data})]},e.id);case"synthetic_error":return(0,a.jsx)(eW,{itemId:e.id,content:e.data,isExpanded:r.has(e.id),onToggle:()=>i(e.id)},e.id);case"error":return(0,a.jsx)("div",{className:"text-sm bg-destructive/10 border border-destructive/20 px-3 py-2 rounded",children:(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)(eN.A,{className:"h-4 w-4 text-destructive mt-0.5 shrink-0"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"font-semibold text-destructive mb-1",children:"Error"}),(0,a.jsx)("div",{className:"text-destructive/90 whitespace-pre-wrap font-mono text-xs",children:e.data?.message||JSON.stringify(e.data,null,2)}),e.data?.stack&&(0,a.jsxs)("details",{className:"mt-2",children:[(0,a.jsx)("summary",{className:"text-xs text-destructive/70 cursor-pointer hover:text-destructive",children:"Stack trace"}),(0,a.jsx)("pre",{className:"text-[10px] text-destructive/60 mt-1 overflow-x-auto",children:e.data.stack})]})]})]})},e.id);default:return null}}),(e.usage||e.checkpointId)&&(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[e.usage&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:["Tokens: ",(e.usage.usage?.totalTokens||e.usage.totalTokens)?.toLocaleString()||"N/A",(void 0!==e.usage.totalCost||void 0!==e.usage.cost)&&` • Cost: $${((e.usage.totalCost??e.usage.cost)||0).toFixed(4)}`]}),e.checkpointId&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[t&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",onClick:()=>t(e.checkpointId),className:"h-6 px-2 text-xs",title:"Restore to this checkpoint",children:[(0,a.jsx)(J.A,{className:"h-3 w-3 mr-1"}),"Restore"]}),s&&(0,a.jsxs)(N.$,{size:"sm",variant:"ghost",onClick:()=>s(e.checkpointId),className:"h-6 px-2 text-xs",title:"Restore files and retry from this checkpoint",children:[(0,a.jsx)(eC.A,{className:"h-3 w-3 mr-1"}),"Retry"]})]})]})]})}function eU({itemId:e,tool:t,isExpanded:s,onToggle:r}){return(0,a.jsxs)("div",{className:`bg-muted/30 rounded-md transition-all ${"executing"===t.status?"ring-2 ring-blue-500/20 animate-pulse":""} ${s?"p-2":"p-1.5"}`,children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[ez[t.name]||(0,a.jsx)(p.A,{className:"h-3 w-3"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:t.name})]}),"shell"===t.name&&t.parameters?.cmd&&(0,a.jsx)("code",{className:"text-xs text-muted-foreground",children:Array.isArray(t.parameters.cmd)?t.parameters.cmd.slice(1).join(" ").substring(0,50):String(t.parameters.cmd).substring(0,50)}),(t.parameters?.path||t.parameters?.file_path)&&(0,a.jsx)("code",{className:"text-xs text-muted-foreground",children:t.parameters.path||t.parameters.file_path}),(0,a.jsx)("div",{className:"ml-auto",children:eM[t.status||"completed"]})]}),s&&(0,a.jsxs)("div",{className:"mt-2 space-y-2",children:[t.parameters&&Object.keys(t.parameters).length>0&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:"Parameters"}),(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto",children:JSON.stringify(t.parameters,null,2)})]}),t.result&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:"Result"}),(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto max-h-40 overflow-y-auto",children:"string"==typeof t.result?t.result:JSON.stringify(t.result,null,2)})]}),t.error&&(0,a.jsxs)("div",{className:"px-2",children:[(0,a.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-destructive mb-1",children:"Error"}),(0,a.jsx)("pre",{className:"text-xs bg-destructive/10 text-destructive p-2 rounded overflow-x-auto",children:t.error})]})]})]})}function eW({itemId:e,content:t,isExpanded:s,onToggle:r}){return(0,a.jsxs)("div",{className:`bg-amber-500/10 rounded-md transition-all ${s?"p-2":"p-1.5"}`,children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-amber-500/20 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eC.A,{className:"h-3 w-3 text-amber-600"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"Auto-correction"})]}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(ew.A,{className:"h-3 w-3 text-amber-600"})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function e_({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=(t||"").split("\n").filter(e=>e.trim()),n=i[0]?.substring(0,60)||"Reasoning...",l=!t||t.length<20;return(0,a.jsxs)("div",{className:"bg-violet-500/10 rounded-md transition-all p-1.5 border border-violet-500/20",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-violet-500/20 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[l?(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-violet-500"}):(0,a.jsx)(eA.A,{className:"h-3 w-3 text-violet-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"reasoning"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:l?"Thinking...":n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("div",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto max-h-64 overflow-y-auto",children:(0,a.jsx)(eP.T,{content:t||"Thinking..."})})})]})}function eJ({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.split("\n"),n=i[0]?.replace(/^\*\*|\*\*$/g,"").substring(0,50)||"Plan";return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eT.A,{className:"h-3 w-3 text-orange-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"plan"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function eq({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.split("\n"),n=i[0]?.replace(/^\*\*|\*\*$/g,"").replace(/^🤖\s*/,"").substring(0,50)||"Agent";return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)(eE.A,{className:"h-3 w-3 text-purple-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"agent"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function eH({itemId:e,content:t,isExpanded:s,onToggle:r}){let i=t.includes("✅"),n=t.replace(/^[✅🔄]\s*/,"").substring(0,50);return(0,a.jsxs)("div",{className:"bg-muted/30 rounded-md transition-all p-1.5",children:[(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-2 w-full text-left hover:bg-muted/50 rounded px-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[i?(0,a.jsx)(ew.A,{className:"h-3 w-3 text-green-500"}):(0,a.jsx)(ey.A,{className:"h-3 w-3 animate-spin text-blue-500"}),(0,a.jsx)("span",{className:"text-xs font-mono",children:"progress"})]}),(0,a.jsx)("code",{className:"text-xs text-muted-foreground truncate flex-1",children:n}),(0,a.jsx)("div",{className:"ml-auto",children:(0,a.jsx)(p.A,{className:`h-3 w-3 transition-transform ${s?"rotate-90":""}`})})]}),s&&(0,a.jsx)("div",{className:"mt-2 px-2",children:(0,a.jsx)("pre",{className:"text-xs bg-muted/50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:t})})]})}function eV({projectId:e,selectedSiteId:t,onSiteChange:s,className:a}){let[i,n]=(0,r.useState)([]),[l,o]=(0,r.useState)(!0),[c,d]=(0,r.useState)(null);return null}function eG({project:e,onBack:t}){let[s,i]=(0,r.useState)(0),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(!1),[u,h]=(0,r.useState)(null),[p,x]=(0,r.useState)(null),[g,f]=(0,r.useState)("preview"),[v,y]=(0,r.useState)(!1),[w,k]=(0,r.useState)(!1),[S,C]=(0,r.useState)(e.lastSavedAt??null),[A,T]=(0,r.useState)(null),[E,P]=(0,r.useState)(()=>!1),$=(0,r.useRef)(null),R=(0,r.useRef)(null),z=(0,r.useRef)(!1),[M,O]=(0,r.useState)(null),[Z,Q]=(0,r.useState)(X.s.getDefaultModel()),[et,es]=(0,r.useState)(!1),[eh,ep]=(0,r.useState)(!1),[ex,eg]=(0,r.useState)(0),{state:ef,start:ev,setWorkspaceHandler:eb}=(0,eu.C)(),ey=ef.currentStep?.id,ew="running"===ef.status&&"wrap-up"!==ey,{shouldShowCosts:eN}=function(){let[e,t]=(0,r.useState)(()=>X.s.getCostSettings()),s=!1!==e.showCosts;return{costSettings:e,shouldShowCosts:s}}(),[ek,eS]=(0,r.useState)(!0),[eC,eA]=(0,r.useState)(!0),[eT,eE]=(0,r.useState)(!1),[eP,e$]=(0,r.useState)(!0),[eI,eF]=(0,r.useState)(!1),[eR,eD]=(0,r.useState)(null),[eL,ez]=(0,r.useState)(null),[eM,eB]=(0,r.useState)([]),eU=(0,r.useRef)(0),eW=(0,r.useRef)(null),e_=(0,r.useCallback)(t=>{eW.current&&clearTimeout(eW.current),eW.current=setTimeout(()=>{ee.saveEvents(e.id,t).catch(e=>{l.v.error("Failed to persist debug events:",e)})},500)},[e.id]),eJ=(0,r.useCallback)(async(e,t)=>{eB(s=>{let a;if(("assistant_delta"===e||"tool_param_delta"===e||"reasoning_delta"===e)&&s.length>0){let r=s[s.length-1];if(r.event===e){let e={...r,timestamp:Date.now(),version:(r.version||1)+1,count:(r.count||1)+1,data:{all:r.data.all?[...r.data.all,t]:[r.data,t]}};return e_(a=[...s.slice(0,-1),e]),a}}return(a=[...s,{id:`${Date.now()}-${eU.current++}`,timestamp:Date.now(),event:e,data:t,count:1,version:1}]).length>500&&(a=a.slice(-500)),e_(a),a})},[e.id,e_,500]),eq=(0,r.useCallback)(async()=>{eB([]),await ee.clearEvents(e.id),await el.Y.clearAutoCheckpoints(e.id),x(null)},[e.id]),eH=(()=>{let e=[ek,eC,eT,eP,eI].filter(Boolean).length;return 5===e?{chat:20,files:15,editor:25,preview:20,debug:20}:4===e?{chat:25,files:15,editor:35,preview:25,debug:0}:3===e?{chat:33,files:33,editor:33,preview:33,debug:0}:2===e?{chat:50,files:50,editor:50,preview:50,debug:0}:{chat:100,files:100,editor:100,preview:100,debug:0}})(),eG=e=>{if(!e)return"Select Model";let t=e.split("/");return t[t.length-1].split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")},eY=(0,r.useCallback)((e,t=1200)=>{if(!e)return"";if(e.length<=t)return e;let s=Math.max(0,Math.floor(.6*t)),a=Math.max(0,Math.floor(.3*t)),r=e.slice(0,s),i=a>0?e.slice(-a):"";return`${r} - (...truncated...) -${i}`},[]),eX=(0,r.useCallback)(e=>{let t=Object.entries(e.attributes||{}).slice(0,6);if(0===t.length)return`<${e.tagName}>`;let s=t.map(([e,t])=>{let s=t.length>40?`${t.slice(0,37)}…`:t;return`${e}="${s}"`}).join(" ");return`<${e.tagName} ${s}>`},[]),eK=(0,r.useCallback)(e=>{let t=eX(e),s=eY(e.outerHTML,1200),a=e.domPath||"(unknown path)";return["Focus context:",`- Target: ${t}`,`- DOM path: ${a}`,"- HTML snippet:","```html",s,"```"].join("\n")},[eX,eY]),eZ=(0,r.useCallback)(e=>{if(!e){T(null),$.current=null;return}let t=`${e.domPath||""}::${e.tagName||""}::${e.outerHTML?e.outerHTML.length:0}`,s=Date.now();if($.current&&$.current.signature===t&&s-$.current.timestamp<400)return;let a={...e,timestamp:s};T(a),I.oR.info("Focus context set",{description:eX(a)}),$.current={signature:t,timestamp:s}},[eX]),eQ=(0,r.useCallback)(()=>{e$(!1)},[]);A&&eX(A);let e0=A?eY(A.outerHTML,240):"";e0?.trim(),A&&(N.$,A.domPath&&A.domPath);let e1=(0,r.useCallback)(async(e,t)=>{eD(e),ez(t),x(null),e&&t?(await n.vfs.mountServerContext(e,t),l.v.info(`[Workspace] Mounted server context for site: ${t}`)):(n.vfs.unmountServerContext(),l.v.info("[Workspace] Unmounted server context")),i(e=>e+1)},[]),e2=(0,r.useCallback)(e=>{window.innerWidth<768?(f("editor"),setTimeout(()=>{U(e)},0)):eT?U(e):(eE(!0),setTimeout(()=>{U(e)},0))},[eT]),e4=(0,r.useCallback)(()=>{i(e=>e+1),window.dispatchEvent(new CustomEvent("filesChanged"))},[]),e3=(0,r.useCallback)(async()=>{if(!w){k(!0);try{let t;if(R.current)try{let e=new Promise((e,t)=>{setTimeout(()=>t(Error("Screenshot capture timeout")),5e3)}),s=await Promise.race([R.current.captureScreenshot(),e]);s&&(t=s)}catch(e){l.v.warn("Failed to capture preview screenshot, continuing save:",e)}let s=await eo.$.save(e.id),a=await n.vfs.getProject(e.id);t&&(a.previewImage=t,a.previewUpdatedAt=new Date,await n.vfs.updateProject(a)),C(a.lastSavedAt??new Date(s.timestamp)),O(s.id),I.oR.success("Project saved")}catch(e){l.v.error("Failed to save project",e),I.oR.error("Failed to save project")}finally{k(!1)}}},[e.id,w]),e5=(0,r.useCallback)(async(t,s)=>{try{if(!await el.Y.checkpointExists(t)){I.oR.error("Checkpoint no longer exists - it may have been cleaned up"),l.v.warn(`[Workspace] Checkpoint ${t} no longer exists`);return}if(await eo.$.runWithSuppressedDirty(e.id,()=>el.Y.restoreCheckpoint(t))){I.oR.success(`Restored to: ${s||"checkpoint"}`),e4();let a=eo.$.getSavedCheckpointId(e.id);if(a&&a===t){eo.$.markClean(e.id);let t=await n.vfs.getProject(e.id);C(t.lastSavedAt??null)}else eo.$.markDirty(e.id)}else I.oR.error("Failed to restore checkpoint")}catch(e){l.v.error("Error restoring checkpoint:",e),I.oR.error("Failed to restore checkpoint")}},[e4,e.id]),e6=(0,r.useCallback)(async t=>{try{if(!await el.Y.checkpointExists(t)){I.oR.error("Checkpoint no longer exists - cannot retry"),l.v.warn(`[Workspace] Checkpoint ${t} no longer exists`);return}let s=null,a=eM.findIndex(e=>"checkpoint_created"===e.event&&e.data?.checkpointId===t);if(a>=0){for(let e=a-1;e>=0;e--)if("conversation_message"===eM[e].event&&eM[e].data?.message?.role==="user"){s=eM[e].data.message.content;break}}if(!s){I.oR.error("Cannot find original user message to retry"),l.v.warn("[Workspace] No user message found before checkpoint");return}let r=-1;for(let e=a-1;e>=0;e--)if("conversation_message"===eM[e].event&&eM[e].data?.message?.role==="user"&&eM[e].data.message.content===s){r=e;break}if(-1===r){I.oR.error("Cannot find user message event to truncate"),l.v.warn("[Workspace] User message event not found in debug events");return}if(!await eo.$.runWithSuppressedDirty(e.id,()=>el.Y.restoreCheckpoint(t)))return void I.oR.error("Failed to restore checkpoint");let i=eo.$.getSavedCheckpointId(e.id);if(i&&i===t){eo.$.markClean(e.id);let t=await n.vfs.getProject(e.id);C(t.lastSavedAt??null)}else eo.$.markDirty(e.id);let o=eM.slice(0,r);eB(o),await ee.truncateEvents(e.id,o),x(null),I.oR.success("Restored checkpoint and retrying..."),e4(),c(s),z.current=!0}catch(e){l.v.error("Error during retry:",e),I.oR.error("Failed to retry")}},[e4,e.id,eM,c]),e8=async()=>{if(ew)return;let t=o.trim();if(!t)return void I.oR.error("Please enter a prompt");let s=X.s.getSelectedProvider(),a=(0,K.sO)(s),r=X.s.getApiKey();if(a.apiKeyRequired&&!r)return void I.oR.error(`Please set your ${a.name} API key in settings`);if(a.isLocal&&!X.s.getProviderModel(s))return void I.oR.error(`No model selected for ${a.name}. Please select a model in settings.`);let i=X.s.getProviderModel(s)||X.s.getDefaultModel();if(!i)return void I.oR.error(`No model selected for ${E?"chat":"code"} mode. Please select a model in settings.`);m(!0);let n=A?`${eK(A)} - -${t}`:t;try{let t=p;if(!t){t=new Y.t(e.id,"orchestrator",eJ,{chatMode:E,model:i});let s=eM.filter(e=>"conversation_message"===e.event).map(e=>e.data.message);s.length>0&&(t.importConversation(s),l.v.debug(`[Workspace] Restored ${s.length} conversation messages from debug events`)),x(t)}h(t);let s=await t.execute(n);l.v.debug("[Workspace] Orchestrator result:",{success:s.success,summary:s.summary,totalCost:s.totalCost}),s.success?(e4(),I.oR.success("Task completed")):I.oR.error(s.summary||"Generation failed",{duration:5e3,position:"bottom-center"}),c(""),A&&T(null)}catch(t){l.v.error("Generation error:",t);let e=t instanceof Error?t.message:"Failed to generate";eJ("error",{message:e}),I.oR.error(e,{duration:5e3,position:"bottom-center"})}finally{m(!1),h(null)}},e9=(0,r.useCallback)(()=>{u&&(u.stop(),I.oR.info("Generation stopped"))},[u]),e7=[{id:"back",label:"Back to projects",icon:_.A,onClick:t,variant:"outline"}];e7.push({id:"save",label:w?"Saving…":v?"Save":"Saved",icon:L.A,onClick:e3,variant:v?"default":"outline",disabled:!v||w}),M&&e7.push({id:"discard",label:"Discard Changes",icon:J.A,onClick:()=>e5(M,"Last saved state"),variant:"outline",disabled:w||!v,dataTourId:"discard-changes-button"});let te=(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(eV,{projectId:e.id,selectedSiteId:eR,onSiteChange:e1}),(0,a.jsxs)(ec.AM,{children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"h-8 px-3 flex items-center gap-2",title:"Project cost and settings",children:[eN&&(0,a.jsxs)("span",{className:"text-sm font-medium",children:["$",ex.toFixed(3)]}),(0,a.jsx)(q.A,{className:"h-4 w-4"})]})}),(0,a.jsx)(ec.hl,{className:"w-96",align:"end",children:(0,a.jsx)(ed.O,{})})]})]}),tt=(0,a.jsxs)("div",{className:"space-y-2",children:[eN&&(0,a.jsx)("div",{className:"pb-2 border-b border-border/50",children:(0,a.jsxs)("span",{className:"text-sm font-medium",children:["Project cost: $",ex.toFixed(ex>=10?2:3)]})}),(0,a.jsxs)(ec.AM,{children:[(0,a.jsx)(ec.Wv,{asChild:!0,children:(0,a.jsxs)(N.$,{variant:"outline",size:"sm",className:"w-full justify-start",children:[(0,a.jsx)(q.A,{className:"h-4 w-4 mr-2"}),"Settings"]})}),(0,a.jsx)(ec.hl,{className:"w-[calc(100vw-2rem)]",align:"start",children:(0,a.jsx)(ed.O,{})})]})]});return(0,a.jsxs)(en.Bc,{children:[(0,a.jsxs)("div",{className:"h-screen flex flex-col",children:[(0,a.jsx)(G.j,{leftText:e.name,onLogoClick:t,actions:e7,mobileMenuContent:tt,desktopOnlyContent:te,mobileVisibleActions:v?["save"]:[]}),(0,a.jsxs)("div",{className:"hidden md:flex flex-1 overflow-hidden bg-background",children:[(0,a.jsxs)("div",{className:"w-10 bg-muted/70 border-r border-border flex flex-col items-center py-3 gap-1.5",children:[(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${ek?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:ek?"var(--button-assistant-active)":void 0,color:ek?"white":void 0},onClick:()=>eS(!ek),children:(0,a.jsx)(H.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-assistant-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-assistant-active)",fill:"var(--button-assistant-active)"},children:(0,a.jsx)("p",{children:"Chat"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${eC?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eC?"var(--button-files-active)":void 0,color:eC?"white":void 0},onClick:()=>eA(!eC),children:(0,a.jsx)(b.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-files-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-files-active)",fill:"var(--button-files-active)"},children:(0,a.jsx)("p",{children:"File Explorer"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${eT?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eT?"var(--button-editor-active)":void 0,color:eT?"white":void 0},onClick:()=>eE(!eT),children:(0,a.jsx)(D.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-editor-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-editor-active)",fill:"var(--button-editor-active)"},children:(0,a.jsx)("p",{children:"Code Editor"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 mx-1 rounded-sm flex items-center justify-center transition-all ${eP?"shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:eP?"var(--button-preview-active)":void 0,color:eP?"white":void 0},onClick:()=>e$(!eP),children:(0,a.jsx)(j.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0",style:{backgroundColor:"var(--button-preview-active)",color:"white"},arrowStyle:{backgroundColor:"var(--button-preview-active)",fill:"var(--button-preview-active)"},children:(0,a.jsx)("p",{children:"Preview"})})]}),(0,a.jsxs)(en.m_,{children:[(0,a.jsx)(en.k$,{asChild:!0,children:(0,a.jsx)("button",{className:`h-5 w-5 px-1 rounded-sm flex items-center justify-center transition-all ${eI?"bg-foreground shadow-sm":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{color:eI?"var(--background)":void 0},onClick:()=>eF(!eI),children:(0,a.jsx)(V.A,{className:"h-3.5 w-3.5"})})}),(0,a.jsx)(en.ZI,{side:"right",className:"border-0 bg-foreground text-background",arrowStyle:{backgroundColor:"var(--foreground)",fill:"var(--foreground)"},children:(0,a.jsx)("p",{children:"Debug Events"})})]})]}),(0,a.jsx)("div",{className:"flex-1 p-2 overflow-hidden","data-tour-id":"workspace-panels",children:(0,a.jsxs)(ea,{direction:"horizontal",autoSaveId:"workspace-layout",children:[ek&&(0,a.jsx)(er,{id:"chat",order:1,defaultSize:eH.chat,minSize:15,children:(0,a.jsx)(eO,{events:eM,onRestore:e5,onRetry:e6,prompt:o,setPrompt:c,generating:d,onGenerate:e8,onStop:e9,focusContext:A,setFocusContext:T,focusPreviewSnippet:e0,chatMode:E,setChatMode:P,currentModel:Z,setCurrentModel:Q,getModelDisplayName:eG,isTourLockingInput:ew,onClearChat:eq,onClose:()=>eS(!1)})}),ek&&(eC||eT||eP||eI)&&(0,a.jsx)(ei,{withHandle:!0}),eC&&(0,a.jsx)(er,{id:"files",order:2,defaultSize:eH.files,minSize:14,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-files-rgb), 0.01), rgba(var(--panel-files-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(F,{projectId:e.id,onFileSelect:e2,onClose:()=>eA(!1)})})}),eC&&(eT||eP)&&(0,a.jsx)(ei,{withHandle:!0}),eT&&(0,a.jsx)(er,{id:"editor",order:3,defaultSize:eH.editor,minSize:20,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-editor-rgb), 0.01), rgba(var(--panel-editor-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(B,{projectId:e.id,onFilesChange:e4,onClose:()=>eE(!1)})})}),eT&&eP&&(0,a.jsx)(ei,{withHandle:!0}),eP&&(0,a.jsx)(er,{id:"preview",order:4,defaultSize:eH.preview,minSize:20,children:(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-preview-rgb), 0.01), rgba(var(--panel-preview-rgb), 0.01)), var(--card)",minWidth:"240px"},children:(0,a.jsx)(W.X,{ref:R,projectId:e.id,refreshTrigger:s,onFocusSelection:eZ,hasFocusTarget:!!A,onClose:eQ,siteId:eR})})}),eP&&eI&&(0,a.jsx)(ei,{withHandle:!0}),eI&&(0,a.jsx)(er,{id:"debug",order:5,defaultSize:eH.debug,minSize:15,children:(0,a.jsx)(ej,{events:eM,onClear:eq,onClose:()=>eF(!1),projectId:e.id})})]})})]}),(0,a.jsxs)("div",{className:"flex md:hidden flex-1 overflow-hidden bg-background flex-col",children:[(0,a.jsxs)("div",{className:"flex-1 p-2 pb-16 overflow-hidden",children:["chat"===g&&(0,a.jsx)(eO,{events:eM,onRestore:e5,onRetry:e6,prompt:o,setPrompt:c,generating:d,onGenerate:e8,onStop:e9,focusContext:A,setFocusContext:T,focusPreviewSnippet:e0,chatMode:E,setChatMode:P,currentModel:Z,setCurrentModel:Q,getModelDisplayName:eG,isTourLockingInput:ew,onClearChat:eq}),"files"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-files-rgb), 0.01), rgba(var(--panel-files-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(F,{projectId:e.id,onFileSelect:e2,onClose:()=>eA(!1)})}),"editor"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-editor-rgb), 0.01), rgba(var(--panel-editor-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(B,{projectId:e.id,onFilesChange:e4,onClose:()=>eE(!1)})}),"preview"===g&&(0,a.jsx)("div",{className:"h-full border border-border rounded-lg shadow-sm overflow-hidden relative",style:{background:"linear-gradient(0deg, rgba(var(--panel-preview-rgb), 0.01), rgba(var(--panel-preview-rgb), 0.01)), var(--card)"},children:(0,a.jsx)(W.X,{ref:R,projectId:e.id,refreshTrigger:s,onFocusSelection:eZ,hasFocusTarget:!!A,onClose:eQ,siteId:eR})})]}),(0,a.jsx)("div",{className:"fixed bottom-0 left-0 right-0 bg-card border-t border-border",children:(0,a.jsxs)("div",{className:"flex justify-center items-center p-2 gap-2",children:[(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"chat"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"chat"===g?"var(--button-assistant-active)":void 0},onClick:()=>f("chat"),children:(0,a.jsx)(H.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"files"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"files"===g?"var(--button-files-active)":void 0},onClick:()=>f("files"),children:(0,a.jsx)(b.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"editor"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"editor"===g?"var(--button-editor-active)":void 0},onClick:()=>f("editor"),children:(0,a.jsx)(D.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{className:`flex items-center justify-center py-2 px-2 rounded-lg transition-all shadow-sm ${"preview"===g?"text-white":"bg-transparent text-muted-foreground hover:bg-muted/80 hover:text-foreground"}`,style:{backgroundColor:"preview"===g?"var(--button-preview-active)":void 0},onClick:()=>f("preview"),children:(0,a.jsx)(j.A,{className:"h-4 w-4"})})]})})]})]}),(0,a.jsx)(em.V,{location:"workspace"}),(0,a.jsx)(em.V,{location:"settings"})]})}s(61611),s(63974)},37826:(e,t,s)=>{s.d(t,{Cf:()=>d,Es:()=>u,L3:()=>h,c7:()=>m,lG:()=>l,rr:()=>p});var a=s(60687);s(43210);var r=s(26134),i=s(11860),n=s(96241);function l({...e}){return(0,a.jsx)(r.bL,{"data-slot":"dialog",...e})}function o({...e}){return(0,a.jsx)(r.ZL,{"data-slot":"dialog-portal",...e})}function c({className:e,...t}){return(0,a.jsx)(r.hJ,{"data-slot":"dialog-overlay",className:(0,n.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",e),...t})}function d({className:e,children:t,showCloseButton:s=!0,...l}){return(0,a.jsxs)(o,{"data-slot":"dialog-portal",children:[(0,a.jsx)(c,{}),(0,a.jsxs)(r.UC,{"data-slot":"dialog-content",className:(0,n.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-2xl duration-200",e),...l,children:[t,s&&(0,a.jsxs)(r.bm,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,a.jsx)(i.A,{}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function m({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"dialog-header",className:(0,n.cn)("flex flex-col gap-2 text-center sm:text-left",e),...t})}function u({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"dialog-footer",className:(0,n.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function h({className:e,...t}){return(0,a.jsx)(r.hE,{"data-slot":"dialog-title",className:(0,n.cn)("text-lg leading-none font-semibold",e),...t})}function p({className:e,...t}){return(0,a.jsx)(r.VY,{"data-slot":"dialog-description",className:(0,n.cn)("text-muted-foreground text-sm",e),...t})}},44624:(e,t,s)=>{s.d(t,{E:()=>r});var a=s(60687);function r({className:e}){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 48",fill:"currentColor",className:e,children:(0,a.jsx)("path",{d:"M40.575 0C39.9562 1.09866 39.4006 2.2352 38.8954 3.397C34.0967 2.67719 29.2096 2.67719 24.3982 3.397C23.9057 2.2352 23.3374 1.09866 22.7186 0C18.2104 0.770324 13.8157 2.12155 9.64839 4.02841C1.38951 16.2652 -0.845688 28.1863 0.265599 39.9432C5.10222 43.517 10.5197 46.2447 16.2909 47.9874C17.5916 46.2447 18.7407 44.3883 19.7257 42.4562C17.8568 41.7616 16.0509 40.8903 14.3208 39.88C14.7755 39.5517 15.2175 39.2107 15.6468 38.8824C25.7873 43.6559 37.5316 43.6559 47.6847 38.8824C48.1141 39.236 48.5561 39.577 49.0107 39.88C47.2806 40.9029 45.4748 41.7616 43.5931 42.4688C44.5781 44.4009 45.7273 46.2573 47.028 48C52.7991 46.2573 58.2167 43.5422 63.0533 39.9684C64.3666 26.3299 60.8055 14.5099 53.6452 4.04104C49.4905 2.13418 45.0959 0.782952 40.5876 0.0252565L40.575 0ZM21.1401 32.7072C18.0209 32.7072 15.4321 29.8785 15.4321 26.3804C15.4321 22.8824 17.9199 20.041 21.1275 20.041C24.3351 20.041 26.886 22.895 26.8354 26.3804C26.7849 29.8658 24.3224 32.7072 21.1401 32.7072ZM42.1788 32.7072C39.047 32.7072 36.4834 29.8785 36.4834 26.3804C36.4834 22.8824 38.9712 20.041 42.1788 20.041C45.3864 20.041 47.9246 22.895 47.8741 26.3804C47.8236 29.8658 45.3611 32.7072 42.1788 32.7072Z"})})}},45001:(e,t,s)=>{s.d(t,{j:()=>i});class a{constructor(e=""){this.baseUrl=e}async pushProject(e){try{let t=await fetch(`${this.baseUrl}/api/sync/projects`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:e})});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,project:s.project}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullProjects(){try{let e=await fetch(`${this.baseUrl}/api/sync/projects`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,projects:t.projects}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushFiles(e,t){try{let s=await fetch(`${this.baseUrl}/api/sync/files`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:e,files:t})});if(!s.ok){let e=await s.json();return{success:!1,error:e.error||`HTTP ${s.status}`}}let a=await s.json();return{success:!0,count:a.count}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullFiles(e){try{let t=await fetch(`${this.baseUrl}/api/sync/files?projectId=${encodeURIComponent(e)}`,{method:"GET"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,files:s.files}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushProjectWithFiles(e,t){let s=await this.pushProject(e);if(!s.success)return s;let a=await this.pushFiles(e.id,t);return a.success?{success:!0}:a}async pullProjectWithFiles(e){let t=await this.pullProjects();if(!t.success||!t.projects)return{success:!1,error:t.error||"Failed to pull projects"};let s=t.projects.find(t=>t.id===e);if(!s)return{success:!1,error:`Project ${e} not found on server`};let a=await this.pullFiles(e);return a.success?{success:!0,project:s,files:a.files||[]}:{success:!1,error:a.error||"Failed to pull files"}}async pushSingleProject(e,t,s){try{let a=await fetch(`${this.baseUrl}/api/sync/projects/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:t,files:s})});if(!a.ok){let e=await a.json();return{success:!1,error:e.error||`HTTP ${a.status}`}}let r=await a.json();return{success:!0,project:r.project}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullSingleProject(e){try{let t=await fetch(`${this.baseUrl}/api/sync/projects/${e}`,{method:"GET"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,project:s.project,files:s.files||[]}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async getSyncStatus(){try{let e=await fetch(`${this.baseUrl}/api/sync/status`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,projects:t.projects||[]}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullSkills(){try{let e=await fetch(`${this.baseUrl}/api/sync/skills`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,skills:t.skills||[]}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushSkills(e){try{let t=await fetch(`${this.baseUrl}/api/sync/skills`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({skills:e})});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:s.success,created:s.created,updated:s.updated,error:s.errors?.join(", ")}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullSkill(e){try{let t=await fetch(`${this.baseUrl}/api/sync/skills/${encodeURIComponent(e)}`,{method:"GET"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,skill:s.skill}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushSkill(e){try{let t=await fetch(`${this.baseUrl}/api/sync/skills/${encodeURIComponent(e.id)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({skill:e})});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,skill:s.skill,action:s.action}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async deleteSkillFromServer(e){try{let t=await fetch(`${this.baseUrl}/api/sync/skills/${encodeURIComponent(e)}`,{method:"DELETE"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}return{success:!0}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullTemplates(){try{let e=await fetch(`${this.baseUrl}/api/sync/templates`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,templates:t.templates||[]}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushTemplates(e){try{let t=await fetch(`${this.baseUrl}/api/sync/templates`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({templates:e})});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:s.success,created:s.created,updated:s.updated,error:s.errors?.join(", ")}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pullTemplate(e){try{let t=await fetch(`${this.baseUrl}/api/sync/templates/${encodeURIComponent(e)}`,{method:"GET"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,template:s.template}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async pushTemplate(e){try{let t=await fetch(`${this.baseUrl}/api/sync/templates/${encodeURIComponent(e.id)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({template:e})});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}let s=await t.json();return{success:!0,template:s.template,action:s.action}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async deleteTemplateFromServer(e){try{let t=await fetch(`${this.baseUrl}/api/sync/templates/${encodeURIComponent(e)}`,{method:"DELETE"});if(!t.ok){let e=await t.json();return{success:!1,error:e.error||`HTTP ${t.status}`}}return{success:!0}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}async getEnhancedSyncStatus(){try{let e=await fetch(`${this.baseUrl}/api/sync/status`,{method:"GET"});if(!e.ok){let t=await e.json();return{success:!1,error:t.error||`HTTP ${e.status}`}}let t=await e.json();return{success:!0,data:t}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Network error"}}}}let r=null;function i(){return r||(r=new a),r}},47696:(e,t,s)=>{s.d(t,{Ke:()=>l,Nt:()=>i,R6:()=>n});var a=s(60687),r=s(95682);function i({...e}){return(0,a.jsx)(r.bL,{"data-slot":"collapsible",...e})}function n({...e}){return(0,a.jsx)(r.R6,{"data-slot":"collapsible-trigger",...e})}function l({...e}){return(0,a.jsx)(r.Ke,{"data-slot":"collapsible-content",...e})}},50047:(e,t,s)=>{s.d(t,{P:()=>p});var a=s(56085),r=s(82080),i=s(45583),n=s(18179),l=s(61187),o=s(11437),c=s(24413),d=s(16023),m=s(61611),u=s(65668),h=s(82679);let p=[{id:"whats-new",title:"What's New",icon:a.A,file:"WHATS_NEW.md"},{id:"overview",title:"Overview",icon:r.A,file:"OVERVIEW.md"},{id:"getting-started",title:"Getting Started",icon:i.A,file:"GETTING_STARTED.md"},{id:"projects",title:"Projects",icon:n.A,file:"PROJECTS.md"},{id:"working-with-ai",title:"Working with AI",icon:a.A,file:"WORKING_WITH_AI.md"},{id:"templates",title:"Templates",icon:l.A,file:"TEMPLATES.md"},{id:"skills",title:"Skills",icon:a.A,file:"SKILLS.md"},{id:"deploying-sites",title:"Deploying Sites",icon:o.A,file:"DEPLOYING_SITES.md"},{id:"server-mode",title:"Server Mode",icon:c.A,file:"SERVER_MODE.md"},{id:"site-publishing",title:"Site Publishing",icon:d.A,file:"SITE_PUBLISHING.md"},{id:"server-features",title:"Server Features",icon:m.A,file:"SERVER_FEATURES.md"},{id:"faq",title:"FAQ",icon:u.A,file:"FAQ.md"},{id:"troubleshooting",title:"Troubleshooting",icon:h.A,file:"TROUBLESHOOTING.md"}]},59784:(e,t,s)=>{s.d(t,{captureIframeScreenshot:()=>n});var a=s(94424),r=s(96241);async function i(e,t,s,i){let n;return i?(n=Math.max(e.body.scrollHeight,e.body.offsetHeight,e.documentElement.clientHeight,e.documentElement.scrollHeight,e.documentElement.offsetHeight),r.v.debug("[Screenshot] Full-page mode: document height =",n)):(n=s,r.v.debug("[Screenshot] Viewport-only mode: using height =",n)),r.v.debug("[Screenshot] Capture dimensions:",t,"x",n),Promise.race([(0,a.A)(e.body,{width:t,height:n,scale:1,useCORS:!0,allowTaint:!0,logging:!1,windowWidth:t,windowHeight:n,scrollX:0,scrollY:0,imageTimeout:3e3,backgroundColor:"#ffffff",removeContainer:!0,onclone:e=>{e.querySelectorAll('link[rel="stylesheet"]').forEach(e=>{let t=e.getAttribute("href");t&&(t.startsWith("http://")||t.startsWith("https://"))&&e.remove()});let t=e.querySelectorAll("*"),s=e.defaultView;s&&t.forEach(e=>{let t=s.getComputedStyle(e),a=t.backgroundImage;if(a&&(a.includes("gradient")||a.includes("linear-gradient")||a.includes("radial-gradient"))){let s=t.backgroundColor;e.style.backgroundImage="none",s&&"rgba(0, 0, 0, 0)"!==s&&"transparent"!==s?e.style.backgroundColor=s:e.style.backgroundColor="#64748b"}})}}),new Promise((e,t)=>setTimeout(()=>t(Error("html2canvas timeout after 4 seconds")),4e3))])}async function n(e,t=1280,s=720,a=640,l=360,o=.8,c=!0){try{let n,l=e.contentDocument||e.contentWindow?.document;if(!l||!l.body)return r.v.warn("Cannot access iframe document"),null;try{n=await i(l,t,s,c)}catch(a){let e=String(a);if(e.includes("non-finite")||e.includes("addColorStop")||e.includes("CanvasGradient"))await new Promise(e=>setTimeout(e,500)),n=await i(l,t,s,c);else throw a}let d=n.height/n.width,m=Math.round(a*d),u=document.createElement("canvas");u.width=a,u.height=m;let h=u.getContext("2d");if(!h)return r.v.error("Failed to get canvas context"),null;h.drawImage(n,0,0,a,m);let p=u.toDataURL("image/jpeg",o),x=Math.ceil(3*p.length/4)/1024;if(x>250){r.v.warn(`Screenshot too large: ${x.toFixed(0)}KB, trying with lower quality`);let e=u.toDataURL("image/jpeg",.6),t=Math.ceil(3*e.length/4)/1024;return t>250&&r.v.warn(`Screenshot still too large: ${t.toFixed(0)}KB`),e}return p}catch(e){return r.v.error("Failed to capture screenshot:",e),null}}},75589:(e,t,s)=>{s.d(t,{n:()=>a});class a{async init(){return new Promise((e,t)=>{let s=indexedDB.open("osw-studio-db",4);s.onerror=()=>t(s.error),s.onsuccess=()=>{this.db=s.result,e()},s.onupgradeneeded=e=>{let t=e.target.result;if(!t.objectStoreNames.contains("projects")){let e=t.createObjectStore("projects",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("createdAt","createdAt",{unique:!1})}if(!t.objectStoreNames.contains("files")){let e=t.createObjectStore("files",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("type","type",{unique:!1})}if(!t.objectStoreNames.contains("fileTree")){let e=t.createObjectStore("fileTree",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("path",["projectId","path"],{unique:!0}),e.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!t.objectStoreNames.contains("conversations")){let e=t.createObjectStore("conversations",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!t.objectStoreNames.contains("checkpoints")){let e=t.createObjectStore("checkpoints",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}if(!t.objectStoreNames.contains("customTemplates")){let e=t.createObjectStore("customTemplates",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("importedAt","importedAt",{unique:!1})}if(!t.objectStoreNames.contains("skills")){let e=t.createObjectStore("skills",{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("isBuiltIn","isBuiltIn",{unique:!1})}if(!t.objectStoreNames.contains("debugEvents")){let e=t.createObjectStore("debugEvents",{keyPath:"id"});e.createIndex("projectId","projectId",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}}})}getDB(){if(!this.db)throw Error("Database not initialized. Call init() first.");return this.db}getDatabase(){return this.getDB()}async createProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.add(e))}async getProject(e){let t=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),s=await this.promisify(t.get(e));return s?this.hydrateProject(s):null}async updateProject(e){let t=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(t.put(e))}async deleteProject(e){let t=this.getDB();await this.deleteProjectFiles(e);let s=t.transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(s.delete(e))}async listProjects(){let e=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),t=await this.promisify(e.getAll());return t?.map(e=>this.hydrateProject(e))||[]}async createFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.add(e))}async getFile(e,t){let s=this.getDB().transaction(["files"],"readonly").objectStore("files").index("path");return await this.promisify(s.get([e,t]))||null}async updateFile(e){let t=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(t.put(e))}async deleteFile(e,t){let s=await this.getFile(e,t);if(s){let e=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(e.delete(s.id))}}async listFiles(e){let t=this.getDB().transaction(["files"],"readonly").objectStore("files").index("projectId");return await this.promisify(t.getAll(e))||[]}async deleteProjectFiles(e){let t=await this.listFiles(e),s=this.getDB().transaction(["files"],"readwrite").objectStore("files");for(let e of t)await this.promisify(s.delete(e.id))}async createTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.add(e))}async getTreeNode(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("path");return await this.promisify(s.get([e,t]))||null}async updateTreeNode(e){let t=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(t.put(e))}async deleteTreeNode(e,t){let s=await this.getTreeNode(e,t);if(s){let e=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(e.delete(s.id))}}async getChildNodes(e,t){let s=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("parentPath");return await this.promisify(s.getAll(null===t?[e]:[e,t]))||[]}async getAllTreeNodes(e){let t=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("projectId");return await this.promisify(t.getAll(e))||[]}promisify(e){return new Promise((t,s)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>s(e.error)})}hydrateProject(e){return{...e,createdAt:e.createdAt?new Date(e.createdAt):new Date,updatedAt:e.updatedAt?new Date(e.updatedAt):new Date,lastSavedAt:e.lastSavedAt?new Date(e.lastSavedAt):null}}async saveCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.put(e))}async getCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates"),s=await this.promisify(t.get(e));return s?this.hydrateCustomTemplate(s):null}async getAllCustomTemplates(){let e=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates");return(await this.promisify(e.getAll())).map(e=>this.hydrateCustomTemplate(e))}async deleteCustomTemplate(e){let t=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(t.delete(e))}hydrateCustomTemplate(e){return{...e,importedAt:e.importedAt?new Date(e.importedAt):new Date}}constructor(){this.db=null}}},75639:(e,t,s)=>{s.d(t,{ZQ:()=>r,Nr:()=>l,vY:()=>a,c3:()=>n});let a={name:"Example Studios",description:"Creative agency portfolio showcasing modern web development capabilities",directories:["/styles","/scripts","/portfolio","/assets","/assets/images","/templates"],files:[{path:"/index.html",content:` - - - - - Example Studios - Creative Agency - - - - - {{> navigation}} - -
-
-
-

Crafting Digital Experiences

-

We create stunning websites and digital solutions that captivate audiences and drive results

- -
-
- -
-
-

What We Do

-

From concept to launch, we deliver exceptional digital experiences

-
- -
-
-
Design
-

Web Design

-

Beautiful, user-centered designs that make lasting impressions

- See Our Work -
- -
-
Code
-

Development

-

Fast, responsive websites built with modern technologies

- View Projects -
- -
-
Mobile
-

Mobile Apps

-

Native and web applications that users love to use

- Get Started -
-
-
- - - -
-
-

Ready to Build Something Amazing?

-

Let's turn your ideas into reality. We'd love to hear about your project.

- Start Your Project -
-
- -
- - {{> footer}} - - - -`},{path:"/portfolio.html",content:` - - - - - Portfolio - Example Studios - - - - - - - -
-
-
-

Our Portfolio

-

Explore our recent projects and see how we bring ideas to life

-
-
- -
-
-
-

Our Work

-

Filter by category to explore our diverse portfolio of projects

-
- -
- - - - -
- -
- - -
- Fitness Tracker App -
-

Fitness Tracker App

-

Cross-platform mobile app for health and wellness tracking

-
- React Native - Firebase - Redux -
-
-
- -
- Green Earth Campaign -
-

Green Earth Campaign

-

Complete brand identity for environmental awareness initiative

-
- Brand Design - Illustration - Print -
-
-
- -
- Web Application -
-

Web Application

-

Interactive web application with modern features

-
- React - Node.js - PostgreSQL -
-
-
- -
- Recipe Sharing App -
-

Recipe Sharing App

-

Social platform for food enthusiasts to share and discover recipes

-
- Flutter - AWS - ML Kit -
-
-
- -
- StartupLab Identity -
-

StartupLab Identity

-

Modern brand identity for tech incubator and coworking space

-
- Logo Design - Web Design - Marketing -
-
-
-
-
-
- -
-
-

Ready to Build Something Amazing?

-

Let's turn your ideas into reality. We'd love to hear about your project.

- Start Your Project -
-
-
- - {{> footer}} - - - - -`},{path:"/about.html",content:` - - - - - About - Example Studios - - - - - - -
-
-
-

About Example Studios

-

We're a passionate team of designers and developers crafting exceptional digital experiences that make a difference.

-
-
- -
- -
-
-

Our Story

-

From humble beginnings to digital excellence

-
-
-
-
🚀
-

Founded in 2020

-

Example Studios emerged from a simple belief: great design should be accessible to everyone. What started as a small team of passionate creators has grown into a full-service digital agency.

-
- -
-
💡
-

Our Philosophy

-

We believe in the power of collaboration, the importance of user-centered design, and the magic that happens when creativity meets technology.

-
-
-
- -
-
-

Our Mission

-

Crafting digital experiences that make a difference

-
-
-
🎯
-

Empowering Through Design

-

To empower businesses and individuals with stunning, functional digital solutions that not only look great but drive real results. We're not just building websites and applications; we're crafting digital experiences that connect, engage, and inspire.

- Start Your Project -
-
- -
-
-

Our Team

-
-
-
- Sarah Johnson -

Sarah Johnson

-
Creative Director
-

With over 8 years in design, Sarah leads our creative vision and ensures every project tells a compelling story.

-
- -
- Mike Chen -

Mike Chen

-
Lead Developer
-

Mike transforms designs into responsive, performant web experiences using the latest technologies and best practices.

-
- -
- Emily Rodriguez -

Emily Rodriguez

-
UX Designer
-

Emily ensures every user interaction is intuitive and delightful, backed by research and user testing.

-
-
-
- -
-
-

Our Values

-
-
-
-
Creativity
-

Creativity First

-

We believe every project deserves a unique, creative approach that stands out in the digital landscape.

-
- -
-
Performance
-

Performance Driven

-

Beautiful designs mean nothing without flawless performance. We optimize for speed, accessibility, and user experience.

-
- -
-
Partnership
-

Collaboration

-

The best results come from working closely with our clients as partners, not just service providers.

-
- -
-
Innovation
-

Innovation

-

We stay ahead of industry trends and constantly explore new technologies to deliver cutting-edge solutions.

-
-
-
- -
-
-

Ready to Build Something Amazing?

-

Let's turn your ideas into reality. We'd love to hear about your project.

- Start Your Project -
-
-
-
- - {{> footer}} - - - -`},{path:"/styles/main.css",content:`/* Main Stylesheet - Shared across all pages */ - -:root { - --primary: #ea580c; - --primary-dark: #c2410c; - --secondary: #0891b2; - --secondary-dark: #0e7490; - --accent: #f59e0b; - --neutral: #64748b; - --bg: linear-gradient(180deg, #ffffff 0%, #fdfdfd 100%); - --bg-secondary: linear-gradient(180deg, #f4f4f4 0%, #f8fafc 100%); - --text: #1e293b; - --text-light: #64748b; - --border: #e2e8f0; - --radius: 12px; - --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); - - /* Layout variables */ - --navbar-height: 65px; - --navbar-bg: rgba(255, 255, 255, 0.95); - --hero-gradient-blue: rgba(26, 54, 93, 0.9); - --hero-gradient-orange: rgba(255, 123, 0, 0.8); - - /* Responsive Typography Scale (Mobile-first) */ - --text-xs: 0.75rem; - --text-sm: 0.875rem; - --text-base: 1rem; - --text-lg: 1.125rem; - --text-xl: 1.25rem; - --text-2xl: 1.5rem; - --text-3xl: 1.875rem; - --text-4xl: 2.25rem; - --text-5xl: 3rem; - --text-6xl: 3.75rem; - - /* Semantic Typography Variables */ - --heading-h1: var(--text-4xl); - --heading-h2: var(--text-3xl); - --heading-h3: var(--text-xl); - --heading-h4: var(--text-lg); - --heading-h5: var(--text-base); - --text-subtitle: var(--text-lg); - --text-body: var(--text-base); - --text-small: var(--text-sm); - - /* Responsive Spacing Scale */ - --space-1: 0.25rem; - --space-2: 0.5rem; - --space-3: 0.75rem; - --space-4: 1rem; - --space-5: 1.25rem; - --space-6: 1.5rem; - --space-8: 2rem; - --space-10: 2.5rem; - --space-12: 3rem; - --space-16: 4rem; - --space-20: 5rem; - - /* Container and Grid Variables */ - --container-padding: var(--space-4); - --grid-gap: var(--space-6); - --card-padding: var(--space-6); - --section-spacing: var(--space-12); -} - -/* Tablet Breakpoint - 768px+ */ -@media (min-width: 768px) { - :root { - /* Larger typography for tablet */ - --text-3xl: 2.25rem; - --text-4xl: 2.75rem; - --text-5xl: 3.5rem; - --text-6xl: 4.5rem; - - /* Updated semantic typography for tablet */ - --heading-h1: var(--text-4xl); - --heading-h2: var(--text-3xl); - --heading-h3: var(--text-2xl); - --heading-h4: var(--text-xl); - --text-subtitle: var(--text-xl); - - /* Increased spacing for tablet */ - --container-padding: var(--space-6); - --grid-gap: var(--space-8); - --card-padding: var(--space-8); - --section-spacing: var(--space-16); - } -} - -/* Desktop Breakpoint - 1024px+ */ -@media (min-width: 1024px) { - :root { - /* Larger typography for desktop */ - --text-4xl: 2.5rem; - --text-5xl: 3rem; - --text-6xl: 3.5rem; - - /* Updated semantic typography for desktop */ - --heading-h1: var(--text-4xl); - --heading-h2: var(--text-3xl); - --heading-h3: var(--text-2xl); - --heading-h4: var(--text-xl); - - /* Increased spacing for desktop */ - --container-padding: var(--space-8); - --grid-gap: var(--space-10); - --card-padding: var(--space-10); - --section-spacing: var(--space-20); - } -} - -/* Large Desktop Breakpoint - 1200px+ */ -@media (min-width: 1200px) { - :root { - /* Maximum typography scaling */ - --text-6xl: 4rem; - - /* Maximum spacing */ - --section-spacing: var(--space-24, 6rem); - } -} - -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} - -body { - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; - background: var(--bg); - color: var(--text); - line-height: 1.6; -} - -/* Navigation */ -.navbar { - padding: var(--space-4) var(--container-padding); - display: flex; - justify-content: space-between; - align-items: center; - position: fixed; - top: 0; - left: 0; - right: 0; - z-index: 1000; - transition: transform 0.3s ease; - backdrop-filter: opacity(0); - background: var(--navbar-bg); - height: var(--navbar-height); -} - -.navbar.hidden { - transform: translateY(-100%); -} - -body { - padding-top: var(--navbar-height); -} - -.nav-brand { - font-size: var(--text-xl); - font-weight: 600; - color: var(--text); - text-decoration: none; - display: flex; - align-items: center; - gap: var(--space-2); -} - -.nav-logo { - width: 28px; - height: 28px; -} - -.nav-menu { - display: flex; - list-style: none; - gap: var(--space-6); -} - -.nav-link { - color: var(--text-light); - text-decoration: none; - transition: all 0.2s ease; - border-radius: var(--space-1); - padding: var(--space-2); -} - -.nav-link:hover, -.nav-link.active { - color: var(--primary); -} - -.nav-link:focus { - outline: none; -} - -/* Hamburger Menu Button */ -.nav-toggle { - display: none; - flex-direction: column; - justify-content: space-between; - width: 24px; - height: 18px; - background: transparent; - border: none; - cursor: pointer; - padding: 0; - z-index: 1001; - border-radius: var(--space-1); -} - -.nav-toggle:focus { - outline: none; -} - -.hamburger-line { - width: 100%; - height: 2px; - background: var(--text); - transition: all 0.3s ease; - transform-origin: center; -} - -.nav-toggle.active .hamburger-line:nth-child(1) { - transform: rotate(45deg) translate(6px, 6px); -} - -.nav-toggle.active .hamburger-line:nth-child(2) { - opacity: 0; -} - -.nav-toggle.active .hamburger-line:nth-child(3) { - transform: rotate(-45deg) translate(6px, -6px); -} - -/* Tablet Responsive - Enhanced desktop experience */ -@media (min-width: 768px) and (max-width: 1023px) { - .nav-menu { - gap: var(--space-4); - } - - .nav-link { - font-size: var(--text-sm); - padding: var(--space-2) var(--space-3); - } -} - -/* Mobile Menu Styles - Hamburger menu only on mobile */ -@media (max-width: 767px) { - .nav-toggle { - display: flex; - } - - .navbar.menu-open { - background: rgba(255, 255, 255, 1); - backdrop-filter: opacity(0); - } - - .nav-menu { - position: fixed; - top: var(--navbar-height); - left: 0; - right: 0; - background: #fff; - backdrop-filter: opacity(0); - flex-direction: column; - padding: var(--space-6) var(--space-4) var(--space-8); - gap: 0; - transform: translateY(-100%); - opacity: 0; - visibility: hidden; - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); - } - - .nav-menu.active { - transform: translateY(0); - opacity: 1; - visibility: visible; - } - - .nav-link { - font-size: var(--text-lg); - font-weight: 500; - padding: var(--space-2) var(--space-6); - border-radius: var(--space-2); - background: transparent; - border: none; - transition: all 0.2s ease; - position: relative; - width: fit-content; - display: block; - margin: 0 auto; - } - - .nav-link:hover { - background: var(--bg-secondary); - color: var(--primary); - transform: translateY(-2px); - } - - .nav-link.active { - background: var(--primary); - color: white; - font-weight: 600; - } - - .nav-link.active::before { - content: ''; - position: absolute; - left: 0; - top: 50%; - transform: translateY(-50%); - width: 4px; - height: 20px; - background: white; - border-radius: 2px; - } -} - -/* Container */ -.container { - max-width: 1000px; - margin: 0 auto; - padding: var(--card-padding); -} - -/* Universal Heading Styles */ -h1 { - font-size: var(--heading-h1); - margin-bottom: var(--space-4); - font-weight: 700; - line-height: 1.2; -} - -h2 { - font-size: var(--heading-h2); - margin-bottom: var(--space-4); - font-weight: 600; - line-height: 1.3; -} - -h3 { - font-size: var(--heading-h3); - margin-bottom: var(--space-3); - font-weight: 600; - line-height: 1.4; -} - -h4 { - font-size: var(--heading-h4); - margin-bottom: var(--space-2); - font-weight: 600; - line-height: 1.4; -} - -h5 { - font-size: var(--heading-h5); - margin-bottom: var(--space-2); - font-weight: 600; - line-height: 1.5; -} - -p { - color: var(--text-light); - font-size: var(--text-body); - margin-bottom: var(--space-8); - line-height: 1.6; -} - -/* Cards */ -.card-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); - gap: var(--space-6); - margin-bottom: var(--section-spacing); -} - -.card { - background: var(--bg-secondary); - padding: var(--card-padding); - border-radius: var(--radius); - text-align: center; -} - -.card h2 { - font-size: var(--heading-h2); - margin-bottom: var(--space-4); -} - -.card p { - font-size: var(--text-body); - margin-bottom: var(--space-6); -} - -/* Buttons */ -.btn { - display: inline-block; - background: var(--primary); - color: white; - padding: var(--space-3) var(--space-6); - border: none; - border-radius: var(--radius); - cursor: pointer; - text-decoration: none; - font-size: var(--text-body); - font-weight: 500; - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); -} - -.btn:hover { - background: var(--primary-dark); - transform: translateY(-2px); - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); -} - -.btn:active { - transform: translateY(0); - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); -} - -.btn:focus { - outline: none; -} - -.btn-small { - padding: var(--space-2) var(--space-4); - font-size: var(--text-sm); -} - -/* Hero Section */ -.hero { - height: calc(100vh - var(--navbar-height) - var(--container-padding)); - background: linear-gradient(135deg, var(--hero-gradient-blue), var(--hero-gradient-orange)), - url('/assets/images/example-background.jpg') center/cover; - background-size: contain; - color: white; - display: flex; - align-items: center; - justify-content: center; - text-align: center; - padding: var(--space-8) var(--container-padding); - position: relative; - overflow: hidden; - margin: 0rem var(--container-padding) var(--section-spacing); - border-radius: var(--radius); -} - -.hero.sub-page { - height: calc(50vh + var(--navbar-height)); - min-height: calc(300px + var(--navbar-height)); -} - -.hero-content { - max-width: 800px; - z-index: 1; -} - -.hero h1 { - font-size: var(--text-4xl); - margin-bottom: var(--space-4); - font-weight: 700; - text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); -} - -.hero-subtitle { - font-size: var(--text-subtitle); - opacity: 0.95; - margin-bottom: var(--space-8); - color: white; -} - -.hero-buttons { - display: flex; - gap: var(--space-4); - justify-content: center; - flex-wrap: wrap; -} - -.btn-primary { - background: var(--primary); - color: white; -} - -.btn-primary:hover { - background: var(--primary-dark); - transform: translateY(-2px) scale(1.02); - box-shadow: 0 6px 16px rgba(234, 88, 12, 0.25); -} - -.btn-primary:focus { - outline: none; -} - -.btn-secondary { - background: rgba(255, 255, 255, 0.2); - color: white; - backdrop-filter: opacity(0); - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); -} - -.btn-secondary:hover { - background: rgba(255, 255, 255, 0.3); - transform: translateY(-2px) scale(1.02); - box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); -} - -.btn-secondary:focus { - outline: none; -} - -/* Features Section */ -.features-section { - padding: var(--section-spacing) 0; - background: var(--bg-secondary); - border-radius: var(--radius); - margin-top: var(--section-spacing); -} - -.feature-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); - gap: var(--space-6); - margin-top: var(--space-8); -} - -.feature { - text-align: center; - padding: var(--space-6); -} - -.feature-icon { - font-size: 0.9rem; - font-weight: 600; - color: var(--secondary); - text-transform: uppercase; - letter-spacing: 0.1em; - display: block; - margin-bottom: var(--space-4); -} - -.feature h3 { - color: var(--secondary-dark); - margin-bottom: 0.5rem; -} - -.feature p { - color: var(--text-light); - font-size: var(--text-body); -} - -/* Example Section */ -.example-section { - background: var(--bg-secondary); - padding: var(--card-padding); - border-radius: var(--radius); - text-align: center; -} - -/* Aurora Studios Specific Styles */ -.section-subtitle { - font-size: var(--text-subtitle); - color: var(--text-light); - margin-bottom: var(--section-spacing); - text-align: center; - max-width: 600px; - margin-left: auto; - margin-right: auto; -} - -/* What We Do section title */ -#services h2 { - text-align: center; -} - -.service-icon { - font-size: var(--text-small); - font-weight: 600; - color: var(--primary); - text-transform: uppercase; - letter-spacing: 0.1em; - margin-bottom: var(--space-6); - display: block; -} - -/* Featured Work Section */ -.featured-work { - padding: var(--section-spacing) 0; - background: var(--bg-secondary); -} - -.featured-work h2 { - font-size: var(--heading-h2); - text-align: center; - margin-bottom: var(--section-spacing); - color: var(--text); -} - -.work-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); - gap: var(--space-6); - max-width: 1200px; - margin: 0 auto; - padding: 0 var(--space-8); -} - -.work-item { - background: white; - border-radius: var(--radius); - overflow: hidden; - box-shadow: var(--shadow); - transition: transform 0.3s ease; -} - -.work-item:hover { - transform: translateY(-5px); -} - -.section-cta { - text-align: center; - margin-top: var(--space-8); - padding-top: var(--space-6); - border-top: 1px solid var(--border); -} - -.featured-work-cta { - text-align: center; - margin-top: var(--space-8); -} - -.work-image { - width: 100%; - height: 250px; - object-fit: cover; -} - -.work-info { - padding: var(--space-6); -} - -.work-info h3 { - color: var(--primary); - margin-bottom: var(--space-2); -} - -.work-info p { - color: var(--text-light); - font-size: var(--text-body); -} - -/* CTA Section */ -.cta-section { - background: linear-gradient(135deg, var(--secondary), var(--primary)); - color: white; - padding: var(--section-spacing) var(--space-8); - text-align: center; - margin: var(--section-spacing) var(--space-4); - border-radius: var(--radius); -} - -.cta-content h2 { - margin-bottom: var(--space-4); - font-size: var(--heading-h2); -} - -.cta-content p { - font-size: var(--text-subtitle); - opacity: 0.9; - margin-bottom: var(--space-8); - color: white; -} - -.cta-section .btn { - background: white; - color: var(--text); - font-weight: 600; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); -} - -.cta-section .btn:hover { - background: var(--bg-secondary); - transform: translateY(-2px) scale(1.02); - box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); -} - -.cta-section .btn:focus { - outline: none; -} - -/* Page Header - Shared across sub-pages */ -.page-header { - text-align: center; - margin-bottom: var(--section-spacing); -} - -.page-header h1 { - font-size: var(--heading-h1); - margin-bottom: var(--space-4); - color: var(--text); -} - -.page-subtitle { - font-size: var(--text-subtitle); - color: var(--text-light); - max-width: 600px; - margin: 0 auto; -} - -/* Section Header Component */ -.section-header { - text-align: center; - margin-bottom: var(--section-spacing); -} - -.section-header h2 { - font-size: var(--heading-h2); - color: var(--text); - margin-bottom: var(--space-3); - position: relative; -} - -.section-header h2::after { - content: ''; - position: absolute; - bottom: -0.75rem; - left: 50%; - transform: translateX(-50%); - width: 2rem; - height: 3px; - background: var(--primary); - border-radius: 2px; -} - -.section-header .section-subtitle { - font-size: var(--text-subtitle); - color: var(--text-light); - margin-top: var(--space-6); - margin-bottom: 0; - max-width: 600px; - margin-left: auto; - margin-right: auto; - line-height: 1.6; -} - -/* Content Sections - Shared layout styles */ -.content-section { - margin-bottom: var(--section-spacing); -} - -.content-section h2 { - font-size: var(--heading-h2); - color: var(--text); - margin-bottom: var(--space-4); - position: relative; -} - -.content-section p { - font-size: var(--text-subtitle); - line-height: 1.8; - color: var(--text-light); - margin-bottom: var(--space-6); - text-align: center; -} - -/* Team Grid - Shared component */ -.team-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); - gap: var(--space-6); - margin-top: var(--space-8); -} - -.team-member { - text-align: center; - padding: var(--card-padding); - background: var(--bg-secondary); - border-radius: var(--radius); - transition: transform 0.3s ease, box-shadow 0.3s ease; -} - -.team-member:hover { - transform: translateY(-5px); - box-shadow: var(--shadow); -} - -.team-member img { - width: 100px; - height: 100px; - border-radius: 50%; - object-fit: cover; - margin-bottom: var(--space-4); - border: 3px solid var(--primary); -} - -.team-member h3 { - font-size: var(--heading-h3); - color: var(--text); - margin-bottom: var(--space-2); -} - -.team-member .role { - color: var(--primary); - font-weight: 600; - margin-bottom: var(--space-4); -} - -.team-member p { - font-size: var(--text-small); - color: var(--text-light); - line-height: 1.6; -} - -/* Contact Page Components */ -.contact-card .contact-detail { - font-weight: 600; - color: var(--primary); - font-size: var(--text-base); - margin: var(--space-4) 0; - padding: var(--space-3); - background: var(--bg-secondary); - border-radius: var(--space-2); - text-align: center; -} - -.contact-form-section { - max-width: 600px; - margin: 0 auto; - background: white; - padding: var(--card-padding); - border-radius: var(--radius); - box-shadow: var(--shadow); -} - -.social-proof-container { - max-width: 800px; - margin: 0 auto; - text-align: center; -} - -/* Tablet Responsive Styles */ -@media (min-width: 768px) and (max-width: 1023px) { - /* Hero adjustments for tablet */ - .hero.sub-page { - height: calc(50vh + var(--navbar-height)); - min-height: calc(350px + var(--navbar-height)); - } - - /* Grid layout adjustments for tablet */ - .card-grid, - .work-grid, - .team-grid, - .portfolio-grid { - grid-template-columns: repeat(2, 1fr); - gap: var(--space-6); - } - -} - -/* Mobile Responsive Styles */ -@media (max-width: 767px) { - :root { - /* Mobile-optimized typography */ - --heading-h1: var(--text-3xl); - --heading-h2: var(--text-2xl); - --heading-h3: var(--text-lg); - --text-subtitle: var(--text-base); - - /* Tighter spacing for mobile */ - --section-spacing: var(--space-10); - --card-padding: var(--space-4); - } - - /* Hero section mobile adjustments */ - .hero { - margin: 0rem var(--space-4) var(--section-spacing); - padding: var(--space-6) var(--space-4); - } - - .hero h1 { - font-size: var(--text-4xl); - } - - .hero.sub-page { - height: calc(40vh + var(--navbar-height)); - min-height: calc(250px + var(--navbar-height)); - } - - /* Grid layout adjustments - single column for mobile */ - .card-grid, - .work-grid, - .team-grid, - .portfolio-grid { - grid-template-columns: 1fr; - gap: var(--space-4); - } - - - /* Mobile button improvements */ - .btn { - width: 100%; - max-width: 280px; - text-align: center; - } - - .hero-buttons { - flex-direction: column; - align-items: center; - gap: var(--space-3); - } - - /* Mobile typography improvements */ - p { - margin-bottom: var(--space-6); - } - - /* Contact form mobile adjustments */ - .form-row { - grid-template-columns: 1fr; - gap: var(--space-4); - margin-bottom: var(--space-4); - } - - .social-proof-stats { - grid-template-columns: 1fr; - gap: var(--space-6); - } - - .social-proof-text { - margin-left: 0; - border-left: none; - border-top: 3px solid var(--primary); - padding-left: 0; - padding-top: var(--space-4); - } -} - -.contact-info h2 { - font-size: var(--heading-h2); - color: var(--text); - margin-bottom: var(--space-4); -} - -.contact-info p { - font-size: var(--text-subtitle); - line-height: 1.8; - color: var(--text-light); - margin-bottom: var(--space-8); -} - - -/* Contact Form - Refactored */ -.contact-form-container { - padding: var(--card-padding); -} - -.contact-form-container .section-header { - text-align: left; - margin-bottom: var(--space-8); -} - -.contact-form-container .section-header h2 { - font-size: var(--heading-h2); - color: var(--text); - margin-bottom: var(--space-3); -} - -.contact-form-container .section-header p { - color: var(--text-light); - font-size: var(--text-base); - margin: 0; -} - -.form-row { - display: grid; - grid-template-columns: 1fr 1fr; - gap: var(--space-4); - margin-bottom: var(--space-6); -} - -.form-group { - margin-bottom: var(--space-6); -} - -.form-group label { - display: block; - font-weight: 600; - color: var(--text); - font-size: var(--text-body); - margin-bottom: var(--space-2); -} - -.form-group input, -.form-group select, -.form-group textarea { - width: 100%; - padding: var(--space-4); - border: 2px solid var(--border); - border-radius: var(--radius); - font-size: var(--text-body); - transition: border-color 0.3s ease, box-shadow 0.3s ease; -} - -.form-group input:focus, -.form-group select:focus, -.form-group textarea:focus { - outline: none; - border-color: var(--primary); - box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1); -} - -.form-group textarea { - resize: vertical; - min-height: 120px; -} - -.checkbox-group { - display: flex; - align-items: flex-start; - gap: var(--space-2); -} - -.checkbox-group input[type="checkbox"] { - width: auto; - margin: 0; - transform: scale(1.2); -} - -.checkbox-group label { - margin-bottom: 0; - font-weight: normal; - font-size: var(--text-small); - cursor: pointer; -} - -.error-message { - color: #ef4444; - font-size: var(--text-sm); - margin-top: var(--space-1); - display: block; -} - -.btn-full { - width: 100%; - padding: var(--space-4) var(--space-8); - font-size: var(--text-subtitle); - font-weight: 600; -} - -.form-success { - display: none; - background: #10b981; - color: white; - padding: var(--space-6); - border-radius: var(--radius); - margin-top: var(--space-4); - text-align: center; - border: 1px solid #059669; -} - -.form-success.show { - display: flex; - align-items: center; - justify-content: center; - gap: var(--space-3); -} - -.form-success .success-icon { - display: flex; - align-items: center; - justify-content: center; - width: 32px; - height: 32px; - background: rgba(255, 255, 255, 0.2); - border-radius: 50%; - flex-shrink: 0; -} - -.form-success .success-icon svg { - width: 20px; - height: 20px; - stroke: white; - stroke-width: 3; -} - -.form-success p { - margin: 0; - font-weight: 500; - font-size: var(--text-body); -} - -/* Social Proof Section */ -.contact-social-proof { - background: var(--bg-secondary); - padding: var(--card-padding); - border-radius: var(--radius); - border: 2px solid var(--border); -} - -.contact-social-proof h3 { - font-size: var(--heading-h3); - color: var(--text); - margin-bottom: var(--space-6); - text-align: center; -} - -.social-proof-stats { - display: grid; - grid-template-columns: repeat(3, 1fr); - gap: var(--space-4); - margin-bottom: var(--space-6); -} - -.stat { - text-align: center; - padding: var(--space-3); -} - -.stat-number { - font-size: var(--text-2xl); - font-weight: 700; - color: var(--primary); - margin-bottom: var(--space-1); -} - -.stat-label { - font-size: var(--text-sm); - color: var(--text-light); - font-weight: 500; -} - -.social-proof-text { - font-style: italic; - color: var(--text); - line-height: 1.6; - margin-bottom: var(--space-4); - text-align: center; - border-left: 3px solid var(--primary); - padding-left: var(--space-4); - margin-left: var(--space-4); -} - -.social-proof-attribution { - text-align: center; - color: var(--text-light); - font-size: var(--text-sm); -} - -.testimonial { - margin-top: var(--space-8); - padding: var(--space-6); - background: var(--bg-secondary); - border-radius: var(--radius); - border-left: 4px solid var(--primary); -} - -.testimonial-text { - font-size: var(--text-lg); - font-style: italic; - color: var(--text); - line-height: 1.6; - margin-bottom: var(--space-4); -} - -.testimonial-attribution { - color: var(--text-light); - font-size: var(--text-sm); -} - -/* Loading state for form submission */ -.contact-form.loading .btn-primary { - background: var(--neutral); - cursor: not-allowed; - position: relative; -} - -.contact-form.loading .btn-primary:after { - content: ''; - position: absolute; - width: 20px; - height: 20px; - margin: auto; - border: 2px solid white; - border-top: 2px solid transparent; - border-radius: 50%; - animation: spin 1s linear infinite; -} - -@keyframes spin { - 0% { transform: rotate(0deg); } - 100% { transform: rotate(360deg); } -} - -/* Form validation styles */ -.form-group.error input, -.form-group.error select, -.form-group.error textarea { - border-color: #ef4444; - background-color: #fef2f2; -} - -.form-group.success input, -.form-group.success select, -.form-group.success textarea { - border-color: #10b981; - background-color: #f0fdf4; -} - -/* Footer - Modern Light Design */ -.site-footer { - background: var(--bg-secondary); - border-top: 1px solid var(--border); - padding: var(--section-spacing) 0 0; - margin-top: var(--section-spacing); -} - -.footer-content { - max-width: 1200px; - margin: 0 auto; - padding: 0 var(--space-8) var(--section-spacing); - display: grid; - grid-template-columns: 1fr 2fr; - gap: var(--space-10); - align-items: start; -} - -/* Footer Brand Section */ -.footer-brand { - display: flex; - flex-direction: column; - gap: var(--space-4); -} - -.footer-logo { - display: flex; - align-items: center; - gap: var(--space-3); - font-size: var(--text-xl); - font-weight: 600; - color: var(--text); -} - -.footer-logo img { - width: 40px; - height: 40px; -} - -.footer-tagline { - color: var(--text-light); - font-size: var(--text-body); - margin: 0; - line-height: 1.5; -} - -.footer-social { - display: flex; - gap: var(--space-3); - margin-top: var(--space-2); -} - -.footer-social a { - width: 36px; - height: 36px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 50%; - background: white; - color: var(--text); - text-decoration: none; - font-size: var(--text-base); - transition: all 0.2s ease; - border: 1px solid var(--border); -} - -.footer-social a:hover { - background: var(--primary); - color: white; - border-color: var(--primary); - transform: translateY(-2px); -} - -/* Footer Links Section */ -.footer-links-section { - display: grid; - grid-template-columns: 1fr 1fr; - gap: var(--space-8); -} - -.footer-column h4 { - font-size: var(--text-base); - font-weight: 600; - color: var(--text); - margin-bottom: var(--space-4); - text-transform: uppercase; - letter-spacing: 0.05em; -} - -.footer-links { - list-style: none; - padding: 0; - margin: 0; -} - -.footer-links li { - margin-bottom: var(--space-3); -} - -.footer-links a { - color: var(--text-light); - text-decoration: none; - font-size: var(--text-body); - transition: color 0.2s ease; - position: relative; -} - -.footer-links a:hover { - color: var(--primary); - transform: translateX(2px); - display: inline-block; -} - -/* Footer Bottom Bar */ -.footer-bottom { - border-top: 1px solid var(--border); - padding: var(--space-6) var(--space-8); - max-width: 1200px; - margin: 0 auto; - display: flex; - justify-content: space-between; - align-items: center; - flex-wrap: wrap; - gap: var(--space-4); -} - -.footer-hf-link { - display: flex; - align-items: center; - gap: var(--space-2); - color: var(--text-light); - text-decoration: none; - font-size: var(--text-sm); - font-weight: 500; - transition: all 0.2s ease; - padding: var(--space-1) var(--space-2); - border-radius: var(--space-1); -} - -.footer-hf-link:hover { - color: var(--primary); - background: rgba(234, 88, 12, 0.1); - transform: translateY(-1px); -} - -.footer-hf-link svg { - width: 16px; - height: 16px; - flex-shrink: 0; -} - -.footer-bottom-links { - display: flex; - align-items: center; - gap: var(--space-4); -} - -.footer-bottom-links a { - color: var(--text-light); - text-decoration: none; - font-size: var(--text-sm); - transition: color 0.2s ease; -} - -.footer-bottom-links a:hover { - color: var(--primary); -} - -.footer-bottom-links .separator { - color: var(--text-light); - font-size: var(--text-sm); -} - -/* Responsive Footer Styles */ -@media (max-width: 767px) { - .footer-content { - grid-template-columns: 1fr; - gap: var(--space-8); - padding: 0 var(--space-4) var(--space-8); - } - - .footer-brand { - text-align: center; - align-items: center; - } - - .footer-links-section { - grid-template-columns: 1fr 1fr; - gap: var(--space-6); - text-align: center; - } - - .footer-column h4 { - text-align: center; - } - - .footer-links { - text-align: center; - } - - .footer-links a { - display: inline-block; - } - - .footer-bottom { - flex-direction: column; - text-align: center; - padding: var(--space-4); - } - - .footer-bottom-links { - flex-wrap: wrap; - justify-content: center; - } -} - -`},{path:"/styles/portfolio.css",content:`/* Portfolio Page Styles */ - -/* Portfolio Filters */ -.portfolio-filters { - display: flex; - justify-content: center; - gap: var(--space-4); - margin-bottom: var(--section-spacing); - flex-wrap: wrap; -} - -.filter-btn { - padding: var(--space-3) var(--space-6); - border: 2px solid var(--border); - background: transparent; - border-radius: 50px; - cursor: pointer; - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); - font-weight: 500; - font-size: var(--text-body); - color: var(--text-light); - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); -} - -.filter-btn:hover, -.filter-btn.active { - border-color: var(--primary); - background: var(--primary); - color: white; - transform: translateY(-1px) scale(1.01); - box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2); -} - -.filter-btn:focus { - outline: none; -} - -.filter-btn:active { - transform: translateY(0) scale(0.99); -} - -/* Portfolio Grid */ -.portfolio-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); - gap: var(--space-6); - margin-bottom: var(--section-spacing); -} - -.portfolio-item { - position: relative; - border-radius: var(--radius); - overflow: hidden; - box-shadow: var(--shadow); - transition: transform 0.3s ease; - cursor: pointer; -} - -.portfolio-item:hover { - transform: translateY(-10px); -} - -.portfolio-item.hidden { - display: none; -} - -.portfolio-image { - width: 100%; - height: 300px; - object-fit: cover; - transition: transform 0.3s ease; -} - -.portfolio-item:hover .portfolio-image { - transform: scale(1.05); -} - -.portfolio-overlay { - position: absolute; - bottom: 0; - left: 0; - right: 0; - background: linear-gradient(transparent, rgba(0,0,0,0.8)); - color: white; - padding: var(--card-padding); - transform: translateY(100%); - transition: transform 0.3s ease; -} - -.portfolio-item:hover .portfolio-overlay { - transform: translateY(0); -} - -.portfolio-overlay h3 { - font-size: var(--heading-h3); - margin-bottom: var(--space-2); -} - -.portfolio-overlay p { - margin-bottom: var(--space-4); - opacity: 0.9; - color: white; -} - -.portfolio-tags { - display: flex; - flex-wrap: wrap; - gap: var(--space-2); -} - -.tag { - background: rgba(255,255,255,0.2); - color: white; - padding: var(--space-1) var(--space-3); - border-radius: 20px; - font-size: var(--text-xs); - font-weight: 500; -}`},{path:"/scripts/main.js",content:`// Main JavaScript - Shared functionality - -// Multi-file demo loaded - -// Set up navigation highlighting -document.addEventListener('DOMContentLoaded', function() { - const currentPath = window.location.pathname; - const navLinks = document.querySelectorAll('.nav-link'); - - navLinks.forEach(link => { - if (link.getAttribute('href') === currentPath) { - link.classList.add('active'); - } else { - link.classList.remove('active'); - } - }); - - // Scroll-reactive navbar functionality - const navbar = document.querySelector('.navbar'); - const hero = document.querySelector('.hero'); - let lastScrollY = window.scrollY; - let heroHeight = hero ? hero.offsetHeight : 0; - - function updateNavbarVisibility() { - const currentScrollY = window.scrollY; - const scrollDifference = currentScrollY - lastScrollY; - - // Always show navbar in hero section - if (currentScrollY <= heroHeight) { - navbar.classList.remove('hidden'); - } - // Hide when scrolling down past hero section - else if (scrollDifference > 0) { - navbar.classList.add('hidden'); - } - // Show when scrolling up by 20px or more - else if (scrollDifference <= -20) { - navbar.classList.remove('hidden'); - } - - lastScrollY = currentScrollY; - } - - // Throttle scroll events for better performance - let ticking = false; - function handleScroll() { - if (!ticking) { - requestAnimationFrame(updateNavbarVisibility); - ticking = true; - setTimeout(() => { ticking = false; }, 16); // ~60fps - } - } - - window.addEventListener('scroll', handleScroll); - - // Recalculate hero height on resize - window.addEventListener('resize', function() { - heroHeight = hero ? hero.offsetHeight : 0; - }); - - // Mobile hamburger menu functionality - const navToggle = document.querySelector('.nav-toggle'); - const navMenu = document.querySelector('.nav-menu'); - const mobileNavLinks = document.querySelectorAll('.nav-link'); - - function toggleMobileMenu() { - navToggle.classList.toggle('active'); - navMenu.classList.toggle('active'); - navbar.classList.toggle('menu-open'); - - // Update ARIA attributes - const isExpanded = navToggle.classList.contains('active'); - navToggle.setAttribute('aria-expanded', isExpanded); - - // Prevent body scroll when menu is open - document.body.style.overflow = isExpanded ? 'hidden' : ''; - } - - function closeMobileMenu() { - navToggle.classList.remove('active'); - navMenu.classList.remove('active'); - navbar.classList.remove('menu-open'); - navToggle.setAttribute('aria-expanded', 'false'); - document.body.style.overflow = ''; - } - - // Toggle menu on button click - if (navToggle) { - navToggle.addEventListener('click', toggleMobileMenu); - } - - // Close menu when clicking nav links - mobileNavLinks.forEach(link => { - link.addEventListener('click', closeMobileMenu); - }); - - // Close menu on escape key - document.addEventListener('keydown', function(e) { - if (e.key === 'Escape' && navMenu.classList.contains('active')) { - closeMobileMenu(); - } - }); - - // Close menu when clicking outside - document.addEventListener('click', function(e) { - if (!navToggle.contains(e.target) && !navMenu.contains(e.target) && navMenu.classList.contains('active')) { - closeMobileMenu(); - } - }); - - // Close mobile menu when navbar hides (scroll reactive) - const originalUpdateNavbarVisibility = updateNavbarVisibility; - updateNavbarVisibility = function() { - originalUpdateNavbarVisibility(); - if (navbar.classList.contains('hidden') && navMenu.classList.contains('active')) { - closeMobileMenu(); - } - }; - -});`},{path:"/templates/navigation.hbs",content:``},{path:"/templates/footer.hbs",content:`
- - - -
`},{path:"/scripts/portfolio.js",content:`// Portfolio Filtering Functionality - -(function() { - let currentFilter = 'all'; - - function init() { - const filterButtons = document.querySelectorAll('.filter-btn'); - const portfolioItems = document.querySelectorAll('.portfolio-item'); - - if (!filterButtons.length || !portfolioItems.length) return; - - // Add event listeners to filter buttons - filterButtons.forEach(btn => { - btn.addEventListener('click', handleFilterClick); - }); - - // Show all items initially - showItems(portfolioItems, 'all'); - } - - function handleFilterClick(e) { - const button = e.target; - const filter = button.dataset.filter; - - if (!filter) return; - - // Update active button - document.querySelectorAll('.filter-btn').forEach(btn => { - btn.classList.remove('active'); - }); - button.classList.add('active'); - - // Filter and show items - const portfolioItems = document.querySelectorAll('.portfolio-item'); - showItems(portfolioItems, filter); - - currentFilter = filter; - } - - function showItems(items, filter) { - items.forEach(item => { - const itemCategory = item.dataset.category; - - if (filter === 'all' || itemCategory === filter) { - item.style.display = 'block'; - item.style.opacity = '0'; - - // Animate in - setTimeout(() => { - item.style.opacity = '1'; - item.style.transform = 'translateY(0)'; - }, 50); - } else { - item.style.opacity = '0'; - item.style.transform = 'translateY(20px)'; - - // Hide after animation - setTimeout(() => { - item.style.display = 'none'; - }, 300); - } - }); - } - - // Add smooth transitions to portfolio items - function addTransitions() { - const portfolioItems = document.querySelectorAll('.portfolio-item'); - portfolioItems.forEach(item => { - item.style.transition = 'opacity 0.3s ease, transform 0.3s ease'; - }); - } - - document.addEventListener('DOMContentLoaded', function() { - addTransitions(); - init(); - }); -})();`},{path:"/scripts/contact.js",content:`// Contact Form Validation and Submission - -(function() { - let form; - let submitButton; - let isSubmitting = false; - - function init() { - form = document.getElementById('contactForm'); - submitButton = form?.querySelector('button[type="submit"]'); - - if (!form || !submitButton) return; - - // Add event listeners - form.addEventListener('submit', handleSubmit); - - // Real-time validation - const inputs = form.querySelectorAll('input[required], textarea[required]'); - inputs.forEach(input => { - input.addEventListener('blur', validateField); - input.addEventListener('input', clearErrors); - }); - - // Email specific validation - const emailInput = form.querySelector('#email'); - if (emailInput) { - emailInput.addEventListener('blur', validateEmail); - } - } - - function handleSubmit(e) { - e.preventDefault(); - - if (isSubmitting) return; - - // Clear all previous errors - clearAllErrors(); - - // Validate all fields - const isValid = validateForm(); - - if (isValid) { - submitForm(); - } - } - - function validateForm() { - let isValid = true; - - // Required field validation - const requiredFields = [ - { id: 'name', name: 'Full Name' }, - { id: 'email', name: 'Email Address' }, - { id: 'message', name: 'Project Details' } - ]; - - requiredFields.forEach(field => { - const input = document.getElementById(field.id); - const value = input.value.trim(); - - if (!value) { - showError(field.id, \`\${field.name} is required\`); - isValid = false; - } - }); - - // Email format validation - const emailInput = document.getElementById('email'); - const emailValue = emailInput.value.trim(); - if (emailValue && !isValidEmail(emailValue)) { - showError('email', 'Please enter a valid email address'); - isValid = false; - } - - // Message length validation - const messageInput = document.getElementById('message'); - const messageValue = messageInput.value.trim(); - if (messageValue && messageValue.length < 20) { - showError('message', 'Please provide more details about your project (minimum 20 characters)'); - isValid = false; - } - - return isValid; - } - - function validateField(e) { - const field = e.target; - const value = field.value.trim(); - - clearErrors(e); - - if (field.hasAttribute('required') && !value) { - const fieldName = field.previousElementSibling.textContent.replace(' *', ''); - showError(field.id, \`\${fieldName} is required\`); - } - } - - function validateEmail(e) { - const emailInput = e.target; - const emailValue = emailInput.value.trim(); - - if (emailValue && !isValidEmail(emailValue)) { - showError('email', 'Please enter a valid email address'); - } - } - - function isValidEmail(email) { - const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/; - return emailRegex.test(email); - } - - function showError(fieldId, message) { - const field = document.getElementById(fieldId); - const formGroup = field.parentElement; - const errorElement = document.getElementById(fieldId + 'Error'); - - // Add error class to form group - formGroup.classList.add('error'); - formGroup.classList.remove('success'); - - // Show error message - if (errorElement) { - errorElement.textContent = message; - } - } - - function clearErrors(e) { - const field = e.target; - const formGroup = field.parentElement; - const errorElement = document.getElementById(field.id + 'Error'); - - // Remove error class - formGroup.classList.remove('error'); - - // Clear error message - if (errorElement) { - errorElement.textContent = ''; - } - - // Add success class if field has value and no errors - if (field.value.trim() && !formGroup.classList.contains('error')) { - formGroup.classList.add('success'); - } else { - formGroup.classList.remove('success'); - } - } - - function clearAllErrors() { - const errorMessages = form.querySelectorAll('.error-message'); - errorMessages.forEach(error => error.textContent = ''); - - const formGroups = form.querySelectorAll('.form-group'); - formGroups.forEach(group => { - group.classList.remove('error', 'success'); - }); - - // Hide success message - const successElement = document.getElementById('formSuccess'); - if (successElement) { - successElement.classList.remove('show'); - } - } - - function submitForm() { - if (isSubmitting) return; - - isSubmitting = true; - - // Add loading state - form.classList.add('loading'); - submitButton.disabled = true; - submitButton.textContent = 'Sending...'; - - // Collect form data - const formData = new FormData(form); - const data = { - name: formData.get('name'), - email: formData.get('email'), - company: formData.get('company'), - project: formData.get('project'), - budget: formData.get('budget'), - message: formData.get('message'), - newsletter: formData.get('newsletter') ? true : false, - timestamp: new Date().toISOString() - }; - - // Simulate form submission (replace with actual API call) - setTimeout(() => { - - // Show success message - showSuccess(); - - // Reset form - form.reset(); - clearAllErrors(); - - // Remove loading state - form.classList.remove('loading'); - submitButton.disabled = false; - submitButton.textContent = 'Send Message'; - - isSubmitting = false; - - // Auto-hide success message after 5 seconds - setTimeout(() => { - const successElement = document.getElementById('formSuccess'); - if (successElement) { - successElement.classList.remove('show'); - } - }, 5000); - - }, 2000); // Simulate network delay - } - - function showSuccess() { - const successElement = document.getElementById('formSuccess'); - if (successElement) { - successElement.classList.add('show'); - successElement.scrollIntoView({ behavior: 'smooth', block: 'nearest' }); - } - } - - // Initialize when DOM is ready - document.addEventListener('DOMContentLoaded', init); -})();`},{path:"/data.json",content:`{ - "siteName": "Example Studios", - "footerTagline": "Crafting digital experiences that inspire", - "navigation": [ - {"title": "Home", "url": "/"}, - {"title": "Portfolio", "url": "/portfolio.html"}, - {"title": "About", "url": "/about.html"}, - {"title": "Contact", "url": "/contact.html"} - ], - "social": [ - {"name": "Twitter", "url": "#", "icon": "𝕏"}, - {"name": "LinkedIn", "url": "#", "icon": "in"}, - {"name": "Instagram", "url": "#", "icon": "📷"}, - {"name": "GitHub", "url": "#", "icon": "⚡"} - ], - "services": [ - {"name": "Web Design", "url": "/portfolio.html"}, - {"name": "Development", "url": "/portfolio.html"}, - {"name": "Mobile Apps", "url": "/portfolio.html"}, - {"name": "Consulting", "url": "/portfolio.html"} - ], - "deepstudioLink": "https://huggingface.co/spaces/otst/oswstudio", - "deepstudioName": "OSW Studio", - "legalLinks": [ - {"name": "Privacy Policy", "url": "/privacy.html"}, - {"name": "Terms of Service", "url": "/terms.html"} - ] -}`},{path:"/assets/images/logo.svg",content:` - - - - - - - - - - - - -`},{path:"/assets/images/favicon.svg",content:` - - - - -`},{path:"/contact.html",content:` - - - - - Contact - Example Studios - - - - - - -
-
-
-

Let's Build Something Amazing

-

Ready to turn your ideas into reality? We'd love to hear about your project and show you how we can help.

-
-
- -
-
-

Get In Touch

-

Ready to start your next project? Choose how you'd like to connect with us

-
- -
-
-
Email
-

Send Us an Email

-

Drop us a line and we'll get back to you within 24 hours

-
hello@examplestudios.com
- Send Email -
- -
-
Phone
-

Give Us a Call

-

Speak directly with our team about your project

-
(555) 123-4567
- Call Now -
- -
-
Office
-

Visit Our Studio

-

Meet with us in person to discuss your vision

-
San Francisco, CA
By appointment only
- Schedule Visit -
-
-
- -
-
-

Start Your Project

-

Tell us about your vision and we'll get back to you within 24 hours

-
- -
- -
-
- - - -
- -
- - - -
-
- -
- - - -
- - - -
-
- - - -
-

Thank you! We'll get back to you within 24 hours.

-
- -
-
- - -
- - {{> footer}} - - - - -`},{path:"/privacy.html",content:` - - - - - Privacy Policy - Example Studios - - - - - {{> navigation}} - -
-
-
-

Privacy Policy

-

How we protect and handle your information

-
-
- -
-
-

Last updated: December 2024

- -

Overview

-

At Example Studios, we take your privacy seriously. This Privacy Policy explains how we collect, use, and protect your personal information when you use our services.

- -

Information We Collect

-

We may collect the following types of information:

-
    -
  • Contact Information: Name, email address, phone number when you contact us
  • -
  • Project Information: Details about your project requirements and preferences
  • -
  • Usage Data: How you interact with our website for improving our services
  • -
- -

How We Use Your Information

-

We use your information to:

-
    -
  • Provide and improve our design and development services
  • -
  • Communicate with you about your projects
  • -
  • Send you updates about our services (with your consent)
  • -
  • Analyze and improve our website and services
  • -
- -

Information Sharing

-

We do not sell, trade, or otherwise transfer your personal information to third parties without your consent, except:

-
    -
  • To trusted service providers who help us operate our business
  • -
  • When required by law or to protect our rights
  • -
  • With your explicit consent
  • -
- -

Data Security

-

We implement appropriate security measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction.

- -

Your Rights

-

You have the right to:

-
    -
  • Access and review your personal information
  • -
  • Request corrections to your information
  • -
  • Request deletion of your information
  • -
  • Opt-out of marketing communications
  • -
- -

Contact Us

-

If you have questions about this Privacy Policy, please contact us at:

-

- Example Studios
- Email: hello@examplestudios.com
- Phone: (555) 123-4567 -

-
-
- -
-
-

Ready to Build Something Amazing?

-

Let's turn your ideas into reality. We'd love to hear about your project.

- Start Your Project -
-
-
- - {{> footer}} - - - -`},{path:"/terms.html",content:` - - - - - Terms of Service - Example Studios - - - - - {{> navigation}} - -
-
-
-

Terms of Service

-

Our terms and conditions for working together

-
-
- -
-
-

Last updated: December 2024

- -

Agreement to Terms

-

By accessing and using Example Studios' services, you agree to be bound by these Terms of Service and all applicable laws and regulations.

- -

Services

-

Example Studios provides web design, development, and digital consulting services. We reserve the right to modify or discontinue services with reasonable notice.

- -

Client Responsibilities

-

As a client, you agree to:

-
    -
  • Provide accurate and complete information for your project
  • -
  • Respond to requests for feedback in a timely manner
  • -
  • Collaborate effectively throughout the project
  • -
  • Respect intellectual property rights
  • -
- -

Project Process

-

Our typical process includes:

-
    -
  • Discovery: Understanding your requirements and goals
  • -
  • Proposal: Detailed scope, timeline, and pricing
  • -
  • Design & Development: Creating your solution
  • -
  • Review: Client feedback and revisions
  • -
  • Launch: Final delivery and launch support
  • -
- -

Project Timeline

-
    -
  • Project schedules will be outlined in individual agreements
  • -
  • Milestone deliverables will be clearly defined
  • -
  • Regular progress updates will be provided
  • -
- -

Intellectual Property

-

Upon project completion, clients receive ownership of custom work created specifically for their project, excluding any pre-existing intellectual property or third-party components.

- -

Limitation of Liability

-

Example Studios' liability is limited to the amount paid for services. We are not responsible for indirect, incidental, or consequential damages.

- -

Termination

-

Either party may terminate services with written notice. All completed work will be delivered upon termination.

- -

Changes to Terms

-

We reserve the right to update these terms with reasonable notice to existing clients.

- -

Contact

-

Questions about these terms? Contact us at:

-

- Example Studios
- Email: hello@examplestudios.com
- Phone: (555) 123-4567 -

-
-
-
- - {{> footer}} - - - -`},{path:"/portfolio/techflow-dashboard.html",content:` - - - - - TechFlow Dashboard - Example Studios - - - - - - -
-
-
-

TechFlow Dashboard

-

Modern analytics platform with real-time data visualization

-
-
- -
-
-
-

Project Overview

-

A comprehensive analytics solution built for modern businesses

-
- -
-
-
Challenge
-

Challenge

-

TechFlow needed a modern dashboard to visualize complex data streams in real-time, replacing their outdated reporting system with something more intuitive and scalable.

-
- -
-
Solution
-

Solution

-

We designed and built a React-based dashboard with D3.js visualizations, featuring customizable widgets and real-time data updates via WebSocket connections.

-
-
-
- -
-
-

Technology Stack

-
-
-
-
React
-

React

-

Modern component-based architecture for maintainable UI development

-
- -
-
Data
-

D3.js

-

Custom data visualizations with smooth animations and interactions

-
- -
-
Backend
-

Node.js

-

Robust backend API with real-time data processing capabilities

-
-
-
- -
-
-

Results

-
-
-
Results
-

Impact & Performance

-

The new dashboard reduced report generation time by 75% and improved user engagement by 300%. Real-time updates eliminated the need for manual refreshes, and the intuitive interface reduced training time for new users.

-
-
-
- -
-
-

Ready for Your Next Project?

-

Let's discuss how we can create a custom solution for your business needs.

- Start Your Project -
-
-
- - {{> footer}} - - - -`},{path:"/assets/README.md",content:`# Assets Directory - -This directory contains all static assets for the Example project. - -## Structure - -- \`/images/\` - Image files including: - - \`example-background.jpg\` - Hero section background image - - \`logo.svg\` - Site logo - - \`favicon.svg\` - Browser favicon - -## Background Image - -The \`example-background.jpg\` is automatically included when the demo project is created. It features a beautiful flowing gradient design that complements the orange (#ff7b00) and blue (#2563eb) color scheme. - -## File Types Supported - -The VFS system supports various file types: -- Images: PNG, JPG, JPEG, GIF, WebP, SVG, ICO -- Documents: HTML, CSS, JS, JSON, TXT, MD, XML -- Binary files up to 10MB - -This demonstrates the VFS capability to handle multiple file types and organize them in a structured directory system.`}],assets:[{filename:"example-background.jpg",path:"/assets/images/example-background.jpg"}]},r={name:"Barebones Project",description:"A minimal starting template",directories:["/styles","/scripts","/templates"],files:[{path:"/index.html",content:` - - - - - New Project - - - - {{> welcome-card}} - - - -`},{path:"/styles/style.css",content:`/* - * Your project styles start here. - * Use this file to customize typography, layout, and colors. - */ - -body { - font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; - margin: 0; - padding: 2rem; - background: #f9fafb; - color: #0f172a; -} - -h1 { - font-size: 2.25rem; - margin-bottom: 0.5rem; -} - -p { - font-size: 1rem; - line-height: 1.6; -} - -.welcome-card { - /* Component styles can be added here */ -} -`},{path:"/scripts/main.js",content:`// Welcome to your project! -// Use this file to add interactivity to your pages. - -document.addEventListener('DOMContentLoaded', () => { - console.log('Project ready. Happy building!'); -}); -`},{path:"/templates/welcome-card.hbs",content:`
-

{{title}}

-

{{message}}

-
`},{path:"/data.json",content:`{ - "title": "Welcome", - "message": "Start building your website!" -}`}]};var i=s(32623);async function n(e,t,s,a){await i.$.runWithSuppressedDirty(t,async()=>{for(let a of s.directories)await e.createDirectory(t,a);for(let a of s.files){let s=a.content;if(a.isBase64){let e=atob(a.content),t=new Uint8Array(e.length);for(let s=0;s0)for(let s of a)try{let a=await fetch(`${window.location.origin}/${s.filename}`);if(a.ok){let r=await a.arrayBuffer();await e.createFile(t,s.path,r)}}catch(e){}})}let l=[{id:"blank",name:"Blank",description:"Minimal starting template with basic HTML/CSS/JS structure",isBuiltIn:!0,updatedAt:new Date("2025-01-01T00:00:00Z"),metadata:{author:"OSW Studio",tags:["starter","basic"]}},{id:"demo",name:"Example Studios",description:"Multi-page agency portfolio showcasing modern web development",isBuiltIn:!0,updatedAt:new Date("2025-01-01T00:00:00Z"),metadata:{author:"OSW Studio",tags:["portfolio","multi-page","example"]}}]},80021:(e,t,s)=>{s.d(t,{f:()=>t1});var a=s(60687),r=s(43210),i=s(16189),n=s(68269),l=s(25495),o=s(94084),c=s.n(o),d=s(75589),m=s(96241);class u{constructor(){this.db=new d.n}async init(){await this.db.init()}async exportProjectAsTemplate(e,t,s){try{m.v.info("[TemplateService] Exporting project as template",{projectId:t,name:s.name}),this.validateMetadata(s);let a=await e.getAllFilesAndDirectories(t),r=a.filter(e=>"directory"!==e.type),i=a.filter(e=>"directory"===e.type).map(e=>e.path),n={version:"1.0.0",name:s.name,description:s.description,templateVersion:s.version,author:s.author,authorUrl:s.authorUrl,license:s.license,licenseLabel:s.licenseLabel,licenseDescription:s.licenseDescription,tags:s.tags||[],thumbnail:s.thumbnail,previewImages:s.previewImages||[],downloadUrl:s.downloadUrl,directories:i,files:r.map(e=>({path:e.path,content:e.content})),assets:[]},l=new(c());l.file("template.json",JSON.stringify(n,null,2));let o=await l.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}});return m.v.info("[TemplateService] Template exported successfully",{name:s.name,size:o.size}),o}catch(e){throw m.v.error("[TemplateService] Failed to export template:",e),Error(`Failed to export template: ${e instanceof Error?e.message:"Unknown error"}`)}}async importTemplateFile(e){try{if(m.v.info("[TemplateService] Importing template file",{name:e.name,size:e.size}),!e.name.endsWith(".oswt"))throw Error("Invalid file type. Expected .oswt file.");if(e.size>0x1900000)throw Error(`File too large. Maximum size is ${Math.round(25)}MB.`);let t=new(c()),s=(await t.loadAsync(e)).file("template.json");if(!s)throw Error("Invalid template file format. Missing template.json.");let a=await s.async("string"),r=JSON.parse(a);this.validateTemplateStructure(r);let i={id:(0,l.A)(),name:r.name,description:r.description,version:r.templateVersion||"1.0.0",files:r.files||[],directories:r.directories||[],assets:r.assets,metadata:{author:r.author,authorUrl:r.authorUrl,license:r.license||"personal",licenseLabel:r.licenseLabel,licenseDescription:r.licenseDescription,tags:r.tags||[],thumbnail:r.thumbnail,previewImages:r.previewImages||[],downloadUrl:r.downloadUrl},importedAt:new Date};return await this.db.saveCustomTemplate(i),m.v.info("[TemplateService] Template imported successfully",{id:i.id,name:i.name}),i}catch(e){throw m.v.error("[TemplateService] Failed to import template:",e),Error(`Failed to import template: ${e instanceof Error?e.message:"Unknown error"}`)}}async listCustomTemplates(){try{return await this.init(),(await this.db.getAllCustomTemplates()).sort((e,t)=>t.importedAt.getTime()-e.importedAt.getTime())}catch(e){throw m.v.error("[TemplateService] Failed to list templates:",e),Error("Failed to list templates")}}async deleteCustomTemplate(e){try{await this.init(),await this.db.deleteCustomTemplate(e),m.v.info("[TemplateService] Template deleted",{id:e})}catch(e){throw m.v.error("[TemplateService] Failed to delete template:",e),Error("Failed to delete template")}}async exportTemplateAsFile(e){try{m.v.info("[TemplateService] Re-exporting custom template",{id:e.id,name:e.name});let t=new(c());for(let s of(t.file("template.json",JSON.stringify(e,null,2)),e.files))s.content,t.file(s.path,s.content);return await t.generateAsync({type:"blob"})}catch(e){throw m.v.error("[TemplateService] Failed to re-export template:",e),Error(`Failed to export template: ${e instanceof Error?e.message:"Unknown error"}`)}}async generateThumbnail(e){m.v.debug("[TemplateService] Thumbnail generation not yet implemented")}validateMetadata(e){if(!e.name||e.name.length<1||e.name.length>50)throw Error("Template name must be between 1 and 50 characters");if(!e.description||e.description.length<10||e.description.length>500)throw Error("Template description must be between 10 and 500 characters");if(!e.version||!/^\d+\.\d+\.\d+$/.test(e.version))throw Error("Template version must be in semantic version format (e.g., 1.0.0)");if(e.author&&e.author.length>50)throw Error("Author name must be 50 characters or less");if(e.authorUrl&&!this.isValidUrl(e.authorUrl))throw Error("Author URL must be a valid URL");if(!e.license)throw Error("License is required");if(e.tags&&e.tags.length>10)throw Error("Maximum 10 tags allowed");if(e.thumbnail&&e.thumbnail.length>512e3)throw Error(`Thumbnail too large. Maximum size is ${Math.round(500)}KB`);if(e.previewImages&&e.previewImages.length>5)throw Error("Maximum 5 preview images allowed");if(e.previewImages){for(let t of e.previewImages)if(t.length>1048576)throw Error(`Preview image too large. Maximum size is ${Math.round(1024)}KB per image`)}}validateTemplateStructure(e){if(!e.name||"string"!=typeof e.name)throw Error("Invalid template: missing or invalid name");if(!e.description||"string"!=typeof e.description)throw Error("Invalid template: missing or invalid description");if(!e.files||!Array.isArray(e.files))throw Error("Invalid template: missing or invalid files array");if(!e.directories||!Array.isArray(e.directories))throw Error("Invalid template: missing or invalid directories array");for(let t of e.files){if(!t.path||"string"!=typeof t.path)throw Error("Invalid template: file missing path");if(void 0===t.content)throw Error("Invalid template: file missing content")}}isValidUrl(e){try{return new URL(e),!0}catch{return!1}}}let h=new u;var p=s(24934),x=s(68988),g=s(15616),f=s(26316),v=s(10022),j=s(9005),b=s(82804),y=s(13964),w=s(11860),N=s(90131),k=s(18179),S=s(62022),C=s(23928),A=s(81904),T=s(13861),E=s(70615),P=s(19080),$=s(31158),I=s(88233),F=s(26512),R=s(66249);function D({...e}){return(0,a.jsx)(R.bL,{"data-slot":"dropdown-menu",...e})}function L({...e}){return(0,a.jsx)(R.l9,{"data-slot":"dropdown-menu-trigger",...e})}function z({className:e,sideOffset:t=4,...s}){return(0,a.jsx)(R.ZL,{children:(0,a.jsx)(R.UC,{"data-slot":"dropdown-menu-content",sideOffset:t,className:(0,m.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[100] max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-lg",e),...s})})}function M({className:e,inset:t,variant:s="default",...r}){return(0,a.jsx)(R.q7,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":s,className:(0,m.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r})}function O({className:e,...t}){return(0,a.jsx)(R.wv,{"data-slot":"dropdown-menu-separator",className:(0,m.cn)("bg-border -mx-1 my-1 h-px",e),...t})}var B=s(52581);function U({project:e,onSelect:t,onDelete:s,onExport:i,onExportZip:l,onDuplicate:o,onPreview:c,onUpdate:d,onExportAsTemplate:u,viewMode:h="grid",forceMenuOpen:R=!1,highlightExport:U=!1}){let[W,_]=(0,r.useState)(!1),[J,q]=(0,r.useState)(e.name),[H,V]=(0,r.useState)(e.description||""),[G,Y]=(0,r.useState)(null),[X,K]=(0,r.useState)(!0),[Z,Q]=(0,r.useState)(!1),ee=async()=>{if(!J.trim()){B.oR.error("Project name cannot be empty"),q(e.name),_(!1);return}if(J.length>50)return void B.oR.error("Project name must be 50 characters or less");if(H.length>200)return void B.oR.error("Description must be 200 characters or less");try{e.name=J.trim(),e.description=H.trim()||void 0,await n.vfs.updateProject(e),d(e),_(!1),B.oR.success("Project updated")}catch(t){m.v.error("Failed to update project:",t),B.oR.error("Failed to update project"),q(e.name),V(e.description||"")}},et=()=>{q(e.name),V(e.description||""),_(!1)},es=e=>{if(R)return void Q(!0);Q(e)},ea=()=>G?Object.entries(G.fileTypes).sort(([,e],[,t])=>t-e).slice(0,3):[],er=e=>{let t=e.toLowerCase();return["html","htm"].includes(t)?(0,a.jsx)(f.A,{className:"h-3 w-3"}):["css","scss","sass"].includes(t)?(0,a.jsx)(v.A,{className:"h-3 w-3"}):["js","jsx","ts","tsx"].includes(t)?(0,a.jsx)(f.A,{className:"h-3 w-3"}):["png","jpg","jpeg","gif","svg"].includes(t)?(0,a.jsx)(j.A,{className:"h-3 w-3"}):(0,a.jsx)(v.A,{className:"h-3 w-3"})},ei=e=>e&&0!==e?`$${e.toFixed(2)}`:null;return"list"===h?(0,a.jsx)("div",{className:`group border border-border rounded-lg p-4 hover:shadow-md transition-all cursor-pointer hover:border-primary/50 ${U?"ring-2 ring-primary/70 animate-ring-opacity":""}`,style:{background:"linear-gradient(var(--project-card-tint), var(--project-card-tint)), var(--card)"},onClick:()=>t(e),children:(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[e.previewImage?(0,a.jsx)("div",{className:"w-16 h-12 rounded-md overflow-hidden bg-muted shrink-0 opacity-60",children:(0,a.jsx)("img",{src:e.previewImage,alt:`${e.name} preview`,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-16 h-12 rounded-md bg-muted flex items-center justify-center shrink-0 opacity-40",children:(0,a.jsx)(b.A,{className:"h-6 w-6 text-muted-foreground/30"})}),(0,a.jsxs)("div",{className:"flex-1 min-w-0 flex flex-col md:flex-row md:gap-6",children:[(0,a.jsx)("div",{className:"flex-1 min-w-0 space-y-1",children:W?(0,a.jsxs)("div",{className:"space-y-2",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{value:J,onChange:e=>q(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),ee()),"Escape"===e.key&&et()},className:"h-7 text-sm font-semibold",autoFocus:!0,maxLength:50,placeholder:"Project name"}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-6 w-6 shrink-0",onClick:ee,children:(0,a.jsx)(y.A,{className:"h-3 w-3"})}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-6 w-6 shrink-0",onClick:et,children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[J.length,"/50"]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(g.T,{value:H,onChange:e=>V(e.target.value),onKeyDown:e=>{"Escape"===e.key&&et()},placeholder:"Add a description...",className:"min-h-[60px] text-sm resize-none",maxLength:200}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[H.length,"/200"]})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("h3",{className:"font-semibold truncate",children:e.name}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5 opacity-0 group-hover:opacity-100 transition-opacity",onClick:e=>{e.stopPropagation(),_(!0)},children:(0,a.jsx)(N.A,{className:"h-3 w-3"})})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-1",children:e.description}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Updated ",(0,F.m)(e.updatedAt,{addSuffix:!0})]})]})}),(0,a.jsxs)("div",{className:"space-y-2 mt-2 md:mt-0",children:[G&&(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-muted-foreground",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(k.A,{className:"h-4 w-4"}),G.fileCount," ",1===G.fileCount?"file":"files"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(S.A,{className:"h-4 w-4"}),G.formattedSize]}),e.costTracking?.totalCost&&e.costTracking.totalCost>0&&(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(C.A,{className:"h-4 w-4"}),ei(e.costTracking.totalCost)]})]}),G&&ea().length>0&&(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-xs",children:ea().map(([e,t])=>(0,a.jsxs)("div",{className:"flex items-center gap-1 text-muted-foreground",children:[er(e),(0,a.jsxs)("span",{children:[e.toUpperCase()," (",t,")"]})]},e))})]})]}),(0,a.jsx)("div",{className:"flex items-center gap-2 ml-4",children:(0,a.jsxs)(D,{open:!!R||Z,onOpenChange:es,children:[(0,a.jsx)(L,{asChild:!0,onClick:e=>e.stopPropagation(),"data-tour-id":U?"project-actions-trigger":void 0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),c(e)},children:[(0,a.jsx)(T.A,{className:"mr-2 h-4 w-4"}),"Preview"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),o(e)},children:[(0,a.jsx)(E.A,{className:"mr-2 h-4 w-4"}),"Duplicate"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),l(e)},children:[(0,a.jsx)(P.A,{className:"mr-2 h-4 w-4"}),"Export as ZIP"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),i(e)},"data-tour-id":U?"project-export-json":void 0,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export as JSON"]}),u&&(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),u(e)},children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Export as Template"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:t=>{t.stopPropagation(),s(e)},children:[(0,a.jsx)(I.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})})]})}):(0,a.jsxs)("div",{className:`border border-border rounded-lg overflow-hidden hover:shadow-lg transition-all cursor-pointer hover:border-primary/50 group ${U?"ring-2 ring-primary/70 animate-ring-opacity":""}`,style:{background:"linear-gradient(var(--project-card-tint), var(--project-card-tint)), var(--card)"},onClick:()=>t(e),"data-tour-id":"project-card",children:[e.previewImage?(0,a.jsx)("div",{className:"w-full aspect-video bg-muted",children:(0,a.jsx)("img",{src:e.previewImage,alt:`${e.name} preview`,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-full aspect-video bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-16 w-16 text-muted-foreground/30"})}),(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsxs)("div",{className:"flex justify-between items-start",children:[W?(0,a.jsxs)("div",{className:"flex-1",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{value:J,onChange:e=>q(e.target.value),onKeyDown:e=>{"Enter"===e.key&&!1===e.shiftKey&&(e.preventDefault(),ee()),"Escape"===e.key&&et()},className:"h-8 text-sm font-semibold",autoFocus:!0,maxLength:50}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:ee,children:(0,a.jsx)(y.A,{className:"h-3 w-3"})}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5",onClick:et,children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground mt-1",children:[J.length,"/50"]})]}):(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-1",children:[(0,a.jsx)("h3",{className:"font-semibold text-lg truncate flex-1",children:e.name}),(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-5 w-5 opacity-0 group-hover:opacity-100 transition-opacity",onClick:e=>{e.stopPropagation(),_(!0)},children:(0,a.jsx)(N.A,{className:"h-3 w-3"})})]}),(0,a.jsxs)(D,{open:!!R||Z,onOpenChange:es,children:[(0,a.jsx)(L,{asChild:!0,onClick:e=>e.stopPropagation(),"data-tour-id":U?"project-actions-trigger":void 0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),c(e)},children:[(0,a.jsx)(T.A,{className:"mr-2 h-4 w-4"}),"Preview"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),o(e)},children:[(0,a.jsx)(E.A,{className:"mr-2 h-4 w-4"}),"Duplicate"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),l(e)},children:[(0,a.jsx)(P.A,{className:"mr-2 h-4 w-4"}),"Export as ZIP"]}),(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),i(e)},"data-tour-id":U?"project-export-json":void 0,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export as JSON"]}),u&&(0,a.jsxs)(M,{onClick:t=>{t.stopPropagation(),u(e)},children:[(0,a.jsx)(b.A,{className:"mr-2 h-4 w-4"}),"Export as Template"]}),(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:t=>{t.stopPropagation(),s(e)},children:[(0,a.jsx)(I.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})]}),W?(0,a.jsxs)("div",{onClick:e=>e.stopPropagation(),children:[(0,a.jsx)(g.T,{value:H,onChange:e=>V(e.target.value),onKeyDown:e=>{"Escape"===e.key&&et()},placeholder:"Add a description...",className:"min-h-[60px] text-sm resize-none",maxLength:200}),(0,a.jsx)("div",{className:"flex items-center justify-between mt-1",children:(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[H.length,"/200"]})})]}):(0,a.jsx)("div",{className:"min-h-[40px]",children:e.description?(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",children:e.description}):(0,a.jsx)("p",{className:"text-sm text-muted-foreground/50 italic",children:"No description"})}),X?(0,a.jsx)("div",{className:"h-6 bg-muted animate-pulse rounded"}):G&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 text-sm text-muted-foreground pt-2 border-t",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(k.A,{className:"h-4 w-4"}),G.fileCount," ",1===G.fileCount?"file":"files"]}),(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(S.A,{className:"h-4 w-4"}),G.formattedSize]}),e.costTracking?.totalCost&&e.costTracking.totalCost>0&&(0,a.jsxs)("span",{className:"flex items-center gap-1",children:[(0,a.jsx)(C.A,{className:"h-4 w-4"}),ei(e.costTracking.totalCost)]})]}),ea().length>0&&(0,a.jsx)("div",{className:"flex items-center gap-3 text-xs",children:ea().map(([e,t])=>(0,a.jsxs)("div",{className:"flex items-center gap-1 text-muted-foreground",children:[er(e),(0,a.jsxs)("span",{children:[e," (",t,")"]})]},e))})]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground pt-2 border-t",children:(0,a.jsxs)("p",{children:["Updated ",(0,F.m)(e.updatedAt,{addSuffix:!0})]})})]})]})}var W=s(5643),_=s(96597),J=s(99270),q=s(54220),H=s(65777),V=s(25366),G=s(96474),Y=s(16023),X=s(96882),K=s(45989),Z=s(62157),Q=s(37826),ee=s(39390),et=s(87929),es=s(63974),ea=s(33135),er=s(2565),ei=s(13265);s(4950);var en=s(24923);function el({project:e,open:t,onOpenChange:s}){let[i,l]=(0,r.useState)(!1),[o,c]=(0,r.useState)({name:e?.name||"",description:e?.description||"",version:"1.0.0",author:"",authorUrl:"",license:"personal",tags:[],thumbnail:void 0,previewImages:[],downloadUrl:""}),[d,u]=(0,r.useState)(""),f=async()=>{if(e){if(!o.name||o.name.length<1||o.name.length>50)return void B.oR.error("Template name must be between 1 and 50 characters");if(!o.description||o.description.length<10||o.description.length>500)return void B.oR.error("Description must be between 10 and 500 characters");if(!o.version||!/^\d+\.\d+\.\d+$/.test(o.version))return void B.oR.error("Version must be in format x.y.z (e.g., 1.0.0)");try{l(!0);let t=d.split(",").map(e=>e.trim()).filter(e=>e.length>0),a={...o,tags:t},r=await h.exportProjectAsTemplate(n.vfs,e.id,a),i=URL.createObjectURL(r),m=document.createElement("a");m.href=i,m.download=`${o.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(m),m.click(),document.body.removeChild(m),URL.revokeObjectURL(i),B.oR.success("Template exported successfully!"),s(!1),c({name:"",description:"",version:"1.0.0",author:"",authorUrl:"",license:"personal",tags:[],thumbnail:void 0,previewImages:[],downloadUrl:""}),u("")}catch(e){m.v.error("Failed to export template:",e),B.oR.error(e instanceof Error?e.message:"Failed to export template")}finally{l(!1)}}},v=en.N2.find(e=>e.value===o.license);return(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"max-w-2xl max-h-[90vh] overflow-y-auto",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Export as Template"}),(0,a.jsx)(Q.rr,{children:"Create a reusable template from this project"})]}),(0,a.jsxs)("div",{className:"space-y-4 py-4",children:[o.thumbnail&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Preview Thumbnail"}),(0,a.jsx)("div",{className:"w-full rounded-lg overflow-hidden bg-muted border",children:(0,a.jsx)("img",{src:o.thumbnail,alt:"Template preview",className:"w-full h-auto"})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This preview was captured when you saved the project"})]}),!o.thumbnail&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Preview Thumbnail"}),(0,a.jsx)("div",{className:"w-full h-48 rounded-lg bg-muted flex items-center justify-center border",children:(0,a.jsxs)("div",{className:"text-center text-muted-foreground",children:[(0,a.jsx)(b.A,{className:"h-12 w-12 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-sm",children:"No preview available"}),(0,a.jsx)("p",{className:"text-xs",children:"Save your project to capture a preview"})]})})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-name",children:["Template Name ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[o.name.length,"/50"]})]}),(0,a.jsx)(x.p,{id:"template-name",value:o.name,onChange:e=>c({...o,name:e.target.value.slice(0,50)}),placeholder:"My Awesome Template",maxLength:50,required:!0})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-description",children:["Description ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[o.description.length,"/500"]})]}),(0,a.jsx)(g.T,{id:"template-description",value:o.description,onChange:e=>c({...o,description:e.target.value.slice(0,500)}),placeholder:"A complete multi-page template with...",className:"resize-none",rows:3,maxLength:500,required:!0})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-version",children:["Version ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsx)(x.p,{id:"template-version",value:o.version,onChange:e=>c({...o,version:e.target.value}),placeholder:"1.0.0",pattern:"^\\d+\\.\\d+\\.\\d+$",required:!0}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Semantic version format (e.g., 1.0.0)"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-author",children:"Author"}),(0,a.jsx)(x.p,{id:"template-author",value:o.author,onChange:e=>c({...o,author:e.target.value.slice(0,50)}),placeholder:"Your Name",maxLength:50})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-author-url",children:"Author URL"}),(0,a.jsx)(x.p,{id:"template-author-url",type:"url",value:o.authorUrl,onChange:e=>c({...o,authorUrl:e.target.value}),placeholder:"https://yourwebsite.com"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(ee.J,{htmlFor:"template-license",children:["License ",(0,a.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,a.jsxs)(es.l6,{value:o.license,onValueChange:e=>c({...o,license:e}),children:[(0,a.jsx)(es.bq,{id:"template-license",children:(0,a.jsx)(es.yv,{})}),(0,a.jsx)(es.gC,{children:en.N2.map(e=>(0,a.jsx)(es.eb,{value:e.value,children:e.label},e.value))})]}),v&&(0,a.jsxs)("div",{className:"flex items-start gap-2 p-2 rounded-md bg-muted text-xs",children:[(0,a.jsx)(X.A,{className:"h-3 w-3 mt-0.5 shrink-0 text-muted-foreground"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:v.description})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-tags",children:"Tags"}),(0,a.jsx)(x.p,{id:"template-tags",value:d,onChange:e=>u(e.target.value),placeholder:"saas, marketing, landing (comma-separated)"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Add up to 10 tags, separated by commas"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"template-download-url",children:"Marketplace URL"}),(0,a.jsx)(x.p,{id:"template-download-url",type:"url",value:o.downloadUrl,onChange:e=>c({...o,downloadUrl:e.target.value}),placeholder:"https://example.com/templates/..."}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Where users can find this template"})]})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>s(!1),disabled:i,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:f,disabled:i,children:i?"Exporting...":"Export Template"})]})]})})}function eo({onProjectSelect:e,hideHeader:t=!1,hideFooter:s=!1}){let l=(0,i.useRouter)(),[o,c]=(0,r.useState)([]),[d,u]=(0,r.useState)(!0),[f,v]=(0,r.useState)(""),[j,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(""),[N,S]=(0,r.useState)(""),[C,A]=(0,r.useState)("blank"),[T,E]=(0,r.useState)([]),[P,$]=(0,r.useState)("updated"),[I,F]=(0,r.useState)("list"),[R,D]=(0,r.useState)(null),[L,z]=(0,r.useState)(!1),[M,O]=(0,r.useState)(null),{state:en,setProjectList:eo,start:ec,setTourDemoProjectId:ed}=(0,er.C)(),em=en.currentStep?.id,eu="running"===en.status,[eh,ep]=(0,r.useState)(!1),[ex,eg]=(0,r.useState)(null),ef=(0,r.useRef)(!1),ev=(0,r.useRef)(!1),ej=(0,r.useCallback)(async()=>{try{let e=await h.listCustomTemplates();E(e)}catch(e){m.v.error("Failed to load custom templates:",e)}},[]);(0,r.useCallback)(async()=>{if(!ef.current){ef.current=!0,u(!0);try{await n.vfs.init();let e=(await n.vfs.listProjects()).sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());c(e),eo(e),await ej()}catch(e){m.v.error("Failed to load projects:",e),B.oR.error("Failed to load projects")}finally{u(!1),ep(!0),ef.current=!1}}},[eo,ej]);let eb=(0,r.useCallback)(async()=>{try{await n.vfs.init();let e=(await n.vfs.listProjects()).sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());c(e),eo(e)}catch(e){m.v.error("Failed to reload projects:",e),B.oR.error("Failed to reload projects")}},[eo]),ey=async()=>{if(!ev.current){ev.current=!0;try{let t=await n.vfs.createProject("Multi-File Demo","Interactive examples showing how HTML, CSS, and JavaScript files work together");return await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets),B.oR.success("Demo project created successfully"),await eb(),e(t),t}catch(e){throw m.v.error("Failed to create demo project:",e),B.oR.error("Failed to create demo project"),ev.current=!1,e}}},ew=async()=>{try{let e=await n.vfs.createProject("Example Studios (Tour)","Demo project for guided tour");await (0,et.createProjectFromTemplate)(n.vfs,e.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets),ed(e.id),await eb(),ec(),m.v.info("[Tour] Created tour demo project:",e.id)}catch(e){m.v.error("Failed to prepare for tour:",e),B.oR.error("Failed to start tour - could not create demo project")}},eN=async()=>{if(!y.trim())return void B.oR.error("Please enter a project name");if(y.length>50)return void B.oR.error("Project name must be 50 characters or less");if(N.length>200)return void B.oR.error("Description must be 200 characters or less");try{let t=await n.vfs.createProject(y.trim().slice(0,50),N.trim().slice(0,200)||void 0);if(C.startsWith("custom:")){let e=C.replace("custom:",""),s=T.find(t=>t.id===e);s&&await (0,et.createProjectFromTemplate)(n.vfs,t.id,{name:s.name,description:s.description,files:s.files.map(e=>({path:e.path,content:"string"==typeof e.content?e.content:new TextDecoder().decode(e.content)})),directories:s.directories,assets:s.assets})}else"demo"===C?await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets):await (0,et.createProjectFromTemplate)(n.vfs,t.id,et.ZQ);B.oR.success("Project created successfully"),b(!1),w(""),S(""),A("blank"),await eb(),e(t)}catch(e){m.v.error("Failed to create project:",e),B.oR.error("Failed to create project")}},ek=async e=>{if(confirm(`Are you sure you want to delete "${e.name}"? This cannot be undone.`))try{await n.vfs.deleteProject(e.id),B.oR.success("Project deleted"),await eb()}catch(e){m.v.error("Failed to delete project:",e),B.oR.error("Failed to delete project")}},eS=async t=>{try{let s=await n.vfs.duplicateProject(t.id);B.oR.success("Project duplicated successfully"),await eb(),e(s)}catch(e){m.v.error("Failed to duplicate project:",e),B.oR.error("Failed to duplicate project")}},eC=async e=>{try{let t=await n.vfs.exportProject(e.id),s=JSON.stringify(t,null,2),a=new Blob([s],{type:"application/json"}),r=URL.createObjectURL(a),i=document.createElement("a");i.href=r,i.download=`${e.name.replace(/\s+/g,"-")}-export.json`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r),B.oR.success("Project exported")}catch(e){m.v.error("Failed to export project:",e),B.oR.error("Failed to export project")}},eA=async e=>{try{let t=await n.vfs.exportProjectAsZip(e.id),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`${e.name.replace(/\s+/g,"-")}.zip`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s),B.oR.success("Project exported as ZIP")}catch(e){m.v.error("Failed to export project as ZIP:",e),B.oR.error("Failed to export project as ZIP")}},eT=async()=>{let t=document.createElement("input");t.type="file",t.accept=".json",t.onchange=async t=>{let s=t.target.files?.[0];if(s)try{let t=await s.text(),a=JSON.parse(t);if(!a.project||!a.files)throw Error("Invalid project file");let r=await n.vfs.importProject(a);B.oR.success("Project imported successfully"),await eb(),e(r)}catch(e){m.v.error("Failed to import project:",e),B.oR.error("Failed to import project")}},t.click()},eE=((e,t)=>{let s=[...e];switch(t){case"updated":return s.sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());case"created":return s.sort((e,t)=>t.createdAt.getTime()-e.createdAt.getTime());case"name":return s.sort((e,t)=>e.name.localeCompare(t.name));case"size":return s.sort((e,t)=>t.updatedAt.getTime()-e.updatedAt.getTime());default:return s}})(o.filter(e=>e.name.toLowerCase().includes(f.toLowerCase())||e.description?.toLowerCase().includes(f.toLowerCase())),P);return d&&!eh?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading projects..."})]})}):(0,a.jsxs)("div",{className:"flex flex-col h-[100dvh]",style:{background:"linear-gradient(var(--project-background-tint), var(--project-background-tint)), var(--background)"},children:[(0,a.jsx)("main",{className:"flex-1 min-h-0 overflow-auto",children:(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col sm:flex-row gap-3","data-tour-id":"projects-actions",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(J.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search projects...",value:f,onChange:e=>v(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(ea.AM,{children:[(0,a.jsx)(ea.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(q.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Sort"})]})}),(0,a.jsx)(ea.hl,{className:"w-48",align:"end",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"font-semibold text-sm",children:"Sort by"}),(0,a.jsxs)(es.l6,{value:P,onValueChange:e=>$(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"updated",children:"Last Updated"}),(0,a.jsx)(es.eb,{value:"created",children:"Date Created"}),(0,a.jsx)(es.eb,{value:"name",children:"Name"})]})]})]})})]}),(0,a.jsxs)("div",{className:"flex border rounded-full",children:[(0,a.jsx)(p.$,{variant:"grid"===I?"secondary":"ghost",size:"sm",onClick:()=>F("grid"),className:"rounded-r-none rounded-l-full",children:(0,a.jsx)(H.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"list"===I?"secondary":"ghost",size:"sm",onClick:()=>F("list"),className:"rounded-l-none rounded-r-full",children:(0,a.jsx)(V.A,{className:"h-4 w-4"})})]}),(0,a.jsxs)(p.$,{onClick:()=>b(!0),size:"sm",className:"gap-2","data-tour-id":"new-project-button",children:[(0,a.jsx)(G.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"New"})]}),(0,a.jsxs)(p.$,{onClick:eT,variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(Y.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"Import"})]})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===eE.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)(k.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h2",{className:"text-xl font-semibold mb-2",children:f?"No projects found":"No projects yet"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-6",children:f?"Try a different search term":"Create your first project to get started"}),!f&&(0,a.jsxs)("div",{className:"flex gap-3 justify-center",children:[(0,a.jsxs)(p.$,{onClick:()=>b(!0),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),(0,a.jsxs)(p.$,{variant:"outline",onClick:ey,children:[(0,a.jsx)(k.A,{className:"mr-2 h-4 w-4"}),"Create Demo Project"]})]})]}):(0,a.jsx)("div",{className:"grid"===I?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4":"space-y-3","data-tour-id":"projects-list",children:eE.map(t=>"object"==typeof t&&t.id&&t.name?(0,a.jsx)(U,{project:t,onSelect:e,onDelete:ek,onExport:eC,onExportZip:eA,onDuplicate:eS,onPreview:D,onExportAsTemplate:O,onUpdate:async e=>{await n.vfs.updateProject(e),c(o.map(t=>t.id===e.id?e:t))},viewMode:I,forceMenuOpen:ex===t.id,highlightExport:eu&&"project-controls"===em&&ex===t.id},t.id):(m.v.error("Invalid project object:",t),null))})})})]})}),!s&&(0,a.jsx)("footer",{className:"hidden md:block border-t bg-card/50 py-3 px-6",children:(0,a.jsxs)("div",{className:"flex justify-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:ew,disabled:eu,"data-tour-id":"footer-guided-tour",children:[(0,a.jsx)(X.A,{className:"mr-2 h-4 w-4"}),"Guided Tour"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:()=>l.push("/test-generation"),children:[(0,a.jsx)(K.A,{className:"mr-2 h-4 w-4"}),"Model Tester"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:()=>z(!0),children:[(0,a.jsx)(X.A,{className:"mr-2 h-4 w-4"}),"About OSW Studio"]}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,children:(0,a.jsxs)("a",{href:"https://github.com/o-stahl/osw-studio",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)(Z.A,{className:"mr-2 h-4 w-4"}),"GitHub"]})})]})}),(0,a.jsx)(Q.lG,{open:j,onOpenChange:b,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-md",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Create New Project"}),(0,a.jsx)(Q.rr,{children:"Start a new multipage website project"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Project Name"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[y.length,"/50"]})]}),(0,a.jsx)(x.p,{id:"name",value:y,onChange:e=>w(e.target.value.slice(0,50)),placeholder:"My Awesome Website",className:"mt-2",maxLength:50})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"template",children:"Template"}),(0,a.jsxs)(es.l6,{value:C,onValueChange:A,children:[(0,a.jsx)(es.bq,{id:"template",className:"mt-2 w-full",children:(0,a.jsx)("div",{className:"truncate flex-1 text-left",children:(e=>{if(e.startsWith("custom:")){let t=e.replace("custom:",""),s=T.find(e=>e.id===t);return s?.name||"Custom Template"}let t=et.Nr.find(t=>t.id===e);return t?.name||"Select a template"})(C)})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsxs)(es.s3,{children:[(0,a.jsx)(es.TR,{children:"Built-in Templates"}),et.Nr.map(e=>(0,a.jsx)(es.eb,{value:e.id,children:(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsx)("div",{className:"font-medium",children:e.name}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:e.description})]})},e.id))]}),T.length>0&&(0,a.jsxs)(es.s3,{children:[(0,a.jsx)(es.TR,{children:"Custom Templates"}),T.map(e=>(0,a.jsx)(es.eb,{value:`custom:${e.id}`,children:(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsx)("div",{className:"font-medium",children:e.name}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:e.description})]})},e.id))]})]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[N.length,"/200"]})]}),(0,a.jsx)(g.T,{id:"description",value:N,onChange:e=>S(e.target.value.slice(0,200)),placeholder:"A brief description of your project",className:"mt-2 resize-none",rows:3,maxLength:200})]})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>b(!1),children:"Cancel"}),(0,a.jsx)(p.$,{onClick:eN,children:"Create Project"})]})]})}),R&&(0,a.jsx)(Q.lG,{open:!!R,onOpenChange:()=>D(null),children:(0,a.jsxs)(Q.Cf,{className:"max-w-[90vw] sm:max-w-[85vw] lg:max-w-[80vw] 2xl:max-w-[1400px] max-h-[90vh] w-full h-full p-0 flex flex-col",children:[(0,a.jsx)(Q.c7,{className:"p-4 border-b",children:(0,a.jsxs)(Q.L3,{children:["Preview: ",R.name]})}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,a.jsx)(W.X,{projectId:R.id})})]})}),(0,a.jsx)(el,{project:M,open:!!M,onOpenChange:e=>{e||O(null)}}),(0,a.jsx)(_.V,{open:L,onOpenChange:z}),(0,a.jsx)(ei.V,{location:"project-manager"})]})}function ec({onProjectSelect:e}){return(0,a.jsx)(eo,{onProjectSelect:e,hideHeader:!0,hideFooter:!0})}var ed=s(75639),em=s(59821),eu=s(84821),eh=s(25334),ep=s(80189);function ex({template:e,onSelect:t,onDelete:s,onExport:r,viewMode:i="grid"}){let n="isBuiltIn"in e&&e.isBuiltIn,l=n?null:e,o=e=>{let t=en.N2.find(t=>t.value===e);return t?.label||e},c=t=>{t.stopPropagation(),!n&&s&&s(e.id)},d=t=>{t.stopPropagation(),r&&r(e)},m=e=>{if(!e)return"Never";try{return(0,F.m)(e,{addSuffix:!0})}catch{return"Recently"}};return"list"===i?(0,a.jsx)("div",{className:"border border-border rounded-lg p-4 bg-card",children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("div",{className:"relative shrink-0",children:[l?.metadata.thumbnail?(0,a.jsx)("div",{className:"w-24 h-16 rounded-md overflow-hidden bg-muted",children:(0,a.jsx)("img",{src:l.metadata.thumbnail,alt:e.name,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-24 h-16 rounded-md bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-8 w-8 text-muted-foreground"})}),n&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{className:"absolute top-1 right-1 bg-background/90 rounded-full p-1",children:(0,a.jsx)(eu.A,{className:"h-3 w-3 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"Built-in template"})]})})]}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-2 mb-1",children:[(0,a.jsx)("h3",{className:"font-semibold text-base truncate",title:e.name,children:e.name}),l&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground shrink-0",children:["v",l.version]})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-1 mb-2",title:e.description,children:e.description}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-xs text-muted-foreground",children:[(l?.metadata.author||e.metadata?.author)&&(0,a.jsxs)("span",{className:"truncate max-w-[150px]",title:l?.metadata.author||e.metadata?.author,children:["by ",l?.metadata.author||e.metadata?.author]}),l?.metadata.license&&(0,a.jsxs)(a.Fragment,{children:[l.metadata.author&&(0,a.jsx)("span",{children:"•"}),(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0 h-auto",children:o(l.metadata.license)})]}),l?.files&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"•"}),(0,a.jsxs)("span",{children:[l.files.length," files"]})]}),(l?.metadata.tags||e.metadata?.tags)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"•"}),(l?.metadata.tags||e.metadata?.tags||[]).slice(0,2).map(e=>(0,a.jsx)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:e},e)),(l?.metadata.tags||e.metadata?.tags||[]).length>2&&(0,a.jsxs)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:["+",(l?.metadata.tags||e.metadata?.tags||[]).length-2]})]})]})]}),(0,a.jsxs)("div",{className:"hidden md:flex items-center gap-3 shrink-0",children:[(0,a.jsx)("span",{className:"text-xs text-muted-foreground whitespace-nowrap",children:m(l?.updatedAt||e.updatedAt)}),(0,a.jsxs)(D,{children:[(0,a.jsx)(L,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{children:(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)(I.A,{className:"mr-2 h-4 w-4"}),"Delete"]})})}),n&&(0,a.jsx)(ep.ZI,{children:"Built-in templates cannot be deleted"})]})})]})]})]})]}),(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsxs)(D,{children:[(0,a.jsx)(L,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)(I.A,{className:"mr-2 h-4 w-4"}),"Delete"]})]})]})]})})]})}):(0,a.jsxs)("div",{className:"border border-border rounded-lg overflow-hidden bg-card group",children:[(0,a.jsxs)("div",{className:"relative",children:[l?.metadata.thumbnail?(0,a.jsx)("div",{className:"w-full aspect-video bg-muted",children:(0,a.jsx)("img",{src:l.metadata.thumbnail,alt:e.name,className:"w-full h-full object-cover"})}):(0,a.jsx)("div",{className:"w-full aspect-video bg-muted flex items-center justify-center",children:(0,a.jsx)(b.A,{className:"h-16 w-16 text-muted-foreground"})}),n&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{className:"absolute top-2 right-2 bg-background/90 rounded-full p-1.5 shadow-sm",children:(0,a.jsx)(eu.A,{className:"h-4 w-4 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"Built-in template"})]})}),l?.metadata.downloadUrl&&(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("a",{href:l.metadata.downloadUrl,target:"_blank",rel:"noopener noreferrer",className:"absolute top-2 left-2 bg-background/90 hover:bg-background rounded-full p-1.5 shadow-sm transition-colors",onClick:e=>e.stopPropagation(),children:(0,a.jsx)(eh.A,{className:"h-4 w-4 text-muted-foreground"})})}),(0,a.jsx)(ep.ZI,{children:"View on marketplace"})]})})]}),(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,a.jsx)("h3",{className:"font-semibold text-base line-clamp-1 flex-1",title:e.name,children:e.name}),l&&(0,a.jsxs)("span",{className:"text-xs text-muted-foreground shrink-0",children:["v",l.version]})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",title:e.description,children:e.description})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(l?.metadata.author||e.metadata?.author)&&(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:l?.metadata.authorUrl?(0,a.jsxs)("a",{href:l.metadata.authorUrl,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline inline-flex items-center gap-1",onClick:e=>e.stopPropagation(),children:["by ",l.metadata.author,(0,a.jsx)(eh.A,{className:"h-3 w-3"})]}):(0,a.jsxs)("span",{children:["by ",l?.metadata.author||e.metadata?.author]})}),(l?.metadata.tags||e.metadata?.tags)&&(l?.metadata.tags||e.metadata?.tags||[]).length>0&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-1",children:[(l?.metadata.tags||e.metadata?.tags||[]).slice(0,3).map(e=>(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0.5",children:e},e)),(l?.metadata.tags||e.metadata?.tags||[]).length>3&&(0,a.jsxs)(em.E,{variant:"secondary",className:"text-xs px-1.5 py-0.5",children:["+",(l?.metadata.tags||e.metadata?.tags||[]).length-3]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-xs text-muted-foreground flex-wrap",children:[l?.metadata.license&&(0,a.jsx)(em.E,{variant:"outline",className:"text-xs px-1.5 py-0 h-auto",children:o(l.metadata.license)}),l?.files&&(0,a.jsxs)(a.Fragment,{children:[l.metadata.license&&(0,a.jsx)("span",{children:"•"}),(0,a.jsxs)("span",{children:[l.files.length," files"]})]})]})]}),(0,a.jsxs)("div",{className:"pt-3 border-t flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:m(l?.updatedAt||e.updatedAt)}),(0,a.jsxs)(D,{children:[(0,a.jsx)(L,{asChild:!0,children:(0,a.jsx)(p.$,{size:"icon",variant:"ghost",className:"h-8 w-8",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>t(e),children:[(0,a.jsx)(G.A,{className:"mr-2 h-4 w-4"}),"Create Project"]}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsxs)(M,{onClick:d,children:[(0,a.jsx)($.A,{className:"mr-2 h-4 w-4"}),"Export Template"]})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(ep.Bc,{children:(0,a.jsxs)(ep.m_,{children:[(0,a.jsx)(ep.k$,{asChild:!0,children:(0,a.jsx)("div",{children:(0,a.jsxs)(M,{className:"text-destructive",onClick:c,disabled:n,children:[(0,a.jsx)(I.A,{className:"mr-2 h-4 w-4"}),"Delete"]})})}),n&&(0,a.jsx)(ep.ZI,{children:"Built-in templates cannot be deleted"})]})})]})]})]})]})]})]})}function eg({onProjectCreated:e}){let[t,s]=(0,r.useState)([]),[i,l]=(0,r.useState)(!0),[o,c]=(0,r.useState)(""),[d,u]=(0,r.useState)("updated"),[g,f]=(0,r.useState)("grid"),v=(0,r.useCallback)(async()=>{try{l(!0);let e=await h.listCustomTemplates();s(e)}catch(e){m.v.error("Failed to load custom templates:",e),B.oR.error("Failed to load custom templates")}finally{l(!1)}},[]),j=async()=>{let e=document.createElement("input");e.type="file",e.accept=".oswt",e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{await h.importTemplateFile(t),B.oR.success("Template imported successfully!"),await v()}catch(e){m.v.error("Failed to import template:",e),B.oR.error(e instanceof Error?e.message:"Failed to import template")}},e.click()},b=async e=>{if(confirm("Are you sure you want to delete this template?"))try{await h.deleteCustomTemplate(e),B.oR.success("Template deleted"),await v()}catch(e){m.v.error("Failed to delete template:",e),B.oR.error("Failed to delete template")}},y=async e=>{try{if("isBuiltIn"in e&&e.isBuiltIn){B.oR.info("Exporting built-in template as custom template...");let t=await n.vfs.createProject(e.name,e.description);"blank"===e.id?await (0,ed.c3)(n.vfs,t.id,et.ZQ):"demo"===e.id&&await (0,ed.c3)(n.vfs,t.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets);let s=await h.exportProjectAsTemplate(n.vfs,t.id,{name:e.name,description:e.description,version:"1.0.0",author:"OSW Studio",license:"mit",tags:e.metadata?.tags||[]});await n.vfs.deleteProject(t.id);let a=URL.createObjectURL(s),r=document.createElement("a");r.href=a,r.download=`${e.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(a),B.oR.success("Template exported successfully!")}else{let t=await h.exportTemplateAsFile(e),s=URL.createObjectURL(t),a=document.createElement("a");a.href=s,a.download=`${e.name.replace(/\s+/g,"-").toLowerCase()}.oswt`,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL(s),B.oR.success("Template exported successfully!")}}catch(e){m.v.error("Failed to export template:",e),B.oR.error("Failed to export template")}},w=async t=>{try{let s="Blank"===t.name||"Example Studios"===t.name?`New ${t.name} Project`:t.name,a=await n.vfs.createProject(s,t.description);"isBuiltIn"in t&&t.isBuiltIn?"blank"===t.id?await (0,ed.c3)(n.vfs,a.id,et.ZQ):"demo"===t.id&&await (0,ed.c3)(n.vfs,a.id,et.DEMO_PROJECT_TEMPLATE,et.DEMO_PROJECT_TEMPLATE.assets):await (0,ed.c3)(n.vfs,a.id,{name:t.name,description:t.description,files:t.files.map(e=>({path:e.path,content:"string"==typeof e.content?e.content:new TextDecoder().decode(e.content)})),directories:t.directories,assets:t.assets}),B.oR.success(`Project "${a.name}" created successfully!`),e&&e(a.id)}catch(e){m.v.error("Failed to create project from template:",e),B.oR.error("Failed to create project")}},N=[...[...ed.Nr,...t].filter(e=>{let t=o.toLowerCase();return e.name.toLowerCase().includes(t)||e.description.toLowerCase().includes(t)||"metadata"in e&&e.metadata?.author?.toLowerCase().includes(t)||"metadata"in e&&e.metadata?.tags?.some(e=>e.toLowerCase().includes(t))})].sort((e,t)=>{switch(d){case"updated":let s="updatedAt"in e&&e.updatedAt?e.updatedAt:new Date("2024-01-01");return("updatedAt"in t&&t.updatedAt?t.updatedAt:new Date("2024-01-01")).getTime()-s.getTime();case"name":return e.name.localeCompare(t.name);case"author":let a="metadata"in e&&e.metadata?.author||"",r="metadata"in t&&t.metadata?.author||"";return a.localeCompare(r);case"files":let i="files"in e&&e.files?.length||0;return("files"in t&&t.files?.length||0)-i;default:return 0}});return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading templates..."})]})}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(J.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search templates...",value:o,onChange:e=>c(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(ea.AM,{children:[(0,a.jsx)(ea.Wv,{asChild:!0,children:(0,a.jsxs)(p.$,{variant:"outline",size:"sm",className:"gap-2",children:[(0,a.jsx)(q.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Sort"})]})}),(0,a.jsx)(ea.hl,{className:"w-48",align:"end",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("h4",{className:"font-semibold text-sm",children:"Sort by"}),(0,a.jsxs)(es.l6,{value:d,onValueChange:e=>u(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"updated",children:"Last Updated"}),(0,a.jsx)(es.eb,{value:"name",children:"Name"}),(0,a.jsx)(es.eb,{value:"author",children:"Author"}),(0,a.jsx)(es.eb,{value:"files",children:"File Count"})]})]})]})})]}),(0,a.jsxs)("div",{className:"flex border rounded-full",children:[(0,a.jsx)(p.$,{variant:"grid"===g?"secondary":"ghost",size:"sm",onClick:()=>f("grid"),className:"rounded-r-none rounded-l-full",children:(0,a.jsx)(H.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"list"===g?"secondary":"ghost",size:"sm",onClick:()=>f("list"),className:"rounded-l-none rounded-r-full",children:(0,a.jsx)(V.A,{className:"h-4 w-4"})})]}),(0,a.jsxs)(p.$,{onClick:j,size:"sm",className:"gap-2",children:[(0,a.jsx)(Y.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:"Import"})]})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===N.length?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)("div",{className:"text-center max-w-md",children:o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(J.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h3",{className:"font-semibold mb-2",children:"No templates found"}),(0,a.jsxs)("p",{className:"text-sm text-muted-foreground mb-4",children:['No templates match your search query "',o,'"']}),(0,a.jsx)(p.$,{variant:"outline",onClick:()=>c(""),children:"Clear search"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(P.A,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),(0,a.jsx)("h3",{className:"font-semibold mb-2",children:"No custom templates yet"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Import custom templates to get started with professional designs."}),(0,a.jsxs)(p.$,{onClick:j,children:[(0,a.jsx)(Y.A,{className:"h-4 w-4 mr-2"}),"Import Template"]})]})})}):(0,a.jsx)("div",{className:"grid"===g?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4":"space-y-3",children:N.map(e=>(0,a.jsx)(ex,{template:e,onSelect:w,onDelete:b,onExport:y,viewMode:g},e.id))})})})]})}function ef({onProjectSelect:e}){let t=(0,i.useRouter)();return(0,a.jsx)(eg,{onProjectCreated:s=>{e?e({id:s}):t.push(`/workspace/${s}`)}})}var ev=s(85945),ej=s(42902),eb=s(47696),ey=s(45609),ew=s(56085),eN=s(78272),ek=s(14952),eS=s(63143),eC=s(80262),eA=s(28559),eT=s(8819);function eE({skill:e,mode:t,onSave:s,onCancel:i}){let[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(""),[u,h]=(0,r.useState)(""),[f,j]=(0,r.useState)("form"),[b,y]=(0,r.useState)(!1),w=e=>{h(e);try{let{frontmatter:t,markdown:s}=(0,eC.N1)(e);l(t.name),c(t.description),m(s)}catch(e){}},N=async()=>{y(!0);try{let{frontmatter:a}=(0,eC.N1)(u);"create"===t?(await ev.skillsService.createSkill(u),B.oR.success(`Created skill: ${a.name}`)):e&&(await ev.skillsService.updateSkill(e.id,u),B.oR.success(`Updated skill: ${a.name}`)),s()}catch(t){let e=t instanceof Error?t.message:"Failed to save skill";B.oR.error(e)}finally{y(!1)}};return(0,a.jsxs)("div",{className:"flex flex-col bg-background h-[inherit]",children:[(0,a.jsx)("div",{className:"border-b px-6 py-4 shrink-0",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:i,children:(0,a.jsx)(eA.A,{className:"w-4 h-4"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-2xl font-bold",children:"create"===t?"Create New Skill":"Edit Skill"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Define specialized knowledge for the AI assistant"})]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:i,children:"Cancel"}),(0,a.jsxs)(p.$,{onClick:N,disabled:b,children:[(0,a.jsx)(eT.A,{className:"w-4 h-4 mr-2"}),b?"Saving...":"Save Skill"]})]})]})}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col overflow-auto",children:[(0,a.jsx)("div",{className:"border-b px-6 shrink-0",children:(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>j("form"),className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${"form"===f?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:"Form Editor"}),(0,a.jsx)("button",{onClick:()=>j("raw"),className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${"raw"===f?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:"Raw Markdown"})]})}),"form"===f&&(0,a.jsx)("div",{className:"flex-1 overflow-y-auto px-6 py-4",children:(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Skill Name *"}),(0,a.jsx)(x.p,{id:"name",placeholder:"e.g., react-hooks, python-testing, ui-design",value:n,onChange:e=>l(e.target.value),className:"mt-1.5"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Lowercase with hyphens (will be used as file name)"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description *"}),(0,a.jsx)(x.p,{id:"description",placeholder:"Brief description of what this skill covers",value:o,onChange:e=>c(e.target.value),className:"mt-1.5"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Max 200 characters - shown in skills list"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"markdown",children:"Skill Content *"}),(0,a.jsx)(g.T,{id:"markdown",placeholder:"Write the skill content in markdown format... ## Guidelines - Guideline 1 - Guideline 2 ## Examples ```javascript // Example code ```",value:d,onChange:e=>m(e.target.value),className:"mt-1.5 font-mono text-sm min-h-[400px]"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Markdown content that the AI will read when using this skill"})]}),(0,a.jsxs)("div",{className:"bg-muted/50 rounded-lg p-4",children:[(0,a.jsxs)("h3",{className:"font-semibold mb-2 flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"w-4 h-4"}),"Tips for Writing Skills"]}),(0,a.jsxs)("ul",{className:"text-sm text-muted-foreground space-y-1 ml-5 list-disc",children:[(0,a.jsx)("li",{children:"Be specific and actionable - provide clear guidelines and examples"}),(0,a.jsx)("li",{children:"Use markdown formatting for better readability"}),(0,a.jsx)("li",{children:"Include code examples where relevant"}),(0,a.jsx)("li",{children:"Focus on practical knowledge the AI can apply"}),(0,a.jsx)("li",{children:"Keep it concise but comprehensive"})]})]})]})}),"raw"===f&&(0,a.jsx)("div",{className:"flex-1 overflow-auto px-6 py-4",children:(0,a.jsx)("div",{className:"max-w-4xl",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(ee.J,{htmlFor:"raw-content",children:"Raw SKILL.md Content"}),(0,a.jsx)(g.T,{id:"raw-content",value:u,onChange:e=>w(e.target.value),className:"mt-1.5 font-mono text-sm min-h-[600px]",spellCheck:!1}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Direct editing of the SKILL.md file (YAML frontmatter + markdown)"})]})})})]})]})}function eP(){let[e,t]=(0,r.useState)([]),[s,i]=(0,r.useState)(!0),[n,l]=(0,r.useState)(""),[o,c]=(0,r.useState)(null),[d,u]=(0,r.useState)(null),[h,g]=(0,r.useState)(!1),[f,j]=(0,r.useState)(null),[b,y]=(0,r.useState)(!0),[w,N]=(0,r.useState)(new Set),k=async()=>{try{i(!0);let e=await ev.skillsService.getAllSkills();t(e)}catch(e){m.v.error("[SkillsManager] Failed to load skills",e),B.oR.error("Failed to load skills")}finally{i(!1)}},S=async()=>{try{let e=await ev.skillsService.isGloballyEnabled();y(e);let t=await ev.skillsService.getAllSkills(),s=new Set;for(let e of t)await ev.skillsService.isSkillEnabled(e.id)&&s.add(e.id);N(s)}catch(e){m.v.error("[SkillsManager] Failed to load enabled state",e)}},C=async e=>{try{await ev.skillsService.setGlobalEnabled(e),y(e),B.oR.success(e?"Skills enabled":"Skills disabled")}catch(e){B.oR.error("Failed to update skills state")}},A=async(e,t)=>{try{t?(await ev.skillsService.enableSkill(e),N(t=>new Set([...t,e]))):(await ev.skillsService.disableSkill(e),N(t=>{let s=new Set(t);return s.delete(e),s}))}catch(e){B.oR.error("Failed to toggle skill")}},T=()=>{c(null),u("create")},E=e=>{c(e),u("edit")},P=e=>{j(e),g(!0)},I=async()=>{if(f)try{await ev.skillsService.deleteSkill(f.id),B.oR.success(`Deleted skill: ${f.name}`),await k(),await S()}catch(t){let e=t instanceof Error?t.message:"Failed to delete skill";B.oR.error(e)}finally{g(!1),j(null)}},F=async()=>{let e=document.createElement("input");e.type="file",e.accept=".md,.zip",e.multiple=!1,e.onchange=async e=>{let t=e.target.files?.[0];if(t)try{if(t.name.endsWith(".zip")){let e=await ev.skillsService.importSkills(t);B.oR.success(`Imported ${e.length} skill(s)`)}else{let e=await ev.skillsService.importSkillFile(t);B.oR.success(`Imported skill: ${e.name}`)}await k(),await S()}catch(t){let e=t instanceof Error?t.message:"Failed to import skill";B.oR.error(e)}},e.click()},R=async()=>{try{let t=e.filter(e=>!e.isBuiltIn);if(0===t.length)return void B.oR.error("No custom skills to export");let s=await ev.skillsService.exportSkills(t.map(e=>e.id)),a=URL.createObjectURL(s),r=document.createElement("a");r.href=a,r.download=`osw-skills-${new Date().toISOString().split("T")[0]}.zip`,r.click(),URL.revokeObjectURL(a),B.oR.success(`Exported ${t.length} skill(s)`)}catch(e){B.oR.error("Failed to export skills")}},D=async()=>{u(null),c(null),await k(),await S()},L=()=>{u(null),c(null)},z=e.filter(e=>e.name.toLowerCase().includes(n.toLowerCase())||e.description.toLowerCase().includes(n.toLowerCase())),M=z.filter(e=>e.isBuiltIn),O=z.filter(e=>!e.isBuiltIn);return s?(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4",children:"Loading skills..."})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsx)("div",{className:"pt-4 px-4 pb-3 sm:pt-6 sm:px-6 sm:pb-3 shrink-0",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)("div",{className:"relative flex-1",children:[(0,a.jsx)(J.A,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),(0,a.jsx)(x.p,{placeholder:"Search skills...",value:n,onChange:e=>l(e.target.value),className:"pl-9"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:F,children:[(0,a.jsx)(Y.A,{className:"w-4 h-4 mr-2"}),"Import"]}),(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:R,children:[(0,a.jsx)($.A,{className:"w-4 h-4 mr-2"}),"Export"]}),(0,a.jsxs)(p.$,{onClick:T,size:"sm",children:[(0,a.jsx)(G.A,{className:"w-4 h-4 mr-2"}),"New"]})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-3 bg-muted/50 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ey.A,{className:"w-4 h-4"}),(0,a.jsx)(ee.J,{htmlFor:"global-toggle",className:"text-sm font-medium cursor-pointer",children:"Enable Skills System"})]}),(0,a.jsx)(ej.d,{id:"global-toggle",checked:b,onCheckedChange:C})]})]})}),(0,a.jsx)("div",{className:"flex-1 px-4 pt-3 pb-4 sm:px-6 sm:pt-3 sm:pb-6 overflow-auto",children:(0,a.jsx)("div",{className:"mx-auto max-w-7xl",children:0===z.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)(ew.A,{className:"w-12 h-12 mx-auto mb-4 text-muted-foreground"}),(0,a.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No skills found"}),(0,a.jsx)("p",{className:"text-muted-foreground mb-4",children:n?"Try a different search query":"Create your first custom skill"}),!n&&(0,a.jsxs)(p.$,{onClick:T,children:[(0,a.jsx)(G.A,{className:"w-4 h-4 mr-2"}),"Create Skill"]})]}):(0,a.jsxs)("div",{className:"space-y-6",children:[M.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:[(0,a.jsx)(v.A,{className:"w-5 h-5"}),"Built-in Skills (",M.length,")"]}),(0,a.jsx)("div",{className:"grid gap-3",children:M.map(e=>(0,a.jsx)(e$,{skill:e,isEnabled:w.has(e.id),globalEnabled:b,onToggle:A,onEdit:E,onDelete:P},e.id))})]}),O.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-lg font-semibold mb-3 flex items-center gap-2",children:[(0,a.jsx)(ew.A,{className:"w-5 h-5"}),"Custom Skills (",O.length,")"]}),(0,a.jsx)("div",{className:"grid gap-3",children:O.map(e=>(0,a.jsx)(e$,{skill:e,isEnabled:w.has(e.id),globalEnabled:b,onToggle:A,onEdit:E,onDelete:P},e.id))})]})]})})})]}),(0,a.jsx)(Q.lG,{open:!!d,onOpenChange:e=>!e&&L(),children:(0,a.jsx)(Q.Cf,{className:"max-w-[90vw] sm:max-w-[85vw] lg:max-w-[75vw] xl:max-w-[1200px] h-[90vh] p-0 overflow-hidden",children:d&&(0,a.jsx)(eE,{skill:o,mode:d,onSave:D,onCancel:L})})}),(0,a.jsx)(Q.lG,{open:h,onOpenChange:g,children:(0,a.jsxs)(Q.Cf,{children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:"Delete Skill"}),(0,a.jsxs)(Q.rr,{children:['Are you sure you want to delete "',f?.name,'"? This action cannot be undone.']})]}),(0,a.jsxs)(Q.Es,{children:[(0,a.jsx)(p.$,{variant:"outline",onClick:()=>g(!1),children:"Cancel"}),(0,a.jsx)(p.$,{variant:"destructive",onClick:I,children:"Delete"})]})]})})]})}function e$({skill:e,isEnabled:t,globalEnabled:s,onToggle:i,onEdit:n,onDelete:l}){let[o,c]=(0,r.useState)(!1),d=s&&t;return(0,a.jsx)(eb.Nt,{open:o,onOpenChange:c,children:(0,a.jsxs)("div",{className:`border rounded-lg transition-colors ${d?"border-primary/30 bg-primary/5":"border-border"}`,children:[(0,a.jsx)("div",{className:"p-4",children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsxs)(eb.R6,{className:"flex items-center gap-2 hover:text-primary transition-colors",children:[o?(0,a.jsx)(eN.A,{className:"w-4 h-4 shrink-0"}):(0,a.jsx)(ek.A,{className:"w-4 h-4 shrink-0"}),(0,a.jsx)("h3",{className:"font-semibold truncate",children:e.name})]}),e.isBuiltIn&&(0,a.jsx)(em.E,{variant:"secondary",className:"text-xs",children:"Built-in"}),!d&&(0,a.jsx)(em.E,{variant:"outline",className:"text-xs text-muted-foreground",children:"Disabled"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2",children:e.description})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ej.d,{checked:t,onCheckedChange:t=>i(e.id,t),disabled:!s}),!e.isBuiltIn&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>n(e),children:(0,a.jsx)(eS.A,{className:"w-4 h-4"})}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>l(e),children:(0,a.jsx)(I.A,{className:"w-4 h-4"})})]})]})]})}),(0,a.jsx)(eb.Ke,{children:(0,a.jsx)("div",{className:"border-t px-4 py-3 bg-muted/30",children:(0,a.jsxs)("div",{className:"text-sm space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,a.jsx)("span",{className:"font-medium",children:"Updated:"}),(0,a.jsx)("span",{children:e.updatedAt.toLocaleDateString()})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"font-medium text-muted-foreground",children:"Description:"}),(0,a.jsx)("p",{className:"mt-1",children:e.description})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"font-medium text-muted-foreground",children:"Content:"}),(0,a.jsx)("pre",{className:"mt-1 text-xs bg-background p-3 rounded border overflow-auto max-h-96 whitespace-pre-wrap",children:e.markdown})]})]})})})]})})}function eI(){return(0,a.jsx)(eP,{})}var eF=s(45001),eR=s(11437),eD=s(12597),eL=s(5407),ez=s(93613),eM=s(82570),eO=s(78122),eB=s(57175),eU=s(84027),eW=s(24413),e_=s(53411),eJ=s(85910);function eq({settings:e,onChange:t,projectId:s,siteId:r}){let i=(s,a)=>{t({...e,[s]:a})},n=e.customDomain?`https://${e.customDomain}`:`/sites/${r}`,l=`/sites/${r}`;return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Publishing Status"})}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"enabled",className:"text-base",children:"Published"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Make this site publicly accessible"})]}),(0,a.jsx)(ej.d,{id:"enabled",checked:e.enabled,onCheckedChange:e=>i("enabled",e)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"under-construction",className:"text-base",children:"Under Construction"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show maintenance overlay on live site"})]}),(0,a.jsx)(ej.d,{id:"under-construction",checked:e.underConstruction,onCheckedChange:e=>i("underConstruction",e)})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Public URL"})}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{className:"text-xs text-muted-foreground",children:"Public URL"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-muted rounded-lg",children:[(0,a.jsx)(eR.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("code",{className:"text-sm flex-1",children:n}),e.enabled&&(0,a.jsx)(em.E,{variant:"default",className:"ml-2",children:"Live"}),!e.enabled&&(0,a.jsx)(em.E,{variant:"secondary",className:"ml-2",children:"Not Published"})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This is the public URL where your site will be accessible"})]}),e.customDomain&&(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{className:"text-xs text-muted-foreground",children:"OSW Studio Path (Debug)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-muted/50 rounded-lg border border-dashed",children:[(0,a.jsx)(eR.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("code",{className:"text-xs flex-1 text-muted-foreground",children:l})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Internal path used by reverse proxy. Map your custom domain to this URL."})]})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Custom Domain (Advanced)"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"custom-domain",children:"Domain Name (Optional)"}),(0,a.jsx)(x.p,{id:"custom-domain",type:"text",placeholder:"example.com",value:e.customDomain||"",onChange:e=>i("customDomain",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Enter your custom domain if you've configured a reverse proxy to point it to this site. This is used for SEO meta tags and sitemaps. See documentation for setup instructions."})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Version Information"})}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"p-3 border rounded-lg",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Current Version"}),(0,a.jsx)("div",{className:"text-2xl font-semibold",children:e.settingsVersion})]}),(0,a.jsxs)("div",{className:"p-3 border rounded-lg",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Published Version"}),(0,a.jsx)("div",{className:"text-2xl font-semibold",children:null!==e.lastPublishedVersion&&void 0!==e.lastPublishedVersion?e.lastPublishedVersion:"-"})]})]}),void 0!==e.lastPublishedVersion&&e.settingsVersion>e.lastPublishedVersion&&(0,a.jsx)("div",{className:"p-3 bg-yellow-50 dark:bg-yellow-950 border border-yellow-200 dark:border-yellow-800 rounded-lg",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(em.E,{variant:"outline",className:"bg-yellow-100 dark:bg-yellow-900",children:"Pending Changes"}),(0,a.jsx)("span",{className:"text-sm",children:"You have unpublished changes. Republish to apply them."})]})})]})]})}var eH=s(80375);function eV({settings:e,onChange:t}){let[s,i]=(0,r.useState)(null),[n,l]=(0,r.useState)(!1),[o,c]=(0,r.useState)("head"),d=[...e.headScripts.map(e=>({...e,position:"head"})),...e.bodyScripts.map(e=>({...e,position:"body"}))],m=()=>{i({id:`script-${Date.now()}`,name:"",content:"",type:"inline",enabled:!0}),c("head"),l(!0)},u=(e,t)=>{i(e),c(t),l(!0)},h=s=>{confirm("Are you sure you want to delete this script?")&&t({...e,headScripts:e.headScripts.filter(e=>e.id!==s),bodyScripts:e.bodyScripts.filter(e=>e.id!==s)})},f=(s,a)=>{let r=("head"===a?e.headScripts:e.bodyScripts).map(e=>e.id===s?{...e,enabled:!e.enabled}:e);t({...e,["head"===a?"headScripts":"bodyScripts"]:r})};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Script Management"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Add custom scripts to your published site"})]}),(0,a.jsxs)(p.$,{onClick:m,size:"sm",children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-2"}),"Add Script"]})]}),0===d.length?(0,a.jsxs)("div",{className:"text-center p-8 border-2 border-dashed rounded-lg",children:[(0,a.jsx)(eH.A,{className:"h-12 w-12 mx-auto text-muted-foreground mb-3"}),(0,a.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No Scripts Added"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Add tracking scripts, analytics, or custom code to your site"}),(0,a.jsxs)(p.$,{onClick:m,variant:"outline",children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-2"}),"Add Your First Script"]})]}):(0,a.jsx)("div",{className:"space-y-4",children:d.map(e=>(0,a.jsxs)("div",{className:"flex items-start gap-4 p-4 border rounded-lg hover:bg-accent/50 transition-colors",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,a.jsx)("h4",{className:"font-semibold truncate",children:e.name}),(0,a.jsx)(em.E,{variant:"head"===e.position?"default":"secondary",children:"head"===e.position?"":"before "}),(0,a.jsx)(em.E,{variant:"outline",children:e.type}),e.async&&(0,a.jsx)(em.E,{variant:"outline",children:"async"}),e.defer&&(0,a.jsx)(em.E,{variant:"outline",children:"defer"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground truncate",children:"inline"===e.type?`${e.content.length} characters`:e.content})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ej.d,{checked:e.enabled,onCheckedChange:()=>f(e.id,e.position)}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>u(e,e.position),children:(0,a.jsx)(eS.A,{className:"h-4 w-4"})}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>h(e.id),children:(0,a.jsx)(I.A,{className:"h-4 w-4"})})]})]},e.id))}),(0,a.jsx)(Q.lG,{open:n,onOpenChange:l,children:(0,a.jsxs)(Q.Cf,{className:"max-w-2xl",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:s?.name?"Edit Script":"Add Script"}),(0,a.jsx)(Q.rr,{children:"Configure a custom script to inject into your published site"})]}),s&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-name",children:"Script Name"}),(0,a.jsx)(x.p,{id:"script-name",placeholder:"e.g., Google Analytics",value:s.name,onChange:e=>i({...s,name:e.target.value})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-position",children:"Position"}),(0,a.jsxs)(es.l6,{value:o,onValueChange:e=>c(e),children:[(0,a.jsx)(es.bq,{id:"script-position",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"head",children:"In "}),(0,a.jsx)(es.eb,{value:"body",children:"Before "})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-type",children:"Type"}),(0,a.jsxs)(es.l6,{value:s.type,onValueChange:e=>i({...s,type:e}),children:[(0,a.jsx)(es.bq,{id:"script-type",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"inline",children:"Inline Script"}),(0,a.jsx)(es.eb,{value:"external",children:"External URL"})]})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"script-content",children:"inline"===s.type?"Script Code":"Script URL"}),"inline"===s.type?(0,a.jsx)(g.T,{id:"script-content",placeholder:"`,(0,a.jsx)("br",{}),"\x3c!-- End Google Tag Manager --\x3e"]}),"ga4"===e.analytics.provider&&(0,a.jsxs)(a.Fragment,{children:["\x3c!-- Google Analytics 4 --\x3e",(0,a.jsx)("br",{}),``,(0,a.jsx)("br",{}),"`,(0,a.jsx)("br",{}),"\x3c!-- End Plausible Analytics --\x3e"]}),"custom"===e.analytics.provider&&(e.analytics.customScript||"No custom script provided")]})}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"This script will be injected into the section of your site"})]})]})]})}function eK({settings:e,onChange:t}){let[s,i]=(0,r.useState)(""),n=(s,a)=>{t({...e,seo:{...e.seo,[s]:a}})},l=()=>{if(!s.trim())return;let t=e.seo.keywords||[],a=s.split(",").map(e=>e.trim()).filter(e=>e&&!t.includes(e));a.length>0&&(n("keywords",[...t,...a]),i(""))},o=t=>{n("keywords",(e.seo.keywords||[]).filter(e=>e!==t))};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"SEO Configuration"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Optimize your site for search engines and social sharing"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Basic Meta Tags"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-title",children:"Meta Title"}),(0,a.jsx)(x.p,{id:"seo-title",placeholder:"Your Site Title",value:e.seo.title||"",onChange:e=>n("title",e.target.value||void 0)}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Recommended: 50-60 characters",e.seo.title&&(0,a.jsxs)("span",{className:"ml-2",children:["(",e.seo.title.length," characters)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-description",children:"Meta Description"}),(0,a.jsx)(g.T,{id:"seo-description",placeholder:"A brief description of your site",rows:3,value:e.seo.description||"",onChange:e=>n("description",e.target.value||void 0)}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Recommended: 150-160 characters",e.seo.description&&(0,a.jsxs)("span",{className:"ml-2",children:["(",e.seo.description.length," characters)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-keywords",children:"Keywords"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(x.p,{id:"seo-keywords",placeholder:"Enter keywords (comma-separated)",value:s,onChange:e=>i(e.target.value),onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),l())}}),(0,a.jsx)(p.$,{type:"button",onClick:l,variant:"outline",children:"Add"})]}),e.seo.keywords&&e.seo.keywords.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap gap-2 mt-2",children:e.seo.keywords.map(e=>(0,a.jsxs)(em.E,{variant:"secondary",className:"gap-1",children:[e,(0,a.jsx)("button",{onClick:()=>o(e),className:"ml-1 hover:text-destructive",children:(0,a.jsx)(w.A,{className:"h-3 w-3"})})]},e))})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"seo-canonical",children:"Canonical URL"}),(0,a.jsx)(x.p,{id:"seo-canonical",type:"url",placeholder:"https://example.com/page",value:e.seo.canonical||"",onChange:e=>n("canonical",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Prevent duplicate content issues by specifying the primary URL"})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Open Graph (Facebook, LinkedIn)"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-title",children:"OG Title"}),(0,a.jsx)(x.p,{id:"og-title",placeholder:"Title for social media sharing",value:e.seo.ogTitle||"",onChange:e=>n("ogTitle",e.target.value||void 0)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-description",children:"OG Description"}),(0,a.jsx)(g.T,{id:"og-description",placeholder:"Description for social media sharing",rows:2,value:e.seo.ogDescription||"",onChange:e=>n("ogDescription",e.target.value||void 0)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"og-image",children:"OG Image URL"}),(0,a.jsx)(x.p,{id:"og-image",type:"url",placeholder:"https://example.com/image.jpg",value:e.seo.ogImage||"",onChange:e=>n("ogImage",e.target.value||void 0)}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Recommended: 1200x630px for best results"})]}),e.seo.ogImage&&(0,a.jsxs)("div",{className:"p-4 border rounded-lg",children:[(0,a.jsx)("p",{className:"text-sm font-medium mb-2",children:"Image Preview"}),(0,a.jsx)("div",{className:"relative aspect-video bg-muted rounded flex items-center justify-center overflow-hidden",children:(0,a.jsx)("img",{src:e.seo.ogImage,alt:"OG Image preview",className:"object-cover w-full h-full",onError:e=>{e.target.style.display="none",e.target.parentElement.innerHTML='
Unable to load image
'}})})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Twitter Card"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"twitter-card",children:"Card Type"}),(0,a.jsxs)(es.l6,{value:e.seo.twitterCard||"summary",onValueChange:e=>n("twitterCard",e),children:[(0,a.jsx)(es.bq,{id:"twitter-card",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"summary",children:"Summary"}),(0,a.jsx)(es.eb,{value:"summary_large_image",children:"Summary Large Image"})]})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"How your site appears when shared on Twitter/X"})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Search Result Preview"})}),(0,a.jsx)("div",{className:"p-4 border rounded-lg bg-muted/50",children:(0,a.jsxs)("div",{className:"flex gap-2 mb-2",children:[(0,a.jsx)(J.A,{className:"h-5 w-5 text-blue-600"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm text-blue-600 mb-1",children:"https://your-domain.com"}),(0,a.jsx)("h3",{className:"text-lg text-blue-800 dark:text-blue-400 font-medium mb-1",children:e.seo.title||e.seo.ogTitle||"Your Site Title"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.seo.description||e.seo.ogDescription||"Your site description will appear here in search results."})]})]})})]}),(e.seo.ogTitle||e.seo.ogImage)&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Social Share Preview"})}),(0,a.jsx)("div",{className:"p-4 border rounded-lg bg-muted/50",children:(0,a.jsxs)("div",{className:"space-y-2",children:[e.seo.ogImage&&(0,a.jsx)("div",{className:"aspect-video bg-muted rounded overflow-hidden",children:(0,a.jsx)("img",{src:e.seo.ogImage,alt:"Social preview",className:"object-cover w-full h-full",onError:e=>{e.target.style.display="none"}})}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"your-domain.com"}),(0,a.jsx)("h4",{className:"font-semibold",children:e.seo.ogTitle||e.seo.title||"Your Site Title"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e.seo.ogDescription||e.seo.description||"Your site description"})]})]})})]})]})}var eZ=s(47260);function eQ({settings:e,onChange:t}){let s=(s,a)=>{t({...e,compliance:{...e.compliance,[s]:a}})};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsx)("div",{className:"flex items-center justify-between",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Compliance & Consent"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Cookie consent banner and privacy compliance"})]})}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(ee.J,{htmlFor:"compliance-enabled",className:"text-base",children:"Enable Consent Banner"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Show a cookie consent banner to visitors"})]}),(0,a.jsx)(ej.d,{id:"compliance-enabled",checked:e.compliance.enabled,onCheckedChange:e=>s("enabled",e)})]}),e.compliance.enabled&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Banner Configuration"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-position",children:"Banner Position"}),(0,a.jsxs)(es.l6,{value:e.compliance.bannerPosition,onValueChange:e=>s("bannerPosition",e),children:[(0,a.jsx)(es.bq,{id:"banner-position",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"top",children:"Top"}),(0,a.jsx)(es.eb,{value:"bottom",children:"Bottom"})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-style",children:"Banner Style"}),(0,a.jsxs)(es.l6,{value:e.compliance.bannerStyle,onValueChange:e=>s("bannerStyle",e),children:[(0,a.jsx)(es.bq,{id:"banner-style",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"bar",children:"Full-width Bar"}),(0,a.jsx)(es.eb,{value:"modal",children:"Centered Modal"}),(0,a.jsx)(es.eb,{value:"corner",children:"Bottom-right Corner"})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"banner-message",children:"Banner Message"}),(0,a.jsx)(g.T,{id:"banner-message",placeholder:"We use cookies to improve your experience...",rows:3,value:e.compliance.message,onChange:e=>s("message",e.target.value),maxLength:500}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e.compliance.message.length,"/500 characters"]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"accept-text",children:"Accept Button Text"}),(0,a.jsx)(x.p,{id:"accept-text",placeholder:"Accept",value:e.compliance.acceptButtonText,onChange:e=>s("acceptButtonText",e.target.value),maxLength:50})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"decline-text",children:"Decline Button Text"}),(0,a.jsx)(x.p,{id:"decline-text",placeholder:"Decline",value:e.compliance.declineButtonText,onChange:e=>s("declineButtonText",e.target.value),maxLength:50})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"font-semibold mb-2",children:"Policy Links (Optional)"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Add links to your privacy and cookie policies"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"privacy-policy-url",children:"Privacy Policy URL"}),(0,a.jsx)(x.p,{id:"privacy-policy-url",type:"url",placeholder:"https://example.com/privacy",value:e.compliance.privacyPolicyUrl||"",onChange:e=>s("privacyPolicyUrl",e.target.value)})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"cookie-policy-url",children:"Cookie Policy URL"}),(0,a.jsx)(x.p,{id:"cookie-policy-url",type:"url",placeholder:"https://example.com/cookies",value:e.compliance.cookiePolicyUrl||"",onChange:e=>s("cookiePolicyUrl",e.target.value)})]})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Compliance Mode"})}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"compliance-mode",children:"Mode"}),(0,a.jsxs)(es.l6,{value:e.compliance.mode,onValueChange:e=>s("mode",e),children:[(0,a.jsx)(es.bq,{id:"compliance-mode",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"opt-in",children:"Opt-in (GDPR)"}),(0,a.jsx)(es.eb,{value:"opt-out",children:"Opt-out"})]})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"opt-in"===e.compliance.mode?"Blocks analytics until user accepts (required for GDPR)":"Allows analytics by default, user can decline"})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[(0,a.jsxs)("div",{className:"space-y-1 flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(ee.J,{htmlFor:"block-analytics",className:"text-base",children:"Block Analytics Until Consent"}),(0,a.jsx)(eZ.A,{className:"h-4 w-4 text-muted-foreground"})]}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Prevent analytics tracking until user accepts"})]}),(0,a.jsx)(ej.d,{id:"block-analytics",checked:e.compliance.blockAnalytics,onCheckedChange:e=>s("blockAnalytics",e)})]}),"opt-in"===e.compliance.mode&&(0,a.jsx)("div",{className:"p-4 bg-blue-50 dark:bg-blue-950 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(eY.A,{className:"h-5 w-5 text-blue-600 dark:text-blue-400 flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("h4",{className:"font-semibold text-blue-900 dark:text-blue-100",children:"GDPR Compliance Mode"}),(0,a.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"In opt-in mode, cookies and tracking are blocked by default until the user explicitly accepts. This is required for GDPR compliance."})]})]})})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)("h4",{className:"font-semibold mb-4",children:"Preview"})}),(0,a.jsx)("div",{className:"p-4 bg-muted rounded-lg border",children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(X.A,{className:"h-5 w-5 text-muted-foreground flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:"Live Preview"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"The consent banner will appear on your published site based on the configuration above. Visitors' choices are stored in their browser's localStorage."})]})]})})]})]})]})}var e0=s(41862),e1=s(81231),e2=s(53094);function e4({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(new Set),[u,h]=(0,r.useState)(!1),x=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/database/schema`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load schema")}let a=await t.json();s(a.tables)}catch(e){o(e instanceof Error?e.message:"Failed to load schema")}finally{n(!1)}},g=e=>{d(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})},f=u?t:t.filter(e=>!e.isSystemTable);return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e0.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:x,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Database Tables"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>h(!u),className:"text-xs",children:u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eD.A,{className:"h-3.5 w-3.5 mr-1"}),"Hide System Tables"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T.A,{className:"h-3.5 w-3.5 mr-1"}),"Show System Tables"]})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto border rounded-lg",children:0===f.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center",children:[(0,a.jsx)(e1.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No user tables found"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Create tables using the SQL editor"})]}):(0,a.jsx)("div",{className:"divide-y",children:f.map(e=>(0,a.jsxs)("div",{className:(0,m.cn)("transition-colors",e.isSystemTable&&"bg-muted/30"),children:[(0,a.jsxs)("button",{onClick:()=>g(e.name),className:"w-full flex items-center gap-2 p-3 text-left hover:bg-muted/50 transition-colors",children:[c.has(e.name)?(0,a.jsx)(eN.A,{className:"h-4 w-4 text-muted-foreground"}):(0,a.jsx)(ek.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)(e1.A,{className:"h-4 w-4 text-blue-500"}),(0,a.jsx)("span",{className:"flex-1 font-mono text-sm",children:e.name}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[e.rowCount," row",1!==e.rowCount?"s":""]}),e.isSystemTable&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded",children:"system"})]}),c.has(e.name)&&(0,a.jsx)("div",{className:"bg-muted/20 border-t",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"border-b bg-muted/30",children:[(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Column"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Type"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Nullable"}),(0,a.jsx)("th",{className:"text-left p-2 font-medium",children:"Default"})]})}),(0,a.jsx)("tbody",{children:e.columns.map(e=>(0,a.jsxs)("tr",{className:"border-b last:border-0",children:[(0,a.jsxs)("td",{className:"p-2 font-mono flex items-center gap-1.5",children:[e.primaryKey&&(0,a.jsx)(e2.A,{className:"h-3 w-3 text-yellow-500"}),e.name]}),(0,a.jsx)("td",{className:"p-2 font-mono text-muted-foreground",children:e.type||"TEXT"}),(0,a.jsx)("td",{className:"p-2 text-muted-foreground",children:e.nullable?"Yes":"No"}),(0,a.jsx)("td",{className:"p-2 font-mono text-muted-foreground text-xs",children:e.defaultValue||"-"})]},e.name))})]})})]},e.name))})})]})}var e3=s(49753),e5=s(97840),e6=s(39916),e8=s(14719),e9=s(10218);function e7({siteId:e}){let[t,s]=(0,r.useState)("SELECT * FROM "),[i,n]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)([]),[m,u]=(0,r.useState)(!1),{resolvedTheme:h}=(0,e9.D)(),[x,g]=(0,r.useState)(!1),f=(0,r.useCallback)(e=>{d(t=>{let s=[e,...t.filter(t=>t!==e)].slice(0,20);return localStorage.setItem("osw-sql-history",JSON.stringify(s)),s})},[]),v=(0,r.useCallback)(async()=>{if(!t.trim())return;n(!0),o(null);let s=Date.now();try{let a=await fetch(`/api/admin/sites/${e}/database/query`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sql:t.trim()})}),r=await a.json(),i=Date.now()-s;a.ok?(o({success:!0,columns:r.columns,rows:r.rows,rowsAffected:r.rowsAffected,executionTime:i}),f(t.trim())):o({success:!1,error:r.error||"Query failed",executionTime:i})}catch(e){o({success:!1,error:e instanceof Error?e.message:"Query failed",executionTime:Date.now()-s})}finally{n(!1)}},[t,e,f]),j=(0,r.useCallback)(e=>{e.addCommand(2051,()=>{v()})},[v]);return x?(0,a.jsxs)("div",{className:"h-full flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{onClick:v,disabled:i||!t.trim(),size:"sm",children:[i?(0,a.jsx)(e0.A,{className:"h-4 w-4 animate-spin mr-1"}):(0,a.jsx)(e5.A,{className:"h-4 w-4 mr-1"}),"Execute"]}),(0,a.jsx)("span",{className:"text-xs text-muted-foreground",children:"Ctrl/Cmd + Enter"})]}),(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:()=>u(!m),children:[(0,a.jsx)(e6.A,{className:"h-4 w-4 mr-1"}),"History"]})]}),m&&c.length>0&&(0,a.jsx)("div",{className:"border rounded-lg bg-background shadow-lg max-h-40 overflow-auto",children:c.map((e,t)=>(0,a.jsx)("button",{onClick:()=>{s(e),u(!1)},className:"w-full text-left px-3 py-2 text-sm font-mono hover:bg-muted border-b last:border-0 truncate",children:e},t))}),(0,a.jsx)("div",{className:"h-32 border rounded-lg overflow-hidden",children:(0,a.jsx)(e3.Ay,{language:"sql",theme:"dark"===h?"vs-dark":"light",value:t,onChange:e=>s(e||""),onMount:j,options:{minimap:{enabled:!1},fontSize:13,lineNumbers:"off",folding:!1,scrollBeyondLastLine:!1,wordWrap:"on",automaticLayout:!0}})})]}),(0,a.jsx)("div",{className:"flex-1 overflow-hidden border rounded-lg",children:null===l?(0,a.jsx)("div",{className:"h-full flex items-center justify-center text-muted-foreground text-sm",children:"Execute a query to see results"}):l.success?(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 bg-muted/30 border-b text-sm",children:[(0,a.jsx)(e8.A,{className:"h-4 w-4 text-green-500"}),l.rows&&l.rows.length>0?(0,a.jsxs)("span",{children:[l.rows.length," row",1!==l.rows.length?"s":""]}):void 0!==l.rowsAffected&&l.rowsAffected>0?(0,a.jsxs)("span",{children:[l.rowsAffected," row",1!==l.rowsAffected?"s":""," affected"]}):(0,a.jsx)("span",{children:"Query executed successfully"}),(0,a.jsxs)("span",{className:"text-muted-foreground",children:["(",l.executionTime,"ms)"]})]}),l.columns&&l.columns.length>0&&l.rows?(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{className:"sticky top-0 bg-muted",children:(0,a.jsx)("tr",{children:l.columns.map((e,t)=>(0,a.jsx)("th",{className:"text-left p-2 font-medium border-r last:border-0",children:e},t))})}),(0,a.jsx)("tbody",{children:l.rows.map((e,t)=>(0,a.jsx)("tr",{className:"border-t hover:bg-muted/30",children:e.map((e,t)=>(0,a.jsx)("td",{className:"p-2 font-mono text-xs border-r last:border-0 max-w-xs truncate",children:null===e?(0,a.jsx)("span",{className:"text-muted-foreground italic",children:"NULL"}):"object"==typeof e?JSON.stringify(e):String(e)},t))},t))})]})}):null]}):(0,a.jsxs)("div",{className:"h-full flex flex-col items-center justify-center gap-2 p-4",children:[(0,a.jsx)(ez.A,{className:"h-6 w-6 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-destructive font-medium",children:"Query Error"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground text-center max-w-md",children:l.error})]})})]}):(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsx)(e0.A,{className:"h-6 w-6 animate-spin"})})}var te=s(34091),tt=s(39262),ts=s(92293);let ta=`// Access the request object -// request.method - HTTP method -// request.body - Parsed request body -// request.query - Query string parameters -// request.headers - Request headers - -// Use the database -// db.query(sql, params) - Execute SELECT query -// db.run(sql, params) - Execute INSERT/UPDATE/DELETE -// db.all(sql, params) - Alias for query - -// Return a response -// Response.json(data, status) - Return JSON -// Response.text(text, status) - Return text -// Response.error(message, status) - Return error - -// Example: List items -const items = db.all('SELECT * FROM items LIMIT 10'); -Response.json({ items }); -`;function tr({siteId:e,function:t,isOpen:s,onClose:i,onSave:n}){let[l,o]=(0,r.useState)(t?.name||""),[c,d]=(0,r.useState)(t?.description||""),[m,u]=(0,r.useState)(t?.method||"ANY"),[h,g]=(0,r.useState)(t?.code||ta),[f,v]=(0,r.useState)(t?.timeoutMs||5e3),[j,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(null),{resolvedTheme:N}=(0,e9.D)(),[k,S]=(0,r.useState)(!1),C=async()=>{if(w(null),!l.trim())return void w("Function name is required");if(!/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(l))return void w("Name must be lowercase letters, numbers, and hyphens only");if(!h.trim())return void w("Function code is required");b(!0);try{await n({name:l.trim(),description:c.trim()||void 0,method:m,code:h,timeoutMs:f,enabled:t?.enabled??!0})}catch(e){w(e instanceof Error?e.message:"Failed to save function")}finally{b(!1)}};return k?(0,a.jsx)(Q.lG,{open:s,onOpenChange:i,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-3xl h-[85vh] flex flex-col",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:t?"Edit Function":"Create Function"}),(0,a.jsx)(Q.rr,{children:"Define an HTTP endpoint that can access your site database."})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-auto space-y-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-4",children:[(0,a.jsxs)("div",{className:"col-span-2 space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Function Name"}),(0,a.jsx)(x.p,{id:"name",value:l,onChange:e=>o(e.target.value.toLowerCase()),placeholder:"my-function",disabled:!!t}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["URL: /api/sites/",e,"/functions/",(0,a.jsx)("span",{className:"font-mono",children:l||"name"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"method",children:"HTTP Method"}),(0,a.jsxs)(es.l6,{value:m,onValueChange:e=>u(e),children:[(0,a.jsx)(es.bq,{children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"ANY",children:"ANY"}),(0,a.jsx)(es.eb,{value:"GET",children:"GET"}),(0,a.jsx)(es.eb,{value:"POST",children:"POST"}),(0,a.jsx)(es.eb,{value:"PUT",children:"PUT"}),(0,a.jsx)(es.eb,{value:"DELETE",children:"DELETE"})]})]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:c,onChange:e=>d(e.target.value),placeholder:"What does this function do?"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"timeout",children:"Timeout (seconds)"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.p,{id:"timeout",type:"number",min:1,max:30,value:f/1e3,onChange:e=>v(1e3*Math.min(30,Math.max(1,parseInt(e.target.value)||5))),className:"w-24"}),(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:"1-30 seconds"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Function Code"}),(0,a.jsx)("div",{className:"h-64 border rounded-lg overflow-hidden",children:(0,a.jsx)(e3.Ay,{language:"javascript",theme:"dark"===N?"vs-dark":"light",value:h,onChange:e=>g(e||""),options:{minimap:{enabled:!1},fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2}})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(X.A,{className:"h-4 w-4"}),"Available APIs"]}),(0,a.jsxs)("div",{className:"grid gap-2 text-xs font-mono",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-blue-500",children:"request"}),".method, .body, .query, .headers, .params, .path"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-green-500",children:"db"}),".query(sql, params), .run(sql, params), .all(sql, params)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-purple-500",children:"Response"}),".json(data, status), .text(text, status), .error(msg, status)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-yellow-500",children:"fetch"}),"(url, options) - External HTTP requests"]})]})]}),y&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),y]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:i,disabled:j,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:C,disabled:j,children:j?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e0.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):t?"Save Changes":"Create Function"})]})]})}):null}function ti({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[u,h]=(0,r.useState)(!1),[x,g]=(0,r.useState)(null),f=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/functions`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load functions")}let a=await t.json();s(a.functions)}catch(e){o(e instanceof Error?e.message:"Failed to load functions")}finally{n(!1)}},v=async t=>{try{if(!(await fetch(`/api/admin/sites/${e}/functions/${t.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!t.enabled})})).ok)throw Error("Failed to update function");await f()}catch(e){console.error("Failed to toggle function:",e)}},j=async t=>{if(confirm(`Delete function "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/functions/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete function");await f()}catch(e){console.error("Failed to delete function:",e)}},b=t=>{let s=`${window.location.origin}/api/sites/${e}/functions/${t.name}`;navigator.clipboard.writeText(s),g(t.id),setTimeout(()=>g(null),2e3)},y=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/functions/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update function")}}else{let s=await fetch(`/api/admin/sites/${e}/functions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create function")}}d(null),h(!1),await f()}catch(e){throw e}};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e0.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:f,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Edge Functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Function"]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(te.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No edge functions yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Create your first API endpoint"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Function"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(t=>(0,a.jsx)("div",{className:(0,m.cn)("border rounded-lg p-4 transition-colors",!t.enabled&&"opacity-60 bg-muted/30"),children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(te.A,{className:"h-4 w-4 text-blue-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:t.name}),(0,a.jsx)("span",{className:(0,m.cn)("text-xs px-1.5 py-0.5 rounded shrink-0","ANY"===t.method?"bg-purple-500/20 text-purple-600":"GET"===t.method?"bg-green-500/20 text-green-600":"POST"===t.method?"bg-blue-500/20 text-blue-600":"PUT"===t.method?"bg-yellow-500/20 text-yellow-600":"bg-red-500/20 text-red-600"),children:t.method}),!t.enabled&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded shrink-0",children:"disabled"})]}),t.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:t.description}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:[(0,a.jsxs)("span",{className:"shrink-0",children:["Timeout: ",t.timeoutMs/1e3,"s"]}),(0,a.jsx)("button",{onClick:()=>b(t),className:"flex items-center gap-1 hover:text-foreground transition-colors shrink-0",children:x===t.id?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e8.A,{className:"h-3 w-3 text-green-500"}),"Copied!"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(E.A,{className:"h-3 w-3"}),"Copy URL"]})})]})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(L,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(t),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsx)(M,{onClick:()=>v(t),children:t.enabled?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tt.A,{className:"h-4 w-4 mr-2"}),"Disable"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ts.A,{className:"h-4 w-4 mr-2"}),"Enable"]})}),(0,a.jsxs)(M,{onClick:()=>window.open(`/api/sites/${e}/functions/${t.name}`,"_blank"),children:[(0,a.jsx)(eh.A,{className:"h-4 w-4 mr-2"}),"Open in Browser"]}),(0,a.jsxs)(M,{onClick:()=>j(t),className:"text-destructive",children:[(0,a.jsx)(I.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},t.id))})}),(u||c)&&(0,a.jsx)(tr,{siteId:e,function:c,isOpen:!0,onClose:()=>{h(!1),d(null)},onSave:y})]})}var tn=s(82679);let tl=`// Server functions receive arguments via the 'args' array -// and have access to 'db' and 'fetch' - -// Example: Validate an API key -const [apiKey] = args; -if (!apiKey) { - return { valid: false, error: 'No API key provided' }; -} - -const users = db.query( - 'SELECT id, name FROM users WHERE api_key = ?', - [apiKey] -); - -if (users.length === 0) { - return { valid: false, error: 'Invalid API key' }; -} - -return { valid: true, user: users[0] }; -`;function to({function:e,isOpen:t,onClose:s,onSave:i}){let[n,l]=(0,r.useState)(e?.name||""),[o,c]=(0,r.useState)(e?.description||""),[d,m]=(0,r.useState)(e?.code||tl),[u,h]=(0,r.useState)(!1),[g,f]=(0,r.useState)(null),{resolvedTheme:v}=(0,e9.D)(),[j,b]=(0,r.useState)(!1),y=async()=>{if(f(null),!n.trim())return void f("Function name is required");if(!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(n))return void f("Name must be a valid identifier (letters, numbers, underscores; cannot start with number)");if(["db","fetch","console","args","request","Response","server"].includes(n))return void f(`"${n}" is reserved and cannot be used`);if(!d.trim())return void f("Function code is required");h(!0);try{await i({name:n.trim(),description:o.trim()||void 0,code:d,enabled:e?.enabled??!0})}catch(e){f(e instanceof Error?e.message:"Failed to save server function")}finally{h(!1)}};return j?(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-3xl h-[85vh] flex flex-col",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:e?"Edit Server Function":"Create Server Function"}),(0,a.jsxs)(Q.rr,{children:["Define a reusable helper function that edge functions can call via server.",n||"name","(args)."]})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-auto space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Function Name"}),(0,a.jsx)(x.p,{id:"name",value:n,onChange:e=>l(e.target.value.replace(/[^a-zA-Z0-9_]/g,"")),placeholder:"validateAuth",disabled:!!e}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Usage in edge functions: ",(0,a.jsxs)("span",{className:"font-mono",children:["server.",n||"name","(arg1, arg2, ...)"]})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:o,onChange:e=>c(e.target.value),placeholder:"What does this helper do?"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{children:"Function Code"}),(0,a.jsx)("div",{className:"h-64 border rounded-lg overflow-hidden",children:(0,a.jsx)(e3.Ay,{language:"javascript",theme:"dark"===v?"vs-dark":"light",value:d,onChange:e=>m(e||""),options:{minimap:{enabled:!1},fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2}})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(X.A,{className:"h-4 w-4"}),"Available in Server Functions"]}),(0,a.jsxs)("div",{className:"grid gap-2 text-xs font-mono",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-orange-500",children:"args"})," - Array of arguments passed from edge function"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-green-500",children:"db"}),".query(sql, params), .run(sql, params), .all(sql, params)"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-yellow-500",children:"fetch"}),"(url, options) - External HTTP requests"]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-blue-500",children:"console"}),".log(), .error(), .warn() - Logging"]})]}),(0,a.jsx)("div",{className:"mt-3 pt-3 border-t",children:(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:[(0,a.jsx)("strong",{children:"Note:"})," Return a value to send data back to the calling edge function. Server functions are synchronous and share the timeout with the parent edge function."]})})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:"Example: Using in Edge Function"}),(0,a.jsx)("pre",{className:"text-xs font-mono bg-background p-2 rounded overflow-x-auto",children:`// Edge function code -const auth = server.${n||"validateAuth"}(request.headers['x-api-key']); -if (!auth.valid) { - Response.error(auth.error, 401); - return; -} - -// User is authenticated -const products = db.query('SELECT * FROM products WHERE user_id = ?', [auth.user.id]); -Response.json({ products });`})]}),g&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),g]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:s,disabled:u,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:y,disabled:u,children:u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e0.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):e?"Save Changes":"Create Function"})]})]})}):null}function tc({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[u,h]=(0,r.useState)(!1),x=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/server-functions`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load server functions")}let a=await t.json();s(a.functions)}catch(e){o(e instanceof Error?e.message:"Failed to load server functions")}finally{n(!1)}},g=async t=>{try{if(!(await fetch(`/api/admin/sites/${e}/server-functions/${t.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!t.enabled})})).ok)throw Error("Failed to update server function");await x()}catch(e){console.error("Failed to toggle server function:",e)}},f=async t=>{if(confirm(`Delete server function "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/server-functions/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete server function");await x()}catch(e){console.error("Failed to delete server function:",e)}},v=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/server-functions/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update server function")}}else{let s=await fetch(`/api/admin/sites/${e}/server-functions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create server function")}}d(null),h(!1),await x()}catch(e){throw e}};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e0.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:x,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Server Functions (Helpers)"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Helper"]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(tn.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No server functions yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Create reusable helpers for your edge functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>h(!0),children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Helper"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(e=>(0,a.jsx)("div",{className:(0,m.cn)("border rounded-lg p-4 transition-colors",!e.enabled&&"opacity-60 bg-muted/30"),children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(tn.A,{className:"h-4 w-4 text-orange-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:e.name}),!e.enabled&&(0,a.jsx)("span",{className:"text-xs bg-muted px-1.5 py-0.5 rounded shrink-0",children:"disabled"})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:e.description}),(0,a.jsx)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:(0,a.jsxs)("span",{className:"font-mono truncate",children:["server.",e.name,"(args)"]})})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(L,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(e),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsx)(M,{onClick:()=>g(e),children:e.enabled?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(tt.A,{className:"h-4 w-4 mr-2"}),"Disable"]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ts.A,{className:"h-4 w-4 mr-2"}),"Enable"]})}),(0,a.jsxs)(M,{onClick:()=>f(e),className:"text-destructive",children:[(0,a.jsx)(I.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},e.id))})}),(u||c)&&(0,a.jsx)(to,{function:c,isOpen:!0,onClose:()=>{h(!1),d(null)},onSave:v})]})}var td=s(43649),tm=s(19959);function tu({secret:e,isOpen:t,onClose:s,onSave:i}){let[n,l]=(0,r.useState)(e?.name||""),[o,c]=(0,r.useState)(""),[d,m]=(0,r.useState)(e?.description||""),[u,h]=(0,r.useState)(!1),[g,f]=(0,r.useState)(!1),[v,j]=(0,r.useState)(null),b=async()=>{if(j(null),!n.trim())return void j("Secret name is required");if(!/^[A-Z][A-Z0-9_]*$/.test(n))return void j("Name must be SCREAMING_SNAKE_CASE (uppercase letters, numbers, underscores; must start with letter)");if(!e&&!o.trim())return void j("Secret value is required");f(!0);try{await i({name:n.trim(),value:o.trim()||void 0,description:d.trim()||void 0})}catch(e){j(e instanceof Error?e.message:"Failed to save secret")}finally{f(!1)}};return(0,a.jsx)(Q.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(Q.Cf,{className:"sm:max-w-lg",children:[(0,a.jsxs)(Q.c7,{children:[(0,a.jsx)(Q.L3,{children:e?"Edit Secret":"Create Secret"}),(0,a.jsxs)(Q.rr,{children:["Store sensitive values like API keys securely. Edge functions can access them via secrets.get('",n||"NAME","')."]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"name",children:"Secret Name"}),(0,a.jsx)(x.p,{id:"name",value:n,onChange:e=>{l(e.target.value.toUpperCase().replace(/[^A-Z0-9_]/g,"").replace(/^[0-9]+/,""))},placeholder:"STRIPE_API_KEY",disabled:!!e,className:"font-mono"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:"Use SCREAMING_SNAKE_CASE (e.g., API_KEY, SENDGRID_TOKEN)"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"value",children:e?"New Value (leave empty to keep current)":"Secret Value"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(x.p,{id:"value",type:u?"text":"password",value:o,onChange:e=>c(e.target.value),placeholder:e?"Enter new value to change...":"sk_live_...",className:"pr-10 font-mono"}),(0,a.jsx)(p.$,{type:"button",variant:"ghost",size:"sm",className:"absolute right-1 top-1/2 -translate-y-1/2 h-7 w-7 p-0",onClick:()=>h(!u),children:u?(0,a.jsx)(eD.A,{className:"h-4 w-4"}):(0,a.jsx)(T.A,{className:"h-4 w-4"})})]}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground",children:e?"Leave empty to keep the existing value":"This value will be encrypted and never displayed again"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(ee.J,{htmlFor:"description",children:"Description (optional)"}),(0,a.jsx)(x.p,{id:"description",value:d,onChange:e=>m(e.target.value),placeholder:"Production Stripe API key"})]}),(0,a.jsxs)("div",{className:"bg-muted/30 border rounded-lg p-4 space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium",children:[(0,a.jsx)(X.A,{className:"h-4 w-4"}),"Usage in Edge Functions"]}),(0,a.jsx)("pre",{className:"text-xs font-mono bg-background p-2 rounded overflow-x-auto",children:`// Get secret value -const apiKey = secrets.get('${n||"STRIPE_API_KEY"}'); - -// Check if secret exists -if (secrets.has('${n||"STRIPE_API_KEY"}')) { - // Use the secret -} - -// List all available secrets -const allSecrets = secrets.list(); // ['${n||"STRIPE_API_KEY"}', ...]`})]}),v&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-lg",children:[(0,a.jsx)(ez.A,{className:"h-4 w-4"}),v]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 pt-4 border-t",children:[(0,a.jsx)(p.$,{variant:"outline",onClick:s,disabled:g,children:"Cancel"}),(0,a.jsx)(p.$,{onClick:b,disabled:g,children:g?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(e0.A,{className:"h-4 w-4 mr-2 animate-spin"}),"Saving..."]}):e?"Save Changes":"Create Secret"})]})]})})}function th({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(!1),[h,x]=(0,r.useState)(!0),g=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/secrets`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load secrets")}let a=await t.json();s(a.secrets),x(a.encryptionConfigured)}catch(e){o(e instanceof Error?e.message:"Failed to load secrets")}finally{n(!1)}},f=async t=>{if(confirm(`Delete secret "${t.name}"? This cannot be undone.`))try{if(!(await fetch(`/api/admin/sites/${e}/secrets/${t.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete secret");await g()}catch(e){console.error("Failed to delete secret:",e)}},v=async t=>{try{if(c){let s=await fetch(`/api/admin/sites/${e}/secrets/${c.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to update secret")}}else{let s=await fetch(`/api/admin/sites/${e}/secrets`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok){let e=await s.json();throw Error(e.error||"Failed to create secret")}}d(null),u(!1),await g()}catch(e){throw e}},j=e=>new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"});return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e0.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:g,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Secrets"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>u(!0),disabled:!h,children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"New Secret"]})]}),!h&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm bg-yellow-500/10 border border-yellow-500/30 text-yellow-600 dark:text-yellow-400 p-3 rounded-lg mb-4",children:[(0,a.jsx)(td.A,{className:"h-4 w-4 shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-medium",children:"Encryption not configured"}),(0,a.jsx)("p",{className:"text-xs opacity-80",children:"Set the SECRETS_ENCRYPTION_KEY environment variable to enable secrets."})]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center border rounded-lg",children:[(0,a.jsx)(tm.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No secrets yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-4",children:"Store API keys and tokens securely for your edge functions"}),(0,a.jsxs)(p.$,{size:"sm",onClick:()=>u(!0),disabled:!h,children:[(0,a.jsx)(G.A,{className:"h-4 w-4 mr-1"}),"Create Secret"]})]}):(0,a.jsx)("div",{className:"grid gap-3",children:t.map(e=>(0,a.jsx)("div",{className:"border rounded-lg p-4 transition-colors",children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0 overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,a.jsx)(tm.A,{className:"h-4 w-4 text-yellow-500 shrink-0"}),(0,a.jsx)("span",{className:"font-mono font-medium truncate",children:e.name}),!e.hasValue&&(0,a.jsx)(em.E,{variant:"outline",className:"text-amber-600 border-amber-500/50 bg-amber-500/10 text-xs shrink-0",children:"Value not set"})]}),e.description&&(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 truncate",children:e.description}),(0,a.jsxs)("div",{className:"flex items-center gap-4 mt-2 text-xs text-muted-foreground",children:[(0,a.jsxs)("span",{className:"shrink-0",children:["Updated ",j(e.updatedAt)]}),(0,a.jsxs)("span",{className:"font-mono truncate",children:["secrets.get('",e.name,"')"]})]})]}),(0,a.jsxs)(D,{children:[(0,a.jsx)(L,{asChild:!0,children:(0,a.jsx)(p.$,{variant:"ghost",size:"sm",children:(0,a.jsx)(A.A,{className:"h-4 w-4"})})}),(0,a.jsxs)(z,{align:"end",children:[(0,a.jsxs)(M,{onClick:()=>d(e),children:[(0,a.jsx)(eB.A,{className:"h-4 w-4 mr-2"}),"Edit"]}),(0,a.jsxs)(M,{onClick:()=>f(e),className:"text-destructive",children:[(0,a.jsx)(I.A,{className:"h-4 w-4 mr-2"}),"Delete"]})]})]})]})},e.id))})}),(m||c)&&(0,a.jsx)(tu,{secret:c,isOpen:!0,onClose:()=>{u(!1),d(null)},onSave:v})]})}var tp=s(48730),tx=s(35071),tg=s(70334);function tf({siteId:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)(!0),[l,o]=(0,r.useState)(null),c=async()=>{try{n(!0),o(null);let t=await fetch(`/api/admin/sites/${e}/database/logs?limit=200`);if(!t.ok){let e=await t.json();throw Error(e.error||"Failed to load logs")}let a=await t.json();s(a.logs)}catch(e){o(e instanceof Error?e.message:"Failed to load logs")}finally{n(!1)}},d=async()=>{if(confirm("Clear all function execution logs? This cannot be undone."))try{if(!(await fetch(`/api/admin/sites/${e}/database/logs`,{method:"DELETE"})).ok)throw Error("Failed to clear logs");await c()}catch(e){console.error("Failed to clear logs:",e)}},u=e=>("string"==typeof e?new Date(e):e).toLocaleString();return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:(0,a.jsx)(e0.A,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):l?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full gap-4",children:[(0,a.jsx)(ez.A,{className:"h-8 w-8 text-destructive"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:l}),(0,a.jsx)(p.$,{variant:"outline",onClick:c,children:"Retry"})]}):(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsx)("h3",{className:"text-sm font-medium",children:"Execution Logs"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:c,children:[(0,a.jsx)(eO.A,{className:"h-4 w-4 mr-1"}),"Refresh"]}),(0,a.jsxs)(p.$,{variant:"ghost",size:"sm",onClick:d,disabled:0===t.length,className:"text-destructive hover:text-destructive",children:[(0,a.jsx)(I.A,{className:"h-4 w-4 mr-1"}),"Clear"]})]})]}),(0,a.jsx)("div",{className:"flex-1 overflow-auto border rounded-lg",children:0===t.length?(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center h-full p-8 text-center",children:[(0,a.jsx)(tp.A,{className:"h-8 w-8 text-muted-foreground mb-2"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No execution logs yet"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Logs will appear here when functions are invoked"})]}):(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{className:"sticky top-0 bg-muted",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Status"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Function"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Method"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Path"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Duration"}),(0,a.jsx)("th",{className:"text-left p-3 font-medium",children:"Time"})]})}),(0,a.jsx)("tbody",{children:t.map(e=>(0,a.jsxs)("tr",{className:"border-t hover:bg-muted/30",children:[(0,a.jsx)("td",{className:"p-3",children:e.statusCode>=200&&e.statusCode<300?(0,a.jsx)(e8.A,{className:"h-4 w-4 text-green-500"}):e.statusCode>=400?(0,a.jsx)(tx.A,{className:"h-4 w-4 text-destructive"}):(0,a.jsx)(tg.A,{className:"h-4 w-4 text-yellow-500"})}),(0,a.jsx)("td",{className:"p-3 font-mono",children:e.functionName||e.functionId.slice(0,8)}),(0,a.jsx)("td",{className:"p-3",children:(0,a.jsx)("span",{className:(0,m.cn)("text-xs px-1.5 py-0.5 rounded","GET"===e.method?"bg-green-500/20 text-green-600":"POST"===e.method?"bg-blue-500/20 text-blue-600":"PUT"===e.method?"bg-yellow-500/20 text-yellow-600":"DELETE"===e.method?"bg-red-500/20 text-red-600":"bg-muted text-muted-foreground"),children:e.method})}),(0,a.jsx)("td",{className:"p-3 font-mono text-xs text-muted-foreground",children:e.path}),(0,a.jsxs)("td",{className:"p-3 text-muted-foreground",children:[e.durationMs,"ms"]}),(0,a.jsx)("td",{className:"p-3 text-xs text-muted-foreground",children:u(e.timestamp)})]},e.id))})]})})]})}var tv=s(61611),tj=s(24366),tb=s(98015);function ty({siteId:e}){let[t,s]=(0,r.useState)("schema");return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsxs)(eJ.tU,{value:t,onValueChange:s,className:"flex-1 flex flex-col",children:[(0,a.jsxs)(eJ.j7,{className:"grid w-full grid-cols-6",children:[(0,a.jsxs)(eJ.Xi,{value:"schema",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tv.A,{className:"h-3.5 w-3.5"}),"Schema"]}),(0,a.jsxs)(eJ.Xi,{value:"query",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tj.A,{className:"h-3.5 w-3.5"}),"SQL"]}),(0,a.jsxs)(eJ.Xi,{value:"functions",className:"flex items-center gap-1.5",children:[(0,a.jsx)(te.A,{className:"h-3.5 w-3.5"}),"Functions"]}),(0,a.jsxs)(eJ.Xi,{value:"helpers",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tn.A,{className:"h-3.5 w-3.5"}),"Helpers"]}),(0,a.jsxs)(eJ.Xi,{value:"secrets",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tm.A,{className:"h-3.5 w-3.5"}),"Secrets"]}),(0,a.jsxs)(eJ.Xi,{value:"logs",className:"flex items-center gap-1.5",children:[(0,a.jsx)(tb.A,{className:"h-3.5 w-3.5"}),"Logs"]})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-hidden mt-4",children:[(0,a.jsx)(eJ.av,{value:"schema",className:"h-full m-0",children:(0,a.jsx)(e4,{siteId:e})}),(0,a.jsx)(eJ.av,{value:"query",className:"h-full m-0",children:(0,a.jsx)(e7,{siteId:e})}),(0,a.jsx)(eJ.av,{value:"functions",className:"h-full m-0",children:(0,a.jsx)(ti,{siteId:e})}),(0,a.jsx)(eJ.av,{value:"helpers",className:"h-full m-0",children:(0,a.jsx)(tc,{siteId:e})}),(0,a.jsx)(eJ.av,{value:"secrets",className:"h-full m-0",children:(0,a.jsx)(th,{siteId:e})}),(0,a.jsx)(eJ.av,{value:"logs",className:"h-full m-0",children:(0,a.jsx)(tf,{siteId:e})})]})]})})}function tw({siteId:e,pages:t}){let[i,n]=(0,r.useState)(t[0]||"/"),[l,o]=(0,r.useState)("all"),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(!1),[h,x]=(0,r.useState)(!1),[g,f]=(0,r.useState)(null),[v,j]=(0,r.useState)({}),b=(0,r.useRef)(null),y=(0,r.useRef)(null),w=async()=>{if(i){u(!0);try{let t=new URLSearchParams({page:i,type:"click"});"all"!==l&&t.set("device",l);let s=await fetch(`/api/analytics/${e}/heatmap?${t}`);if(!s.ok)throw Error("Failed to fetch heatmap data");let a=await s.json();d(a)}catch(e){console.error("Failed to fetch heatmap data:",e),B.oR.error("Failed to load heatmap data")}finally{u(!1)}}},N=async()=>{if(y.current){x(!0);try{let{captureIframeScreenshot:e}=await Promise.resolve().then(s.bind(s,59784)),t=y.current,a=1280,r=720;"mobile"===l?(a=375,r=667):"tablet"===l&&(a=768,r=1024),t.style.width=`${a}px`,t.style.height=`${r}px`,t.src=i,await new Promise((e,s)=>{let a=setTimeout(()=>s(Error("Timeout")),5e3);t.onload=()=>{clearTimeout(a),e(null)},t.onerror=()=>{clearTimeout(a),s(Error("Failed to load page"))}}),await new Promise(e=>setTimeout(e,500));let n=await e(t,a,r);if(n){f(n);let e=`${i}-${l}`;j(t=>({...t,[e]:n}))}else B.oR.error("Failed to capture screenshot")}catch(e){console.error("Failed to capture screenshot:",e),B.oR.error("Failed to capture page screenshot")}finally{x(!1)}}};return(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex gap-4 items-end flex-wrap",children:[(0,a.jsxs)("div",{className:"min-w-48",children:[(0,a.jsx)(ee.J,{htmlFor:"page-select",children:"Page"}),(0,a.jsxs)(es.l6,{value:i,onValueChange:n,children:[(0,a.jsx)(es.bq,{id:"page-select",children:(0,a.jsx)(es.yv,{})}),(0,a.jsx)(es.gC,{children:t.map(e=>(0,a.jsx)(es.eb,{value:e,children:e},e))})]})]}),(0,a.jsxs)("div",{className:"min-w-36",children:[(0,a.jsx)(ee.J,{htmlFor:"device-select",children:"Device"}),(0,a.jsxs)(es.l6,{value:l,onValueChange:e=>o(e),children:[(0,a.jsx)(es.bq,{id:"device-select",children:(0,a.jsx)(es.yv,{})}),(0,a.jsxs)(es.gC,{children:[(0,a.jsx)(es.eb,{value:"all",children:"All Devices"}),(0,a.jsx)(es.eb,{value:"mobile",children:"Mobile"}),(0,a.jsx)(es.eb,{value:"tablet",children:"Tablet"}),(0,a.jsx)(es.eb,{value:"desktop",children:"Desktop"})]})]})]}),(0,a.jsx)(p.$,{onClick:w,disabled:m,children:m?"Loading...":"Refresh"})]}),c&&(0,a.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Sample size: ",(0,a.jsx)("span",{className:"font-medium",children:c.sampleSize.toLocaleString()})," interactions"]}),m&&(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading heatmap data..."})}),!m&&c&&"click"===c.type&&(0,a.jsxs)("div",{className:"border rounded-lg overflow-hidden",children:[!g&&!h&&(0,a.jsxs)("div",{className:"p-8 text-center",children:[(0,a.jsx)("p",{className:"text-muted-foreground mb-4",children:"Capture a screenshot of the page to visualize click heatmap"}),(0,a.jsx)(p.$,{onClick:N,children:"Capture Page Screenshot"})]}),h&&(0,a.jsx)("div",{className:"p-8 text-center",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Capturing screenshot..."})}),g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"bg-muted/30 p-4 overflow-auto",style:{maxHeight:"70vh"},children:(0,a.jsx)("canvas",{ref:b,className:"mx-auto",style:{maxWidth:"100%",height:"auto"}})}),(0,a.jsx)("div",{className:"p-4 bg-muted text-sm border-t",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-medium mb-2",children:"Click Heatmap Legend:"}),(0,a.jsxs)("div",{className:"flex gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-red-500/70"}),(0,a.jsx)("span",{children:"High activity"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-orange-500/50"}),(0,a.jsx)("span",{children:"Medium activity"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 rounded bg-yellow-500/20"}),(0,a.jsx)("span",{children:"Low activity"})]})]})]}),(0,a.jsx)("div",{className:"text-right",children:(0,a.jsx)(p.$,{variant:"outline",size:"sm",onClick:N,children:"Recapture"})})]})})]}),(0,a.jsx)("iframe",{ref:y,style:{position:"fixed",top:"-10000px",left:"-10000px",border:"none"},title:"Page for screenshot"})]}),!m&&!c&&(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"No heatmap data available"})})]})}function tN({siteId:e}){let[t,s]=(0,r.useState)(null),[i,n]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null),c=e=>{let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let s=Math.floor(t/60);return`${s}m ${t%60}s`};return(0,a.jsxs)("div",{className:"space-y-6",children:[t&&t.summary&&(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-4",children:[(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Total Sessions"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:(t.summary.totalSessions||0).toLocaleString()})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Bounce Rate"}),(0,a.jsxs)("div",{className:"text-2xl font-bold",children:[(100*(t.summary.bounceRate||0)).toFixed(1),"%"]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Avg. Duration"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:c(t.summary.averageDuration||0)})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground",children:"Avg. Pages/Session"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:(t.summary.averagePageCount||0).toFixed(1)})]})]}),t&&t.flowData&&(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Page Flow"}),(0,a.jsx)("div",{className:"space-y-2",children:t.flowData.nodes.slice(0,10).map((e,s)=>{let r=t.flowData.links.filter(t=>t.source===e.id),i=t.flowData.links.filter(t=>t.target===e.id);return(0,a.jsxs)("div",{className:"border rounded p-3",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,a.jsx)("span",{className:"font-medium",children:e.label}),(0,a.jsxs)("span",{className:"text-sm text-muted-foreground",children:[e.value," visits"]})]}),i.length>0&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground mb-1",children:["← From: ",i.slice(0,3).map(e=>e.source).join(", "),i.length>3&&` (+${i.length-3} more)`]}),r.length>0&&(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:["→ To: ",r.slice(0,3).map(e=>e.target).join(", "),r.length>3&&` (+${r.length-3} more)`]})]},e.id)})})]}),t&&t.sessions.length>0&&(0,a.jsxs)("div",{className:"border rounded-lg",children:[(0,a.jsx)("div",{className:"p-4 border-b",children:(0,a.jsx)("h3",{className:"font-medium",children:"Recent Sessions"})}),(0,a.jsx)("div",{className:"divide-y max-h-96 overflow-y-auto",children:t.sessions.slice(0,50).map(e=>(0,a.jsxs)("div",{className:"p-4 hover:bg-muted cursor-pointer",onClick:()=>o(e),children:[(0,a.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"font-medium text-sm",children:[e.entryPage," → ",e.exitPage]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:new Date(e.createdAt).toLocaleString()})]}),(0,a.jsxs)("div",{className:"text-right",children:[(0,a.jsxs)("div",{className:"text-sm",children:[e.pageCount," pages"]}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:c(e.totalDuration)})]})]}),e.isBounce&&(0,a.jsx)("div",{className:"inline-flex items-center px-2 py-0.5 rounded text-xs bg-red-100 text-red-800",children:"Bounce"})]},e.sessionId))})]}),l&&(0,a.jsx)("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50",onClick:()=>o(null),children:(0,a.jsxs)("div",{className:"bg-background border rounded-lg p-6 max-w-2xl w-full max-h-[80vh] overflow-y-auto",onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex justify-between items-start mb-4",children:[(0,a.jsx)("h3",{className:"text-lg font-medium",children:"Session Journey"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:()=>o(null),children:"✕"})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Started:"})," ",new Date(l.createdAt).toLocaleString()]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Ended:"})," ",new Date(l.endedAt).toLocaleString()]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Total Duration:"})," ",c(l.totalDuration)]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Pages Visited:"})," ",l.pageCount]})]}),(0,a.jsxs)("div",{className:"border-t pt-4",children:[(0,a.jsx)("h4",{className:"font-medium mb-3",children:"Page Journey"}),(0,a.jsx)("div",{className:"space-y-3",children:l.pages.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-full bg-primary text-primary-foreground flex items-center justify-center text-xs font-medium",children:t+1}),t{n(!0);try{let t=await fetch(`/api/analytics/${e}/engagement`);if(!t.ok)throw Error("Failed to fetch engagement metrics");let a=await t.json();s(a)}catch(e){console.error("Failed to fetch engagement metrics:",e),B.oR.error("Failed to load engagement metrics")}finally{n(!1)}},o=e=>{let t=Math.floor(e/1e3);if(t<60)return`${t}s`;let s=Math.floor(t/60);return`${s}m ${t%60}s`};return i?(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading engagement metrics..."})}):t?(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Average Time on Page"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:o(t.timeOnPage.average)})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("div",{className:"text-sm text-muted-foreground mb-1",children:"Median Time on Page"}),(0,a.jsx)("div",{className:"text-2xl font-bold",children:o(t.timeOnPage.median)})]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Time on Page by Path"}),(0,a.jsx)("div",{className:"space-y-2",children:Object.entries(t.timeOnPage.distribution).sort(([,e],[,t])=>t-e).slice(0,10).map(([e,t])=>(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-sm truncate flex-1",children:e}),(0,a.jsx)("span",{className:"text-sm font-medium ml-4",children:o(t)})]},e))})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Scroll Depth Funnel"}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"text-sm text-muted-foreground mb-2",children:["Average: ",(0,a.jsxs)("span",{className:"font-medium text-foreground",children:[t.scrollDepth.average.toFixed(1),"%"]})]}),(()=>{let e=[25,50,75,100],s=e.map(s=>e.filter(e=>e>=s).reduce((e,s)=>e+(Number(t.scrollDepth.milestones[s])||0),0)),r=Number(s[0])||1;return e.map((e,t)=>{let i=Number(s[t])||0,n=r>0?i/r*100:0;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between text-sm mb-1",children:[(0,a.jsxs)("span",{children:["Reached ",e,"%+"]}),(0,a.jsxs)("span",{className:"text-muted-foreground",children:[i.toLocaleString()," (",n.toFixed(1),"%)"]})]}),(0,a.jsx)("div",{className:"h-6 bg-muted rounded overflow-hidden",children:(0,a.jsx)("div",{className:"h-full bg-primary",style:{width:`${n}%`}})})]},e)})})()]})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Top Landing Pages"}),(0,a.jsx)("div",{className:"space-y-2",children:t.topLandingPages.slice(0,10).map(e=>(0,a.jsxs)("div",{className:"flex justify-between items-center border-b pb-2",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:e.page}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:[e.visitCount.toLocaleString()," visits"]})]}),(0,a.jsxs)("div",{className:"text-right",children:[(0,a.jsx)("div",{className:"text-sm",children:(0,a.jsxs)("span",{className:e.bounceRate>.7?"text-red-500":e.bounceRate>.4?"text-orange-500":"text-green-500",children:[(100*e.bounceRate).toFixed(1),"%"]})}),(0,a.jsx)("div",{className:"text-xs text-muted-foreground",children:"bounce rate"})]})]},e.page))})]}),(0,a.jsxs)("div",{className:"border rounded-lg p-4",children:[(0,a.jsx)("h3",{className:"font-medium mb-4",children:"Top Exit Pages"}),(0,a.jsx)("div",{className:"space-y-2",children:t.exitPages.slice(0,10).map(e=>(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"text-sm truncate flex-1",children:e.page}),(0,a.jsxs)("div",{className:"text-right ml-4",children:[(0,a.jsx)("div",{className:"text-sm font-medium",children:e.exitCount.toLocaleString()}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:[(100*e.exitRate).toFixed(1),"% exit rate"]})]})]},e.page))})]}),(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(p.$,{onClick:l,disabled:i,children:i?"Loading...":"Refresh"})})]}):(0,a.jsx)("div",{className:"flex items-center justify-center h-96 border rounded-lg",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"No engagement data available"})})}var tS=s(28590),tC=s(41312),tA=s(58559),tT=s(59784);let tE={captureWidth:1280,captureHeight:720,outputWidth:640,outputHeight:360,quality:.8,timeout:1e4};async function tP(e,t,s={}){let a={...tE,...s};return new Promise(s=>{let r=document.createElement("iframe");r.style.position="fixed",r.style.top="-10000px",r.style.left="-10000px",r.style.width=`${a.captureWidth}px`,r.style.height=`${a.captureHeight}px`,r.style.border="none",r.src=t;let i=null,n=!1,l=()=>{i&&clearTimeout(i),r.parentElement&&document.body.removeChild(r)},o=e=>{n||(n=!0,console.error(`[Site Thumbnail] Failed: ${e}`),l(),s(!1))},c=()=>{n||(n=!0,l(),s(!0))};i=window.setTimeout(()=>{o(`Timeout after ${a.timeout}ms`)},a.timeout),r.onload=async()=>{try{i&&(clearTimeout(i),i=null),await new Promise(e=>setTimeout(e,500));let t=await (0,tT.captureIframeScreenshot)(r,a.captureWidth,a.captureHeight,a.outputWidth,a.outputHeight,a.quality,!1);if(!t)return void o("Screenshot capture returned null");let s=await fetch(`/api/sites/${e}/thumbnail`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({previewImage:t})});if(!s.ok){let e=await s.json().catch(()=>({error:"Unknown error"}));o(`API error: ${e.error||s.statusText}`);return}c()}catch(e){o(`Capture error: ${e instanceof Error?e.message:String(e)}`)}},r.onerror=()=>{o("Failed to load site in iframe")},document.body.appendChild(r)})}function t$({onProjectSelect:e}){let[t,s]=(0,r.useState)([]),[i,n]=(0,r.useState)([]),[l,o]=(0,r.useState)(!0),[c,d]=(0,r.useState)({}),[m,u]=(0,r.useState)(null),[h,p]=(0,r.useState)(!1),[x,g]=(0,r.useState)(!1),[f,v]=(0,r.useState)(!1),[j,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(""),[N,k]=(0,r.useState)("updated"),S=async()=>{try{return o(!0),void o(!1)}catch(e){console.error("[SitesView] Failed to load data:",e)}finally{o(!1)}},C=(e,t)=>{s(s=>s.map(s=>s.id===e?{...s,...t}:s))};return(0,r.useMemo)(()=>{let e=t;if(y){let s=y.toLowerCase();e=t.filter(e=>{let t=i.find(t=>t.id===e.projectId);return e.name.toLowerCase().includes(s)||e.slug?.toLowerCase().includes(s)||t?.name.toLowerCase().includes(s)})}return[...e].sort((e,t)=>{switch(N){case"name":return e.name.localeCompare(t.name);case"created":return new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime();case"published":if(!e.publishedAt&&!t.publishedAt)return 0;if(!e.publishedAt)return 1;if(!t.publishedAt)return -1;return new Date(t.publishedAt).getTime()-new Date(e.publishedAt).getTime();default:return new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime()}})},[t,i,y,N]),(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-center text-muted-foreground",children:(0,a.jsx)("p",{children:"Sites feature is only available in Server Mode"})})})}var tI=s(22157),tF=s(22926);function tR({tab:e}){let t=(0,i.useSearchParams)().get("settings");return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsx)("div",{className:"flex-1 overflow-auto p-6",children:"application"===(t||e||"model")?(0,a.jsx)(tF.O,{}):(0,a.jsx)(tI.t,{})})})}function tD({tab:e}){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsx)("p",{className:"text-muted-foreground",children:"Loading..."})}),children:(0,a.jsx)(tR,{tab:e})})}var tL=s(86223);function tz({items:e,activeId:t,visibleIds:s=[],onItemClick:r}){if(0===e.length)return null;let i=(e,t)=>{e.preventDefault(),r?.(t.index.toString());let s=document.querySelector(`[data-heading-index="${t.index}"]`);s&&(s.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",`#${t.id}`))};return(0,a.jsxs)("nav",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-sm font-semibold mb-3 text-foreground",children:"On This Page"}),(0,a.jsx)("ul",{className:"text-sm",children:e.map(e=>(0,a.jsxs)("li",{children:[(0,a.jsx)("a",{href:`#${e.id}`,"data-toc-id":e.index,onClick:t=>i(t,e),className:(0,m.cn)("block py-1 text-muted-foreground hover:text-foreground transition-colors","border-l-2 pl-3",t===e.index.toString()?"border-primary text-foreground font-medium":s.includes(e.index.toString())?"border-blue-400/50 text-foreground/80":"border-transparent"),children:e.text}),e.children&&e.children.length>0&&(0,a.jsx)("ul",{children:e.children.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:`#${e.id}`,"data-toc-id":e.index,onClick:t=>i(t,e),className:(0,m.cn)("block py-1 text-xs text-muted-foreground hover:text-foreground transition-colors","border-l-2",t===e.index.toString()?"border-primary text-foreground font-medium":s.includes(e.index.toString())?"border-blue-400/50 text-foreground/80":"border-transparent"),style:{paddingLeft:"calc(0.75rem * 1.67)"},children:e.text})},`${e.id}-${e.index}`))})]},`${e.id}-${e.index}`))})]})}var tM=s(50047);function tO(){let e=(0,i.useSearchParams)().get("doc")||"overview",t=tM.P.find(t=>t.id===e)||tM.P[0],[s,n]=(0,r.useState)(""),[l,o]=(0,r.useState)(!1),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(""),[h,p]=(0,r.useState)([]),x=(0,r.useRef)(!1);(0,r.useRef)(null);let g=(0,r.useMemo)(()=>{if(!s)return[];let e=s.split("\n"),t=[],a=0;for(let s of e){let e=s.match(/^(#{2,4})\s+(.+)$/);if(e){let s=e[1].length,r=e[2].trim(),i=r.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");t.push({level:s,text:r,id:i,index:a}),a++}}let r=[],i=null;for(let e of t)2===e.level?(i={id:e.id,text:e.text,level:2,index:e.index,children:[]},r.push(i)):3===e.level&&i&&i.children.push({id:e.id,text:e.text,level:3,index:e.index});return r},[s]),f=(0,r.useCallback)(e=>{u(e),p([e]),x.current=!0,setTimeout(()=>{x.current=!1;let e=document.querySelector(".docs-content-area");if(!e)return;let t=document.querySelectorAll(".docs-content-area [data-heading-index]");if(0===t.length)return;let s=e.getBoundingClientRect().top,a=[];t.forEach(t=>{let r=t.getBoundingClientRect(),i=s+e.clientHeight;if(r.top>=s&&r.bottom<=i){let e=t.getAttribute("data-heading-index");e&&a.push(e)}}),p(a)},1e3)},[]),v=g.length>=3;return(0,a.jsx)("div",{className:"h-full flex flex-col",children:(0,a.jsxs)("div",{className:`flex-1 overflow-hidden ${v?"lg:grid lg:grid-cols-[1fr_280px]":""}`,children:[(0,a.jsx)("div",{className:"h-full overflow-y-auto docs-content-area bg-background",children:(0,a.jsxs)("div",{className:"p-6 sm:p-8 max-w-4xl mx-auto",onClick:e=>{let t=e.target;if("A"===t.tagName){let s=t.getAttribute("href");if(s?.startsWith("#")){e.preventDefault();let t=document.getElementById(s.slice(1));t&&(t.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",s))}}},children:[l&&(0,a.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto"}),(0,a.jsx)("p",{className:"mt-4 text-muted-foreground",children:"Loading documentation..."})]})}),c&&(0,a.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-destructive/10 border border-destructive/20 rounded-lg text-destructive",children:[(0,a.jsx)(ez.A,{className:"h-5 w-5 flex-shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-semibold",children:"Error loading document"}),(0,a.jsx)("p",{className:"text-sm",children:c})]})]}),!l&&!c&&s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"mb-6 pb-4 border-b",children:(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,a.jsx)(t.icon,{className:"h-8 w-8 text-primary"}),(0,a.jsx)("h1",{className:"text-3xl font-bold",children:t.title})]})}),(0,a.jsx)(tL.T,{content:s})]})]})}),v&&(0,a.jsx)("div",{className:"hidden lg:block h-full overflow-y-auto border-l border-border bg-muted/30",children:(0,a.jsx)("div",{className:"p-6 sticky top-0",children:(0,a.jsx)(tz,{items:g,activeId:m,visibleIds:h,onItemClick:f})})})]})})}function tB(){return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)("div",{className:"flex items-center justify-center h-full",children:"Loading documentation..."}),children:(0,a.jsx)(tO,{})})}var tU=s(82080),tW=s(45547),t_=s(44624),tJ=s(85814),tq=s.n(tJ),tH=s(30758);async function tV(){await n.vfs.init();let e=await n.vfs.listProjects(),t=await h.listCustomTemplates(),s=await ev.skillsService.getAllSkills(),a=null;try{let e=await fetch("/api/docs/WHATS_NEW.md");if(e.ok){let t=await e.text(),s=t.match(/^## v(\d+\.\d+\.\d+)\s*-\s*(.+)$/m);if(s){let e,r=s[1],i=s[2].trim(),n=t.indexOf(s[0]),l=t.substring(n+s[0].length),o=l.match(/^(?:## |---)/m),c=o?l.substring(0,o.index):l,d=/^[-*]\s+\*\*(.+?)\*\*\s*[-–]?\s*(.*)$/gm,m=[];for(;null!==(e=d.exec(c))&&m.length<4;){let t=e[1].trim(),s=e[2]?.trim();m.push(s?`${t} - ${s}`:t)}if(0===m.length){let t=/^[-*]\s+(.+)$/gm;for(;null!==(e=t.exec(c))&&m.length<4;){let t=e[1].trim();t.match(/^\[.*\]\(.*\)$/)||m.push(t.replace(/\*\*/g,""))}}a={version:r,title:i,highlights:m}}}}catch{}return{content:{projects:e.length,templates:t.length,skills:s.length},whatsNew:a,recentProjects:e.sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime()).slice(0,3).map(e=>({id:e.id,name:e.name,description:e.description||null,updatedAt:e.updatedAt instanceof Date?e.updatedAt.toISOString():e.updatedAt}))}}function tG(e){return e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toString()}function tY(e){let t=new Date(e),s=new Date().getTime()-t.getTime(),a=Math.floor(s/6e4),r=Math.floor(s/36e5),i=Math.floor(s/864e5);return a<1?"just now":a<60?`${a}m ago`:r<24?`${r}h ago`:i<7?`${i}d ago`:t.toLocaleDateString()}function tX({onStartTour:e,onNavigate:t}){let s=e=>{t&&(e.preventDefault(),t("projects"))};return(0,a.jsx)("div",{className:"bg-card rounded-xl border border-zinc-800 p-4 mb-6",children:(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)(p.$,{variant:"default",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(tq(),{href:"#",onClick:s,children:[(0,a.jsx)(G.A,{className:"w-4 h-4"}),"New Project"]})}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(tq(),{href:"#",onClick:s,children:[(0,a.jsx)(k.A,{className:"w-4 h-4"}),"Projects"]})}),!1,(0,a.jsxs)(p.$,{variant:"outline",size:"sm",onClick:e,className:"gap-1.5",children:[(0,a.jsx)(ew.A,{className:"w-4 h-4"}),"Guided Tour"]}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)("a",{href:"https://discord.gg/mAJ8Ss4u",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)(t_.E,{className:"w-4 h-4"}),"Discord"]})}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",asChild:!0,className:"gap-1.5",children:(0,a.jsxs)(tq(),{href:"#",onClick:e=>{t&&(e.preventDefault(),t("docs"))},children:[(0,a.jsx)(tU.A,{className:"w-4 h-4"}),"Docs"]})})]})})}function tK({whatsNew:e,onNavigate:t}){return e?(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(tW.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsxs)("h3",{className:"text-sm font-medium text-zinc-200",children:["What's New in v",e.version]})]}),(0,a.jsxs)(tq(),{href:"#",onClick:e=>{t&&(e.preventDefault(),window.history.pushState({},"","/?doc=whats-new"),t("docs"))},className:"text-xs text-orange-500 hover:text-orange-400 flex items-center gap-1",children:["Read all",(0,a.jsx)(eh.A,{className:"w-3 h-3"})]})]}),(0,a.jsx)("p",{className:"text-sm font-medium text-zinc-200 mb-2",children:e.title}),e.highlights&&e.highlights.length>0&&(0,a.jsx)("ul",{className:"space-y-1 flex-1",children:e.highlights.map((e,t)=>(0,a.jsxs)("li",{className:"text-xs text-zinc-300 flex items-start gap-2",children:[(0,a.jsx)("span",{className:"text-orange-500/70 mt-0.5",children:"•"}),(0,a.jsx)("span",{children:e})]},t))})]}):null}function tZ({data:e,loading:t,onRefresh:s}){let r=[{label:"Version",value:`v${tH.rE}`},{label:"Projects",value:tG(e.content.projects)},{label:"Templates",value:tG(e.content.templates)},{label:"Skills",value:tG(e.content.skills)}],i=Math.ceil(r.length/2),n=r.slice(0,i),l=r.slice(i);return(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"Content Overview"}),(0,a.jsx)(p.$,{variant:"ghost",size:"sm",onClick:s,disabled:t,className:"h-7 px-2",children:(0,a.jsx)(eO.A,{className:`w-3.5 h-3.5 ${t?"animate-spin":""}`})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-1.5 flex-1 content-start",children:[(0,a.jsx)("div",{className:"space-y-1.5",children:n.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-zinc-500",children:e.label}),(0,a.jsx)("span",{className:"text-sm font-medium text-zinc-200",children:e.value})]},e.label))}),(0,a.jsx)("div",{className:"space-y-1.5",children:l.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs text-zinc-500",children:e.label}),(0,a.jsx)("span",{className:"text-sm font-medium text-zinc-200",children:e.value})]},e.label))})]})]})}function tQ({projects:e,onNavigate:t,onProjectSelect:s}){let r=(e,t)=>{s&&(e.preventDefault(),s(t))};return(0,a.jsxs)("div",{className:"bg-zinc-900/30 rounded-xl border border-zinc-800 p-4 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(k.A,{className:"w-4 h-4 text-orange-500"}),(0,a.jsx)("h3",{className:"text-sm font-medium text-zinc-300",children:"Recent Projects"})]}),(0,a.jsxs)(tq(),{href:"#",onClick:e=>{t&&(e.preventDefault(),t("projects"))},className:"text-xs text-zinc-500 hover:text-zinc-300 flex items-center gap-0.5",children:["View all",(0,a.jsx)(ek.A,{className:"w-3 h-3"})]})]}),0===e.length?(0,a.jsx)("p",{className:"text-xs text-zinc-500 text-center py-2 flex-1 flex items-center justify-center",children:"No projects yet"}):(0,a.jsx)("div",{className:"space-y-1.5 flex-1",children:e.slice(0,3).map(e=>(0,a.jsxs)(tq(),{href:"#",onClick:t=>r(t,e.id),className:"flex items-center justify-between text-xs py-1.5 px-2 bg-zinc-900/50 rounded hover:bg-zinc-800/50 transition-colors",children:[(0,a.jsx)("span",{className:"text-zinc-300 truncate flex-1 mr-2",children:e.name}),(0,a.jsxs)("span",{className:"text-zinc-500 shrink-0 flex items-center gap-1",children:[(0,a.jsx)(tp.A,{className:"w-3 h-3"}),tY(e.updatedAt)]})]},e.id))})]})}function t0({onNavigate:e,onProjectSelect:t,onStartTour:s}){let n=(0,i.useRouter)(),[l,o]=(0,r.useState)(null),[c,d]=(0,r.useState)(null),[m,u]=(0,r.useState)(!0),[h,x]=(0,r.useState)(null),[g,f]=(0,r.useState)(null),v=(0,r.useCallback)(async()=>{u(!0),x(null);try{{let e=await tV();d(e)}f(new Date)}catch(e){x(e instanceof Error?e.message:"Unknown error")}finally{u(!1)}},[]),j=(0,r.useCallback)(()=>{s?s():n.push("/admin/projects?tour=start")},[n,s]),b=(0,r.useCallback)(e=>{t&&t(e)},[t]),y=!!c;if(m&&!y)return(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-orange-500 mx-auto"}),(0,a.jsx)("p",{className:"mt-3 text-sm text-zinc-400",children:"Loading dashboard..."})]})});if(h&&!y)return(0,a.jsx)("div",{className:"h-full flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)(td.A,{className:"w-8 h-8 text-red-500 mx-auto mb-2"}),(0,a.jsx)("p",{className:"text-zinc-400 text-sm",children:h}),(0,a.jsx)(p.$,{variant:"outline",size:"sm",onClick:v,className:"mt-4",children:"Retry"})]})});if(!y)return null;if(c){let t=null!==c.whatsNew;return(0,a.jsxs)("div",{className:"h-full overflow-y-auto p-6",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-xl font-semibold text-zinc-100",children:"Dashboard"}),g&&(0,a.jsxs)("p",{className:"text-xs text-zinc-500 mt-0.5",children:["Updated ",g.toLocaleTimeString()]})]})}),(0,a.jsx)(tX,{onStartTour:j,onNavigate:e}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4 mb-4 [&>*]:min-h-[160px]",children:[(0,a.jsx)(tZ,{data:c,loading:m,onRefresh:v}),t&&(0,a.jsx)(tK,{whatsNew:c.whatsNew,onNavigate:e})]}),(0,a.jsx)("div",{className:"mb-4",children:(0,a.jsx)(tQ,{projects:c.recentProjects,onNavigate:e,onProjectSelect:b})})]})}return null}function t1({view:e,onProjectSelect:t,settingsTab:r,onNavigate:i,onStartTour:n}){let l=async e=>{let{vfs:a}=await Promise.resolve().then(s.bind(s,68269));await a.init();let r=await a.getProject(e);r&&t(r)};switch(e){case"dashboard":return(0,a.jsx)(t0,{onNavigate:i,onProjectSelect:l,onStartTour:n});case"projects":default:return(0,a.jsx)(ec,{onProjectSelect:t});case"sites":return(0,a.jsx)(t$,{onProjectSelect:t});case"templates":return(0,a.jsx)(ef,{});case"skills":return(0,a.jsx)(eI,{});case"docs":return(0,a.jsx)(tB,{});case"settings":return(0,a.jsx)(tD,{tab:r})}}},80189:(e,t,s)=>{s.d(t,{Bc:()=>n,ZI:()=>c,k$:()=>o,m_:()=>l});var a=s(60687);s(43210);var r=s(9989),i=s(96241);function n({delayDuration:e=0,...t}){return(0,a.jsx)(r.Kq,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function l({...e}){return(0,a.jsx)(n,{children:(0,a.jsx)(r.bL,{"data-slot":"tooltip",...e})})}function o({...e}){return(0,a.jsx)(r.l9,{"data-slot":"tooltip-trigger",...e})}function c({className:e,sideOffset:t=0,children:s,arrowStyle:n,...l}){return(0,a.jsx)(r.ZL,{children:(0,a.jsxs)(r.UC,{"data-slot":"tooltip-content",sideOffset:t,className:(0,i.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...l,children:[s,(0,a.jsx)(r.i3,{className:"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",style:n})]})})}},85910:(e,t,s)=>{s.d(t,{Xi:()=>c,av:()=>d,j7:()=>o,tU:()=>l});var a=s(60687),r=s(43210),i=s(55146),n=s(96241);let l=i.bL,o=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(i.B8,{ref:s,className:(0,n.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));o.displayName=i.B8.displayName;let c=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(i.l9,{ref:s,className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));c.displayName=i.l9.displayName;let d=r.forwardRef(({className:e,...t},s)=>(0,a.jsx)(i.UC,{ref:s,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));d.displayName=i.UC.displayName},86223:(e,t,s)=>{s.d(t,{T:()=>u});var a=s(60687),r=s(43210),i=s.n(r),n=s(11736),l=s(85808),o=s(96241),c=s(25334),d=s(16189);function m(e){return e.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}function u({content:e,className:t,skipNormalization:s=!1}){let r=(0,d.useRouter)(),u=s?e:function(e){if(!e||"string"!=typeof e)return"";let t=e.split("\n"),s=[],a=!1,r=0,i=e=>{let t=e.trim();return/^```/.test(t)},n=e=>{let t=e.trim();return/^[-*+]\s/.test(t)||/^\d+\.\s/.test(t)},l=e=>/^\s*>/.test(e),o=e=>{let t=e.trim();return!!t&&!(t.length<3)&&[/^(const|let|var|function|class|import|export|return|if|for|while)\s/,/^[a-zA-Z_$][a-zA-Z0-9_$]*\s*[=:({]/,/[{};()[\]]/,/^\/\//,/^#/].some(e=>e.test(t))};for(let e=0;e=4&&!o(c)||d>=2&&d<4){s.push(c.trim());continue}s.push(c)}return s.join("\n").trim()}(e),h=i().useMemo(()=>{let e=u.split("\n"),t=[],s=0;for(let a of e){let e=a.match(/^(#{2,4})\s+(.+)$/);e&&t.push({level:e[1].length,text:e[2].trim(),index:s++})}return t},[u]),p=i().useMemo(()=>{let e=new Map;return h.forEach(t=>{let s=`${t.level}-${t.text}`;e.has(s)||e.set(s,t.index)}),e},[h]);return(0,a.jsx)("div",{className:(0,o.cn)("prose prose-sm dark:prose-invert max-w-none",t),children:(0,a.jsx)(n.oz,{remarkPlugins:[l.A],components:{h1:({children:e})=>{let t=m(e?.toString()||"");return(0,a.jsx)("h1",{id:t,className:"text-3xl font-bold mb-4 mt-8 first:mt-0",children:e})},h2:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`2-${t}`,i=p.get(r);return(0,a.jsx)("h2",{id:s,"data-heading-index":i,className:"text-2xl font-bold mb-3 mt-8 pb-2 border-b border-border/50 first:mt-0",children:e})},h3:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`3-${t}`,i=p.get(r);return(0,a.jsx)("h3",{id:s,"data-heading-index":i,className:"text-xl font-semibold mb-2 mt-6",children:e})},h4:({children:e})=>{let t=e?.toString()||"",s=m(t),r=`4-${t}`,i=p.get(r);return(0,a.jsx)("h4",{id:s,"data-heading-index":i,className:"text-lg font-semibold mb-2 mt-4",children:e})},p:({children:e})=>(0,a.jsx)("p",{className:"mb-4 leading-relaxed last:mb-0",children:e}),ul:({children:e})=>(0,a.jsx)("ul",{className:"list-disc pl-6 mb-4 space-y-2",children:e}),ol:({children:e})=>(0,a.jsx)("ol",{className:"list-decimal pl-6 mb-4 space-y-2",children:e}),li:({children:e})=>(0,a.jsx)("li",{className:"text-sm leading-relaxed",children:e}),pre:({children:e,...t})=>{let s=i().Children.toArray(e).find(e=>i().isValidElement(e)&&"code"===e.type),r=s?.props?.className||"",n=/language-(\w+)/.exec(r),l=n?n[1]:null;return(0,a.jsxs)("div",{className:"relative mb-4 group",children:[l&&(0,a.jsx)("div",{className:"absolute top-2 right-2 px-2 py-1 text-xs font-medium text-muted-foreground bg-background/80 rounded border border-border/50 backdrop-blur-sm",children:l}),(0,a.jsx)("pre",{className:"p-4 rounded-lg bg-muted/50 border border-border/50 overflow-x-auto",...t,children:e})]})},code:({className:e,children:t,...s})=>/language-(\w+)/.exec(e||"")?(0,a.jsx)("code",{className:"font-mono text-xs block",...s,children:t}):(0,a.jsx)("code",{className:"px-1.5 py-0.5 rounded bg-muted/70 border border-border/30 font-mono text-xs",...s,children:t}),blockquote:({children:e})=>(0,a.jsx)("blockquote",{className:"border-l-4 border-primary/30 bg-muted/30 pl-4 pr-4 py-3 mb-4 italic text-muted-foreground rounded-r",children:e}),a:({href:e,children:t})=>{if(!e)return(0,a.jsx)("a",{children:t});let s=e.startsWith("?doc="),i=e.startsWith("?nav=");e.startsWith("#");let n=e.startsWith("http://")||e.startsWith("https://");return(0,a.jsxs)("a",{href:e,onClick:t=>{if(s)t.preventDefault(),r.push(`/${e}`);else if(i){t.preventDefault();let s=e.replace("?nav=","");window.dispatchEvent(new CustomEvent("nav-to-view",{detail:{view:s}})),r.push("/")}},className:(0,o.cn)("text-primary hover:underline cursor-pointer",n&&"inline-flex items-center gap-1"),target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0,children:[t,n&&(0,a.jsx)(c.A,{className:"h-3 w-3 inline"})]})},strong:({children:e})=>(0,a.jsx)("strong",{className:"font-semibold",children:e}),em:({children:e})=>(0,a.jsx)("em",{className:"italic",children:e}),hr:()=>(0,a.jsx)("hr",{className:"my-8 border-border"}),table:({children:e})=>(0,a.jsx)("div",{className:"overflow-x-auto mb-6 rounded-lg border border-border",children:(0,a.jsx)("table",{className:"min-w-full divide-y divide-border",children:e})}),thead:({children:e})=>(0,a.jsx)("thead",{className:"bg-muted/50",children:e}),tbody:({children:e})=>(0,a.jsx)("tbody",{className:"divide-y divide-border bg-background",children:e}),tr:({children:e})=>(0,a.jsx)("tr",{className:"hover:bg-muted/30 transition-colors",children:e}),th:({children:e})=>(0,a.jsx)("th",{className:"px-4 py-3 text-left text-xs font-semibold tracking-wide",children:e}),td:({children:e})=>(0,a.jsx)("td",{className:"px-4 py-3 text-sm",children:e})},children:u})})}},87929:(e,t,s)=>{s.d(t,{DEMO_PROJECT_TEMPLATE:()=>a.vY,Nr:()=>a.Nr,ZQ:()=>a.ZQ,createProjectFromTemplate:()=>a.c3});var a=s(75639)},88712:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(60687);s(43210);let r=[{id:"welcome",title:"Welcome to Open Source Web Studio",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"Let's take a guided tour of the workspace so you can see how projects, agents, and saves all fit together."}),(0,a.jsx)("p",{children:"The tour takes under two minutes and you can skip at any time."})]}),location:"project-manager",primaryLabel:"Start tour",secondaryLabel:"Skip"},{id:"projects-overview",title:"Projects at a Glance",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"This is your project gallery. Recent work appears here with quick actions for opening, duplicating, or exporting."}),(0,a.jsx)("p",{children:"I've loaded a demo project so you can explore without setting anything up."})]}),location:"project-manager",target:'[data-tour-id="projects-list"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"create-project",title:"Creating a Project",body:(0,a.jsx)("div",{className:"space-y-2 text-sm text-muted-foreground",children:(0,a.jsx)("p",{children:"Use the New Project button to start fresh. The dialog lets you name the project and add an optional description."})}),location:"project-manager",target:'[data-tour-id="new-project-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"project-controls",title:"Exporting a Project",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"Click the dropdown menu on any project card to access export options. You can export as a ZIP for deployment or JSON for backup."}),(0,a.jsx)("p",{children:"Projects can also be duplicated or deleted from this menu."})]}),location:"project-manager",target:'[data-tour-id="project-export-json"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"edit-project",title:"Editing a Project",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"To get to the workspace and start editing, simply click on the project card. This will open the full development environment."}),(0,a.jsx)("p",{children:"Click Next to enter the workspace and continue the tour."})]}),location:"project-manager",target:'[data-tour-id="project-card"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-overview",title:"Workspace Layout",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The workspace has four main areas: the assistant conversation, the virtual file explorer, your editor tabs, and the live preview."}),(0,a.jsx)("p",{children:"The VFS works like a project file tree—add HTML, CSS, JS, or assets and the agent can edit them just like local files."})]}),location:"workspace",target:'[data-tour-id="workspace-panels"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-edit",title:"See the Agent in Action",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:'I\'ll request the agent to change the color of "Our Services" button to a green accent and the agent performs the task.'}),(0,a.jsx)("p",{children:"This mimics what you will see when asking the agent to perform tasks."})]}),location:"workspace",target:'[data-tour-id="assistant-panel"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-focus",title:"Element Focus Tool",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The crosshair tool in the preview panel lets you select and focus on specific elements in your design."}),(0,a.jsx)("p",{children:"Click it to activate element selection mode, then click any element in the preview to highlight it."})]}),location:"workspace",target:'[data-tour-id="focus-crosshair-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"workspace-checkpoint",title:"Checkpoints & Manual Saves",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:'The "Discard Changes" button restores to the original saved point, letting you revert any changes back to your last manual save.'}),(0,a.jsx)("p",{children:"If you like the result, use the Save button to lock it in as your manual checkpoint."})]}),location:"workspace",target:'[data-tour-id="discard-changes-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"clear-conversation",title:"Clear Conversation",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"The agent will have the last tasks and responses in memory. You can clear it with the trashcan button to start fresh."}),(0,a.jsx)("p",{children:"This removes the conversation history but keeps your project files intact."})]}),location:"workspace",target:'[data-tour-id="clear-chat-button"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"provider-settings",title:"Connect Your Provider",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsxs)("p",{children:["Set your API key under Settings → Provider. I recommend trying OpenRouter with the ",(0,a.jsx)("code",{children:"gpt-oss-120b"})," model, but you can use any supported provider."]}),(0,a.jsx)("p",{children:"You can return here anytime from the header menu."}),(0,a.jsx)("p",{className:"text-xs text-orange-500/90",children:"Privacy note: Remote LLM providers (OpenAI, Anthropic, etc.) will receive your code when generating. For complete privacy, use local models with Ollama or LM Studio."})]}),location:"workspace",target:'[data-tour-id="provider-settings-trigger"]',showBack:!0,primaryLabel:"Next",secondaryLabel:"Skip"},{id:"wrap-up",title:"You're Ready!",body:(0,a.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,a.jsx)("p",{children:"That's the basics—prompt the agent, preview updates, and save when you're happy. You can replay this tour from the Help menu anytime."}),(0,a.jsx)("p",{children:"Have fun building! Let me know what you ship."})]}),location:"workspace",showBack:!0,primaryLabel:"Finish",secondaryLabel:"Skip"}]},96597:(e,t,s)=>{s.d(t,{V:()=>u});var a=s(60687);s(43210);var r=s(30758),i=s(37826),n=s(24934),l=s(96271),o=s(59821),c=s(25334),d=s(62157),m=s(44624);function u({open:e,onOpenChange:t}){return(0,a.jsx)(i.lG,{open:e,onOpenChange:t,children:(0,a.jsxs)(i.Cf,{className:"max-w-3xl max-h-[90vh]",children:[(0,a.jsx)(i.c7,{children:(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-2",children:[(0,a.jsx)(l.g,{width:64,height:64}),(0,a.jsxs)("div",{children:[(0,a.jsx)(i.L3,{className:"text-2xl",children:"Open Source Web Studio"}),(0,a.jsx)(i.rr,{className:"text-base",children:"Browser-based Website Builder"})]})]})}),(0,a.jsxs)("div",{className:"space-y-6 overflow-y-auto max-h-[60vh] pr-4",children:[(0,a.jsx)("section",{children:(0,a.jsxs)("div",{className:"text-sm text-gray-600 dark:text-gray-300 leading-relaxed space-y-3",children:[(0,a.jsx)("p",{children:"OSW Studio is a BYOK (Bring Your Own Key) agentic browser-based website builder where you describe what you want and an agent writes the code. Originally forked from @enzostvs and @victor's DeepSite v2, it has evolved into a full-featured development environment."}),(0,a.jsx)("p",{children:"This is a solo project and there isn't a huge corpo behind it. I'll do my best to fix issues and possibly keep the project improving, but it's just me doing this for fun so please be patient. All feedback and contributions are more than welcome."}),(0,a.jsx)("p",{children:"If you make something with the app I would be thrilled if you could share what you've made."})]})}),(0,a.jsxs)("section",{children:[(0,a.jsx)("h3",{className:"font-semibold text-lg mb-3",children:"Links & Community"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("a",{href:"https://discord.gg/mAJ8Ss4u",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsx)(m.E,{className:"h-4 w-4"}),"Discord Community",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsxs)("a",{href:"https://github.com/o-stahl/osw-studio",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsx)(d.A,{className:"h-4 w-4"}),"GitHub repo",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsxs)("a",{href:"https://huggingface.co/spaces/otst/oswstudio",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-blue-600 dark:text-blue-400 hover:underline",children:[(0,a.jsxs)("svg",{fill:"currentColor",fillRule:"evenodd",height:"1em",style:{flex:"none",lineHeight:1},viewBox:"0 0 24 24",width:"1em",xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",children:[(0,a.jsx)("title",{children:"HuggingFace"}),(0,a.jsx)("path",{d:"M16.781 3.277c2.997 1.704 4.844 4.851 4.844 8.258 0 .995-.155 1.955-.443 2.857a1.332 1.332 0 011.125.4 1.41 1.41 0 01.2 1.723c.204.165.352.385.428.632l.017.062c.06.222.12.69-.2 1.166.244.37.279.836.093 1.236-.255.57-.893 1.018-2.128 1.5l-.202.078-.131.048c-.478.173-.89.295-1.061.345l-.086.024c-.89.243-1.808.375-2.732.394-1.32 0-2.3-.36-2.923-1.067a9.852 9.852 0 01-3.18.018C9.778 21.647 8.802 22 7.494 22a11.249 11.249 0 01-2.541-.343l-.221-.06-.273-.08a16.574 16.574 0 01-1.175-.405c-1.237-.483-1.875-.93-2.13-1.501-.186-.4-.151-.867.093-1.236a1.42 1.42 0 01-.2-1.166c.069-.273.226-.516.447-.694a1.41 1.41 0 01.2-1.722c.233-.248.557-.391.917-.407l.078-.001a9.385 9.385 0 01-.44-2.85c0-3.407 1.847-6.554 4.844-8.258a9.822 9.822 0 019.687 0zM4.188 14.758c.125.687 2.357 2.35 2.14 2.707-.19.315-.796-.239-.948-.386l-.041-.04-.168-.147c-.561-.479-2.304-1.9-2.74-1.432-.43.46.119.859 1.055 1.42l.784.467.136.083c1.045.643 1.12.84.95 1.113-.188.295-3.07-2.1-3.34-1.083-.27 1.011 2.942 1.304 2.744 2.006-.2.7-2.265-1.324-2.685-.537-.425.79 2.913 1.718 2.94 1.725l.16.04.175.042c1.227.284 3.565.65 4.435-.604.673-.973.64-1.709-.248-2.61l-.057-.057c-.945-.928-1.495-2.288-1.495-2.288l-.017-.058-.025-.072c-.082-.22-.284-.639-.63-.584-.46.073-.798 1.21.12 1.933l.05.038c.977.721-.195 1.21-.573.534l-.058-.104-.143-.25c-.463-.799-1.282-2.111-1.739-2.397-.532-.332-.907-.148-.782.541zm14.842-.541c-.533.335-1.563 2.074-1.94 2.751a.613.613 0 01-.687.302.436.436 0 01-.176-.098.303.303 0 01-.049-.06l-.014-.028-.008-.02-.007-.019-.003-.013-.003-.017a.289.289 0 01-.004-.048c0-.12.071-.266.25-.427.026-.024.054-.047.084-.07l.047-.036c.022-.016.043-.032.063-.049.883-.71.573-1.81.131-1.917l-.031-.006-.056-.004a.368.368 0 00-.062.006l-.028.005-.042.014-.039.017-.028.015-.028.019-.036.027-.023.02c-.173.158-.273.428-.31.542l-.016.054s-.53 1.309-1.439 2.234l-.054.054c-.365.358-.596.69-.702 1.018-.143.437-.066.868.21 1.353.055.097.117.195.187.296.882 1.275 3.282.876 4.494.59l.286-.07.25-.074c.276-.084.736-.233 1.2-.42l.188-.077.065-.028.064-.028.124-.056.081-.038c.529-.252.964-.543.994-.827l.001-.036a.299.299 0 00-.037-.139c-.094-.176-.271-.212-.491-.168l-.045.01c-.044.01-.09.024-.136.04l-.097.035-.054.022c-.559.23-1.238.705-1.607.745h.006a.452.452 0 01-.05.003h-.024l-.024-.003-.023-.005c-.068-.016-.116-.06-.14-.142a.22.22 0 01-.005-.1c.062-.345.958-.595 1.713-.91l.066-.028c.528-.224.97-.483.985-.832v-.04a.47.47 0 00-.016-.098c-.048-.18-.175-.251-.36-.251-.785 0-2.55 1.36-2.92 1.36-.025 0-.048-.007-.058-.024a.6.6 0 01-.046-.088c-.1-.238.068-.462 1.06-1.066l.209-.126c.538-.32 1.01-.588 1.341-.831.29-.212.475-.406.503-.6l.003-.028c.008-.113-.038-.227-.147-.344a.266.266 0 00-.07-.054l-.034-.015-.013-.005a.403.403 0 00-.13-.02c-.162 0-.369.07-.595.18-.637.313-1.431.952-1.826 1.285l-.249.215-.033.033c-.08.078-.288.27-.493.386l-.071.037-.041.019a.535.535 0 01-.122.036h.005a.346.346 0 01-.031.003l.01-.001-.013.001c-.079.005-.145-.021-.19-.095a.113.113 0 01-.014-.065c.027-.465 2.034-1.991 2.152-2.642l.009-.048c.1-.65-.271-.817-.791-.493zM11.938 2.984c-4.798 0-8.688 3.829-8.688 8.55 0 .692.083 1.364.24 2.008l.008-.009c.252-.298.612-.46 1.017-.46.355.008.699.117.993.312.22.14.465.384.715.694.261-.372.69-.598 1.15-.605.852 0 1.367.728 1.562 1.383l.047.105.06.127c.192.396.595 1.139 1.143 1.68 1.06 1.04 1.324 2.115.8 3.266a8.865 8.865 0 002.024-.014c-.505-1.12-.26-2.17.74-3.186l.066-.066c.695-.684 1.157-1.69 1.252-1.912.195-.655.708-1.383 1.56-1.383.46.007.889.233 1.15.605.25-.31.495-.553.718-.694a1.87 1.87 0 01.99-.312c.357 0 .682.126.925.36.14-.61.215-1.245.215-1.898 0-4.722-3.89-8.55-8.687-8.55zm1.857 8.926l.439-.212c.553-.264.89-.383.89.152 0 1.093-.771 3.208-3.155 3.262h-.184c-2.325-.052-3.116-2.06-3.156-3.175l-.001-.087c0-1.107 1.452.586 3.25.586.716 0 1.379-.272 1.917-.526zm4.017-3.143c.45 0 .813.358.813.8 0 .441-.364.8-.813.8a.806.806 0 01-.812-.8c0-.442.364-.8.812-.8zm-11.624 0c.448 0 .812.358.812.8 0 .441-.364.8-.812.8a.806.806 0 01-.813-.8c0-.442.364-.8.813-.8zm7.79-.841c.32-.384.846-.54 1.33-.394.483.146.83.564.878 1.06.048.495-.212.97-.659 1.203-.322.168-.447-.477-.767-.585l.002-.003c-.287-.098-.772.362-.925.079a1.215 1.215 0 01.14-1.36zm-4.323 0c.322.384.377.92.14 1.36-.152.283-.64-.177-.925-.079l.003.003c-.108.036-.194.134-.273.24l-.118.165c-.11.15-.22.262-.377.18a1.226 1.226 0 01-.658-1.204c.048-.495.395-.913.878-1.059a1.262 1.262 0 011.33.394z"})]}),"Live Demo (HuggingFace)",(0,a.jsx)(c.A,{className:"h-3 w-3"})]}),(0,a.jsx)("a",{href:"https://www.buymeacoffee.com/otst",target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("img",{src:"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png",alt:"Buy Me A Coffee",style:{height:"30px",width:"109px"}})})]})]})]}),(0,a.jsxs)("div",{className:"flex justify-between items-center pt-4 border-t",children:[(0,a.jsxs)(o.E,{variant:"secondary",className:"text-xs",children:["v",process.env.NEXT_PUBLIC_APP_VERSION||r.rE]}),(0,a.jsx)(n.$,{onClick:()=>t(!1),children:"Close"})]})]})})}}}; \ No newline at end of file diff --git a/.next/server/chunks/1519.js b/.next/server/chunks/1519.js deleted file mode 100644 index ff4bd68fa95b746a2d68ae65c8e811087e712f8e..0000000000000000000000000000000000000000 --- a/.next/server/chunks/1519.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";exports.id=1519,exports.ids=[1519],exports.modules={1519:(e,r,t)=>{async function n(e){}async function o(){return{serverProjectCount:0,serverSiteCount:0,serverLastUpdated:null,localProjectCount:0,isUninitialized:!1,needsSync:!1,loading:!1,error:"Server mode not enabled"}}t.d(r,{autoSyncProject:()=>n,jP:()=>o}),t(68269),t(96241),t(52581)}}; \ No newline at end of file diff --git a/.next/server/chunks/1692.js b/.next/server/chunks/1692.js new file mode 100644 index 0000000000000000000000000000000000000000..cfdba8c397edc4b75c78e7747bb1cf60bc6a7b67 --- /dev/null +++ b/.next/server/chunks/1692.js @@ -0,0 +1 @@ +exports.id=1692,exports.ids=[1692],exports.modules={3421:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(71237),e=c(55088),f=c(17679);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},10641:(a,b,c)=>{"use strict";var d=c(55174);c.o(d,"NextResponse")&&c.d(b,{NextResponse:function(){return d.NextResponse}})},15622:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"URLPattern",{enumerable:!0,get:function(){return c}});let c="undefined"==typeof URLPattern?void 0:URLPattern},55174:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ImageResponse:function(){return d.ImageResponse},NextRequest:function(){return e.NextRequest},NextResponse:function(){return f.NextResponse},URLPattern:function(){return h.URLPattern},after:function(){return i.after},connection:function(){return j.connection},unstable_rootParams:function(){return k.unstable_rootParams},userAgent:function(){return g.userAgent},userAgentFromString:function(){return g.userAgentFromString}});let d=c(98197),e=c(87129),f=c(71589),g=c(86005),h=c(15622),i=c(87522),j=c(65281),k=c(97324)},65281:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"connection",{enumerable:!0,get:function(){return j}});let d=c(29294),e=c(63033),f=c(26906),g=c(11938),h=c(82831),i=c(31716);function j(){let a=d.workAsyncStorage.getStore(),b=e.workUnitAsyncStorage.getStore();if(a){if(b&&"after"===b.phase&&!(0,i.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${a.route} used "connection" inside "after(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E186",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve(void 0);if(a.dynamicShouldError)throw Object.defineProperty(new g.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E562",enumerable:!1,configurable:!0});if(b)switch(b.type){case"cache":{let b=Object.defineProperty(Error(`Route ${a.route} used "connection" inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E752",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"private-cache":{let b=Object.defineProperty(Error(`Route ${a.route} used "connection" inside "use cache: private". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E753",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"unstable-cache":throw Object.defineProperty(Error(`Route ${a.route} used "connection" inside a function cached with "unstable_cache(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E1",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,h.makeHangingPromise)(b.renderSignal,a.route,"`connection()`");case"prerender-ppr":return(0,f.postponeWithTracking)(a.route,"connection",b.dynamicTracking);case"prerender-legacy":return(0,f.throwToInterruptStaticGeneration)("connection",a,b);case"request":return(0,f.trackDynamicDataInDynamicRender)(b),Promise.resolve(void 0)}}(0,e.throwForMissingRequestStore)("connection")}},71589:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"NextResponse",{enumerable:!0,get:function(){return l}});let d=c(33675),e=c(78001),f=c(17679),g=c(63036),h=c(33675),i=Symbol("internal response"),j=new Set([301,302,303,307,308]);function k(a,b){var c;if(null==a||null==(c=a.request)?void 0:c.headers){if(!(a.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let c=[];for(let[d,e]of a.request.headers)b.set("x-middleware-request-"+d,e),c.push(d);b.set("x-middleware-override-headers",c.join(","))}}class l extends Response{constructor(a,b={}){super(a,b);let c=this.headers,j=new Proxy(new h.ResponseCookies(c),{get(a,e,f){switch(e){case"delete":case"set":return(...f)=>{let g=Reflect.apply(a[e],a,f),i=new Headers(c);return g instanceof h.ResponseCookies&&c.set("x-middleware-set-cookie",g.getAll().map(a=>(0,d.stringifyCookie)(a)).join(",")),k(b,i),g};default:return g.ReflectAdapter.get(a,e,f)}}});this[i]={cookies:j,url:b.url?new e.NextURL(b.url,{headers:(0,f.toNodeOutgoingHttpHeaders)(c),nextConfig:b.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[i].cookies}static json(a,b){let c=Response.json(a,b);return new l(c.body,c)}static redirect(a,b){let c="number"==typeof b?b:(null==b?void 0:b.status)??307;if(!j.has(c))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let d="object"==typeof b?b:{},e=new Headers(null==d?void 0:d.headers);return e.set("Location",(0,f.validateURL)(a)),new l(null,{...d,headers:e,status:c})}static rewrite(a,b){let c=new Headers(null==b?void 0:b.headers);return c.set("x-middleware-rewrite",(0,f.validateURL)(a)),k(b,c),new l(null,{...b,headers:c})}static next(a){let b=new Headers(null==a?void 0:a.headers);return b.set("x-middleware-next","1"),k(a,b),new l(null,{...a,headers:b})}}},86005:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isBot:function(){return e},userAgent:function(){return g},userAgentFromString:function(){return f}});let d=function(a){return a&&a.__esModule?a:{default:a}}(c(86404));function e(a){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(a)}function f(a){return{...(0,d.default)(a),isBot:void 0!==a&&e(a)}}function g({headers:a}){return f(a.get("user-agent")||void 0)}},86404:(a,b,c)=>{var d;(()=>{var e={226:function(e,f){!function(g,h){"use strict";var i="function",j="undefined",k="object",l="string",m="major",n="model",o="name",p="type",q="vendor",r="version",s="architecture",t="console",u="mobile",v="tablet",w="smarttv",x="wearable",y="embedded",z="Amazon",A="Apple",B="ASUS",C="BlackBerry",D="Browser",E="Chrome",F="Firefox",G="Google",H="Huawei",I="Microsoft",J="Motorola",K="Opera",L="Samsung",M="Sharp",N="Sony",O="Xiaomi",P="Zebra",Q="Facebook",R="Chromium OS",S="Mac OS",T=function(a,b){var c={};for(var d in a)b[d]&&b[d].length%2==0?c[d]=b[d].concat(a[d]):c[d]=a[d];return c},U=function(a){for(var b={},c=0;c0?2===f.length?typeof f[1]==i?this[f[0]]=f[1].call(this,j):this[f[0]]=f[1]:3===f.length?typeof f[1]!==i||f[1].exec&&f[1].test?this[f[0]]=j?j.replace(f[1],f[2]):void 0:this[f[0]]=j?f[1].call(this,j,f[2]):void 0:4===f.length&&(this[f[0]]=j?f[3].call(this,j.replace(f[1],f[2])):h):this[f]=j||h;l+=2}},Z=function(a,b){for(var c in b)if(typeof b[c]===k&&b[c].length>0){for(var d=0;d2&&(a[n]="iPad",a[p]=v),a},this.getEngine=function(){var a={};return a[o]=h,a[r]=h,Y.call(a,d,f.engine),a},this.getOS=function(){var a={};return a[o]=h,a[r]=h,Y.call(a,d,f.os),t&&!a[o]&&e&&"Unknown"!=e.platform&&(a[o]=e.platform.replace(/chrome os/i,R).replace(/macos/i,S)),a},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return d},this.setUA=function(a){return d=typeof a===l&&a.length>350?X(a,350):a,this},this.setUA(d),this};aa.VERSION="1.0.35",aa.BROWSER=U([o,r,m]),aa.CPU=U([s]),aa.DEVICE=U([n,q,p,t,u,w,v,x,y]),aa.ENGINE=aa.OS=U([o,r]),typeof f!==j?(e.exports&&(f=e.exports=aa),f.UAParser=aa):c.amdO?void 0===(d=(function(){return aa}).call(b,c,b,a))||(a.exports=d):typeof g!==j&&(g.UAParser=aa);var ab=typeof g!==j&&(g.jQuery||g.Zepto);if(ab&&!ab.ua){var ac=new aa;ab.ua=ac.getResult(),ab.ua.get=function(){return ac.getUA()},ab.ua.set=function(a){ac.setUA(a);var b=ac.getResult();for(var c in b)ab.ua[c]=b[c]}}}("object"==typeof window?window:this)}},f={};function g(a){var b=f[a];if(void 0!==b)return b.exports;var c=f[a]={exports:{}},d=!0;try{e[a].call(c.exports,c,c.exports,g),d=!1}finally{d&&delete f[a]}return c.exports}g.ab=__dirname+"/",a.exports=g(226)})()},87522:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),function(a,b){Object.keys(a).forEach(function(c){"default"===c||Object.prototype.hasOwnProperty.call(b,c)||Object.defineProperty(b,c,{enumerable:!0,get:function(){return a[c]}})})}(c(92588),b)},92588:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"after",{enumerable:!0,get:function(){return e}});let d=c(29294);function e(a){let b=d.workAsyncStorage.getStore();if(!b)throw Object.defineProperty(Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});let{afterContext:c}=b;return c.after(a)}},95736:(a,b,c)=>{"use strict";a.exports=c(44870)},97324:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRootParam:function(){return n},unstable_rootParams:function(){return m}});let d=c(49290),e=c(26906),f=c(29294),g=c(63033),h=c(82831),i=c(84226),j=c(19121),k=c(310),l=new WeakMap;async function m(){(0,k.warnOnce)("`unstable_rootParams()` is deprecated and will be removed in an upcoming major release. Import specific root params from `next/root-params` instead.");let a=f.workAsyncStorage.getStore();if(!a)throw Object.defineProperty(new d.InvariantError("Missing workStore in unstable_rootParams"),"__NEXT_ERROR_CODE",{value:"E615",enumerable:!1,configurable:!0});let b=g.workUnitAsyncStorage.getStore();if(!b)throw Object.defineProperty(Error(`Route ${a.route} used \`unstable_rootParams()\` in Pages Router. This API is only available within App Router.`),"__NEXT_ERROR_CODE",{value:"E641",enumerable:!1,configurable:!0});switch(b.type){case"cache":case"unstable-cache":throw Object.defineProperty(Error(`Route ${a.route} used \`unstable_rootParams()\` inside \`"use cache"\` or \`unstable_cache\`. Support for this API inside cache scopes is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E642",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return function(a,b,c){switch(c.type){case"prerender-client":{let a="`unstable_rootParams`";throw Object.defineProperty(new d.InvariantError(`${a} must not be used within a client component. Next.js should be preventing ${a} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0})}case"prerender":{let d=c.fallbackRouteParams;if(d){for(let e in a)if(d.has(e)){let d=l.get(a);if(d)return d;let e=(0,h.makeHangingPromise)(c.renderSignal,b.route,"`unstable_rootParams`");return l.set(a,e),e}}break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d){for(let f in a)if(d.has(f))return function(a,b,c,d){let f=l.get(a);if(f)return f;let g={...a},h=Promise.resolve(g);return l.set(a,h),Object.keys(a).forEach(f=>{i.wellKnownProperties.has(f)||(b.has(f)?Object.defineProperty(g,f,{get(){let a=(0,i.describeStringPropertyAccess)("unstable_rootParams",f);"prerender-ppr"===d.type?(0,e.postponeWithTracking)(c.route,a,d.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,c,d)},enumerable:!0}):h[f]=a[f])}),h}(a,d,b,c)}}}return Promise.resolve(a)}(b.rootParams,a,b);case"private-cache":case"prerender-runtime":case"request":return Promise.resolve(b.rootParams);default:return b}}function n(a){let b=`\`import('next/root-params').${a}()\``,c=f.workAsyncStorage.getStore();if(!c)throw Object.defineProperty(new d.InvariantError(`Missing workStore in ${b}`),"__NEXT_ERROR_CODE",{value:"E764",enumerable:!1,configurable:!0});let e=g.workUnitAsyncStorage.getStore();if(!e)throw Object.defineProperty(Error(`Route ${c.route} used ${b} outside of a Server Component. This is not allowed.`),"__NEXT_ERROR_CODE",{value:"E774",enumerable:!1,configurable:!0});let i=j.actionAsyncStorage.getStore();if(i){if(i.isAppRoute)throw Object.defineProperty(Error(`Route ${c.route} used ${b} inside a Route Handler. Support for this API in Route Handlers is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E765",enumerable:!1,configurable:!0});if(i.isAction&&"action"===e.phase)throw Object.defineProperty(Error(`${b} was used inside a Server Action. This is not supported. Functions from 'next/root-params' can only be called in the context of a route.`),"__NEXT_ERROR_CODE",{value:"E766",enumerable:!1,configurable:!0})}switch(e.type){case"unstable-cache":case"cache":throw Object.defineProperty(Error(`Route ${c.route} used ${b} inside \`"use cache"\` or \`unstable_cache\`. Support for this API inside cache scopes is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E760",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":var k=a,l=c,m=e,n=b;if("prerender-client"===m.type)throw Object.defineProperty(new d.InvariantError(`${n} must not be used within a client component. Next.js should be preventing ${n} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});let p=m.rootParams;switch(m.type){case"prerender":if(m.fallbackRouteParams&&m.fallbackRouteParams.has(k))return(0,h.makeHangingPromise)(m.renderSignal,l.route,n);break;case"prerender-ppr":if(m.fallbackRouteParams&&m.fallbackRouteParams.has(k))return o(k,l,m,n)}return Promise.resolve(p[k])}return Promise.resolve(e.rootParams[a])}async function o(a,b,c,d){let f=(0,i.describeStringPropertyAccess)(d,a);switch(c.type){case"prerender-ppr":return(0,e.postponeWithTracking)(b.route,f,c.dynamicTracking);case"prerender-legacy":return(0,e.throwToInterruptStaticGeneration)(f,b,c)}}},98197:(a,b)=>{"use strict";function c(){throw Object.defineProperty(Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ImageResponse",{enumerable:!0,get:function(){return c}})}}; \ No newline at end of file diff --git a/.next/server/chunks/2629.js b/.next/server/chunks/2629.js deleted file mode 100644 index 89f056aed3dd0279345b75095bde0e2c55cbcdbb..0000000000000000000000000000000000000000 --- a/.next/server/chunks/2629.js +++ /dev/null @@ -1,553 +0,0 @@ -"use strict";exports.id=2629,exports.ids=[2629],exports.modules={72629:(e,t,i)=>{i.d(t,{SQLiteAdapter:()=>M});var a=i(87550),s=i.n(a),n=i(33873),r=i.n(n),d=i(29021),o=i.n(d);let p=null,E=new Map;function T(){return r().join(process.cwd(),"sites")}function c(e){o().existsSync(e)||o().mkdirSync(e,{recursive:!0})}function l(e){e.pragma("journal_mode = WAL"),e.pragma("foreign_keys = ON"),e.pragma("synchronous = NORMAL"),e.pragma("cache_size = -64000"),e.pragma("temp_store = MEMORY")}function u(e){let t=T(),i=r().join(t,e,"site.sqlite");return o().existsSync(i)}function _(e){m(e);let t=T(),i=r().join(t,e);if(o().existsSync(i)){for(let e of o().readdirSync(i))o().unlinkSync(r().join(i,e));o().rmdirSync(i)}}function m(e){let t=E.get(e);if(t){try{t.close()}catch{}E.delete(e)}}var h=i(25495),N=i(55511),S=i.n(N);function g(){let e=process.env.SECRETS_ENCRYPTION_KEY;if(!e)throw Error("SECRETS_ENCRYPTION_KEY environment variable not set");let t=Buffer.from(e,"base64");if(32!==t.length)throw Error(`Invalid SECRETS_ENCRYPTION_KEY: expected 32 bytes, got ${t.length}`);return t}function L(){try{return g(),!0}catch{return!1}}function O(e){let t=g(),i=S().randomBytes(16),a=S().createCipheriv("aes-256-gcm",t,i),s=a.update(e,"utf8","base64");return{encryptedValue:s+=a.final("base64"),iv:i.toString("base64"),authTag:a.getAuthTag().toString("base64")}}function R(e){return e?"string"==typeof e?e:e.toISOString():null}function A(e){return"string"==typeof e?e:e.toISOString()}function D(e,t){if(!e)return t;try{return JSON.parse(e)}catch{return t}}function I(e){return e?new Date(e):new Date}class b{constructor(e){this.initialized=!1,this.siteId=e,this.db=function(e){let t=E.get(e);if(t)return t;let i=T(),a=r().join(i,e);c(a);let n=r().join(a,"site.sqlite"),d=new(s())(n);return l(d),E.set(e,d),d}(e)}init(){this.initialized||(this.db.exec(` - CREATE TABLE IF NOT EXISTS site_info ( - id TEXT PRIMARY KEY DEFAULT 'main', - project_id TEXT NOT NULL, - name TEXT NOT NULL, - slug TEXT, - enabled INTEGER NOT NULL DEFAULT 0, - under_construction INTEGER NOT NULL DEFAULT 0, - custom_domain TEXT, - head_scripts TEXT NOT NULL DEFAULT '[]', - body_scripts TEXT NOT NULL DEFAULT '[]', - cdn_links TEXT NOT NULL DEFAULT '[]', - analytics TEXT NOT NULL DEFAULT '{}', - seo TEXT NOT NULL DEFAULT '{}', - compliance TEXT NOT NULL DEFAULT '{}', - settings_version INTEGER NOT NULL DEFAULT 1, - last_published_version INTEGER, - preview_image TEXT, - preview_updated_at TEXT, - created_at TEXT NOT NULL, - updated_at TEXT NOT NULL, - published_at TEXT - ) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS files ( - id TEXT PRIMARY KEY, - path TEXT NOT NULL UNIQUE, - name TEXT NOT NULL, - type TEXT NOT NULL, - content TEXT, - mime_type TEXT NOT NULL, - size INTEGER NOT NULL, - created_at TEXT NOT NULL, - updated_at TEXT NOT NULL, - metadata TEXT DEFAULT '{}' - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_files_path ON files(path) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS file_tree_nodes ( - id TEXT PRIMARY KEY, - path TEXT NOT NULL UNIQUE, - name TEXT NOT NULL, - type TEXT NOT NULL, - parent_path TEXT, - is_expanded INTEGER DEFAULT 0, - children TEXT DEFAULT '[]', - metadata TEXT DEFAULT '{}' - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_tree_nodes_parent_path ON file_tree_nodes(parent_path) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS pageviews ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - page_path TEXT NOT NULL, - referrer TEXT, - country TEXT, - user_agent TEXT, - device_type TEXT, - session_id TEXT NOT NULL, - load_time INTEGER, - timestamp TEXT NOT NULL DEFAULT (datetime('now')) - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_pageviews_timestamp ON pageviews(timestamp) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_pageviews_session_id ON pageviews(session_id) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS interactions ( - id TEXT PRIMARY KEY, - session_id TEXT NOT NULL, - page_path TEXT NOT NULL, - interaction_type TEXT NOT NULL, - element_selector TEXT, - coordinates TEXT, - scroll_depth INTEGER, - time_on_page INTEGER, - timestamp TEXT NOT NULL DEFAULT (datetime('now')) - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_interactions_page_path ON interactions(page_path) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_interactions_timestamp ON interactions(timestamp) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS sessions ( - id TEXT PRIMARY KEY, - session_id TEXT NOT NULL, - entry_page TEXT, - exit_page TEXT, - page_count INTEGER DEFAULT 1, - duration INTEGER, - is_bounce INTEGER DEFAULT 1, - created_at TEXT NOT NULL DEFAULT (datetime('now')), - ended_at TEXT - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_sessions_session_id ON sessions(session_id) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_sessions_created_at ON sessions(created_at) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS edge_functions ( - id TEXT PRIMARY KEY, - name TEXT NOT NULL UNIQUE, - description TEXT, - code TEXT NOT NULL, - method TEXT NOT NULL DEFAULT 'ANY', - enabled INTEGER NOT NULL DEFAULT 1, - timeout_ms INTEGER NOT NULL DEFAULT 5000, - created_at TEXT NOT NULL, - updated_at TEXT NOT NULL - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_edge_functions_name ON edge_functions(name) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS function_logs ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - function_id TEXT NOT NULL, - method TEXT NOT NULL, - path TEXT NOT NULL, - status_code INTEGER, - duration_ms INTEGER, - error TEXT, - timestamp TEXT NOT NULL DEFAULT (datetime('now')), - FOREIGN KEY (function_id) REFERENCES edge_functions(id) ON DELETE CASCADE - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_function_logs_function_id ON function_logs(function_id) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_function_logs_timestamp ON function_logs(timestamp) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS server_functions ( - id TEXT PRIMARY KEY, - name TEXT NOT NULL UNIQUE, - description TEXT, - code TEXT NOT NULL, - enabled INTEGER NOT NULL DEFAULT 1, - created_at TEXT NOT NULL, - updated_at TEXT NOT NULL - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_server_functions_name ON server_functions(name) - `),this.db.exec(` - CREATE TABLE IF NOT EXISTS secrets ( - id TEXT PRIMARY KEY, - name TEXT NOT NULL UNIQUE, - encrypted_value TEXT NOT NULL, - iv TEXT NOT NULL, - auth_tag TEXT NOT NULL, - description TEXT, - created_at TEXT NOT NULL, - updated_at TEXT NOT NULL - ) - `),this.db.exec(` - CREATE INDEX IF NOT EXISTS idx_secrets_name ON secrets(name) - `),this.initialized=!0)}close(){m(this.siteId)}createSiteInfo(e){this.db.prepare(` - INSERT OR REPLACE INTO site_info ( - id, project_id, name, slug, enabled, under_construction, - custom_domain, head_scripts, body_scripts, cdn_links, - analytics, seo, compliance, settings_version, - last_published_version, preview_image, preview_updated_at, - created_at, updated_at, published_at - ) VALUES ( - 'main', ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? - ) - `).run(e.projectId,e.name,e.slug??null,+!!e.enabled,+!!e.underConstruction,e.customDomain??null,JSON.stringify(e.headScripts??[]),JSON.stringify(e.bodyScripts??[]),JSON.stringify(e.cdnLinks??[]),JSON.stringify(e.analytics??{}),JSON.stringify(e.seo??{}),JSON.stringify(e.compliance??{}),e.settingsVersion??1,e.lastPublishedVersion??null,e.previewImage??null,R(e.previewUpdatedAt),A(e.createdAt),A(e.updatedAt),R(e.publishedAt))}getSiteInfo(){let e=this.db.prepare("SELECT * FROM site_info WHERE id = ?").get("main");return e?{id:this.siteId,projectId:e.project_id,name:e.name,slug:e.slug,enabled:!!e.enabled,underConstruction:!!e.under_construction,customDomain:e.custom_domain,headScripts:D(e.head_scripts,[]),bodyScripts:D(e.body_scripts,[]),cdnLinks:D(e.cdn_links,[]),analytics:D(e.analytics,{enabled:!1,provider:"builtin",privacyMode:!0}),seo:D(e.seo,{}),compliance:D(e.compliance,{enabled:!1,bannerPosition:"bottom",bannerStyle:"bar",message:"",acceptButtonText:"Accept",declineButtonText:"Decline",mode:"opt-in",blockAnalytics:!1}),settingsVersion:e.settings_version,lastPublishedVersion:e.last_published_version,previewImage:e.preview_image,previewUpdatedAt:e.preview_updated_at?I(e.preview_updated_at):void 0,createdAt:I(e.created_at),updatedAt:I(e.updated_at),publishedAt:e.published_at?I(e.published_at):null}:null}updateSiteInfo(e){let t=[],i=[];if(void 0!==e.name&&(t.push("name = ?"),i.push(e.name)),void 0!==e.slug&&(t.push("slug = ?"),i.push(e.slug)),void 0!==e.enabled&&(t.push("enabled = ?"),i.push(+!!e.enabled)),void 0!==e.underConstruction&&(t.push("under_construction = ?"),i.push(+!!e.underConstruction)),void 0!==e.customDomain&&(t.push("custom_domain = ?"),i.push(e.customDomain)),void 0!==e.headScripts&&(t.push("head_scripts = ?"),i.push(JSON.stringify(e.headScripts))),void 0!==e.bodyScripts&&(t.push("body_scripts = ?"),i.push(JSON.stringify(e.bodyScripts))),void 0!==e.cdnLinks&&(t.push("cdn_links = ?"),i.push(JSON.stringify(e.cdnLinks))),void 0!==e.analytics&&(t.push("analytics = ?"),i.push(JSON.stringify(e.analytics))),void 0!==e.seo&&(t.push("seo = ?"),i.push(JSON.stringify(e.seo))),void 0!==e.compliance&&(t.push("compliance = ?"),i.push(JSON.stringify(e.compliance))),void 0!==e.settingsVersion&&(t.push("settings_version = ?"),i.push(e.settingsVersion)),void 0!==e.lastPublishedVersion&&(t.push("last_published_version = ?"),i.push(e.lastPublishedVersion)),void 0!==e.previewImage&&(t.push("preview_image = ?"),i.push(e.previewImage)),void 0!==e.previewUpdatedAt&&(t.push("preview_updated_at = ?"),i.push(R(e.previewUpdatedAt))),void 0!==e.updatedAt&&(t.push("updated_at = ?"),i.push(A(e.updatedAt))),void 0!==e.publishedAt&&(t.push("published_at = ?"),i.push(R(e.publishedAt))),0===t.length)return;e.updatedAt||(t.push("updated_at = ?"),i.push(new Date().toISOString()));let a=`UPDATE site_info SET ${t.join(", ")} WHERE id = 'main'`;this.db.prepare(a).run(...i)}createFile(e){let t,i=this.db.prepare(` - INSERT INTO files ( - id, path, name, type, content, mime_type, size, - created_at, updated_at, metadata - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `);t=e.content instanceof ArrayBuffer?Buffer.from(e.content).toString("base64"):"string"==typeof e.content?e.content:"",i.run(e.id,e.path,e.name,e.type,t,e.mimeType??null,e.size??0,A(e.createdAt),A(e.updatedAt),JSON.stringify(e.metadata??{}))}getFile(e){let t=this.db.prepare("SELECT * FROM files WHERE path = ?").get(e);return t?this.rowToFile(t):null}updateFile(e){let t,i=this.db.prepare(` - UPDATE files SET - name = ?, type = ?, content = ?, mime_type = ?, - size = ?, updated_at = ?, metadata = ? - WHERE path = ? - `);t=e.content instanceof ArrayBuffer?Buffer.from(e.content).toString("base64"):"string"==typeof e.content?e.content:"",i.run(e.name,e.type,t,e.mimeType??null,e.size??0,A(e.updatedAt),JSON.stringify(e.metadata??{}),e.path)}deleteFile(e){this.db.prepare("DELETE FROM files WHERE path = ?").run(e)}listFiles(){return this.db.prepare("SELECT * FROM files ORDER BY path").all().map(e=>this.rowToFile(e))}deleteAllFiles(){this.db.prepare("DELETE FROM files").run()}rowToFile(e){let t=D(e.metadata,{}),i=e.type,a=e.content;if("image"===i||"video"===i||"binary"===i)try{a=Buffer.from(a,"base64").buffer}catch{}return{id:e.id,projectId:this.siteId,path:e.path,name:e.name,type:i,content:a,mimeType:e.mime_type,size:e.size,createdAt:I(e.created_at),updatedAt:I(e.updated_at),metadata:t}}createTreeNode(e){this.db.prepare(` - INSERT INTO file_tree_nodes (id, path, name, type, parent_path, is_expanded, children, metadata) - VALUES (?, ?, ?, ?, ?, ?, ?, ?) - `).run(e.id,e.path,e.name,e.type,e.parentPath,+!!e.isExpanded,JSON.stringify(e.children??[]),JSON.stringify(e.metadata??{}))}getTreeNode(e){let t=this.db.prepare("SELECT * FROM file_tree_nodes WHERE path = ?").get(e);return t?this.rowToTreeNode(t):null}updateTreeNode(e){this.db.prepare(` - UPDATE file_tree_nodes SET - name = ?, type = ?, parent_path = ?, is_expanded = ?, children = ?, metadata = ? - WHERE path = ? - `).run(e.name,e.type,e.parentPath,+!!e.isExpanded,JSON.stringify(e.children??[]),JSON.stringify(e.metadata??{}),e.path)}deleteTreeNode(e){this.db.prepare("DELETE FROM file_tree_nodes WHERE path = ?").run(e)}getChildNodes(e){return this.db.prepare("SELECT * FROM file_tree_nodes WHERE parent_path IS ? ORDER BY type DESC, path").all(e).map(e=>this.rowToTreeNode(e))}getAllTreeNodes(){return this.db.prepare("SELECT * FROM file_tree_nodes ORDER BY path").all().map(e=>this.rowToTreeNode(e))}rowToTreeNode(e){return{id:e.id,projectId:this.siteId,path:e.path,name:e.name,type:e.type,parentPath:e.parent_path,isExpanded:!!e.is_expanded,children:D(e.children,[]),metadata:D(e.metadata,{})}}recordPageview(e){this.db.prepare(` - INSERT INTO pageviews ( - page_path, referrer, country, user_agent, - device_type, session_id, load_time - ) VALUES (?, ?, ?, ?, ?, ?, ?) - `).run(e.pagePath,e.referrer??null,e.country??null,e.userAgent??null,e.deviceType??null,e.sessionId,e.loadTime??null)}recordInteraction(e){this.db.prepare(` - INSERT INTO interactions ( - id, session_id, page_path, interaction_type, - element_selector, coordinates, scroll_depth, time_on_page - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?) - `).run((0,h.A)(),e.sessionId,e.pagePath,e.interactionType,e.elementSelector??null,e.coordinates?JSON.stringify(e.coordinates):null,e.scrollDepth??null,e.timeOnPage??null)}upsertSession(e,t){let i=this.db.prepare("SELECT * FROM sessions WHERE session_id = ?").get(e);if(i){let a=i.page_count+1;this.db.prepare(` - UPDATE sessions SET - exit_page = ?, - page_count = ?, - is_bounce = 0, - ended_at = datetime('now') - WHERE session_id = ? - `).run(t,a,e)}else this.db.prepare(` - INSERT INTO sessions ( - id, session_id, entry_page, exit_page, - page_count, is_bounce - ) VALUES (?, ?, ?, ?, 1, 1) - `).run((0,h.A)(),e,t,t)}updateSessionDuration(e,t){this.db.prepare(` - UPDATE sessions SET duration = ?, ended_at = datetime('now') - WHERE session_id = ? - `).run(t,e)}getStats(e=30){let t=new Date;t.setDate(t.getDate()-e);let i=t.toISOString(),a=this.db.prepare(` - SELECT COUNT(*) as count FROM pageviews WHERE timestamp >= ? - `).get(i).count,s=this.db.prepare(` - SELECT COUNT(DISTINCT session_id) as count FROM pageviews WHERE timestamp >= ? - `).get(i).count,n=this.db.prepare(` - SELECT AVG(duration) as avg FROM sessions WHERE created_at >= ? AND duration IS NOT NULL - `).get(i).avg??0,r=this.db.prepare(` - SELECT - SUM(CASE WHEN is_bounce = 1 THEN 1 ELSE 0 END) as bounces, - COUNT(*) as total - FROM sessions WHERE created_at >= ? - `).get(i),d=r.total>0?r.bounces/r.total*100:0;return{totalPageviews:a,uniqueSessions:s,avgSessionDuration:n,bounceRate:d,topPages:this.db.prepare(` - SELECT page_path as path, COUNT(*) as views - FROM pageviews WHERE timestamp >= ? - GROUP BY page_path - ORDER BY views DESC - LIMIT 10 - `).all(i),topReferrers:this.db.prepare(` - SELECT referrer, COUNT(*) as count - FROM pageviews WHERE timestamp >= ? AND referrer IS NOT NULL AND referrer != '' - GROUP BY referrer - ORDER BY count DESC - LIMIT 10 - `).all(i)}}getTopPages(e=30,t=10){let i=new Date;return i.setDate(i.getDate()-e),this.db.prepare(` - SELECT page_path as path, COUNT(*) as views - FROM pageviews WHERE timestamp >= ? - GROUP BY page_path - ORDER BY views DESC - LIMIT ? - `).all(i.toISOString(),t)}getTopReferrers(e=30,t=10){let i=new Date;return i.setDate(i.getDate()-e),this.db.prepare(` - SELECT referrer, COUNT(*) as count - FROM pageviews WHERE timestamp >= ? AND referrer IS NOT NULL AND referrer != '' - GROUP BY referrer - ORDER BY count DESC - LIMIT ? - `).all(i.toISOString(),t)}getPageviewsOverTime(e=30){let t=new Date;return t.setDate(t.getDate()-e),this.db.prepare(` - SELECT DATE(timestamp) as date, COUNT(*) as views - FROM pageviews WHERE timestamp >= ? - GROUP BY DATE(timestamp) - ORDER BY date - `).all(t.toISOString())}getHeatmapData(e,t="click"){return this.db.prepare(` - SELECT coordinates, COUNT(*) as count - FROM interactions - WHERE page_path = ? AND interaction_type = ? AND coordinates IS NOT NULL - GROUP BY coordinates - `).all(e,t).map(e=>{let t=D(e.coordinates,{x:0,y:0});return{x:t.x,y:t.y,count:e.count}})}getClickData(e,t,i,a=1e4){let s=` - SELECT coordinates, element_selector, timestamp - FROM interactions - WHERE page_path = ? AND interaction_type = 'click' AND coordinates IS NOT NULL - `,n=[e];return t&&(s+=" AND timestamp >= ?",n.push(t)),i&&(s+=" AND timestamp <= ?",n.push(i)),s+=" ORDER BY timestamp DESC LIMIT ?",n.push(a),this.db.prepare(s).all(...n)}getScrollData(e,t,i,a=1e4){let s=` - SELECT scroll_depth, time_on_page, timestamp - FROM interactions - WHERE page_path = ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL - `,n=[e];return t&&(s+=" AND timestamp >= ?",n.push(t)),i&&(s+=" AND timestamp <= ?",n.push(i)),s+=" ORDER BY timestamp DESC LIMIT ?",n.push(a),this.db.prepare(s).all(...n).map(e=>({scrollDepth:e.scroll_depth,timeOnPage:e.time_on_page,timestamp:e.timestamp}))}getSessionsWithJourneys(e,t,i=100){let a=` - SELECT id, session_id, entry_page, exit_page, page_count, duration, is_bounce, created_at, ended_at - FROM sessions - WHERE 1=1 - `,s=[];e&&(a+=" AND created_at >= ?",s.push(e)),t&&(a+=" AND created_at <= ?",s.push(t)),a+=" ORDER BY created_at DESC LIMIT ?",s.push(i);let n=this.db.prepare(a).all(...s);if(0===n.length)return[];let r=n.map(e=>e.session_id),d=r.map(()=>"?").join(","),o=this.db.prepare(` - SELECT session_id, page_path, timestamp - FROM pageviews - WHERE session_id IN (${d}) - ORDER BY session_id, timestamp ASC - `).all(...r),p=new Map;for(let e of o){let t=e.session_id;p.has(t)||p.set(t,[]),p.get(t).push({path:e.page_path,timestamp:e.timestamp})}return n.map(e=>({sessionId:e.session_id,entryPage:e.entry_page,exitPage:e.exit_page,pageCount:e.page_count,duration:e.duration,isBounce:!!e.is_bounce,createdAt:e.created_at,endedAt:e.ended_at,pages:p.get(e.session_id)||[]}))}getEngagementMetrics(e=30){let t=new Date;t.setDate(t.getDate()-e);let i=t.toISOString(),a=this.db.prepare(` - SELECT AVG(time_on_page) as avg - FROM interactions - WHERE timestamp >= ? AND interaction_type = 'exit' AND time_on_page IS NOT NULL - `).get(i).avg??0,s=this.db.prepare(` - SELECT AVG(scroll_depth) as avg - FROM interactions - WHERE timestamp >= ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL - `).get(i).avg??0,n=this.db.prepare(` - SELECT scroll_depth, COUNT(*) as count - FROM interactions - WHERE timestamp >= ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL - GROUP BY scroll_depth - `).all(i),r={};for(let e of n)r[e.scroll_depth]=e.count;return{avgTimeOnPage:a,avgScrollDepth:s,scrollDepthDistribution:r,exitPageCounts:this.db.prepare(` - SELECT exit_page as page, COUNT(*) as count - FROM sessions - WHERE created_at >= ? AND exit_page IS NOT NULL - GROUP BY exit_page - ORDER BY count DESC - LIMIT 10 - `).all(i)}}getOverviewStats(e=30){let t=new Date;t.setDate(t.getDate()-e);let i=t.toISOString(),a=this.getStats(e),s=this.db.prepare(` - SELECT AVG(page_count) as avg FROM sessions WHERE created_at >= ? - `).get(i).avg??0,n=this.db.prepare(` - SELECT device_type as device, COUNT(*) as count - FROM pageviews - WHERE timestamp >= ? AND device_type IS NOT NULL - GROUP BY device_type - ORDER BY count DESC - `).all(i);return{totalPageviews:a.totalPageviews,uniqueSessions:a.uniqueSessions,bounceRate:a.bounceRate,avgSessionDuration:a.avgSessionDuration,avgPagesPerSession:s,deviceBreakdown:n}}getSessionJourneys(e=50){return this.db.prepare(` - SELECT session_id, entry_page, exit_page, page_count, duration, is_bounce - FROM sessions - ORDER BY created_at DESC - LIMIT ? - `).all(e).map(e=>({sessionId:e.session_id,entryPage:e.entry_page,exitPage:e.exit_page,pageCount:e.page_count,duration:e.duration??0,isBounce:!!e.is_bounce}))}clearAnalytics(e,t){for(let i of e?[e]:["pageviews","interactions","sessions"])t?this.db.prepare(`DELETE FROM ${i} WHERE timestamp < ? OR created_at < ?`).run(t.toISOString(),t.toISOString()):this.db.prepare(`DELETE FROM ${i}`).run()}getAnalyticsStorageInfo(){let e=this.db.prepare("SELECT COUNT(*) as count FROM pageviews").get().count,t=this.db.prepare("SELECT COUNT(*) as count FROM interactions").get().count,i=this.db.prepare("SELECT COUNT(*) as count FROM sessions").get().count,a=Math.round((200*e+150*t+100*i)/1024);return{pageviewCount:e,interactionCount:t,sessionCount:i,estimatedSizeKB:a}}exportAnalyticsData(e="all"){let t={};return("all"===e||"pageviews"===e)&&(t.pageviews=this.db.prepare(` - SELECT id, page_path, referrer, country, user_agent, session_id, - load_time, device_type, timestamp - FROM pageviews - ORDER BY timestamp DESC - `).all()),("all"===e||"interactions"===e)&&(t.interactions=this.db.prepare(` - SELECT id, session_id, page_path, interaction_type, element_selector, - coordinates, scroll_depth, time_on_page, timestamp - FROM interactions - ORDER BY timestamp DESC - `).all()),("all"===e||"sessions"===e)&&(t.sessions=this.db.prepare(` - SELECT id, session_id, entry_page, exit_page, page_count, - duration, is_bounce, created_at, ended_at - FROM sessions - ORDER BY created_at DESC - `).all()),t}createFunction(e){let t=(0,h.A)(),i=new Date().toISOString();return this.db.prepare(` - INSERT INTO edge_functions ( - id, name, description, code, method, enabled, timeout_ms, created_at, updated_at - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) - `).run(t,e.name,e.description??null,e.code,e.method,+!!e.enabled,e.timeoutMs,i,i),t}getFunction(e){let t=this.db.prepare("SELECT * FROM edge_functions WHERE id = ?").get(e);return t?this.rowToFunction(t):null}getFunctionByName(e){let t=this.db.prepare("SELECT * FROM edge_functions WHERE name = ?").get(e);return t?this.rowToFunction(t):null}updateFunction(e,t){let i=[],a=[];if(void 0!==t.name&&(i.push("name = ?"),a.push(t.name)),void 0!==t.description&&(i.push("description = ?"),a.push(t.description)),void 0!==t.code&&(i.push("code = ?"),a.push(t.code)),void 0!==t.method&&(i.push("method = ?"),a.push(t.method)),void 0!==t.enabled&&(i.push("enabled = ?"),a.push(+!!t.enabled)),void 0!==t.timeoutMs&&(i.push("timeout_ms = ?"),a.push(t.timeoutMs)),0===i.length)return;i.push("updated_at = ?"),a.push(new Date().toISOString()),a.push(e);let s=`UPDATE edge_functions SET ${i.join(", ")} WHERE id = ?`;this.db.prepare(s).run(...a)}deleteFunction(e){this.db.prepare("DELETE FROM edge_functions WHERE id = ?").run(e)}listFunctions(){return this.db.prepare("SELECT * FROM edge_functions ORDER BY name").all().map(e=>this.rowToFunction(e))}rowToFunction(e){return{id:e.id,name:e.name,description:e.description,code:e.code,method:e.method,enabled:!!e.enabled,timeoutMs:e.timeout_ms,createdAt:I(e.created_at),updatedAt:I(e.updated_at)}}logFunctionExecution(e,t){this.db.prepare(` - INSERT INTO function_logs (function_id, method, path, status_code, duration_ms, error) - VALUES (?, ?, ?, ?, ?, ?) - `).run(e,t.method,t.path,t.statusCode,t.durationMs,t.error??null)}getFunctionLogs(e,t=100){return this.db.prepare(` - SELECT * FROM function_logs WHERE function_id = ? - ORDER BY timestamp DESC LIMIT ? - `).all(e,t).map(e=>this.rowToFunctionLog(e))}getRecentLogs(e=100){return this.db.prepare(` - SELECT * FROM function_logs ORDER BY timestamp DESC LIMIT ? - `).all(e).map(e=>this.rowToFunctionLog(e))}clearFunctionLogs(e,t){e&&t?this.db.prepare("DELETE FROM function_logs WHERE function_id = ? AND timestamp < ?").run(e,t.toISOString()):e?this.db.prepare("DELETE FROM function_logs WHERE function_id = ?").run(e):t?this.db.prepare("DELETE FROM function_logs WHERE timestamp < ?").run(t.toISOString()):this.db.prepare("DELETE FROM function_logs").run()}rowToFunctionLog(e){return{id:e.id,functionId:e.function_id,method:e.method,path:e.path,statusCode:e.status_code,durationMs:e.duration_ms,error:e.error,timestamp:I(e.timestamp)}}createServerFunction(e){let t=(0,h.A)(),i=new Date().toISOString();return this.db.prepare(` - INSERT INTO server_functions ( - id, name, description, code, enabled, created_at, updated_at - ) VALUES (?, ?, ?, ?, ?, ?, ?) - `).run(t,e.name,e.description??null,e.code,+!!e.enabled,i,i),t}getServerFunction(e){let t=this.db.prepare("SELECT * FROM server_functions WHERE id = ?").get(e);return t?this.rowToServerFunction(t):null}getServerFunctionByName(e){let t=this.db.prepare("SELECT * FROM server_functions WHERE name = ?").get(e);return t?this.rowToServerFunction(t):null}updateServerFunction(e,t){let i=[],a=[];if(void 0!==t.name&&(i.push("name = ?"),a.push(t.name)),void 0!==t.description&&(i.push("description = ?"),a.push(t.description)),void 0!==t.code&&(i.push("code = ?"),a.push(t.code)),void 0!==t.enabled&&(i.push("enabled = ?"),a.push(+!!t.enabled)),0===i.length)return;i.push("updated_at = ?"),a.push(new Date().toISOString()),a.push(e);let s=`UPDATE server_functions SET ${i.join(", ")} WHERE id = ?`;this.db.prepare(s).run(...a)}deleteServerFunction(e){this.db.prepare("DELETE FROM server_functions WHERE id = ?").run(e)}listServerFunctions(){return this.db.prepare("SELECT * FROM server_functions ORDER BY name").all().map(e=>this.rowToServerFunction(e))}rowToServerFunction(e){return{id:e.id,name:e.name,description:e.description,code:e.code,enabled:!!e.enabled,createdAt:I(e.created_at),updatedAt:I(e.updated_at)}}createSecret(e,t,i){if(!L())throw Error("Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable.");let a=(0,h.A)(),s=new Date().toISOString(),n=O(t);return this.db.prepare(` - INSERT INTO secrets (id, name, encrypted_value, iv, auth_tag, description, created_at, updated_at) - VALUES (?, ?, ?, ?, ?, ?, ?, ?) - `).run(a,e,n.encryptedValue,n.iv,n.authTag,i||null,s,s),a}getSecret(e){let t=this.db.prepare("SELECT * FROM secrets WHERE id = ?").get(e);return t?this.rowToSecret(t):null}getSecretByName(e){let t=this.db.prepare("SELECT * FROM secrets WHERE name = ?").get(e);return t?this.rowToSecret(t):null}updateSecretValue(e,t){if(!L())throw Error("Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable.");let i=new Date().toISOString(),a=O(t);this.db.prepare(` - UPDATE secrets - SET encrypted_value = ?, iv = ?, auth_tag = ?, updated_at = ? - WHERE id = ? - `).run(a.encryptedValue,a.iv,a.authTag,i,e)}updateSecretMetadata(e,t){let i=new Date().toISOString();void 0!==t.name&&this.db.prepare("UPDATE secrets SET name = ?, updated_at = ? WHERE id = ?").run(t.name,i,e),void 0!==t.description&&this.db.prepare("UPDATE secrets SET description = ?, updated_at = ? WHERE id = ?").run(t.description,i,e)}deleteSecret(e){this.db.prepare("DELETE FROM secrets WHERE id = ?").run(e)}listSecrets(){return this.db.prepare("SELECT * FROM secrets ORDER BY name").all().map(e=>this.rowToSecret(e))}listSecretsWithValues(){return this.db.prepare("SELECT name, encrypted_value, iv, auth_tag FROM secrets").all().map(e=>({name:e.name,encryptedValue:e.encrypted_value,iv:e.iv,authTag:e.auth_tag}))}rowToSecret(e){return{id:e.id,name:e.name,description:e.description,hasValue:null!==e.encrypted_value&&""!==e.encrypted_value,createdAt:I(e.created_at),updatedAt:I(e.updated_at)}}createSecretPlaceholder(e,t){let i=(0,h.A)(),a=new Date().toISOString();return this.db.prepare(` - INSERT INTO secrets (id, name, encrypted_value, iv, auth_tag, description, created_at, updated_at) - VALUES (?, ?, '', '', '', ?, ?, ?) - `).run(i,e,t||null,a,a),i}static{this.SYSTEM_TABLES=["site_info","files","file_tree_nodes","pageviews","interactions","sessions","edge_functions","function_logs","server_functions","secrets"]}executeRawSQL(e,t){if(e.trim().toLowerCase().startsWith("select")){let i=this.db.prepare(e),a=t?i.all(...t):i.all();if(0===a.length)return{columns:[],rows:[],rowsAffected:0};let s=Object.keys(a[0]),n=a.map(e=>s.map(t=>e[t]));return{columns:s,rows:n,rowsAffected:0}}{let i=this.db.prepare(e);return{columns:[],rows:[],rowsAffected:(t?i.run(...t):i.run()).changes}}}getTableSchema(){return this.db.prepare(` - SELECT name FROM sqlite_master - WHERE type = 'table' AND name NOT LIKE 'sqlite_%' - ORDER BY name - `).all().map(e=>{let t=b.SYSTEM_TABLES.includes(e.name),i=this.db.prepare(`PRAGMA table_info('${e.name}')`).all(),a=this.db.prepare(`SELECT COUNT(*) as count FROM "${e.name}"`).get();return{name:e.name,columns:i.map(e=>({name:e.name,type:e.type,nullable:!e.notnull,primaryKey:e.pk>0,defaultValue:e.dflt_value??void 0})),rowCount:a.count,isSystemTable:t}})}getTableData(e,t=100,i=0){if(!this.db.prepare(` - SELECT name FROM sqlite_master WHERE type = 'table' AND name = ? - `).get(e))throw Error(`Table "${e}" does not exist`);let a=this.db.prepare(`SELECT COUNT(*) as count FROM "${e}"`).get(),s=this.db.prepare(`SELECT * FROM "${e}" LIMIT ? OFFSET ?`).all(t,i);if(0===s.length)return{columns:[],rows:[],total:a.count};let n=Object.keys(s[0]),r=s.map(e=>n.map(t=>e[t]));return{columns:n,rows:r,total:a.count}}isSystemTable(e){return b.SYSTEM_TABLES.includes(e)}executeUserQuery(e,t){let i=e.trim().toUpperCase(),a=this.validateNotSystemTable(i);if(a)return{columns:[],rows:[],rowsAffected:0,error:a};try{return this.executeRawSQL(e,t)}catch(e){return{columns:[],rows:[],rowsAffected:0,error:e instanceof Error?e.message:String(e)}}}validateNotSystemTable(e){let t=e.match(/^(DROP|ALTER|TRUNCATE)\s+TABLE\s+(?:IF\s+EXISTS\s+)?["'`]?(\w+)["'`]?/i);if(t){let e=t[2].toLowerCase();if(b.SYSTEM_TABLES.includes(e))return`Cannot modify system table: ${e}`}let i=e.match(/^INSERT\s+INTO\s+["'`]?(\w+)["'`]?/i);if(i){let e=i[1].toLowerCase();if(b.SYSTEM_TABLES.includes(e))return`Cannot insert into system table: ${e}`}let a=e.match(/^UPDATE\s+["'`]?(\w+)["'`]?/i);if(a){let e=a[1].toLowerCase();if(b.SYSTEM_TABLES.includes(e))return`Cannot update system table: ${e}`}let s=e.match(/^DELETE\s+FROM\s+["'`]?(\w+)["'`]?/i);if(s){let e=s[1].toLowerCase();if(b.SYSTEM_TABLES.includes(e))return`Cannot delete from system table: ${e}`}return null}getSchemaForExport(){let e=this.getTableSchema().filter(e=>!e.isSystemTable);if(0===e.length)return"-- No user tables defined\n-- Create tables using the SQL Editor or edge functions\n";let t="-- Database Schema\n";for(let i of(t+=`-- ${e.length} user table(s) - -`,e))t+=`-- Table: ${i.name} (${i.rowCount} rows) -`,t+=`CREATE TABLE ${i.name} ( -`,t+=i.columns.map(e=>{let t=` ${e.name} ${e.type}`;return e.primaryKey&&(t+=" PRIMARY KEY"),e.nullable||(t+=" NOT NULL"),void 0!==e.defaultValue&&(t+=` DEFAULT ${e.defaultValue}`),t}).join(",\n"),t+="\n);\n\n";return t}}let f={enabled:!1,provider:"builtin",privacyMode:!0},y={enabled:!1,bannerPosition:"bottom",bannerStyle:"bar",message:"This site uses cookies to improve your experience.",acceptButtonText:"Accept",declineButtonText:"Decline",mode:"opt-in",blockAnalytics:!0},U={},v=[{id:"initial_schema_v1",up:e=>{e.exec(` - CREATE TABLE IF NOT EXISTS _migrations ( - id TEXT PRIMARY KEY, - applied_at TEXT NOT NULL DEFAULT (datetime('now')) - ) - `),e.exec(` - CREATE TABLE IF NOT EXISTS projects ( - id TEXT PRIMARY KEY, - name TEXT NOT NULL, - description TEXT, - created_at TEXT NOT NULL, - updated_at TEXT NOT NULL, - last_saved_at TEXT, - last_saved_checkpoint_id TEXT, - settings TEXT DEFAULT '{}', - cost_tracking TEXT DEFAULT '{}', - preview_image TEXT, - last_synced_at TEXT, - server_updated_at TEXT - ) - `),e.exec(` - CREATE TABLE IF NOT EXISTS custom_templates ( - id TEXT PRIMARY KEY, - name TEXT NOT NULL, - description TEXT, - version TEXT, - files TEXT DEFAULT '[]', - directories TEXT DEFAULT '[]', - assets TEXT DEFAULT '[]', - metadata TEXT DEFAULT '{}', - imported_at TEXT NOT NULL - ) - `),e.exec(` - CREATE TABLE IF NOT EXISTS skills ( - id TEXT PRIMARY KEY, - name TEXT NOT NULL, - description TEXT NOT NULL, - content TEXT NOT NULL, - markdown TEXT NOT NULL, - is_built_in INTEGER DEFAULT 0, - created_at TEXT NOT NULL, - updated_at TEXT NOT NULL - ) - `),e.exec(` - CREATE INDEX IF NOT EXISTS idx_skills_is_built_in ON skills(is_built_in) - `)}},{id:"add_files_and_tree_v2",up:e=>{e.exec(` - CREATE TABLE IF NOT EXISTS files ( - id TEXT PRIMARY KEY, - project_id TEXT NOT NULL, - path TEXT NOT NULL, - name TEXT NOT NULL, - type TEXT NOT NULL CHECK(type IN ('html', 'css', 'js', 'json', 'text', 'template', 'image', 'video', 'binary')), - content TEXT, - mime_type TEXT, - size INTEGER DEFAULT 0, - created_at TEXT NOT NULL DEFAULT (datetime('now')), - updated_at TEXT NOT NULL DEFAULT (datetime('now')), - metadata TEXT DEFAULT '{}', - UNIQUE(project_id, path), - FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE - ) - `),e.exec(` - CREATE INDEX IF NOT EXISTS idx_files_project_id ON files(project_id) - `),e.exec(` - CREATE TABLE IF NOT EXISTS file_tree_nodes ( - id TEXT PRIMARY KEY, - project_id TEXT NOT NULL, - path TEXT NOT NULL, - name TEXT NOT NULL, - type TEXT NOT NULL CHECK(type IN ('file', 'directory')), - parent_path TEXT, - is_expanded INTEGER DEFAULT 0, - metadata TEXT DEFAULT '{}', - UNIQUE(project_id, path), - FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE - ) - `),e.exec(` - CREATE INDEX IF NOT EXISTS idx_tree_nodes_project_id ON file_tree_nodes(project_id) - `),e.exec(` - CREATE INDEX IF NOT EXISTS idx_tree_nodes_parent ON file_tree_nodes(project_id, parent_path) - `),e.exec(` - CREATE TABLE IF NOT EXISTS sites ( - id TEXT PRIMARY KEY, - project_id TEXT NOT NULL, - name TEXT NOT NULL, - slug TEXT, - enabled INTEGER DEFAULT 1, - under_construction INTEGER DEFAULT 0, - custom_domain TEXT, - head_scripts TEXT DEFAULT '[]', - body_scripts TEXT DEFAULT '[]', - cdn_links TEXT DEFAULT '[]', - analytics TEXT DEFAULT '{}', - seo TEXT DEFAULT '{}', - compliance TEXT DEFAULT '{}', - settings_version INTEGER DEFAULT 1, - last_published_version INTEGER, - preview_image TEXT, - preview_updated_at TEXT, - database_enabled INTEGER DEFAULT 0, - created_at TEXT NOT NULL DEFAULT (datetime('now')), - updated_at TEXT NOT NULL DEFAULT (datetime('now')), - published_at TEXT, - FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE - ) - `),e.exec(` - CREATE INDEX IF NOT EXISTS idx_sites_project_id ON sites(project_id) - `)}},{id:"add_request_log_v3",up:e=>{e.exec(` - CREATE TABLE IF NOT EXISTS request_log ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - site_id TEXT NOT NULL, - path TEXT NOT NULL, - status_code INTEGER NOT NULL, - ip_hash TEXT, - user_agent TEXT, - timestamp TEXT NOT NULL DEFAULT (datetime('now')) - ) - `),e.exec(` - CREATE INDEX IF NOT EXISTS idx_request_log_timestamp ON request_log(timestamp) - `),e.exec(` - CREATE INDEX IF NOT EXISTS idx_request_log_site_id ON request_log(site_id) - `)}}];function F(e,t){if(!e)return t;try{return JSON.parse(e)}catch{return t}}function C(e){return e?new Date(e):new Date}function X(e){return e?"string"==typeof e?e:e.toISOString():null}function w(e){return"string"==typeof e?e:e.toISOString()}class M{async init(){this.initialized||(this.db=function(){if(p)return p;let e=process.env.DATA_DIR||r().join(process.cwd(),"data");c(e);let t=r().join(e,"osws.sqlite");return l(p=new(s())(t)),p}(),await this.runMigrations(),this.initialized=!0)}async close(){for(let[,e]of this.siteDatabases)e.close();for(let[e]of(this.siteDatabases.clear(),E))m(e);if(p){try{p.close()}catch{}p=null}this.db=null,this.initialized=!1}getDB(){if(!this.db)throw Error("SQLiteAdapter not initialized. Call init() first.");return this.db}getOrCreateSiteDB(e){let t=this.siteDatabases.get(e);return t||((t=new b(e)).init(),this.siteDatabases.set(e,t)),t}async enableSiteDatabase(e){this.getDB().prepare("UPDATE sites SET database_enabled = 1 WHERE id = ?").run(e),this.getOrCreateSiteDB(e)}async disableSiteDatabase(e){this.getDB().prepare("UPDATE sites SET database_enabled = 0 WHERE id = ?").run(e);let t=this.siteDatabases.get(e);t&&(t.close(),this.siteDatabases.delete(e)),u(e)&&_(e)}async runMigrations(){let e=this.getDB();e.exec(` - CREATE TABLE IF NOT EXISTS _migrations ( - id TEXT PRIMARY KEY, - applied_at TEXT NOT NULL DEFAULT (datetime('now')) - ) - `);let t=new Set(e.prepare("SELECT id FROM _migrations").all().map(e=>e.id)),i=e.transaction(i=>{t.has(i.id)||(i.up(e),e.prepare("INSERT INTO _migrations (id) VALUES (?)").run(i.id))});for(let e of v)i(e)}async createProject(e){this.getDB().prepare(` - INSERT INTO projects ( - id, name, description, created_at, updated_at, - last_saved_at, last_saved_checkpoint_id, settings, - cost_tracking, preview_image, last_synced_at, server_updated_at - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `).run(e.id,e.name,e.description??null,w(e.createdAt),w(e.updatedAt),X(e.lastSavedAt),e.lastSavedCheckpointId??null,JSON.stringify(e.settings??{}),JSON.stringify(e.costTracking??{}),e.previewImage??null,X(e.lastSyncedAt),X(e.serverUpdatedAt))}async getProject(e){let t=this.getDB().prepare("SELECT * FROM projects WHERE id = ?").get(e);return t?this.rowToProject(t):null}async updateProject(e){this.getDB().prepare(` - UPDATE projects SET - name = ?, - description = ?, - updated_at = ?, - last_saved_at = ?, - last_saved_checkpoint_id = ?, - settings = ?, - cost_tracking = ?, - preview_image = ?, - last_synced_at = ?, - server_updated_at = ? - WHERE id = ? - `).run(e.name,e.description??null,w(e.updatedAt),X(e.lastSavedAt),e.lastSavedCheckpointId??null,JSON.stringify(e.settings??{}),JSON.stringify(e.costTracking??{}),e.previewImage??null,X(e.lastSyncedAt),X(e.serverUpdatedAt),e.id)}async deleteProject(e){this.getDB().prepare("DELETE FROM projects WHERE id = ?").run(e),u(e)&&(this.siteDatabases.delete(e),_(e))}async listProjects(e){return this.getDB().prepare("SELECT * FROM projects ORDER BY updated_at DESC").all().map(e=>this.rowToProject(e))}rowToProject(e){return{id:e.id,name:e.name,description:e.description,createdAt:C(e.created_at),updatedAt:C(e.updated_at),lastSavedAt:e.last_saved_at?C(e.last_saved_at):void 0,lastSavedCheckpointId:e.last_saved_checkpoint_id,settings:F(e.settings,{}),costTracking:F(e.cost_tracking,void 0),previewImage:e.preview_image,lastSyncedAt:e.last_synced_at?C(e.last_synced_at):void 0,serverUpdatedAt:e.server_updated_at?C(e.server_updated_at):void 0}}async createFile(e){let t,i=this.getDB();t=e.content instanceof ArrayBuffer?Buffer.from(e.content).toString("base64"):"string"==typeof e.content?e.content:"",i.prepare(` - INSERT INTO files ( - id, project_id, path, name, type, content, - mime_type, size, created_at, updated_at, metadata - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `).run(e.id,e.projectId,e.path,e.name,e.type,t,e.mimeType??null,e.size??0,w(e.createdAt),w(e.updatedAt),JSON.stringify(e.metadata??{}))}async getFile(e,t){let i=this.getDB().prepare("SELECT * FROM files WHERE project_id = ? AND path = ?").get(e,t);return i?this.rowToFile(i,e):null}async updateFile(e){let t,i=this.getDB();t=e.content instanceof ArrayBuffer?Buffer.from(e.content).toString("base64"):"string"==typeof e.content?e.content:"",i.prepare(` - UPDATE files SET - name = ?, type = ?, content = ?, mime_type = ?, - size = ?, updated_at = ?, metadata = ? - WHERE project_id = ? AND path = ? - `).run(e.name,e.type,t,e.mimeType??null,e.size??0,w(e.updatedAt),JSON.stringify(e.metadata??{}),e.projectId,e.path)}async deleteFile(e,t){this.getDB().prepare("DELETE FROM files WHERE project_id = ? AND path = ?").run(e,t)}async listFiles(e){return this.getDB().prepare("SELECT * FROM files WHERE project_id = ? ORDER BY path").all(e).map(t=>this.rowToFile(t,e))}async deleteProjectFiles(e){this.getDB().prepare("DELETE FROM files WHERE project_id = ?").run(e)}rowToFile(e,t){return{id:e.id,projectId:t,path:e.path,name:e.name,type:e.type,content:e.content,mimeType:e.mime_type,size:e.size,createdAt:C(e.created_at),updatedAt:C(e.updated_at),metadata:F(e.metadata,{})}}async createTreeNode(e){this.getDB().prepare(` - INSERT INTO file_tree_nodes ( - id, project_id, path, name, type, parent_path, is_expanded, metadata - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?) - `).run(e.id,e.projectId,e.path,e.name,e.type,e.parentPath??null,+!!e.isExpanded,JSON.stringify(e.metadata??{}))}async getTreeNode(e,t){let i=this.getDB().prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND path = ?").get(e,t);return i?this.rowToTreeNode(i,e):null}async updateTreeNode(e){this.getDB().prepare(` - UPDATE file_tree_nodes SET - name = ?, type = ?, parent_path = ?, is_expanded = ?, metadata = ? - WHERE project_id = ? AND path = ? - `).run(e.name,e.type,e.parentPath??null,+!!e.isExpanded,JSON.stringify(e.metadata??{}),e.projectId,e.path)}async deleteTreeNode(e,t){this.getDB().prepare("DELETE FROM file_tree_nodes WHERE project_id = ? AND path = ?").run(e,t)}async getChildNodes(e,t){let i,a=this.getDB();return(null===t?a.prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND parent_path IS NULL ORDER BY type DESC, name").all(e):a.prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND parent_path = ? ORDER BY type DESC, name").all(e,t)).map(t=>this.rowToTreeNode(t,e))}async getAllTreeNodes(e){return this.getDB().prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? ORDER BY path").all(e).map(t=>this.rowToTreeNode(t,e))}rowToTreeNode(e,t){return{id:e.id,projectId:t,path:e.path,name:e.name,type:e.type,parentPath:e.parent_path,isExpanded:!!e.is_expanded,metadata:F(e.metadata,{})}}async saveCustomTemplate(e){let t=this.getDB();t.prepare("SELECT id FROM custom_templates WHERE id = ?").get(e.id)?t.prepare(` - UPDATE custom_templates SET - name = ?, description = ?, version = ?, - files = ?, directories = ?, assets = ?, - metadata = ? - WHERE id = ? - `).run(e.name,e.description,e.version,JSON.stringify(e.files??[]),JSON.stringify(e.directories??[]),JSON.stringify(e.assets??[]),JSON.stringify(e.metadata??{}),e.id):t.prepare(` - INSERT INTO custom_templates ( - id, name, description, version, - files, directories, assets, metadata, imported_at - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) - `).run(e.id,e.name,e.description,e.version,JSON.stringify(e.files??[]),JSON.stringify(e.directories??[]),JSON.stringify(e.assets??[]),JSON.stringify(e.metadata??{}),w(e.importedAt))}async getCustomTemplate(e){let t=this.getDB().prepare("SELECT * FROM custom_templates WHERE id = ?").get(e);return t?this.rowToTemplate(t):null}async getAllCustomTemplates(){return this.getDB().prepare("SELECT * FROM custom_templates ORDER BY imported_at DESC").all().map(e=>this.rowToTemplate(e))}async deleteCustomTemplate(e){this.getDB().prepare("DELETE FROM custom_templates WHERE id = ?").run(e)}rowToTemplate(e){return{id:e.id,name:e.name,description:e.description,version:e.version,files:F(e.files,[]),directories:F(e.directories,[]),assets:F(e.assets,[]),metadata:F(e.metadata,{license:"personal"}),importedAt:C(e.imported_at)}}async createSkill(e){this.getDB().prepare(` - INSERT INTO skills ( - id, name, description, content, markdown, - is_built_in, created_at, updated_at - ) VALUES (?, ?, ?, ?, ?, 0, ?, ?) - `).run(e.id,e.name,e.description,e.content,e.markdown,w(e.createdAt),w(e.updatedAt))}async getSkill(e){let t=this.getDB().prepare("SELECT * FROM skills WHERE id = ?").get(e);return t?this.rowToSkill(t):null}async updateSkill(e){this.getDB().prepare(` - UPDATE skills SET - name = ?, description = ?, content = ?, - markdown = ?, updated_at = ? - WHERE id = ? AND is_built_in = 0 - `).run(e.name,e.description,e.content,e.markdown,w(e.updatedAt),e.id)}async deleteSkill(e){this.getDB().prepare("DELETE FROM skills WHERE id = ? AND is_built_in = 0").run(e)}async getAllSkills(){return this.getDB().prepare("SELECT * FROM skills ORDER BY name").all().map(e=>this.rowToSkill(e))}rowToSkill(e){return{id:e.id,name:e.name,description:e.description,content:e.content,markdown:e.markdown,isBuiltIn:!!e.is_built_in,createdAt:C(e.created_at),updatedAt:C(e.updated_at)}}async createSite(e){this.getDB().prepare(` - INSERT INTO sites ( - id, project_id, name, slug, enabled, under_construction, - custom_domain, head_scripts, body_scripts, cdn_links, - analytics, seo, compliance, settings_version, - last_published_version, preview_image, preview_updated_at, - database_enabled, created_at, updated_at, published_at - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `).run(e.id,e.projectId,e.name,e.slug??null,+!!e.enabled,+!!e.underConstruction,e.customDomain??null,JSON.stringify(e.headScripts??[]),JSON.stringify(e.bodyScripts??[]),JSON.stringify(e.cdnLinks??[]),JSON.stringify(e.analytics??f),JSON.stringify(e.seo??U),JSON.stringify(e.compliance??y),e.settingsVersion??1,e.lastPublishedVersion??null,e.previewImage??null,X(e.previewUpdatedAt),+!!e.databaseEnabled,w(e.createdAt),w(e.updatedAt),X(e.publishedAt))}async getSite(e){let t=this.getDB().prepare("SELECT * FROM sites WHERE id = ?").get(e);return t?this.rowToSite(t):null}async listSites(){return this.getDB().prepare("SELECT * FROM sites ORDER BY updated_at DESC").all().map(e=>this.rowToSite(e))}async listSitesByProject(e){return this.getDB().prepare("SELECT * FROM sites WHERE project_id = ? ORDER BY created_at").all(e).map(e=>this.rowToSite(e))}async updateSite(e){this.getDB().prepare(` - UPDATE sites SET - name = ?, slug = ?, enabled = ?, under_construction = ?, - custom_domain = ?, head_scripts = ?, body_scripts = ?, cdn_links = ?, - analytics = ?, seo = ?, compliance = ?, settings_version = ?, - last_published_version = ?, preview_image = ?, preview_updated_at = ?, - database_enabled = ?, updated_at = ?, published_at = ? - WHERE id = ? - `).run(e.name,e.slug??null,+!!e.enabled,+!!e.underConstruction,e.customDomain??null,JSON.stringify(e.headScripts??[]),JSON.stringify(e.bodyScripts??[]),JSON.stringify(e.cdnLinks??[]),JSON.stringify(e.analytics??f),JSON.stringify(e.seo??U),JSON.stringify(e.compliance??y),e.settingsVersion??1,e.lastPublishedVersion??null,e.previewImage??null,X(e.previewUpdatedAt),+!!e.databaseEnabled,w(e.updatedAt),X(e.publishedAt),e.id)}async deleteSite(e){this.getDB().prepare("DELETE FROM sites WHERE id = ?").run(e);let t=this.siteDatabases.get(e);t&&(t.close(),this.siteDatabases.delete(e)),u(e)&&_(e)}rowToSite(e){return{id:e.id,projectId:e.project_id,name:e.name,slug:e.slug,enabled:!!e.enabled,underConstruction:!!e.under_construction,customDomain:e.custom_domain,headScripts:F(e.head_scripts,[]),bodyScripts:F(e.body_scripts,[]),cdnLinks:F(e.cdn_links,[]),analytics:F(e.analytics,f),seo:F(e.seo,U),compliance:F(e.compliance,y),settingsVersion:e.settings_version??1,lastPublishedVersion:e.last_published_version,previewImage:e.preview_image,previewUpdatedAt:e.preview_updated_at?C(e.preview_updated_at):void 0,databaseEnabled:!!e.database_enabled,createdAt:C(e.created_at),updatedAt:C(e.updated_at),publishedAt:e.published_at?C(e.published_at):void 0}}getSiteDatabaseForAnalytics(e){let t=this.getSiteSync(e);return t&&t.databaseEnabled?this.getOrCreateSiteDB(e):null}getSiteSync(e){let t=this.getDB().prepare("SELECT * FROM sites WHERE id = ?").get(e);return t?this.rowToSite(t):null}constructor(){this.db=null,this.initialized=!1,this.siteDatabases=new Map}}}}; \ No newline at end of file diff --git a/.next/server/chunks/1671.js b/.next/server/chunks/2797.js similarity index 62% rename from .next/server/chunks/1671.js rename to .next/server/chunks/2797.js index a26543664088eff7636768ad7debb6231afc38ac..68a3a9eac1c2711da4349de6018d901ce1d29389 100644 --- a/.next/server/chunks/1671.js +++ b/.next/server/chunks/2797.js @@ -1,8 +1,8 @@ -"use strict";exports.id=1671,exports.ids=[1671],exports.modules={1671:(e,t,n)=>{n.d(t,{YE:()=>m,lN:()=>w});var r=n(29021),i=n(33873),s=n.n(i),o=n(30417),a=n(92436),l=n.n(a);class c{constructor(e,t,n,r){this.blobUrls=new Map,this.fileHashes=new Map,this.templateCache=new Map,this.partialsRegistered=!1,this.vfs=e,this.projectId=t,this.siteId=r,this.baseUrl="",n&&(this.blobUrls=new Map(n)),this.handlebars=l().create(),this.registerHelpers()}registerHelpers(){this.handlebars.registerHelper("eq",(e,t)=>e===t),this.handlebars.registerHelper("ne",(e,t)=>e!==t),this.handlebars.registerHelper("lt",(e,t)=>ee>t),this.handlebars.registerHelper("lte",(e,t)=>e<=t),this.handlebars.registerHelper("gte",(e,t)=>e>=t),this.handlebars.registerHelper("and",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.every(e=>e)}),this.handlebars.registerHelper("or",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.some(e=>e)}),this.handlebars.registerHelper("not",e=>!e),this.handlebars.registerHelper("add",(e,t)=>e+t),this.handlebars.registerHelper("subtract",(e,t)=>e-t),this.handlebars.registerHelper("multiply",(e,t)=>e*t),this.handlebars.registerHelper("divide",(e,t)=>e/t),this.handlebars.registerHelper("uppercase",e=>e?.toUpperCase()),this.handlebars.registerHelper("lowercase",e=>e?.toLowerCase()),this.handlebars.registerHelper("concat",function(){let e=Array.prototype.slice.call(arguments,0,-1);return e.join("")}),this.handlebars.registerHelper("json",e=>JSON.stringify(e,null,2)),this.handlebars.registerHelper("formatDate",e=>new Date(e).toLocaleDateString()),this.handlebars.registerHelper("limit",(e,t)=>e?.slice(0,t))}async registerPartials(){if(!this.partialsRegistered)try{for(let e of(await this.vfs.getAllFilesAndDirectories(this.projectId)).filter(e=>"content"in e&&e.path.startsWith("/templates/")&&(e.path.endsWith(".hbs")||e.path.endsWith(".handlebars")))){let t=e.content,n=e.path.replace(/^\/templates\//,"").replace(/\.hbs$/,"").replace(/\.handlebars$/,"");this.handlebars.registerPartial(n,t);let r=n.split("/").pop();if(r&&this.handlebars.registerPartial(r,t),n.includes("/")){let e=n.replace(/\//g,"-");this.handlebars.registerPartial(e,t)}}this.partialsRegistered=!0}catch(e){}}async compileTemplate(e,t={}){let n=this.templateCache.get(e);if(!n)try{let t=(await this.vfs.readFile(this.projectId,e)).content;n=this.handlebars.compile(t),this.templateCache.set(e,n)}catch(t){return console.error(`Failed to compile template ${e}:`,t),""}return n(t)}async compileProject(e=!1){await this.registerPartials();let t=await this.vfs.listDirectory(this.projectId,"/"),n=new Map(this.blobUrls),r=new Map,i=[];for(let s of t){let t;if("template"===s.type||"html"===s.type||"css"===s.type)continue;t="image"===s.type||"video"===s.type?{path:s.path,content:s.content,mimeType:s.mimeType}:"js"===s.type?await this.processJS(s):{path:s.path,content:s.content,mimeType:s.mimeType};let o=this.hashContent(t.content),a=this.fileHashes.get(t.path);if(e&&a===o&&n.has(t.path)){let e=n.get(t.path);r.set(t.path,e),t.blobUrl=e,n.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),n=URL.createObjectURL(e);r.set(t.path,n),t.blobUrl=n,this.fileHashes.set(t.path,o)}i.push(t)}for(let s of t){if("html"!==s.type)continue;let t=await this.processHTML(s,r),o=this.hashContent(t.content),a=this.fileHashes.get(t.path);if(e&&a===o&&n.has(t.path)){let e=n.get(t.path);r.set(t.path,e),t.blobUrl=e,n.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),n=URL.createObjectURL(e);r.set(t.path,n),t.blobUrl=n,this.fileHashes.set(t.path,o)}i.push(t)}let s=[...i];for(let i of t)if("css"===i.type){let t=await this.processCSS(i,r),o=this.hashContent(t.content),a=this.fileHashes.get(t.path);if(e&&a===o&&n.has(t.path)){let e=n.get(t.path);r.set(t.path,e),t.blobUrl=e,n.delete(t.path)}else{let e=new Blob([t.content],{type:t.mimeType}),n=URL.createObjectURL(e);r.set(t.path,n),t.blobUrl=n,this.fileHashes.set(t.path,o)}s.push(t)}let o=this.generateRoutes(t);if(e)for(let[,e]of n)URL.revokeObjectURL(e);else e||this.cleanupBlobUrls();return this.blobUrls=r,{entryPoint:"/index.html",files:s,routes:o,blobUrls:this.blobUrls}}hashContent(e){let t=0;if(e instanceof ArrayBuffer){let n=new Uint8Array(e);for(let e=0;e +"use strict";exports.id=2797,exports.ids=[2797],exports.modules={82797:(a,b,c)=>{c.d(b,{YE:()=>q,lN:()=>r});var d=c(29021),e=c(33873),f=c.n(e),g=c(97778),h=c(51295),i=c.n(h);class j{constructor(a,b,c,d){this.blobUrls=new Map,this.fileHashes=new Map,this.templateCache=new Map,this.partialsRegistered=!1,this.vfs=a,this.projectId=b,this.siteId=d,this.baseUrl="",c&&(this.blobUrls=new Map(c)),this.handlebars=i().create(),this.registerHelpers()}registerHelpers(){this.handlebars.registerHelper("eq",(a,b)=>a===b),this.handlebars.registerHelper("ne",(a,b)=>a!==b),this.handlebars.registerHelper("lt",(a,b)=>aa>b),this.handlebars.registerHelper("lte",(a,b)=>a<=b),this.handlebars.registerHelper("gte",(a,b)=>a>=b),this.handlebars.registerHelper("and",function(){let a=Array.prototype.slice.call(arguments,0,-1);return a.every(a=>a)}),this.handlebars.registerHelper("or",function(){let a=Array.prototype.slice.call(arguments,0,-1);return a.some(a=>a)}),this.handlebars.registerHelper("not",a=>!a),this.handlebars.registerHelper("add",(a,b)=>a+b),this.handlebars.registerHelper("subtract",(a,b)=>a-b),this.handlebars.registerHelper("multiply",(a,b)=>a*b),this.handlebars.registerHelper("divide",(a,b)=>a/b),this.handlebars.registerHelper("uppercase",a=>a?.toUpperCase()),this.handlebars.registerHelper("lowercase",a=>a?.toLowerCase()),this.handlebars.registerHelper("concat",function(){let a=Array.prototype.slice.call(arguments,0,-1);return a.join("")}),this.handlebars.registerHelper("json",a=>JSON.stringify(a,null,2)),this.handlebars.registerHelper("formatDate",a=>new Date(a).toLocaleDateString()),this.handlebars.registerHelper("limit",(a,b)=>a?.slice(0,b))}async registerPartials(){if(!this.partialsRegistered)try{for(let a of(await this.vfs.getAllFilesAndDirectories(this.projectId)).filter(a=>"content"in a&&a.path.startsWith("/templates/")&&(a.path.endsWith(".hbs")||a.path.endsWith(".handlebars")))){let b=a.content,c=a.path.replace(/^\/templates\//,"").replace(/\.hbs$/,"").replace(/\.handlebars$/,"");this.handlebars.registerPartial(c,b);let d=c.split("/").pop();if(d&&this.handlebars.registerPartial(d,b),c.includes("/")){let a=c.replace(/\//g,"-");this.handlebars.registerPartial(a,b)}}this.partialsRegistered=!0}catch(a){}}async compileTemplate(a,b={}){let c=this.templateCache.get(a);if(!c)try{let b=(await this.vfs.readFile(this.projectId,a)).content;c=this.handlebars.compile(b),this.templateCache.set(a,c)}catch(b){return console.error(`Failed to compile template ${a}:`,b),""}return c(b)}async compileProject(a=!1){await this.registerPartials();let b=await this.vfs.listDirectory(this.projectId,"/"),c=new Map(this.blobUrls),d=new Map,e=[];for(let f of b){let b;if("template"===f.type||"html"===f.type||"css"===f.type)continue;b="image"===f.type||"video"===f.type?{path:f.path,content:f.content,mimeType:f.mimeType}:"js"===f.type?await this.processJS(f):{path:f.path,content:f.content,mimeType:f.mimeType};let g=this.hashContent(b.content),h=this.fileHashes.get(b.path);if(a&&h===g&&c.has(b.path)){let a=c.get(b.path);d.set(b.path,a),b.blobUrl=a,c.delete(b.path)}else{let a=new Blob([b.content],{type:b.mimeType}),c=URL.createObjectURL(a);d.set(b.path,c),b.blobUrl=c,this.fileHashes.set(b.path,g)}e.push(b)}for(let f of b){if("html"!==f.type)continue;let b=await this.processHTML(f,d),g=this.hashContent(b.content),h=this.fileHashes.get(b.path);if(a&&h===g&&c.has(b.path)){let a=c.get(b.path);d.set(b.path,a),b.blobUrl=a,c.delete(b.path)}else{let a=new Blob([b.content],{type:b.mimeType}),c=URL.createObjectURL(a);d.set(b.path,c),b.blobUrl=c,this.fileHashes.set(b.path,g)}e.push(b)}let f=[...e];for(let e of b)if("css"===e.type){let b=await this.processCSS(e,d),g=this.hashContent(b.content),h=this.fileHashes.get(b.path);if(a&&h===g&&c.has(b.path)){let a=c.get(b.path);d.set(b.path,a),b.blobUrl=a,c.delete(b.path)}else{let a=new Blob([b.content],{type:b.mimeType}),c=URL.createObjectURL(a);d.set(b.path,c),b.blobUrl=c,this.fileHashes.set(b.path,g)}f.push(b)}let g=this.generateRoutes(b);if(a)for(let[,a]of c)URL.revokeObjectURL(a);else a||this.cleanupBlobUrls();return this.blobUrls=d,{entryPoint:"/index.html",files:f,routes:g,blobUrls:this.blobUrls}}hashContent(a){let b=0;if(a instanceof ArrayBuffer){let c=new Uint8Array(a);for(let a=0;a // VFS Asset Interceptor - Auto-injected by OSW Studio (function() { - const vfsBlobUrls = ${JSON.stringify(r)}; - const siteId = ${JSON.stringify(i)}; + const vfsBlobUrls = ${JSON.stringify(d)}; + const siteId = ${JSON.stringify(e)}; // Helper function to resolve VFS paths to blob URLs function resolveVfsUrl(url) { @@ -299,21 +299,21 @@ setupMutationObserver(); } })(); -`;return n=n.includes("")?n.replace("",s+"\n"):n.includes("")?n.replace("",s+"\n"):s+"\n"+n,{path:e.path,content:n,mimeType:e.mimeType}}extractPartialReferences(e){let t,n=/\{\{>\s*([\w-]+)\s*(?:\s+[^}]*)?\}\}/g,r=new Set;for(;null!==(t=n.exec(e));)r.add(t[1]);return Array.from(r)}registerErrorStubsForMissingPartials(e){for(let t of e)if(!this.handlebars.partials[t]){let e=`
- ⚠️ Missing partial: "${t}" -

Create file in /templates/ directory (e.g., /templates/${t}.hbs or /templates/components/${t}.hbs)

-
`;this.handlebars.registerPartial(t,e)}}async processHandlebarsTemplates(e){await this.registerPartials();try{let t=this.detectInvalidHandlebarsPatterns(e);if(t.length>0){let n=t.map(e=>`❌ ${e.error} -💡 ${e.suggestion}`).join("\n\n");return` +`;return c=c.includes("")?c.replace("",f+"\n"):c.includes("")?c.replace("",f+"\n"):f+"\n"+c,{path:a.path,content:c,mimeType:a.mimeType}}extractPartialReferences(a){let b,c=/\{\{>\s*([\w-]+)\s*(?:\s+[^}]*)?\}\}/g,d=new Set;for(;null!==(b=c.exec(a));)d.add(b[1]);return Array.from(d)}registerErrorStubsForMissingPartials(a){for(let b of a)if(!this.handlebars.partials[b]){let a=`
+ ⚠️ Missing partial: "${b}" +

Create file in /templates/ directory (e.g., /templates/${b}.hbs or /templates/components/${b}.hbs)

+
`;this.handlebars.registerPartial(b,a)}}async processHandlebarsTemplates(a){await this.registerPartials();try{let b=this.detectInvalidHandlebarsPatterns(a);if(b.length>0){let c=b.map(a=>`❌ ${a.error} +💡 ${a.suggestion}`).join("\n\n");return`

⚠️ Handlebars Template Error

-
${n}
+
${c}
`}let n=this.extractPartialReferences(e);this.registerErrorStubsForMissingPartials(n);let r={};try{let e=await this.vfs.readFile(this.projectId,"/data.json");r=JSON.parse(e.content)}catch{}return this.handlebars.compile(e)(r)}catch(n){console.error("VirtualServer: Error processing Handlebars templates:",n);let t=n instanceof Error?n.message:String(n);return` +${a} +-->`}let c=this.extractPartialReferences(a);this.registerErrorStubsForMissingPartials(c);let d={};try{let a=await this.vfs.readFile(this.projectId,"/data.json");d=JSON.parse(a.content)}catch{}return this.handlebars.compile(a)(d)}catch(c){console.error("VirtualServer: Error processing Handlebars templates:",c);let b=c instanceof Error?c.message:String(c);return`

⚠️ Handlebars Template Error

-

Error: ${t}

+

Error: ${b}

Common fixes:

  • Check for typos in helper names and partial references
  • @@ -323,8 +323,8 @@ ${e}
`}}detectInvalidHandlebarsPatterns(e){let t=[];return/\w+\s*=\s*\(\s*>\s*[\w-]+\s*\)/g.test(e)&&t.push({error:"Invalid syntax: Using (> partial) as parameter value",suggestion:"Use string-based dynamic partials: content=\"partial-name\" then {{> (lookup this 'content')}}"}),/\{\{\s*>\s*\(\s*>\s*[\w-]+\s*\)\s*\}\}/g.test(e)&&t.push({error:"Invalid syntax: Double partial reference {{> (> partial)}}",suggestion:"Use {{> partialName}} for static partials or {{> (lookup data 'partialName')}} for dynamic"}),/\{\{\s*>\s*[\w-]+\s+\w+\s*=\s*[^"'\s}][^}]*\s[^}]*(?:\s|}})/g.test(e)&&t.push({error:"Missing quotes in parameter values",suggestion:'Wrap parameter values in quotes: title="My Title" not title=My Title'}),t}async processCSS(e,t){let n=e.content;return n=await this.processUrlReferences(n,t),{path:e.path,content:n,mimeType:e.mimeType}}async processJS(e){let t=e.content;return{path:e.path,content:t,mimeType:e.mimeType}}isAssetReference(e){let t=e.split("?")[0].split("#")[0];return[".css",".js",".jsx",".ts",".tsx",".png",".jpg",".jpeg",".gif",".svg",".ico",".webp",".woff",".woff2",".ttf",".otf",".eot",".mp4",".webm",".ogg",".mp3",".wav",".pdf",".zip",".json",".xml"].includes(t.substring(t.lastIndexOf(".")).toLowerCase())}async processInternalReferences(e,t){let n=await this.vfs.listDirectory(this.projectId,"/"),r=t||this.blobUrls,i=e;for(let e of[/href="([^"]+)"/g,/src="([^"]+)"/g,/href='([^']+)'/g,/src='([^']+)'/g])i=i.replace(e,(e,t)=>{if(t.startsWith("http")||t.startsWith("data:")||t.startsWith("//")||t.startsWith("blob:")||t.startsWith("#")||e.includes("href=")&&!this.isAssetReference(t))return e;let i=this.normalizePath(t);if(n.some(e=>e.path===i)){let n=r.get(i);if(n)return e.replace(t,n)}return e});return i}async processUrlReferences(e,t){return e.replace(/url\(['"]?([^'")]+)['"]?\)/g,(e,n)=>{if(n.startsWith("http")||n.startsWith("data:")||n.startsWith("//")||n.startsWith("blob:"))return e;let r=this.normalizePath(n),i=t.get(r);return i?`url('${i}')`:e})}normalizePath(e){return(e.startsWith("./")&&(e=e.slice(2)),e.startsWith("/")||(e="/"+e),e.endsWith("/"))?e+"index.html":e.includes(".")?e:e+".html"}generateRoutes(e){return e.filter(e=>"html"===e.type).map(e=>{let t=e.content.match(/([^<]+)<\/title>/i),n=t?t[1]:e.name.replace(".html",""),r=e.path.replace(".html","")||"/";return{path:"/index"===r?"/":r,file:e.path,title:n}})}extractTitle(e){let t=e.match(/<title>([^<]+)<\/title>/i);return t?t[1]:"Untitled Page"}cleanupBlobUrls(){for(let e of this.blobUrls.values())URL.revokeObjectURL(e);this.blobUrls.clear(),this.templateCache.clear(),this.partialsRegistered=!1}async getCompiledFile(e){try{let t=await this.vfs.readFile(this.projectId,e);if("html"===t.type)return await this.processHTML(t,this.blobUrls);if("css"===t.type)return await this.processCSS(t,new Map);if("js"===t.type)return await this.processJS(t);else return{path:t.path,content:t.content,mimeType:t.mimeType}}catch{return null}}}var p=n(66819);function d(e){let{siteId:t,apiEndpoint:n="/api/analytics/track",interactionEndpoint:r="/api/analytics/interaction",features:i={basicTracking:!0,heatmaps:!1,sessionRecording:!1,performanceMetrics:!1,engagementTracking:!1,customEvents:!1}}=e;return` +${a} +-->`}}detectInvalidHandlebarsPatterns(a){let b=[];return/\w+\s*=\s*\(\s*>\s*[\w-]+\s*\)/g.test(a)&&b.push({error:"Invalid syntax: Using (> partial) as parameter value",suggestion:"Use string-based dynamic partials: content=\"partial-name\" then {{> (lookup this 'content')}}"}),/\{\{\s*>\s*\(\s*>\s*[\w-]+\s*\)\s*\}\}/g.test(a)&&b.push({error:"Invalid syntax: Double partial reference {{> (> partial)}}",suggestion:"Use {{> partialName}} for static partials or {{> (lookup data 'partialName')}} for dynamic"}),/\{\{\s*>\s*[\w-]+\s+\w+\s*=\s*[^"'\s}][^}]*\s[^}]*(?:\s|}})/g.test(a)&&b.push({error:"Missing quotes in parameter values",suggestion:'Wrap parameter values in quotes: title="My Title" not title=My Title'}),b}async processCSS(a,b){let c=a.content;return c=await this.processUrlReferences(c,b),{path:a.path,content:c,mimeType:a.mimeType}}async processJS(a){let b=a.content;return{path:a.path,content:b,mimeType:a.mimeType}}isAssetReference(a){let b=a.split("?")[0].split("#")[0];return[".css",".js",".jsx",".ts",".tsx",".png",".jpg",".jpeg",".gif",".svg",".ico",".webp",".woff",".woff2",".ttf",".otf",".eot",".mp4",".webm",".ogg",".mp3",".wav",".pdf",".zip",".json",".xml"].includes(b.substring(b.lastIndexOf(".")).toLowerCase())}async processInternalReferences(a,b){let c=await this.vfs.listDirectory(this.projectId,"/"),d=b||this.blobUrls,e=a;for(let a of[/href="([^"]+)"/g,/src="([^"]+)"/g,/href='([^']+)'/g,/src='([^']+)'/g])e=e.replace(a,(a,b)=>{if(b.startsWith("http")||b.startsWith("data:")||b.startsWith("//")||b.startsWith("blob:")||b.startsWith("#")||a.includes("href=")&&!this.isAssetReference(b))return a;let e=this.normalizePath(b);if(c.some(a=>a.path===e)){let c=d.get(e);if(c)return a.replace(b,c)}return a});return e}async processUrlReferences(a,b){return a.replace(/url\(['"]?([^'")]+)['"]?\)/g,(a,c)=>{if(c.startsWith("http")||c.startsWith("data:")||c.startsWith("//")||c.startsWith("blob:"))return a;let d=this.normalizePath(c),e=b.get(d);return e?`url('${e}')`:a})}normalizePath(a){return(a.startsWith("./")&&(a=a.slice(2)),a.startsWith("/")||(a="/"+a),a.endsWith("/"))?a+"index.html":a.includes(".")?a:a+".html"}generateRoutes(a){return a.filter(a=>"html"===a.type).map(a=>{let b=a.content.match(/<title>([^<]+)<\/title>/i),c=b?b[1]:a.name.replace(".html",""),d=a.path.replace(".html","")||"/";return{path:"/index"===d?"/":d,file:a.path,title:c}})}extractTitle(a){let b=a.match(/<title>([^<]+)<\/title>/i);return b?b[1]:"Untitled Page"}cleanupBlobUrls(){for(let a of this.blobUrls.values())URL.revokeObjectURL(a);this.blobUrls.clear(),this.templateCache.clear(),this.partialsRegistered=!1}async getCompiledFile(a){try{let b=await this.vfs.readFile(this.projectId,a);if("html"===b.type)return await this.processHTML(b,this.blobUrls);if("css"===b.type)return await this.processCSS(b,new Map);if("js"===b.type)return await this.processJS(b);else return{path:b.path,content:b.content,mimeType:b.mimeType}}catch{return null}}}var k=c(95012);function l(a){let{siteId:b,apiEndpoint:c="/api/analytics/track",interactionEndpoint:d="/api/analytics/interaction",features:e={basicTracking:!0,heatmaps:!1,sessionRecording:!1,performanceMetrics:!1,engagementTracking:!1,customEvents:!1}}=a;return` <!-- OSW Studio Analytics --> <script> (function() { @@ -332,10 +332,10 @@ ${e} // Configuration var config = { - siteId: '${t}', - apiEndpoint: '${n}', - interactionEndpoint: '${r}', - features: ${JSON.stringify(i)} + siteId: '${b}', + apiEndpoint: '${c}', + interactionEndpoint: '${d}', + features: ${JSON.stringify(e)} }; // State @@ -579,12 +579,12 @@ ${e} init(); })(); </script> -`.trim()}function u(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,e=>t[e])}function h(e,t){let n=e.indexOf("</head>");if(-1===n){let n="<head>",r=e.indexOf(n);return -1!==r?e.slice(0,r+n.length)+"\n "+t+"\n"+e.slice(r+n.length):t+"\n"+e}return e.slice(0,n)+" "+t+"\n"+e.slice(n)}function f(e,t){let n=e.lastIndexOf("</body>");return -1===n?e+"\n"+t+"\n":e.slice(0,n)+t+"\n"+e.slice(n)}function g(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,e=>t[e])}async function m(e){try{var t,n;let i=await (0,o.B)();await i.init();let a=await i.getSite?.(e);if(!a)return await i.close?.(),console.error(`[Static Builder] Site ${e} not found in database`),{success:!1,siteId:e,projectId:"",filesWritten:0,outputPath:"",error:"Site not found"};if(!await i.getProject(a.projectId))return await i.close?.(),console.error(`[Static Builder] Project ${a.projectId} not found in database`),{success:!1,siteId:e,projectId:a.projectId,filesWritten:0,outputPath:"",error:"Project not found"};if(console.log(`[Static Builder] Site ${e} build check:`,{siteId:e,siteName:a.name,underConstruction:a.underConstruction,customDomain:a.customDomain,enabled:a.enabled}),a.underConstruction){console.log(`[Static Builder] Building UNDER CONSTRUCTION page for site ${e}`),await i.close?.();let t=s().join(process.cwd(),"public","sites",e);try{await r.promises.rm(t,{recursive:!0,force:!0})}catch(e){}await r.promises.mkdir(t,{recursive:!0});let n=function(e){let t=e?function(e){let t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,e=>t[e])}(e):"";return`<!DOCTYPE html> +`.trim()}function m(a){let b={"&":"&","<":"<",">":">",'"':""","'":"'"};return a.replace(/[&<>"']/g,a=>b[a])}function n(a,b){let c=a.indexOf("</head>");if(-1===c){let c="<head>",d=a.indexOf(c);return -1!==d?a.slice(0,d+c.length)+"\n "+b+"\n"+a.slice(d+c.length):b+"\n"+a}return a.slice(0,c)+" "+b+"\n"+a.slice(c)}function o(a,b){let c=a.lastIndexOf("</body>");return -1===c?a+"\n"+b+"\n":a.slice(0,c)+b+"\n"+a.slice(c)}function p(a){let b={"&":"&","<":"<",">":">",'"':""","'":"'"};return a.replace(/[&<>"']/g,a=>b[a])}async function q(a){try{var b,c;let e=await (0,g.B)();await e.init();let h=await e.getSite?.(a);if(!h)return await e.close?.(),console.error(`[Static Builder] Site ${a} not found in database`),{success:!1,siteId:a,projectId:"",filesWritten:0,outputPath:"",error:"Site not found"};if(!await e.getProject(h.projectId))return await e.close?.(),console.error(`[Static Builder] Project ${h.projectId} not found in database`),{success:!1,siteId:a,projectId:h.projectId,filesWritten:0,outputPath:"",error:"Project not found"};if(console.log(`[Static Builder] Site ${a} build check:`,{siteId:a,siteName:h.name,underConstruction:h.underConstruction,customDomain:h.customDomain,enabled:h.enabled}),h.underConstruction){console.log(`[Static Builder] Building UNDER CONSTRUCTION page for site ${a}`),await e.close?.();let b=f().join(process.cwd(),"public","sites",a);try{await d.promises.rm(b,{recursive:!0,force:!0})}catch(a){}await d.promises.mkdir(b,{recursive:!0});let c=function(a){let b=a?function(a){let b={"&":"&","<":"<",">":">",'"':""","'":"'"};return a.replace(/[&<>"']/g,a=>b[a])}(a):"";return`<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Under Construction${e?` - ${t}`:""} + Under Construction${a?` - ${b}`:""} -\`\`\` - -**System Font Stack** - No external request -\`\`\`css -body { - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; -} -\`\`\` - -### Form Handling (for static hosting) - -**Netlify Forms** -\`\`\`html -
- - - - -
-\`\`\` - -**Formspree** -\`\`\`html -
- - - -
-\`\`\` - -**Basin** -\`\`\`html -
- - - -
-\`\`\` - -## Project Structure - -\`\`\` -/ -├── PLAN.md # Project roadmap (create first!) -├── index.html # Homepage -├── about.html # About page -├── contact.html # Contact page -├── templates/ -│ ├── components/ -│ │ ├── nav.hbs # Navigation component -│ │ └── footer.hbs # Footer component -│ └── partials/ -│ ├── hero.hbs # Reusable hero section -│ └── cta.hbs # Call-to-action section -├── styles.css # Custom styles (if needed) -└── scripts/ - └── main.js # Custom JavaScript (if needed) -\`\`\` - -## Color Palette Guidelines - -Choose accessible, professional color schemes: - -\`\`\`javascript -// Example palettes - -// Professional Blue -{ primary: '#2563EB', secondary: '#3B82F6', accent: '#F59E0B' } - -// Modern Purple -{ primary: '#7C3AED', secondary: '#8B5CF6', accent: '#10B981' } - -// Clean Teal -{ primary: '#0D9488', secondary: '#14B8A6', accent: '#F97316' } - -// Warm Orange -{ primary: '#EA580C', secondary: '#F97316', accent: '#0EA5E9' } -\`\`\` - -**Tools for color selection:** -- coolors.co - Generate palettes -- tailwindcss.com/docs/customizing-colors - Tailwind palette -- contrast-ratio.com - Check WCAG accessibility - -## Planning Do's and Don'ts - -### Do's -✅ Create PLAN.md before writing any code -✅ Choose ONE CSS framework and stick with it -✅ Plan all pages upfront -✅ Use CDN links for all external assets -✅ Consider mobile-first design -✅ Ensure color contrast meets WCAG AA (4.5:1 for text) -✅ Plan component reuse (nav, footer, cards) - -### Don'ts -❌ Don't skip PLAN.md - it saves time later -❌ Don't mix multiple CSS frameworks -❌ Don't use emojis for icons (use icon libraries) -❌ Don't plan for backend features (static sites only) -❌ Don't use npm/build tools (CDN only) -❌ Don't over-engineer - start simple -❌ Don't forget responsive breakpoints in your plan -`},{id:"osw-one-shot",content:String.raw`--- -name: osw-one-shot -description: Read when building landing pages, page layouts, or complete sites. Covers execution order, Handlebars components, CDN resources, and efficient page structure. ---- - -# OSW Studio One-Shot Site Building - -## Purpose -This skill helps you build complete multi-page websites efficiently in a single session. Focus on visible progress and systematic execution. - -## Core Principle: Visible Progress First - -Users want to see results quickly. The execution order matters: - -1. **Reusable components first** - nav.hbs, footer.hbs -2. **Homepage second** - index.html shows immediate progress -3. **Other pages third** - about, contact, etc. -4. **Polish last** - animations, mobile menu, refinements - -## Execution Order - -### Step 1: Create Components (5 min) - -\`\`\`bash -mkdir -p /templates/components -\`\`\` - -**Navigation Component** (/templates/components/nav.hbs): -\`\`\`handlebars - -\`\`\` - -**Footer Component** (/templates/components/footer.hbs): -\`\`\`handlebars -
-
-
-
-

Brand

-

Your tagline or description here.

-
-
-

Quick Links

- -
-
-

Connect

- -
-
-
-

© 2025 Brand. All rights reserved.

-
-
-
-\`\`\` - -### Step 2: Build Homepage (index.html) - -This is where users see progress. Build it complete before moving on. - -\`\`\`html - - - - - - Site Title - - - - - - - - - - - - - - - - - - - {{> components/nav}} - - -
-
-

- Your Headline Here -

-

- A compelling subheadline that explains your value proposition. -

- -
-
- - -
-
-

Features

-
-
-
- -
-

Feature One

-

Description of this amazing feature and its benefits.

-
-
-
- -
-

Feature Two

-

Description of this amazing feature and its benefits.

-
-
-
- -
-

Feature Three

-

Description of this amazing feature and its benefits.

-
-
-
-
- - -
-
-

Ready to Get Started?

-

Join thousands of satisfied customers today.

- - Contact Us - -
-
- - {{> components/footer}} - - - - - - -\`\`\` - -### Step 3: Build Remaining Pages - -Use the same structure - just change the main content: - -**Page Template:** -\`\`\`html - - - - - - - {{> components/nav}} - - - - {{> components/footer}} - - - - -\`\`\` - -### Step 4: Add Interactivity (if needed) - -Common patterns: - -**Mobile Menu Toggle:** -\`\`\`javascript -const menuBtn = document.getElementById('mobile-menu-btn'); -const mobileMenu = document.getElementById('mobile-menu'); -menuBtn?.addEventListener('click', () => mobileMenu?.classList.toggle('hidden')); -\`\`\` - -**Smooth Scroll:** -\`\`\`html - -\`\`\` - -**Form Validation:** -\`\`\`javascript -document.querySelector('form')?.addEventListener('submit', (e) => { - const email = document.querySelector('input[type="email"]'); - if (!email?.value.includes('@')) { - e.preventDefault(); - alert('Please enter a valid email'); - } -}); -\`\`\` - -## Mobile-First Approach - -Always design for mobile first, then add tablet/desktop overrides: - -\`\`\`html - -
- -
- -
- Content -
-
-
-\`\`\` - -**Common Breakpoints (Tailwind):** -- \`sm:\` - 640px (large phones) -- \`md:\` - 768px (tablets) -- \`lg:\` - 1024px (laptops) -- \`xl:\` - 1280px (desktops) - -## Quick CDN Reference - -\`\`\`html - - - - - - - - - - - - - - - -\`\`\` - -## Execution Do's and Don'ts - -### Do's -✅ Build components before pages -✅ Complete index.html before other pages -✅ Test in preview after each major section -✅ Use consistent spacing (Tailwind: py-20 for sections) -✅ Add aria-labels to icon-only buttons -✅ Include mobile menu from the start -✅ Use transition-colors for hover effects - -### Don'ts -❌ Don't build pages in random order -❌ Don't skip the mobile menu -❌ Don't forget to initialize AOS if using it -❌ Don't use fixed heights (use min-h instead) -❌ Don't forget responsive classes -❌ Don't leave placeholder text in final version - -## Quality Checklist - -Before considering complete: - -- [ ] All pages use nav/footer components -- [ ] Mobile responsive (test at 375px width) -- [ ] Mobile menu works -- [ ] All links work -- [ ] No console errors -- [ ] Images have alt text -- [ ] Forms have proper labels -- [ ] Animations initialized (if using AOS) -- [ ] Hover states on interactive elements -- [ ] Footer has current year - -## Performance Tips - -- **Lazy load images below fold:** \`loading="lazy"\` -- **Preconnect to font servers:** Already in template -- **Use CDN versions:** Cached globally -- **Minimize custom JS:** Use CSS transitions when possible -- **Compress images:** Use Picsum size parameters - -## Summary - -**One-Shot Execution:** -1. 🧩 Components (nav.hbs, footer.hbs) -2. 🏠 index.html (complete with hero, features, CTA) -3. 📄 Other pages (about, contact) -4. ✨ Polish (animations, mobile menu) -5. ✅ Test in preview - -**Speed Tips:** -- Copy the full page template, modify content -- Reuse section patterns across pages -- Keep styles consistent with Tailwind utilities -- Test early, test often -`},{id:"handlebars-advanced",content:String.raw`--- -name: handlebars-advanced -description: Read when using Handlebars templates, partials, or data.json. Covers helpers, loops, conditionals, and advanced data patterns. ---- - -# Advanced Handlebars Patterns - -## Purpose -Deep dive into Handlebars features available in OSW Studio for building maintainable, data-driven static websites with reusable templates. - -## Key Concept: Build-Time Compilation - -**CRITICAL**: In OSW Studio, Handlebars templates are compiled automatically when the preview loads. You do NOT write JavaScript code to compile or render templates. - -- \`.hbs\` files in \`/templates/\` are auto-registered as partials -- \`data.json\` provides global context for all templates -- NO \`Handlebars.compile()\` or manual registration needed -- Templates compile at BUILD-TIME, not runtime - -## Complex Data Structures - -### Nested Objects in data.json -\`\`\`json -{ - "site": { - "title": "My Website", - "author": { - "name": "John Doe", - "email": "john@example.com", - "social": { - "twitter": "@johndoe", - "github": "johndoe" - } - } - }, - "pages": [ - { - "title": "Home", - "path": "/", - "featured": true - } - ] -} -\`\`\` - -### Accessing Nested Data -\`\`\`handlebars -

{{site.title}}

-

By {{site.author.name}}

-Twitter - -{{#each pages}} - {{#if featured}} - {{title}} - {{/if}} -{{/each}} -\`\`\` - -## Conditional Helpers - -### Comparison Helpers -\`\`\`handlebars -{{! Equality }} -{{#if (eq status "active")}} - Active -{{/if}} - -{{! Greater than }} -{{#if (gt price 100)}} - Premium Product -{{/if}} - -{{! Less than or equal }} -{{#if (lte stock 5)}} - Only {{stock}} left! -{{/if}} -\`\`\` - -### Logical Helpers -\`\`\`handlebars -{{! AND logic }} -{{#if (and featured (gt price 50))}} - Featured Premium Item -{{/if}} - -{{! OR logic }} -{{#if (or onSale newArrival)}} - Special -{{/if}} - -{{! NOT logic }} -{{#if (not soldOut)}} - -{{/if}} -\`\`\` - -## Array Helpers - -### Limit Helper -\`\`\`handlebars -{{! Show only first 5 items }} -{{#each (limit products 5)}} -
{{name}}
-{{/each}} -\`\`\` - -### Accessing Array Indices -\`\`\`handlebars -{{#each items}} -
- {{! @index is 0-based }} - Item #{{add @index 1}}: {{this.name}} - - {{#if @first}} - First - {{/if}} - - {{#if @last}} - Last - {{/if}} -
-{{/each}} -\`\`\` - -## String Helpers - -### Case Transformation -\`\`\`handlebars -

{{uppercase title}}

-

{{lowercase tagline}}

-\`\`\` - -### String Concatenation -\`\`\`handlebars -

{{concat firstName " " lastName}}

-Contact -\`\`\` - -## Math Helpers - -\`\`\`handlebars -{{! Calculate discounted price }} -

Was: \${{price}}

-

Now: \${{subtract price discount}}

- -{{! Display total }} -

Subtotal: \${{multiply quantity price}}

- -{{! Show percentage }} -

{{multiply (divide sold total) 100}}% sold

-\`\`\` - -## Partial Composition - -### Basic Partial Usage -\`\`\`handlebars -{{! In index.html }} -{{> header}} -{{> product-card}} -{{> footer}} -\`\`\` - -### Passing Data to Partials -\`\`\`handlebars -{{! Inline parameters }} -{{> card title="Featured Product" price=99 featured=true}} - -{{! From data context }} -{{#each products}} - {{> product-card}} {{! Inherits product data }} -{{/each}} - -{{! With explicit context }} -{{#with featuredProduct}} - {{> card}} {{! Uses featuredProduct as context }} -{{/with}} -\`\`\` - -### Dynamic Partial Selection -\`\`\`handlebars -{{! In data.json }} -{ - "widgets": [ - {"type": "text-widget", "content": "..."}, - {"type": "image-widget", "src": "..."} - ] -} - -{{! In template }} -{{#each widgets}} - {{> (lookup this 'type')}} -{{/each}} -\`\`\` - -## Advanced Patterns - -### Filtering and Querying -\`\`\`handlebars -{{! Show only active products in electronics category }} -{{#each products}} - {{#if (and (eq category "electronics") (eq status "active"))}} -
-

{{name}}

-

\${{price}}

-
- {{/if}} -{{/each}} -\`\`\` - -### Complex Conditionals -\`\`\`handlebars -{{#if (or (and featured (gt rating 4)) (eq badge "bestseller"))}} - -{{/if}} -\`\`\` - -### Nested Partials with Context -\`\`\`handlebars -{{! templates/page-layout.hbs }} - - {{pageTitle}} - - {{> header siteTitle=../site.title}} - {{> content}} - {{> footer}} - - - -{{! Use ../ to access parent context from nested scope }} -\`\`\` - -## Data.json Best Practices - -### Organize by Concern -\`\`\`json -{ - "meta": { - "title": "Site Title", - "description": "..." - }, - "navigation": [ - {"label": "Home", "path": "/"} - ], - "products": [...], - "testimonials": [...], - "settings": { - "theme": "light", - "currency": "USD" - } -} -\`\`\` - -### Use Arrays for Repeating Data -\`\`\`json -{ - "features": [ - { - "icon": "🚀", - "title": "Fast", - "description": "Lightning quick performance" - }, - { - "icon": "🔒", - "title": "Secure", - "description": "Bank-level security" - } - ] -} -\`\`\` - -## Debugging Templates - -### JSON Helper for Inspection -\`\`\`handlebars -{{! View entire data structure }} -
{{json this}}
- -{{! View specific object }} -
{{json product}}
-\`\`\` - -### Checking Variable Values -\`\`\`handlebars -{{! Use comments to debug }} -{{! Variable value: {{myVariable}} }} - -{{#if myVariable}} -

Variable exists: {{myVariable}}

-{{else}} -

Variable is undefined/false/null/empty

-{{/if}} -\`\`\` - -## Common Patterns - -### Navigation Menu -\`\`\`json -{ - "navigation": [ - {"label": "Home", "path": "/", "active": true}, - {"label": "About", "path": "/about.html", "active": false} - ] -} -\`\`\` - -\`\`\`handlebars - -\`\`\` - -### Product Grid with Filtering -\`\`\`handlebars -
- {{#each products}} - {{#if (and (gte price minPrice) (lte price maxPrice))}} -
-

{{name}}

-

\${{price}}

- {{#if (lt stock 10)}} - Limited Stock - {{/if}} -
- {{/if}} - {{/each}} -
-\`\`\` - -## Performance Tips - -- Keep \`data.json\` under 100KB for best performance -- Use partials to avoid duplication, not for tiny snippets -- Limit nested loops (max 2-3 levels deep) -- Pre-process complex data transformations outside templates - -## Common Mistakes to Avoid - -- ❌ Writing JavaScript to compile templates (auto-compiled!) -- ❌ Trying to use template strings or ES6 in Handlebars -- ❌ Forgetting that Handlebars is logic-less (complex logic → data.json) -- ❌ Not escaping HTML when needed (\`{{{triple}}}\` for unescaped) -- ❌ Deeply nested data structures (keep it flat when possible) -`},{id:"accessibility",content:String.raw`--- -name: accessibility -description: Read when user mentions accessibility, a11y, WCAG, or when building forms and navigation. Covers semantic HTML, ARIA, and focus management. ---- - -# Web Accessibility Best Practices - -## Purpose -Ensure static websites meet WCAG 2.1 Level AA accessibility standards. Make your sites usable by everyone, including people using assistive technologies. - -## Semantic HTML - -### Proper Heading Hierarchy -\`\`\`html - -

Page Title

-

Section

-

Subsection

-

Another Subsection

-

Another Section

- - -

Page Title

-

Section

-\`\`\` - -**Rules:** -- One \`

\` per page -- Don't skip heading levels -- Use headings for structure, not styling - -### Landmark Regions -\`\`\`html -
- -
- -
-
- -
- - -
- -
- -
-\`\`\` - -### Lists for Navigation -\`\`\`html - - - - - -\`\`\` - -### Buttons vs Links -\`\`\`html - -Learn More - - - - - - -Click Me -\`\`\` - -## ARIA Attributes - -### When to Use ARIA -**ARIA First Rule**: Don't use ARIA if you can use native HTML instead. - -\`\`\`html - - - - -
Click Me
-\`\`\` - -### Common ARIA Patterns - -**aria-label and aria-labelledby** -\`\`\`html - - - - -

Contact Information

-
- -
-\`\`\` - -**aria-describedby** -\`\`\`html - - - - Password must be at least 8 characters - -\`\`\` - -**aria-hidden** -\`\`\`html - - - - - -\`\`\` - -### Live Regions -\`\`\`html - -
- -
- -
- -
- - - -\`\`\` - -## Keyboard Navigation - -### Focusable Elements -\`\`\`css -/* Visible focus indicators */ -*:focus { - outline: 2px solid #005fcc; - outline-offset: 2px; -} - -/* Never remove focus styles without replacement */ -/* ❌ Bad */ -*:focus { - outline: none; -} - -/* ✅ Better: Custom focus style */ -button:focus { - outline: none; - box-shadow: 0 0 0 3px rgba(0,95,204,0.5); -} -\`\`\` - -### Tab Order -\`\`\`html - - - - - - - - - - - - - - -\`\`\` - -### Keyboard Event Handlers -\`\`\`javascript -// Handle both click and keyboard events -button.addEventListener('click', handleAction); -button.addEventListener('keydown', (e) => { - if (e.key === 'Enter' || e.key === ' ') { - e.preventDefault(); - handleAction(); - } -}); - -// Close dialogs on Escape -document.addEventListener('keydown', (e) => { - if (e.key === 'Escape' && dialogOpen) { - closeDialog(); - } -}); -\`\`\` - -### Skip Links -\`\`\`html - - - - - -
- -
-\`\`\` - -\`\`\`css -.skip-link { - position: absolute; - top: -40px; - left: 0; - background: #000; - color: #fff; - padding: 8px; - z-index: 100; -} - -.skip-link:focus { - top: 0; -} -\`\`\` - -## Color and Contrast - -### WCAG Contrast Ratios -- **Normal text**: 4.5:1 minimum -- **Large text** (18pt+ or 14pt+ bold): 3:1 minimum -- **UI components**: 3:1 minimum - -\`\`\`css -/* ✅ Good contrast (7:1) */ -.text { - color: #333; - background: #fff; -} - -/* ❌ Poor contrast (2.1:1) */ -.text-bad { - color: #ccc; - background: #fff; -} -\`\`\` - -**Tools**: Use contrast checkers (WebAIM, Chrome DevTools) - -### Don't Rely on Color Alone -\`\`\`html - -

Error: Invalid input

-

Success!

- - -

- - Error: Invalid input -

-

- - Success! -

-\`\`\` - -## Form Accessibility - -### Labels for Inputs -\`\`\`html - - - - - - - - - -\`\`\` - -### Required Fields -\`\`\`html - - -\`\`\` - -### Error Messaging -\`\`\`html - - - - Password must be at least 8 characters - -\`\`\` - -### Fieldset and Legend -\`\`\`html -
- Shipping Method - - -
-\`\`\` - -## Images and Media - -### Alt Text Best Practices -\`\`\`html - -Golden retriever playing with a ball in the park - - - - - - - Search - - - -Image of a photo - - -IMG_1234 -\`\`\` - -### Video Captions -\`\`\`html - -\`\`\` - -## Modal Dialogs - -### Accessible Modal Pattern -\`\`\`javascript -function openModal(modalId) { - const modal = document.getElementById(modalId); - const trigger = document.activeElement; // Remember trigger - - modal.setAttribute('aria-hidden', 'false'); - modal.classList.add('is-open'); - - // Focus first interactive element - const firstFocusable = modal.querySelector('button, [href], input, select'); - firstFocusable?.focus(); - - // Trap focus - modal.addEventListener('keydown', (e) => { - if (e.key === 'Tab') { - trapFocus(e, modal); - } - }); - - // Return focus on close - modal.addEventListener('close', () => { - trigger.focus(); - }); -} -\`\`\` - -## Testing Checklist - -### Automated Testing -- Run axe DevTools or WAVE -- Check contrast ratios -- Validate HTML - -### Manual Testing -- [ ] Navigate entire site using only keyboard (Tab, Enter, Arrows, Escape) -- [ ] Test with screen reader (NVDA, JAWS, VoiceOver) -- [ ] Zoom to 200% - content still readable and usable -- [ ] Disable CSS - content still makes sense -- [ ] Use site in grayscale mode -- [ ] Test forms with different input methods - -### Screen Reader Testing -**Windows**: NVDA (free) -**Mac**: VoiceOver (built-in, Cmd+F5) -**Mobile**: iOS VoiceOver, Android TalkBack - -## Common Mistakes to Avoid - -- Removing focus indicators -- Using \`
\` and \`\` for everything -- Missing form labels -- Non-descriptive link text ("click here") -- Images without alt text -- Keyboard traps (can't navigate away) -- Auto-playing videos without controls -- Time limits without warnings -- Content only accessible on hover -- Poor color contrast - -## Quick Wins - -1. Add alt text to all images -2. Use semantic HTML (\`
+ + + {{> footer}} + + + +`},{path:"/portfolio.html",content:` + + + + + Portfolio - Example Studios + + + + + + + +
+
+
+

Our Portfolio

+

Explore our recent projects and see how we bring ideas to life

+
+
+ +
+
+
+

Our Work

+

Filter by category to explore our diverse portfolio of projects

+
+ +
+ + + + +
+ +
+ + +
+ Fitness Tracker App +
+

Fitness Tracker App

+

Cross-platform mobile app for health and wellness tracking

+
+ React Native + Firebase + Redux +
+
+
+ +
+ Green Earth Campaign +
+

Green Earth Campaign

+

Complete brand identity for environmental awareness initiative

+
+ Brand Design + Illustration + Print +
+
+
+ +
+ Web Application +
+

Web Application

+

Interactive web application with modern features

+
+ React + Node.js + PostgreSQL +
+
+
+ +
+ Recipe Sharing App +
+

Recipe Sharing App

+

Social platform for food enthusiasts to share and discover recipes

+
+ Flutter + AWS + ML Kit +
+
+
+ +
+ StartupLab Identity +
+

StartupLab Identity

+

Modern brand identity for tech incubator and coworking space

+
+ Logo Design + Web Design + Marketing +
+
+
+
+
+
+ +
+
+

Ready to Build Something Amazing?

+

Let's turn your ideas into reality. We'd love to hear about your project.

+ Start Your Project +
+
+
+ + {{> footer}} + + + + +`},{path:"/about.html",content:` + + + + + About - Example Studios + + + + + + +
+
+
+

About Example Studios

+

We're a passionate team of designers and developers crafting exceptional digital experiences that make a difference.

+
+
+ +
+ +
+
+

Our Story

+

From humble beginnings to digital excellence

+
+
+
+
🚀
+

Founded in 2020

+

Example Studios emerged from a simple belief: great design should be accessible to everyone. What started as a small team of passionate creators has grown into a full-service digital agency.

+
+ +
+
💡
+

Our Philosophy

+

We believe in the power of collaboration, the importance of user-centered design, and the magic that happens when creativity meets technology.

+
+
+
+ +
+
+

Our Mission

+

Crafting digital experiences that make a difference

+
+
+
🎯
+

Empowering Through Design

+

To empower businesses and individuals with stunning, functional digital solutions that not only look great but drive real results. We're not just building websites and applications; we're crafting digital experiences that connect, engage, and inspire.

+ Start Your Project +
+
+ +
+
+

Our Team

+
+
+
+ Sarah Johnson +

Sarah Johnson

+
Creative Director
+

With over 8 years in design, Sarah leads our creative vision and ensures every project tells a compelling story.

+
+ +
+ Mike Chen +

Mike Chen

+
Lead Developer
+

Mike transforms designs into responsive, performant web experiences using the latest technologies and best practices.

+
+ +
+ Emily Rodriguez +

Emily Rodriguez

+
UX Designer
+

Emily ensures every user interaction is intuitive and delightful, backed by research and user testing.

+
+
+
+ +
+
+

Our Values

+
+
+
+
Creativity
+

Creativity First

+

We believe every project deserves a unique, creative approach that stands out in the digital landscape.

+
+ +
+
Performance
+

Performance Driven

+

Beautiful designs mean nothing without flawless performance. We optimize for speed, accessibility, and user experience.

+
+ +
+
Partnership
+

Collaboration

+

The best results come from working closely with our clients as partners, not just service providers.

+
+ +
+
Innovation
+

Innovation

+

We stay ahead of industry trends and constantly explore new technologies to deliver cutting-edge solutions.

+
+
+
+ +
+
+

Ready to Build Something Amazing?

+

Let's turn your ideas into reality. We'd love to hear about your project.

+ Start Your Project +
+
+
+
+ + {{> footer}} + + + +`},{path:"/styles/main.css",content:`/* Main Stylesheet - Shared across all pages */ + +:root { + --primary: #ea580c; + --primary-dark: #c2410c; + --secondary: #0891b2; + --secondary-dark: #0e7490; + --accent: #f59e0b; + --neutral: #64748b; + --bg: linear-gradient(180deg, #ffffff 0%, #fdfdfd 100%); + --bg-secondary: linear-gradient(180deg, #f4f4f4 0%, #f8fafc 100%); + --text: #1e293b; + --text-light: #64748b; + --border: #e2e8f0; + --radius: 12px; + --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); + + /* Layout variables */ + --navbar-height: 65px; + --navbar-bg: rgba(255, 255, 255, 0.95); + --hero-gradient-blue: rgba(26, 54, 93, 0.9); + --hero-gradient-orange: rgba(255, 123, 0, 0.8); + + /* Responsive Typography Scale (Mobile-first) */ + --text-xs: 0.75rem; + --text-sm: 0.875rem; + --text-base: 1rem; + --text-lg: 1.125rem; + --text-xl: 1.25rem; + --text-2xl: 1.5rem; + --text-3xl: 1.875rem; + --text-4xl: 2.25rem; + --text-5xl: 3rem; + --text-6xl: 3.75rem; + + /* Semantic Typography Variables */ + --heading-h1: var(--text-4xl); + --heading-h2: var(--text-3xl); + --heading-h3: var(--text-xl); + --heading-h4: var(--text-lg); + --heading-h5: var(--text-base); + --text-subtitle: var(--text-lg); + --text-body: var(--text-base); + --text-small: var(--text-sm); + + /* Responsive Spacing Scale */ + --space-1: 0.25rem; + --space-2: 0.5rem; + --space-3: 0.75rem; + --space-4: 1rem; + --space-5: 1.25rem; + --space-6: 1.5rem; + --space-8: 2rem; + --space-10: 2.5rem; + --space-12: 3rem; + --space-16: 4rem; + --space-20: 5rem; + + /* Container and Grid Variables */ + --container-padding: var(--space-4); + --grid-gap: var(--space-6); + --card-padding: var(--space-6); + --section-spacing: var(--space-12); +} + +/* Tablet Breakpoint - 768px+ */ +@media (min-width: 768px) { + :root { + /* Larger typography for tablet */ + --text-3xl: 2.25rem; + --text-4xl: 2.75rem; + --text-5xl: 3.5rem; + --text-6xl: 4.5rem; + + /* Updated semantic typography for tablet */ + --heading-h1: var(--text-4xl); + --heading-h2: var(--text-3xl); + --heading-h3: var(--text-2xl); + --heading-h4: var(--text-xl); + --text-subtitle: var(--text-xl); + + /* Increased spacing for tablet */ + --container-padding: var(--space-6); + --grid-gap: var(--space-8); + --card-padding: var(--space-8); + --section-spacing: var(--space-16); + } +} + +/* Desktop Breakpoint - 1024px+ */ +@media (min-width: 1024px) { + :root { + /* Larger typography for desktop */ + --text-4xl: 2.5rem; + --text-5xl: 3rem; + --text-6xl: 3.5rem; + + /* Updated semantic typography for desktop */ + --heading-h1: var(--text-4xl); + --heading-h2: var(--text-3xl); + --heading-h3: var(--text-2xl); + --heading-h4: var(--text-xl); + + /* Increased spacing for desktop */ + --container-padding: var(--space-8); + --grid-gap: var(--space-10); + --card-padding: var(--space-10); + --section-spacing: var(--space-20); + } +} + +/* Large Desktop Breakpoint - 1200px+ */ +@media (min-width: 1200px) { + :root { + /* Maximum typography scaling */ + --text-6xl: 4rem; + + /* Maximum spacing */ + --section-spacing: var(--space-24, 6rem); + } +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + background: var(--bg); + color: var(--text); + line-height: 1.6; +} + +/* Navigation */ +.navbar { + padding: var(--space-4) var(--container-padding); + display: flex; + justify-content: space-between; + align-items: center; + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 1000; + transition: transform 0.3s ease; + backdrop-filter: opacity(0); + background: var(--navbar-bg); + height: var(--navbar-height); +} + +.navbar.hidden { + transform: translateY(-100%); +} + +body { + padding-top: var(--navbar-height); +} + +.nav-brand { + font-size: var(--text-xl); + font-weight: 600; + color: var(--text); + text-decoration: none; + display: flex; + align-items: center; + gap: var(--space-2); +} + +.nav-logo { + width: 28px; + height: 28px; +} + +.nav-menu { + display: flex; + list-style: none; + gap: var(--space-6); +} + +.nav-link { + color: var(--text-light); + text-decoration: none; + transition: all 0.2s ease; + border-radius: var(--space-1); + padding: var(--space-2); +} + +.nav-link:hover, +.nav-link.active { + color: var(--primary); +} + +.nav-link:focus { + outline: none; +} + +/* Hamburger Menu Button */ +.nav-toggle { + display: none; + flex-direction: column; + justify-content: space-between; + width: 24px; + height: 18px; + background: transparent; + border: none; + cursor: pointer; + padding: 0; + z-index: 1001; + border-radius: var(--space-1); +} + +.nav-toggle:focus { + outline: none; +} + +.hamburger-line { + width: 100%; + height: 2px; + background: var(--text); + transition: all 0.3s ease; + transform-origin: center; +} + +.nav-toggle.active .hamburger-line:nth-child(1) { + transform: rotate(45deg) translate(6px, 6px); +} + +.nav-toggle.active .hamburger-line:nth-child(2) { + opacity: 0; +} + +.nav-toggle.active .hamburger-line:nth-child(3) { + transform: rotate(-45deg) translate(6px, -6px); +} + +/* Tablet Responsive - Enhanced desktop experience */ +@media (min-width: 768px) and (max-width: 1023px) { + .nav-menu { + gap: var(--space-4); + } + + .nav-link { + font-size: var(--text-sm); + padding: var(--space-2) var(--space-3); + } +} + +/* Mobile Menu Styles - Hamburger menu only on mobile */ +@media (max-width: 767px) { + .nav-toggle { + display: flex; + } + + .navbar.menu-open { + background: rgba(255, 255, 255, 1); + backdrop-filter: opacity(0); + } + + .nav-menu { + position: fixed; + top: var(--navbar-height); + left: 0; + right: 0; + background: #fff; + backdrop-filter: opacity(0); + flex-direction: column; + padding: var(--space-6) var(--space-4) var(--space-8); + gap: 0; + transform: translateY(-100%); + opacity: 0; + visibility: hidden; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + } + + .nav-menu.active { + transform: translateY(0); + opacity: 1; + visibility: visible; + } + + .nav-link { + font-size: var(--text-lg); + font-weight: 500; + padding: var(--space-2) var(--space-6); + border-radius: var(--space-2); + background: transparent; + border: none; + transition: all 0.2s ease; + position: relative; + width: fit-content; + display: block; + margin: 0 auto; + } + + .nav-link:hover { + background: var(--bg-secondary); + color: var(--primary); + transform: translateY(-2px); + } + + .nav-link.active { + background: var(--primary); + color: white; + font-weight: 600; + } + + .nav-link.active::before { + content: ''; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 4px; + height: 20px; + background: white; + border-radius: 2px; + } +} + +/* Container */ +.container { + max-width: 1000px; + margin: 0 auto; + padding: var(--card-padding); +} + +/* Universal Heading Styles */ +h1 { + font-size: var(--heading-h1); + margin-bottom: var(--space-4); + font-weight: 700; + line-height: 1.2; +} + +h2 { + font-size: var(--heading-h2); + margin-bottom: var(--space-4); + font-weight: 600; + line-height: 1.3; +} + +h3 { + font-size: var(--heading-h3); + margin-bottom: var(--space-3); + font-weight: 600; + line-height: 1.4; +} + +h4 { + font-size: var(--heading-h4); + margin-bottom: var(--space-2); + font-weight: 600; + line-height: 1.4; +} + +h5 { + font-size: var(--heading-h5); + margin-bottom: var(--space-2); + font-weight: 600; + line-height: 1.5; +} + +p { + color: var(--text-light); + font-size: var(--text-body); + margin-bottom: var(--space-8); + line-height: 1.6; +} + +/* Cards */ +.card-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: var(--space-6); + margin-bottom: var(--section-spacing); +} + +.card { + background: var(--bg-secondary); + padding: var(--card-padding); + border-radius: var(--radius); + text-align: center; +} + +.card h2 { + font-size: var(--heading-h2); + margin-bottom: var(--space-4); +} + +.card p { + font-size: var(--text-body); + margin-bottom: var(--space-6); +} + +/* Buttons */ +.btn { + display: inline-block; + background: var(--primary); + color: white; + padding: var(--space-3) var(--space-6); + border: none; + border-radius: var(--radius); + cursor: pointer; + text-decoration: none; + font-size: var(--text-body); + font-weight: 500; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} + +.btn:hover { + background: var(--primary-dark); + transform: translateY(-2px); + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); +} + +.btn:active { + transform: translateY(0); + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} + +.btn:focus { + outline: none; +} + +.btn-small { + padding: var(--space-2) var(--space-4); + font-size: var(--text-sm); +} + +/* Hero Section */ +.hero { + height: calc(100vh - var(--navbar-height) - var(--container-padding)); + background: linear-gradient(135deg, var(--hero-gradient-blue), var(--hero-gradient-orange)), + url('/assets/images/example-background.jpg') center/cover; + background-size: contain; + color: white; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + padding: var(--space-8) var(--container-padding); + position: relative; + overflow: hidden; + margin: 0rem var(--container-padding) var(--section-spacing); + border-radius: var(--radius); +} + +.hero.sub-page { + height: calc(50vh + var(--navbar-height)); + min-height: calc(300px + var(--navbar-height)); +} + +.hero-content { + max-width: 800px; + z-index: 1; +} + +.hero h1 { + font-size: var(--text-4xl); + margin-bottom: var(--space-4); + font-weight: 700; + text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); +} + +.hero-subtitle { + font-size: var(--text-subtitle); + opacity: 0.95; + margin-bottom: var(--space-8); + color: white; +} + +.hero-buttons { + display: flex; + gap: var(--space-4); + justify-content: center; + flex-wrap: wrap; +} + +.btn-primary { + background: var(--primary); + color: white; +} + +.btn-primary:hover { + background: var(--primary-dark); + transform: translateY(-2px) scale(1.02); + box-shadow: 0 6px 16px rgba(234, 88, 12, 0.25); +} + +.btn-primary:focus { + outline: none; +} + +.btn-secondary { + background: rgba(255, 255, 255, 0.2); + color: white; + backdrop-filter: opacity(0); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); +} + +.btn-secondary:hover { + background: rgba(255, 255, 255, 0.3); + transform: translateY(-2px) scale(1.02); + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); +} + +.btn-secondary:focus { + outline: none; +} + +/* Features Section */ +.features-section { + padding: var(--section-spacing) 0; + background: var(--bg-secondary); + border-radius: var(--radius); + margin-top: var(--section-spacing); +} + +.feature-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); + gap: var(--space-6); + margin-top: var(--space-8); +} + +.feature { + text-align: center; + padding: var(--space-6); +} + +.feature-icon { + font-size: 0.9rem; + font-weight: 600; + color: var(--secondary); + text-transform: uppercase; + letter-spacing: 0.1em; + display: block; + margin-bottom: var(--space-4); +} + +.feature h3 { + color: var(--secondary-dark); + margin-bottom: 0.5rem; +} + +.feature p { + color: var(--text-light); + font-size: var(--text-body); +} + +/* Example Section */ +.example-section { + background: var(--bg-secondary); + padding: var(--card-padding); + border-radius: var(--radius); + text-align: center; +} + +/* Aurora Studios Specific Styles */ +.section-subtitle { + font-size: var(--text-subtitle); + color: var(--text-light); + margin-bottom: var(--section-spacing); + text-align: center; + max-width: 600px; + margin-left: auto; + margin-right: auto; +} + +/* What We Do section title */ +#services h2 { + text-align: center; +} + +.service-icon { + font-size: var(--text-small); + font-weight: 600; + color: var(--primary); + text-transform: uppercase; + letter-spacing: 0.1em; + margin-bottom: var(--space-6); + display: block; +} + +/* Featured Work Section */ +.featured-work { + padding: var(--section-spacing) 0; + background: var(--bg-secondary); +} + +.featured-work h2 { + font-size: var(--heading-h2); + text-align: center; + margin-bottom: var(--section-spacing); + color: var(--text); +} + +.work-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); + gap: var(--space-6); + max-width: 1200px; + margin: 0 auto; + padding: 0 var(--space-8); +} + +.work-item { + background: white; + border-radius: var(--radius); + overflow: hidden; + box-shadow: var(--shadow); + transition: transform 0.3s ease; +} + +.work-item:hover { + transform: translateY(-5px); +} + +.section-cta { + text-align: center; + margin-top: var(--space-8); + padding-top: var(--space-6); + border-top: 1px solid var(--border); +} + +.featured-work-cta { + text-align: center; + margin-top: var(--space-8); +} + +.work-image { + width: 100%; + height: 250px; + object-fit: cover; +} + +.work-info { + padding: var(--space-6); +} + +.work-info h3 { + color: var(--primary); + margin-bottom: var(--space-2); +} + +.work-info p { + color: var(--text-light); + font-size: var(--text-body); +} + +/* CTA Section */ +.cta-section { + background: linear-gradient(135deg, var(--secondary), var(--primary)); + color: white; + padding: var(--section-spacing) var(--space-8); + text-align: center; + margin: var(--section-spacing) var(--space-4); + border-radius: var(--radius); +} + +.cta-content h2 { + margin-bottom: var(--space-4); + font-size: var(--heading-h2); +} + +.cta-content p { + font-size: var(--text-subtitle); + opacity: 0.9; + margin-bottom: var(--space-8); + color: white; +} + +.cta-section .btn { + background: white; + color: var(--text); + font-weight: 600; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); +} + +.cta-section .btn:hover { + background: var(--bg-secondary); + transform: translateY(-2px) scale(1.02); + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); +} + +.cta-section .btn:focus { + outline: none; +} + +/* Page Header - Shared across sub-pages */ +.page-header { + text-align: center; + margin-bottom: var(--section-spacing); +} + +.page-header h1 { + font-size: var(--heading-h1); + margin-bottom: var(--space-4); + color: var(--text); +} + +.page-subtitle { + font-size: var(--text-subtitle); + color: var(--text-light); + max-width: 600px; + margin: 0 auto; +} + +/* Section Header Component */ +.section-header { + text-align: center; + margin-bottom: var(--section-spacing); +} + +.section-header h2 { + font-size: var(--heading-h2); + color: var(--text); + margin-bottom: var(--space-3); + position: relative; +} + +.section-header h2::after { + content: ''; + position: absolute; + bottom: -0.75rem; + left: 50%; + transform: translateX(-50%); + width: 2rem; + height: 3px; + background: var(--primary); + border-radius: 2px; +} + +.section-header .section-subtitle { + font-size: var(--text-subtitle); + color: var(--text-light); + margin-top: var(--space-6); + margin-bottom: 0; + max-width: 600px; + margin-left: auto; + margin-right: auto; + line-height: 1.6; +} + +/* Content Sections - Shared layout styles */ +.content-section { + margin-bottom: var(--section-spacing); +} + +.content-section h2 { + font-size: var(--heading-h2); + color: var(--text); + margin-bottom: var(--space-4); + position: relative; +} + +.content-section p { + font-size: var(--text-subtitle); + line-height: 1.8; + color: var(--text-light); + margin-bottom: var(--space-6); + text-align: center; +} + +/* Team Grid - Shared component */ +.team-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: var(--space-6); + margin-top: var(--space-8); +} + +.team-member { + text-align: center; + padding: var(--card-padding); + background: var(--bg-secondary); + border-radius: var(--radius); + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.team-member:hover { + transform: translateY(-5px); + box-shadow: var(--shadow); +} + +.team-member img { + width: 100px; + height: 100px; + border-radius: 50%; + object-fit: cover; + margin-bottom: var(--space-4); + border: 3px solid var(--primary); +} + +.team-member h3 { + font-size: var(--heading-h3); + color: var(--text); + margin-bottom: var(--space-2); +} + +.team-member .role { + color: var(--primary); + font-weight: 600; + margin-bottom: var(--space-4); +} + +.team-member p { + font-size: var(--text-small); + color: var(--text-light); + line-height: 1.6; +} + +/* Contact Page Components */ +.contact-card .contact-detail { + font-weight: 600; + color: var(--primary); + font-size: var(--text-base); + margin: var(--space-4) 0; + padding: var(--space-3); + background: var(--bg-secondary); + border-radius: var(--space-2); + text-align: center; +} + +.contact-form-section { + max-width: 600px; + margin: 0 auto; + background: white; + padding: var(--card-padding); + border-radius: var(--radius); + box-shadow: var(--shadow); +} + +.social-proof-container { + max-width: 800px; + margin: 0 auto; + text-align: center; +} + +/* Tablet Responsive Styles */ +@media (min-width: 768px) and (max-width: 1023px) { + /* Hero adjustments for tablet */ + .hero.sub-page { + height: calc(50vh + var(--navbar-height)); + min-height: calc(350px + var(--navbar-height)); + } + + /* Grid layout adjustments for tablet */ + .card-grid, + .work-grid, + .team-grid, + .portfolio-grid { + grid-template-columns: repeat(2, 1fr); + gap: var(--space-6); + } + +} + +/* Mobile Responsive Styles */ +@media (max-width: 767px) { + :root { + /* Mobile-optimized typography */ + --heading-h1: var(--text-3xl); + --heading-h2: var(--text-2xl); + --heading-h3: var(--text-lg); + --text-subtitle: var(--text-base); + + /* Tighter spacing for mobile */ + --section-spacing: var(--space-10); + --card-padding: var(--space-4); + } + + /* Hero section mobile adjustments */ + .hero { + margin: 0rem var(--space-4) var(--section-spacing); + padding: var(--space-6) var(--space-4); + } + + .hero h1 { + font-size: var(--text-4xl); + } + + .hero.sub-page { + height: calc(40vh + var(--navbar-height)); + min-height: calc(250px + var(--navbar-height)); + } + + /* Grid layout adjustments - single column for mobile */ + .card-grid, + .work-grid, + .team-grid, + .portfolio-grid { + grid-template-columns: 1fr; + gap: var(--space-4); + } + + + /* Mobile button improvements */ + .btn { + width: 100%; + max-width: 280px; + text-align: center; + } + + .hero-buttons { + flex-direction: column; + align-items: center; + gap: var(--space-3); + } + + /* Mobile typography improvements */ + p { + margin-bottom: var(--space-6); + } + + /* Contact form mobile adjustments */ + .form-row { + grid-template-columns: 1fr; + gap: var(--space-4); + margin-bottom: var(--space-4); + } + + .social-proof-stats { + grid-template-columns: 1fr; + gap: var(--space-6); + } + + .social-proof-text { + margin-left: 0; + border-left: none; + border-top: 3px solid var(--primary); + padding-left: 0; + padding-top: var(--space-4); + } +} + +.contact-info h2 { + font-size: var(--heading-h2); + color: var(--text); + margin-bottom: var(--space-4); +} + +.contact-info p { + font-size: var(--text-subtitle); + line-height: 1.8; + color: var(--text-light); + margin-bottom: var(--space-8); +} + + +/* Contact Form - Refactored */ +.contact-form-container { + padding: var(--card-padding); +} + +.contact-form-container .section-header { + text-align: left; + margin-bottom: var(--space-8); +} + +.contact-form-container .section-header h2 { + font-size: var(--heading-h2); + color: var(--text); + margin-bottom: var(--space-3); +} + +.contact-form-container .section-header p { + color: var(--text-light); + font-size: var(--text-base); + margin: 0; +} + +.form-row { + display: grid; + grid-template-columns: 1fr 1fr; + gap: var(--space-4); + margin-bottom: var(--space-6); +} + +.form-group { + margin-bottom: var(--space-6); +} + +.form-group label { + display: block; + font-weight: 600; + color: var(--text); + font-size: var(--text-body); + margin-bottom: var(--space-2); +} + +.form-group input, +.form-group select, +.form-group textarea { + width: 100%; + padding: var(--space-4); + border: 2px solid var(--border); + border-radius: var(--radius); + font-size: var(--text-body); + transition: border-color 0.3s ease, box-shadow 0.3s ease; +} + +.form-group input:focus, +.form-group select:focus, +.form-group textarea:focus { + outline: none; + border-color: var(--primary); + box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1); +} + +.form-group textarea { + resize: vertical; + min-height: 120px; +} + +.checkbox-group { + display: flex; + align-items: flex-start; + gap: var(--space-2); +} + +.checkbox-group input[type="checkbox"] { + width: auto; + margin: 0; + transform: scale(1.2); +} + +.checkbox-group label { + margin-bottom: 0; + font-weight: normal; + font-size: var(--text-small); + cursor: pointer; +} + +.error-message { + color: #ef4444; + font-size: var(--text-sm); + margin-top: var(--space-1); + display: block; +} + +.btn-full { + width: 100%; + padding: var(--space-4) var(--space-8); + font-size: var(--text-subtitle); + font-weight: 600; +} + +.form-success { + display: none; + background: #10b981; + color: white; + padding: var(--space-6); + border-radius: var(--radius); + margin-top: var(--space-4); + text-align: center; + border: 1px solid #059669; +} + +.form-success.show { + display: flex; + align-items: center; + justify-content: center; + gap: var(--space-3); +} + +.form-success .success-icon { + display: flex; + align-items: center; + justify-content: center; + width: 32px; + height: 32px; + background: rgba(255, 255, 255, 0.2); + border-radius: 50%; + flex-shrink: 0; +} + +.form-success .success-icon svg { + width: 20px; + height: 20px; + stroke: white; + stroke-width: 3; +} + +.form-success p { + margin: 0; + font-weight: 500; + font-size: var(--text-body); +} + +/* Social Proof Section */ +.contact-social-proof { + background: var(--bg-secondary); + padding: var(--card-padding); + border-radius: var(--radius); + border: 2px solid var(--border); +} + +.contact-social-proof h3 { + font-size: var(--heading-h3); + color: var(--text); + margin-bottom: var(--space-6); + text-align: center; +} + +.social-proof-stats { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: var(--space-4); + margin-bottom: var(--space-6); +} + +.stat { + text-align: center; + padding: var(--space-3); +} + +.stat-number { + font-size: var(--text-2xl); + font-weight: 700; + color: var(--primary); + margin-bottom: var(--space-1); +} + +.stat-label { + font-size: var(--text-sm); + color: var(--text-light); + font-weight: 500; +} + +.social-proof-text { + font-style: italic; + color: var(--text); + line-height: 1.6; + margin-bottom: var(--space-4); + text-align: center; + border-left: 3px solid var(--primary); + padding-left: var(--space-4); + margin-left: var(--space-4); +} + +.social-proof-attribution { + text-align: center; + color: var(--text-light); + font-size: var(--text-sm); +} + +.testimonial { + margin-top: var(--space-8); + padding: var(--space-6); + background: var(--bg-secondary); + border-radius: var(--radius); + border-left: 4px solid var(--primary); +} + +.testimonial-text { + font-size: var(--text-lg); + font-style: italic; + color: var(--text); + line-height: 1.6; + margin-bottom: var(--space-4); +} + +.testimonial-attribution { + color: var(--text-light); + font-size: var(--text-sm); +} + +/* Loading state for form submission */ +.contact-form.loading .btn-primary { + background: var(--neutral); + cursor: not-allowed; + position: relative; +} + +.contact-form.loading .btn-primary:after { + content: ''; + position: absolute; + width: 20px; + height: 20px; + margin: auto; + border: 2px solid white; + border-top: 2px solid transparent; + border-radius: 50%; + animation: spin 1s linear infinite; +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} + +/* Form validation styles */ +.form-group.error input, +.form-group.error select, +.form-group.error textarea { + border-color: #ef4444; + background-color: #fef2f2; +} + +.form-group.success input, +.form-group.success select, +.form-group.success textarea { + border-color: #10b981; + background-color: #f0fdf4; +} + +/* Footer - Modern Light Design */ +.site-footer { + background: var(--bg-secondary); + border-top: 1px solid var(--border); + padding: var(--section-spacing) 0 0; + margin-top: var(--section-spacing); +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + padding: 0 var(--space-8) var(--section-spacing); + display: grid; + grid-template-columns: 1fr 2fr; + gap: var(--space-10); + align-items: start; +} + +/* Footer Brand Section */ +.footer-brand { + display: flex; + flex-direction: column; + gap: var(--space-4); +} + +.footer-logo { + display: flex; + align-items: center; + gap: var(--space-3); + font-size: var(--text-xl); + font-weight: 600; + color: var(--text); +} + +.footer-logo img { + width: 40px; + height: 40px; +} + +.footer-tagline { + color: var(--text-light); + font-size: var(--text-body); + margin: 0; + line-height: 1.5; +} + +.footer-social { + display: flex; + gap: var(--space-3); + margin-top: var(--space-2); +} + +.footer-social a { + width: 36px; + height: 36px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + background: white; + color: var(--text); + text-decoration: none; + font-size: var(--text-base); + transition: all 0.2s ease; + border: 1px solid var(--border); +} + +.footer-social a:hover { + background: var(--primary); + color: white; + border-color: var(--primary); + transform: translateY(-2px); +} + +/* Footer Links Section */ +.footer-links-section { + display: grid; + grid-template-columns: 1fr 1fr; + gap: var(--space-8); +} + +.footer-column h4 { + font-size: var(--text-base); + font-weight: 600; + color: var(--text); + margin-bottom: var(--space-4); + text-transform: uppercase; + letter-spacing: 0.05em; +} + +.footer-links { + list-style: none; + padding: 0; + margin: 0; +} + +.footer-links li { + margin-bottom: var(--space-3); +} + +.footer-links a { + color: var(--text-light); + text-decoration: none; + font-size: var(--text-body); + transition: color 0.2s ease; + position: relative; +} + +.footer-links a:hover { + color: var(--primary); + transform: translateX(2px); + display: inline-block; +} + +/* Footer Bottom Bar */ +.footer-bottom { + border-top: 1px solid var(--border); + padding: var(--space-6) var(--space-8); + max-width: 1200px; + margin: 0 auto; + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + gap: var(--space-4); +} + +.footer-hf-link { + display: flex; + align-items: center; + gap: var(--space-2); + color: var(--text-light); + text-decoration: none; + font-size: var(--text-sm); + font-weight: 500; + transition: all 0.2s ease; + padding: var(--space-1) var(--space-2); + border-radius: var(--space-1); +} + +.footer-hf-link:hover { + color: var(--primary); + background: rgba(234, 88, 12, 0.1); + transform: translateY(-1px); +} + +.footer-hf-link svg { + width: 16px; + height: 16px; + flex-shrink: 0; +} + +.footer-bottom-links { + display: flex; + align-items: center; + gap: var(--space-4); +} + +.footer-bottom-links a { + color: var(--text-light); + text-decoration: none; + font-size: var(--text-sm); + transition: color 0.2s ease; +} + +.footer-bottom-links a:hover { + color: var(--primary); +} + +.footer-bottom-links .separator { + color: var(--text-light); + font-size: var(--text-sm); +} + +/* Responsive Footer Styles */ +@media (max-width: 767px) { + .footer-content { + grid-template-columns: 1fr; + gap: var(--space-8); + padding: 0 var(--space-4) var(--space-8); + } + + .footer-brand { + text-align: center; + align-items: center; + } + + .footer-links-section { + grid-template-columns: 1fr 1fr; + gap: var(--space-6); + text-align: center; + } + + .footer-column h4 { + text-align: center; + } + + .footer-links { + text-align: center; + } + + .footer-links a { + display: inline-block; + } + + .footer-bottom { + flex-direction: column; + text-align: center; + padding: var(--space-4); + } + + .footer-bottom-links { + flex-wrap: wrap; + justify-content: center; + } +} + +`},{path:"/styles/portfolio.css",content:`/* Portfolio Page Styles */ + +/* Portfolio Filters */ +.portfolio-filters { + display: flex; + justify-content: center; + gap: var(--space-4); + margin-bottom: var(--section-spacing); + flex-wrap: wrap; +} + +.filter-btn { + padding: var(--space-3) var(--space-6); + border: 2px solid var(--border); + background: transparent; + border-radius: 50px; + cursor: pointer; + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + font-weight: 500; + font-size: var(--text-body); + color: var(--text-light); + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); +} + +.filter-btn:hover, +.filter-btn.active { + border-color: var(--primary); + background: var(--primary); + color: white; + transform: translateY(-1px) scale(1.01); + box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2); +} + +.filter-btn:focus { + outline: none; +} + +.filter-btn:active { + transform: translateY(0) scale(0.99); +} + +/* Portfolio Grid */ +.portfolio-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); + gap: var(--space-6); + margin-bottom: var(--section-spacing); +} + +.portfolio-item { + position: relative; + border-radius: var(--radius); + overflow: hidden; + box-shadow: var(--shadow); + transition: transform 0.3s ease; + cursor: pointer; +} + +.portfolio-item:hover { + transform: translateY(-10px); +} + +.portfolio-item.hidden { + display: none; +} + +.portfolio-image { + width: 100%; + height: 300px; + object-fit: cover; + transition: transform 0.3s ease; +} + +.portfolio-item:hover .portfolio-image { + transform: scale(1.05); +} + +.portfolio-overlay { + position: absolute; + bottom: 0; + left: 0; + right: 0; + background: linear-gradient(transparent, rgba(0,0,0,0.8)); + color: white; + padding: var(--card-padding); + transform: translateY(100%); + transition: transform 0.3s ease; +} + +.portfolio-item:hover .portfolio-overlay { + transform: translateY(0); +} + +.portfolio-overlay h3 { + font-size: var(--heading-h3); + margin-bottom: var(--space-2); +} + +.portfolio-overlay p { + margin-bottom: var(--space-4); + opacity: 0.9; + color: white; +} + +.portfolio-tags { + display: flex; + flex-wrap: wrap; + gap: var(--space-2); +} + +.tag { + background: rgba(255,255,255,0.2); + color: white; + padding: var(--space-1) var(--space-3); + border-radius: 20px; + font-size: var(--text-xs); + font-weight: 500; +}`},{path:"/scripts/main.js",content:`// Main JavaScript - Shared functionality + +// Multi-file demo loaded + +// Set up navigation highlighting +document.addEventListener('DOMContentLoaded', function() { + const currentPath = window.location.pathname; + const navLinks = document.querySelectorAll('.nav-link'); + + navLinks.forEach(link => { + if (link.getAttribute('href') === currentPath) { + link.classList.add('active'); + } else { + link.classList.remove('active'); + } + }); + + // Scroll-reactive navbar functionality + const navbar = document.querySelector('.navbar'); + const hero = document.querySelector('.hero'); + let lastScrollY = window.scrollY; + let heroHeight = hero ? hero.offsetHeight : 0; + + function updateNavbarVisibility() { + const currentScrollY = window.scrollY; + const scrollDifference = currentScrollY - lastScrollY; + + // Always show navbar in hero section + if (currentScrollY <= heroHeight) { + navbar.classList.remove('hidden'); + } + // Hide when scrolling down past hero section + else if (scrollDifference > 0) { + navbar.classList.add('hidden'); + } + // Show when scrolling up by 20px or more + else if (scrollDifference <= -20) { + navbar.classList.remove('hidden'); + } + + lastScrollY = currentScrollY; + } + + // Throttle scroll events for better performance + let ticking = false; + function handleScroll() { + if (!ticking) { + requestAnimationFrame(updateNavbarVisibility); + ticking = true; + setTimeout(() => { ticking = false; }, 16); // ~60fps + } + } + + window.addEventListener('scroll', handleScroll); + + // Recalculate hero height on resize + window.addEventListener('resize', function() { + heroHeight = hero ? hero.offsetHeight : 0; + }); + + // Mobile hamburger menu functionality + const navToggle = document.querySelector('.nav-toggle'); + const navMenu = document.querySelector('.nav-menu'); + const mobileNavLinks = document.querySelectorAll('.nav-link'); + + function toggleMobileMenu() { + navToggle.classList.toggle('active'); + navMenu.classList.toggle('active'); + navbar.classList.toggle('menu-open'); + + // Update ARIA attributes + const isExpanded = navToggle.classList.contains('active'); + navToggle.setAttribute('aria-expanded', isExpanded); + + // Prevent body scroll when menu is open + document.body.style.overflow = isExpanded ? 'hidden' : ''; + } + + function closeMobileMenu() { + navToggle.classList.remove('active'); + navMenu.classList.remove('active'); + navbar.classList.remove('menu-open'); + navToggle.setAttribute('aria-expanded', 'false'); + document.body.style.overflow = ''; + } + + // Toggle menu on button click + if (navToggle) { + navToggle.addEventListener('click', toggleMobileMenu); + } + + // Close menu when clicking nav links + mobileNavLinks.forEach(link => { + link.addEventListener('click', closeMobileMenu); + }); + + // Close menu on escape key + document.addEventListener('keydown', function(e) { + if (e.key === 'Escape' && navMenu.classList.contains('active')) { + closeMobileMenu(); + } + }); + + // Close menu when clicking outside + document.addEventListener('click', function(e) { + if (!navToggle.contains(e.target) && !navMenu.contains(e.target) && navMenu.classList.contains('active')) { + closeMobileMenu(); + } + }); + + // Close mobile menu when navbar hides (scroll reactive) + const originalUpdateNavbarVisibility = updateNavbarVisibility; + updateNavbarVisibility = function() { + originalUpdateNavbarVisibility(); + if (navbar.classList.contains('hidden') && navMenu.classList.contains('active')) { + closeMobileMenu(); + } + }; + +});`},{path:"/templates/navigation.hbs",content:``},{path:"/templates/footer.hbs",content:`
+ + + +
`},{path:"/scripts/portfolio.js",content:`// Portfolio Filtering Functionality + +(function() { + let currentFilter = 'all'; + + function init() { + const filterButtons = document.querySelectorAll('.filter-btn'); + const portfolioItems = document.querySelectorAll('.portfolio-item'); + + if (!filterButtons.length || !portfolioItems.length) return; + + // Add event listeners to filter buttons + filterButtons.forEach(btn => { + btn.addEventListener('click', handleFilterClick); + }); + + // Show all items initially + showItems(portfolioItems, 'all'); + } + + function handleFilterClick(e) { + const button = e.target; + const filter = button.dataset.filter; + + if (!filter) return; + + // Update active button + document.querySelectorAll('.filter-btn').forEach(btn => { + btn.classList.remove('active'); + }); + button.classList.add('active'); + + // Filter and show items + const portfolioItems = document.querySelectorAll('.portfolio-item'); + showItems(portfolioItems, filter); + + currentFilter = filter; + } + + function showItems(items, filter) { + items.forEach(item => { + const itemCategory = item.dataset.category; + + if (filter === 'all' || itemCategory === filter) { + item.style.display = 'block'; + item.style.opacity = '0'; + + // Animate in + setTimeout(() => { + item.style.opacity = '1'; + item.style.transform = 'translateY(0)'; + }, 50); + } else { + item.style.opacity = '0'; + item.style.transform = 'translateY(20px)'; + + // Hide after animation + setTimeout(() => { + item.style.display = 'none'; + }, 300); + } + }); + } + + // Add smooth transitions to portfolio items + function addTransitions() { + const portfolioItems = document.querySelectorAll('.portfolio-item'); + portfolioItems.forEach(item => { + item.style.transition = 'opacity 0.3s ease, transform 0.3s ease'; + }); + } + + document.addEventListener('DOMContentLoaded', function() { + addTransitions(); + init(); + }); +})();`},{path:"/scripts/contact.js",content:`// Contact Form Validation and Submission + +(function() { + let form; + let submitButton; + let isSubmitting = false; + + function init() { + form = document.getElementById('contactForm'); + submitButton = form?.querySelector('button[type="submit"]'); + + if (!form || !submitButton) return; + + // Add event listeners + form.addEventListener('submit', handleSubmit); + + // Real-time validation + const inputs = form.querySelectorAll('input[required], textarea[required]'); + inputs.forEach(input => { + input.addEventListener('blur', validateField); + input.addEventListener('input', clearErrors); + }); + + // Email specific validation + const emailInput = form.querySelector('#email'); + if (emailInput) { + emailInput.addEventListener('blur', validateEmail); + } + } + + function handleSubmit(e) { + e.preventDefault(); + + if (isSubmitting) return; + + // Clear all previous errors + clearAllErrors(); + + // Validate all fields + const isValid = validateForm(); + + if (isValid) { + submitForm(); + } + } + + function validateForm() { + let isValid = true; + + // Required field validation + const requiredFields = [ + { id: 'name', name: 'Full Name' }, + { id: 'email', name: 'Email Address' }, + { id: 'message', name: 'Project Details' } + ]; + + requiredFields.forEach(field => { + const input = document.getElementById(field.id); + const value = input.value.trim(); + + if (!value) { + showError(field.id, \`\${field.name} is required\`); + isValid = false; + } + }); + + // Email format validation + const emailInput = document.getElementById('email'); + const emailValue = emailInput.value.trim(); + if (emailValue && !isValidEmail(emailValue)) { + showError('email', 'Please enter a valid email address'); + isValid = false; + } + + // Message length validation + const messageInput = document.getElementById('message'); + const messageValue = messageInput.value.trim(); + if (messageValue && messageValue.length < 20) { + showError('message', 'Please provide more details about your project (minimum 20 characters)'); + isValid = false; + } + + return isValid; + } + + function validateField(e) { + const field = e.target; + const value = field.value.trim(); + + clearErrors(e); + + if (field.hasAttribute('required') && !value) { + const fieldName = field.previousElementSibling.textContent.replace(' *', ''); + showError(field.id, \`\${fieldName} is required\`); + } + } + + function validateEmail(e) { + const emailInput = e.target; + const emailValue = emailInput.value.trim(); + + if (emailValue && !isValidEmail(emailValue)) { + showError('email', 'Please enter a valid email address'); + } + } + + function isValidEmail(email) { + const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/; + return emailRegex.test(email); + } + + function showError(fieldId, message) { + const field = document.getElementById(fieldId); + const formGroup = field.parentElement; + const errorElement = document.getElementById(fieldId + 'Error'); + + // Add error class to form group + formGroup.classList.add('error'); + formGroup.classList.remove('success'); + + // Show error message + if (errorElement) { + errorElement.textContent = message; + } + } + + function clearErrors(e) { + const field = e.target; + const formGroup = field.parentElement; + const errorElement = document.getElementById(field.id + 'Error'); + + // Remove error class + formGroup.classList.remove('error'); + + // Clear error message + if (errorElement) { + errorElement.textContent = ''; + } + + // Add success class if field has value and no errors + if (field.value.trim() && !formGroup.classList.contains('error')) { + formGroup.classList.add('success'); + } else { + formGroup.classList.remove('success'); + } + } + + function clearAllErrors() { + const errorMessages = form.querySelectorAll('.error-message'); + errorMessages.forEach(error => error.textContent = ''); + + const formGroups = form.querySelectorAll('.form-group'); + formGroups.forEach(group => { + group.classList.remove('error', 'success'); + }); + + // Hide success message + const successElement = document.getElementById('formSuccess'); + if (successElement) { + successElement.classList.remove('show'); + } + } + + function submitForm() { + if (isSubmitting) return; + + isSubmitting = true; + + // Add loading state + form.classList.add('loading'); + submitButton.disabled = true; + submitButton.textContent = 'Sending...'; + + // Collect form data + const formData = new FormData(form); + const data = { + name: formData.get('name'), + email: formData.get('email'), + company: formData.get('company'), + project: formData.get('project'), + budget: formData.get('budget'), + message: formData.get('message'), + newsletter: formData.get('newsletter') ? true : false, + timestamp: new Date().toISOString() + }; + + // Simulate form submission (replace with actual API call) + setTimeout(() => { + + // Show success message + showSuccess(); + + // Reset form + form.reset(); + clearAllErrors(); + + // Remove loading state + form.classList.remove('loading'); + submitButton.disabled = false; + submitButton.textContent = 'Send Message'; + + isSubmitting = false; + + // Auto-hide success message after 5 seconds + setTimeout(() => { + const successElement = document.getElementById('formSuccess'); + if (successElement) { + successElement.classList.remove('show'); + } + }, 5000); + + }, 2000); // Simulate network delay + } + + function showSuccess() { + const successElement = document.getElementById('formSuccess'); + if (successElement) { + successElement.classList.add('show'); + successElement.scrollIntoView({ behavior: 'smooth', block: 'nearest' }); + } + } + + // Initialize when DOM is ready + document.addEventListener('DOMContentLoaded', init); +})();`},{path:"/data.json",content:`{ + "siteName": "Example Studios", + "footerTagline": "Crafting digital experiences that inspire", + "navigation": [ + {"title": "Home", "url": "/"}, + {"title": "Portfolio", "url": "/portfolio.html"}, + {"title": "About", "url": "/about.html"}, + {"title": "Contact", "url": "/contact.html"} + ], + "social": [ + {"name": "Twitter", "url": "#", "icon": "𝕏"}, + {"name": "LinkedIn", "url": "#", "icon": "in"}, + {"name": "Instagram", "url": "#", "icon": "📷"}, + {"name": "GitHub", "url": "#", "icon": "⚡"} + ], + "services": [ + {"name": "Web Design", "url": "/portfolio.html"}, + {"name": "Development", "url": "/portfolio.html"}, + {"name": "Mobile Apps", "url": "/portfolio.html"}, + {"name": "Consulting", "url": "/portfolio.html"} + ], + "deepstudioLink": "https://huggingface.co/spaces/otst/oswstudio", + "deepstudioName": "OSW Studio", + "legalLinks": [ + {"name": "Privacy Policy", "url": "/privacy.html"}, + {"name": "Terms of Service", "url": "/terms.html"} + ] +}`},{path:"/assets/images/logo.svg",content:` + + + + + + + + + + + + +`},{path:"/assets/images/favicon.svg",content:` + + + + +`},{path:"/contact.html",content:` + + + + + Contact - Example Studios + + + + + + +
+
+
+

Let's Build Something Amazing

+

Ready to turn your ideas into reality? We'd love to hear about your project and show you how we can help.

+
+
+ +
+
+

Get In Touch

+

Ready to start your next project? Choose how you'd like to connect with us

+
+ +
+
+
Email
+

Send Us an Email

+

Drop us a line and we'll get back to you within 24 hours

+
hello@examplestudios.com
+ Send Email +
+ +
+
Phone
+

Give Us a Call

+

Speak directly with our team about your project

+
(555) 123-4567
+ Call Now +
+ +
+
Office
+

Visit Our Studio

+

Meet with us in person to discuss your vision

+
San Francisco, CA
By appointment only
+ Schedule Visit +
+
+
+ +
+
+

Start Your Project

+

Tell us about your vision and we'll get back to you within 24 hours

+
+ +
+
+
+
+ + + +
+ +
+ + + +
+
+ +
+ + + +
+ + + +
+
+ + + +
+

Thank you! We'll get back to you within 24 hours.

+
+
+
+
+ + +
+ + {{> footer}} + + + + +`},{path:"/privacy.html",content:` + + + + + Privacy Policy - Example Studios + + + + + {{> navigation}} + +
+
+
+

Privacy Policy

+

How we protect and handle your information

+
+
+ +
+
+

Last updated: December 2024

+ +

Overview

+

At Example Studios, we take your privacy seriously. This Privacy Policy explains how we collect, use, and protect your personal information when you use our services.

+ +

Information We Collect

+

We may collect the following types of information:

+
    +
  • Contact Information: Name, email address, phone number when you contact us
  • +
  • Project Information: Details about your project requirements and preferences
  • +
  • Usage Data: How you interact with our website for improving our services
  • +
+ +

How We Use Your Information

+

We use your information to:

+
    +
  • Provide and improve our design and development services
  • +
  • Communicate with you about your projects
  • +
  • Send you updates about our services (with your consent)
  • +
  • Analyze and improve our website and services
  • +
+ +

Information Sharing

+

We do not sell, trade, or otherwise transfer your personal information to third parties without your consent, except:

+
    +
  • To trusted service providers who help us operate our business
  • +
  • When required by law or to protect our rights
  • +
  • With your explicit consent
  • +
+ +

Data Security

+

We implement appropriate security measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction.

+ +

Your Rights

+

You have the right to:

+
    +
  • Access and review your personal information
  • +
  • Request corrections to your information
  • +
  • Request deletion of your information
  • +
  • Opt-out of marketing communications
  • +
+ +

Contact Us

+

If you have questions about this Privacy Policy, please contact us at:

+

+ Example Studios
+ Email: hello@examplestudios.com
+ Phone: (555) 123-4567 +

+
+
+ +
+
+

Ready to Build Something Amazing?

+

Let's turn your ideas into reality. We'd love to hear about your project.

+ Start Your Project +
+
+
+ + {{> footer}} + + + +`},{path:"/terms.html",content:` + + + + + Terms of Service - Example Studios + + + + + {{> navigation}} + +
+
+
+

Terms of Service

+

Our terms and conditions for working together

+
+
+ +
+
+

Last updated: December 2024

+ +

Agreement to Terms

+

By accessing and using Example Studios' services, you agree to be bound by these Terms of Service and all applicable laws and regulations.

+ +

Services

+

Example Studios provides web design, development, and digital consulting services. We reserve the right to modify or discontinue services with reasonable notice.

+ +

Client Responsibilities

+

As a client, you agree to:

+
    +
  • Provide accurate and complete information for your project
  • +
  • Respond to requests for feedback in a timely manner
  • +
  • Collaborate effectively throughout the project
  • +
  • Respect intellectual property rights
  • +
+ +

Project Process

+

Our typical process includes:

+
    +
  • Discovery: Understanding your requirements and goals
  • +
  • Proposal: Detailed scope, timeline, and pricing
  • +
  • Design & Development: Creating your solution
  • +
  • Review: Client feedback and revisions
  • +
  • Launch: Final delivery and launch support
  • +
+ +

Project Timeline

+
    +
  • Project schedules will be outlined in individual agreements
  • +
  • Milestone deliverables will be clearly defined
  • +
  • Regular progress updates will be provided
  • +
+ +

Intellectual Property

+

Upon project completion, clients receive ownership of custom work created specifically for their project, excluding any pre-existing intellectual property or third-party components.

+ +

Limitation of Liability

+

Example Studios' liability is limited to the amount paid for services. We are not responsible for indirect, incidental, or consequential damages.

+ +

Termination

+

Either party may terminate services with written notice. All completed work will be delivered upon termination.

+ +

Changes to Terms

+

We reserve the right to update these terms with reasonable notice to existing clients.

+ +

Contact

+

Questions about these terms? Contact us at:

+

+ Example Studios
+ Email: hello@examplestudios.com
+ Phone: (555) 123-4567 +

+
+
+
+ + {{> footer}} + + + +`},{path:"/portfolio/techflow-dashboard.html",content:` + + + + + TechFlow Dashboard - Example Studios + + + + + + +
+
+
+

TechFlow Dashboard

+

Modern analytics platform with real-time data visualization

+
+
+ +
+
+
+

Project Overview

+

A comprehensive analytics solution built for modern businesses

+
+ +
+
+
Challenge
+

Challenge

+

TechFlow needed a modern dashboard to visualize complex data streams in real-time, replacing their outdated reporting system with something more intuitive and scalable.

+
+ +
+
Solution
+

Solution

+

We designed and built a React-based dashboard with D3.js visualizations, featuring customizable widgets and real-time data updates via WebSocket connections.

+
+
+
+ +
+
+

Technology Stack

+
+
+
+
React
+

React

+

Modern component-based architecture for maintainable UI development

+
+ +
+
Data
+

D3.js

+

Custom data visualizations with smooth animations and interactions

+
+ +
+
Backend
+

Node.js

+

Robust backend API with real-time data processing capabilities

+
+
+
+ +
+
+

Results

+
+
+
Results
+

Impact & Performance

+

The new dashboard reduced report generation time by 75% and improved user engagement by 300%. Real-time updates eliminated the need for manual refreshes, and the intuitive interface reduced training time for new users.

+
+
+
+ +
+
+

Ready for Your Next Project?

+

Let's discuss how we can create a custom solution for your business needs.

+ Start Your Project +
+
+
+ + {{> footer}} + + + +`},{path:"/assets/README.md",content:`# Assets Directory + +This directory contains all static assets for the Example project. + +## Structure + +- \`/images/\` - Image files including: + - \`example-background.jpg\` - Hero section background image + - \`logo.svg\` - Site logo + - \`favicon.svg\` - Browser favicon + +## Background Image + +The \`example-background.jpg\` is automatically included when the demo project is created. It features a beautiful flowing gradient design that complements the orange (#ff7b00) and blue (#2563eb) color scheme. + +## File Types Supported + +The VFS system supports various file types: +- Images: PNG, JPG, JPEG, GIF, WebP, SVG, ICO +- Documents: HTML, CSS, JS, JSON, TXT, MD, XML +- Binary files up to 10MB + +This demonstrates the VFS capability to handle multiple file types and organize them in a structured directory system.`}],assets:[{filename:"example-background.jpg",path:"/assets/images/example-background.jpg"}]},e={name:"Barebones Project",description:"A minimal starting template",directories:["/styles","/scripts","/templates"],files:[{path:"/index.html",content:` + + + + + New Project + + + + {{> welcome-card}} + + + +`},{path:"/styles/style.css",content:`/* + * Your project styles start here. + * Use this file to customize typography, layout, and colors. + */ + +body { + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; + margin: 0; + padding: 2rem; + background: #f9fafb; + color: #0f172a; +} + +h1 { + font-size: 2.25rem; + margin-bottom: 0.5rem; +} + +p { + font-size: 1rem; + line-height: 1.6; +} + +.welcome-card { + /* Component styles can be added here */ +} +`},{path:"/scripts/main.js",content:`// Welcome to your project! +// Use this file to add interactivity to your pages. + +document.addEventListener('DOMContentLoaded', () => { + console.log('Project ready. Happy building!'); +}); +`},{path:"/templates/welcome-card.hbs",content:`
+

{{title}}

+

{{message}}

+
`},{path:"/data.json",content:`{ + "title": "Welcome", + "message": "Start building your website!" +}`}]};var f=c(49186);async function g(a,b,c,d){await f.$.runWithSuppressedDirty(b,async()=>{for(let d of c.directories)await a.createDirectory(b,d);for(let d of c.files){let c=d.content;if(d.isBase64){let a=atob(d.content),b=new Uint8Array(a.length);for(let c=0;c0)for(let c of d)try{let d=await fetch(`${window.location.origin}/${c.filename}`);if(d.ok){let e=await d.arrayBuffer();await a.createFile(b,c.path,e)}}catch(a){}})}let h=[{id:"blank",name:"Blank",description:"Minimal starting template with basic HTML/CSS/JS structure",isBuiltIn:!0,updatedAt:new Date("2025-01-01T00:00:00Z"),metadata:{author:"OSW Studio",tags:["starter","basic"]}},{id:"demo",name:"Example Studios",description:"Multi-page agency portfolio showcasing modern web development",isBuiltIn:!0,updatedAt:new Date("2025-01-01T00:00:00Z"),metadata:{author:"OSW Studio",tags:["portfolio","multi-page","example"]}}]},95919:(a,b,c)=>{c.d(b,{g:()=>k,C:()=>l});var d=c(21124),e=c(38301),f=c(47247),g=c(6027);c(2117),c(11482);var h=c(98763),i=c(49186);let j=(0,e.createContext)(null);function k({children:a}){let[b,k]=(0,e.useState)("idle"),[l,m]=(0,e.useState)(0),[n,o]=(0,e.useState)(0),[p,q]=(0,e.useState)([]),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)([]),[v,w]=(0,e.useState)(null),[x,y]=(0,e.useState)(null),[z,A]=(0,e.useState)({projectId:null,preCheckpointId:null,postCheckpointId:null,originalCss:null,updatedCss:null}),B=(0,e.useRef)(z),C=(0,e.useRef)(null),D=(0,e.useRef)(null),E=(0,e.useRef)(null),F=(0,e.useRef)(null),G=(0,e.useRef)(null),H=(0,e.useRef)(null),I=(0,e.useMemo)(()=>(function(a){if(!(a<0)&&!(a>=g.A.length))return g.A[a]})(l),[l]),J=(0,e.useCallback)(()=>{A({projectId:null,preCheckpointId:null,postCheckpointId:null,originalCss:null,updatedCss:null}),C.current=null,D.current=null,E.current=null,F.current=null},[]),K=(0,e.useCallback)(async()=>{"running"===b&&(k("idle"),await new Promise(a=>setTimeout(a,100)));try{let{vfs:a}=await Promise.resolve().then(c.bind(c,11482)),{createProjectFromTemplate:b}=await Promise.resolve().then(c.bind(c,69374)),{DEMO_PROJECT_TEMPLATE:d}=await Promise.resolve().then(c.bind(c,69374));await a.init();let e=await a.createProject("Example Studios (Tour)","Demo project for guided tour");await b(a,e.id,d,d.assets),y(e.id);let f=await a.listProjects();u(f),await new Promise(a=>setTimeout(a,100)),k("running"),m(0),o(a=>a+1),q([]),J()}catch(a){console.error("[Tour] Failed to create demo project:",a),k("running"),m(0),o(a=>a+1),q([]),J()}},[J,b]),L=(0,e.useCallback)(a=>{H.current=a},[]),M=(0,e.useCallback)(async(a="finish")=>{let b=B.current;if(b.projectId&&b.preCheckpointId&&b.postCheckpointId&&i.$.runWithSuppressedDirty(b.projectId,async()=>{await h.Y.restoreCheckpoint(b.preCheckpointId)}).then(()=>{}).catch(a=>{console.error("[GuidedTour] Failed to restore baseline during cleanup",a)}),x)try{let{vfs:a}=await Promise.resolve().then(c.bind(c,11482));await a.init(),(await a.listProjects()).filter(a=>a.id!==x).length>0&&await a.deleteProject(x)}catch(a){console.error("[GuidedTour] Failed to cleanup tour demo project",a)}J(),q([]),m(0),o(a=>a+1),k("finish"===a?"completed":"idle"),f.s.setHasSeenTour(!0),G.current?.abort(),H.current=null},[J,x,t]),N=(0,e.useCallback)(()=>{M("skip")},[M]),O=(0,e.useCallback)(()=>{m(a=>{let b=a+1;if(b>=g.A.length)return M(),a;let c=g.A[b];return c?.location==="workspace"&&x&&setTimeout(()=>{w(x)},100),o(a=>a+1),b})},[M,x]),P=(0,e.useCallback)(()=>{m(a=>{let b=Math.max(0,a-1);return b!==a&&o(a=>a+1),b})},[]),Q=(0,e.useMemo)(()=>({state:{status:b,stepIndex:l,stepKey:n,currentStep:I,transcript:p,isBusy:r,projectList:t,tourDemoProjectId:x},start:K,skip:N,next:O,previous:P,setProjectList:a=>{u(a)},setActiveProjectId:w,setTranscript:q,setWorkspaceHandler:L,setTourDemoProjectId:y}),[b,l,n,I,p,r,t,x,K,N,O,P,L]);return(0,d.jsx)(j.Provider,{value:Q,children:a})}function l(){let a=(0,e.useContext)(j);if(!a)throw Error("useGuidedTour must be used within a GuidedTourProvider");return a}},97518:(a,b,c)=>{c.d(b,{P:()=>o});var d=c(75234),e=c(74097),f=c(46422),g=c(15350),h=c(2510),i=c(80196),j=c(11082),k=c(43700),l=c(65828),m=c(86949),n=c(98688);let o=[{id:"whats-new",title:"What's New",icon:d.A,file:"WHATS_NEW.md"},{id:"overview",title:"Overview",icon:e.A,file:"OVERVIEW.md"},{id:"getting-started",title:"Getting Started",icon:f.A,file:"GETTING_STARTED.md"},{id:"projects",title:"Projects",icon:g.A,file:"PROJECTS.md"},{id:"working-with-ai",title:"Working with AI",icon:d.A,file:"WORKING_WITH_AI.md"},{id:"templates",title:"Templates",icon:h.A,file:"TEMPLATES.md"},{id:"skills",title:"Skills",icon:d.A,file:"SKILLS.md"},{id:"deploying-sites",title:"Deploying Sites",icon:i.A,file:"DEPLOYING_SITES.md"},{id:"server-mode",title:"Server Mode",icon:j.A,file:"SERVER_MODE.md"},{id:"site-publishing",title:"Site Publishing",icon:k.A,file:"SITE_PUBLISHING.md"},{id:"server-features",title:"Server Features",icon:l.A,file:"SERVER_FEATURES.md"},{id:"faq",title:"FAQ",icon:m.A,file:"FAQ.md"},{id:"troubleshooting",title:"Troubleshooting",icon:n.A,file:"TROUBLESHOOTING.md"}]}}; \ No newline at end of file diff --git a/.next/server/chunks/4390.js b/.next/server/chunks/4390.js deleted file mode 100644 index fbcd1039f718c8879048ec98203dc8f776233086..0000000000000000000000000000000000000000 --- a/.next/server/chunks/4390.js +++ /dev/null @@ -1,5 +0,0 @@ -exports.id=4390,exports.ids=[4390],exports.modules={2030:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function A(e,t){let n=e[0],r=t[0];if(Array.isArray(n)&&Array.isArray(r)){if(n[0]!==r[0]||n[2]!==r[2])return!0}else if(n!==r)return!0;if(e[4])return!t[4];if(t[4])return!0;let o=Object.values(e[1])[0],i=Object.values(t[1])[0];return!o||!i||A(o,i)}}}),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},2255:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return r}});let n=t(19169);function r(A,e){if("string"!=typeof A)return!1;let{pathname:t}=(0,n.parsePath)(A);return t===e||t.startsWith(e+"/")}},2943:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]])},2975:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},5144:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PromiseQueue",{enumerable:!0,get:function(){return s}});let n=t(51550),r=t(59656);var o=r._("_maxConcurrency"),i=r._("_runningCount"),a=r._("_queue"),l=r._("_processNext");class s{enqueue(A){let e,t,r=new Promise((A,n)=>{e=A,t=n}),o=async()=>{try{n._(this,i)[i]++;let t=await A();e(t)}catch(A){t(A)}finally{n._(this,i)[i]--,n._(this,l)[l]()}};return n._(this,a)[a].push({promiseFn:r,task:o}),n._(this,l)[l](),r}bump(A){let e=n._(this,a)[a].findIndex(e=>e.promiseFn===A);if(e>-1){let A=n._(this,a)[a].splice(e,1)[0];n._(this,a)[a].unshift(A),n._(this,l)[l](!0)}}constructor(A=5){Object.defineProperty(this,l,{value:u}),Object.defineProperty(this,o,{writable:!0,value:void 0}),Object.defineProperty(this,i,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),n._(this,o)[o]=A,n._(this,i)[i]=0,n._(this,a)[a]=[]}}function u(A){if(void 0===A&&(A=!1),(n._(this,i)[i]0){var e;null==(e=n._(this,a)[a].shift())||e.task()}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},5334:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{DYNAMIC_STALETIME_MS:function(){return f},STATIC_STALETIME_MS:function(){return d},createSeededPrefetchCacheEntry:function(){return s},getOrCreatePrefetchCacheEntry:function(){return l},prunePrefetchCache:function(){return c}});let n=t(59008),r=t(59154),o=t(75076);function i(A,e,t){let n=A.pathname;return(e&&(n+=A.search),t)?""+t+"%"+n:n}function a(A,e,t){return i(A,e===r.PrefetchKind.FULL,t)}function l(A){let{url:e,nextUrl:t,tree:n,prefetchCache:o,kind:a,allowAliasing:l=!0}=A,s=function(A,e,t,n,o){for(let a of(void 0===e&&(e=r.PrefetchKind.TEMPORARY),[t,null])){let t=i(A,!0,a),l=i(A,!1,a),s=A.search?t:l,u=n.get(s);if(u&&o){if(u.url.pathname===A.pathname&&u.url.search!==A.search)return{...u,aliased:!0};return u}let c=n.get(l);if(o&&A.search&&e!==r.PrefetchKind.FULL&&c&&!c.key.includes("%"))return{...c,aliased:!0}}if(e!==r.PrefetchKind.FULL&&o){for(let e of n.values())if(e.url.pathname===A.pathname&&!e.key.includes("%"))return{...e,aliased:!0}}}(e,a,t,o,l);return s?(s.status=h(s),s.kind!==r.PrefetchKind.FULL&&a===r.PrefetchKind.FULL&&s.data.then(A=>{if(!(Array.isArray(A.flightData)&&A.flightData.some(A=>A.isRootRender&&null!==A.seedData)))return u({tree:n,url:e,nextUrl:t,prefetchCache:o,kind:null!=a?a:r.PrefetchKind.TEMPORARY})}),a&&s.kind===r.PrefetchKind.TEMPORARY&&(s.kind=a),s):u({tree:n,url:e,nextUrl:t,prefetchCache:o,kind:a||r.PrefetchKind.TEMPORARY})}function s(A){let{nextUrl:e,tree:t,prefetchCache:n,url:o,data:i,kind:l}=A,s=i.couldBeIntercepted?a(o,l,e):a(o,l),u={treeAtTimeOfPrefetch:t,data:Promise.resolve(i),kind:l,prefetchTime:Date.now(),lastUsedTime:Date.now(),staleTime:i.staleTime,key:s,status:r.PrefetchCacheEntryStatus.fresh,url:o};return n.set(s,u),u}function u(A){let{url:e,kind:t,tree:i,nextUrl:l,prefetchCache:s}=A,u=a(e,t),c=o.prefetchQueue.enqueue(()=>(0,n.fetchServerResponse)(e,{flightRouterState:i,nextUrl:l,prefetchKind:t}).then(A=>{let t;if(A.couldBeIntercepted&&(t=function(A){let{url:e,nextUrl:t,prefetchCache:n,existingCacheKey:r}=A,o=n.get(r);if(!o)return;let i=a(e,o.kind,t);return n.set(i,{...o,key:i}),n.delete(r),i}({url:e,existingCacheKey:u,nextUrl:l,prefetchCache:s})),A.prerendered){let e=s.get(null!=t?t:u);e&&(e.kind=r.PrefetchKind.FULL,-1!==A.staleTime&&(e.staleTime=A.staleTime))}return A})),f={treeAtTimeOfPrefetch:i,data:c,kind:t,prefetchTime:Date.now(),lastUsedTime:null,staleTime:-1,key:u,status:r.PrefetchCacheEntryStatus.fresh,url:e};return s.set(u,f),f}function c(A){for(let[e,t]of A)h(t)===r.PrefetchCacheEntryStatus.expired&&A.delete(e)}let f=1e3*Number("0"),d=1e3*Number("300");function h(A){let{kind:e,prefetchTime:t,lastUsedTime:n,staleTime:o}=A;return -1!==o?Date.now(){"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("construction",[["rect",{x:"2",y:"6",width:"20",height:"8",rx:"1",key:"1estib"}],["path",{d:"M17 14v7",key:"7m2elx"}],["path",{d:"M7 14v7",key:"1cm7wv"}],["path",{d:"M17 3v3",key:"1v4jwn"}],["path",{d:"M7 3v3",key:"7o6guu"}],["path",{d:"M10 14 2.3 6.3",key:"1023jk"}],["path",{d:"m14 6 7.7 7.7",key:"1s8pl2"}],["path",{d:"m8 6 8 8",key:"hl96qh"}]])},6361:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assignLocation",{enumerable:!0,get:function(){return r}});let n=t(96127);function r(A,e){if(A.startsWith(".")){let t=e.origin+e.pathname;return new URL((t.endsWith("/")?t:t+"/")+A)}return new URL((0,n.addBasePath)(A),e.href)}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},6727:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},8819:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},8830:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"reducer",{enumerable:!0,get:function(){return n}}),t(59154),t(25232),t(29651),t(28627),t(78866),t(75076),t(97936),t(35429);let n=function(A,e){return A};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},9005:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},9707:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{addSearchParamsToPageSegments:function(){return c},handleAliasedPrefetchEntry:function(){return u}});let n=t(83913),r=t(89752),o=t(86770),i=t(57391),a=t(33123),l=t(33898),s=t(59435);function u(A,e,t,u,f){let d,h=e.tree,p=e.cache,g=(0,i.createHrefFromUrl)(u);if("string"==typeof t)return!1;for(let e of t){if(!function A(e){if(!e)return!1;let t=e[2];if(e[3])return!0;for(let e in t)if(A(t[e]))return!0;return!1}(e.seedData))continue;let t=e.tree;t=c(t,Object.fromEntries(u.searchParams));let{seedData:i,isRootRender:s,pathToSegment:f}=e,B=["",...f];t=c(t,Object.fromEntries(u.searchParams));let w=(0,o.applyRouterStatePatchToTree)(B,h,t,g),m=(0,r.createEmptyCacheNode)();if(s&&i){let e=i[1];m.loading=i[3],m.rsc=e,function A(e,t,r,o,i){if(0!==Object.keys(o[1]).length)for(let l in o[1]){let s,u=o[1][l],c=u[0],f=(0,a.createRouterCacheKey)(c),d=null!==i&&void 0!==i[2][l]?i[2][l]:null;if(null!==d){let A=d[1],t=d[3];s={lazyData:null,rsc:c.includes(n.PAGE_SEGMENT_KEY)?null:A,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:t,navigatedAt:e}}else s={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1};let h=t.parallelRoutes.get(l);h?h.set(f,s):t.parallelRoutes.set(l,new Map([[f,s]])),A(e,s,r,u,d)}}(A,m,p,t,i)}else m.rsc=p.rsc,m.prefetchRsc=p.prefetchRsc,m.loading=p.loading,m.parallelRoutes=new Map(p.parallelRoutes),(0,l.fillCacheWithNewSubTreeDataButOnlyLoading)(A,m,p,e);w&&(h=w,p=m,d=!0)}return!!d&&(f.patchedTree=h,f.cache=p,f.canonicalUrl=g,f.hashFragment=u.hash,(0,s.handleMutable)(e,f))}function c(A,e){let[t,r,...o]=A;if(t.includes(n.PAGE_SEGMENT_KEY))return[(0,n.addSearchParamsIfPageSegment)(t,e),r,...o];let i={};for(let[A,t]of Object.entries(r))i[A]=c(t,e);return[t,i,...o]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},9989:(A,e,t)=>{"use strict";t.d(e,{Kq:()=>j,UC:()=>X,ZL:()=>q,bL:()=>G,i3:()=>J,l9:()=>z});var n=t(43210),r=t(70569),o=t(98599),i=t(11273),a=t(31355),l=t(96963),s=t(55509),u=t(25028),c=t(46059),f=t(14163),d=t(8730),h=t(65551),p=t(69024),g=t(60687),[B,w]=(0,i.A)("Tooltip",[s.Bk]),m=(0,s.Bk)(),y="TooltipProvider",C="tooltip.open",[Q,U]=B(y),F=A=>{let{__scopeTooltip:e,delayDuration:t=700,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=A,a=n.useRef(!0),l=n.useRef(!1),s=n.useRef(0);return n.useEffect(()=>{let A=s.current;return()=>window.clearTimeout(A)},[]),(0,g.jsx)(Q,{scope:e,isOpenDelayedRef:a,delayDuration:t,onOpen:n.useCallback(()=>{window.clearTimeout(s.current),a.current=!1},[]),onClose:n.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:n.useCallback(A=>{l.current=A},[]),disableHoverableContent:o,children:i})};F.displayName=y;var v="Tooltip",[b,x]=B(v),E=A=>{let{__scopeTooltip:e,children:t,open:r,defaultOpen:o,onOpenChange:i,disableHoverableContent:a,delayDuration:u}=A,c=U(v,A.__scopeTooltip),f=m(e),[d,p]=n.useState(null),B=(0,l.B)(),w=n.useRef(0),y=a??c.disableHoverableContent,Q=u??c.delayDuration,F=n.useRef(!1),[x,E]=(0,h.i)({prop:r,defaultProp:o??!1,onChange:A=>{A?(c.onOpen(),document.dispatchEvent(new CustomEvent(C))):c.onClose(),i?.(A)},caller:v}),H=n.useMemo(()=>x?F.current?"delayed-open":"instant-open":"closed",[x]),I=n.useCallback(()=>{window.clearTimeout(w.current),w.current=0,F.current=!1,E(!0)},[E]),k=n.useCallback(()=>{window.clearTimeout(w.current),w.current=0,E(!1)},[E]),L=n.useCallback(()=>{window.clearTimeout(w.current),w.current=window.setTimeout(()=>{F.current=!0,E(!0),w.current=0},Q)},[Q,E]);return n.useEffect(()=>()=>{w.current&&(window.clearTimeout(w.current),w.current=0)},[]),(0,g.jsx)(s.bL,{...f,children:(0,g.jsx)(b,{scope:e,contentId:B,open:x,stateAttribute:H,trigger:d,onTriggerChange:p,onTriggerEnter:n.useCallback(()=>{c.isOpenDelayedRef.current?L():I()},[c.isOpenDelayedRef,L,I]),onTriggerLeave:n.useCallback(()=>{y?k():(window.clearTimeout(w.current),w.current=0)},[k,y]),onOpen:I,onClose:k,disableHoverableContent:y,children:t})})};E.displayName=v;var H="TooltipTrigger",I=n.forwardRef((A,e)=>{let{__scopeTooltip:t,...i}=A,a=x(H,t),l=U(H,t),u=m(t),c=n.useRef(null),d=(0,o.s)(e,c,a.onTriggerChange),h=n.useRef(!1),p=n.useRef(!1),B=n.useCallback(()=>h.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",B),[B]),(0,g.jsx)(s.Mz,{asChild:!0,...u,children:(0,g.jsx)(f.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...i,ref:d,onPointerMove:(0,r.mK)(A.onPointerMove,A=>{"touch"!==A.pointerType&&(p.current||l.isPointerInTransitRef.current||(a.onTriggerEnter(),p.current=!0))}),onPointerLeave:(0,r.mK)(A.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:(0,r.mK)(A.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",B,{once:!0})}),onFocus:(0,r.mK)(A.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,r.mK)(A.onBlur,a.onClose),onClick:(0,r.mK)(A.onClick,a.onClose)})})});I.displayName=H;var k="TooltipPortal",[L,M]=B(k,{forceMount:void 0}),D=A=>{let{__scopeTooltip:e,forceMount:t,children:n,container:r}=A,o=x(k,e);return(0,g.jsx)(L,{scope:e,forceMount:t,children:(0,g.jsx)(c.C,{present:t||o.open,children:(0,g.jsx)(u.Z,{asChild:!0,container:r,children:n})})})};D.displayName=k;var S="TooltipContent",T=n.forwardRef((A,e)=>{let t=M(S,A.__scopeTooltip),{forceMount:n=t.forceMount,side:r="top",...o}=A,i=x(S,A.__scopeTooltip);return(0,g.jsx)(c.C,{present:n||i.open,children:i.disableHoverableContent?(0,g.jsx)(N,{side:r,...o,ref:e}):(0,g.jsx)(K,{side:r,...o,ref:e})})}),K=n.forwardRef((A,e)=>{let t=x(S,A.__scopeTooltip),r=U(S,A.__scopeTooltip),i=n.useRef(null),a=(0,o.s)(e,i),[l,s]=n.useState(null),{trigger:u,onClose:c}=t,f=i.current,{onPointerInTransitChange:d}=r,h=n.useCallback(()=>{s(null),d(!1)},[d]),p=n.useCallback((A,e)=>{let t=A.currentTarget,n={x:A.clientX,y:A.clientY},r=function(A,e){let t=Math.abs(e.top-A.y),n=Math.abs(e.bottom-A.y),r=Math.abs(e.right-A.x),o=Math.abs(e.left-A.x);switch(Math.min(t,n,r,o)){case o:return"left";case r:return"right";case t:return"top";case n:return"bottom";default:throw Error("unreachable")}}(n,t.getBoundingClientRect());s(function(A){let e=A.slice();return e.sort((A,e)=>A.xe.x?1:A.ye.y)),function(A){if(A.length<=1)return A.slice();let e=[];for(let t=0;t=2;){let A=e[e.length-1],t=e[e.length-2];if((A.x-t.x)*(n.y-t.y)>=(A.y-t.y)*(n.x-t.x))e.pop();else break}e.push(n)}e.pop();let t=[];for(let e=A.length-1;e>=0;e--){let n=A[e];for(;t.length>=2;){let A=t[t.length-1],e=t[t.length-2];if((A.x-e.x)*(n.y-e.y)>=(A.y-e.y)*(n.x-e.x))t.pop();else break}t.push(n)}return(t.pop(),1===e.length&&1===t.length&&e[0].x===t[0].x&&e[0].y===t[0].y)?e:e.concat(t)}(e)}([...function(A,e,t=5){let n=[];switch(e){case"top":n.push({x:A.x-t,y:A.y+t},{x:A.x+t,y:A.y+t});break;case"bottom":n.push({x:A.x-t,y:A.y-t},{x:A.x+t,y:A.y-t});break;case"left":n.push({x:A.x+t,y:A.y-t},{x:A.x+t,y:A.y+t});break;case"right":n.push({x:A.x-t,y:A.y-t},{x:A.x-t,y:A.y+t})}return n}(n,r),...function(A){let{top:e,right:t,bottom:n,left:r}=A;return[{x:r,y:e},{x:t,y:e},{x:t,y:n},{x:r,y:n}]}(e.getBoundingClientRect())])),d(!0)},[d]);return n.useEffect(()=>()=>h(),[h]),n.useEffect(()=>{if(u&&f){let A=A=>p(A,f),e=A=>p(A,u);return u.addEventListener("pointerleave",A),f.addEventListener("pointerleave",e),()=>{u.removeEventListener("pointerleave",A),f.removeEventListener("pointerleave",e)}}},[u,f,p,h]),n.useEffect(()=>{if(l){let A=A=>{let e=A.target,t={x:A.clientX,y:A.clientY},n=u?.contains(e)||f?.contains(e),r=!function(A,e){let{x:t,y:n}=A,r=!1;for(let A=0,o=e.length-1;An!=c>n&&t<(u-l)*(n-s)/(c-s)+l&&(r=!r)}return r}(t,l);n?h():r&&(h(),c())};return document.addEventListener("pointermove",A),()=>document.removeEventListener("pointermove",A)}},[u,f,l,c,h]),(0,g.jsx)(N,{...A,ref:a})}),[P,R]=B(v,{isInside:!1}),O=(0,d.Dc)("TooltipContent"),N=n.forwardRef((A,e)=>{let{__scopeTooltip:t,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:l,...u}=A,c=x(S,t),f=m(t),{onClose:d}=c;return n.useEffect(()=>(document.addEventListener(C,d),()=>document.removeEventListener(C,d)),[d]),n.useEffect(()=>{if(c.trigger){let A=A=>{let e=A.target;e?.contains(c.trigger)&&d()};return window.addEventListener("scroll",A,{capture:!0}),()=>window.removeEventListener("scroll",A,{capture:!0})}},[c.trigger,d]),(0,g.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:A=>A.preventDefault(),onDismiss:d,children:(0,g.jsxs)(s.UC,{"data-state":c.stateAttribute,...f,...u,ref:e,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,g.jsx)(O,{children:r}),(0,g.jsx)(P,{scope:t,isInside:!0,children:(0,g.jsx)(p.bL,{id:c.contentId,role:"tooltip",children:o||r})})]})})});T.displayName=S;var _="TooltipArrow",V=n.forwardRef((A,e)=>{let{__scopeTooltip:t,...n}=A,r=m(t);return R(_,t).isInside?null:(0,g.jsx)(s.i3,{...r,...n,ref:e})});V.displayName=_;var j=F,G=E,z=I,q=D,X=T,J=V},10022:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},11120:function(A,e,t){"use strict";var n=(this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}})(t(65840)),r=t(86908);function o(A,e){var t={};return A&&"string"==typeof A&&(0,n.default)(A,function(A,n){A&&n&&(t[(0,r.camelCase)(A,e)]=n)}),t}o.default=o,A.exports=o},11437:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},11736:(A,e,t)=>{"use strict";t.d(e,{oz:()=>td});var n={};t.r(n),t.d(n,{boolean:()=>B,booleanish:()=>w,commaOrSpaceSeparated:()=>U,commaSeparated:()=>Q,number:()=>y,overloadedBoolean:()=>m,spaceSeparated:()=>C});var r={};t.r(r),t.d(r,{attentionMarkers:()=>eh,contentInitial:()=>el,disable:()=>ep,document:()=>ea,flow:()=>eu,flowInitial:()=>es,insideSpan:()=>ed,string:()=>ec,text:()=>ef});var o=t(41319);let i=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function s(A,e){return((e||l).jsx?a:i).test(A)}let u=/[ \t\n\f\r]/g;function c(A){return""===A.replace(u,"")}class f{constructor(A,e,t){this.normal=e,this.property=A,t&&(this.space=t)}}function d(A,e){let t={},n={};for(let e of A)Object.assign(t,e.property),Object.assign(n,e.normal);return new f(t,n,e)}function h(A){return A.toLowerCase()}f.prototype.normal={},f.prototype.property={},f.prototype.space=void 0;class p{constructor(A,e){this.attribute=e,this.property=A}}p.prototype.attribute="",p.prototype.booleanish=!1,p.prototype.boolean=!1,p.prototype.commaOrSpaceSeparated=!1,p.prototype.commaSeparated=!1,p.prototype.defined=!1,p.prototype.mustUseProperty=!1,p.prototype.number=!1,p.prototype.overloadedBoolean=!1,p.prototype.property="",p.prototype.spaceSeparated=!1,p.prototype.space=void 0;let g=0,B=F(),w=F(),m=F(),y=F(),C=F(),Q=F(),U=F();function F(){return 2**++g}let v=Object.keys(n);class b extends p{constructor(A,e,t,r){let o=-1;if(super(A,e),function(A,e,t){t&&(A[e]=t)}(this,"space",r),"number"==typeof t)for(;++o"role"===e?e:"aria-"+e.slice(4).toLowerCase()});function H(A,e){return e in A?A[e]:e}function I(A,e){return H(A,e.toLowerCase())}let k=x({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Q,acceptCharset:C,accessKey:C,action:null,allow:null,allowFullScreen:B,allowPaymentRequest:B,allowUserMedia:B,alt:null,as:null,async:B,autoCapitalize:null,autoComplete:C,autoFocus:B,autoPlay:B,blocking:C,capture:null,charSet:null,checked:B,cite:null,className:C,cols:y,colSpan:null,content:null,contentEditable:w,controls:B,controlsList:C,coords:y|Q,crossOrigin:null,data:null,dateTime:null,decoding:null,default:B,defer:B,dir:null,dirName:null,disabled:B,download:m,draggable:w,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:B,formTarget:null,headers:C,height:y,hidden:m,high:y,href:null,hrefLang:null,htmlFor:C,httpEquiv:C,id:null,imageSizes:null,imageSrcSet:null,inert:B,inputMode:null,integrity:null,is:null,isMap:B,itemId:null,itemProp:C,itemRef:C,itemScope:B,itemType:C,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:B,low:y,manifest:null,max:null,maxLength:y,media:null,method:null,min:null,minLength:y,multiple:B,muted:B,name:null,nonce:null,noModule:B,noValidate:B,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:B,optimum:y,pattern:null,ping:C,placeholder:null,playsInline:B,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:B,referrerPolicy:null,rel:C,required:B,reversed:B,rows:y,rowSpan:y,sandbox:C,scope:null,scoped:B,seamless:B,selected:B,shadowRootClonable:B,shadowRootDelegatesFocus:B,shadowRootMode:null,shape:null,size:y,sizes:null,slot:null,span:y,spellCheck:w,src:null,srcDoc:null,srcLang:null,srcSet:null,start:y,step:null,style:null,tabIndex:y,target:null,title:null,translate:null,type:null,typeMustMatch:B,useMap:null,value:w,width:y,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:C,axis:null,background:null,bgColor:null,border:y,borderColor:null,bottomMargin:y,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:B,declare:B,event:null,face:null,frame:null,frameBorder:null,hSpace:y,leftMargin:y,link:null,longDesc:null,lowSrc:null,marginHeight:y,marginWidth:y,noResize:B,noHref:B,noShade:B,noWrap:B,object:null,profile:null,prompt:null,rev:null,rightMargin:y,rules:null,scheme:null,scrolling:w,standby:null,summary:null,text:null,topMargin:y,valueType:null,version:null,vAlign:null,vLink:null,vSpace:y,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:B,disableRemotePlayback:B,prefix:null,property:null,results:y,security:null,unselectable:null},space:"html",transform:I}),L=x({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:U,accentHeight:y,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:y,amplitude:y,arabicForm:null,ascent:y,attributeName:null,attributeType:null,azimuth:y,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:y,by:null,calcMode:null,capHeight:y,className:C,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:y,diffuseConstant:y,direction:null,display:null,dur:null,divisor:y,dominantBaseline:null,download:B,dx:null,dy:null,edgeMode:null,editable:null,elevation:y,enableBackground:null,end:null,event:null,exponent:y,externalResourcesRequired:null,fill:null,fillOpacity:y,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Q,g2:Q,glyphName:Q,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:y,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:y,horizOriginX:y,horizOriginY:y,id:null,ideographic:y,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:y,k:y,k1:y,k2:y,k3:y,k4:y,kernelMatrix:U,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:y,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:y,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:y,overlineThickness:y,paintOrder:null,panose1:null,path:null,pathLength:y,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:C,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:y,pointsAtY:y,pointsAtZ:y,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:U,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:U,rev:U,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:U,requiredFeatures:U,requiredFonts:U,requiredFormats:U,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:y,specularExponent:y,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:y,strikethroughThickness:y,string:null,stroke:null,strokeDashArray:U,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:y,strokeOpacity:y,strokeWidth:null,style:null,surfaceScale:y,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:U,tabIndex:y,tableValues:null,target:null,targetX:y,targetY:y,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:U,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:y,underlineThickness:y,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:y,values:null,vAlphabetic:y,vMathematical:y,vectorEffect:null,vHanging:y,vIdeographic:y,version:null,vertAdvY:y,vertOriginX:y,vertOriginY:y,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:y,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:H}),M=x({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(A,e)=>"xlink:"+e.slice(5).toLowerCase()}),D=x({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:I}),S=x({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(A,e)=>"xml:"+e.slice(3).toLowerCase()}),T=d([E,k,M,D,S],"html"),K=d([E,L,M,D,S],"svg"),P=/[A-Z]/g,R=/-[a-z]/g,O=/^data[-\w.:]+$/i;function N(A){return"-"+A.toLowerCase()}function _(A){return A.charAt(1).toUpperCase()}let V={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var j=t(11120);let G=q("end"),z=q("start");function q(A){return function(e){let t=e&&e.position&&e.position[A]||{};if("number"==typeof t.line&&t.line>0&&"number"==typeof t.column&&t.column>0)return{line:t.line,column:t.column,offset:"number"==typeof t.offset&&t.offset>-1?t.offset:void 0}}}function X(A){return A&&"object"==typeof A?"position"in A||"type"in A?W(A.position):"start"in A||"end"in A?W(A):"line"in A||"column"in A?J(A):"":""}function J(A){return Y(A&&A.line)+":"+Y(A&&A.column)}function W(A){return J(A&&A.start)+"-"+J(A&&A.end)}function Y(A){return A&&"number"==typeof A?A:1}class Z extends Error{constructor(A,e,t){super(),"string"==typeof e&&(t=e,e=void 0);let n="",r={},o=!1;if(e&&(r="line"in e&&"column"in e||"start"in e&&"end"in e?{place:e}:"type"in e?{ancestors:[e],place:e.position}:{...e}),"string"==typeof A?n=A:!r.cause&&A&&(o=!0,n=A.message,r.cause=A),!r.ruleId&&!r.source&&"string"==typeof t){let A=t.indexOf(":");-1===A?r.ruleId=t:(r.source=t.slice(0,A),r.ruleId=t.slice(A+1))}if(!r.place&&r.ancestors&&r.ancestors){let A=r.ancestors[r.ancestors.length-1];A&&(r.place=A.position)}let i=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file="",this.message=n,this.line=i?i.line:void 0,this.name=X(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=o&&r.cause&&"string"==typeof r.cause.stack?r.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Z.prototype.file="",Z.prototype.name="",Z.prototype.reason="",Z.prototype.message="",Z.prototype.stack="",Z.prototype.column=void 0,Z.prototype.line=void 0,Z.prototype.ancestors=void 0,Z.prototype.cause=void 0,Z.prototype.fatal=void 0,Z.prototype.place=void 0,Z.prototype.ruleId=void 0,Z.prototype.source=void 0;let $={}.hasOwnProperty,AA=new Map,Ae=/[A-Z]/g,At=new Set(["table","tbody","thead","tfoot","tr"]),An=new Set(["td","th"]),Ar="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Ao(A,e,t){var n;return"element"===e.type?function(A,e,t){let n=A.schema,r=n;"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(A.schema=K),A.ancestors.push(e);let o=As(A,e.tagName,!1),i=function(A,e){let t,n,r={};for(n in e.properties)if("children"!==n&&$.call(e.properties,n)){let o=function(A,e,t){let n=function(A,e){let t=h(e),n=e,r=p;if(t in A.normal)return A.property[A.normal[t]];if(t.length>4&&"data"===t.slice(0,4)&&O.test(e)){if("-"===e.charAt(4)){let A=e.slice(5).replace(R,_);n="data"+A.charAt(0).toUpperCase()+A.slice(1)}else{let A=e.slice(4);if(!R.test(A)){let t=A.replace(P,N);"-"!==t.charAt(0)&&(t="-"+t),e="data"+t}}r=b}return new r(n,e)}(A.schema,e);if(!(null==t||"number"==typeof t&&Number.isNaN(t))){if(Array.isArray(t)&&(t=n.commaSeparated?function(A,e){let t={};return(""===A[A.length-1]?[...A,""]:A).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(t):t.join(" ").trim()),"style"===n.property){let e="object"==typeof t?t:function(A,e){try{return j(e,{reactCompat:!0})}catch(t){if(A.ignoreInvalidStyle)return{};let e=new Z("Cannot parse `style` attribute",{ancestors:A.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw e.file=A.filePath||void 0,e.url=Ar+"#cannot-parse-style-attribute",e}}(A,String(t));return"css"===A.stylePropertyNameCase&&(e=function(A){let e,t={};for(e in A)$.call(A,e)&&(t[function(A){let e=A.replace(Ae,Ac);return"ms-"===e.slice(0,3)&&(e="-"+e),e}(e)]=A[e]);return t}(e)),["style",e]}return["react"===A.elementAttributeNameCase&&n.space?V[n.property]||n.property:n.attribute,t]}}(A,n,e.properties[n]);if(o){let[n,i]=o;A.tableCellAlignToStyle&&"align"===n&&"string"==typeof i&&An.has(e.tagName)?t=i:r[n]=i}}return t&&((r.style||(r.style={}))["css"===A.stylePropertyNameCase?"text-align":"textAlign"]=t),r}(A,e),a=Al(A,e);return At.has(e.tagName)&&(a=a.filter(function(A){return"string"!=typeof A||!("object"==typeof A?"text"===A.type&&c(A.value):c(A))})),Ai(A,i,o,e),Aa(i,a),A.ancestors.pop(),A.schema=n,A.create(e,o,i,t)}(A,e,t):"mdxFlowExpression"===e.type||"mdxTextExpression"===e.type?function(A,e){if(e.data&&e.data.estree&&A.evaluater){let t=e.data.estree.body[0];return(0,o.ok)("ExpressionStatement"===t.type),A.evaluater.evaluateExpression(t.expression)}Au(A,e.position)}(A,e):"mdxJsxFlowElement"===e.type||"mdxJsxTextElement"===e.type?function(A,e,t){let n=A.schema,r=n;"svg"===e.name&&"html"===n.space&&(A.schema=K),A.ancestors.push(e);let i=null===e.name?A.Fragment:As(A,e.name,!0),a=function(A,e){let t={};for(let n of e.attributes)if("mdxJsxExpressionAttribute"===n.type)if(n.data&&n.data.estree&&A.evaluater){let e=n.data.estree.body[0];(0,o.ok)("ExpressionStatement"===e.type);let r=e.expression;(0,o.ok)("ObjectExpression"===r.type);let i=r.properties[0];(0,o.ok)("SpreadElement"===i.type),Object.assign(t,A.evaluater.evaluateExpression(i.argument))}else Au(A,e.position);else{let r,i=n.name;if(n.value&&"object"==typeof n.value)if(n.value.data&&n.value.data.estree&&A.evaluater){let e=n.value.data.estree.body[0];(0,o.ok)("ExpressionStatement"===e.type),r=A.evaluater.evaluateExpression(e.expression)}else Au(A,e.position);else r=null===n.value||n.value;t[i]=r}return t}(A,e),l=Al(A,e);return Ai(A,a,i,e),Aa(a,l),A.ancestors.pop(),A.schema=n,A.create(e,i,a,t)}(A,e,t):"mdxjsEsm"===e.type?function(A,e){if(e.data&&e.data.estree&&A.evaluater)return A.evaluater.evaluateProgram(e.data.estree);Au(A,e.position)}(A,e):"root"===e.type?function(A,e,t){let n={};return Aa(n,Al(A,e)),A.create(e,A.Fragment,n,t)}(A,e,t):"text"===e.type?(n=0,e.value):void 0}function Ai(A,e,t,n){"string"!=typeof t&&t!==A.Fragment&&A.passNode&&(e.node=n)}function Aa(A,e){if(e.length>0){let t=e.length>1?e:e[0];t&&(A.children=t)}}function Al(A,e){let t=[],n=-1,r=A.passKeys?new Map:AA;for(;++n=this.left.length+this.right.length)throw RangeError("Cannot access index `"+A+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Athis.left.length?this.right.slice(this.right.length-t+this.left.length,this.right.length-A+this.left.length).reverse():this.left.slice(A).concat(this.right.slice(this.right.length-t+this.left.length).reverse())}splice(A,e,t){this.setCursor(Math.trunc(A));let n=this.right.splice(this.right.length-(e||0),Number.POSITIVE_INFINITY);return t&&AB(this.left,t),n.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(A){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(A)}pushMany(A){this.setCursor(Number.POSITIVE_INFINITY),AB(this.left,A)}unshift(A){this.setCursor(0),this.right.push(A)}unshiftMany(A){this.setCursor(0),AB(this.right,A.reverse())}setCursor(A){if(A!==this.left.length&&(!(A>this.left.length)||0!==this.right.length)&&(!(A<0)||0!==this.left.length))if(An))return;let a=r.events.length,l=a;for(;l--;)if("exit"===r.events[l][0]&&"chunkFlow"===r.events[l][1].type){if(A){t=r.events[l][1].end;break}A=!0}for(g(i),o=a;oe;){let e=o[t];r.containerState=e[1],e[0].exit.call(r,A)}o.length=e}function B(){e.write([null]),t=void 0,e=void 0,r.containerState._closeFlow=void 0}}},AF={tokenize:function(A,e,t){return(0,Ay.N)(A,A.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var Av=t(41203);let Ab={resolve:function(A){return Aw(A),A},tokenize:function(A,e){let t;return function(e){return A.enter("content"),t=A.enter("chunkContent",{contentType:"content"}),n(e)};function n(e){return null===e?r(e):(0,AC.HP)(e)?A.check(Ax,o,r)(e):(A.consume(e),n)}function r(t){return A.exit("chunkContent"),A.exit("content"),e(t)}function o(e){return A.consume(e),A.exit("chunkContent"),t.next=A.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,n}}},Ax={partial:!0,tokenize:function(A,e,t){let n=this;return function(e){return A.exit("chunkContent"),A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),(0,Ay.N)(A,r,"linePrefix")};function r(r){if(null===r||(0,AC.HP)(r))return t(r);let o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(r):A.interrupt(n.parser.constructs.flow,t,e)(r)}}},AE={tokenize:function(A){let e=this,t=A.attempt(Av.B,function(n){return null===n?void A.consume(n):(A.enter("lineEndingBlank"),A.consume(n),A.exit("lineEndingBlank"),e.currentConstruct=void 0,t)},A.attempt(this.parser.constructs.flowInitial,n,(0,Ay.N)(A,A.attempt(this.parser.constructs.flow,n,A.attempt(Ab,n)),"linePrefix")));return t;function n(n){return null===n?void A.consume(n):(A.enter("lineEnding"),A.consume(n),A.exit("lineEnding"),e.currentConstruct=void 0,t)}}},AH={resolveAll:AM()},AI=AL("string"),Ak=AL("text");function AL(A){return{resolveAll:AM("text"===A?AD:void 0),tokenize:function(e){let t=this,n=this.parser.constructs[A],r=e.attempt(n,o,i);return o;function o(A){return l(A)?r(A):i(A)}function i(A){return null===A?void e.consume(A):(e.enter("data"),e.consume(A),a)}function a(A){return l(A)?(e.exit("data"),r(A)):(e.consume(A),a)}function l(A){if(null===A)return!0;let e=n[A],r=-1;if(e)for(;++r=3&&(null===i||(0,AC.HP)(i))?(A.exit("thematicBreak"),e(i)):t(i)}(i)}}},AT={continuation:{tokenize:function(A,e,t){let n=this;return n.containerState._closeFlow=void 0,A.check(Av.B,function(t){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,(0,Ay.N)(A,e,"listItemIndent",n.containerState.size+1)(t)},function(t){return n.containerState.furtherBlankLines||!(0,AC.On)(t)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,r(t)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,A.attempt(AP,e,r)(t))});function r(r){return n.containerState._closeFlow=!0,n.interrupt=void 0,(0,Ay.N)(A,A.attempt(AT,e,t),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(A){A.exit(this.containerState.type)},name:"list",tokenize:function(A,e,t){let n=this,r=n.events[n.events.length-1],o=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,i=0;return function(e){let r=n.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===r?!n.containerState.marker||e===n.containerState.marker:(0,AC.BM)(e)){if(n.containerState.type||(n.containerState.type=r,A.enter(r,{_container:!0})),"listUnordered"===r)return A.enter("listItemPrefix"),42===e||45===e?A.check(AS,t,a)(e):a(e);if(!n.interrupt||49===e)return A.enter("listItemPrefix"),A.enter("listItemValue"),function e(r){return(0,AC.BM)(r)&&++i<10?(A.consume(r),e):(!n.interrupt||i<2)&&(n.containerState.marker?r===n.containerState.marker:41===r||46===r)?(A.exit("listItemValue"),a(r)):t(r)}(e)}return t(e)};function a(e){return A.enter("listItemMarker"),A.consume(e),A.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||e,A.check(Av.B,n.interrupt?t:l,A.attempt(AK,u,s))}function l(A){return n.containerState.initialBlankLine=!0,o++,u(A)}function s(e){return(0,AC.On)(e)?(A.enter("listItemPrefixWhitespace"),A.consume(e),A.exit("listItemPrefixWhitespace"),u):t(e)}function u(t){return n.containerState.size=o+n.sliceSerialize(A.exit("listItemPrefix"),!0).length,e(t)}}},AK={partial:!0,tokenize:function(A,e,t){let n=this;return(0,Ay.N)(A,function(A){let r=n.events[n.events.length-1];return!(0,AC.On)(A)&&r&&"listItemPrefixWhitespace"===r[1].type?e(A):t(A)},"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},AP={partial:!0,tokenize:function(A,e,t){let n=this;return(0,Ay.N)(A,function(A){let r=n.events[n.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===n.containerState.size?e(A):t(A)},"listItemIndent",n.containerState.size+1)}},AR={continuation:{tokenize:function(A,e,t){let n=this;return function(e){return(0,AC.On)(e)?(0,Ay.N)(A,r,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):r(e)};function r(n){return A.attempt(AR,e,t)(n)}}},exit:function(A){A.exit("blockQuote")},name:"blockQuote",tokenize:function(A,e,t){let n=this;return function(e){if(62===e){let t=n.containerState;return t.open||(A.enter("blockQuote",{_container:!0}),t.open=!0),A.enter("blockQuotePrefix"),A.enter("blockQuoteMarker"),A.consume(e),A.exit("blockQuoteMarker"),r}return t(e)};function r(t){return(0,AC.On)(t)?(A.enter("blockQuotePrefixWhitespace"),A.consume(t),A.exit("blockQuotePrefixWhitespace"),A.exit("blockQuotePrefix"),e):(A.exit("blockQuotePrefix"),e(t))}}};function AO(A,e,t,n,r,o,i,a,l){let s=l||Number.POSITIVE_INFINITY,u=0;return function(e){return 60===e?(A.enter(n),A.enter(r),A.enter(o),A.consume(e),A.exit(o),c):null===e||32===e||41===e||(0,AC.JQ)(e)?t(e):(A.enter(n),A.enter(i),A.enter(a),A.enter("chunkString",{contentType:"string"}),h(e))};function c(t){return 62===t?(A.enter(o),A.consume(t),A.exit(o),A.exit(r),A.exit(n),e):(A.enter(a),A.enter("chunkString",{contentType:"string"}),f(t))}function f(e){return 62===e?(A.exit("chunkString"),A.exit(a),c(e)):null===e||60===e||(0,AC.HP)(e)?t(e):(A.consume(e),92===e?d:f)}function d(e){return 60===e||62===e||92===e?(A.consume(e),f):f(e)}function h(r){return!u&&(null===r||41===r||(0,AC.Ee)(r))?(A.exit("chunkString"),A.exit(a),A.exit(i),A.exit(n),e(r)):u999||null===c||91===c||93===c&&!i||94===c&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?t(c):93===c?(A.exit(o),A.enter(r),A.consume(c),A.exit(r),A.exit(n),e):(0,AC.HP)(c)?(A.enter("lineEnding"),A.consume(c),A.exit("lineEnding"),s):(A.enter("chunkString",{contentType:"string"}),u(c))}function u(e){return null===e||91===e||93===e||(0,AC.HP)(e)||l++>999?(A.exit("chunkString"),s(e)):(A.consume(e),i||(i=!(0,AC.On)(e)),92===e?c:u)}function c(e){return 91===e||92===e||93===e?(A.consume(e),l++,u):u(e)}}function A_(A,e,t,n,r,o){let i;return function(e){return 34===e||39===e||40===e?(A.enter(n),A.enter(r),A.consume(e),A.exit(r),i=40===e?41:e,a):t(e)};function a(t){return t===i?(A.enter(r),A.consume(t),A.exit(r),A.exit(n),e):(A.enter(o),l(t))}function l(e){return e===i?(A.exit(o),a(i)):null===e?t(e):(0,AC.HP)(e)?(A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),(0,Ay.N)(A,l,"linePrefix")):(A.enter("chunkString",{contentType:"string"}),s(e))}function s(e){return e===i||null===e||(0,AC.HP)(e)?(A.exit("chunkString"),l(e)):(A.consume(e),92===e?u:s)}function u(e){return e===i||92===e?(A.consume(e),s):s(e)}}function AV(A,e){let t;return function n(r){return(0,AC.HP)(r)?(A.enter("lineEnding"),A.consume(r),A.exit("lineEnding"),t=!0,n):(0,AC.On)(r)?(0,Ay.N)(A,n,t?"linePrefix":"lineSuffix")(r):e(r)}}var Aj=t(33502);let AG={partial:!0,tokenize:function(A,e,t){return function(e){return(0,AC.Ee)(e)?AV(A,n)(e):t(e)};function n(e){return A_(A,r,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function r(e){return(0,AC.On)(e)?(0,Ay.N)(A,o,"whitespace")(e):o(e)}function o(A){return null===A||(0,AC.HP)(A)?e(A):t(A)}}},Az={name:"codeIndented",tokenize:function(A,e,t){let n=this;return function(e){return A.enter("codeIndented"),(0,Ay.N)(A,r,"linePrefix",5)(e)};function r(e){let r=n.events[n.events.length-1];return r&&"linePrefix"===r[1].type&&r[2].sliceSerialize(r[1],!0).length>=4?function e(t){return null===t?o(t):(0,AC.HP)(t)?A.attempt(Aq,e,o)(t):(A.enter("codeFlowValue"),function t(n){return null===n||(0,AC.HP)(n)?(A.exit("codeFlowValue"),e(n)):(A.consume(n),t)}(t))}(e):t(e)}function o(t){return A.exit("codeIndented"),e(t)}}},Aq={partial:!0,tokenize:function(A,e,t){let n=this;return r;function r(e){return n.parser.lazy[n.now().line]?t(e):(0,AC.HP)(e)?(A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),r):(0,Ay.N)(A,o,"linePrefix",5)(e)}function o(A){let o=n.events[n.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?e(A):(0,AC.HP)(A)?r(A):t(A)}}},AX={name:"setextUnderline",resolveTo:function(A,e){let t,n,r,o=A.length;for(;o--;)if("enter"===A[o][0]){if("content"===A[o][1].type){t=o;break}"paragraph"===A[o][1].type&&(n=o)}else"content"===A[o][1].type&&A.splice(o,1),r||"definition"!==A[o][1].type||(r=o);let i={type:"setextHeading",start:{...A[t][1].start},end:{...A[A.length-1][1].end}};return A[n][1].type="setextHeadingText",r?(A.splice(n,0,["enter",i,e]),A.splice(r+1,0,["exit",A[t][1],e]),A[t][1].end={...A[r][1].end}):A[t][1]=i,A.push(["exit",i,e]),A},tokenize:function(A,e,t){let n,r=this;return function(e){var i;let a,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){a="paragraph"===r.events[l][1].type;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||a)?(A.enter("setextHeadingLine"),n=e,i=e,A.enter("setextHeadingLineSequence"),function e(t){return t===n?(A.consume(t),e):(A.exit("setextHeadingLineSequence"),(0,AC.On)(t)?(0,Ay.N)(A,o,"lineSuffix")(t):o(t))}(i)):t(e)};function o(n){return null===n||(0,AC.HP)(n)?(A.exit("setextHeadingLine"),e(n)):t(n)}}},AJ=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],AW=["pre","script","style","textarea"],AY={partial:!0,tokenize:function(A,e,t){return function(n){return A.enter("lineEnding"),A.consume(n),A.exit("lineEnding"),A.attempt(Av.B,e,t)}}},AZ={partial:!0,tokenize:function(A,e,t){let n=this;return function(e){return(0,AC.HP)(e)?(A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),r):t(e)};function r(A){return n.parser.lazy[n.now().line]?t(A):e(A)}}},A$={partial:!0,tokenize:function(A,e,t){let n=this;return function(e){return null===e?t(e):(A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),r)};function r(A){return n.parser.lazy[n.now().line]?t(A):e(A)}}},A0={concrete:!0,name:"codeFenced",tokenize:function(A,e,t){let n,r=this,o={partial:!0,tokenize:function(A,e,t){let o=0;return function(e){return A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),i};function i(e){return A.enter("codeFencedFence"),(0,AC.On)(e)?(0,Ay.N)(A,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):l(e)}function l(e){return e===n?(A.enter("codeFencedFenceSequence"),function e(r){return r===n?(o++,A.consume(r),e):o>=a?(A.exit("codeFencedFenceSequence"),(0,AC.On)(r)?(0,Ay.N)(A,s,"whitespace")(r):s(r)):t(r)}(e)):t(e)}function s(n){return null===n||(0,AC.HP)(n)?(A.exit("codeFencedFence"),e(n)):t(n)}}},i=0,a=0;return function(e){var o=e;let s=r.events[r.events.length-1];return i=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,n=o,A.enter("codeFenced"),A.enter("codeFencedFence"),A.enter("codeFencedFenceSequence"),function e(r){return r===n?(a++,A.consume(r),e):a<3?t(r):(A.exit("codeFencedFenceSequence"),(0,AC.On)(r)?(0,Ay.N)(A,l,"whitespace")(r):l(r))}(o)};function l(o){return null===o||(0,AC.HP)(o)?(A.exit("codeFencedFence"),r.interrupt?e(o):A.check(A$,u,h)(o)):(A.enter("codeFencedFenceInfo"),A.enter("chunkString",{contentType:"string"}),function e(r){return null===r||(0,AC.HP)(r)?(A.exit("chunkString"),A.exit("codeFencedFenceInfo"),l(r)):(0,AC.On)(r)?(A.exit("chunkString"),A.exit("codeFencedFenceInfo"),(0,Ay.N)(A,s,"whitespace")(r)):96===r&&r===n?t(r):(A.consume(r),e)}(o))}function s(e){return null===e||(0,AC.HP)(e)?l(e):(A.enter("codeFencedFenceMeta"),A.enter("chunkString",{contentType:"string"}),function e(r){return null===r||(0,AC.HP)(r)?(A.exit("chunkString"),A.exit("codeFencedFenceMeta"),l(r)):96===r&&r===n?t(r):(A.consume(r),e)}(e))}function u(e){return A.attempt(o,h,c)(e)}function c(e){return A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),f}function f(e){return i>0&&(0,AC.On)(e)?(0,Ay.N)(A,d,"linePrefix",i+1)(e):d(e)}function d(e){return null===e||(0,AC.HP)(e)?A.check(A$,u,h)(e):(A.enter("codeFlowValue"),function e(t){return null===t||(0,AC.HP)(t)?(A.exit("codeFlowValue"),d(t)):(A.consume(t),e)}(e))}function h(t){return A.exit("codeFenced"),e(t)}}},A1={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Abreve:"Ă",Acirc:"\xc2",Acy:"А",Afr:"\uD835\uDD04",Agrave:"\xc0",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"\uD835\uDD38",ApplyFunction:"⁡",Aring:"\xc5",Ascr:"\uD835\uDC9C",Assign:"≔",Atilde:"\xc3",Auml:"\xc4",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"\uD835\uDD05",Bopf:"\uD835\uDD39",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"\xa9",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"\xc7",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"\uD835\uDC9E",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"\uD835\uDD07",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"\uD835\uDD3B",Dot:"\xa8",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"\uD835\uDC9F",Dstrok:"Đ",ENG:"Ŋ",ETH:"\xd0",Eacute:"\xc9",Ecaron:"Ě",Ecirc:"\xca",Ecy:"Э",Edot:"Ė",Efr:"\uD835\uDD08",Egrave:"\xc8",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"\uD835\uDD3C",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"\xcb",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"\uD835\uDD09",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"\uD835\uDD3D",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"\uD835\uDD0A",Gg:"⋙",Gopf:"\uD835\uDD3E",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"\xcd",Icirc:"\xce",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"\xcc",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"\uD835\uDD40",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"\xcf",Jcirc:"Ĵ",Jcy:"Й",Jfr:"\uD835\uDD0D",Jopf:"\uD835\uDD41",Jscr:"\uD835\uDCA5",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"\uD835\uDD0E",Kopf:"\uD835\uDD42",Kscr:"\uD835\uDCA6",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"\uD835\uDD0F",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"\uD835\uDD43",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",MinusPlus:"∓",Mopf:"\uD835\uDD44",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"\uD835\uDD11",NoBreak:"⁠",NonBreakingSpace:"\xa0",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"\uD835\uDCA9",Ntilde:"\xd1",Nu:"Ν",OElig:"Œ",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"О",Odblac:"Ő",Ofr:"\uD835\uDD12",Ograve:"\xd2",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"\uD835\uDD46",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"\uD835\uDCAA",Oslash:"\xd8",Otilde:"\xd5",Otimes:"⨷",Ouml:"\xd6",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"\uD835\uDD13",Phi:"Φ",Pi:"Π",PlusMinus:"\xb1",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"\uD835\uDCAB",Psi:"Ψ",QUOT:'"',Qfr:"\uD835\uDD14",Qopf:"ℚ",Qscr:"\uD835\uDCAC",RBarr:"⤐",REG:"\xae",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"\uD835\uDD16",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"\uD835\uDD4A",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"\uD835\uDCAE",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"\xde",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"\uD835\uDD17",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"\uD835\uDD4B",TripleDot:"⃛",Tscr:"\uD835\uDCAF",Tstrok:"Ŧ",Uacute:"\xda",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"\xdb",Ucy:"У",Udblac:"Ű",Ufr:"\uD835\uDD18",Ugrave:"\xd9",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"\uD835\uDD4C",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"\uD835\uDCB0",Utilde:"Ũ",Uuml:"\xdc",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",Vopf:"\uD835\uDD4D",Vscr:"\uD835\uDCB1",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"\uD835\uDD1A",Wopf:"\uD835\uDD4E",Wscr:"\uD835\uDCB2",Xfr:"\uD835\uDD1B",Xi:"Ξ",Xopf:"\uD835\uDD4F",Xscr:"\uD835\uDCB3",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"\xdd",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"\uD835\uDD1C",Yopf:"\uD835\uDD50",Yscr:"\uD835\uDCB4",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"\uD835\uDCB5",aacute:"\xe1",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"\xe2",acute:"\xb4",acy:"а",aelig:"\xe6",af:"⁡",afr:"\uD835\uDD1E",agrave:"\xe0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",aopf:"\uD835\uDD52",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"\xe5",ascr:"\uD835\uDCB6",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",auml:"\xe4",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"\xe7",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",cfr:"\uD835\uDD20",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"\xae",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"\uD835\uDD54",coprod:"∐",copy:"\xa9",copysr:"℗",crarr:"↵",cross:"✗",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"\xb0",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"\xe9",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"\xea",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",eg:"⪚",egrave:"\xe8",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"\xf0",euml:"\xeb",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",horbar:"―",hscr:"\uD835\uDCBD",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"\xed",ic:"⁣",icirc:"\xee",icy:"и",iecy:"е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",igrave:"\xec",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"\uD835\uDD5A",iota:"ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"\xef",jcirc:"ĵ",jcy:"й",jfr:"\uD835\uDD27",jmath:"ȷ",jopf:"\uD835\uDD5B",jscr:"\uD835\uDCBF",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"\uD835\uDD28",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"\uD835\uDD5C",kscr:"\uD835\uDCC0",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"\xab",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",mp:"∓",mscr:"\uD835\uDCC2",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"\uD835\uDD5F",not:"\xac",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"\xf3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"\uD835\uDD2C",ogon:"˛",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"\xf8",osol:"⊘",otilde:"\xf5",otimes:"⊗",otimesas:"⨶",ouml:"\xf6",ovbar:"⌽",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",pointint:"⨕",popf:"\uD835\uDD61",pound:"\xa3",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",psi:"ψ",puncsp:" ",qfr:"\uD835\uDD2E",qint:"⨌",qopf:"\uD835\uDD62",qprime:"⁗",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"\uD835\uDCC7",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"\xad",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",tilde:"˜",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"\xfa",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"\xfb",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",ugrave:"\xf9",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"\xa8",uogon:"ų",uopf:"\uD835\uDD66",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"\uD835\uDCCA",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"\xa5",yfr:"\uD835\uDD36",yicy:"ї",yopf:"\uD835\uDD6A",yscr:"\uD835\uDCCE",yucy:"ю",yuml:"\xff",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"\uD835\uDD37",zhcy:"ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"},A2={}.hasOwnProperty;function A4(A){return!!A2.call(A1,A)&&A1[A]}let A3={name:"characterReference",tokenize:function(A,e,t){let n,r,o=this,i=0;return function(e){return A.enter("characterReference"),A.enter("characterReferenceMarker"),A.consume(e),A.exit("characterReferenceMarker"),a};function a(e){return 35===e?(A.enter("characterReferenceMarkerNumeric"),A.consume(e),A.exit("characterReferenceMarkerNumeric"),l):(A.enter("characterReferenceValue"),n=31,r=AC.lV,s(e))}function l(e){return 88===e||120===e?(A.enter("characterReferenceMarkerHexadecimal"),A.consume(e),A.exit("characterReferenceMarkerHexadecimal"),A.enter("characterReferenceValue"),n=6,r=AC.ok,s):(A.enter("characterReferenceValue"),n=7,r=AC.BM,s(e))}function s(a){if(59===a&&i){let n=A.exit("characterReferenceValue");return r!==AC.lV||A4(o.sliceSerialize(n))?(A.enter("characterReferenceMarker"),A.consume(a),A.exit("characterReferenceMarker"),A.exit("characterReference"),e):t(a)}return r(a)&&i++1&&A[u][1].end.offset-A[u][1].start.offset>1?2:1;let c={...A[t][1].end},f={...A[u][1].start};eo(c,-a),eo(f,a),o={type:a>1?"strongSequence":"emphasisSequence",start:c,end:{...A[t][1].end}},i={type:a>1?"strongSequence":"emphasisSequence",start:{...A[u][1].start},end:f},r={type:a>1?"strongText":"emphasisText",start:{...A[t][1].end},end:{...A[u][1].start}},n={type:a>1?"strong":"emphasis",start:{...o.start},end:{...i.end}},A[t][1].end={...o.start},A[u][1].start={...i.end},l=[],A[t][1].end.offset-A[t][1].start.offset&&(l=(0,Ap.V)(l,[["enter",A[t][1],e],["exit",A[t][1],e]])),l=(0,Ap.V)(l,[["enter",n,e],["enter",o,e],["exit",o,e],["enter",r,e]]),l=(0,Ap.V)(l,(0,A8.W)(e.parser.constructs.insideSpan.null,A.slice(t+1,u),e)),l=(0,Ap.V)(l,[["exit",r,e],["enter",i,e],["exit",i,e],["exit",n,e]]),A[u][1].end.offset-A[u][1].start.offset?(s=2,l=(0,Ap.V)(l,[["enter",A[u][1],e],["exit",A[u][1],e]])):s=0,(0,Ap.m)(A,t-1,u-t+3,l),u=t+l.length-s-2;break}}for(u=-1;++uo&&"whitespace"===A[r][1].type&&(r-=2),"atxHeadingSequence"===A[r][1].type&&(o===r-1||r-4>o&&"whitespace"===A[r-2][1].type)&&(r-=o+1===r?2:4),r>o&&(t={type:"atxHeadingText",start:A[o][1].start,end:A[r][1].end},n={type:"chunkText",start:A[o][1].start,end:A[r][1].end,contentType:"text"},(0,Ap.m)(A,o,r-o+1,[["enter",t,e],["enter",n,e],["exit",n,e],["exit",t,e]])),A},tokenize:function(A,e,t){let n=0;return function(r){var o;return A.enter("atxHeading"),o=r,A.enter("atxHeadingSequence"),function r(o){return 35===o&&n++<6?(A.consume(o),r):null===o||(0,AC.Ee)(o)?(A.exit("atxHeadingSequence"),function t(n){return 35===n?(A.enter("atxHeadingSequence"),function e(n){return 35===n?(A.consume(n),e):(A.exit("atxHeadingSequence"),t(n))}(n)):null===n||(0,AC.HP)(n)?(A.exit("atxHeading"),e(n)):(0,AC.On)(n)?(0,Ay.N)(A,t,"whitespace")(n):(A.enter("atxHeadingText"),function e(n){return null===n||35===n||(0,AC.Ee)(n)?(A.exit("atxHeadingText"),t(n)):(A.consume(n),e)}(n))}(o)):t(o)}(o)}}},42:AS,45:[AX,AS],60:{concrete:!0,name:"htmlFlow",resolveTo:function(A){let e=A.length;for(;e--&&("enter"!==A[e][0]||"htmlFlow"!==A[e][1].type););return e>1&&"linePrefix"===A[e-2][1].type&&(A[e][1].start=A[e-2][1].start,A[e+1][1].start=A[e-2][1].start,A.splice(e-2,2)),A},tokenize:function(A,e,t){let n,r,o,i,a,l=this;return function(e){var t;return t=e,A.enter("htmlFlow"),A.enter("htmlFlowData"),A.consume(t),s};function s(i){return 33===i?(A.consume(i),u):47===i?(A.consume(i),r=!0,d):63===i?(A.consume(i),n=3,l.interrupt?e:L):(0,AC.CW)(i)?(A.consume(i),o=String.fromCharCode(i),h):t(i)}function u(r){return 45===r?(A.consume(r),n=2,c):91===r?(A.consume(r),n=5,i=0,f):(0,AC.CW)(r)?(A.consume(r),n=4,l.interrupt?e:L):t(r)}function c(n){return 45===n?(A.consume(n),l.interrupt?e:L):t(n)}function f(n){let r="CDATA[";return n===r.charCodeAt(i++)?(A.consume(n),i===r.length)?l.interrupt?e:F:f:t(n)}function d(e){return(0,AC.CW)(e)?(A.consume(e),o=String.fromCharCode(e),h):t(e)}function h(i){if(null===i||47===i||62===i||(0,AC.Ee)(i)){let a=47===i,s=o.toLowerCase();return!a&&!r&&AW.includes(s)?(n=1,l.interrupt?e(i):F(i)):AJ.includes(o.toLowerCase())?(n=6,a)?(A.consume(i),p):l.interrupt?e(i):F(i):(n=7,l.interrupt&&!l.parser.lazy[l.now().line]?t(i):r?function e(t){return(0,AC.On)(t)?(A.consume(t),e):Q(t)}(i):g(i))}return 45===i||(0,AC.lV)(i)?(A.consume(i),o+=String.fromCharCode(i),h):t(i)}function p(n){return 62===n?(A.consume(n),l.interrupt?e:F):t(n)}function g(e){return 47===e?(A.consume(e),Q):58===e||95===e||(0,AC.CW)(e)?(A.consume(e),B):(0,AC.On)(e)?(A.consume(e),g):Q(e)}function B(e){return 45===e||46===e||58===e||95===e||(0,AC.lV)(e)?(A.consume(e),B):w(e)}function w(e){return 61===e?(A.consume(e),m):(0,AC.On)(e)?(A.consume(e),w):g(e)}function m(e){return null===e||60===e||61===e||62===e||96===e?t(e):34===e||39===e?(A.consume(e),a=e,y):(0,AC.On)(e)?(A.consume(e),m):function e(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||(0,AC.Ee)(t)?w(t):(A.consume(t),e)}(e)}function y(e){return e===a?(A.consume(e),a=null,C):null===e||(0,AC.HP)(e)?t(e):(A.consume(e),y)}function C(A){return 47===A||62===A||(0,AC.On)(A)?g(A):t(A)}function Q(e){return 62===e?(A.consume(e),U):t(e)}function U(e){return null===e||(0,AC.HP)(e)?F(e):(0,AC.On)(e)?(A.consume(e),U):t(e)}function F(e){return 45===e&&2===n?(A.consume(e),E):60===e&&1===n?(A.consume(e),H):62===e&&4===n?(A.consume(e),M):63===e&&3===n?(A.consume(e),L):93===e&&5===n?(A.consume(e),k):(0,AC.HP)(e)&&(6===n||7===n)?(A.exit("htmlFlowData"),A.check(AY,D,v)(e)):null===e||(0,AC.HP)(e)?(A.exit("htmlFlowData"),v(e)):(A.consume(e),F)}function v(e){return A.check(AZ,b,D)(e)}function b(e){return A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),x}function x(e){return null===e||(0,AC.HP)(e)?v(e):(A.enter("htmlFlowData"),F(e))}function E(e){return 45===e?(A.consume(e),L):F(e)}function H(e){return 47===e?(A.consume(e),o="",I):F(e)}function I(e){if(62===e){let t=o.toLowerCase();return AW.includes(t)?(A.consume(e),M):F(e)}return(0,AC.CW)(e)&&o.length<8?(A.consume(e),o+=String.fromCharCode(e),I):F(e)}function k(e){return 93===e?(A.consume(e),L):F(e)}function L(e){return 62===e?(A.consume(e),M):45===e&&2===n?(A.consume(e),L):F(e)}function M(e){return null===e||(0,AC.HP)(e)?(A.exit("htmlFlowData"),D(e)):(A.consume(e),M)}function D(t){return A.exit("htmlFlow"),e(t)}}},61:AX,95:AS,96:A0,126:A0},ec={38:A3,92:A5},ef={[-5]:A6,[-4]:A6,[-3]:A6,33:et,38:A3,42:er,60:[{name:"autolink",tokenize:function(A,e,t){let n=0;return function(e){return A.enter("autolink"),A.enter("autolinkMarker"),A.consume(e),A.exit("autolinkMarker"),A.enter("autolinkProtocol"),r};function r(e){return(0,AC.CW)(e)?(A.consume(e),o):64===e?t(e):a(e)}function o(e){return 43===e||45===e||46===e||(0,AC.lV)(e)?(n=1,function e(t){return 58===t?(A.consume(t),n=0,i):(43===t||45===t||46===t||(0,AC.lV)(t))&&n++<32?(A.consume(t),e):(n=0,a(t))}(e)):a(e)}function i(n){return 62===n?(A.exit("autolinkProtocol"),A.enter("autolinkMarker"),A.consume(n),A.exit("autolinkMarker"),A.exit("autolink"),e):null===n||32===n||60===n||(0,AC.JQ)(n)?t(n):(A.consume(n),i)}function a(e){return 64===e?(A.consume(e),l):(0,AC.cx)(e)?(A.consume(e),a):t(e)}function l(r){return(0,AC.lV)(r)?function r(o){return 46===o?(A.consume(o),n=0,l):62===o?(A.exit("autolinkProtocol").type="autolinkEmail",A.enter("autolinkMarker"),A.consume(o),A.exit("autolinkMarker"),A.exit("autolink"),e):function e(o){if((45===o||(0,AC.lV)(o))&&n++<63){let t=45===o?e:r;return A.consume(o),t}return t(o)}(o)}(r):t(r)}}},{name:"htmlText",tokenize:function(A,e,t){let n,r,o,i=this;return function(e){return A.enter("htmlText"),A.enter("htmlTextData"),A.consume(e),a};function a(e){return 33===e?(A.consume(e),l):47===e?(A.consume(e),y):63===e?(A.consume(e),w):(0,AC.CW)(e)?(A.consume(e),Q):t(e)}function l(e){return 45===e?(A.consume(e),s):91===e?(A.consume(e),r=0,d):(0,AC.CW)(e)?(A.consume(e),B):t(e)}function s(e){return 45===e?(A.consume(e),f):t(e)}function u(e){return null===e?t(e):45===e?(A.consume(e),c):(0,AC.HP)(e)?(o=u,I(e)):(A.consume(e),u)}function c(e){return 45===e?(A.consume(e),f):u(e)}function f(A){return 62===A?H(A):45===A?c(A):u(A)}function d(e){let n="CDATA[";return e===n.charCodeAt(r++)?(A.consume(e),r===n.length?h:d):t(e)}function h(e){return null===e?t(e):93===e?(A.consume(e),p):(0,AC.HP)(e)?(o=h,I(e)):(A.consume(e),h)}function p(e){return 93===e?(A.consume(e),g):h(e)}function g(e){return 62===e?H(e):93===e?(A.consume(e),g):h(e)}function B(e){return null===e||62===e?H(e):(0,AC.HP)(e)?(o=B,I(e)):(A.consume(e),B)}function w(e){return null===e?t(e):63===e?(A.consume(e),m):(0,AC.HP)(e)?(o=w,I(e)):(A.consume(e),w)}function m(A){return 62===A?H(A):w(A)}function y(e){return(0,AC.CW)(e)?(A.consume(e),C):t(e)}function C(e){return 45===e||(0,AC.lV)(e)?(A.consume(e),C):function e(t){return(0,AC.HP)(t)?(o=e,I(t)):(0,AC.On)(t)?(A.consume(t),e):H(t)}(e)}function Q(e){return 45===e||(0,AC.lV)(e)?(A.consume(e),Q):47===e||62===e||(0,AC.Ee)(e)?U(e):t(e)}function U(e){return 47===e?(A.consume(e),H):58===e||95===e||(0,AC.CW)(e)?(A.consume(e),F):(0,AC.HP)(e)?(o=U,I(e)):(0,AC.On)(e)?(A.consume(e),U):H(e)}function F(e){return 45===e||46===e||58===e||95===e||(0,AC.lV)(e)?(A.consume(e),F):function e(t){return 61===t?(A.consume(t),v):(0,AC.HP)(t)?(o=e,I(t)):(0,AC.On)(t)?(A.consume(t),e):U(t)}(e)}function v(e){return null===e||60===e||61===e||62===e||96===e?t(e):34===e||39===e?(A.consume(e),n=e,b):(0,AC.HP)(e)?(o=v,I(e)):(0,AC.On)(e)?(A.consume(e),v):(A.consume(e),x)}function b(e){return e===n?(A.consume(e),n=void 0,E):null===e?t(e):(0,AC.HP)(e)?(o=b,I(e)):(A.consume(e),b)}function x(e){return null===e||34===e||39===e||60===e||61===e||96===e?t(e):47===e||62===e||(0,AC.Ee)(e)?U(e):(A.consume(e),x)}function E(A){return 47===A||62===A||(0,AC.Ee)(A)?U(A):t(A)}function H(n){return 62===n?(A.consume(n),A.exit("htmlTextData"),A.exit("htmlText"),e):t(n)}function I(e){return A.exit("htmlTextData"),A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),k}function k(e){return(0,AC.On)(e)?(0,Ay.N)(A,L,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):L(e)}function L(e){return A.enter("htmlTextData"),o(e)}}}],91:ei,92:[{name:"hardBreakEscape",tokenize:function(A,e,t){return function(e){return A.enter("hardBreakEscape"),A.consume(e),n};function n(n){return(0,AC.HP)(n)?(A.exit("hardBreakEscape"),e(n)):t(n)}}},A5],93:A9,95:er,96:{name:"codeText",previous:function(A){return 96!==A||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(A){let e,t,n=A.length-4,r=3;if(("lineEnding"===A[3][1].type||"space"===A[r][1].type)&&("lineEnding"===A[n][1].type||"space"===A[n][1].type)){for(e=r;++e13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(65535&t)==65535||(65535&t)==65534||t>1114111?"�":String.fromCodePoint(t)}let ew=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function em(A,e,t){if(e)return e;if(35===t.charCodeAt(0)){let A=t.charCodeAt(1),e=120===A||88===A;return eB(t.slice(e?2:1),e?16:10)}return A4(t)||A}let ey={}.hasOwnProperty;function eC(A){return{line:A.line,column:A.column,offset:A.offset}}function eQ(A,e){if(A)throw Error("Cannot close `"+A.type+"` ("+X({start:A.start,end:A.end})+"): a different token (`"+e.type+"`, "+X({start:e.start,end:e.end})+") is open");throw Error("Cannot close document, a token (`"+e.type+"`, "+X({start:e.start,end:e.end})+") is still open")}function eU(A){let e=this;e.parser=function(t){var n,o;let i,a,l,s;return"string"!=typeof(n={...e.data("settings"),...A,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})&&(o=n,n=void 0),(function(A){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:n(B),autolinkProtocol:s,autolinkEmail:s,atxHeading:n(h),blockQuote:n(function(){return{type:"blockquote",children:[]}}),characterEscape:s,characterReference:s,codeFenced:n(d),codeFencedFenceInfo:r,codeFencedFenceMeta:r,codeIndented:n(d,r),codeText:n(function(){return{type:"inlineCode",value:""}},r),codeTextData:s,data:s,codeFlowValue:s,definition:n(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:r,definitionLabelString:r,definitionTitleString:r,emphasis:n(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:n(p),hardBreakTrailing:n(p),htmlFlow:n(g,r),htmlFlowData:s,htmlText:n(g,r),htmlTextData:s,image:n(function(){return{type:"image",title:null,url:"",alt:null}}),label:r,link:n(B),listItem:n(function(A){return{type:"listItem",spread:A._spread,checked:null,children:[]}}),listItemValue:function(A){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(A),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:n(w,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:n(w),paragraph:n(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:r,resourceDestinationString:r,resourceTitleString:r,setextHeading:n(h),strong:n(function(){return{type:"strong",children:[]}}),thematicBreak:n(function(){return{type:"thematicBreak"}})},exit:{atxHeading:i(),atxHeadingSequence:function(A){let e=this.stack[this.stack.length-1];e.depth||(e.depth=this.sliceSerialize(A).length)},autolink:i(),autolinkEmail:function(A){u.call(this,A),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(A)},autolinkProtocol:function(A){u.call(this,A),this.stack[this.stack.length-1].url=this.sliceSerialize(A)},blockQuote:i(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(A){let e,t=this.sliceSerialize(A),n=this.data.characterReferenceType;n?(e=eB(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):e=A4(t);let r=this.stack[this.stack.length-1];r.value+=e},characterReference:function(A){this.stack.pop().position.end=eC(A.end)},codeFenced:i(function(){let A=this.resume();this.stack[this.stack.length-1].value=A.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let A=this.resume();this.stack[this.stack.length-1].lang=A},codeFencedFenceMeta:function(){let A=this.resume();this.stack[this.stack.length-1].meta=A},codeFlowValue:u,codeIndented:i(function(){let A=this.resume();this.stack[this.stack.length-1].value=A.replace(/(\r?\n|\r)$/g,"")}),codeText:i(function(){let A=this.resume();this.stack[this.stack.length-1].value=A}),codeTextData:u,data:u,definition:i(),definitionDestinationString:function(){let A=this.resume();this.stack[this.stack.length-1].url=A},definitionLabelString:function(A){let e=this.resume(),t=this.stack[this.stack.length-1];t.label=e,t.identifier=(0,Aj.B)(this.sliceSerialize(A)).toLowerCase()},definitionTitleString:function(){let A=this.resume();this.stack[this.stack.length-1].title=A},emphasis:i(),hardBreakEscape:i(c),hardBreakTrailing:i(c),htmlFlow:i(function(){let A=this.resume();this.stack[this.stack.length-1].value=A}),htmlFlowData:u,htmlText:i(function(){let A=this.resume();this.stack[this.stack.length-1].value=A}),htmlTextData:u,image:i(function(){let A=this.stack[this.stack.length-1];if(this.data.inReference){let e=this.data.referenceType||"shortcut";A.type+="Reference",A.referenceType=e,delete A.url,delete A.title}else delete A.identifier,delete A.label;this.data.referenceType=void 0}),label:function(){let A=this.stack[this.stack.length-1],e=this.resume(),t=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===t.type?t.children=A.children:t.alt=e},labelText:function(A){let e=this.sliceSerialize(A),t=this.stack[this.stack.length-2];t.label=e.replace(ew,em),t.identifier=(0,Aj.B)(e).toLowerCase()},lineEnding:function(A){let t=this.stack[this.stack.length-1];if(this.data.atHardBreak){t.children[t.children.length-1].position.end=eC(A.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(t.type)&&(s.call(this,A),u.call(this,A))},link:i(function(){let A=this.stack[this.stack.length-1];if(this.data.inReference){let e=this.data.referenceType||"shortcut";A.type+="Reference",A.referenceType=e,delete A.url,delete A.title}else delete A.identifier,delete A.label;this.data.referenceType=void 0}),listItem:i(),listOrdered:i(),listUnordered:i(),paragraph:i(),referenceString:function(A){let e=this.resume(),t=this.stack[this.stack.length-1];t.label=e,t.identifier=(0,Aj.B)(this.sliceSerialize(A)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let A=this.resume();this.stack[this.stack.length-1].url=A},resourceTitleString:function(){let A=this.resume();this.stack[this.stack.length-1].title=A},resource:function(){this.data.inReference=void 0},setextHeading:i(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(A){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(A).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:i(),thematicBreak:i()}};!function A(e,t){let n=-1;for(;++n0){let A=i.tokenStack[i.tokenStack.length-1];(A[1]||eQ).call(i,void 0,A[0])}for(n.position={start:eC(A.length>0?A[0][1].start:{line:1,column:1,offset:0}),end:eC(A.length>0?A[A.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u-1){let A=t[0];"string"==typeof A?t[0]=A.slice(r):t.shift()}i>0&&t.push(A[o].slice(0,i))}return t}(i,A)}function f(){let{_bufferIndex:A,_index:e,line:t,column:r,offset:o}=n;return{_bufferIndex:A,_index:e,line:t,column:r,offset:o}}function d(A,e){e.restore()}function h(A,e){return function(t,r,o){var i;let u,c,d,h;return Array.isArray(t)?p(t):"tokenize"in t?p([t]):(i=t,function(A){let e=null!==A&&i[A],t=null!==A&&i.null;return p([...Array.isArray(e)?e:e?[e]:[],...Array.isArray(t)?t:t?[t]:[]])(A)});function p(A){return(u=A,c=0,0===A.length)?o:B(A[c])}function B(A){return function(t){return(h=function(){let A=f(),e=s.previous,t=s.currentConstruct,r=s.events.length,o=Array.from(a);return{from:r,restore:function(){n=A,s.previous=e,s.currentConstruct=t,s.events.length=r,a=o,g()}}}(),d=A,A.partial||(s.currentConstruct=A),A.name&&s.parser.constructs.disable.null.includes(A.name))?m(t):A.tokenize.call(e?Object.assign(Object.create(s),e):s,l,w,m)(t)}}function w(e){return A(d,h),r}function m(A){return(h.restore(),++c{let t=(e,t)=>(A.set(t,e),e),n=r=>{if(A.has(r))return A.get(r);let[o,i]=e[r];switch(o){case 0:case -1:return t(i,r);case 1:{let A=t([],r);for(let e of i)A.push(n(e));return A}case 2:{let A=t({},r);for(let[e,t]of i)A[n(e)]=n(t);return A}case 3:return t(new Date(i),r);case 4:{let{source:A,flags:e}=i;return t(new RegExp(A,e),r)}case 5:{let A=t(new Map,r);for(let[e,t]of i)A.set(n(e),n(t));return A}case 6:{let A=t(new Set,r);for(let e of i)A.add(n(e));return A}case 7:{let{name:A,message:e}=i;return t(new eF[A](e),r)}case 8:return t(BigInt(i),r);case"BigInt":return t(Object(BigInt(i)),r);case"ArrayBuffer":return t(new Uint8Array(i).buffer,i);case"DataView":{let{buffer:A}=new Uint8Array(i);return t(new DataView(A),i)}}return t(new eF[o](i),r)};return n},eb=A=>ev(new Map,A)(0),{toString:ex}={},{keys:eE}=Object,eH=A=>{let e=typeof A;if("object"!==e||!A)return[0,e];let t=ex.call(A).slice(8,-1);switch(t){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,t]}return t.includes("Array")?[1,t]:t.includes("Error")?[7,t]:[2,t]},eI=([A,e])=>0===A&&("function"===e||"symbol"===e),ek=(A,e,t,n)=>{let r=(A,e)=>{let r=n.push(A)-1;return t.set(e,r),r},o=n=>{if(t.has(n))return t.get(n);let[i,a]=eH(n);switch(i){case 0:{let e=n;switch(a){case"bigint":i=8,e=n.toString();break;case"function":case"symbol":if(A)throw TypeError("unable to serialize "+a);e=null;break;case"undefined":return r([-1],n)}return r([i,e],n)}case 1:{if(a){let A=n;return"DataView"===a?A=new Uint8Array(n.buffer):"ArrayBuffer"===a&&(A=new Uint8Array(n)),r([a,[...A]],n)}let A=[],e=r([i,A],n);for(let e of n)A.push(o(e));return e}case 2:{if(a)switch(a){case"BigInt":return r([a,n.toString()],n);case"Boolean":case"Number":case"String":return r([a,n.valueOf()],n)}if(e&&"toJSON"in n)return o(n.toJSON());let t=[],l=r([i,t],n);for(let e of eE(n))(A||!eI(eH(n[e])))&&t.push([o(e),o(n[e])]);return l}case 3:return r([i,n.toISOString()],n);case 4:{let{source:A,flags:e}=n;return r([i,{source:A,flags:e}],n)}case 5:{let e=[],t=r([i,e],n);for(let[t,r]of n)(A||!(eI(eH(t))||eI(eH(r))))&&e.push([o(t),o(r)]);return t}case 6:{let e=[],t=r([i,e],n);for(let t of n)(A||!eI(eH(t)))&&e.push(o(t));return t}}let{message:l}=n;return r([i,{name:a,message:l}],n)};return o},eL=(A,{json:e,lossy:t}={})=>{let n=[];return ek(!(e||t),!!e,new Map,n)(A),n},eM="function"==typeof structuredClone?(A,e)=>e&&("json"in e||"lossy"in e)?eb(eL(A,e)):structuredClone(A):(A,e)=>eb(eL(A,e));function eD(A){let e=[],t=-1,n=0,r=0;for(;++t55295&&o<57344){let e=A.charCodeAt(t+1);o<56320&&e>56319&&e<57344?(i=String.fromCharCode(o,e),r=1):i="�"}else i=String.fromCharCode(o);i&&(e.push(A.slice(n,t),encodeURIComponent(i)),n=t+r+1,i=""),r&&(t+=r,r=0)}return e.join("")+A.slice(n)}function eS(A,e){let t=[{type:"text",value:"↩"}];return e>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),t}function eT(A,e){return"Back to reference "+(A+1)+(e>1?"-"+e:"")}var eK=t(86698);function eP(A,e){let t=e.referenceType,n="]";if("collapsed"===t?n+="[]":"full"===t&&(n+="["+(e.label||e.identifier)+"]"),"imageReference"===e.type)return[{type:"text",value:"!["+e.alt+n}];let r=A.all(e),o=r[0];o&&"text"===o.type?o.value="["+o.value:r.unshift({type:"text",value:"["});let i=r[r.length-1];return i&&"text"===i.type?i.value+=n:r.push({type:"text",value:n}),r}function eR(A){let e=A.spread;return null==e?A.children.length>1:e}function eO(A,e,t){let n=0,r=A.length;if(e){let e=A.codePointAt(n);for(;9===e||32===e;)n++,e=A.codePointAt(n)}if(t){let e=A.codePointAt(r-1);for(;9===e||32===e;)r--,e=A.codePointAt(r-1)}return r>n?A.slice(n,r):""}let eN={blockquote:function(A,e){let t={type:"element",tagName:"blockquote",properties:{},children:A.wrap(A.all(e),!0)};return A.patch(e,t),A.applyData(e,t)},break:function(A,e){let t={type:"element",tagName:"br",properties:{},children:[]};return A.patch(e,t),[A.applyData(e,t),{type:"text",value:"\n"}]},code:function(A,e){let t=e.value?e.value+"\n":"",n={};e.lang&&(n.className=["language-"+e.lang]);let r={type:"element",tagName:"code",properties:n,children:[{type:"text",value:t}]};return e.meta&&(r.data={meta:e.meta}),A.patch(e,r),r={type:"element",tagName:"pre",properties:{},children:[r=A.applyData(e,r)]},A.patch(e,r),r},delete:function(A,e){let t={type:"element",tagName:"del",properties:{},children:A.all(e)};return A.patch(e,t),A.applyData(e,t)},emphasis:function(A,e){let t={type:"element",tagName:"em",properties:{},children:A.all(e)};return A.patch(e,t),A.applyData(e,t)},footnoteReference:function(A,e){let t,n="string"==typeof A.options.clobberPrefix?A.options.clobberPrefix:"user-content-",r=String(e.identifier).toUpperCase(),o=eD(r.toLowerCase()),i=A.footnoteOrder.indexOf(r),a=A.footnoteCounts.get(r);void 0===a?(a=0,A.footnoteOrder.push(r),t=A.footnoteOrder.length):t=i+1,a+=1,A.footnoteCounts.set(r,a);let l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(t)}]};A.patch(e,l);let s={type:"element",tagName:"sup",properties:{},children:[l]};return A.patch(e,s),A.applyData(e,s)},heading:function(A,e){let t={type:"element",tagName:"h"+e.depth,properties:{},children:A.all(e)};return A.patch(e,t),A.applyData(e,t)},html:function(A,e){if(A.options.allowDangerousHtml){let t={type:"raw",value:e.value};return A.patch(e,t),A.applyData(e,t)}},imageReference:function(A,e){let t=String(e.identifier).toUpperCase(),n=A.definitionById.get(t);if(!n)return eP(A,e);let r={src:eD(n.url||""),alt:e.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);let o={type:"element",tagName:"img",properties:r,children:[]};return A.patch(e,o),A.applyData(e,o)},image:function(A,e){let t={src:eD(e.url)};null!==e.alt&&void 0!==e.alt&&(t.alt=e.alt),null!==e.title&&void 0!==e.title&&(t.title=e.title);let n={type:"element",tagName:"img",properties:t,children:[]};return A.patch(e,n),A.applyData(e,n)},inlineCode:function(A,e){let t={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};A.patch(e,t);let n={type:"element",tagName:"code",properties:{},children:[t]};return A.patch(e,n),A.applyData(e,n)},linkReference:function(A,e){let t=String(e.identifier).toUpperCase(),n=A.definitionById.get(t);if(!n)return eP(A,e);let r={href:eD(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);let o={type:"element",tagName:"a",properties:r,children:A.all(e)};return A.patch(e,o),A.applyData(e,o)},link:function(A,e){let t={href:eD(e.url)};null!==e.title&&void 0!==e.title&&(t.title=e.title);let n={type:"element",tagName:"a",properties:t,children:A.all(e)};return A.patch(e,n),A.applyData(e,n)},listItem:function(A,e,t){let n=A.all(e),r=t?function(A){let e=!1;if("list"===A.type){e=A.spread||!1;let t=A.children,n=-1;for(;!e&&++n0&&A.children.unshift({type:"text",value:" "}),A.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a0){let n={type:"element",tagName:"tbody",properties:{},children:A.wrap(t,!0)},o=z(e.children[1]),i=G(e.children[e.children.length-1]);o&&i&&(n.position={start:o,end:i}),r.push(n)}let o={type:"element",tagName:"table",properties:{},children:A.wrap(r,!0)};return A.patch(e,o),A.applyData(e,o)},tableCell:function(A,e){let t={type:"element",tagName:"td",properties:{},children:A.all(e)};return A.patch(e,t),A.applyData(e,t)},tableRow:function(A,e,t){let n=t?t.children:void 0,r=0===(n?n.indexOf(e):1)?"th":"td",o=t&&"table"===t.type?t.align:void 0,i=o?o.length:e.children.length,a=-1,l=[];for(;++a0,!0),n[0]),r=n.index+n[0].length,n=t.exec(e);return o.push(eO(e.slice(r),r>0,!1)),o.join("")}(String(e.value))};return A.patch(e,t),A.applyData(e,t)},thematicBreak:function(A,e){let t={type:"element",tagName:"hr",properties:{},children:[]};return A.patch(e,t),A.applyData(e,t)},toml:e_,yaml:e_,definition:e_,footnoteDefinition:e_};function e_(){}let eV={}.hasOwnProperty,ej={};function eG(A,e){A.position&&(e.position=function(A){let e=z(A),t=G(A);if(e&&t)return{start:e,end:t}}(A))}function ez(A,e){let t=e;if(A&&A.data){let e=A.data.hName,n=A.data.hChildren,r=A.data.hProperties;"string"==typeof e&&("element"===t.type?t.tagName=e:t={type:"element",tagName:e,properties:{},children:"children"in t?t.children:[t]}),"element"===t.type&&r&&Object.assign(t.properties,eM(r)),"children"in t&&t.children&&null!=n&&(t.children=n)}return t}function eq(A,e){let t=[],n=-1;for(e&&t.push({type:"text",value:"\n"});++n0&&t.push({type:"text",value:"\n"}),t}function eX(A){let e=0,t=A.charCodeAt(e);for(;9===t||32===t;)e++,t=A.charCodeAt(e);return A.slice(e)}function eJ(A,e){let t=function(A,e){let t=e||ej,n=new Map,r=new Map,o={all:function(A){let e=[];if("children"in A){let t=A.children,n=-1;for(;++n0&&c.push({type:"text",value:" "});let A="string"==typeof t?t:t(l,u);"string"==typeof A&&(A={type:"text",value:A}),c.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+s+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof n?n:n(l,u),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}let d=o[o.length-1];if(d&&"element"===d.type&&"p"===d.tagName){let A=d.children[d.children.length-1];A&&"text"===A.type?A.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...c)}else o.push(...c);let h={type:"element",tagName:"li",properties:{id:e+"fn-"+s},children:A.wrap(o,!0)};A.patch(r,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...eM(i),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:A.wrap(a,!0)},{type:"text",value:"\n"}]}}(t),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return r&&((0,o.ok)("children"in i),i.children.push({type:"text",value:"\n"},r)),i}function eW(A,e){return A&&"run"in A?async function(t,n){let r=eJ(t,{file:n,...e});await A.run(r,n)}:function(t,n){return eJ(t,{file:n,...A||e})}}function eY(A){if(A)throw A}var eZ=t(19566);function e$(A){if("object"!=typeof A||null===A)return!1;let e=Object.getPrototypeOf(A);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in A)&&!(Symbol.iterator in A)}var e0=t(76760),e1=t(1708);function e2(A){return!!(null!==A&&"object"==typeof A&&"href"in A&&A.href&&"protocol"in A&&A.protocol&&void 0===A.auth)}var e4=t(73136);let e3=["history","path","basename","stem","extname","dirname"];class e5{constructor(A){let e,t;e=A?e2(A)?{path:A}:"string"==typeof A||function(A){return!!(A&&"object"==typeof A&&"byteLength"in A&&"byteOffset"in A)}(A)?{value:A}:A:{},this.cwd="cwd"in e?"":e1.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++ne.length;i&&e.push(n);try{o=A.apply(this,e)}catch(A){if(i&&t)throw A;return n(A)}i||(o&&o.then&&"function"==typeof o.then?o.then(r,n):o instanceof Error?n(o):r(o))};function n(A,...r){t||(t=!0,e(A,...r))}function r(A){n(null,A)}})(a,r)(...i):n(null,...i)}(null,...e)},use:function(t){if("function"!=typeof t)throw TypeError("Expected `middelware` to be a function, not "+t);return A.push(t),e}};return e}()}copy(){let A=new te,e=-1;for(;++e0){let[n,...o]=e,i=t[r][1];e$(i)&&e$(n)&&(n=eZ(!0,i,n)),t[r]=[A,n,...o]}}}}let tt=new te().freeze();function tn(A,e){if("function"!=typeof e)throw TypeError("Cannot `"+A+"` without `parser`")}function tr(A,e){if("function"!=typeof e)throw TypeError("Cannot `"+A+"` without `compiler`")}function to(A,e){if(e)throw Error("Cannot call `"+A+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ti(A){if(!e$(A)||"string"!=typeof A.type)throw TypeError("Expected node, got `"+A+"`")}function ta(A,e,t){if(!t)throw Error("`"+A+"` finished async. Use `"+e+"` instead")}function tl(A){var e;return(e=A)&&"object"==typeof e&&"message"in e&&"messages"in e?A:new e5(A)}let ts=[],tu={allowDangerousHtml:!0},tc=/^(https?|ircs?|mailto|xmpp)$/i,tf=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function td(A){let e=function(A){let e=A.rehypePlugins||ts,t=A.remarkPlugins||ts,n=A.remarkRehypeOptions?{...A.remarkRehypeOptions,...tu}:tu;return tt().use(eU).use(t).use(eW,n).use(e)}(A),t=function(A){let e=A.children||"",t=new e5;return"string"==typeof e?t.value=e:(0,o.HB)("Unexpected value `"+e+"` for `children` prop, expected `string`"),t}(A);return function(A,e){let t=e.allowedElements,n=e.allowElement,r=e.components,i=e.disallowedElements,a=e.skipHtml,l=e.unwrapDisallowed,s=e.urlTransform||th;for(let A of tf)Object.hasOwn(e,A.from)&&(0,o.HB)("Unexpected `"+A.from+"` prop, "+(A.to?"use `"+A.to+"` instead":"remove it")+" (see for more info)");return t&&i&&(0,o.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,eK.YR)(A,function(A,e,r){if("raw"===A.type&&r&&"number"==typeof e)return a?r.children.splice(e,1):r.children[e]={type:"text",value:A.value},e;if("element"===A.type){let e;for(e in Af)if(Object.hasOwn(Af,e)&&Object.hasOwn(A.properties,e)){let t=A.properties[e],n=Af[e];(null===n||n.includes(A.tagName))&&(A.properties[e]=s(String(t||""),e,A))}}if("element"===A.type){let o=t?!t.includes(A.tagName):!!i&&i.includes(A.tagName);if(!o&&n&&"number"==typeof e&&(o=!n(A,e,r)),o&&r&&"number"==typeof e)return l&&A.children?r.children.splice(e,1,...A.children):r.children.splice(e,1),e}}),function(A,e){var t,n,r,o,i;let a;if(!e||void 0===e.Fragment)throw TypeError("Expected `Fragment` in options");let l=e.filePath||void 0;if(e.development){if("function"!=typeof e.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");t=l,n=e.jsxDEV,a=function(A,e,r,o){let i=Array.isArray(r.children),a=z(A);return n(e,r,o,i,{columnNumber:a?a.column-1:void 0,fileName:t,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof e.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof e.jsxs)throw TypeError("Expected `jsxs` in production options");r=0,o=e.jsx,i=e.jsxs,a=function(A,e,t,n){let r=Array.isArray(t.children)?i:o;return n?r(e,t,n):r(e,t)}}let s={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:a,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:l,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:!1!==e.passKeys,passNode:e.passNode||!1,schema:"svg"===e.space?K:T,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==e.tableCellAlignToStyle},u=Ao(s,A,void 0);return u&&"string"!=typeof u?u:s.create(A,s.Fragment,{children:u||void 0},void 0)}(A,{Fragment:Ad.Fragment,components:r,ignoreInvalidStyle:!0,jsx:Ad.jsx,jsxs:Ad.jsxs,passKeys:!0,passNode:!0})}(e.runSync(e.parse(t),t),A)}function th(A){let e=A.indexOf(":"),t=A.indexOf("?"),n=A.indexOf("#"),r=A.indexOf("/");return -1===e||-1!==r&&e>r||-1!==t&&e>t||-1!==n&&e>n||tc.test(A.slice(0,e))?A:""}},13943:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},14719:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},14952:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},16023:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},17581:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},18179:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]])},18468:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function A(e,t,o){let i=o.length<=2,[a,l]=o,s=(0,n.createRouterCacheKey)(l),u=t.parallelRoutes.get(a);if(!u)return;let c=e.parallelRoutes.get(a);if(c&&c!==u||(c=new Map(u),e.parallelRoutes.set(a,c)),i)return void c.delete(s);let f=u.get(s),d=c.get(s);d&&f&&(d===f&&(d={lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes)},c.set(s,d)),A(d,f,(0,r.getNextFlightSegmentPath)(o)))}}});let n=t(33123),r=t(74007);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},19080:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]])},19169:(A,e)=>{"use strict";function t(A){let e=A.indexOf("#"),t=A.indexOf("?"),n=t>-1&&(e<0||t-1?{pathname:A.substring(0,n?t:e),query:n?A.substring(t,e>-1?e:void 0):"",hash:e>-1?A.slice(e):""}:{pathname:A,query:"",hash:""}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}})},19352:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]])},19566:A=>{"use strict";var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(A){return"function"==typeof Array.isArray?Array.isArray(A):"[object Array]"===t.call(A)},i=function(A){if(!A||"[object Object]"!==t.call(A))return!1;var n,r=e.call(A,"constructor"),o=A.constructor&&A.constructor.prototype&&e.call(A.constructor.prototype,"isPrototypeOf");if(A.constructor&&!r&&!o)return!1;for(n in A);return void 0===n||e.call(A,n)},a=function(A,e){n&&"__proto__"===e.name?n(A,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):A[e.name]=e.newValue},l=function(A,t){if("__proto__"===t){if(!e.call(A,t))return;else if(r)return r(A,t).value}return A[t]};A.exports=function A(){var e,t,n,r,s,u,c=arguments[0],f=1,d=arguments.length,h=!1;for("boolean"==typeof c&&(h=c,c=arguments[1]||{},f=2),(null==c||"object"!=typeof c&&"function"!=typeof c)&&(c={});f{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]])},22301:(A,e,t)=>{"use strict";function n(A,e,t,n){let r,o=A.length,i=0;if(e=e<0?-e>o?0:o+e:e>o?o:e,t=t>0?t:0,n.length<1e4)(r=Array.from(n)).unshift(e,t),A.splice(...r);else for(t&&A.splice(e,t);i0?(n(A,A.length,0,e),A):e}t.d(e,{V:()=>r,m:()=>n})},22308:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{addRefreshMarkerToActiveParallelSegments:function(){return function A(e,t){let[n,r,,i]=e;for(let a in n.includes(o.PAGE_SEGMENT_KEY)&&"refresh"!==i&&(e[2]=t,e[3]="refresh"),r)A(r[a],t)}},refreshInactiveParallelSegments:function(){return i}});let n=t(56928),r=t(59008),o=t(83913);async function i(A){let e=new Set;await a({...A,rootTree:A.updatedTree,fetchedSegments:e})}async function a(A){let{navigatedAt:e,state:t,updatedTree:o,updatedCache:i,includeNextUrl:l,fetchedSegments:s,rootTree:u=o,canonicalUrl:c}=A,[,f,d,h]=o,p=[];if(d&&d!==c&&"refresh"===h&&!s.has(d)){s.add(d);let A=(0,r.fetchServerResponse)(new URL(d,location.origin),{flightRouterState:[u[0],u[1],u[2],"refetch"],nextUrl:l?t.nextUrl:null}).then(A=>{let{flightData:t}=A;if("string"!=typeof t)for(let A of t)(0,n.applyFlightData)(e,i,i,A)});p.push(A)}for(let A in f){let n=a({navigatedAt:e,state:t,updatedTree:f[A],updatedCache:i,includeNextUrl:l,fetchedSegments:s,rootTree:u,canonicalUrl:c});p.push(n)}await Promise.all(p)}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},23928:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]])},24366:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},24527:(A,e,t)=>{"use strict";let n,r;t.d(e,{TW:()=>Ap,YZ:()=>Af,Zk:()=>h});var o,i=t(43210);let a=(0,i.createContext)(null);a.displayName="PanelGroupContext";let l={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},s=(o||(o=t.t(i,2)))["useId".toString()],u="function"==typeof s?s:()=>null,c=0;function f(A=null){let e=u(),t=(0,i.useRef)(A||e||null);return null===t.current&&(t.current=""+c++),null!=A?A:t.current}function d({children:A,className:e="",collapsedSize:t,collapsible:n,defaultSize:r,forwardedRef:o,id:s,maxSize:u,minSize:c,onCollapse:d,onExpand:h,onResize:p,order:g,style:B,tagName:w="div",...m}){let y=(0,i.useContext)(a);if(null===y)throw Error("Panel components must be rendered within a PanelGroup container");let{collapsePanel:C,expandPanel:Q,getPanelSize:U,getPanelStyle:F,groupId:v,isPanelCollapsed:b,reevaluatePanelConstraints:x,registerPanel:E,resizePanel:H,unregisterPanel:I}=y,k=f(s),L=(0,i.useRef)({callbacks:{onCollapse:d,onExpand:h,onResize:p},constraints:{collapsedSize:t,collapsible:n,defaultSize:r,maxSize:u,minSize:c},id:k,idIsFromProps:void 0!==s,order:g});(0,i.useRef)({didLogMissingDefaultSizeWarning:!1}),(0,i.useImperativeHandle)(o,()=>({collapse:()=>{C(L.current)},expand:A=>{Q(L.current,A)},getId:()=>k,getSize:()=>U(L.current),isCollapsed:()=>b(L.current),isExpanded:()=>!b(L.current),resize:A=>{H(L.current,A)}}),[C,Q,U,b,k,H]);let M=F(L.current,r);return(0,i.createElement)(w,{...m,children:A,className:e,id:k,style:{...M,...B},[l.groupId]:v,[l.panel]:"",[l.panelCollapsible]:n||void 0,[l.panelId]:k,[l.panelSize]:parseFloat(""+M.flexGrow).toFixed(1)})}let h=(0,i.forwardRef)((A,e)=>(0,i.createElement)(d,{...A,forwardedRef:e}));d.displayName="Panel",h.displayName="forwardRef(Panel)";let p=null,g=-1,B=null;function w(A,e,t){var r,o,i;0;let a=function(A,e,t){let n=(e&E)!=0,r=(e&H)!=0,o=(e&I)!=0,i=(e&k)!=0;!1;if(e){if(n)if(o)return"se-resize";else if(i)return"ne-resize";else return"e-resize";else if(r)if(o)return"sw-resize";else if(i)return"nw-resize";else return"w-resize";else if(o)return"s-resize";else if(i)return"n-resize"}switch(A){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}(A,e,t);if(p!==a){if(p=a,null===B){B=document.createElement("style");n&&B.setAttribute("nonce",n),document.head.appendChild(B)}g>=0&&(null==(i=B.sheet)||i.removeRule(g)),g=null!=(r=null==(o=B.sheet)?void 0:o.insertRule(`*{cursor: ${a} !important;}`))?r:-1}}function m(A){return"keydown"===A.type}function y(A){return A.type.startsWith("pointer")}function C(A){return A.type.startsWith("mouse")}function Q(A){if(y(A)){if(A.isPrimary)return{x:A.clientX,y:A.clientY}}else if(C(A))return{x:A.clientX,y:A.clientY};return{x:1/0,y:1/0}}let U=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function F(A){let e=A.length;for(;e--;){let t=A[e];if(z(t,"Missing node"),function(A){let e=getComputedStyle(A);return!!("fixed"===e.position||"auto"!==e.zIndex&&("static"!==e.position||function(A){var e;let t=getComputedStyle(null!=(e=x(A))?e:A).display;return"flex"===t||"inline-flex"===t}(A))||1>+e.opacity||"transform"in e&&"none"!==e.transform||"webkitTransform"in e&&"none"!==e.webkitTransform||"mixBlendMode"in e&&"normal"!==e.mixBlendMode||"filter"in e&&"none"!==e.filter||"webkitFilter"in e&&"none"!==e.webkitFilter||"isolation"in e&&"isolate"===e.isolation||U.test(e.willChange))||"touch"===e.webkitOverflowScrolling}(t))return t}return null}function v(A){return A&&Number(getComputedStyle(A).zIndex)||0}function b(A){let e=[];for(;A;)e.push(A),A=x(A);return e}function x(A){let{parentNode:e}=A;return e&&e instanceof ShadowRoot?e.host:e}let E=1,H=2,I=4,k=8,L="coarse"===function(){if("function"==typeof matchMedia)return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}(),M=[],D=!1,S=new Map,T=new Map,K=new Set;function P(A){let{target:e}=A,{x:t,y:n}=Q(A);D=!0,_({target:e,x:t,y:n}),j(),M.length>0&&(G("down",A),V(),A.preventDefault(),N(e)||A.stopImmediatePropagation())}function R(A){let{x:e,y:t}=Q(A);if(D&&"pointerleave"!==A.type&&0===A.buttons&&(D=!1,G("up",A)),!D){let{target:n}=A;_({target:n,x:e,y:t})}G("move",A),V(),M.length>0&&A.preventDefault()}function O(A){let{target:e}=A,{x:t,y:n}=Q(A);T.clear(),D=!1,M.length>0&&(A.preventDefault(),N(e)||A.stopImmediatePropagation()),G("up",A),_({target:e,x:t,y:n}),V(),j()}function N(A){let e=A;for(;e;){if(e.hasAttribute(l.resizeHandle))return!0;e=e.parentElement}return!1}function _({target:A,x:e,y:t}){M.splice(0);let n=null;(A instanceof HTMLElement||A instanceof SVGElement)&&(n=A),K.forEach(A=>{let{element:r,hitAreaMargins:o}=A,i=r.getBoundingClientRect(),{bottom:a,left:l,right:s,top:u}=i,c=L?o.coarse:o.fine;if(e>=l-c&&e<=s+c&&t>=u-c&&t<=a+c){if(null!==n&&document.contains(n)&&r!==n&&!r.contains(n)&&!n.contains(r)&&function(A,e){let t;if(A===e)throw Error("Cannot compare node with itself");let n={a:b(A),b:b(e)};for(;n.a.at(-1)===n.b.at(-1);)A=n.a.pop(),e=n.b.pop(),t=A;z(t,"Stacking order can only be calculated for elements with a common ancestor");let r={a:v(F(n.a)),b:v(F(n.b))};if(r.a===r.b){let A=t.childNodes,e={a:n.a.at(-1),b:n.b.at(-1)},r=A.length;for(;r--;){let t=A[r];if(t===e.a)return 1;if(t===e.b)return -1}}return Math.sign(r.a-r.b)}(n,r)>0){let A=n,e=!1;for(;A&&!A.contains(r);){var f,d;if(f=A.getBoundingClientRect(),d=i,f.xd.x&&f.yd.y){e=!0;break}A=A.parentElement}if(e)return}M.push(A)}})}function V(){let A=!1,e=!1;M.forEach(t=>{let{direction:n}=t;"horizontal"===n?A=!0:e=!0});let t=0;T.forEach(A=>{t|=A}),A&&e?w("intersection",t,D):A?w("horizontal",t,D):e?w("vertical",t,D):null!==B&&(document.head.removeChild(B),p=null,B=null,g=-1)}function j(){var A;null==(A=r)||A.abort();let e={capture:!0,signal:(r=new AbortController).signal};K.size&&(D?(M.length>0&&S.forEach((A,t)=>{let{body:n}=t;A>0&&(n.addEventListener("contextmenu",O,e),n.addEventListener("pointerleave",R,e),n.addEventListener("pointermove",R,e))}),S.forEach((A,t)=>{let{body:n}=t;n.addEventListener("pointerup",O,e),n.addEventListener("pointercancel",O,e)})):S.forEach((A,t)=>{let{body:n}=t;A>0&&(n.addEventListener("pointerdown",P,e),n.addEventListener("pointermove",R,e))}))}function G(A,e){K.forEach(t=>{let{setResizeHandlerState:n}=t;n(A,M.includes(t),e)})}function z(A,e){if(!A)throw console.error(e),Error(e)}function q(A,e,t=10){return A.toFixed(t)===e.toFixed(t)?0:A>e?1:-1}function X(A,e,t=10){return 0===q(A,e,t)}function J(A,e,t){return 0===q(A,e,t)}function W({panelConstraints:A,panelIndex:e,size:t}){let n=A[e];z(null!=n,`Panel constraints not found for index ${e}`);let{collapsedSize:r=0,collapsible:o,maxSize:i=100,minSize:a=0}=n;return 0>q(t,a)&&(t=o&&0>q(t,(r+a)/2)?r:a),t=parseFloat((t=Math.min(i,t)).toFixed(10))}function Y({delta:A,initialLayout:e,panelConstraints:t,pivotIndices:n,prevLayout:r,trigger:o}){if(J(A,0))return e;let i=[...e],[a,l]=n;z(null!=a,"Invalid first pivot index"),z(null!=l,"Invalid second pivot index");let s=0;if("keyboard"===o){{let n=A<0?l:a,r=t[n];z(r,`Panel constraints not found for index ${n}`);let{collapsedSize:o=0,collapsible:i,minSize:s=0}=r;if(i){let t=e[n];if(z(null!=t,`Previous layout not found for panel index ${n}`),J(t,o)){let e=s-t;q(e,Math.abs(A))>0&&(A=A<0?0-e:e)}}}{let n=A<0?a:l,r=t[n];z(r,`No panel constraints found for index ${n}`);let{collapsedSize:o=0,collapsible:i,minSize:s=0}=r;if(i){let t=e[n];if(z(null!=t,`Previous layout not found for panel index ${n}`),J(t,s)){let e=t-o;q(e,Math.abs(A))>0&&(A=A<0?0-e:e)}}}}{let n=A<0?1:-1,r=A<0?l:a,o=0;for(;;){let A=e[r];if(z(null!=A,`Previous layout not found for panel index ${r}`),o+=W({panelConstraints:t,panelIndex:r,size:100})-A,(r+=n)<0||r>=t.length)break}let i=Math.min(Math.abs(A),Math.abs(o));A=A<0?0-i:i}{let n=A<0?a:l;for(;n>=0&&n=0))break;A<0?n--:n++}}if(function(A,e,t){if(A.length!==e.length)return!1;for(let t=0;t=0&&n0?n--:n++}}}return J(i.reduce((A,e)=>e+A,0),100)?i:r}function Z(A,e=document){return Array.from(e.querySelectorAll(`[${l.resizeHandleId}][data-panel-group-id="${A}"]`))}function $(A,e,t=document){let n=Z(A,t).findIndex(A=>A.getAttribute(l.resizeHandleId)===e);return null!=n?n:null}function AA(A,e,t){let n=$(A,e,t);return null!=n?[n,n+1]:[-1,-1]}function Ae(A,e=document){if((e instanceof HTMLElement||"object"==typeof e&&null!==e&&"tagName"in e&&"getAttribute"in e)&&e.dataset.panelGroupId==A)return e;let t=e.querySelector(`[data-panel-group][data-panel-group-id="${A}"]`);return t||null}function At(A,e=document){let t=e.querySelector(`[${l.resizeHandleId}="${A}"]`);return t||null}function An(A,e){let{x:t,y:n}=Q(e);return"horizontal"===A?t:n}function Ar(A,e,t){e.forEach((e,n)=>{let r=A[n];z(r,`Panel data not found for index ${n}`);let{callbacks:o,constraints:i,id:a}=r,{collapsedSize:l=0,collapsible:s}=i,u=t[a];if(null==u||e!==u){t[a]=e;let{onCollapse:A,onExpand:n,onResize:r}=o;r&&r(e,u),s&&(A||n)&&(n&&(null==u||X(u,l))&&!X(e,l)&&n(),A&&(null==u||!X(u,l))&&X(e,l)&&A())}})}function Ao(A,e){if(A.length!==e.length)return!1;for(let t=0;tlocalStorage.getItem(A),A.setItem=(A,e)=>{localStorage.setItem(A,e)};else throw Error("localStorage not supported in this environment")}catch(e){console.error(e),A.getItem=()=>null,A.setItem=()=>{}}}function Aa(A){return`react-resizable-panels:${A}`}function Al(A,e,t,n,r){var o;let i=Aa(A),a=e.map(A=>{let{constraints:e,id:t,idIsFromProps:n,order:r}=A;return n?t:r?`${r}:${JSON.stringify(e)}`:JSON.stringify(e)}).sort((A,e)=>A.localeCompare(e)).join(","),l=null!=(o=function(A,e){try{let t=Aa(A),n=e.getItem(t);if(n){let A=JSON.parse(n);if("object"==typeof A&&null!=A)return A}}catch(A){}return null}(A,r))?o:{};l[a]={expandToSizes:Object.fromEntries(t.entries()),layout:n};try{r.setItem(i,JSON.stringify(l))}catch(A){console.error(A)}}let As={getItem:A=>(Ai(As),As.getItem(A)),setItem:(A,e)=>{Ai(As),As.setItem(A,e)}},Au={};function Ac({autoSaveId:A=null,children:e,className:t="",direction:n,forwardedRef:r,id:o=null,onLayout:s=null,keyboardResizeBy:u=null,storage:c=As,style:d,tagName:h="div",...p}){let g=f(o),B=(0,i.useRef)(null),[w,Q]=(0,i.useState)(null),[U,F]=(0,i.useState)([]),v=function(){let[A,e]=(0,i.useState)(0);return(0,i.useCallback)(()=>e(A=>A+1),[])}(),b=(0,i.useRef)({}),x=(0,i.useRef)(new Map),L=(0,i.useRef)(0),M=(0,i.useRef)({autoSaveId:A,direction:n,dragState:w,id:g,keyboardResizeBy:u,onLayout:s,storage:c}),D=(0,i.useRef)({layout:U,panelDataArray:[],panelDataArrayChanged:!1});(0,i.useRef)({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),(0,i.useImperativeHandle)(r,()=>({getId:()=>M.current.id,getLayout:()=>{let{layout:A}=D.current;return A},setLayout:A=>{let{onLayout:e}=M.current,{layout:t,panelDataArray:n}=D.current,r=function({layout:A,panelConstraints:e}){let t=[...A],n=t.reduce((A,e)=>A+e,0);if(t.length!==e.length)throw Error(`Invalid ${e.length} panel layout: ${t.map(A=>`${A}%`).join(", ")}`);if(!J(n,100)&&t.length>0)for(let A=0;AA.constraints)});!function(A,e){if(A.length!==e.length)return!1;for(let t=0;t{if(!o)return;let A=e.current;z(A,"Eager values not found");let{panelDataArray:r}=A;z(null!=Ae(t,o),`No group found for id "${t}"`);let i=Z(t,o);z(i,`No resize handles found for group id "${t}"`);let s=i.map(A=>{let e=A.getAttribute(l.resizeHandleId);z(e,"Resize handle element has no handle id attribute");let[i,s]=function(A,e,t,n=document){var r,o,i,a;let l=At(e,n),s=Z(A,n),u=l?s.indexOf(l):-1;return[null!=(r=null==(o=t[u])?void 0:o.id)?r:null,null!=(i=null==(a=t[u+1])?void 0:a.id)?i:null]}(t,e,r,o);if(null==i||null==s)return()=>{};let u=A=>{if(!A.defaultPrevented&&"Enter"===A.key){A.preventDefault();let l=r.findIndex(A=>A.id===i);if(l>=0){let A=r[l];z(A,`No panel data found for index ${l}`);let i=n[l],{collapsedSize:s=0,collapsible:u,minSize:c=0}=A.constraints;if(null!=i&&u){let A=Y({delta:J(i,s)?c-s:s-i,initialLayout:n,panelConstraints:r.map(A=>A.constraints),pivotIndices:AA(t,e,o),prevLayout:n,trigger:"keyboard"});n!==A&&a(A)}}}};return A.addEventListener("keydown",u),()=>{A.removeEventListener("keydown",u)}});return()=>{s.forEach(A=>A())}},[o,A,e,t,n,r,a])}({committedValuesRef:M,eagerValuesRef:D,groupId:g,layout:U,panelDataArray:D.current.panelDataArray,setLayout:F,panelGroupElement:B.current}),(0,i.useEffect)(()=>{let{panelDataArray:e}=D.current;if(A){if(0===U.length||U.length!==e.length)return;let t=Au[A];null==t&&(t=function(A,e=10){let t=null;return(...n)=>{null!==t&&clearTimeout(t),t=setTimeout(()=>{A(...n)},e)}}(Al,100),Au[A]=t),t(A,[...e],new Map(x.current),U,c)}},[A,U,c]),(0,i.useEffect)(()=>{});let S=(0,i.useCallback)(A=>{let{onLayout:e}=M.current,{layout:t,panelDataArray:n}=D.current;if(A.constraints.collapsible){let r=n.map(A=>A.constraints),{collapsedSize:o=0,panelSize:i,pivotIndices:a}=Ah(n,A,t);if(z(null!=i,`Panel size not found for panel "${A.id}"`),!X(i,o)){x.current.set(A.id,i);let l=Y({delta:Ad(n,A)===n.length-1?i-o:o-i,initialLayout:t,panelConstraints:r,pivotIndices:a,prevLayout:t,trigger:"imperative-api"});Ao(t,l)||(F(l),D.current.layout=l,e&&e(l),Ar(n,l,b.current))}}},[]),K=(0,i.useCallback)((A,e)=>{let{onLayout:t}=M.current,{layout:n,panelDataArray:r}=D.current;if(A.constraints.collapsible){let o=r.map(A=>A.constraints),{collapsedSize:i=0,panelSize:a=0,minSize:l=0,pivotIndices:s}=Ah(r,A,n),u=null!=e?e:l;if(X(a,i)){let e=x.current.get(A.id),i=null!=e&&e>=u?e:u,l=Y({delta:Ad(r,A)===r.length-1?a-i:i-a,initialLayout:n,panelConstraints:o,pivotIndices:s,prevLayout:n,trigger:"imperative-api"});Ao(n,l)||(F(l),D.current.layout=l,t&&t(l),Ar(r,l,b.current))}}},[]),P=(0,i.useCallback)(A=>{let{layout:e,panelDataArray:t}=D.current,{panelSize:n}=Ah(t,A,e);return z(null!=n,`Panel size not found for panel "${A.id}"`),n},[]),R=(0,i.useCallback)((A,e)=>{let{panelDataArray:t}=D.current,n=Ad(t,A);return function({defaultSize:A,dragState:e,layout:t,panelData:n,panelIndex:r,precision:o=3}){let i,a=t[r];return{flexBasis:0,flexGrow:null==a?void 0!=A?A.toFixed(o):"1":1===n.length?"1":a.toFixed(o),flexShrink:1,overflow:"hidden",pointerEvents:null!==e?"none":void 0}}({defaultSize:e,dragState:w,layout:U,panelData:t,panelIndex:n})},[w,U]),O=(0,i.useCallback)(A=>{let{layout:e,panelDataArray:t}=D.current,{collapsedSize:n=0,collapsible:r,panelSize:o}=Ah(t,A,e);return z(null!=o,`Panel size not found for panel "${A.id}"`),!0===r&&X(o,n)},[]),N=(0,i.useCallback)(A=>{let{layout:e,panelDataArray:t}=D.current,{collapsedSize:n=0,collapsible:r,panelSize:o}=Ah(t,A,e);return z(null!=o,`Panel size not found for panel "${A.id}"`),!r||q(o,n)>0},[]),_=(0,i.useCallback)(A=>{let{panelDataArray:e}=D.current;e.push(A),e.sort((A,e)=>{let t=A.order,n=e.order;return null==t&&null==n?0:null==t?-1:null==n?1:t-n}),D.current.panelDataArrayChanged=!0,v()},[v]),V=(0,i.useCallback)(A=>{let e=!1,t=B.current;return t&&"rtl"===window.getComputedStyle(t,null).getPropertyValue("direction")&&(e=!0),function(t){var n,r;t.preventDefault();let o=B.current;if(!o)return()=>null;let{direction:i,dragState:a,id:s,keyboardResizeBy:u,onLayout:c}=M.current,{layout:f,panelDataArray:d}=D.current,{initialLayout:h}=null!=a?a:{},p=AA(s,A,o),g=function(A,e,t,n,r,o){if(m(A)){let e="horizontal"===t,n=0;n=A.shiftKey?100:null!=r?r:10;let o=0;switch(A.key){case"ArrowDown":o=e?0:n;break;case"ArrowLeft":o=e?-n:0;break;case"ArrowRight":o=e?n:0;break;case"ArrowUp":o=e?0:-n;break;case"End":o=100;break;case"Home":o=-100}return o}return null==n?0:function(A,e,t,n,r){let o="horizontal"===t,i=At(e,r);z(i,`No resize handle element found for id "${e}"`);let a=i.getAttribute(l.groupId);z(a,"Resize handle element has no group id attribute");let{initialCursorPosition:s}=n,u=An(t,A),c=Ae(a,r);z(c,`No group element found for id "${a}"`);let f=c.getBoundingClientRect();return(u-s)/(o?f.width:f.height)*100}(A,e,t,n,o)}(t,A,i,a,u,o),w="horizontal"===i;w&&e&&(g=-g);let Q=Y({delta:g,initialLayout:null!=h?h:f,panelConstraints:d.map(A=>A.constraints),pivotIndices:p,prevLayout:f,trigger:m(t)?"keyboard":"mouse-or-touch"}),U=!Ao(f,Q);(y(t)||C(t))&&L.current!=g&&((L.current=g,U||0===g)?T.set(A,0):w?(n=g<0?E:H,T.set(A,n)):(r=g<0?I:k,T.set(A,r))),U&&(F(Q),D.current.layout=Q,c&&c(Q),Ar(d,Q,b.current))}},[]),j=(0,i.useCallback)((A,e)=>{let{onLayout:t}=M.current,{layout:n,panelDataArray:r}=D.current,o=r.map(A=>A.constraints),{panelSize:i,pivotIndices:a}=Ah(r,A,n);z(null!=i,`Panel size not found for panel "${A.id}"`);let l=Y({delta:Ad(r,A)===r.length-1?i-e:e-i,initialLayout:n,panelConstraints:o,pivotIndices:a,prevLayout:n,trigger:"imperative-api"});Ao(n,l)||(F(l),D.current.layout=l,t&&t(l),Ar(r,l,b.current))},[]),G=(0,i.useCallback)((A,e)=>{let{layout:t,panelDataArray:n}=D.current,{collapsedSize:r=0,collapsible:o}=e,{collapsedSize:i=0,collapsible:a,maxSize:l=100,minSize:s=0}=A.constraints,{panelSize:u}=Ah(n,A,t);null!=u&&(o&&a&&X(u,r)?X(r,i)||j(A,i):ul&&j(A,l))},[j]),$=(0,i.useCallback)((A,e)=>{let{direction:t}=M.current,{layout:n}=D.current;if(!B.current)return;let r=At(A,B.current);z(r,`Drag handle element not found for id "${A}"`);let o=An(t,e);Q({dragHandleId:A,dragHandleRect:r.getBoundingClientRect(),initialCursorPosition:o,initialLayout:n})},[]),Ai=(0,i.useCallback)(()=>{Q(null)},[]),Aa=(0,i.useCallback)(A=>{let{panelDataArray:e}=D.current,t=Ad(e,A);t>=0&&(e.splice(t,1),delete b.current[A.id],D.current.panelDataArrayChanged=!0,v())},[v]),Ac=(0,i.useMemo)(()=>({collapsePanel:S,direction:n,dragState:w,expandPanel:K,getPanelSize:P,getPanelStyle:R,groupId:g,isPanelCollapsed:O,isPanelExpanded:N,reevaluatePanelConstraints:G,registerPanel:_,registerResizeHandle:V,resizePanel:j,startDragging:$,stopDragging:Ai,unregisterPanel:Aa,panelGroupElement:B.current}),[S,w,n,K,P,R,g,O,N,G,_,V,j,$,Ai,Aa]);return(0,i.createElement)(a.Provider,{value:Ac},(0,i.createElement)(h,{...p,children:e,className:t,id:o,ref:B,style:{display:"flex",flexDirection:"horizontal"===n?"row":"column",height:"100%",overflow:"hidden",width:"100%",...d},[l.group]:"",[l.groupDirection]:n,[l.groupId]:g}))}let Af=(0,i.forwardRef)((A,e)=>(0,i.createElement)(Ac,{...A,forwardedRef:e}));function Ad(A,e){return A.findIndex(A=>A===e||A.id===e.id)}function Ah(A,e,t){let n=Ad(A,e),r=n===A.length-1,o=t[n];return{...e.constraints,panelSize:o,pivotIndices:r?[n-1,n]:[n,n+1]}}function Ap({children:A=null,className:e="",disabled:t=!1,hitAreaMargins:n,id:r,onBlur:o,onClick:s,onDragging:u,onFocus:c,onPointerDown:d,onPointerUp:h,style:p={},tabIndex:g=0,tagName:B="div",...w}){var m,y;let C=(0,i.useRef)(null),Q=(0,i.useRef)({onClick:s,onDragging:u,onPointerDown:d,onPointerUp:h});(0,i.useEffect)(()=>{Q.current.onClick=s,Q.current.onDragging=u,Q.current.onPointerDown=d,Q.current.onPointerUp=h});let U=(0,i.useContext)(a);if(null===U)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");let{direction:F,groupId:v,registerResizeHandle:b,startDragging:x,stopDragging:E,panelGroupElement:H}=U,I=f(r),[k,L]=(0,i.useState)("inactive"),[D,P]=(0,i.useState)(!1),[R,O]=(0,i.useState)(null),N=(0,i.useRef)({state:k});(0,i.useEffect)(()=>{if(t)O(null);else{let A=b(I);O(()=>A)}},[t,I,b]);let _=null!=(m=null==n?void 0:n.coarse)?m:15,G=null!=(y=null==n?void 0:n.fine)?y:5;return(0,i.useEffect)(()=>{if(t||null==R)return;let A=C.current;z(A,"Element ref not attached");let e=!1;return function(A,e,t,n,r){var o;let{ownerDocument:i}=e,a={direction:t,element:e,hitAreaMargins:n,setResizeHandlerState:r},l=null!=(o=S.get(i))?o:0;return S.set(i,l+1),K.add(a),j(),function(){var e;T.delete(A),K.delete(a);let t=null!=(e=S.get(i))?e:1;if(S.set(i,t-1),j(),1===t&&S.delete(i),M.includes(a)){let A=M.indexOf(a);A>=0&&M.splice(A,1),V(),r("up",!0,null)}}}(I,A,F,{coarse:_,fine:G},(A,t,n)=>{if(!t)return void L("inactive");switch(A){case"down":{L("drag"),e=!1,z(n,'Expected event to be defined for "down" action'),x(I,n);let{onDragging:A,onPointerDown:t}=Q.current;null==A||A(!0),null==t||t();break}case"move":{let{state:A}=N.current;e=!0,"drag"!==A&&L("hover"),z(n,'Expected event to be defined for "move" action'),R(n);break}case"up":{L("hover"),E();let{onClick:A,onDragging:t,onPointerUp:n}=Q.current;null==t||t(!1),null==n||n(),e||null==A||A()}}})},[_,F,t,G,b,I,R,x,E]),!function({disabled:A,handleId:e,resizeHandler:t,panelGroupElement:n}){(0,i.useEffect)(()=>{if(A||null==t||null==n)return;let r=At(e,n);if(null==r)return;let o=A=>{if(!A.defaultPrevented)switch(A.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":A.preventDefault(),t(A);break;case"F6":{A.preventDefault();let t=r.getAttribute(l.groupId);z(t,`No group element found for id "${t}"`);let o=Z(t,n),i=$(t,e,n);z(null!==i,`No resize element found for id "${e}"`);let a=A.shiftKey?i>0?i-1:o.length-1:i+1{r.removeEventListener("keydown",o)}},[n,A,e,t])}({disabled:t,handleId:I,resizeHandler:R,panelGroupElement:H}),(0,i.createElement)(B,{...w,children:A,className:e,id:r,onBlur:()=>{P(!1),null==o||o()},onFocus:()=>{P(!0),null==c||c()},ref:C,role:"separator",style:{touchAction:"none",userSelect:"none",...p},tabIndex:g,[l.groupDirection]:F,[l.groupId]:v,[l.resizeHandle]:"",[l.resizeHandleActive]:"drag"===k?"pointer":D?"keyboard":void 0,[l.resizeHandleEnabled]:!t,[l.resizeHandleId]:I,[l.resizeHandleState]:k})}Ac.displayName="PanelGroup",Af.displayName="forwardRef(PanelGroup)",Ap.displayName="PanelResizeHandle"},24642:(A,e)=>{"use strict";function t(A){let e=parseInt(A.slice(0,2),16),t=e>>1&63,n=Array(6);for(let A=0;A<6;A++){let e=t>>5-A&1;n[A]=1===e}return{type:1==(e>>7&1)?"use-cache":"server-action",usedArgs:n,hasRestArgs:1==(1&e)}}function n(A,e){let t=Array(A.length);for(let n=0;n=6&&e.hasRestArgs)&&(t[n]=A[n]);return t}Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{extractInfoFromServerReferenceId:function(){return t},omitUnusedArgs:function(){return n}})},25232:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{handleExternalUrl:function(){return m},navigateReducer:function(){return function A(e,t){let{url:C,isExternalUrl:Q,navigateType:U,shouldScroll:F,allowAliasing:v}=t,b={},{hash:x}=C,E=(0,r.createHrefFromUrl)(C),H="push"===U;if((0,g.prunePrefetchCache)(e.prefetchCache),b.preserveCustomHistoryState=!1,b.pendingPush=H,Q)return m(e,b,C.toString(),H);if(document.getElementById("__next-page-redirect"))return m(e,b,E,H);let I=(0,g.getOrCreatePrefetchCacheEntry)({url:C,nextUrl:e.nextUrl,tree:e.tree,prefetchCache:e.prefetchCache,allowAliasing:v}),{treeAtTimeOfPrefetch:k,data:L}=I;return f.prefetchQueue.bump(L),L.then(f=>{let{flightData:g,canonicalUrl:Q,postponed:U}=f,v=Date.now(),L=!1;if(I.lastUsedTime||(I.lastUsedTime=v,L=!0),I.aliased){let n=(0,w.handleAliasedPrefetchEntry)(v,e,g,C,b);return!1===n?A(e,{...t,allowAliasing:!1}):n}if("string"==typeof g)return m(e,b,g,H);let M=Q?(0,r.createHrefFromUrl)(Q):E;if(x&&e.canonicalUrl.split("#",1)[0]===M.split("#",1)[0])return b.onlyHashChange=!0,b.canonicalUrl=M,b.shouldScroll=F,b.hashFragment=x,b.scrollableSegments=[],(0,u.handleMutable)(e,b);let D=e.tree,S=e.cache,T=[];for(let A of g){let{pathToSegment:t,seedData:r,head:u,isHeadPartial:f,isRootRender:g}=A,w=A.tree,Q=["",...t],F=(0,i.applyRouterStatePatchToTree)(Q,D,w,E);if(null===F&&(F=(0,i.applyRouterStatePatchToTree)(Q,k,w,E)),null!==F){if(r&&g&&U){let A=(0,p.startPPRNavigation)(v,S,D,w,r,u,f,!1,T);if(null!==A){if(null===A.route)return m(e,b,E,H);F=A.route;let t=A.node;null!==t&&(b.cache=t);let r=A.dynamicRequestTree;if(null!==r){let t=(0,n.fetchServerResponse)(C,{flightRouterState:r,nextUrl:e.nextUrl});(0,p.listenForDynamicRequest)(A,t)}}else F=w}else{if((0,l.isNavigatingToNewRootLayout)(D,F))return m(e,b,E,H);let n=(0,d.createEmptyCacheNode)(),r=!1;for(let e of(I.status!==s.PrefetchCacheEntryStatus.stale||L?r=(0,c.applyFlightData)(v,S,n,A,I):(r=function(A,e,t,n){let r=!1;for(let o of(A.rsc=e.rsc,A.prefetchRsc=e.prefetchRsc,A.loading=e.loading,A.parallelRoutes=new Map(e.parallelRoutes),y(n).map(A=>[...t,...A])))(0,B.clearCacheNodeDataForSegmentPath)(A,e,o),r=!0;return r}(n,S,t,w),I.lastUsedTime=v),(0,a.shouldHardNavigate)(Q,D)?(n.rsc=S.rsc,n.prefetchRsc=S.prefetchRsc,(0,o.invalidateCacheBelowFlightSegmentPath)(n,S,t),b.cache=n):r&&(b.cache=n,S=n),y(w))){let A=[...t,...e];A[A.length-1]!==h.DEFAULT_SEGMENT_KEY&&T.push(A)}}D=F}}return b.patchedTree=D,b.canonicalUrl=M,b.scrollableSegments=T,b.hashFragment=x,b.shouldScroll=F,(0,u.handleMutable)(e,b)},()=>e)}}});let n=t(59008),r=t(57391),o=t(18468),i=t(86770),a=t(65951),l=t(2030),s=t(59154),u=t(59435),c=t(56928),f=t(75076),d=t(89752),h=t(83913),p=t(65956),g=t(5334),B=t(97464),w=t(9707);function m(A,e,t,n){return e.mpaNavigation=!0,e.canonicalUrl=t,e.pendingPush=n,e.scrollableSegments=void 0,(0,u.handleMutable)(A,e)}function y(A){let e=[],[t,n]=A;if(0===Object.keys(n).length)return[[t]];for(let[A,r]of Object.entries(n))for(let n of y(r))""===t?e.push([A,...n]):e.push([t,A,...n]);return e}t(50593),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},25366:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("list",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},25942:(A,e,t)=>{"use strict";function n(A){return A}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeBasePath",{enumerable:!0,get:function(){return n}}),t(26736),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},26134:(A,e,t)=>{"use strict";t.d(e,{UC:()=>AA,VY:()=>At,ZL:()=>Z,bL:()=>Y,bm:()=>An,hE:()=>Ae,hJ:()=>$});var n=t(43210),r=t(70569),o=t(98599),i=t(11273),a=t(96963),l=t(65551),s=t(31355),u=t(32547),c=t(25028),f=t(46059),d=t(14163),h=t(1359),p=t(42247),g=t(63376),B=t(8730),w=t(60687),m="Dialog",[y,C]=(0,i.A)(m),[Q,U]=y(m),F=A=>{let{__scopeDialog:e,children:t,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=A,u=n.useRef(null),c=n.useRef(null),[f,d]=(0,l.i)({prop:r,defaultProp:o??!1,onChange:i,caller:m});return(0,w.jsx)(Q,{scope:e,triggerRef:u,contentRef:c,contentId:(0,a.B)(),titleId:(0,a.B)(),descriptionId:(0,a.B)(),open:f,onOpenChange:d,onOpenToggle:n.useCallback(()=>d(A=>!A),[d]),modal:s,children:t})};F.displayName=m;var v="DialogTrigger";n.forwardRef((A,e)=>{let{__scopeDialog:t,...n}=A,i=U(v,t),a=(0,o.s)(e,i.triggerRef);return(0,w.jsx)(d.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":G(i.open),...n,ref:a,onClick:(0,r.mK)(A.onClick,i.onOpenToggle)})}).displayName=v;var b="DialogPortal",[x,E]=y(b,{forceMount:void 0}),H=A=>{let{__scopeDialog:e,forceMount:t,children:r,container:o}=A,i=U(b,e);return(0,w.jsx)(x,{scope:e,forceMount:t,children:n.Children.map(r,A=>(0,w.jsx)(f.C,{present:t||i.open,children:(0,w.jsx)(c.Z,{asChild:!0,container:o,children:A})}))})};H.displayName=b;var I="DialogOverlay",k=n.forwardRef((A,e)=>{let t=E(I,A.__scopeDialog),{forceMount:n=t.forceMount,...r}=A,o=U(I,A.__scopeDialog);return o.modal?(0,w.jsx)(f.C,{present:n||o.open,children:(0,w.jsx)(M,{...r,ref:e})}):null});k.displayName=I;var L=(0,B.TL)("DialogOverlay.RemoveScroll"),M=n.forwardRef((A,e)=>{let{__scopeDialog:t,...n}=A,r=U(I,t);return(0,w.jsx)(p.A,{as:L,allowPinchZoom:!0,shards:[r.contentRef],children:(0,w.jsx)(d.sG.div,{"data-state":G(r.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),D="DialogContent",S=n.forwardRef((A,e)=>{let t=E(D,A.__scopeDialog),{forceMount:n=t.forceMount,...r}=A,o=U(D,A.__scopeDialog);return(0,w.jsx)(f.C,{present:n||o.open,children:o.modal?(0,w.jsx)(T,{...r,ref:e}):(0,w.jsx)(K,{...r,ref:e})})});S.displayName=D;var T=n.forwardRef((A,e)=>{let t=U(D,A.__scopeDialog),i=n.useRef(null),a=(0,o.s)(e,t.contentRef,i);return n.useEffect(()=>{let A=i.current;if(A)return(0,g.Eq)(A)},[]),(0,w.jsx)(P,{...A,ref:a,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.mK)(A.onCloseAutoFocus,A=>{A.preventDefault(),t.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.mK)(A.onPointerDownOutside,A=>{let e=A.detail.originalEvent,t=0===e.button&&!0===e.ctrlKey;(2===e.button||t)&&A.preventDefault()}),onFocusOutside:(0,r.mK)(A.onFocusOutside,A=>A.preventDefault())})}),K=n.forwardRef((A,e)=>{let t=U(D,A.__scopeDialog),r=n.useRef(!1),o=n.useRef(!1);return(0,w.jsx)(P,{...A,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{A.onCloseAutoFocus?.(e),e.defaultPrevented||(r.current||t.triggerRef.current?.focus(),e.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:e=>{A.onInteractOutside?.(e),e.defaultPrevented||(r.current=!0,"pointerdown"===e.detail.originalEvent.type&&(o.current=!0));let n=e.target;t.triggerRef.current?.contains(n)&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&o.current&&e.preventDefault()}})}),P=n.forwardRef((A,e)=>{let{__scopeDialog:t,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...l}=A,c=U(D,t),f=n.useRef(null),d=(0,o.s)(e,f);return(0,h.Oh)(),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(u.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,w.jsx)(s.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":G(c.open),...l,ref:d,onDismiss:()=>c.onOpenChange(!1)})}),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(J,{titleId:c.titleId}),(0,w.jsx)(W,{contentRef:f,descriptionId:c.descriptionId})]})]})}),R="DialogTitle",O=n.forwardRef((A,e)=>{let{__scopeDialog:t,...n}=A,r=U(R,t);return(0,w.jsx)(d.sG.h2,{id:r.titleId,...n,ref:e})});O.displayName=R;var N="DialogDescription",_=n.forwardRef((A,e)=>{let{__scopeDialog:t,...n}=A,r=U(N,t);return(0,w.jsx)(d.sG.p,{id:r.descriptionId,...n,ref:e})});_.displayName=N;var V="DialogClose",j=n.forwardRef((A,e)=>{let{__scopeDialog:t,...n}=A,o=U(V,t);return(0,w.jsx)(d.sG.button,{type:"button",...n,ref:e,onClick:(0,r.mK)(A.onClick,()=>o.onOpenChange(!1))})});function G(A){return A?"open":"closed"}j.displayName=V;var z="DialogTitleWarning",[q,X]=(0,i.q)(z,{contentName:D,titleName:R,docsSlug:"dialog"}),J=({titleId:A})=>{let e=X(z),t=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. - -If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. - -For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return n.useEffect(()=>{A&&(document.getElementById(A)||console.error(t))},[t,A]),null},W=({contentRef:A,descriptionId:e})=>{let t=X("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${t.contentName}}.`;return n.useEffect(()=>{let t=A.current?.getAttribute("aria-describedby");e&&t&&(document.getElementById(e)||console.warn(r))},[r,A,e]),null},Y=F,Z=H,$=k,AA=S,Ae=O,At=_,An=j},26316:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("file-code",[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]])},26512:(A,e,t)=>{"use strict";t.d(e,{m:()=>B});let n=Symbol.for("constructDateFrom");function r(A,e){return"function"==typeof A?A(e):A&&"object"==typeof A&&n in A?A[n](e):A instanceof Date?new A.constructor(e):new Date(e)}let o={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(A){return (e={})=>{let t=e.width?String(e.width):A.defaultWidth;return A.formats[t]||A.formats[A.defaultWidth]}}let a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(A){return(e,t)=>{let n;if("formatting"===(t?.context?String(t.context):"standalone")&&A.formattingValues){let e=A.defaultFormattingWidth||A.defaultWidth,r=t?.width?String(t.width):e;n=A.formattingValues[r]||A.formattingValues[e]}else{let e=A.defaultWidth,r=t?.width?String(t.width):A.defaultWidth;n=A.values[r]||A.values[e]}return n[A.argumentCallback?A.argumentCallback(e):e]}}function u(A){return(e,t={})=>{let n,r=t.width,o=r&&A.matchPatterns[r]||A.matchPatterns[A.defaultMatchWidth],i=e.match(o);if(!i)return null;let a=i[0],l=r&&A.parsePatterns[r]||A.parsePatterns[A.defaultParseWidth],s=Array.isArray(l)?function(A,e){for(let t=0;tA.test(a)):function(A,e){for(let t in A)if(Object.prototype.hasOwnProperty.call(A,t)&&e(A[t]))return t}(l,A=>A.test(a));return n=A.valueCallback?A.valueCallback(s):s,{value:n=t.valueCallback?t.valueCallback(n):n,rest:e.slice(a.length)}}}let c={code:"en-US",formatDistance:(A,e,t)=>{let n,r=o[A];if(n="string"==typeof r?r:1===e?r.one:r.other.replace("{{count}}",e.toString()),t?.addSuffix)if(t.comparison&&t.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:a,formatRelative:(A,e,t,n)=>l[A],localize:{ordinalNumber:(A,e)=>{let t=Number(A),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:A=>A-1}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(A){return(e,t={})=>{let n=e.match(A.matchPattern);if(!n)return null;let r=n[0],o=e.match(A.parsePattern);if(!o)return null;let i=A.valueCallback?A.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:A=>parseInt(A,10)}),era:u({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:u({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:A=>A+1}),month:u({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:u({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:u({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},f={};function d(A,e){return r(e||A,A)}function h(A){let e=d(A),t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),A-t}function p(A,...e){let t=r.bind(null,A||e.find(A=>"object"==typeof A));return e.map(t)}function g(A,e){let t=d(A)-d(e);return t<0?-1:t>0?1:t}function B(A,e){return function(A,e,t){let n,r=t?.locale??f.locale??c,o=g(A,e);if(isNaN(o))throw RangeError("Invalid time value");let i=Object.assign({},t,{addSuffix:t?.addSuffix,comparison:o}),[a,l]=p(t?.in,...o>0?[e,A]:[A,e]),s=function(A,e,t){var n;return(n=void 0,A=>{let e=(n?Math[n]:Math.trunc)(A);return 0===e?0:e})((d(A)-d(e))/1e3)}(l,a),u=Math.round((s-(h(l)-h(a))/1e3)/60);if(u<2)if(t?.includeSeconds)if(s<5)return r.formatDistance("lessThanXSeconds",5,i);else if(s<10)return r.formatDistance("lessThanXSeconds",10,i);else if(s<20)return r.formatDistance("lessThanXSeconds",20,i);else if(s<40)return r.formatDistance("halfAMinute",0,i);else if(s<60)return r.formatDistance("lessThanXMinutes",1,i);else return r.formatDistance("xMinutes",1,i);else if(0===u)return r.formatDistance("lessThanXMinutes",1,i);else return r.formatDistance("xMinutes",u,i);if(u<45)return r.formatDistance("xMinutes",u,i);if(u<90)return r.formatDistance("aboutXHours",1,i);if(u<1440){let A=Math.round(u/60);return r.formatDistance("aboutXHours",A,i)}if(u<2520)return r.formatDistance("xDays",1,i);else if(u<43200){let A=Math.round(u/1440);return r.formatDistance("xDays",A,i)}else if(u<86400)return n=Math.round(u/43200),r.formatDistance("aboutXMonths",n,i);if((n=function(A,e,t){let[n,r,o]=p(void 0,A,A,e),i=g(r,o),a=Math.abs(function(A,e,t){let[n,r]=p(void 0,A,e);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,o));if(a<1)return 0;1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);let l=g(r,o)===-i;(function(A,e){let t=d(A,void 0);return+function(A,e){let t=d(A,e?.in);return t.setHours(23,59,59,999),t}(t,void 0)==+function(A,e){let t=d(A,e?.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}(t,e)})(n)&&1===a&&1===g(n,o)&&(l=!1);let s=i*(a-l);return 0===s?0:s}(l,a))<12){let A=Math.round(u/43200);return r.formatDistance("xMonths",A,i)}{let A=n%12,e=Math.trunc(n/12);return A<3?r.formatDistance("aboutXYears",e,i):A<9?r.formatDistance("overXYears",e,i):r.formatDistance("almostXYears",e+1,i)}}(A,r(A,Date.now()),e)}},26736:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"hasBasePath",{enumerable:!0,get:function(){return r}});let n=t(2255);function r(A){return(0,n.pathHasPrefix)(A,"")}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},27900:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},28590:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("mouse-pointer-click",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]])},28627:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"restoreReducer",{enumerable:!0,get:function(){return o}});let n=t(57391),r=t(70642);function o(A,e){var t;let{url:o,tree:i}=e,a=(0,n.createHrefFromUrl)(o),l=i||A.tree,s=A.cache;return{canonicalUrl:a,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:A.focusAndScrollRef,cache:s,prefetchCache:A.prefetchCache,tree:l,nextUrl:null!=(t=(0,r.extractPathFromFlightRouterState)(l))?t:o.pathname}}t(65956),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},29651:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"serverPatchReducer",{enumerable:!0,get:function(){return u}});let n=t(57391),r=t(86770),o=t(2030),i=t(25232),a=t(56928),l=t(59435),s=t(89752);function u(A,e){let{serverResponse:{flightData:t,canonicalUrl:u},navigatedAt:c}=e,f={};if(f.preserveCustomHistoryState=!1,"string"==typeof t)return(0,i.handleExternalUrl)(A,f,t,A.pushRef.pendingPush);let d=A.tree,h=A.cache;for(let e of t){let{segmentPath:t,tree:l}=e,p=(0,r.applyRouterStatePatchToTree)(["",...t],d,l,A.canonicalUrl);if(null===p)return A;if((0,o.isNavigatingToNewRootLayout)(d,p))return(0,i.handleExternalUrl)(A,f,A.canonicalUrl,A.pushRef.pendingPush);let g=u?(0,n.createHrefFromUrl)(u):void 0;g&&(f.canonicalUrl=g);let B=(0,s.createEmptyCacheNode)();(0,a.applyFlightData)(c,h,B,e),f.patchedTree=p,f.cache=B,h=B,d=p}return(0,l.handleMutable)(A,f)}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},30195:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{formatUrl:function(){return o},formatWithValidation:function(){return a},urlObjectKeys:function(){return i}});let n=t(40740)._(t(76715)),r=/https?|ftp|gopher|file/;function o(A){let{auth:e,hostname:t}=A,o=A.protocol||"",i=A.pathname||"",a=A.hash||"",l=A.query||"",s=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",A.host?s=e+A.host:t&&(s=e+(~t.indexOf(":")?"["+t+"]":t),A.port&&(s+=":"+A.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let u=A.search||l&&"?"+l||"";return o&&!o.endsWith(":")&&(o+=":"),A.slashes||(!o||r.test(o))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),a&&"#"!==a[0]&&(a="#"+a),u&&"?"!==u[0]&&(u="?"+u),""+o+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(u=u.replace("#","%23"))+a}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(A){return o(A)}},31158:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},32192:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},32708:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return t}});let t=A=>{}},33427:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("folder-tree",[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]])},33502:(A,e,t)=>{"use strict";function n(A){return A.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}t.d(e,{B:()=>n})},33898:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{fillCacheWithNewSubTreeData:function(){return l},fillCacheWithNewSubTreeDataButOnlyLoading:function(){return s}});let n=t(34400),r=t(41500),o=t(33123),i=t(83913);function a(A,e,t,a,l,s){let{segmentPath:u,seedData:c,tree:f,head:d}=a,h=e,p=t;for(let e=0;e{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},34318:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},34400:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return r}});let n=t(33123);function r(A,e,t){for(let r in t[1]){let o=t[1][r][0],i=(0,n.createRouterCacheKey)(o),a=e.parallelRoutes.get(r);if(a){let e=new Map(a);e.delete(i),A.parallelRoutes.set(r,e)}}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},35416:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{HTML_LIMITED_BOT_UA_RE:function(){return n.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return o},getBotType:function(){return l},isBot:function(){return a}});let n=t(95796),r=/Googlebot|Google-PageRenderer|AdsBot-Google|googleweblight|Storebot-Google/i,o=n.HTML_LIMITED_BOT_UA_RE.source;function i(A){return n.HTML_LIMITED_BOT_UA_RE.test(A)}function a(A){return r.test(A)||i(A)}function l(A){return r.test(A)?"dom":i(A)?"html":void 0}},35429:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"serverActionReducer",{enumerable:!0,get:function(){return H}});let n=t(11264),r=t(11448),o=t(91563),i=t(59154),a=t(6361),l=t(57391),s=t(25232),u=t(86770),c=t(2030),f=t(59435),d=t(41500),h=t(89752),p=t(68214),g=t(96493),B=t(22308),w=t(74007),m=t(36875),y=t(97860),C=t(5334),Q=t(25942),U=t(26736),F=t(24642);t(50593);let{createFromFetch:v,createTemporaryReferenceSet:b,encodeReply:x}=t(19357);async function E(A,e,t){let i,l,{actionId:s,actionArgs:u}=t,c=b(),f=(0,F.extractInfoFromServerReferenceId)(s),d="use-cache"===f.type?(0,F.omitUnusedArgs)(u,f):u,h=await x(d,{temporaryReferences:c}),p=await fetch("",{method:"POST",headers:{Accept:o.RSC_CONTENT_TYPE_HEADER,[o.ACTION_HEADER]:s,[o.NEXT_ROUTER_STATE_TREE_HEADER]:(0,w.prepareFlightRouterStateForRequest)(A.tree),...{},...e?{[o.NEXT_URL]:e}:{}},body:h}),g=p.headers.get("x-action-redirect"),[B,m]=(null==g?void 0:g.split(";"))||[];switch(m){case"push":i=y.RedirectType.push;break;case"replace":i=y.RedirectType.replace;break;default:i=void 0}let C=!!p.headers.get(o.NEXT_IS_PRERENDER_HEADER);try{let A=JSON.parse(p.headers.get("x-action-revalidated")||"[[],0,0]");l={paths:A[0]||[],tag:!!A[1],cookie:A[2]}}catch(A){l={paths:[],tag:!1,cookie:!1}}let Q=B?(0,a.assignLocation)(B,new URL(A.canonicalUrl,window.location.href)):void 0,U=p.headers.get("content-type");if(null==U?void 0:U.startsWith(o.RSC_CONTENT_TYPE_HEADER)){let A=await v(Promise.resolve(p),{callServer:n.callServer,findSourceMapURL:r.findSourceMapURL,temporaryReferences:c});return B?{actionFlightData:(0,w.normalizeFlightData)(A.f),redirectLocation:Q,redirectType:i,revalidatedParts:l,isPrerender:C}:{actionResult:A.a,actionFlightData:(0,w.normalizeFlightData)(A.f),redirectLocation:Q,redirectType:i,revalidatedParts:l,isPrerender:C}}if(p.status>=400)throw Object.defineProperty(Error("text/plain"===U?await p.text():"An unexpected response was received from the server."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return{redirectLocation:Q,redirectType:i,revalidatedParts:l,isPrerender:C}}function H(A,e){let{resolve:t,reject:n}=e,r={},o=A.tree;r.preserveCustomHistoryState=!1;let a=A.nextUrl&&(0,p.hasInterceptionRouteInCurrentTree)(A.tree)?A.nextUrl:null,w=Date.now();return E(A,a,e).then(async p=>{let F,{actionResult:v,actionFlightData:b,redirectLocation:x,redirectType:E,isPrerender:H,revalidatedParts:I}=p;if(x&&(E===y.RedirectType.replace?(A.pushRef.pendingPush=!1,r.pendingPush=!1):(A.pushRef.pendingPush=!0,r.pendingPush=!0),r.canonicalUrl=F=(0,l.createHrefFromUrl)(x,!1)),!b)return(t(v),x)?(0,s.handleExternalUrl)(A,r,x.href,A.pushRef.pendingPush):A;if("string"==typeof b)return t(v),(0,s.handleExternalUrl)(A,r,b,A.pushRef.pendingPush);let k=I.paths.length>0||I.tag||I.cookie;for(let n of b){let{tree:i,seedData:l,head:f,isRootRender:p}=n;if(!p)return console.log("SERVER ACTION APPLY FAILED"),t(v),A;let m=(0,u.applyRouterStatePatchToTree)([""],o,i,F||A.canonicalUrl);if(null===m)return t(v),(0,g.handleSegmentMismatch)(A,e,i);if((0,c.isNavigatingToNewRootLayout)(o,m))return t(v),(0,s.handleExternalUrl)(A,r,F||A.canonicalUrl,A.pushRef.pendingPush);if(null!==l){let e=l[1],t=(0,h.createEmptyCacheNode)();t.rsc=e,t.prefetchRsc=null,t.loading=l[3],(0,d.fillLazyItemsTillLeafWithHead)(w,t,void 0,i,l,f,void 0),r.cache=t,r.prefetchCache=new Map,k&&await (0,B.refreshInactiveParallelSegments)({navigatedAt:w,state:A,updatedTree:m,updatedCache:t,includeNextUrl:!!a,canonicalUrl:r.canonicalUrl||A.canonicalUrl})}r.patchedTree=m,o=m}return x&&F?(k||((0,C.createSeededPrefetchCacheEntry)({url:x,data:{flightData:b,canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1},tree:A.tree,prefetchCache:A.prefetchCache,nextUrl:A.nextUrl,kind:H?i.PrefetchKind.FULL:i.PrefetchKind.AUTO}),r.prefetchCache=A.prefetchCache),n((0,m.getRedirectError)((0,U.hasBasePath)(F)?(0,Q.removeBasePath)(F):F,E||y.RedirectType.push))):t(v),(0,f.handleMutable)(A,r)},e=>(n(e),A))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},39262:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("toggle-left",[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]])},39916:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},40083:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]])},41203:(A,e,t)=>{"use strict";t.d(e,{B:()=>o});var n=t(50533),r=t(51822);let o={partial:!0,tokenize:function(A,e,t){return function(e){return(0,r.On)(e)?(0,n.N)(A,o,"linePrefix")(e):o(e)};function o(A){return null===A||(0,r.HP)(A)?e(A):t(A)}}}},41312:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},41319:(A,e,t)=>{"use strict";function n(){}function r(){}t.d(e,{HB:()=>r,ok:()=>n})},41500:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function A(e,t,o,i,a,l,s){if(0===Object.keys(i[1]).length){t.head=l;return}for(let u in i[1]){let c,f=i[1][u],d=f[0],h=(0,n.createRouterCacheKey)(d),p=null!==a&&void 0!==a[2][u]?a[2][u]:null;if(o){let n=o.parallelRoutes.get(u);if(n){let o,i=(null==s?void 0:s.kind)==="auto"&&s.status===r.PrefetchCacheEntryStatus.reusable,a=new Map(n),c=a.get(h);o=null!==p?{lazyData:null,rsc:p[1],prefetchRsc:null,head:null,prefetchHead:null,loading:p[3],parallelRoutes:new Map(null==c?void 0:c.parallelRoutes),navigatedAt:e}:i&&c?{lazyData:c.lazyData,rsc:c.rsc,prefetchRsc:c.prefetchRsc,head:c.head,prefetchHead:c.prefetchHead,parallelRoutes:new Map(c.parallelRoutes),loading:c.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==c?void 0:c.parallelRoutes),loading:null,navigatedAt:e},a.set(h,o),A(e,o,c,f,p||null,l,s),t.parallelRoutes.set(u,a);continue}}if(null!==p){let A=p[1],t=p[3];c={lazyData:null,rsc:A,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:t,navigatedAt:e}}else c={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:e};let g=t.parallelRoutes.get(u);g?g.set(h,c):t.parallelRoutes.set(u,new Map([[h,c]])),A(e,c,void 0,f,p,l,s)}}}});let n=t(33123),r=t(59154);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},43649:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},44397:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"findHeadInCache",{enumerable:!0,get:function(){return r}});let n=t(33123);function r(A,e){return function A(e,t,r){if(0===Object.keys(t).length)return[e,r];let o=Object.keys(t).filter(A=>"children"!==A);for(let i of("children"in t&&o.unshift("children"),o)){let[o,a]=t[i],l=e.parallelRoutes.get(i);if(!l)continue;let s=(0,n.createRouterCacheKey)(o),u=l.get(s);if(!u)continue;let c=A(u,a,r+"/"+s);if(c)return c}return null}(A,e,"")}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},44517:A=>{var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g;function s(A){return A?A.replace(l,""):""}A.exports=function(A,l){if("string"!=typeof A)throw TypeError("First argument must be a string");if(!A)return[];l=l||{};var u=1,c=1;function f(A){var e=A.match(t);e&&(u+=e.length);var n=A.lastIndexOf("\n");c=~n?A.length-n:c+A.length}function d(){var A={line:u,column:c};return function(e){return e.position=new h(A),B(n),e}}function h(A){this.start=A,this.end={line:u,column:c},this.source=l.source}h.prototype.content=A;var p=[];function g(e){var t=Error(l.source+":"+u+":"+c+": "+e);if(t.reason=e,t.filename=l.source,t.line=u,t.column=c,t.source=A,l.silent)p.push(t);else throw t}function B(e){var t=e.exec(A);if(t){var n=t[0];return f(n),A=A.slice(n.length),t}}function w(A){var e;for(A=A||[];e=m();)!1!==e&&A.push(e);return A}function m(){var e=d();if("/"==A.charAt(0)&&"*"==A.charAt(1)){for(var t=2;""!=A.charAt(t)&&("*"!=A.charAt(t)||"/"!=A.charAt(t+1));)++t;if(t+=2,""===A.charAt(t-1))return g("End of comment missing");var n=A.slice(2,t-2);return c+=2,f(n),A=A.slice(t),c+=2,e({type:"comment",comment:n})}}B(n);var y,C=[];for(w(C);y=function(){var A=d(),t=B(r);if(t){if(m(),!B(o))return g("property missing ':'");var n=B(i),l=A({type:"declaration",property:s(t[0].replace(e,"")),value:n?s(n[0].replace(e,"")):""});return B(a),l}}();)!1!==y&&(C.push(y),w(C));return C}},45547:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]])},45609:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("power",[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]])},45989:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("test-tube",[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]])},47033:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},47260:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]])},48210:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]])},49625:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},49753:(A,e,t)=>{"use strict";function n(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable})),t.push.apply(t,n)}return t}t.d(e,{Ay:()=>N});function r(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=Array(e);t=A.length?A.apply(this,r):function(){for(var A=arguments.length,n=Array(A),o=0;o=A.length?A.apply(this,r):function(){for(var A=arguments.length,n=Array(A),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};c.initial(A),c.handler(e);var t={current:A},n=a(h)(t,e),r=a(d)(t),o=a(c.changes)(A),i=a(f)(t);return[function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(A){return A};return c.selector(A),A(t.current)},function(A){(function(){for(var A=arguments.length,e=Array(A),t=0;t{n.current=!1}:A,e)};function T(){}function K(A,e,t,n){var r,o,i,a,l,s;return r=A,o=n,r.editor.getModel(P(r,o))||(i=A,a=e,l=t,s=n,i.editor.createModel(a,l,s?P(i,s):void 0))}function P(A,e){return A.Uri.parse(e)}(0,H.memo)(function({original:A,modified:e,language:t,originalLanguage:n,modifiedLanguage:r,originalModelPath:o,modifiedModelPath:i,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:l=!1,theme:s="light",loading:u="Loading...",options:c={},height:f="100%",width:d="100%",className:h,wrapperProps:p={},beforeMount:g=T,onMount:B=T}){let[w,m]=(0,H.useState)(!1),[y,C]=(0,H.useState)(!0),Q=(0,H.useRef)(null),U=(0,H.useRef)(null),F=(0,H.useRef)(null),v=(0,H.useRef)(B),b=(0,H.useRef)(g),x=(0,H.useRef)(!1);D(()=>{let A=E.init();return A.then(A=>(U.current=A)&&C(!1)).catch(A=>A?.type!=="cancelation"&&console.error("Monaco initialization: error:",A)),()=>{let e;return Q.current?(e=Q.current?.getModel(),void(a||e?.original?.dispose(),l||e?.modified?.dispose(),Q.current?.dispose())):A.cancel()}}),S(()=>{if(Q.current&&U.current){let e=Q.current.getOriginalEditor(),r=K(U.current,A||"",n||t||"text",o||"");r!==e.getModel()&&e.setModel(r)}},[o],w),S(()=>{if(Q.current&&U.current){let A=Q.current.getModifiedEditor(),n=K(U.current,e||"",r||t||"text",i||"");n!==A.getModel()&&A.setModel(n)}},[i],w),S(()=>{let A=Q.current.getModifiedEditor();A.getOption(U.current.editor.EditorOption.readOnly)?A.setValue(e||""):e!==A.getValue()&&(A.executeEdits("",[{range:A.getModel().getFullModelRange(),text:e||"",forceMoveMarkers:!0}]),A.pushUndoStop())},[e],w),S(()=>{Q.current?.getModel()?.original.setValue(A||"")},[A],w),S(()=>{let{original:A,modified:e}=Q.current.getModel();U.current.editor.setModelLanguage(A,n||t||"text"),U.current.editor.setModelLanguage(e,r||t||"text")},[t,n,r],w),S(()=>{U.current?.editor.setTheme(s)},[s],w),S(()=>{Q.current?.updateOptions(c)},[c],w);let I=(0,H.useCallback)(()=>{if(!U.current)return;b.current(U.current);let a=K(U.current,A||"",n||t||"text",o||""),l=K(U.current,e||"",r||t||"text",i||"");Q.current?.setModel({original:a,modified:l})},[t,e,r,A,n,o,i]),k=(0,H.useCallback)(()=>{!x.current&&F.current&&(Q.current=U.current.editor.createDiffEditor(F.current,{automaticLayout:!0,...c}),I(),U.current?.editor.setTheme(s),m(!0),x.current=!0)},[c,s,I]);return(0,H.useEffect)(()=>{w&&v.current(Q.current,U.current)},[w]),(0,H.useEffect)(()=>{y||w||k()},[y,w,k]),H.createElement(M,{width:d,height:f,isEditorReady:w,loading:u,_ref:F,className:h,wrapperProps:p})});var R=function(A){let e=(0,H.useRef)();return(0,H.useEffect)(()=>{e.current=A},[A]),e.current},O=new Map,N=(0,H.memo)(function({defaultValue:A,defaultLanguage:e,defaultPath:t,value:n,language:r,path:o,theme:i="light",line:a,loading:l="Loading...",options:s={},overrideServices:u={},saveViewState:c=!0,keepCurrentModel:f=!1,width:d="100%",height:h="100%",className:p,wrapperProps:g={},beforeMount:B=T,onMount:w=T,onChange:m,onValidate:y=T}){let[C,Q]=(0,H.useState)(!1),[U,F]=(0,H.useState)(!0),v=(0,H.useRef)(null),b=(0,H.useRef)(null),x=(0,H.useRef)(null),I=(0,H.useRef)(w),k=(0,H.useRef)(B),L=(0,H.useRef)(),P=(0,H.useRef)(n),N=R(o),_=(0,H.useRef)(!1),V=(0,H.useRef)(!1);D(()=>{let A=E.init();return A.then(A=>(v.current=A)&&F(!1)).catch(A=>A?.type!=="cancelation"&&console.error("Monaco initialization: error:",A)),()=>b.current?void(L.current?.dispose(),f?c&&O.set(o,b.current.saveViewState()):b.current.getModel()?.dispose(),b.current.dispose()):A.cancel()}),S(()=>{let i=K(v.current,A||n||"",e||r||"",o||t||"");i!==b.current?.getModel()&&(c&&O.set(N,b.current?.saveViewState()),b.current?.setModel(i),c&&b.current?.restoreViewState(O.get(o)))},[o],C),S(()=>{b.current?.updateOptions(s)},[s],C),S(()=>{b.current&&void 0!==n&&(b.current.getOption(v.current.editor.EditorOption.readOnly)?b.current.setValue(n):n!==b.current.getValue()&&(V.current=!0,b.current.executeEdits("",[{range:b.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),b.current.pushUndoStop(),V.current=!1))},[n],C),S(()=>{let A=b.current?.getModel();A&&r&&v.current?.editor.setModelLanguage(A,r)},[r],C),S(()=>{void 0!==a&&b.current?.revealLine(a)},[a],C),S(()=>{v.current?.editor.setTheme(i)},[i],C);let j=(0,H.useCallback)(()=>{if(!(!x.current||!v.current)&&!_.current){k.current(v.current);let l=o||t,f=K(v.current,n||A||"",e||r||"",l||"");b.current=v.current?.editor.create(x.current,{model:f,automaticLayout:!0,...s},u),c&&b.current.restoreViewState(O.get(l)),v.current.editor.setTheme(i),void 0!==a&&b.current.revealLine(a),Q(!0),_.current=!0}},[A,e,t,n,r,o,s,u,c,i,a]);return(0,H.useEffect)(()=>{C&&I.current(b.current,v.current)},[C]),(0,H.useEffect)(()=>{U||C||j()},[U,C,j]),P.current=n,(0,H.useEffect)(()=>{C&&m&&(L.current?.dispose(),L.current=b.current?.onDidChangeModelContent(A=>{V.current||m(b.current.getValue(),A)}))},[C,m]),(0,H.useEffect)(()=>{if(C){let A=v.current.editor.onDidChangeMarkers(A=>{let e=b.current.getModel()?.uri;if(e&&A.find(A=>A.path===e.path)){let A=v.current.editor.getModelMarkers({resource:e});y?.(A)}});return()=>{A?.dispose()}}return()=>{}},[C,y]),H.createElement(M,{width:d,height:h,isEditorReady:C,loading:l,_ref:x,className:p,wrapperProps:g})})},50533:(A,e,t)=>{"use strict";t.d(e,{N:()=>r});var n=t(51822);function r(A,e,t,r){let o=r?r-1:Number.POSITIVE_INFINITY,i=0;return function(r){return(0,n.On)(r)?(A.enter(t),function r(a){return(0,n.On)(a)&&i++{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{NavigationResultTag:function(){return c},PrefetchPriority:function(){return f},cancelPrefetchTask:function(){return l},createCacheKey:function(){return u},getCurrentCacheVersion:function(){return i},navigate:function(){return r},prefetch:function(){return n},reschedulePrefetchTask:function(){return s},revalidateEntireCache:function(){return o},schedulePrefetchTask:function(){return a}});let t=()=>{throw Object.defineProperty(Error("Segment Cache experiment is not enabled. This is a bug in Next.js."),"__NEXT_ERROR_CODE",{value:"E654",enumerable:!1,configurable:!0})},n=t,r=t,o=t,i=t,a=t,l=t,s=t,u=t;var c=function(A){return A[A.MPA=0]="MPA",A[A.Success=1]="Success",A[A.NoOp=2]="NoOp",A[A.Async=3]="Async",A}({}),f=function(A){return A[A.Intent=2]="Intent",A[A.Default=1]="Default",A[A.Background=0]="Background",A}({});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},51550:(A,e,t)=>{"use strict";function n(A,e){if(!Object.prototype.hasOwnProperty.call(A,e))throw TypeError("attempted to use private field on non-instance");return A}t.r(e),t.d(e,{_:()=>n})},51822:(A,e,t)=>{"use strict";t.d(e,{BM:()=>a,CW:()=>n,Ee:()=>c,HP:()=>u,JQ:()=>i,Ny:()=>h,On:()=>f,cx:()=>o,es:()=>d,lV:()=>r,ok:()=>l,ol:()=>s});let n=p(/[A-Za-z]/),r=p(/[\dA-Za-z]/),o=p(/[#-'*+\--9=?A-Z^-~]/);function i(A){return null!==A&&(A<32||127===A)}let a=p(/\d/),l=p(/[\dA-Fa-f]/),s=p(/[!-/:-@[-`{-~]/);function u(A){return null!==A&&A<-2}function c(A){return null!==A&&(A<0||32===A)}function f(A){return -2===A||-1===A||32===A}let d=p(/\p{P}|\p{S}/u),h=p(/\s/);function p(A){return function(e){return null!==e&&e>-1&&A.test(String.fromCharCode(e))}}},53038:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=t(43210);function r(A,e){let t=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let A=t.current;A&&(t.current=null,A());let e=r.current;e&&(r.current=null,e())}else A&&(t.current=o(A,n)),e&&(r.current=o(e,n))},[A,e])}function o(A,e){if("function"!=typeof A)return A.current=e,()=>{A.current=null};{let t=A(e);return"function"==typeof t?t:()=>A(null)}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},53094:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]])},53411:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},54220:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("arrow-up-down",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]])},54674:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});let n=t(84949),r=t(19169),o=A=>{if(!A.startsWith("/"))return A;let{pathname:e,query:t,hash:o}=(0,r.parsePath)(A);return""+(0,n.removeTrailingSlash)(e)+t+o};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},55146:(A,e,t)=>{"use strict";t.d(e,{B8:()=>H,UC:()=>k,bL:()=>E,l9:()=>I});var n=t(43210),r=t(70569),o=t(11273),i=t(72942),a=t(46059),l=t(14163),s=t(43),u=t(65551),c=t(96963),f=t(60687),d="Tabs",[h,p]=(0,o.A)(d,[i.RG]),g=(0,i.RG)(),[B,w]=h(d),m=n.forwardRef((A,e)=>{let{__scopeTabs:t,value:n,onValueChange:r,defaultValue:o,orientation:i="horizontal",dir:a,activationMode:h="automatic",...p}=A,g=(0,s.jH)(a),[w,m]=(0,u.i)({prop:n,onChange:r,defaultProp:o??"",caller:d});return(0,f.jsx)(B,{scope:t,baseId:(0,c.B)(),value:w,onValueChange:m,orientation:i,dir:g,activationMode:h,children:(0,f.jsx)(l.sG.div,{dir:g,"data-orientation":i,...p,ref:e})})});m.displayName=d;var y="TabsList",C=n.forwardRef((A,e)=>{let{__scopeTabs:t,loop:n=!0,...r}=A,o=w(y,t),a=g(t);return(0,f.jsx)(i.bL,{asChild:!0,...a,orientation:o.orientation,dir:o.dir,loop:n,children:(0,f.jsx)(l.sG.div,{role:"tablist","aria-orientation":o.orientation,...r,ref:e})})});C.displayName=y;var Q="TabsTrigger",U=n.forwardRef((A,e)=>{let{__scopeTabs:t,value:n,disabled:o=!1,...a}=A,s=w(Q,t),u=g(t),c=b(s.baseId,n),d=x(s.baseId,n),h=n===s.value;return(0,f.jsx)(i.q7,{asChild:!0,...u,focusable:!o,active:h,children:(0,f.jsx)(l.sG.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":d,"data-state":h?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:c,...a,ref:e,onMouseDown:(0,r.mK)(A.onMouseDown,A=>{o||0!==A.button||!1!==A.ctrlKey?A.preventDefault():s.onValueChange(n)}),onKeyDown:(0,r.mK)(A.onKeyDown,A=>{[" ","Enter"].includes(A.key)&&s.onValueChange(n)}),onFocus:(0,r.mK)(A.onFocus,()=>{let A="manual"!==s.activationMode;h||o||!A||s.onValueChange(n)})})})});U.displayName=Q;var F="TabsContent",v=n.forwardRef((A,e)=>{let{__scopeTabs:t,value:r,forceMount:o,children:i,...s}=A,u=w(F,t),c=b(u.baseId,r),d=x(u.baseId,r),h=r===u.value,p=n.useRef(h);return n.useEffect(()=>{let A=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(A)},[]),(0,f.jsx)(a.C,{present:o||h,children:({present:t})=>(0,f.jsx)(l.sG.div,{"data-state":h?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":c,hidden:!t,id:d,tabIndex:0,...s,ref:e,style:{...A.style,animationDuration:p.current?"0s":void 0},children:t&&i})})});function b(A,e){return`${A}-trigger-${e}`}function x(A,e){return`${A}-content-${e}`}v.displayName=F;var E=m,H=C,I=U,k=v},56928:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"applyFlightData",{enumerable:!0,get:function(){return o}});let n=t(41500),r=t(33898);function o(A,e,t,o,i){let{tree:a,seedData:l,head:s,isRootRender:u}=o;if(null===l)return!1;if(u){let r=l[1];t.loading=l[3],t.rsc=r,t.prefetchRsc=null,(0,n.fillLazyItemsTillLeafWithHead)(A,t,e,a,l,s,i)}else t.rsc=e.rsc,t.prefetchRsc=e.prefetchRsc,t.parallelRoutes=new Map(e.parallelRoutes),t.loading=e.loading,(0,r.fillCacheWithNewSubTreeData)(A,t,e,o,i);return!0}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},57175:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},58559:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},58887:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("message-square",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},59435:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"handleMutable",{enumerable:!0,get:function(){return o}});let n=t(70642);function r(A){return void 0!==A}function o(A,e){var t,o;let i=null==(t=e.shouldScroll)||t,a=A.nextUrl;if(r(e.patchedTree)){let t=(0,n.computeChangedPath)(A.tree,e.patchedTree);t?a=t:a||(a=A.canonicalUrl)}return{canonicalUrl:r(e.canonicalUrl)?e.canonicalUrl===A.canonicalUrl?A.canonicalUrl:e.canonicalUrl:A.canonicalUrl,pushRef:{pendingPush:r(e.pendingPush)?e.pendingPush:A.pushRef.pendingPush,mpaNavigation:r(e.mpaNavigation)?e.mpaNavigation:A.pushRef.mpaNavigation,preserveCustomHistoryState:r(e.preserveCustomHistoryState)?e.preserveCustomHistoryState:A.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!i&&(!!r(null==e?void 0:e.scrollableSegments)||A.focusAndScrollRef.apply),onlyHashChange:e.onlyHashChange||!1,hashFragment:i?e.hashFragment&&""!==e.hashFragment?decodeURIComponent(e.hashFragment.slice(1)):A.focusAndScrollRef.hashFragment:null,segmentPaths:i?null!=(o=null==e?void 0:e.scrollableSegments)?o:A.focusAndScrollRef.segmentPaths:[]},cache:e.cache?e.cache:A.cache,prefetchCache:e.prefetchCache?e.prefetchCache:A.prefetchCache,tree:r(e.patchedTree)?e.patchedTree:A.tree,nextUrl:a}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},59656:(A,e,t)=>{"use strict";t.r(e),t.d(e,{_:()=>r});var n=0;function r(A){return"__private_"+n+++"_"+A}},61187:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("layout-template",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]])},61611:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},61794:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=t(79289),r=t(26736);function o(A){if(!(0,n.isAbsoluteUrl)(A))return!0;try{let e=(0,n.getLocationOrigin)(),t=new URL(A,e);return t.origin===e&&(0,r.hasBasePath)(t.pathname)}catch(A){return!1}}},62022:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("hard-drive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},62157:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]])},63143:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]])},63690:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{createMutableActionQueue:function(){return h},dispatchNavigateAction:function(){return B},dispatchTraverseAction:function(){return w},getCurrentAppRouterState:function(){return p},publicAppRouterInstance:function(){return m}});let n=t(59154),r=t(8830),o=t(43210),i=t(91992);t(50593);let a=t(19129),l=t(96127),s=t(89752),u=t(75076),c=t(73406);function f(A,e){null!==A.pending&&(A.pending=A.pending.next,null!==A.pending?d({actionQueue:A,action:A.pending,setState:e}):A.needsRefresh&&(A.needsRefresh=!1,A.dispatch({type:n.ACTION_REFRESH,origin:window.location.origin},e)))}async function d(A){let{actionQueue:e,action:t,setState:n}=A,r=e.state;e.pending=t;let o=t.payload,a=e.action(r,o);function l(A){t.discarded||(e.state=A,f(e,n),t.resolve(A))}(0,i.isThenable)(a)?a.then(l,A=>{f(e,n),t.reject(A)}):l(a)}function h(A,e){let t={state:A,dispatch:(A,e)=>(function(A,e,t){let r={resolve:t,reject:()=>{}};if(e.type!==n.ACTION_RESTORE){let A=new Promise((A,e)=>{r={resolve:A,reject:e}});(0,o.startTransition)(()=>{t(A)})}let i={payload:e,next:null,resolve:r.resolve,reject:r.reject};null===A.pending?(A.last=i,d({actionQueue:A,action:i,setState:t})):e.type===n.ACTION_NAVIGATE||e.type===n.ACTION_RESTORE?(A.pending.discarded=!0,i.next=A.pending.next,A.pending.payload.type===n.ACTION_SERVER_ACTION&&(A.needsRefresh=!0),d({actionQueue:A,action:i,setState:t})):(null!==A.last&&(A.last.next=i),A.last=i)})(t,A,e),action:async(A,e)=>(0,r.reducer)(A,e),pending:null,last:null,onRouterTransitionStart:null!==e&&"function"==typeof e.onRouterTransitionStart?e.onRouterTransitionStart:null};return t}function p(){return null}function g(){return null}function B(A,e,t,r){let o=new URL((0,l.addBasePath)(A),location.href);(0,c.setLinkForCurrentNavigation)(r);(0,a.dispatchAppRouterAction)({type:n.ACTION_NAVIGATE,url:o,isExternalUrl:(0,s.isExternalURL)(o),locationSearch:location.search,shouldScroll:t,navigateType:e,allowAliasing:!0})}function w(A,e){(0,a.dispatchAppRouterAction)({type:n.ACTION_RESTORE,url:new URL(A),tree:e})}let m={back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(A,e)=>{let t=function(){throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}(),r=(0,s.createPrefetchURL)(A);if(null!==r){var o;(0,u.prefetchReducer)(t.state,{type:n.ACTION_PREFETCH,url:r,kind:null!=(o=null==e?void 0:e.kind)?o:n.PrefetchKind.FULL})}},replace:(A,e)=>{(0,o.startTransition)(()=>{var t;B(A,"replace",null==(t=null==e?void 0:e.scroll)||t,null)})},push:(A,e)=>{(0,o.startTransition)(()=>{var t;B(A,"push",null==(t=null==e?void 0:e.scroll)||t,null)})},refresh:()=>{(0,o.startTransition)(()=>{(0,a.dispatchAppRouterAction)({type:n.ACTION_REFRESH,origin:window.location.origin})})},hmrRefresh:()=>{throw Object.defineProperty(Error("hmrRefresh can only be used in development mode. Please use refresh instead."),"__NEXT_ERROR_CODE",{value:"E485",enumerable:!1,configurable:!0})}};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},65668:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("circle-help",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},65777:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},65822:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},65840:function(A,e,t){"use strict";var n=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(A,e){var t=null;if(!A||"string"!=typeof A)return t;var n=(0,r.default)(A),o="function"==typeof e;return n.forEach(function(A){if("declaration"===A.type){var n=A.property,r=A.value;o?e(n,r,A):r&&((t=t||{})[n]=r)}}),t};var r=n(t(44517))},65915:(A,e,t)=>{"use strict";t.d(e,{G5:()=>W,H_:()=>V,JU:()=>N,Pb:()=>X,UC:()=>R,VF:()=>z,YJ:()=>O,ZL:()=>P,ZP:()=>J,bL:()=>T,hN:()=>G,l9:()=>K,q7:()=>_,wv:()=>q,z6:()=>j});var n=t(43210),r=t(70569),o=t(11273),i=t(14163),a=t(75009),l=t(13495),s=t(65551),u=t(60687),c="ContextMenu",[f,d]=(0,o.A)(c,[a.UE]),h=(0,a.UE)(),[p,g]=f(c),B=A=>{let{__scopeContextMenu:e,children:t,onOpenChange:r,dir:o,modal:i=!0}=A,[s,c]=n.useState(!1),f=h(e),d=(0,l.c)(r),g=n.useCallback(A=>{c(A),d(A)},[d]);return(0,u.jsx)(p,{scope:e,open:s,onOpenChange:g,modal:i,children:(0,u.jsx)(a.bL,{...f,dir:o,open:s,onOpenChange:g,modal:i,children:t})})};B.displayName=c;var w="ContextMenuTrigger",m=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,disabled:o=!1,...l}=A,s=g(w,t),c=h(t),f=n.useRef({x:0,y:0}),d=n.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...f.current})}),p=n.useRef(0),B=n.useCallback(()=>window.clearTimeout(p.current),[]),m=A=>{f.current={x:A.clientX,y:A.clientY},s.onOpenChange(!0)};return n.useEffect(()=>B,[B]),n.useEffect(()=>void(o&&B()),[o,B]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a.Mz,{...c,virtualRef:d}),(0,u.jsx)(i.sG.span,{"data-state":s.open?"open":"closed","data-disabled":o?"":void 0,...l,ref:e,style:{WebkitTouchCallout:"none",...A.style},onContextMenu:o?A.onContextMenu:(0,r.mK)(A.onContextMenu,A=>{B(),m(A),A.preventDefault()}),onPointerDown:o?A.onPointerDown:(0,r.mK)(A.onPointerDown,S(A=>{B(),p.current=window.setTimeout(()=>m(A),700)})),onPointerMove:o?A.onPointerMove:(0,r.mK)(A.onPointerMove,S(B)),onPointerCancel:o?A.onPointerCancel:(0,r.mK)(A.onPointerCancel,S(B)),onPointerUp:o?A.onPointerUp:(0,r.mK)(A.onPointerUp,S(B))})]})});m.displayName=w;var y=A=>{let{__scopeContextMenu:e,...t}=A,n=h(e);return(0,u.jsx)(a.ZL,{...n,...t})};y.displayName="ContextMenuPortal";var C="ContextMenuContent",Q=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...r}=A,o=g(C,t),i=h(t),l=n.useRef(!1);return(0,u.jsx)(a.UC,{...i,...r,ref:e,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:e=>{A.onCloseAutoFocus?.(e),!e.defaultPrevented&&l.current&&e.preventDefault(),l.current=!1},onInteractOutside:e=>{A.onInteractOutside?.(e),e.defaultPrevented||o.modal||(l.current=!0)},style:{...A.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Q.displayName=C;var U=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.YJ,{...r,...n,ref:e})});U.displayName="ContextMenuGroup";var F=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.JU,{...r,...n,ref:e})});F.displayName="ContextMenuLabel";var v=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.q7,{...r,...n,ref:e})});v.displayName="ContextMenuItem";var b=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.H_,{...r,...n,ref:e})});b.displayName="ContextMenuCheckboxItem";var x=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.z6,{...r,...n,ref:e})});x.displayName="ContextMenuRadioGroup";var E=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.hN,{...r,...n,ref:e})});E.displayName="ContextMenuRadioItem";var H=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.VF,{...r,...n,ref:e})});H.displayName="ContextMenuItemIndicator";var I=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.wv,{...r,...n,ref:e})});I.displayName="ContextMenuSeparator",n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.i3,{...r,...n,ref:e})}).displayName="ContextMenuArrow";var k="ContextMenuSub",L=A=>{let{__scopeContextMenu:e,children:t,onOpenChange:n,open:r,defaultOpen:o}=A,i=h(e),[l,c]=(0,s.i)({prop:r,defaultProp:o??!1,onChange:n,caller:k});return(0,u.jsx)(a.Pb,{...i,open:l,onOpenChange:c,children:t})};L.displayName=k;var M=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.ZP,{...r,...n,ref:e})});M.displayName="ContextMenuSubTrigger";var D=n.forwardRef((A,e)=>{let{__scopeContextMenu:t,...n}=A,r=h(t);return(0,u.jsx)(a.G5,{...r,...n,ref:e,style:{...A.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});function S(A){return e=>"mouse"!==e.pointerType?A(e):void 0}D.displayName="ContextMenuSubContent";var T=B,K=m,P=y,R=Q,O=U,N=F,_=v,V=b,j=x,G=E,z=H,q=I,X=L,J=M,W=D},65951:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"shouldHardNavigate",{enumerable:!0,get:function(){return function A(e,t){let[o,i]=t,[a,l]=e;return(0,r.matchSegment)(a,o)?!(e.length<=2)&&A((0,n.getNextFlightSegmentPath)(e),i[l]):!!Array.isArray(a)}}});let n=t(74007),r=t(14077);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},65956:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{abortTask:function(){return h},listenForDynamicRequest:function(){return d},startPPRNavigation:function(){return s},updateCacheNodeOnPopstateRestoration:function(){return function A(e,t){let n=t[1],r=e.parallelRoutes,i=new Map(r);for(let e in n){let t=n[e],a=t[0],l=(0,o.createRouterCacheKey)(a),s=r.get(e);if(void 0!==s){let n=s.get(l);if(void 0!==n){let r=A(n,t),o=new Map(s);o.set(l,r),i.set(e,o)}}}let a=e.rsc,l=B(a)&&"pending"===a.status;return{lazyData:null,rsc:a,head:e.head,prefetchHead:l?e.prefetchHead:[null,null],prefetchRsc:l?e.prefetchRsc:null,loading:e.loading,parallelRoutes:i,navigatedAt:e.navigatedAt}}}});let n=t(83913),r=t(14077),o=t(33123),i=t(2030),a=t(5334),l={route:null,node:null,dynamicRequestTree:null,children:null};function s(A,e,t,i,a,s,f,d,h){return function A(e,t,i,a,s,f,d,h,p,g,B){let w=i[1],m=a[1],y=null!==f?f[2]:null;s||!0===a[4]&&(s=!0);let C=t.parallelRoutes,Q=new Map(C),U={},F=null,v=!1,b={};for(let t in m){let i,a=m[t],c=w[t],f=C.get(t),x=null!==y?y[t]:null,E=a[0],H=g.concat([t,E]),I=(0,o.createRouterCacheKey)(E),k=void 0!==c?c[0]:void 0,L=void 0!==f?f.get(I):void 0;if(null!==(i=E===n.DEFAULT_SEGMENT_KEY?void 0!==c?{route:c,node:null,dynamicRequestTree:null,children:null}:u(e,c,a,L,s,void 0!==x?x:null,d,h,H,B):p&&0===Object.keys(a[1]).length?u(e,c,a,L,s,void 0!==x?x:null,d,h,H,B):void 0!==c&&void 0!==k&&(0,r.matchSegment)(E,k)&&void 0!==L&&void 0!==c?A(e,L,c,a,s,x,d,h,p,H,B):u(e,c,a,L,s,void 0!==x?x:null,d,h,H,B))){if(null===i.route)return l;null===F&&(F=new Map),F.set(t,i);let A=i.node;if(null!==A){let e=new Map(f);e.set(I,A),Q.set(t,e)}let e=i.route;U[t]=e;let n=i.dynamicRequestTree;null!==n?(v=!0,b[t]=n):b[t]=e}else U[t]=a,b[t]=a}if(null===F)return null;let x={lazyData:null,rsc:t.rsc,prefetchRsc:t.prefetchRsc,head:t.head,prefetchHead:t.prefetchHead,loading:t.loading,parallelRoutes:Q,navigatedAt:e};return{route:c(a,U),node:x,dynamicRequestTree:v?c(a,b):null,children:F}}(A,e,t,i,!1,a,s,f,d,[],h)}function u(A,e,t,n,r,s,u,d,h,p){return!r&&(void 0===e||(0,i.isNavigatingToNewRootLayout)(e,t))?l:function A(e,t,n,r,i,l,s,u){let d,h,p,g,B=t[1],w=0===Object.keys(B).length;if(void 0!==n&&n.navigatedAt+a.DYNAMIC_STALETIME_MS>e)d=n.rsc,h=n.loading,p=n.head,g=n.navigatedAt;else if(null===r)return f(e,t,null,i,l,s,u);else if(d=r[1],h=r[3],p=w?i:null,g=e,r[4]||l&&w)return f(e,t,r,i,l,s,u);let m=null!==r?r[2]:null,y=new Map,C=void 0!==n?n.parallelRoutes:null,Q=new Map(C),U={},F=!1;if(w)u.push(s);else for(let t in B){let n=B[t],r=null!==m?m[t]:null,a=null!==C?C.get(t):void 0,c=n[0],f=s.concat([t,c]),d=(0,o.createRouterCacheKey)(c),h=A(e,n,void 0!==a?a.get(d):void 0,r,i,l,f,u);y.set(t,h);let p=h.dynamicRequestTree;null!==p?(F=!0,U[t]=p):U[t]=n;let g=h.node;if(null!==g){let A=new Map;A.set(d,g),Q.set(t,A)}}return{route:t,node:{lazyData:null,rsc:d,prefetchRsc:null,head:p,prefetchHead:null,loading:h,parallelRoutes:Q,navigatedAt:g},dynamicRequestTree:F?c(t,U):null,children:y}}(A,t,n,s,u,d,h,p)}function c(A,e){let t=[A[0],e];return 2 in A&&(t[2]=A[2]),3 in A&&(t[3]=A[3]),4 in A&&(t[4]=A[4]),t}function f(A,e,t,n,r,i,a){let l=c(e,e[1]);return l[3]="refetch",{route:e,node:function A(e,t,n,r,i,a,l){let s=t[1],u=null!==n?n[2]:null,c=new Map;for(let t in s){let n=s[t],f=null!==u?u[t]:null,d=n[0],h=a.concat([t,d]),p=(0,o.createRouterCacheKey)(d),g=A(e,n,void 0===f?null:f,r,i,h,l),B=new Map;B.set(p,g),c.set(t,B)}let f=0===c.size;f&&l.push(a);let d=null!==n?n[1]:null,h=null!==n?n[3]:null;return{lazyData:null,parallelRoutes:c,prefetchRsc:void 0!==d?d:null,prefetchHead:f?r:[null,null],loading:void 0!==h?h:null,rsc:w(),head:f?w():null,navigatedAt:e}}(A,e,t,n,r,i,a),dynamicRequestTree:l,children:null}}function d(A,e){e.then(e=>{let{flightData:t}=e;if("string"!=typeof t){for(let e of t){let{segmentPath:t,tree:n,seedData:i,head:a}=e;i&&function(A,e,t,n,i){let a=A;for(let A=0;A{h(A,e)})}function h(A,e){let t=A.node;if(null===t)return;let n=A.children;if(null===n)p(A.route,t,e);else for(let A of n.values())h(A,e);A.dynamicRequestTree=null}function p(A,e,t){let n=A[1],r=e.parallelRoutes;for(let A in n){let e=n[A],i=r.get(A);if(void 0===i)continue;let a=e[0],l=(0,o.createRouterCacheKey)(a),s=i.get(l);void 0!==s&&p(e,s,t)}let i=e.rsc;B(i)&&(null===t?i.resolve(null):i.reject(t));let a=e.head;B(a)&&a.resolve(null)}let g=Symbol();function B(A){return A&&A.tag===g}function w(){let A,e,t=new Promise((t,n)=>{A=t,e=n});return t.status="pending",t.resolve=e=>{"pending"===t.status&&(t.status="fulfilled",t.value=e,A(e))},t.reject=A=>{"pending"===t.status&&(t.status="rejected",t.reason=A,e(A))},t.tag=g,t}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},66249:(A,e,t)=>{"use strict";t.d(e,{UC:()=>H,ZL:()=>E,bL:()=>b,l9:()=>x,q7:()=>I,wv:()=>k});var n=t(43210),r=t(70569),o=t(98599),i=t(11273),a=t(65551),l=t(14163),s=t(75009),u=t(96963),c=t(60687),f="DropdownMenu",[d,h]=(0,i.A)(f,[s.UE]),p=(0,s.UE)(),[g,B]=d(f),w=A=>{let{__scopeDropdownMenu:e,children:t,dir:r,open:o,defaultOpen:i,onOpenChange:l,modal:d=!0}=A,h=p(e),B=n.useRef(null),[w,m]=(0,a.i)({prop:o,defaultProp:i??!1,onChange:l,caller:f});return(0,c.jsx)(g,{scope:e,triggerId:(0,u.B)(),triggerRef:B,contentId:(0,u.B)(),open:w,onOpenChange:m,onOpenToggle:n.useCallback(()=>m(A=>!A),[m]),modal:d,children:(0,c.jsx)(s.bL,{...h,open:w,onOpenChange:m,dir:r,modal:d,children:t})})};w.displayName=f;var m="DropdownMenuTrigger",y=n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,disabled:n=!1,...i}=A,a=B(m,t),u=p(t);return(0,c.jsx)(s.Mz,{asChild:!0,...u,children:(0,c.jsx)(l.sG.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...i,ref:(0,o.t)(e,a.triggerRef),onPointerDown:(0,r.mK)(A.onPointerDown,A=>{!n&&0===A.button&&!1===A.ctrlKey&&(a.onOpenToggle(),a.open||A.preventDefault())}),onKeyDown:(0,r.mK)(A.onKeyDown,A=>{!n&&(["Enter"," "].includes(A.key)&&a.onOpenToggle(),"ArrowDown"===A.key&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(A.key)&&A.preventDefault())})})})});y.displayName=m;var C=A=>{let{__scopeDropdownMenu:e,...t}=A,n=p(e);return(0,c.jsx)(s.ZL,{...n,...t})};C.displayName="DropdownMenuPortal";var Q="DropdownMenuContent",U=n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...o}=A,i=B(Q,t),a=p(t),l=n.useRef(!1);return(0,c.jsx)(s.UC,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...o,ref:e,onCloseAutoFocus:(0,r.mK)(A.onCloseAutoFocus,A=>{l.current||i.triggerRef.current?.focus(),l.current=!1,A.preventDefault()}),onInteractOutside:(0,r.mK)(A.onInteractOutside,A=>{let e=A.detail.originalEvent,t=0===e.button&&!0===e.ctrlKey,n=2===e.button||t;(!i.modal||n)&&(l.current=!0)}),style:{...A.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});U.displayName=Q,n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.YJ,{...r,...n,ref:e})}).displayName="DropdownMenuGroup",n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.JU,{...r,...n,ref:e})}).displayName="DropdownMenuLabel";var F=n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.q7,{...r,...n,ref:e})});F.displayName="DropdownMenuItem",n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.H_,{...r,...n,ref:e})}).displayName="DropdownMenuCheckboxItem",n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.z6,{...r,...n,ref:e})}).displayName="DropdownMenuRadioGroup",n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.hN,{...r,...n,ref:e})}).displayName="DropdownMenuRadioItem",n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.VF,{...r,...n,ref:e})}).displayName="DropdownMenuItemIndicator";var v=n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.wv,{...r,...n,ref:e})});v.displayName="DropdownMenuSeparator",n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.i3,{...r,...n,ref:e})}).displayName="DropdownMenuArrow",n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.ZP,{...r,...n,ref:e})}).displayName="DropdownMenuSubTrigger",n.forwardRef((A,e)=>{let{__scopeDropdownMenu:t,...n}=A,r=p(t);return(0,c.jsx)(s.G5,{...r,...n,ref:e,style:{...A.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var b=w,x=y,E=C,H=U,I=F,k=v},68729:(A,e,t)=>{"use strict";t.d(e,{y:()=>o});var n=t(22301);let r={}.hasOwnProperty;function o(A){let e={},t=-1;for(;++t{"use strict";t.d(e,{S:()=>r});var n=t(51822);function r(A){return null===A||(0,n.Ee)(A)||(0,n.Ny)(A)?1:(0,n.es)(A)?2:void 0}},70334:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},70615:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},70642:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{computeChangedPath:function(){return u},extractPathFromFlightRouterState:function(){return s},getSelectedParams:function(){return function A(e,t){for(let n of(void 0===t&&(t={}),Object.values(e[1]))){let e=n[0],o=Array.isArray(e),i=o?e[1]:e;!i||i.startsWith(r.PAGE_SEGMENT_KEY)||(o&&("c"===e[2]||"oc"===e[2])?t[e[0]]=e[1].split("/"):o&&(t[e[0]]=e[1]),t=A(n,t))}return t}}});let n=t(72859),r=t(83913),o=t(14077),i=A=>"/"===A[0]?A.slice(1):A,a=A=>"string"==typeof A?"children"===A?"":A:A[1];function l(A){return A.reduce((A,e)=>""===(e=i(e))||(0,r.isGroupSegment)(e)?A:A+"/"+e,"")||"/"}function s(A){var e;let t=Array.isArray(A[0])?A[0][1]:A[0];if(t===r.DEFAULT_SEGMENT_KEY||n.INTERCEPTION_ROUTE_MARKERS.some(A=>t.startsWith(A)))return;if(t.startsWith(r.PAGE_SEGMENT_KEY))return"";let o=[a(t)],i=null!=(e=A[1])?e:{},u=i.children?s(i.children):void 0;if(void 0!==u)o.push(u);else for(let[A,e]of Object.entries(i)){if("children"===A)continue;let t=s(e);void 0!==t&&o.push(t)}return l(o)}function u(A,e){let t=function A(e,t){let[r,i]=e,[l,u]=t,c=a(r),f=a(l);if(n.INTERCEPTION_ROUTE_MARKERS.some(A=>c.startsWith(A)||f.startsWith(A)))return"";if(!(0,o.matchSegment)(r,l)){var d;return null!=(d=s(t))?d:""}for(let e in i)if(u[e]){let t=A(i[e],u[e]);if(null!==t)return a(l)+"/"+t}return null}(A,e);return null==t||"/"===t?t:l(t.split("/"))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},72942:(A,e,t)=>{"use strict";t.d(e,{RG:()=>C,bL:()=>I,q7:()=>k});var n=t(43210),r=t(70569),o=t(9510),i=t(98599),a=t(11273),l=t(96963),s=t(14163),u=t(13495),c=t(65551),f=t(43),d=t(60687),h="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[B,w,m]=(0,o.N)(g),[y,C]=(0,a.A)(g,[m]),[Q,U]=y(g),F=n.forwardRef((A,e)=>(0,d.jsx)(B.Provider,{scope:A.__scopeRovingFocusGroup,children:(0,d.jsx)(B.Slot,{scope:A.__scopeRovingFocusGroup,children:(0,d.jsx)(v,{...A,ref:e})})}));F.displayName=g;var v=n.forwardRef((A,e)=>{let{__scopeRovingFocusGroup:t,orientation:o,loop:a=!1,dir:l,currentTabStopId:B,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:y,onEntryFocus:C,preventScrollOnEntryFocus:U=!1,...F}=A,v=n.useRef(null),b=(0,i.s)(e,v),x=(0,f.jH)(l),[E,I]=(0,c.i)({prop:B,defaultProp:m??null,onChange:y,caller:g}),[k,L]=n.useState(!1),M=(0,u.c)(C),D=w(t),S=n.useRef(!1),[T,K]=n.useState(0);return n.useEffect(()=>{let A=v.current;if(A)return A.addEventListener(h,M),()=>A.removeEventListener(h,M)},[M]),(0,d.jsx)(Q,{scope:t,orientation:o,dir:x,loop:a,currentTabStopId:E,onItemFocus:n.useCallback(A=>I(A),[I]),onItemShiftTab:n.useCallback(()=>L(!0),[]),onFocusableItemAdd:n.useCallback(()=>K(A=>A+1),[]),onFocusableItemRemove:n.useCallback(()=>K(A=>A-1),[]),children:(0,d.jsx)(s.sG.div,{tabIndex:k||0===T?-1:0,"data-orientation":o,...F,ref:b,style:{outline:"none",...A.style},onMouseDown:(0,r.mK)(A.onMouseDown,()=>{S.current=!0}),onFocus:(0,r.mK)(A.onFocus,A=>{let e=!S.current;if(A.target===A.currentTarget&&e&&!k){let e=new CustomEvent(h,p);if(A.currentTarget.dispatchEvent(e),!e.defaultPrevented){let A=D().filter(A=>A.focusable);H([A.find(A=>A.active),A.find(A=>A.id===E),...A].filter(Boolean).map(A=>A.ref.current),U)}}S.current=!1}),onBlur:(0,r.mK)(A.onBlur,()=>L(!1))})})}),b="RovingFocusGroupItem",x=n.forwardRef((A,e)=>{let{__scopeRovingFocusGroup:t,focusable:o=!0,active:i=!1,tabStopId:a,children:u,...c}=A,f=(0,l.B)(),h=a||f,p=U(b,t),g=p.currentTabStopId===h,m=w(t),{onFocusableItemAdd:y,onFocusableItemRemove:C,currentTabStopId:Q}=p;return n.useEffect(()=>{if(o)return y(),()=>C()},[o,y,C]),(0,d.jsx)(B.ItemSlot,{scope:t,id:h,focusable:o,active:i,children:(0,d.jsx)(s.sG.span,{tabIndex:g?0:-1,"data-orientation":p.orientation,...c,ref:e,onMouseDown:(0,r.mK)(A.onMouseDown,A=>{o?p.onItemFocus(h):A.preventDefault()}),onFocus:(0,r.mK)(A.onFocus,()=>p.onItemFocus(h)),onKeyDown:(0,r.mK)(A.onKeyDown,A=>{if("Tab"===A.key&&A.shiftKey)return void p.onItemShiftTab();if(A.target!==A.currentTarget)return;let e=function(A,e,t){var n;let r=(n=A.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===e&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===e&&["ArrowUp","ArrowDown"].includes(r)))return E[r]}(A,p.orientation,p.dir);if(void 0!==e){if(A.metaKey||A.ctrlKey||A.altKey||A.shiftKey)return;A.preventDefault();let t=m().filter(A=>A.focusable).map(A=>A.ref.current);if("last"===e)t.reverse();else if("prev"===e||"next"===e){"prev"===e&&t.reverse();let n=t.indexOf(A.currentTarget);t=p.loop?function(A,e){return A.map((t,n)=>A[(e+n)%A.length])}(t,n+1):t.slice(n+1)}setTimeout(()=>H(t))}}),children:"function"==typeof u?u({isCurrentTabStop:g,hasTabStop:null!=Q}):u})})});x.displayName=b;var E={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function H(A,e=!1){let t=document.activeElement;for(let n of A)if(n===t||(n.focus({preventScroll:e}),document.activeElement!==t))return}var I=F,k=x},73406:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{IDLE_LINK_STATUS:function(){return s},PENDING_LINK_STATUS:function(){return l},mountFormInstance:function(){return w},mountLinkInstance:function(){return B},onLinkVisibilityChanged:function(){return y},onNavigationIntent:function(){return C},pingVisibleLinks:function(){return U},setLinkForCurrentNavigation:function(){return u},unmountLinkForCurrentNavigation:function(){return c},unmountPrefetchableInstance:function(){return m}}),t(63690);let n=t(89752),r=t(59154),o=t(50593),i=t(43210),a=null,l={pending:!0},s={pending:!1};function u(A){(0,i.startTransition)(()=>{null==a||a.setOptimisticLinkStatus(s),null==A||A.setOptimisticLinkStatus(l),a=A})}function c(A){a===A&&(a=null)}let f="function"==typeof WeakMap?new WeakMap:new Map,d=new Set,h="function"==typeof IntersectionObserver?new IntersectionObserver(function(A){for(let e of A){let A=e.intersectionRatio>0;y(e.target,A)}},{rootMargin:"200px"}):null;function p(A,e){void 0!==f.get(A)&&m(A),f.set(A,e),null!==h&&h.observe(A)}function g(A){try{return(0,n.createPrefetchURL)(A)}catch(e){return("function"==typeof reportError?reportError:console.error)("Cannot prefetch '"+A+"' because it cannot be converted to a URL."),null}}function B(A,e,t,n,r,o){if(r){let r=g(e);if(null!==r){let e={router:t,kind:n,isVisible:!1,wasHoveredOrTouched:!1,prefetchTask:null,cacheVersion:-1,prefetchHref:r.href,setOptimisticLinkStatus:o};return p(A,e),e}}return{router:t,kind:n,isVisible:!1,wasHoveredOrTouched:!1,prefetchTask:null,cacheVersion:-1,prefetchHref:null,setOptimisticLinkStatus:o}}function w(A,e,t,n){let r=g(e);null!==r&&p(A,{router:t,kind:n,isVisible:!1,wasHoveredOrTouched:!1,prefetchTask:null,cacheVersion:-1,prefetchHref:r.href,setOptimisticLinkStatus:null})}function m(A){let e=f.get(A);if(void 0!==e){f.delete(A),d.delete(e);let t=e.prefetchTask;null!==t&&(0,o.cancelPrefetchTask)(t)}null!==h&&h.unobserve(A)}function y(A,e){let t=f.get(A);void 0!==t&&(t.isVisible=e,e?d.add(t):d.delete(t),Q(t))}function C(A,e){let t=f.get(A);void 0!==t&&void 0!==t&&(t.wasHoveredOrTouched=!0,Q(t))}function Q(A){let e=A.prefetchTask;if(!A.isVisible){null!==e&&(0,o.cancelPrefetchTask)(e);return}}function U(A,e){let t=(0,o.getCurrentCacheVersion)();for(let n of d){let i=n.prefetchTask;if(null!==i&&n.cacheVersion===t&&i.key.nextUrl===A&&i.treeAtTimeOfPrefetch===e)continue;null!==i&&(0,o.cancelPrefetchTask)(i);let a=(0,o.createCacheKey)(n.prefetchHref,A),l=n.wasHoveredOrTouched?o.PrefetchPriority.Intent:o.PrefetchPriority.Default;n.prefetchTask=(0,o.schedulePrefetchTask)(a,e,n.kind===r.PrefetchKind.FULL,l),n.cacheVersion=(0,o.getCurrentCacheVersion)()}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},75009:(A,e,t)=>{"use strict";t.d(e,{G5:()=>Az,H_:()=>AP,JU:()=>AT,Mz:()=>AL,Pb:()=>Aj,UC:()=>AD,UE:()=>M,VF:()=>AN,YJ:()=>AS,ZL:()=>AM,ZP:()=>AG,bL:()=>Ak,hN:()=>AO,i3:()=>AV,q7:()=>AK,wv:()=>A_,z6:()=>AR});var n=t(43210),r=t(70569),o=t(9510),i=t(98599),a=t(11273),l=t(43),s=t(31355),u=t(1359),c=t(32547),f=t(96963),d=t(55509),h=t(25028),p=t(46059),g=t(14163),B=t(72942),w=t(8730),m=t(13495),y=t(63376),C=t(42247),Q=t(60687),U=["Enter"," "],F=["ArrowUp","PageDown","End"],v=["ArrowDown","PageUp","Home",...F],b={ltr:[...U,"ArrowRight"],rtl:[...U,"ArrowLeft"]},x={ltr:["ArrowLeft"],rtl:["ArrowRight"]},E="Menu",[H,I,k]=(0,o.N)(E),[L,M]=(0,a.A)(E,[k,d.Bk,B.RG]),D=(0,d.Bk)(),S=(0,B.RG)(),[T,K]=L(E),[P,R]=L(E),O=A=>{let{__scopeMenu:e,open:t=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=A,s=D(e),[u,c]=n.useState(null),f=n.useRef(!1),h=(0,m.c)(i),p=(0,l.jH)(o);return n.useEffect(()=>{let A=()=>{f.current=!0,document.addEventListener("pointerdown",e,{capture:!0,once:!0}),document.addEventListener("pointermove",e,{capture:!0,once:!0})},e=()=>f.current=!1;return document.addEventListener("keydown",A,{capture:!0}),()=>{document.removeEventListener("keydown",A,{capture:!0}),document.removeEventListener("pointerdown",e,{capture:!0}),document.removeEventListener("pointermove",e,{capture:!0})}},[]),(0,Q.jsx)(d.bL,{...s,children:(0,Q.jsx)(T,{scope:e,open:t,onOpenChange:h,content:u,onContentChange:c,children:(0,Q.jsx)(P,{scope:e,onClose:n.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:f,dir:p,modal:a,children:r})})})};O.displayName=E;var N=n.forwardRef((A,e)=>{let{__scopeMenu:t,...n}=A,r=D(t);return(0,Q.jsx)(d.Mz,{...r,...n,ref:e})});N.displayName="MenuAnchor";var _="MenuPortal",[V,j]=L(_,{forceMount:void 0}),G=A=>{let{__scopeMenu:e,forceMount:t,children:n,container:r}=A,o=K(_,e);return(0,Q.jsx)(V,{scope:e,forceMount:t,children:(0,Q.jsx)(p.C,{present:t||o.open,children:(0,Q.jsx)(h.Z,{asChild:!0,container:r,children:n})})})};G.displayName=_;var z="MenuContent",[q,X]=L(z),J=n.forwardRef((A,e)=>{let t=j(z,A.__scopeMenu),{forceMount:n=t.forceMount,...r}=A,o=K(z,A.__scopeMenu),i=R(z,A.__scopeMenu);return(0,Q.jsx)(H.Provider,{scope:A.__scopeMenu,children:(0,Q.jsx)(p.C,{present:n||o.open,children:(0,Q.jsx)(H.Slot,{scope:A.__scopeMenu,children:i.modal?(0,Q.jsx)(W,{...r,ref:e}):(0,Q.jsx)(Y,{...r,ref:e})})})})}),W=n.forwardRef((A,e)=>{let t=K(z,A.__scopeMenu),o=n.useRef(null),a=(0,i.s)(e,o);return n.useEffect(()=>{let A=o.current;if(A)return(0,y.Eq)(A)},[]),(0,Q.jsx)($,{...A,ref:a,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:(0,r.mK)(A.onFocusOutside,A=>A.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),Y=n.forwardRef((A,e)=>{let t=K(z,A.__scopeMenu);return(0,Q.jsx)($,{...A,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),Z=(0,w.TL)("MenuContent.ScrollLock"),$=n.forwardRef((A,e)=>{let{__scopeMenu:t,loop:o=!1,trapFocus:a,onOpenAutoFocus:l,onCloseAutoFocus:f,disableOutsidePointerEvents:h,onEntryFocus:p,onEscapeKeyDown:g,onPointerDownOutside:w,onFocusOutside:m,onInteractOutside:y,onDismiss:U,disableOutsideScroll:b,...x}=A,E=K(z,t),H=R(z,t),k=D(t),L=S(t),M=I(t),[T,P]=n.useState(null),O=n.useRef(null),N=(0,i.s)(e,O,E.onContentChange),_=n.useRef(0),V=n.useRef(""),j=n.useRef(0),G=n.useRef(null),X=n.useRef("right"),J=n.useRef(0),W=b?C.A:n.Fragment,Y=A=>{let e=V.current+A,t=M().filter(A=>!A.disabled),n=document.activeElement,r=t.find(A=>A.ref.current===n)?.textValue,o=function(A,e,t){var n;let r=e.length>1&&Array.from(e).every(A=>A===e[0])?e[0]:e,o=t?A.indexOf(t):-1,i=(n=Math.max(o,0),A.map((e,t)=>A[(n+t)%A.length]));1===r.length&&(i=i.filter(A=>A!==t));let a=i.find(A=>A.toLowerCase().startsWith(r.toLowerCase()));return a!==t?a:void 0}(t.map(A=>A.textValue),e,r),i=t.find(A=>A.textValue===o)?.ref.current;!function A(e){V.current=e,window.clearTimeout(_.current),""!==e&&(_.current=window.setTimeout(()=>A(""),1e3))}(e),i&&setTimeout(()=>i.focus())};n.useEffect(()=>()=>window.clearTimeout(_.current),[]),(0,u.Oh)();let $=n.useCallback(A=>X.current===G.current?.side&&function(A,e){return!!e&&function(A,e){let{x:t,y:n}=A,r=!1;for(let A=0,o=e.length-1;An!=c>n&&t<(u-l)*(n-s)/(c-s)+l&&(r=!r)}return r}({x:A.clientX,y:A.clientY},e)}(A,G.current?.area),[]);return(0,Q.jsx)(q,{scope:t,searchRef:V,onItemEnter:n.useCallback(A=>{$(A)&&A.preventDefault()},[$]),onItemLeave:n.useCallback(A=>{$(A)||(O.current?.focus(),P(null))},[$]),onTriggerLeave:n.useCallback(A=>{$(A)&&A.preventDefault()},[$]),pointerGraceTimerRef:j,onPointerGraceIntentChange:n.useCallback(A=>{G.current=A},[]),children:(0,Q.jsx)(W,{...b?{as:Z,allowPinchZoom:!0}:void 0,children:(0,Q.jsx)(c.n,{asChild:!0,trapped:a,onMountAutoFocus:(0,r.mK)(l,A=>{A.preventDefault(),O.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:f,children:(0,Q.jsx)(s.qW,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:g,onPointerDownOutside:w,onFocusOutside:m,onInteractOutside:y,onDismiss:U,children:(0,Q.jsx)(B.bL,{asChild:!0,...L,dir:H.dir,orientation:"vertical",loop:o,currentTabStopId:T,onCurrentTabStopIdChange:P,onEntryFocus:(0,r.mK)(p,A=>{H.isUsingKeyboardRef.current||A.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,Q.jsx)(d.UC,{role:"menu","aria-orientation":"vertical","data-state":Ax(E.open),"data-radix-menu-content":"",dir:H.dir,...k,...x,ref:N,style:{outline:"none",...x.style},onKeyDown:(0,r.mK)(x.onKeyDown,A=>{let e=A.target.closest("[data-radix-menu-content]")===A.currentTarget,t=A.ctrlKey||A.altKey||A.metaKey,n=1===A.key.length;e&&("Tab"===A.key&&A.preventDefault(),!t&&n&&Y(A.key));let r=O.current;if(A.target!==r||!v.includes(A.key))return;A.preventDefault();let o=M().filter(A=>!A.disabled).map(A=>A.ref.current);F.includes(A.key)&&o.reverse(),function(A){let e=document.activeElement;for(let t of A)if(t===e||(t.focus(),document.activeElement!==e))return}(o)}),onBlur:(0,r.mK)(A.onBlur,A=>{A.currentTarget.contains(A.target)||(window.clearTimeout(_.current),V.current="")}),onPointerMove:(0,r.mK)(A.onPointerMove,AI(A=>{let e=A.target,t=J.current!==A.clientX;A.currentTarget.contains(e)&&t&&(X.current=A.clientX>J.current?"right":"left",J.current=A.clientX)}))})})})})})})});J.displayName=z;var AA=n.forwardRef((A,e)=>{let{__scopeMenu:t,...n}=A;return(0,Q.jsx)(g.sG.div,{role:"group",...n,ref:e})});AA.displayName="MenuGroup";var Ae=n.forwardRef((A,e)=>{let{__scopeMenu:t,...n}=A;return(0,Q.jsx)(g.sG.div,{...n,ref:e})});Ae.displayName="MenuLabel";var At="MenuItem",An="menu.itemSelect",Ar=n.forwardRef((A,e)=>{let{disabled:t=!1,onSelect:o,...a}=A,l=n.useRef(null),s=R(At,A.__scopeMenu),u=X(At,A.__scopeMenu),c=(0,i.s)(e,l),f=n.useRef(!1);return(0,Q.jsx)(Ao,{...a,ref:c,disabled:t,onClick:(0,r.mK)(A.onClick,()=>{let A=l.current;if(!t&&A){let e=new CustomEvent(An,{bubbles:!0,cancelable:!0});A.addEventListener(An,A=>o?.(A),{once:!0}),(0,g.hO)(A,e),e.defaultPrevented?f.current=!1:s.onClose()}}),onPointerDown:e=>{A.onPointerDown?.(e),f.current=!0},onPointerUp:(0,r.mK)(A.onPointerUp,A=>{f.current||A.currentTarget?.click()}),onKeyDown:(0,r.mK)(A.onKeyDown,A=>{let e=""!==u.searchRef.current;t||e&&" "===A.key||U.includes(A.key)&&(A.currentTarget.click(),A.preventDefault())})})});Ar.displayName=At;var Ao=n.forwardRef((A,e)=>{let{__scopeMenu:t,disabled:o=!1,textValue:a,...l}=A,s=X(At,t),u=S(t),c=n.useRef(null),f=(0,i.s)(e,c),[d,h]=n.useState(!1),[p,w]=n.useState("");return n.useEffect(()=>{let A=c.current;A&&w((A.textContent??"").trim())},[l.children]),(0,Q.jsx)(H.ItemSlot,{scope:t,disabled:o,textValue:a??p,children:(0,Q.jsx)(B.q7,{asChild:!0,...u,focusable:!o,children:(0,Q.jsx)(g.sG.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...l,ref:f,onPointerMove:(0,r.mK)(A.onPointerMove,AI(A=>{o?s.onItemLeave(A):(s.onItemEnter(A),A.defaultPrevented||A.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,r.mK)(A.onPointerLeave,AI(A=>s.onItemLeave(A))),onFocus:(0,r.mK)(A.onFocus,()=>h(!0)),onBlur:(0,r.mK)(A.onBlur,()=>h(!1))})})})}),Ai=n.forwardRef((A,e)=>{let{checked:t=!1,onCheckedChange:n,...o}=A;return(0,Q.jsx)(Ah,{scope:A.__scopeMenu,checked:t,children:(0,Q.jsx)(Ar,{role:"menuitemcheckbox","aria-checked":AE(t)?"mixed":t,...o,ref:e,"data-state":AH(t),onSelect:(0,r.mK)(o.onSelect,()=>n?.(!!AE(t)||!t),{checkForDefaultPrevented:!1})})})});Ai.displayName="MenuCheckboxItem";var Aa="MenuRadioGroup",[Al,As]=L(Aa,{value:void 0,onValueChange:()=>{}}),Au=n.forwardRef((A,e)=>{let{value:t,onValueChange:n,...r}=A,o=(0,m.c)(n);return(0,Q.jsx)(Al,{scope:A.__scopeMenu,value:t,onValueChange:o,children:(0,Q.jsx)(AA,{...r,ref:e})})});Au.displayName=Aa;var Ac="MenuRadioItem",Af=n.forwardRef((A,e)=>{let{value:t,...n}=A,o=As(Ac,A.__scopeMenu),i=t===o.value;return(0,Q.jsx)(Ah,{scope:A.__scopeMenu,checked:i,children:(0,Q.jsx)(Ar,{role:"menuitemradio","aria-checked":i,...n,ref:e,"data-state":AH(i),onSelect:(0,r.mK)(n.onSelect,()=>o.onValueChange?.(t),{checkForDefaultPrevented:!1})})})});Af.displayName=Ac;var Ad="MenuItemIndicator",[Ah,Ap]=L(Ad,{checked:!1}),Ag=n.forwardRef((A,e)=>{let{__scopeMenu:t,forceMount:n,...r}=A,o=Ap(Ad,t);return(0,Q.jsx)(p.C,{present:n||AE(o.checked)||!0===o.checked,children:(0,Q.jsx)(g.sG.span,{...r,ref:e,"data-state":AH(o.checked)})})});Ag.displayName=Ad;var AB=n.forwardRef((A,e)=>{let{__scopeMenu:t,...n}=A;return(0,Q.jsx)(g.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:e})});AB.displayName="MenuSeparator";var Aw=n.forwardRef((A,e)=>{let{__scopeMenu:t,...n}=A,r=D(t);return(0,Q.jsx)(d.i3,{...r,...n,ref:e})});Aw.displayName="MenuArrow";var Am="MenuSub",[Ay,AC]=L(Am),AQ=A=>{let{__scopeMenu:e,children:t,open:r=!1,onOpenChange:o}=A,i=K(Am,e),a=D(e),[l,s]=n.useState(null),[u,c]=n.useState(null),h=(0,m.c)(o);return n.useEffect(()=>(!1===i.open&&h(!1),()=>h(!1)),[i.open,h]),(0,Q.jsx)(d.bL,{...a,children:(0,Q.jsx)(T,{scope:e,open:r,onOpenChange:h,content:u,onContentChange:c,children:(0,Q.jsx)(Ay,{scope:e,contentId:(0,f.B)(),triggerId:(0,f.B)(),trigger:l,onTriggerChange:s,children:t})})})};AQ.displayName=Am;var AU="MenuSubTrigger",AF=n.forwardRef((A,e)=>{let t=K(AU,A.__scopeMenu),o=R(AU,A.__scopeMenu),a=AC(AU,A.__scopeMenu),l=X(AU,A.__scopeMenu),s=n.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:c}=l,f={__scopeMenu:A.__scopeMenu},d=n.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return n.useEffect(()=>d,[d]),n.useEffect(()=>{let A=u.current;return()=>{window.clearTimeout(A),c(null)}},[u,c]),(0,Q.jsx)(N,{asChild:!0,...f,children:(0,Q.jsx)(Ao,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":a.contentId,"data-state":Ax(t.open),...A,ref:(0,i.t)(e,a.onTriggerChange),onClick:e=>{A.onClick?.(e),A.disabled||e.defaultPrevented||(e.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:(0,r.mK)(A.onPointerMove,AI(e=>{l.onItemEnter(e),!e.defaultPrevented&&(A.disabled||t.open||s.current||(l.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{t.onOpenChange(!0),d()},100)))})),onPointerLeave:(0,r.mK)(A.onPointerLeave,AI(A=>{d();let e=t.content?.getBoundingClientRect();if(e){let n=t.content?.dataset.side,r="right"===n,o=e[r?"left":"right"],i=e[r?"right":"left"];l.onPointerGraceIntentChange({area:[{x:A.clientX+(r?-5:5),y:A.clientY},{x:o,y:e.top},{x:i,y:e.top},{x:i,y:e.bottom},{x:o,y:e.bottom}],side:n}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(A),A.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,r.mK)(A.onKeyDown,e=>{let n=""!==l.searchRef.current;A.disabled||n&&" "===e.key||b[o.dir].includes(e.key)&&(t.onOpenChange(!0),t.content?.focus(),e.preventDefault())})})})});AF.displayName=AU;var Av="MenuSubContent",Ab=n.forwardRef((A,e)=>{let t=j(z,A.__scopeMenu),{forceMount:o=t.forceMount,...a}=A,l=K(z,A.__scopeMenu),s=R(z,A.__scopeMenu),u=AC(Av,A.__scopeMenu),c=n.useRef(null),f=(0,i.s)(e,c);return(0,Q.jsx)(H.Provider,{scope:A.__scopeMenu,children:(0,Q.jsx)(p.C,{present:o||l.open,children:(0,Q.jsx)(H.Slot,{scope:A.__scopeMenu,children:(0,Q.jsx)($,{id:u.contentId,"aria-labelledby":u.triggerId,...a,ref:f,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:A=>{s.isUsingKeyboardRef.current&&c.current?.focus(),A.preventDefault()},onCloseAutoFocus:A=>A.preventDefault(),onFocusOutside:(0,r.mK)(A.onFocusOutside,A=>{A.target!==u.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,r.mK)(A.onEscapeKeyDown,A=>{s.onClose(),A.preventDefault()}),onKeyDown:(0,r.mK)(A.onKeyDown,A=>{let e=A.currentTarget.contains(A.target),t=x[s.dir].includes(A.key);e&&t&&(l.onOpenChange(!1),u.trigger?.focus(),A.preventDefault())})})})})})});function Ax(A){return A?"open":"closed"}function AE(A){return"indeterminate"===A}function AH(A){return AE(A)?"indeterminate":A?"checked":"unchecked"}function AI(A){return e=>"mouse"===e.pointerType?A(e):void 0}Ab.displayName=Av;var Ak=O,AL=N,AM=G,AD=J,AS=AA,AT=Ae,AK=Ar,AP=Ai,AR=Au,AO=Af,AN=Ag,A_=AB,AV=Aw,Aj=AQ,AG=AF,Az=Ab},75076:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{prefetchQueue:function(){return o},prefetchReducer:function(){return i}});let n=t(5144),r=t(5334),o=new n.PromiseQueue(5),i=function(A,e){(0,r.prunePrefetchCache)(A.prefetchCache);let{url:t}=e;return(0,r.getOrCreatePrefetchCacheEntry)({url:t,nextUrl:A.nextUrl,prefetchCache:A.prefetchCache,kind:e.kind,tree:A.tree,allowAliasing:!0}),A};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},76715:(A,e)=>{"use strict";function t(A){let e={};for(let[t,n]of A.entries()){let A=e[t];void 0===A?e[t]=n:Array.isArray(A)?A.push(n):e[t]=[A,n]}return e}function n(A){return"string"==typeof A?A:("number"!=typeof A||isNaN(A))&&"boolean"!=typeof A?"":String(A)}function r(A){let e=new URLSearchParams;for(let[t,r]of Object.entries(A))if(Array.isArray(r))for(let A of r)e.append(t,n(A));else e.set(t,n(r));return e}function o(A){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AppRouterAnnouncer",{enumerable:!0,get:function(){return i}});let n=t(43210),r=t(51215),o="next-route-announcer";function i(A){let{tree:e}=A,[t,i]=(0,n.useState)(null);(0,n.useEffect)(()=>(i(function(){var A;let e=document.getElementsByName(o)[0];if(null==e||null==(A=e.shadowRoot)?void 0:A.childNodes[0])return e.shadowRoot.childNodes[0];{let A=document.createElement(o);A.style.cssText="position:absolute";let e=document.createElement("div");return e.ariaLive="assertive",e.id="__next-route-announcer__",e.role="alert",e.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",A.attachShadow({mode:"open"}).appendChild(e),document.body.appendChild(A),e}}()),()=>{let A=document.getElementsByTagName(o)[0];(null==A?void 0:A.isConnected)&&document.body.removeChild(A)}),[]);let[a,l]=(0,n.useState)(""),s=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let A="";if(document.title)A=document.title;else{let e=document.querySelector("h1");e&&(A=e.innerText||e.textContent||"")}void 0!==s.current&&s.current!==A&&l(A),s.current=A},[e]),t?(0,r.createPortal)(a,t):null}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},77159:(A,e,t)=>{"use strict";t.d(e,{C:()=>n});let n=function(A){var e,t;if(null==A)return o;if("function"==typeof A)return r(A);if("object"==typeof A){return Array.isArray(A)?function(A){let e=[],t=-1;for(;++t{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("square-check-big",[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},78464:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("file",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]])},78866:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"refreshReducer",{enumerable:!0,get:function(){return h}});let n=t(59008),r=t(57391),o=t(86770),i=t(2030),a=t(25232),l=t(59435),s=t(41500),u=t(89752),c=t(96493),f=t(68214),d=t(22308);function h(A,e){let{origin:t}=e,h={},p=A.canonicalUrl,g=A.tree;h.preserveCustomHistoryState=!1;let B=(0,u.createEmptyCacheNode)(),w=(0,f.hasInterceptionRouteInCurrentTree)(A.tree);B.lazyData=(0,n.fetchServerResponse)(new URL(p,t),{flightRouterState:[g[0],g[1],g[2],"refetch"],nextUrl:w?A.nextUrl:null});let m=Date.now();return B.lazyData.then(async t=>{let{flightData:n,canonicalUrl:u}=t;if("string"==typeof n)return(0,a.handleExternalUrl)(A,h,n,A.pushRef.pendingPush);for(let t of(B.lazyData=null,n)){let{tree:n,seedData:l,head:f,isRootRender:y}=t;if(!y)return console.log("REFRESH FAILED"),A;let C=(0,o.applyRouterStatePatchToTree)([""],g,n,A.canonicalUrl);if(null===C)return(0,c.handleSegmentMismatch)(A,e,n);if((0,i.isNavigatingToNewRootLayout)(g,C))return(0,a.handleExternalUrl)(A,h,p,A.pushRef.pendingPush);let Q=u?(0,r.createHrefFromUrl)(u):void 0;if(u&&(h.canonicalUrl=Q),null!==l){let A=l[1],e=l[3];B.rsc=A,B.prefetchRsc=null,B.loading=e,(0,s.fillLazyItemsTillLeafWithHead)(m,B,void 0,n,l,f,void 0),h.prefetchCache=new Map}await (0,d.refreshInactiveParallelSegments)({navigatedAt:m,state:A,updatedTree:C,updatedCache:B,includeNextUrl:w,canonicalUrl:h.canonicalUrl||A.canonicalUrl}),h.cache=B,h.patchedTree=C,g=C}return(0,l.handleMutable)(A,h)},()=>A)}t(50593),("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},79289:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return B},NormalizeError:function(){return p},PageNotFoundError:function(){return g},SP:function(){return f},ST:function(){return d},WEB_VITALS:function(){return t},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return i},getURL:function(){return a},isAbsoluteUrl:function(){return o},isResSent:function(){return s},loadGetInitialProps:function(){return c},normalizeRepeatedSlashes:function(){return u},stringifyError:function(){return m}});let t=["CLS","FCP","FID","INP","LCP","TTFB"];function n(A){let e,t=!1;return function(){for(var n=arguments.length,r=Array(n),o=0;or.test(A);function i(){let{protocol:A,hostname:e,port:t}=window.location;return A+"//"+e+(t?":"+t:"")}function a(){let{href:A}=window.location,e=i();return A.substring(e.length)}function l(A){return"string"==typeof A?A:A.displayName||A.name||"Unknown"}function s(A){return A.finished||A.headersSent}function u(A){let e=A.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?"?"+e.slice(1).join("?"):"")}async function c(A,e){let t=e.res||e.ctx&&e.ctx.res;if(!A.getInitialProps)return e.ctx&&e.Component?{pageProps:await c(e.Component,e.ctx)}:{};let n=await A.getInitialProps(e);if(t&&s(t))return n;if(!n)throw Object.defineProperty(Error('"'+l(A)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let f="undefined"!=typeof performance,d=f&&["mark","measure","getEntriesByName"].every(A=>"function"==typeof performance[A]);class h extends Error{}class p extends Error{}class g extends Error{constructor(A){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+A}}class B extends Error{constructor(A,e){super(),this.message="Failed to load static file for page: "+A+" "+e}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function m(A){return JSON.stringify({message:A.message,stack:A.stack})}},80375:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]])},81231:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("table-2",[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]])},81381:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},81446:(A,e,t)=>{"use strict";t.d(e,{d:()=>r});let n={};function r(A,e){let t=e||n;return o(A,"boolean"!=typeof t.includeImageAlt||t.includeImageAlt,"boolean"!=typeof t.includeHtml||t.includeHtml)}function o(A,e,t){var n;if((n=A)&&"object"==typeof n){if("value"in A)return"html"!==A.type||t?A.value:"";if(e&&"alt"in A&&A.alt)return A.alt;if("children"in A)return i(A.children,e,t)}return Array.isArray(A)?i(A,e,t):""}function i(A,e,t){let n=[],r=-1;for(;++r{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]])},82080:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},82570:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},82679:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]])},82804:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("file-box",[["path",{d:"M14.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"16lz6z"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M3 13.1a2 2 0 0 0-1 1.76v3.24a2 2 0 0 0 .97 1.78L6 21.7a2 2 0 0 0 2.03.01L11 19.9a2 2 0 0 0 1-1.76V14.9a2 2 0 0 0-.97-1.78L8 11.3a2 2 0 0 0-2.03-.01Z",key:"99pj1s"}],["path",{d:"M7 17v5",key:"1yj1jh"}],["path",{d:"M11.7 14.2 7 17l-4.7-2.8",key:"1yk8tc"}]])},83319:(A,e,t)=>{"use strict";function n(A,e,t){let n=[],r=-1;for(;++rn})},83753:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},83801:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("cloud-off",[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.782 5.782A7 7 0 0 0 9 19h8.5a4.5 4.5 0 0 0 1.307-.193",key:"yfwify"}],["path",{d:"M21.532 16.5A4.5 4.5 0 0 0 17.5 10h-1.79A7.008 7.008 0 0 0 10 5.07",key:"jlfiyv"}]])},84027:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},84821:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},84949:(A,e)=>{"use strict";function t(A){return A.replace(/\/$/,"")||"/"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}})},85808:(A,e,t)=>{"use strict";function n(A,e){let t=String(A);if("string"!=typeof e)throw TypeError("Expected character");let n=0,r=t.indexOf(e);for(;-1!==r;)n++,r=t.indexOf(e,r+e.length);return n}t.d(e,{A:()=>AR});var r=t(41319),o=t(51822),i=t(90816),a=t(77159);let l="phrasing",s=["autolink","link","image","label"];function u(A){this.enter({type:"link",title:null,url:"",children:[]},A)}function c(A){this.config.enter.autolinkProtocol.call(this,A)}function f(A){this.config.exit.autolinkProtocol.call(this,A)}function d(A){this.config.exit.data.call(this,A);let e=this.stack[this.stack.length-1];(0,r.ok)("link"===e.type),e.url="http://"+this.sliceSerialize(A)}function h(A){this.config.exit.autolinkEmail.call(this,A)}function p(A){this.exit(A)}function g(A){!function(A,e,t){let n=(0,a.C)((t||{}).ignore||[]),r=function(A){let e=[];if(!Array.isArray(A))throw TypeError("Expected find and replace tuple or list of tuples");let t=!A[0]||Array.isArray(A[0])?A:[A],n=-1;for(;++n0?{type:"text",value:o}:void 0),!1===o?n.lastIndex=t+1:(a!==t&&u.push({type:"text",value:A.value.slice(a,t)}),Array.isArray(o)?u.push(...o):o&&u.push(o),a=t+c[0].length,s=!0),!n.global)break;c=n.exec(A.value)}return s?(a?\]}]+$/.exec(A);if(!e)return[A,void 0];A=A.slice(0,e.index);let t=e[0],r=t.indexOf(")"),o=n(A,"("),i=n(A,")");for(;-1!==r&&o>i;)A+=t.slice(0,r+1),r=(t=t.slice(r+1)).indexOf(")"),i++;return[A,t]}(t+r);if(!a[0])return!1;let l={type:"link",title:null,url:i+e+a[0],children:[{type:"text",value:e+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function w(A,e,t,n){return!(!m(n,!0)||/[-\d_]$/.test(t))&&{type:"link",title:null,url:"mailto:"+e+"@"+t,children:[{type:"text",value:e+"@"+t}]}}function m(A,e){let t=A.input.charCodeAt(A.index-1);return(0===A.index||(0,o.Ny)(t)||(0,o.es)(t))&&(!e||47!==t)}var y=t(33502);function C(){this.buffer()}function Q(A){this.enter({type:"footnoteReference",identifier:"",label:""},A)}function U(){this.buffer()}function F(A){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},A)}function v(A){let e=this.resume(),t=this.stack[this.stack.length-1];(0,r.ok)("footnoteReference"===t.type),t.identifier=(0,y.B)(this.sliceSerialize(A)).toLowerCase(),t.label=e}function b(A){this.exit(A)}function x(A){let e=this.resume(),t=this.stack[this.stack.length-1];(0,r.ok)("footnoteDefinition"===t.type),t.identifier=(0,y.B)(this.sliceSerialize(A)).toLowerCase(),t.label=e}function E(A){this.exit(A)}function H(A,e,t,n){let r=t.createTracker(n),o=r.move("[^"),i=t.enter("footnoteReference"),a=t.enter("reference");return o+=r.move(t.safe(t.associationId(A),{after:"]",before:o})),a(),i(),o+=r.move("]")}function I(A,e,t){return 0===e?A:k(A,e,t)}function k(A,e,t){return(t?"":" ")+A}H.peek=function(){return"["};let L=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function M(A){this.enter({type:"delete",children:[]},A)}function D(A){this.exit(A)}function S(A,e,t,n){let r=t.createTracker(n),o=t.enter("strikethrough"),i=r.move("~~");return i+=t.containerPhrasing(A,{...r.current(),before:i,after:"~"}),i+=r.move("~~"),o(),i}function T(A){return A.length}function K(A){let e="string"==typeof A?A.codePointAt(0):0;return 67===e||99===e?99:76===e||108===e?108:114*(82===e||114===e)}S.peek=function(){return"~"};function P(A,e,t){if("string"==typeof e&&(e=[e]),!e||0===e.length)return t;let n=-1;for(;++n\u007F]/.test(A.url))}j.peek=function(){return"`"};(0,a.C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let z={inlineCode:j,listItem:function(A,e,t,n){let r=function(A){let e=A.options.listItemIndent||"one";if("tab"!==e&&"one"!==e&&"mixed"!==e)throw Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}(t),o=t.bulletCurrent||function(A){let e=A.options.bullet||"*";if("*"!==e&&"+"!==e&&"-"!==e)throw Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}(t);e&&"list"===e.type&&e.ordered&&(o=("number"==typeof e.start&&e.start>-1?e.start:1)+(!1===t.options.incrementListMarker?0:e.children.indexOf(A))+o);let i=o.length+1;("tab"===r||"mixed"===r&&(e&&"list"===e.type&&e.spread||A.spread))&&(i=4*Math.ceil(i/4));let a=t.createTracker(n);a.move(o+" ".repeat(i-o.length)),a.shift(i);let l=t.enter("listItem"),s=t.indentLines(t.containerFlow(A,a.current()),function(A,e,t){return e?(t?"":" ".repeat(i))+A:(t?o:o+" ".repeat(i-o.length))+A});return l(),s}};function q(A){let e=A._align;(0,r.ok)(e,"expected `_align` on table"),this.enter({type:"table",align:e.map(function(A){return"none"===A?null:A}),children:[]},A),this.data.inTable=!0}function X(A){this.exit(A),this.data.inTable=void 0}function J(A){this.enter({type:"tableRow",children:[]},A)}function W(A){this.exit(A)}function Y(A){this.enter({type:"tableCell",children:[]},A)}function Z(A){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,$));let t=this.stack[this.stack.length-1];(0,r.ok)("inlineCode"===t.type),t.value=e,this.exit(A)}function $(A,e){return"|"===e?e:A}function AA(A){let e=this.stack[this.stack.length-2];(0,r.ok)("listItem"===e.type),e.checked="taskListCheckValueChecked"===A.type}function Ae(A){let e=this.stack[this.stack.length-2];if(e&&"listItem"===e.type&&"boolean"==typeof e.checked){let A=this.stack[this.stack.length-1];(0,r.ok)("paragraph"===A.type);let t=A.children[0];if(t&&"text"===t.type){let n,r=e.children,o=-1;for(;++o0&&!t&&(A[A.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}Af[43]=Ac,Af[45]=Ac,Af[46]=Ac,Af[95]=Ac,Af[72]=[Ac,Au],Af[104]=[Ac,Au],Af[87]=[Ac,As],Af[119]=[Ac,As];var Am=t(41203),Ay=t(50533);let AC={tokenize:function(A,e,t){let n=this;return(0,Ay.N)(A,function(A){let r=n.events[n.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?e(A):t(A)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function AQ(A,e,t){let n,r=this,o=r.events.length,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);for(;o--;){let A=r.events[o][1];if("labelImage"===A.type){n=A;break}if("gfmFootnoteCall"===A.type||"labelLink"===A.type||"label"===A.type||"image"===A.type||"link"===A.type)break}return function(o){if(!n||!n._balanced)return t(o);let a=(0,y.B)(r.sliceSerialize({start:n.end,end:r.now()}));return 94===a.codePointAt(0)&&i.includes(a.slice(1))?(A.enter("gfmFootnoteCallLabelMarker"),A.consume(o),A.exit("gfmFootnoteCallLabelMarker"),e(o)):t(o)}}function AU(A,e){let t=A.length;for(;t--;)if("labelImage"===A[t][1].type&&"enter"===A[t][0]){A[t][1];break}A[t+1][1].type="data",A[t+3][1].type="gfmFootnoteCallLabelMarker";let n={type:"gfmFootnoteCall",start:Object.assign({},A[t+3][1].start),end:Object.assign({},A[A.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},A[t+3][1].end),end:Object.assign({},A[t+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},A[A.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[A[t+1],A[t+2],["enter",n,e],A[t+3],A[t+4],["enter",r,e],["exit",r,e],["enter",o,e],["enter",i,e],["exit",i,e],["exit",o,e],A[A.length-2],A[A.length-1],["exit",n,e]];return A.splice(t,A.length-t+1,...a),A}function AF(A,e,t){let n,r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0;return function(e){return A.enter("gfmFootnoteCall"),A.enter("gfmFootnoteCallLabelMarker"),A.consume(e),A.exit("gfmFootnoteCallLabelMarker"),l};function l(e){return 94!==e?t(e):(A.enter("gfmFootnoteCallMarker"),A.consume(e),A.exit("gfmFootnoteCallMarker"),A.enter("gfmFootnoteCallString"),A.enter("chunkString").contentType="string",s)}function s(l){if(a>999||93===l&&!n||null===l||91===l||(0,o.Ee)(l))return t(l);if(93===l){A.exit("chunkString");let n=A.exit("gfmFootnoteCallString");return i.includes((0,y.B)(r.sliceSerialize(n)))?(A.enter("gfmFootnoteCallLabelMarker"),A.consume(l),A.exit("gfmFootnoteCallLabelMarker"),A.exit("gfmFootnoteCall"),e):t(l)}return(0,o.Ee)(l)||(n=!0),a++,A.consume(l),92===l?u:s}function u(e){return 91===e||92===e||93===e?(A.consume(e),a++,s):s(e)}}function Av(A,e,t){let n,r,i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),l=0;return function(e){return A.enter("gfmFootnoteDefinition")._container=!0,A.enter("gfmFootnoteDefinitionLabel"),A.enter("gfmFootnoteDefinitionLabelMarker"),A.consume(e),A.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(e){return 94===e?(A.enter("gfmFootnoteDefinitionMarker"),A.consume(e),A.exit("gfmFootnoteDefinitionMarker"),A.enter("gfmFootnoteDefinitionLabelString"),A.enter("chunkString").contentType="string",u):t(e)}function u(e){if(l>999||93===e&&!r||null===e||91===e||(0,o.Ee)(e))return t(e);if(93===e){A.exit("chunkString");let t=A.exit("gfmFootnoteDefinitionLabelString");return n=(0,y.B)(i.sliceSerialize(t)),A.enter("gfmFootnoteDefinitionLabelMarker"),A.consume(e),A.exit("gfmFootnoteDefinitionLabelMarker"),A.exit("gfmFootnoteDefinitionLabel"),f}return(0,o.Ee)(e)||(r=!0),l++,A.consume(e),92===e?c:u}function c(e){return 91===e||92===e||93===e?(A.consume(e),l++,u):u(e)}function f(e){return 58===e?(A.enter("definitionMarker"),A.consume(e),A.exit("definitionMarker"),a.includes(n)||a.push(n),(0,Ay.N)(A,d,"gfmFootnoteDefinitionWhitespace")):t(e)}function d(A){return e(A)}}function Ab(A,e,t){return A.check(Am.B,e,A.attempt(AC,e,t))}function Ax(A){A.exit("gfmFootnoteDefinition")}var AE=t(22301),AH=t(83319);class AI{constructor(){this.map=[]}add(A,e,t){!function(A,e,t,n){let r=0;if(0!==t||0!==n.length){for(;r0;)e-=1,t.push(A.slice(this.map[e][0]+this.map[e][1]),this.map[e][2]),A.length=this.map[e][0];t.push(A.slice()),A.length=0;let n=t.pop();for(;n;){for(let e of n)A.push(e);n=t.pop()}this.map.length=0}}function Ak(A,e,t){let n,r=this,i=0,a=0;return function(A){let e=r.events.length-1;for(;e>-1;){let A=r.events[e][1].type;if("lineEnding"===A||"linePrefix"===A)e--;else break}let n=e>-1?r.events[e][1].type:null,o="tableHead"===n||"tableRow"===n?m:l;return o===m&&r.parser.lazy[r.now().line]?t(A):o(A)};function l(e){var t;return A.enter("tableHead"),A.enter("tableRow"),124===(t=e)||(n=!0,a+=1),s(t)}function s(e){return null===e?t(e):(0,o.HP)(e)?a>1?(a=0,r.interrupt=!0,A.exit("tableRow"),A.enter("lineEnding"),A.consume(e),A.exit("lineEnding"),f):t(e):(0,o.On)(e)?(0,Ay.N)(A,s,"whitespace")(e):(a+=1,n&&(n=!1,i+=1),124===e)?(A.enter("tableCellDivider"),A.consume(e),A.exit("tableCellDivider"),n=!0,s):(A.enter("data"),u(e))}function u(e){return null===e||124===e||(0,o.Ee)(e)?(A.exit("data"),s(e)):(A.consume(e),92===e?c:u)}function c(e){return 92===e||124===e?(A.consume(e),u):u(e)}function f(e){return(r.interrupt=!1,r.parser.lazy[r.now().line])?t(e):(A.enter("tableDelimiterRow"),n=!1,(0,o.On)(e))?(0,Ay.N)(A,d,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):d(e)}function d(e){return 45===e||58===e?p(e):124===e?(n=!0,A.enter("tableCellDivider"),A.consume(e),A.exit("tableCellDivider"),h):t(e)}function h(e){return(0,o.On)(e)?(0,Ay.N)(A,p,"whitespace")(e):p(e)}function p(e){return 58===e?(a+=1,n=!0,A.enter("tableDelimiterMarker"),A.consume(e),A.exit("tableDelimiterMarker"),g):45===e?(a+=1,g(e)):null===e||(0,o.HP)(e)?w(e):t(e)}function g(e){return 45===e?(A.enter("tableDelimiterFiller"),function e(t){return 45===t?(A.consume(t),e):58===t?(n=!0,A.exit("tableDelimiterFiller"),A.enter("tableDelimiterMarker"),A.consume(t),A.exit("tableDelimiterMarker"),B):(A.exit("tableDelimiterFiller"),B(t))}(e)):t(e)}function B(e){return(0,o.On)(e)?(0,Ay.N)(A,w,"whitespace")(e):w(e)}function w(r){if(124===r)return d(r);if(null===r||(0,o.HP)(r))return n&&i===a?(A.exit("tableDelimiterRow"),A.exit("tableHead"),e(r)):t(r);return t(r)}function m(e){return A.enter("tableRow"),y(e)}function y(t){return 124===t?(A.enter("tableCellDivider"),A.consume(t),A.exit("tableCellDivider"),y):null===t||(0,o.HP)(t)?(A.exit("tableRow"),e(t)):(0,o.On)(t)?(0,Ay.N)(A,y,"whitespace")(t):(A.enter("data"),C(t))}function C(e){return null===e||124===e||(0,o.Ee)(e)?(A.exit("data"),y(e)):(A.consume(e),92===e?Q:C)}function Q(e){return 92===e||124===e?(A.consume(e),C):C(e)}}function AL(A,e){let t,n,r,o=-1,i=!0,a=0,l=[0,0,0,0],s=[0,0,0,0],u=!1,c=0,f=new AI;for(;++ot[2]+1){let e=t[2]+1,n=t[3]-t[2]-1;A.add(e,n,[])}}A.add(t[3]+1,0,[["exit",i,e]])}return void 0!==r&&(o.end=Object.assign({},AS(e.events,r)),A.add(r,0,[["exit",o,e]]),o=void 0),o}function AD(A,e,t,n,r){let o=[],i=AS(e.events,t);r&&(r.end=Object.assign({},i),o.push(["exit",r,e])),n.end=Object.assign({},i),o.push(["exit",n,e]),A.add(t+1,0,o)}function AS(A,e){let t=A[e],n="enter"===t[0]?"start":"end";return t[1][n]}let AT={name:"tasklistCheck",tokenize:function(A,e,t){let n=this;return function(e){return null===n.previous&&n._gfmTasklistFirstContentOfListItem?(A.enter("taskListCheck"),A.enter("taskListCheckMarker"),A.consume(e),A.exit("taskListCheckMarker"),r):t(e)};function r(e){return(0,o.Ee)(e)?(A.enter("taskListCheckValueUnchecked"),A.consume(e),A.exit("taskListCheckValueUnchecked"),i):88===e||120===e?(A.enter("taskListCheckValueChecked"),A.consume(e),A.exit("taskListCheckValueChecked"),i):t(e)}function i(e){return 93===e?(A.enter("taskListCheckMarker"),A.consume(e),A.exit("taskListCheckMarker"),A.exit("taskListCheck"),a):t(e)}function a(n){return(0,o.HP)(n)?e(n):(0,o.On)(n)?A.check({tokenize:AK},e,t)(n):t(n)}}};function AK(A,e,t){return(0,Ay.N)(A,function(A){return null===A?t(A):e(A)},"whitespace")}let AP={};function AR(A){let e,t=A||AP,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,An.y)([{text:Af},{document:{91:{name:"gfmFootnoteDefinition",tokenize:Av,continuation:{tokenize:Ab},exit:Ax}},text:{91:{name:"gfmFootnoteCall",tokenize:AF},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:AQ,resolveTo:AU}}},function(A){let e=(A||{}).singleTilde,t={name:"strikethrough",tokenize:function(A,t,n){let r=this.previous,o=this.events,i=0;return function(a){return 126===r&&"characterEscape"!==o[o.length-1][1].type?n(a):(A.enter("strikethroughSequenceTemporary"),function o(a){let l=(0,N.S)(r);if(126===a)return i>1?n(a):(A.consume(a),i++,o);if(i<2&&!e)return n(a);let s=A.exit("strikethroughSequenceTemporary"),u=(0,N.S)(a);return s._open=!u||2===u&&!!l,s._close=!l||2===l&&!!u,t(a)}(a))}},resolveAll:function(A,e){let t=-1;for(;++t0&&(o.shift(4),i+=o.move((e?"\n":" ")+n.indentLines(n.containerFlow(A,o.current()),e?k:I))),a(),i},footnoteReference:H},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:L}],handlers:{delete:S}},function(A){let e=A||{},t=e.tableCellPadding,n=e.tablePipeAlign,r=e.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(A,e,t){let n=z.inlineCode(A,e,t);return t.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&")),n},table:function(A,e,t,n){return a(function(A,e,t){let n=A.children,r=-1,o=[],i=e.enter("table");for(;++rs&&(s=A[u].length);++ol[o])&&(l[o]=A)}e.push(i)}i[u]=e,a[u]=n}let f=-1;if("object"==typeof n&&"length"in n)for(;++fl[f]&&(l[f]=r),h[f]=r),d[f]=i}i.splice(1,0,d),a.splice(1,0,h),u=-1;let p=[];for(;++u{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{default:function(){return g},useLinkStatus:function(){return w}});let n=t(40740),r=t(60687),o=n._(t(43210)),i=t(30195),a=t(22142),l=t(59154),s=t(53038),u=t(79289),c=t(96127);t(50148);let f=t(73406),d=t(61794),h=t(63690);function p(A){return"string"==typeof A?A:(0,i.formatUrl)(A)}function g(A){let e,t,n,[i,g]=(0,o.useOptimistic)(f.IDLE_LINK_STATUS),w=(0,o.useRef)(null),{href:m,as:y,children:C,prefetch:Q=null,passHref:U,replace:F,shallow:v,scroll:b,onClick:x,onMouseEnter:E,onTouchStart:H,legacyBehavior:I=!1,onNavigate:k,ref:L,unstable_dynamicOnHover:M,...D}=A;e=C,I&&("string"==typeof e||"number"==typeof e)&&(e=(0,r.jsx)("a",{children:e}));let S=o.default.useContext(a.AppRouterContext),T=!1!==Q,K=null===Q?l.PrefetchKind.AUTO:l.PrefetchKind.FULL,{href:P,as:R}=o.default.useMemo(()=>{let A=p(m);return{href:A,as:y?p(y):A}},[m,y]);I&&(t=o.default.Children.only(e));let O=I?t&&"object"==typeof t&&t.ref:L,N=o.default.useCallback(A=>(null!==S&&(w.current=(0,f.mountLinkInstance)(A,P,S,K,T,g)),()=>{w.current&&((0,f.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,f.unmountPrefetchableInstance)(A)}),[T,P,S,K,g]),_={ref:(0,s.useMergedRef)(N,O),onClick(A){I||"function"!=typeof x||x(A),I&&t.props&&"function"==typeof t.props.onClick&&t.props.onClick(A),S&&(A.defaultPrevented||function(A,e,t,n,r,i,a){let{nodeName:l}=A.currentTarget;if(!("A"===l.toUpperCase()&&function(A){let e=A.currentTarget.getAttribute("target");return e&&"_self"!==e||A.metaKey||A.ctrlKey||A.shiftKey||A.altKey||A.nativeEvent&&2===A.nativeEvent.which}(A)||A.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(e)){r&&(A.preventDefault(),location.replace(e));return}A.preventDefault(),o.default.startTransition(()=>{if(a){let A=!1;if(a({preventDefault:()=>{A=!0}}),A)return}(0,h.dispatchNavigateAction)(t||e,r?"replace":"push",null==i||i,n.current)})}}(A,P,R,w,F,b,k))},onMouseEnter(A){I||"function"!=typeof E||E(A),I&&t.props&&"function"==typeof t.props.onMouseEnter&&t.props.onMouseEnter(A),S&&T&&(0,f.onNavigationIntent)(A.currentTarget,!0===M)},onTouchStart:function(A){I||"function"!=typeof H||H(A),I&&t.props&&"function"==typeof t.props.onTouchStart&&t.props.onTouchStart(A),S&&T&&(0,f.onNavigationIntent)(A.currentTarget,!0===M)}};return(0,u.isAbsoluteUrl)(R)?_.href=R:I&&!U&&("a"!==t.type||"href"in t.props)||(_.href=(0,c.addBasePath)(R)),n=I?o.default.cloneElement(t,_):(0,r.jsx)("a",{...D,..._,children:e}),(0,r.jsx)(B.Provider,{value:i,children:n})}t(32708);let B=(0,o.createContext)(f.IDLE_LINK_STATUS),w=()=>(0,o.useContext)(B);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},86698:(A,e,t)=>{"use strict";t.d(e,{YR:()=>r});var n=t(90816);function r(A,e,t,r){let o,i,a;"function"==typeof e&&"function"!=typeof t?(i=void 0,a=e,o=t):(i=e,a=t,o=r),(0,n.VG)(A,i,function(A,e){let t=e[e.length-1],n=t?t.children.indexOf(A):void 0;return a(A,n,t)},o)}},86757:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]])},86770:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function A(e,t,n,l){let s,[u,c,f,d,h]=t;if(1===e.length){let A=a(t,n);return(0,i.addRefreshMarkerToActiveParallelSegments)(A,l),A}let[p,g]=e;if(!(0,o.matchSegment)(p,u))return null;if(2===e.length)s=a(c[g],n);else if(null===(s=A((0,r.getNextFlightSegmentPath)(e),c[g],n,l)))return null;let B=[e[0],{...c,[g]:s},f,d];return h&&(B[4]=!0),(0,i.addRefreshMarkerToActiveParallelSegments)(B,l),B}}});let n=t(83913),r=t(74007),o=t(14077),i=t(22308);function a(A,e){let[t,r]=A,[i,l]=e;if(i===n.DEFAULT_SEGMENT_KEY&&t!==n.DEFAULT_SEGMENT_KEY)return A;if((0,o.matchSegment)(t,i)){let e={};for(let A in r)void 0!==l[A]?e[A]=a(r[A],l[A]):e[A]=r[A];for(let A in l)e[A]||(e[A]=l[A]);let n=[t,e];return A[2]&&(n[2]=A[2]),A[3]&&(n[3]=A[3]),A[4]&&(n[4]=A[4]),n}return e}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},86908:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(A,e){return e.toUpperCase()},l=function(A,e){return"".concat(e,"-")};e.camelCase=function(A,e){var s;return(void 0===e&&(e={}),!(s=A)||r.test(s)||t.test(s))?A:(A=A.toLowerCase(),(A=e.reactCompat?A.replace(i,l):A.replace(o,l)).replace(n,a))}},88233:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},89422:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},89752:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(A,e){for(var t in e)Object.defineProperty(A,t,{enumerable:!0,get:e[t]})}(e,{createEmptyCacheNode:function(){return H},createPrefetchURL:function(){return x},default:function(){return M},isExternalURL:function(){return b}});let n=t(40740),r=t(60687),o=n._(t(43210)),i=t(22142),a=t(59154),l=t(57391),s=t(10449),u=t(19129),c=n._(t(35656)),f=t(35416),d=t(96127),h=t(77022),p=t(67086),g=t(44397),B=t(89330),w=t(25942),m=t(26736),y=t(70642),C=t(12776),Q=t(63690),U=t(36875),F=t(97860);t(73406);let v={};function b(A){return A.origin!==window.location.origin}function x(A){let e;if((0,f.isBot)(window.navigator.userAgent))return null;try{e=new URL((0,d.addBasePath)(A),window.location.href)}catch(e){throw Object.defineProperty(Error("Cannot prefetch '"+A+"' because it cannot be converted to a URL."),"__NEXT_ERROR_CODE",{value:"E234",enumerable:!1,configurable:!0})}return b(e)?null:e}function E(A){let{appRouterState:e}=A;return(0,o.useInsertionEffect)(()=>{let{tree:A,pushRef:t,canonicalUrl:n}=e,r={...t.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:A};t.pendingPush&&(0,l.createHrefFromUrl)(new URL(window.location.href))!==n?(t.pendingPush=!1,window.history.pushState(r,"",n)):window.history.replaceState(r,"",n)},[e]),(0,o.useEffect)(()=>{},[e.nextUrl,e.tree]),null}function H(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1}}function I(A){null==A&&(A={});let e=window.history.state,t=null==e?void 0:e.__NA;t&&(A.__NA=t);let n=null==e?void 0:e.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(A.__PRIVATE_NEXTJS_INTERNALS_TREE=n),A}function k(A){let{headCacheNode:e}=A,t=null!==e?e.head:null,n=null!==e?e.prefetchHead:null,r=null!==n?n:t;return(0,o.useDeferredValue)(t,r)}function L(A){let e,{actionQueue:t,assetPrefix:n,globalError:l}=A,f=(0,u.useActionQueue)(t),{canonicalUrl:d}=f,{searchParams:C,pathname:b}=(0,o.useMemo)(()=>{let A=new URL(d,"http://n");return{searchParams:A.searchParams,pathname:(0,m.hasBasePath)(A.pathname)?(0,w.removeBasePath)(A.pathname):A.pathname}},[d]);(0,o.useEffect)(()=>{function A(A){var e;A.persisted&&(null==(e=window.history.state)?void 0:e.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(v.pendingMpaPath=void 0,(0,u.dispatchAppRouterAction)({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",A),()=>{window.removeEventListener("pageshow",A)}},[]),(0,o.useEffect)(()=>{function A(A){let e="reason"in A?A.reason:A.error;if((0,F.isRedirectError)(e)){A.preventDefault();let t=(0,U.getURLFromRedirectError)(e);(0,U.getRedirectTypeFromError)(e)===F.RedirectType.push?Q.publicAppRouterInstance.push(t,{}):Q.publicAppRouterInstance.replace(t,{})}}return window.addEventListener("error",A),window.addEventListener("unhandledrejection",A),()=>{window.removeEventListener("error",A),window.removeEventListener("unhandledrejection",A)}},[]);let{pushRef:x}=f;if(x.mpaNavigation){if(v.pendingMpaPath!==d){let A=window.location;x.pendingPush?A.assign(d):A.replace(d),v.pendingMpaPath=d}(0,o.use)(B.unresolvedThenable)}(0,o.useEffect)(()=>{let A=window.history.pushState.bind(window.history),e=window.history.replaceState.bind(window.history),t=A=>{var e;let t=window.location.href,n=null==(e=window.history.state)?void 0:e.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,o.startTransition)(()=>{(0,u.dispatchAppRouterAction)({type:a.ACTION_RESTORE,url:new URL(null!=A?A:t,t),tree:n})})};window.history.pushState=function(e,n,r){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=I(e),r&&t(r)),A(e,n,r)},window.history.replaceState=function(A,n,r){return(null==A?void 0:A.__NA)||(null==A?void 0:A._N)||(A=I(A),r&&t(r)),e(A,n,r)};let n=A=>{if(A.state){if(!A.state.__NA)return void window.location.reload();(0,o.startTransition)(()=>{(0,Q.dispatchTraverseAction)(window.location.href,A.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=A,window.history.replaceState=e,window.removeEventListener("popstate",n)}},[]);let{cache:H,tree:L,nextUrl:M,focusAndScrollRef:D}=f,S=(0,o.useMemo)(()=>(0,g.findHeadInCache)(H,L[1]),[H,L]),K=(0,o.useMemo)(()=>(0,y.getSelectedParams)(L),[L]),P=(0,o.useMemo)(()=>({parentTree:L,parentCacheNode:H,parentSegmentPath:null,url:d}),[L,H,d]),R=(0,o.useMemo)(()=>({tree:L,focusAndScrollRef:D,nextUrl:M}),[L,D,M]);if(null!==S){let[A,t]=S;e=(0,r.jsx)(k,{headCacheNode:A},t)}else e=null;let O=(0,r.jsxs)(p.RedirectBoundary,{children:[e,H.rsc,(0,r.jsx)(h.AppRouterAnnouncer,{tree:L})]});return O=(0,r.jsx)(c.ErrorBoundary,{errorComponent:l[0],errorStyles:l[1],children:O}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(E,{appRouterState:f}),(0,r.jsx)(T,{}),(0,r.jsx)(s.PathParamsContext.Provider,{value:K,children:(0,r.jsx)(s.PathnameContext.Provider,{value:b,children:(0,r.jsx)(s.SearchParamsContext.Provider,{value:C,children:(0,r.jsx)(i.GlobalLayoutRouterContext.Provider,{value:R,children:(0,r.jsx)(i.AppRouterContext.Provider,{value:Q.publicAppRouterInstance,children:(0,r.jsx)(i.LayoutRouterContext.Provider,{value:P,children:O})})})})})})]})}function M(A){let{actionQueue:e,globalErrorComponentAndStyles:[t,n],assetPrefix:o}=A;return(0,C.useNavFailureHandler)(),(0,r.jsx)(c.ErrorBoundary,{errorComponent:c.default,children:(0,r.jsx)(L,{actionQueue:e,assetPrefix:o,globalError:[t,n]})})}let D=new Set,S=new Set;function T(){let[,A]=o.default.useState(0),e=D.size;return(0,o.useEffect)(()=>{let t=()=>A(A=>A+1);return S.add(t),e!==D.size&&t(),()=>{S.delete(t)}},[e,A]),[...D].map((A,e)=>(0,r.jsx)("link",{rel:"stylesheet",href:""+A,precedence:"next"},e))}globalThis._N_E_STYLE_LOAD=function(A){let e=D.size;return D.add(A),D.size!==e&&S.forEach(A=>A()),Promise.resolve()},("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},90131:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},90816:(A,e,t)=>{"use strict";t.d(e,{dc:()=>o,VG:()=>i});var n=t(77159);let r=[],o=!1;function i(A,e,t,i){let a;"function"==typeof e&&"function"!=typeof t?(i=t,t=e):a=e;let l=(0,n.C)(a),s=i?-1:1;(function A(n,a,u){let c=n&&"object"==typeof n?n:{};if("string"==typeof c.type){let A="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(f,"name",{value:"node (\x1b[33m"+n.type+(A?"<"+A+">":"")+"\x1b[39m)"})}return f;function f(){var c;let f,d,h,p=r;if((!e||l(n,a,u[u.length-1]||void 0))&&(p=Array.isArray(c=t(n,u))?c:"number"==typeof c?[!0,c]:null==c?r:[c])[0]===o)return p;if("children"in n&&n.children&&n.children&&"skip"!==p[0])for(d=(i?n.children.length:-1)+s,h=u.concat(n);d>-1&&d{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("toggle-right",[["circle",{cx:"15",cy:"12",r:"3",key:"1afu0r"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]])},94424:(A,e,t)=>{"use strict";t.d(e,{A:()=>ox});var n,r,o,i,a,l=function(A,e){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(A[t]=e[t])})(A,e)};function s(A,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=A}l(A,e),A.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var u=function(){return(u=Object.assign||function(A){for(var e,t=1,n=arguments.length;t0&&r[r.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]=55296&&r<=56319&&t>10)+55296,i%1024+56320)),(r+1===t||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y="undefined"==typeof Uint8Array?[]:new Uint8Array(256),C=0;C>4,u[l++]=(15&n)<<4|r>>2,u[l++]=(3&r)<<6|63&o;return s},b=function(A){for(var e=A.length,t=[],n=0;n=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A>11),e=this.index[e]+(A>>5&63),e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",L="undefined"==typeof Uint8Array?[]:new Uint8Array(256),M=0;M50?(r.push(!0),i-=50):r.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(o),t.push(16);if(4===i||11===i){if(0===o)return n.push(o),t.push(30);var a=t[o-1];return -1===O.indexOf(a)?(n.push(n[o-1]),t.push(a)):(n.push(o),t.push(30))}if(n.push(o),31===i)return t.push("strict"===e?21:37);if(42===i||29===i)return t.push(30);if(43===i)if(A>=131072&&A<=196605||A>=196608&&A<=262141)return t.push(37);else return t.push(30);t.push(i)}),[n,t,r]},j=function(A,e,t,n){var r=n[t];if(Array.isArray(A)?-1!==A.indexOf(r):A===r)for(var o=t;o<=n.length;){var i=n[++o];if(i===e)return!0;if(10!==i)break}if(10===r)for(var o=t;o>0;){var a=n[--o];if(Array.isArray(A)?-1!==A.indexOf(a):A===a)for(var l=t;l<=n.length;){var i=n[++l];if(i===e)return!0;if(10!==i)break}if(10!==a)break}return!1},G=function(A,e){for(var t=A;t>=0;){var n=e[t];if(10!==n)return n;t--}return 0},z=function(A,e,t,n,r){if(0===t[n])return"\xd7";var o=n-1;if(Array.isArray(r)&&!0===r[o])return"\xd7";var i=o-1,a=o+1,l=e[o],s=i>=0?e[i]:0,u=e[a];if(2===l&&3===u)return"\xd7";if(-1!==K.indexOf(l))return"!";if(-1!==K.indexOf(u)||-1!==P.indexOf(u))return"\xd7";if(8===G(o,e))return"\xf7";if(11===S.get(A[o])||(32===l||33===l)&&11===S.get(A[a])||7===l||7===u||9===l||-1===[10,13,15].indexOf(l)&&9===u||-1!==[17,18,19,24,28].indexOf(u)||22===G(o,e)||j(23,22,o,e)||j([17,18],21,o,e)||j(12,12,o,e))return"\xd7";if(10===l)return"\xf7";if(23===l||23===u)return"\xd7";if(16===u||16===l)return"\xf7";if(-1!==[13,15,21].indexOf(u)||14===l||36===s&&-1!==_.indexOf(l)||28===l&&36===u||20===u||-1!==T.indexOf(u)&&25===l||-1!==T.indexOf(l)&&25===u||27===l&&-1!==[37,32,33].indexOf(u)||-1!==[37,32,33].indexOf(l)&&26===u||-1!==T.indexOf(l)&&-1!==R.indexOf(u)||-1!==R.indexOf(l)&&-1!==T.indexOf(u)||-1!==[27,26].indexOf(l)&&(25===u||-1!==[22,15].indexOf(u)&&25===e[a+1])||-1!==[22,15].indexOf(l)&&25===u||25===l&&-1!==[25,28,24].indexOf(u))return"\xd7";if(-1!==[25,28,24,17,18].indexOf(u))for(var c=o;c>=0;){var f=e[c];if(25===f)return"\xd7";if(-1!==[28,24].indexOf(f))c--;else break}if(-1!==[27,26].indexOf(u))for(var c=-1!==[17,18].indexOf(l)?i:o;c>=0;){var f=e[c];if(25===f)return"\xd7";if(-1!==[28,24].indexOf(f))c--;else break}if(38===l&&-1!==[38,39,34,35].indexOf(u)||-1!==[39,34].indexOf(l)&&-1!==[39,40].indexOf(u)||-1!==[40,35].indexOf(l)&&40===u||-1!==N.indexOf(l)&&-1!==[20,26].indexOf(u)||-1!==N.indexOf(u)&&27===l||-1!==T.indexOf(l)&&-1!==T.indexOf(u)||24===l&&-1!==T.indexOf(u)||-1!==T.concat(25).indexOf(l)&&22===u&&-1===D.indexOf(A[a])||-1!==T.concat(25).indexOf(u)&&18===l)return"\xd7";if(41===l&&41===u){for(var d=t[o],h=1;d>0;)if(41===e[--d])h++;else break;if(h%2!=0)return"\xd7"}return 32===l&&33===u?"\xd7":"\xf7"},q=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=V(A,e.lineBreak),n=t[0],r=t[1],o=t[2];return("break-all"===e.wordBreak||"break-word"===e.wordBreak)&&(r=r.map(function(A){return -1!==[25,30,42].indexOf(A)?37:A})),[n,r,"keep-all"===e.wordBreak?o.map(function(e,t){return e&&A[t]>=19968&&A[t]<=40959}):void 0]},X=function(){function A(A,e,t,n){this.codePoints=A,this.required="!"===e,this.start=t,this.end=n}return A.prototype.slice=function(){return w.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),J=function(A,e){var t=B(A),n=q(t,e),r=n[0],o=n[1],i=n[2],a=t.length,l=0,s=0;return{next:function(){if(s>=a)return{done:!0,value:null};for(var A="\xd7";s=48&&A<=57},Y=function(A){return W(A)||A>=65&&A<=70||A>=97&&A<=102},Z=function(A){return A>=97&&A<=122||A>=65&&A<=90},$=function(A){return 10===A||9===A||32===A},AA=function(A){return Z(A)||A>=128||95===A},Ae=function(A){return AA(A)||W(A)||45===A},At=function(A,e){return 92===A&&10!==e},An=function(A,e,t){return 45===A?AA(e)||At(e,t):!!(AA(A)||92===A&&At(A,e))||!1},Ar=function(A,e,t){return 43===A||45===A?!!W(e)||46===e&&W(t):46===A?W(e):W(A)},Ao=function(A){var e=0,t=1;(43===A[0]||45===A[e])&&(45===A[e]&&(t=-1),e++);for(var n=[];W(A[e]);)n.push(A[e++]);var r=n.length?parseInt(w.apply(void 0,n),10):0;46===A[e]&&e++;for(var o=[];W(A[e]);)o.push(A[e++]);var i=o.length,a=i?parseInt(w.apply(void 0,o),10):0;(69===A[e]||101===A[e])&&e++;var l=1;(43===A[e]||45===A[e])&&(45===A[e]&&(l=-1),e++);for(var s=[];W(A[e]);)s.push(A[e++]);return t*(r+a*Math.pow(10,-i))*Math.pow(10,l*(s.length?parseInt(w.apply(void 0,s),10):0))},Ai={type:2},Aa={type:3},Al={type:4},As={type:13},Au={type:8},Ac={type:21},Af={type:9},Ad={type:10},Ah={type:11},Ap={type:12},Ag={type:14},AB={type:23},Aw={type:1},Am={type:25},Ay={type:24},AC={type:26},AQ={type:27},AU={type:28},AF={type:29},Av={type:31},Ab={type:32},Ax=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(B(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==Ab;)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Ae(e)||At(t,n)){var r=An(e,t,n)?2:1,o=this.consumeName();return{type:5,value:o,flags:r}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),As;break;case 39:return this.consumeStringToken(39);case 40:return Ai;case 41:return Aa;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ag;break;case 43:case 46:if(Ar(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return Al;case 45:var i=this.peekCodePoint(0),a=this.peekCodePoint(1);if(Ar(A,i,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(An(A,i,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(45===i&&62===a)return this.consumeCodePoint(),this.consumeCodePoint(),Ay;break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(42===l&&47===(l=this.consumeCodePoint())||-1===l)return this.consumeToken()}break;case 58:return AC;case 59:return AQ;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),Am;break;case 64:if(An(this.peekCodePoint(0),this.peekCodePoint(1),this.peekCodePoint(2))){var o=this.consumeName();return{type:7,value:o}}break;case 91:return AU;case 92:if(At(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return AF;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Au;break;case 123:return Ah;case 125:return Ap;case 117:case 85:var s=this.peekCodePoint(0),u=this.peekCodePoint(1);return 43===s&&(Y(u)||63===u)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Af;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),Ac;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Ad;break;case -1:return Ab}return $(A)?(this.consumeWhiteSpace(),Av):W(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):AA(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:w(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return void 0===A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();Y(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t){var n=parseInt(w.apply(void 0,A.map(function(A){return 63===A?48:A})),16),r=parseInt(w.apply(void 0,A.map(function(A){return 63===A?70:A})),16);return{type:30,start:n,end:r}}var o=parseInt(w.apply(void 0,A),16);if(!(45===this.peekCodePoint(0)&&Y(this.peekCodePoint(1))))return{type:30,start:o,end:o};this.consumeCodePoint(),e=this.consumeCodePoint();for(var i=[];Y(e)&&i.length<6;)i.push(e),e=this.consumeCodePoint();var r=parseInt(w.apply(void 0,i),16);return{type:30,start:o,end:r}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),AB)}for(;;){var n,r=this.consumeCodePoint();if(-1===r||41===r)return{type:22,value:w.apply(void 0,A)};if($(r)){if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))return this.consumeCodePoint(),{type:22,value:w.apply(void 0,A)};return this.consumeBadUrlRemnants(),AB}if(34===r||39===r||40===r||(n=r)>=0&&n<=8||11===n||n>=14&&n<=31||127===n)return this.consumeBadUrlRemnants(),AB;if(92===r)if(!At(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),AB;else A.push(this.consumeEscapedCodePoint());else A.push(r)}},A.prototype.consumeWhiteSpace=function(){for(;$(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||-1===A)return;At(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e="";A>0;){var t=Math.min(5e4,A);e+=w.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var n=this._value[t];if(-1===n||void 0===n||n===A)return{type:0,value:e+=this.consumeStringSlice(t)};if(10===n)return this._value.splice(0,t),Aw;if(92===n){var r=this._value[t+1];-1!==r&&void 0!==r&&(10===r?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):At(n,r)&&(e+=this.consumeStringSlice(t),e+=w(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);for((43===t||45===t)&&A.push(this.consumeCodePoint());W(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(46===t&&W(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;W(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((69===t||101===t)&&((43===n||45===n)&&W(r)||W(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;W(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Ao(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],n=this.peekCodePoint(0);return An(n,this.peekCodePoint(1),this.peekCodePoint(2))?{type:15,number:e,flags:t,unit:this.consumeName()}:37===n?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Y(A)){for(var e=w(A);Y(this.peekCodePoint(0))&&e.length<6;)e+=w(this.consumeCodePoint());$(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||t>=55296&&t<=57343||t>1114111?65533:t}return -1===A?65533:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(Ae(e))A+=w(e);else{if(!At(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=w(this.consumeEscapedCodePoint())}}},A}(),AE=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new Ax;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do A=this.consumeToken();while(31===A.type);if(32===A.type)return e;throw SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(32===t.type||AK(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return void 0===A?Ab:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),AH=function(A){return 15===A.type},AI=function(A){return 17===A.type},Ak=function(A){return 20===A.type},AL=function(A){return 0===A.type},AM=function(A,e){return Ak(A)&&A.value===e},AD=function(A){return 31!==A.type},AS=function(A){return 31!==A.type&&4!==A.type},AT=function(A){var e=[],t=[];return A.forEach(function(A){if(4===A.type){if(0===t.length)throw Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}31!==A.type&&t.push(A)}),t.length&&e.push(t),e},AK=function(A,e){return 11===e&&12===A.type||28===e&&29===A.type||2===e&&3===A.type},AP=function(A){return 17===A.type||15===A.type},AR=function(A){return 16===A.type||AP(A)},AO=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},AN={type:17,number:0,flags:4},A_={type:16,number:50,flags:4},AV={type:16,number:100,flags:4},Aj=function(A,e,t){var n=A[0],r=A[1];return[AG(n,e),AG(void 0!==r?r:n,t)]},AG=function(A,e){if(16===A.type)return A.number/100*e;if(AH(A))switch(A.unit){case"rem":case"em":return 16*A.number}return A.number},Az="grad",Aq="turn",AX={parse:function(A,e){if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case Az:return Math.PI/200*e.number;case"rad":return e.number;case Aq:return 2*Math.PI*e.number}throw Error("Unsupported angle type")}},AJ=function(A){return 15===A.type&&("deg"===A.unit||A.unit===Az||"rad"===A.unit||A.unit===Aq)},AW=function(A){switch(A.filter(Ak).map(function(A){return A.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[AN,AN];case"to top":case"bottom":return AY(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[AN,AV];case"to right":case"left":return AY(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[AV,AV];case"to bottom":case"top":return AY(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[AV,AN];case"to left":case"right":return AY(270)}return 0},AY=function(A){return Math.PI*A/180},AZ={parse:function(A,e){if(18===e.type){var t=A6[e.name];if(void 0===t)throw Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var n=e.value.substring(0,1),r=e.value.substring(1,2),o=e.value.substring(2,3);return A1(parseInt(n+n,16),parseInt(r+r,16),parseInt(o+o,16),1)}if(4===e.value.length){var n=e.value.substring(0,1),r=e.value.substring(1,2),o=e.value.substring(2,3),i=e.value.substring(3,4);return A1(parseInt(n+n,16),parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16)/255)}if(6===e.value.length){var n=e.value.substring(0,2),r=e.value.substring(2,4),o=e.value.substring(4,6);return A1(parseInt(n,16),parseInt(r,16),parseInt(o,16),1)}if(8===e.value.length){var n=e.value.substring(0,2),r=e.value.substring(2,4),o=e.value.substring(4,6),i=e.value.substring(6,8);return A1(parseInt(n,16),parseInt(r,16),parseInt(o,16),parseInt(i,16)/255)}}if(20===e.type){var a=A9[e.value.toUpperCase()];if(void 0!==a)return a}return A9.TRANSPARENT}},A$=function(A){return(255&A)==0},A0=function(A){var e=255&A,t=255&A>>8,n=255&A>>16,r=255&A>>24;return e<255?"rgba("+r+","+n+","+t+","+e/255+")":"rgb("+r+","+n+","+t+")"},A1=function(A,e,t,n){return(A<<24|e<<16|t<<8|(0|Math.round(255*n)))>>>0},A2=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},A4=function(A,e){var t=e.filter(AS);if(3===t.length){var n=t.map(A2),r=n[0],o=n[1],i=n[2];return A1(r,o,i,1)}if(4===t.length){var a=t.map(A2),r=a[0],o=a[1],i=a[2];return A1(r,o,i,a[3])}return 0};function A3(A,e,t){return(t<0&&(t+=1),t>=1&&(t-=1),t<1/6)?(e-A)*t*6+A:t<.5?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var A5=function(A,e){var t=e.filter(AS),n=t[0],r=t[1],o=t[2],i=t[3],a=(17===n.type?AY(n.number):AX.parse(A,n))/(2*Math.PI),l=AR(r)?r.number/100:0,s=AR(o)?o.number/100:0,u=void 0!==i&&AR(i)?AG(i,1):1;if(0===l)return A1(255*s,255*s,255*s,1);var c=s<=.5?s*(l+1):s+l-s*l,f=2*s-c;return A1(255*A3(f,c,a+1/3),255*A3(f,c,a),255*A3(f,c,a-1/3),u)},A6={hsl:A5,hsla:A5,rgb:A4,rgba:A4},A8=function(A,e){return AZ.parse(A,AE.create(e).parseComponentValue())},A9={ALICEBLUE:0xf0f8ffff,ANTIQUEWHITE:0xfaebd7ff,AQUA:0xffffff,AQUAMARINE:0x7fffd4ff,AZURE:0xf0ffffff,BEIGE:0xf5f5dcff,BISQUE:0xffe4c4ff,BLACK:255,BLANCHEDALMOND:0xffebcdff,BLUE:65535,BLUEVIOLET:0x8a2be2ff,BROWN:0xa52a2aff,BURLYWOOD:0xdeb887ff,CADETBLUE:0x5f9ea0ff,CHARTREUSE:0x7fff00ff,CHOCOLATE:0xd2691eff,CORAL:0xff7f50ff,CORNFLOWERBLUE:0x6495edff,CORNSILK:0xfff8dcff,CRIMSON:0xdc143cff,CYAN:0xffffff,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:0xb886bbff,DARKGRAY:0xa9a9a9ff,DARKGREEN:6553855,DARKGREY:0xa9a9a9ff,DARKKHAKI:0xbdb76bff,DARKMAGENTA:0x8b008bff,DARKOLIVEGREEN:0x556b2fff,DARKORANGE:0xff8c00ff,DARKORCHID:0x9932ccff,DARKRED:0x8b0000ff,DARKSALMON:0xe9967aff,DARKSEAGREEN:0x8fbc8fff,DARKSLATEBLUE:0x483d8bff,DARKSLATEGRAY:0x2f4f4fff,DARKSLATEGREY:0x2f4f4fff,DARKTURQUOISE:0xced1ff,DARKVIOLET:0x9400d3ff,DEEPPINK:0xff1493ff,DEEPSKYBLUE:0xbfffff,DIMGRAY:0x696969ff,DIMGREY:0x696969ff,DODGERBLUE:0x1e90ffff,FIREBRICK:0xb22222ff,FLORALWHITE:0xfffaf0ff,FORESTGREEN:0x228b22ff,FUCHSIA:0xff00ffff,GAINSBORO:0xdcdcdcff,GHOSTWHITE:0xf8f8ffff,GOLD:0xffd700ff,GOLDENROD:0xdaa520ff,GRAY:0x808080ff,GREEN:8388863,GREENYELLOW:0xadff2fff,GREY:0x808080ff,HONEYDEW:0xf0fff0ff,HOTPINK:0xff69b4ff,INDIANRED:0xcd5c5cff,INDIGO:0x4b0082ff,IVORY:0xfffff0ff,KHAKI:0xf0e68cff,LAVENDER:0xe6e6faff,LAVENDERBLUSH:0xfff0f5ff,LAWNGREEN:0x7cfc00ff,LEMONCHIFFON:0xfffacdff,LIGHTBLUE:0xadd8e6ff,LIGHTCORAL:0xf08080ff,LIGHTCYAN:0xe0ffffff,LIGHTGOLDENRODYELLOW:0xfafad2ff,LIGHTGRAY:0xd3d3d3ff,LIGHTGREEN:0x90ee90ff,LIGHTGREY:0xd3d3d3ff,LIGHTPINK:0xffb6c1ff,LIGHTSALMON:0xffa07aff,LIGHTSEAGREEN:0x20b2aaff,LIGHTSKYBLUE:0x87cefaff,LIGHTSLATEGRAY:0x778899ff,LIGHTSLATEGREY:0x778899ff,LIGHTSTEELBLUE:0xb0c4deff,LIGHTYELLOW:0xffffe0ff,LIME:0xff00ff,LIMEGREEN:0x32cd32ff,LINEN:0xfaf0e6ff,MAGENTA:0xff00ffff,MAROON:0x800000ff,MEDIUMAQUAMARINE:0x66cdaaff,MEDIUMBLUE:52735,MEDIUMORCHID:0xba55d3ff,MEDIUMPURPLE:0x9370dbff,MEDIUMSEAGREEN:0x3cb371ff,MEDIUMSLATEBLUE:0x7b68eeff,MEDIUMSPRINGGREEN:0xfa9aff,MEDIUMTURQUOISE:0x48d1ccff,MEDIUMVIOLETRED:0xc71585ff,MIDNIGHTBLUE:0x191970ff,MINTCREAM:0xf5fffaff,MISTYROSE:0xffe4e1ff,MOCCASIN:0xffe4b5ff,NAVAJOWHITE:0xffdeadff,NAVY:33023,OLDLACE:0xfdf5e6ff,OLIVE:0x808000ff,OLIVEDRAB:0x6b8e23ff,ORANGE:0xffa500ff,ORANGERED:0xff4500ff,ORCHID:0xda70d6ff,PALEGOLDENROD:0xeee8aaff,PALEGREEN:0x98fb98ff,PALETURQUOISE:0xafeeeeff,PALEVIOLETRED:0xdb7093ff,PAPAYAWHIP:0xffefd5ff,PEACHPUFF:0xffdab9ff,PERU:0xcd853fff,PINK:0xffc0cbff,PLUM:0xdda0ddff,POWDERBLUE:0xb0e0e6ff,PURPLE:0x800080ff,REBECCAPURPLE:0x663399ff,RED:0xff0000ff,ROSYBROWN:0xbc8f8fff,ROYALBLUE:0x4169e1ff,SADDLEBROWN:0x8b4513ff,SALMON:0xfa8072ff,SANDYBROWN:0xf4a460ff,SEAGREEN:0x2e8b57ff,SEASHELL:0xfff5eeff,SIENNA:0xa0522dff,SILVER:0xc0c0c0ff,SKYBLUE:0x87ceebff,SLATEBLUE:0x6a5acdff,SLATEGRAY:0x708090ff,SLATEGREY:0x708090ff,SNOW:0xfffafaff,SPRINGGREEN:0xff7fff,STEELBLUE:0x4682b4ff,TAN:0xd2b48cff,TEAL:8421631,THISTLE:0xd8bfd8ff,TOMATO:0xff6347ff,TRANSPARENT:0,TURQUOISE:0x40e0d0ff,VIOLET:0xee82eeff,WHEAT:0xf5deb3ff,WHITE:0xffffffff,WHITESMOKE:0xf5f5f5ff,YELLOW:0xffff00ff,YELLOWGREEN:0x9acd32ff},A7={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(A){if(Ak(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},eA={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ee=function(A,e){var t=AZ.parse(A,e[0]),n=e[1];return n&&AR(n)?{color:t,stop:n}:{color:t,stop:null}},et=function(A,e){var t=A[0],n=A[A.length-1];null===t.stop&&(t.stop=AN),null===n.stop&&(n.stop=AV);for(var r=[],o=0,i=0;io?r.push(l):r.push(o),o=l}else r.push(null)}for(var s=null,i=0;iA.optimumDistance)?{optimumCorner:e,optimumDistance:o}:A},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},ea=function(A,e,t,n,r){var o=0,i=0;switch(A.size){case 0:0===A.shape?o=i=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-r)):1===A.shape&&(o=Math.min(Math.abs(e),Math.abs(e-n)),i=Math.min(Math.abs(t),Math.abs(t-r)));break;case 2:if(0===A.shape)o=i=Math.min(eo(e,t),eo(e,t-r),eo(e-n,t),eo(e-n,t-r));else if(1===A.shape){var a=Math.min(Math.abs(t),Math.abs(t-r))/Math.min(Math.abs(e),Math.abs(e-n)),l=ei(n,r,e,t,!0),s=l[0],u=l[1];o=eo(s-e,(u-t)/a),i=a*o}break;case 1:0===A.shape?o=i=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-r)):1===A.shape&&(o=Math.max(Math.abs(e),Math.abs(e-n)),i=Math.max(Math.abs(t),Math.abs(t-r)));break;case 3:if(0===A.shape)o=i=Math.max(eo(e,t),eo(e,t-r),eo(e-n,t),eo(e-n,t-r));else if(1===A.shape){var a=Math.max(Math.abs(t),Math.abs(t-r))/Math.max(Math.abs(e),Math.abs(e-n)),c=ei(n,r,e,t,!1),s=c[0],u=c[1];o=eo(s-e,(u-t)/a),i=a*o}}return Array.isArray(A.size)&&(o=AG(A.size[0],n),i=2===A.size.length?AG(A.size[1],r):o),[o,i]},el=function(A,e){var t=AY(180),n=[];return AT(e).forEach(function(e,r){if(0===r){var o=e[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value)){t=AW(e);return}if(AJ(o)){t=(AX.parse(A,o)+AY(270))%AY(360);return}}var i=ee(A,e);n.push(i)}),{angle:t,stops:n,type:1}},es="closest-side",eu="farthest-side",ec="closest-corner",ef="farthest-corner",ed="circle",eh="ellipse",ep="cover",eg="contain",eB=function(A,e){var t=0,n=3,r=[],o=[];return AT(e).forEach(function(e,i){var a=!0;if(0===i?a=e.reduce(function(A,e){if(Ak(e))switch(e.value){case"center":return o.push(A_),!1;case"top":case"left":return o.push(AN),!1;case"right":case"bottom":return o.push(AV),!1}else if(AR(e)||AP(e))return o.push(e),!1;return A},a):1===i&&(a=e.reduce(function(A,e){if(Ak(e))switch(e.value){case ed:return t=0,!1;case eh:return t=1,!1;case eg:case es:return n=0,!1;case eu:return n=1,!1;case ec:return n=2,!1;case ep:case ef:return n=3,!1}else if(AP(e)||AR(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A},a)),a){var l=ee(A,e);r.push(l)}}),{size:n,shape:t,stops:r,position:o,type:2}},ew={parse:function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var n=em[e.name];if(void 0===n)throw Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(A,e.values)}throw Error("Unsupported image type "+e.type)}},em={"linear-gradient":function(A,e){var t=AY(180),n=[];return AT(e).forEach(function(e,r){if(0===r){var o=e[0];if(20===o.type&&"to"===o.value){t=AW(e);return}if(AJ(o)){t=AX.parse(A,o);return}}var i=ee(A,e);n.push(i)}),{angle:t,stops:n,type:1}},"-moz-linear-gradient":el,"-ms-linear-gradient":el,"-o-linear-gradient":el,"-webkit-linear-gradient":el,"radial-gradient":function(A,e){var t=0,n=3,r=[],o=[];return AT(e).forEach(function(e,i){var a=!0;if(0===i){var l=!1;a=e.reduce(function(A,e){if(l)if(Ak(e))switch(e.value){case"center":o.push(A_);break;case"top":case"left":o.push(AN);break;case"right":case"bottom":o.push(AV)}else(AR(e)||AP(e))&&o.push(e);else if(Ak(e))switch(e.value){case ed:return t=0,!1;case eh:return t=1,!1;case"at":return l=!0,!1;case es:return n=0,!1;case ep:case eu:return n=1,!1;case eg:case ec:return n=2,!1;case ef:return n=3,!1}else if(AP(e)||AR(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A},a)}if(a){var s=ee(A,e);r.push(s)}}),{size:n,shape:t,stops:r,position:o,type:2}},"-moz-radial-gradient":eB,"-ms-radial-gradient":eB,"-o-radial-gradient":eB,"-webkit-radial-gradient":eB,"-webkit-gradient":function(A,e){var t=AY(180),n=[],r=1;return AT(e).forEach(function(e,t){var o=e[0];if(0===t){if(Ak(o)&&"linear"===o.value){r=1;return}else if(Ak(o)&&"radial"===o.value){r=2;return}}if(18===o.type){if("from"===o.name){var i=AZ.parse(A,o.values[0]);n.push({stop:AN,color:i})}else if("to"===o.name){var i=AZ.parse(A,o.values[0]);n.push({stop:AV,color:i})}else if("color-stop"===o.name){var a=o.values.filter(AS);if(2===a.length){var i=AZ.parse(A,a[1]),l=a[0];AI(l)&&n.push({stop:{type:16,number:100*l.number,flags:l.flags},color:i})}}}}),1===r?{angle:(t+AY(180))%AY(360),stops:n,type:r}:{size:3,shape:0,stops:n,position:[],type:r}}},ey={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter(function(A){var e;return AS(A)&&(20!==(e=A).type||"none"!==e.value)&&(18!==e.type||!!em[e.name])}).map(function(e){return ew.parse(A,e)})}},eC={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(A){if(Ak(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},eQ={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return AT(e).map(function(A){return A.filter(AR)}).map(AO)}},eU={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return AT(e).map(function(A){return A.filter(Ak).map(function(A){return A.value}).join(" ")}).map(eF)}},eF=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"}(n||(n={}));var ev={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return AT(e).map(function(A){return A.filter(eb)})}},eb=function(A){return Ak(A)||AR(A)},ex=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},eE=ex("top"),eH=ex("right"),eI=ex("bottom"),ek=ex("left"),eL=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return AO(e.filter(AR))}}},eM=eL("top-left"),eD=eL("top-right"),eS=eL("bottom-right"),eT=eL("bottom-left"),eK=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},eP=eK("top"),eR=eK("right"),eO=eK("bottom"),eN=eK("left"),e_=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return AH(e)?e.number:0}}},eV=e_("top"),ej=e_("right"),eG=e_("bottom"),ez=e_("left"),eq={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},eX={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return+("rtl"===e)}},eJ={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(Ak).reduce(function(A,e){return A|eW(e.value)},0)}},eW=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 0x1000000;case"inline-block":return 0x2000000;case"inline-list-item":return 0x4000000;case"inline-table":return 0x8000000;case"inline-flex":return 0x10000000;case"inline-grid":return 0x20000000}return 0},eY={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},eZ={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};!function(A){A.NORMAL="normal",A.STRICT="strict"}(r||(r={}));var e$={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"strict"===e?r.STRICT:r.NORMAL}},e0={name:"line-height",initialValue:"normal",prefix:!1,type:4},e1=function(A,e){return Ak(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:AR(A)?AG(A,e):e},e2={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:ew.parse(A,e)}},e4={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return+("inside"!==e)}},e3={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return -1}}},e5=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},e6=e5("top"),e8=e5("right"),e9=e5("bottom"),e7=e5("left"),tA={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(Ak).map(function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},te={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"break-word"===e?"break-word":"normal"}},tt=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},tn=tt("top"),tr=tt("right"),to=tt("bottom"),ti=tt("left"),ta={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},tl={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ts={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&AM(e[0],"none")?[]:AT(e).map(function(e){for(var t={color:A9.TRANSPARENT,offsetX:AN,offsetY:AN,blur:AN},n=0,r=0;r1)],this.overflowWrap=t_(A,te,e.overflowWrap),this.paddingTop=t_(A,tn,e.paddingTop),this.paddingRight=t_(A,tr,e.paddingRight),this.paddingBottom=t_(A,to,e.paddingBottom),this.paddingLeft=t_(A,ti,e.paddingLeft),this.paintOrder=t_(A,tT,e.paintOrder),this.position=t_(A,tl,e.position),this.textAlign=t_(A,ta,e.textAlign),this.textDecorationColor=t_(A,tC,null!=(t=e.textDecorationColor)?t:e.color),this.textDecorationLine=t_(A,tQ,null!=(n=e.textDecorationLine)?n:e.textDecoration),this.textShadow=t_(A,ts,e.textShadow),this.textTransform=t_(A,tu,e.textTransform),this.transform=t_(A,tc,e.transform),this.transformOrigin=t_(A,tp,e.transformOrigin),this.visibility=t_(A,tg,e.visibility),this.webkitTextStrokeColor=t_(A,tK,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=t_(A,tP,e.webkitTextStrokeWidth),this.wordBreak=t_(A,tB,e.wordBreak),this.zIndex=t_(A,tw,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return A$(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return tE(this.display,4)||tE(this.display,0x2000000)||tE(this.display,0x10000000)||tE(this.display,0x20000000)||tE(this.display,0x4000000)||tE(this.display,0x8000000)},A}(),tO=function(A,e){this.content=t_(A,tH,e.content),this.quotes=t_(A,tM,e.quotes)},tN=function(A,e){this.counterIncrement=t_(A,tI,e.counterIncrement),this.counterReset=t_(A,tk,e.counterReset)},t_=function(A,e,t){var n=new Ax,r=null!=t?t.toString():e.initialValue;n.write(r);var o=new AE(n.read());switch(e.type){case 2:var i=o.parseComponentValue();return e.parse(A,Ak(i)?i.value:e.initialValue);case 0:return e.parse(A,o.parseComponentValue());case 1:return e.parse(A,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(e.format){case"angle":return AX.parse(A,o.parseComponentValue());case"color":return AZ.parse(A,o.parseComponentValue());case"image":return ew.parse(A,o.parseComponentValue());case"length":var a=o.parseComponentValue();return AP(a)?a:AN;case"length-percentage":var l=o.parseComponentValue();return AR(l)?l:AN;case"time":return tm.parse(A,o.parseComponentValue())}}},tV=function(A){switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},tj=function(A,e){var t=tV(A);return 1===t||e===t},tG=function(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,tj(e,3),this.styles=new tR(A,window.getComputedStyle(e,null)),nZ(e)&&(this.styles.animationDuration.some(function(A){return A>0})&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=p(this.context,e),tj(e,4)&&(this.flags|=16)},tz="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tq="undefined"==typeof Uint8Array?[]:new Uint8Array(256),tX=0;tX>4,u[l++]=(15&n)<<4|r>>2,u[l++]=(3&r)<<6|63&o;return s},tW=function(A){for(var e=A.length,t=[],n=0;n=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A>11),e=this.index[e]+(A>>5&63),e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),t1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t2="undefined"==typeof Uint8Array?[]:new Uint8Array(256),t4=0;t4=55296&&r<=56319&&t>10)+55296,i%1024+56320)),(r+1===t||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},t6=function(A,e){var t,n,r=tJ(A),o=Array.isArray(r)?tY(r):new Uint32Array(r),i=Array.isArray(r)?tW(r):new Uint16Array(r),a=t$(i,12,o[4]/2),l=2===o[5]?t$(i,(24+o[4])/2):(t=Math.ceil((24+o[4])/4),o.slice?o.slice(t,void 0):new Uint32Array(Array.prototype.slice.call(o,t,n)));return new t0(o[0],o[1],o[2],o[3],a,l)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),t8=function(A){return t6.get(A)},t9=function(A,e,t){var n=t-2,r=e[n],o=e[t-1],i=e[t];if(2===o&&3===i)return"\xd7";if(2===o||3===o||4===o||2===i||3===i||4===i)return"\xf7";if(8===o&&-1!==[8,9,11,12].indexOf(i)||(11===o||9===o)&&(9===i||10===i)||(12===o||10===o)&&10===i||13===i||5===i||7===i||1===o)return"\xd7";if(13===o&&14===i){for(;5===r;)r=e[--n];if(14===r)return"\xd7"}if(15===o&&15===i){for(var a=0;15===r;)a++,r=e[--n];if(a%2==0)return"\xd7"}return"\xf7"},t7=function(A){var e=t3(A),t=e.length,n=0,r=0,o=e.map(t8);return{next:function(){if(n>=t)return{done:!0,value:null};for(var A="\xd7";ni.x||r.y>i.y;return i=r,0===e||a});return A.body.removeChild(e),a},nn=function(A){var e=new Image,t=A.createElement("canvas"),n=t.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,";try{n.drawImage(e,0,0),t.toDataURL()}catch(A){return!1}return!0},nr=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},no=function(A){var e=A.createElement("canvas");e.width=100,e.height=100;var t=e.getContext("2d");if(!t)return Promise.reject(!1);t.fillStyle="rgb(0, 255, 0)",t.fillRect(0,0,100,100);var n=new Image,r=e.toDataURL();n.src=r;var o=ni(100,100,0,0,n);return t.fillStyle="red",t.fillRect(0,0,100,100),na(o).then(function(e){t.drawImage(e,0,0);var n=t.getImageData(0,0,100,100).data;t.fillStyle="red",t.fillRect(0,0,100,100);var o=A.createElement("div");return o.style.backgroundImage="url("+r+")",o.style.height="100px",nr(n)?na(ni(100,100,0,0,o)):Promise.reject(!1)}).then(function(A){return t.drawImage(A,0,0),nr(t.getImageData(0,0,100,100).data)}).catch(function(){return!1})},ni=function(A,e,t,n,r){var o="http://www.w3.org/2000/svg",i=document.createElementNS(o,"svg"),a=document.createElementNS(o,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",t.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(a),a.appendChild(r),i},na=function(A){return new Promise(function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},nl={get SUPPORT_RANGE_BOUNDS(){var ns=ne(document);return Object.defineProperty(nl,"SUPPORT_RANGE_BOUNDS",{value:ns}),ns},get SUPPORT_WORD_BREAKING(){var nu=nl.SUPPORT_RANGE_BOUNDS&&nt(document);return Object.defineProperty(nl,"SUPPORT_WORD_BREAKING",{value:nu}),nu},get SUPPORT_SVG_DRAWING(){var nc=nn(document);return Object.defineProperty(nl,"SUPPORT_SVG_DRAWING",{value:nc}),nc},get SUPPORT_FOREIGNOBJECT_DRAWING(){var nf="function"==typeof Array.from&&"function"==typeof window.fetch?no(document):Promise.resolve(!1);return Object.defineProperty(nl,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:nf}),nf},get SUPPORT_CORS_IMAGES(){var nd=void 0!==new Image().crossOrigin;return Object.defineProperty(nl,"SUPPORT_CORS_IMAGES",{value:nd}),nd},get SUPPORT_RESPONSE_TYPE(){var nh="string"==typeof new XMLHttpRequest().responseType;return Object.defineProperty(nl,"SUPPORT_RESPONSE_TYPE",{value:nh}),nh},get SUPPORT_CORS_XHR(){var np="withCredentials"in new XMLHttpRequest;return Object.defineProperty(nl,"SUPPORT_CORS_XHR",{value:np}),np},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ng=!!("undefined"!=typeof Intl&&Intl.Segmenter);return Object.defineProperty(nl,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ng}),ng}},nB=function(A,e){this.text=A,this.bounds=e},nw=function(A,e,t,n){var r=nQ(e,t),o=[],i=0;return r.forEach(function(e){if(t.textDecorationLine.length||e.trim().length>0)if(nl.SUPPORT_RANGE_BOUNDS){var r=ny(n,i,e.length).getClientRects();if(r.length>1){var a=nC(e),l=0;a.forEach(function(e){o.push(new nB(e,h.fromDOMRectList(A,ny(n,l+i,e.length).getClientRects()))),l+=e.length})}else o.push(new nB(e,h.fromDOMRectList(A,r)))}else{var s=n.splitText(e.length);o.push(new nB(e,nm(A,n))),n=s}else nl.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));i+=e.length}),o},nm=function(A,e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(n,e);var o=p(A,n);return n.firstChild&&r.replaceChild(n.firstChild,n),o}}return h.EMPTY},ny=function(A,e,t){var n=A.ownerDocument;if(!n)throw Error("Node has no owner document");var r=n.createRange();return r.setStart(A,e),r.setEnd(A,e+t),r},nC=function(A){return nl.SUPPORT_NATIVE_TEXT_SEGMENTATION?Array.from(new Intl.Segmenter(void 0,{granularity:"grapheme"}).segment(A)).map(function(A){return A.segment}):nA(A)},nQ=function(A,e){return 0!==e.letterSpacing?nC(A):nl.SUPPORT_NATIVE_TEXT_SEGMENTATION?Array.from(new Intl.Segmenter(void 0,{granularity:"word"}).segment(A)).map(function(A){return A.segment}):nF(A,e)},nU=[32,160,4961,65792,65793,4153,4241],nF=function(A,e){for(var t,n=J(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),r=[];!(t=n.next()).done;)if(t.value){var o=B(t.value.slice()),i="";o.forEach(function(A){-1===nU.indexOf(A)?i+=w(A):(i.length&&r.push(i),r.push(w(A)),i="")}),i.length&&r.push(i)}return r},nv=function(A,e,t){this.text=nb(e.data,t.textTransform),this.textBounds=nw(A,this.text,t,e)},nb=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(nx,nE);case 2:return A.toUpperCase();default:return A}},nx=/(^|\s|:|-|\(|\))([a-z])/g,nE=function(A,e,t){return A.length>0?e+t.toUpperCase():A},nH=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return s(e,A),e}(tG),nI=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return s(e,A),e}(tG),nk=function(A){function e(e,t){var n=A.call(this,e,t)||this,r=new XMLSerializer,o=p(e,t);return t.setAttribute("width",o.width+"px"),t.setAttribute("height",o.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return s(e,A),e}(tG),nL=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return s(e,A),e}(tG),nM=function(A){function e(e,t){var n=A.call(this,e,t)||this;return n.start=t.start,n.reversed="boolean"==typeof t.reversed&&!0===t.reversed,n}return s(e,A),e}(tG),nD=[{type:15,flags:0,unit:"px",number:3}],nS=[{type:16,flags:0,number:50}],nT=function(A){var e=A.type===nR?Array(A.value.length+1).join("•"):A.value;return 0===e.length?A.placeholder||"":e},nK="checkbox",nP="radio",nR="password",nO=function(A){function e(e,t){var n,r=A.call(this,e,t)||this;switch(r.type=t.type.toLowerCase(),r.checked=t.checked,r.value=nT(t),(r.type===nK||r.type===nP)&&(r.styles.backgroundColor=0xdededeff,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=0xa5a5a5ff,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=(n=r.bounds).width>n.height?new h(n.left+(n.width-n.height)/2,n.top,n.height,n.height):n.width0)t.textNodes.push(new nv(A,r,t.styles));else if(nY(r))if(rt(r)&&r.assignedNodes)r.assignedNodes().forEach(function(e){return nG(A,e,t,n)});else{var i=nz(A,r);i.styles.isVisible()&&(nX(r,i,n)?i.flags|=4:nJ(i.styles)&&(i.flags|=2),-1!==nj.indexOf(r.tagName)&&(i.flags|=8),t.elements.push(i),r.slot,r.shadowRoot?nG(A,r.shadowRoot,i,n):rA(r)||n4(r)||re(r)||nG(A,r,i,n))}},nz=function(A,e){return n8(e)?new nH(A,e):n5(e)?new nI(A,e):n4(e)?new nk(A,e):n0(e)?new nL(A,e):n1(e)?new nM(A,e):n2(e)?new nO(A,e):re(e)?new nN(A,e):rA(e)?new n_(A,e):n9(e)?new nV(A,e):new tG(A,e)},nq=function(A,e){var t=nz(A,e);return t.flags|=4,nG(A,e,t,t),t},nX=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||n3(A)&&t.styles.isTransparent()},nJ=function(A){return A.isPositioned()||A.isFloating()},nW=function(A){return A.nodeType===Node.TEXT_NODE},nY=function(A){return A.nodeType===Node.ELEMENT_NODE},nZ=function(A){return nY(A)&&void 0!==A.style&&!n$(A)},n$=function(A){return"object"==typeof A.className},n0=function(A){return"LI"===A.tagName},n1=function(A){return"OL"===A.tagName},n2=function(A){return"INPUT"===A.tagName},n4=function(A){return"svg"===A.tagName},n3=function(A){return"BODY"===A.tagName},n5=function(A){return"CANVAS"===A.tagName},n6=function(A){return"VIDEO"===A.tagName},n8=function(A){return"IMG"===A.tagName},n9=function(A){return"IFRAME"===A.tagName},n7=function(A){return"STYLE"===A.tagName},rA=function(A){return"TEXTAREA"===A.tagName},re=function(A){return"SELECT"===A.tagName},rt=function(A){return"SLOT"===A.tagName},rn=function(A){return A.tagName.indexOf("-")>0},rr=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){return this.counters[A]||[]},A.prototype.pop=function(A){var e=this;A.forEach(function(A){return e.counters[A].pop()})},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,n=A.counterReset,r=!0;null!==t&&t.forEach(function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(r=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)});var o=[];return r&&n.forEach(function(A){var t=e.counters[A.counter];o.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)}),o},A}(),ro={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ri={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},ra={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},rl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},rs=function(A,e,t,n,r,o){return At?rw(A,r,o.length>0):n.integers.reduce(function(e,t,r){for(;A>=t;)A-=t,e+=n.values[r];return e},"")+o},ru=function(A,e,t,n){var r="";do!t&&A--,r=n(A)+r,A/=e;while(A*e>=e);return r},rc=function(A,e,t,n,r){var o=t-e+1;return(A<0?"-":"")+(ru(Math.abs(A),o,n,function(A){return w(Math.floor(A%o)+e)})+r)},rf=function(A,e,t){void 0===t&&(t=". ");var n=e.length;return ru(Math.abs(A),n,!1,function(A){return e[Math.floor(A%n)]})+t},rd=function(A,e,t,n,r,o){if(A<-9999||A>9999)return rw(A,4,r.length>0);var i=Math.abs(A),a=r;if(0===i)return e[0]+a;for(var l=0;i>0&&l<=4;l++){var s=i%10;0===s&&tE(o,1)&&""!==a?a=e[s]+a:s>1||1===s&&0===l||1===s&&1===l&&tE(o,2)||1===s&&1===l&&tE(o,4)&&A>100||1===s&&l>1&&tE(o,8)?a=e[s]+(l>0?t[l-1]:"")+a:1===s&&l>0&&(a=t[l-1]+a),i=Math.floor(i/10)}return(A<0?n:"")+a},rh="十百千萬",rp="拾佰仟萬",rg="マイナス",rB="마이너스",rw=function(A,e,t){var n=t?". ":"",r=t?"、":"",o=t?", ":"",i=t?" ":"";switch(e){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var a=rc(A,48,57,!0,n);return a.length<4?"0"+a:a;case 4:return rf(A,"〇一二三四五六七八九",r);case 6:return rs(A,1,3999,ro,3,n).toLowerCase();case 7:return rs(A,1,3999,ro,3,n);case 8:return rc(A,945,969,!1,n);case 9:return rc(A,97,122,!1,n);case 10:return rc(A,65,90,!1,n);case 11:return rc(A,1632,1641,!0,n);case 12:case 49:return rs(A,1,9999,ri,3,n);case 35:return rs(A,1,9999,ri,3,n).toLowerCase();case 13:return rc(A,2534,2543,!0,n);case 14:case 30:return rc(A,6112,6121,!0,n);case 15:return rf(A,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return rf(A,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return rd(A,"零一二三四五六七八九",rh,"負",r,14);case 47:return rd(A,"零壹貳參肆伍陸柒捌玖",rp,"負",r,15);case 42:return rd(A,"零一二三四五六七八九",rh,"负",r,14);case 41:return rd(A,"零壹贰叁肆伍陆柒捌玖",rp,"负",r,15);case 26:return rd(A,"〇一二三四五六七八九","十百千万",rg,r,0);case 25:return rd(A,"零壱弐参四伍六七八九","拾百千万",rg,r,7);case 31:return rd(A,"영일이삼사오육칠팔구","십백천만",rB,o,7);case 33:return rd(A,"零一二三四五六七八九","十百千萬",rB,o,0);case 32:return rd(A,"零壹貳參四五六七八九","拾百千",rB,o,7);case 18:return rc(A,2406,2415,!0,n);case 20:return rs(A,1,19999,rl,3,n);case 21:return rc(A,2790,2799,!0,n);case 22:return rc(A,2662,2671,!0,n);case 22:return rs(A,1,10999,ra,3,n);case 23:return rf(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return rf(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return rc(A,3302,3311,!0,n);case 28:return rf(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return rf(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return rc(A,3792,3801,!0,n);case 37:return rc(A,6160,6169,!0,n);case 38:return rc(A,4160,4169,!0,n);case 39:return rc(A,2918,2927,!0,n);case 40:return rc(A,1776,1785,!0,n);case 43:return rc(A,3046,3055,!0,n);case 44:return rc(A,3174,3183,!0,n);case 45:return rc(A,3664,3673,!0,n);case 46:return rc(A,3872,3881,!0,n);default:return rc(A,48,57,!0,n)}},rm="data-html2canvas-ignore",ry=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new rr,this.quoteDepth=0,!e.ownerDocument)throw Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,n=rC(A,e);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var r=A.defaultView.pageXOffset,o=A.defaultView.pageYOffset,i=n.contentWindow,a=i.document,l=rF(n).then(function(){return c(t,void 0,void 0,function(){var A,t;return f(this,function(r){switch(r.label){case 0:if(this.scrolledElements.forEach(rH),i&&(i.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(i.scrollY!==e.top||i.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-e.left,i.scrollY-e.top,0,0))),A=this.options.onclone,void 0===(t=this.clonedReferenceElement))return[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")];if(!(a.fonts&&a.fonts.ready))return[3,2];return[4,a.fonts.ready];case 1:r.sent(),r.label=2;case 2:if(!/(AppleWebKit)/g.test(navigator.userAgent))return[3,4];return[4,rU(a)];case 3:r.sent(),r.label=4;case 4:if("function"==typeof A)return[2,Promise.resolve().then(function(){return A(a,t)}).then(function(){return n})];return[2,n]}})})});return a.open(),a.write(rx(document.doctype)+""),rE(this.referenceElement.ownerDocument,r,o),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),l},A.prototype.createElementClone=function(A){if(tj(A,2),n5(A))return this.createCanvasClone(A);if(n6(A))return this.createVideoClone(A);if(n7(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return(n8(e)&&(n8(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),rn(e))?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return rb(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce(function(A,e){return e&&"string"==typeof e.cssText?A+e.cssText:A},""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(A){if(this.context.logger.error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){if(this.options.inlineImages&&A.ownerDocument){var e,t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(e){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var r=A.getContext("2d"),o=n.getContext("2d");if(o)if(!this.options.allowTaint&&r)o.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{var i=null!=(e=A.getContext("webgl2"))?e:A.getContext("webgl");if(i){var a=i.getContextAttributes();(null==a?void 0:a.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}o.drawImage(A,0,0)}}catch(e){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(e){this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},A.prototype.appendChildNode=function(A,e,t){nY(e)&&("SCRIPT"===e.tagName||e.hasAttribute(rm)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&nY(e)&&n7(e)||A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var n=this,r=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;r;r=r.nextSibling)if(nY(r)&&rt(r)&&"function"==typeof r.assignedNodes){var o=r.assignedNodes();o.length&&o.forEach(function(A){return n.appendChildNode(e,A,t)})}else this.appendChildNode(e,r,t)},A.prototype.cloneNode=function(A,e){if(nW(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&nY(A)&&(nZ(A)||n$(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var r=t.getComputedStyle(A),o=t.getComputedStyle(A,":before"),a=t.getComputedStyle(A,":after");this.referenceElement===A&&nZ(n)&&(this.clonedReferenceElement=n),n3(n)&&rM(n);var l=this.counters.parse(new tN(this.context,r)),s=this.resolvePseudoContent(A,n,o,i.BEFORE);rn(A)&&(e=!0),n6(A)||this.cloneChildNodes(A,n,e),s&&n.insertBefore(s,n.firstChild);var u=this.resolvePseudoContent(A,n,a,i.AFTER);return u&&n.appendChild(u),this.counters.pop(l),(r&&(this.options.copyStyles||n$(A))&&!n9(A)||e)&&rb(r,n),(0!==A.scrollTop||0!==A.scrollLeft)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(rA(A)||re(A))&&(rA(n)||re(n))&&(n.value=A.value),n}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,n){var r=this;if(t){var o=t.content,a=e.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==t.display){this.counters.parse(new tN(this.context,t));var l=new tO(this.context,t),s=a.createElement("html2canvaspseudoelement");rb(t,s),l.content.forEach(function(e){if(0===e.type)s.appendChild(a.createTextNode(e.value));else if(22===e.type){var t=a.createElement("img");t.src=e.value,t.style.opacity="1",s.appendChild(t)}else if(18===e.type){if("attr"===e.name){var n=e.values.filter(Ak);n.length&&s.appendChild(a.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===e.name){var o=e.values.filter(AS),i=o[0],u=o[1];if(i&&Ak(i)){var c=r.counters.getCounterValue(i.value),f=u&&Ak(u)?e3.parse(r.context,u.value):3;s.appendChild(a.createTextNode(rw(c,f,!1)))}}else if("counters"===e.name){var d=e.values.filter(AS),i=d[0],h=d[1],u=d[2];if(i&&Ak(i)){var p=r.counters.getCounterValues(i.value),g=u&&Ak(u)?e3.parse(r.context,u.value):3,B=h&&0===h.type?h.value:"",w=p.map(function(A){return rw(A,g,!1)}).join(B);s.appendChild(a.createTextNode(w))}}}else if(20===e.type)switch(e.value){case"open-quote":s.appendChild(a.createTextNode(tD(l.quotes,r.quoteDepth++,!0)));break;case"close-quote":s.appendChild(a.createTextNode(tD(l.quotes,--r.quoteDepth,!1)));break;default:s.appendChild(a.createTextNode(e.value))}}),s.className=rI+" "+rk;var u=n===i.BEFORE?" "+rI:" "+rk;return n$(e)?e.className.baseValue+=u:e.className+=u,s}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();!function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"}(i||(i={}));var rC=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(rm,"true"),A.body.appendChild(t),t},rQ=function(A){return new Promise(function(e){if(A.complete||!A.src)return void e();A.onload=e,A.onerror=e})},rU=function(A){return Promise.all([].slice.call(A.images,0).map(rQ))},rF=function(A){return new Promise(function(e,t){var n=A.contentWindow;if(!n)return t("No window assigned for iframe");var r=n.document;n.onload=A.onload=function(){n.onload=A.onload=null;var t=setInterval(function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(t),e(A))},50)}})},rv=["all","d","content"],rb=function(A,e){for(var t=A.length-1;t>=0;t--){var n=A.item(t);-1===rv.indexOf(n)&&e.style.setProperty(n,A.getPropertyValue(n))}return e},rx=function(A){var e="";return A&&(e+=""),e},rE=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},rH=function(A){var e=A[0],t=A[1],n=A[2];e.scrollLeft=t,e.scrollTop=n},rI="___html2canvas___pseudoelement_before",rk="___html2canvas___pseudoelement_after",rL='{\n content: "" !important;\n display: none !important;\n}',rM=function(A){rD(A,"."+rI+":before"+rL+"\n ."+rk+":after"+rL)},rD=function(A,e){var t=A.ownerDocument;if(t){var n=t.createElement("style");n.textContent=e,A.appendChild(n)}},rS=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),rT=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(rV(A)||rO(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return c(this,void 0,void 0,function(){var e,t,n,r,o=this;return f(this,function(i){switch(i.label){case 0:if(e=rS.isSameOrigin(A),t=!rN(A)&&!0===this._options.useCORS&&nl.SUPPORT_CORS_IMAGES&&!e,n=!rN(A)&&!e&&!rV(A)&&"string"==typeof this._options.proxy&&nl.SUPPORT_CORS_XHR&&!t,!e&&!1===this._options.allowTaint&&!rN(A)&&!rV(A)&&!n&&!t)return[2];if(r=A,!n)return[3,2];return[4,this.proxy(r)];case 1:r=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(A,e){var n=new Image;n.onload=function(){return A(n)},n.onerror=e,(r_(r)||t)&&(n.crossOrigin="anonymous"),n.src=r,!0===n.complete&&setTimeout(function(){return A(n)},500),o._options.imageTimeout>0&&setTimeout(function(){return e("Timed out ("+o._options.imageTimeout+"ms) loading image")},o._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},A.prototype.has=function(A){return void 0!==this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(r,o){var i=nl.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if("text"===i)r(a.response);else{var A=new FileReader;A.addEventListener("load",function(){return r(A.result)},!1),A.addEventListener("error",function(A){return o(A)},!1),A.readAsDataURL(a.response)}else o("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=o;var l=t.indexOf("?")>-1?"&":"?";if(a.open("GET",""+t+l+"url="+encodeURIComponent(A)+"&responseType="+i),"text"!==i&&a instanceof XMLHttpRequest&&(a.responseType=i),e._options.imageTimeout){var s=e._options.imageTimeout;a.timeout=s,a.ontimeout=function(){return o("Timed out ("+s+"ms) proxying "+n)}}a.send()})},A}(),rK=/^data:image\/svg\+xml/i,rP=/^data:image\/.*;base64,/i,rR=/^data:image\/.*/i,rO=function(A){return nl.SUPPORT_SVG_DRAWING||!rj(A)},rN=function(A){return rR.test(A)},r_=function(A){return rP.test(A)},rV=function(A){return"blob"===A.substr(0,4)},rj=function(A){return"svg"===A.substr(-3).toLowerCase()||rK.test(A)},rG=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),rz=function(A,e,t){return new rG(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},rq=function(){function A(A,e,t,n){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=n}return A.prototype.subdivide=function(e,t){var n=rz(this.start,this.startControl,e),r=rz(this.startControl,this.endControl,e),o=rz(this.endControl,this.end,e),i=rz(n,r,e),a=rz(r,o,e),l=rz(i,a,e);return t?new A(this.start,n,i,l):new A(l,a,o,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),rX=function(A){return 1===A.type},rJ=function(A){var e=A.styles,t=A.bounds,n=Aj(e.borderTopLeftRadius,t.width,t.height),r=n[0],o=n[1],i=Aj(e.borderTopRightRadius,t.width,t.height),l=i[0],s=i[1],u=Aj(e.borderBottomRightRadius,t.width,t.height),c=u[0],f=u[1],d=Aj(e.borderBottomLeftRadius,t.width,t.height),h=d[0],p=d[1],g=[];g.push((r+l)/t.width),g.push((h+c)/t.width),g.push((o+p)/t.height),g.push((s+f)/t.height);var B=Math.max.apply(Math,g);B>1&&(r/=B,o/=B,l/=B,s/=B,c/=B,f/=B,h/=B,p/=B);var w=t.width-l,m=t.height-f,y=t.width-c,C=t.height-p,Q=e.borderTopWidth,U=e.borderRightWidth,F=e.borderBottomWidth,v=e.borderLeftWidth,b=AG(e.paddingTop,A.bounds.width),x=AG(e.paddingRight,A.bounds.width),E=AG(e.paddingBottom,A.bounds.width),H=AG(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||o>0?rW(t.left+v/3,t.top+Q/3,r-v/3,o-Q/3,a.TOP_LEFT):new rG(t.left+v/3,t.top+Q/3),this.topRightBorderDoubleOuterBox=r>0||o>0?rW(t.left+w,t.top+Q/3,l-U/3,s-Q/3,a.TOP_RIGHT):new rG(t.left+t.width-U/3,t.top+Q/3),this.bottomRightBorderDoubleOuterBox=c>0||f>0?rW(t.left+y,t.top+m,c-U/3,f-F/3,a.BOTTOM_RIGHT):new rG(t.left+t.width-U/3,t.top+t.height-F/3),this.bottomLeftBorderDoubleOuterBox=h>0||p>0?rW(t.left+v/3,t.top+C,h-v/3,p-F/3,a.BOTTOM_LEFT):new rG(t.left+v/3,t.top+t.height-F/3),this.topLeftBorderDoubleInnerBox=r>0||o>0?rW(t.left+2*v/3,t.top+2*Q/3,r-2*v/3,o-2*Q/3,a.TOP_LEFT):new rG(t.left+2*v/3,t.top+2*Q/3),this.topRightBorderDoubleInnerBox=r>0||o>0?rW(t.left+w,t.top+2*Q/3,l-2*U/3,s-2*Q/3,a.TOP_RIGHT):new rG(t.left+t.width-2*U/3,t.top+2*Q/3),this.bottomRightBorderDoubleInnerBox=c>0||f>0?rW(t.left+y,t.top+m,c-2*U/3,f-2*F/3,a.BOTTOM_RIGHT):new rG(t.left+t.width-2*U/3,t.top+t.height-2*F/3),this.bottomLeftBorderDoubleInnerBox=h>0||p>0?rW(t.left+2*v/3,t.top+C,h-2*v/3,p-2*F/3,a.BOTTOM_LEFT):new rG(t.left+2*v/3,t.top+t.height-2*F/3),this.topLeftBorderStroke=r>0||o>0?rW(t.left+v/2,t.top+Q/2,r-v/2,o-Q/2,a.TOP_LEFT):new rG(t.left+v/2,t.top+Q/2),this.topRightBorderStroke=r>0||o>0?rW(t.left+w,t.top+Q/2,l-U/2,s-Q/2,a.TOP_RIGHT):new rG(t.left+t.width-U/2,t.top+Q/2),this.bottomRightBorderStroke=c>0||f>0?rW(t.left+y,t.top+m,c-U/2,f-F/2,a.BOTTOM_RIGHT):new rG(t.left+t.width-U/2,t.top+t.height-F/2),this.bottomLeftBorderStroke=h>0||p>0?rW(t.left+v/2,t.top+C,h-v/2,p-F/2,a.BOTTOM_LEFT):new rG(t.left+v/2,t.top+t.height-F/2),this.topLeftBorderBox=r>0||o>0?rW(t.left,t.top,r,o,a.TOP_LEFT):new rG(t.left,t.top),this.topRightBorderBox=l>0||s>0?rW(t.left+w,t.top,l,s,a.TOP_RIGHT):new rG(t.left+t.width,t.top),this.bottomRightBorderBox=c>0||f>0?rW(t.left+y,t.top+m,c,f,a.BOTTOM_RIGHT):new rG(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=h>0||p>0?rW(t.left,t.top+C,h,p,a.BOTTOM_LEFT):new rG(t.left,t.top+t.height),this.topLeftPaddingBox=r>0||o>0?rW(t.left+v,t.top+Q,Math.max(0,r-v),Math.max(0,o-Q),a.TOP_LEFT):new rG(t.left+v,t.top+Q),this.topRightPaddingBox=l>0||s>0?rW(t.left+Math.min(w,t.width-U),t.top+Q,w>t.width+U?0:Math.max(0,l-U),Math.max(0,s-Q),a.TOP_RIGHT):new rG(t.left+t.width-U,t.top+Q),this.bottomRightPaddingBox=c>0||f>0?rW(t.left+Math.min(y,t.width-v),t.top+Math.min(m,t.height-F),Math.max(0,c-U),Math.max(0,f-F),a.BOTTOM_RIGHT):new rG(t.left+t.width-U,t.top+t.height-F),this.bottomLeftPaddingBox=h>0||p>0?rW(t.left+v,t.top+Math.min(C,t.height-F),Math.max(0,h-v),Math.max(0,p-F),a.BOTTOM_LEFT):new rG(t.left+v,t.top+t.height-F),this.topLeftContentBox=r>0||o>0?rW(t.left+v+H,t.top+Q+b,Math.max(0,r-(v+H)),Math.max(0,o-(Q+b)),a.TOP_LEFT):new rG(t.left+v+H,t.top+Q+b),this.topRightContentBox=l>0||s>0?rW(t.left+Math.min(w,t.width+v+H),t.top+Q+b,w>t.width+v+H?0:l-v+H,s-(Q+b),a.TOP_RIGHT):new rG(t.left+t.width-(U+x),t.top+Q+b),this.bottomRightContentBox=c>0||f>0?rW(t.left+Math.min(y,t.width-(v+H)),t.top+Math.min(m,t.height+Q+b),Math.max(0,c-(U+x)),f-(F+E),a.BOTTOM_RIGHT):new rG(t.left+t.width-(U+x),t.top+t.height-(F+E)),this.bottomLeftContentBox=h>0||p>0?rW(t.left+v+H,t.top+C,Math.max(0,h-(v+H)),p-(F+E),a.BOTTOM_LEFT):new rG(t.left+v+H,t.top+t.height-(F+E))};!function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(a||(a={}));var rW=function(A,e,t,n,r){var o=(Math.sqrt(2)-1)/3*4,i=t*o,l=n*o,s=A+t,u=e+n;switch(r){case a.TOP_LEFT:return new rq(new rG(A,u),new rG(A,u-l),new rG(s-i,e),new rG(s,e));case a.TOP_RIGHT:return new rq(new rG(A,e),new rG(A+i,e),new rG(s,u-l),new rG(s,u));case a.BOTTOM_RIGHT:return new rq(new rG(s,e),new rG(s,e+l),new rG(A+i,u),new rG(A,u));case a.BOTTOM_LEFT:default:return new rq(new rG(s,u),new rG(s-i,u),new rG(A,e+l),new rG(A,e))}},rY=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},rZ=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},r$=function(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6},r0=function(A,e){this.path=A,this.target=e,this.type=1},r1=function(A){this.opacity=A,this.type=2,this.target=6},r2=function(A){return 1===A.type},r4=function(A,e){return A.length===e.length&&A.some(function(A,t){return A===e[t]})},r3=function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},r5=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new rJ(this.container),this.container.styles.opacity<1&&this.effects.push(new r1(this.container.styles.opacity)),null!==this.container.styles.transform){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,r=this.container.styles.transform;this.effects.push(new r$(t,n,r))}if(0!==this.container.styles.overflowX){var o=rY(this.curves),i=rZ(this.curves);r4(o,i)?this.effects.push(new r0(o,6)):(this.effects.push(new r0(o,2)),this.effects.push(new r0(i,4)))}}return A.prototype.getEffects=function(A){for(var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,n=this.effects.slice(0);t;){var r=t.effects.filter(function(A){return!r2(A)});if(e||0!==t.container.styles.position||!t.parent){if(n.unshift.apply(n,r),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var o=rY(t.curves),i=rZ(t.curves);r4(o,i)||n.unshift(new r0(i,6))}}else n.unshift.apply(n,r);t=t.parent}return n.filter(function(e){return tE(e.target,A)})},A}(),r6=function(A,e,t,n){A.container.elements.forEach(function(r){var o=tE(r.flags,4),i=tE(r.flags,2),a=new r5(r,A);tE(r.styles.display,2048)&&n.push(a);var l=tE(r.flags,8)?[]:n;if(o||i){var s=o||r.styles.isPositioned()?t:e,u=new r3(a);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var c=r.styles.zIndex.order;if(c<0){var f=0;s.negativeZIndex.some(function(A,e){if(c>A.element.container.styles.zIndex.order)f=e;else if(f>0)return!0;return!1}),s.negativeZIndex.splice(f,0,u)}else if(c>0){var d=0;s.positiveZIndex.some(function(A,e){if(c>=A.element.container.styles.zIndex.order)d=e+1;else if(d>0)return!0;return!1}),s.positiveZIndex.splice(d,0,u)}else s.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else r.styles.isFloating()?s.nonPositionedFloats.push(u):s.nonPositionedInlineLevel.push(u);r6(a,u,o?u:t,l)}else r.styles.isInlineLevel()?e.inlineLevel.push(a):e.nonInlineLevel.push(a),r6(a,e,t,l);tE(r.flags,8)&&r8(r,l)})},r8=function(A,e){for(var t=A instanceof nM?A.start:1,n=A instanceof nM&&A.reversed,r=0;r0&&A.intrinsicHeight>0){var n=oi(A),r=rZ(e);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return c(this,void 0,void 0,function(){var t,n,r,o,i,a,l,s,u,c,d,p,g,B,w,m,y,C;return f(this,function(f){switch(f.label){case 0:this.applyEffects(A.getEffects(4)),t=A.container,n=A.curves,r=t.styles,o=0,i=t.textNodes,f.label=1;case 1:if(!(o0&&c>0&&(d=n.ctx.createPattern(C,"repeat"),n.renderRepeat(a,d,l,s))):2===t.type&&(a=(F=oa(A,e,[null,null,null]))[0],v=F[1],b=F[2],u=F[3],c=F[4],l=AG((x=0===t.position.length?[A_]:t.position)[0],u),s=AG(x[x.length-1],c),H=(E=ea(t,l,s,u,c))[0],I=E[1],H>0&&I>0&&(k=n.ctx.createRadialGradient(v+l,b+s,0,v+l,b+s,H),et(t.stops,2*H).forEach(function(A){return k.addColorStop(A.stop,A0(A.color))}),n.path(a),n.ctx.fillStyle=k,H!==I?(L=A.bounds.left+.5*A.bounds.width,M=A.bounds.top+.5*A.bounds.height,S=1/(D=I/H),n.ctx.save(),n.ctx.translate(L,M),n.ctx.transform(1,0,0,D,0,0),n.ctx.translate(-L,-M),n.ctx.fillRect(v,S*(b-M)+M,u,c*S),n.ctx.restore()):n.ctx.fill())),f.label=6;case 6:return e--,[2]}})},n=this,r=0,o=A.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:if(!(r0))return[3,11];if(2!==l.style)return[3,5];return[4,this.renderDashedDottedBorder(l.color,l.width,o,A.curves,2)];case 4:case 6:case 8:return u.sent(),[3,11];case 5:if(3!==l.style)return[3,7];return[4,this.renderDashedDottedBorder(l.color,l.width,o,A.curves,3)];case 7:if(4!==l.style)return[3,9];return[4,this.renderDoubleBorder(l.color,l.width,o,A.curves)];case 9:return[4,this.renderSolidBorder(l.color,o,A.curves)];case 10:u.sent(),u.label=11;case 11:o++,u.label=12;case 12:return i++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(A,e,t,n,r){return c(this,void 0,void 0,function(){var o,i,a,l,s,u,c,d,h,p,g,B,w,m,y,C;return f(this,function(f){return this.ctx.save(),o=ot(n,t),i=r7(n,t),2===r&&(this.path(i),this.ctx.clip()),rX(i[0])?(a=i[0].start.x,l=i[0].start.y):(a=i[0].x,l=i[0].y),rX(i[1])?(s=i[1].end.x,u=i[1].end.y):(s=i[1].x,u=i[1].y),c=0===t||2===t?Math.abs(a-s):Math.abs(l-u),this.ctx.beginPath(),3===r?this.formatPath(o):this.formatPath(i.slice(0,2)),d=e<3?3*e:2*e,h=e<3?2*e:e,3===r&&(d=e,h=e),p=!0,c<=2*d?p=!1:c<=2*d+h?(g=c/(2*d+h),d*=g,h*=g):(B=Math.floor((c+h)/(d+h)),w=(c-B*d)/(B-1),h=(m=(c-(B+1)*d)/B)<=0||Math.abs(h-w){"use strict";t.d(e,{Ke:()=>Q,R6:()=>y,bL:()=>v});var n=t(43210),r=t(70569),o=t(11273),i=t(65551),a=t(66156),l=t(98599),s=t(14163),u=t(46059),c=t(96963),f=t(60687),d="Collapsible",[h,p]=(0,o.A)(d),[g,B]=h(d),w=n.forwardRef((A,e)=>{let{__scopeCollapsible:t,open:r,defaultOpen:o,disabled:a,onOpenChange:l,...u}=A,[h,p]=(0,i.i)({prop:r,defaultProp:o??!1,onChange:l,caller:d});return(0,f.jsx)(g,{scope:t,disabled:a,contentId:(0,c.B)(),open:h,onOpenToggle:n.useCallback(()=>p(A=>!A),[p]),children:(0,f.jsx)(s.sG.div,{"data-state":F(h),"data-disabled":a?"":void 0,...u,ref:e})})});w.displayName=d;var m="CollapsibleTrigger",y=n.forwardRef((A,e)=>{let{__scopeCollapsible:t,...n}=A,o=B(m,t);return(0,f.jsx)(s.sG.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":F(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:e,onClick:(0,r.mK)(A.onClick,o.onOpenToggle)})});y.displayName=m;var C="CollapsibleContent",Q=n.forwardRef((A,e)=>{let{forceMount:t,...n}=A,r=B(C,A.__scopeCollapsible);return(0,f.jsx)(u.C,{present:t||r.open,children:({present:A})=>(0,f.jsx)(U,{...n,ref:e,present:A})})});Q.displayName=C;var U=n.forwardRef((A,e)=>{let{__scopeCollapsible:t,present:r,children:o,...i}=A,u=B(C,t),[c,d]=n.useState(r),h=n.useRef(null),p=(0,l.s)(e,h),g=n.useRef(0),w=g.current,m=n.useRef(0),y=m.current,Q=u.open||c,U=n.useRef(Q),v=n.useRef(void 0);return n.useEffect(()=>{let A=requestAnimationFrame(()=>U.current=!1);return()=>cancelAnimationFrame(A)},[]),(0,a.N)(()=>{let A=h.current;if(A){v.current=v.current||{transitionDuration:A.style.transitionDuration,animationName:A.style.animationName},A.style.transitionDuration="0s",A.style.animationName="none";let e=A.getBoundingClientRect();g.current=e.height,m.current=e.width,U.current||(A.style.transitionDuration=v.current.transitionDuration,A.style.animationName=v.current.animationName),d(r)}},[u.open,r]),(0,f.jsx)(s.sG.div,{"data-state":F(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!Q,...i,ref:p,style:{"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...A.style},children:Q&&o})});function F(A){return A?"open":"closed"}var v=w},95796:(A,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return t}});let t=/Mediapartners-Google|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti/i},96060:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("folder-git-2",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]])},96127:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addBasePath",{enumerable:!0,get:function(){return o}});let n=t(98834),r=t(54674);function o(A,e){return(0,r.normalizePathTrailingSlash)((0,n.addPathPrefix)(A,""))}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},96474:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},96493:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"handleSegmentMismatch",{enumerable:!0,get:function(){return r}});let n=t(25232);function r(A,e,t){return(0,n.handleExternalUrl)(A,{},A.canonicalUrl,!0)}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},96882:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},97314:(A,e,t)=>{"use strict";t.d(e,{q7:()=>H,bL:()=>E});var n=t(43210),r=t(11273),o=t(14163),i=t(72942),a=t(70569),l=t(65551),s=t(60687),u="Toggle",c=n.forwardRef((A,e)=>{let{pressed:t,defaultPressed:n,onPressedChange:r,...i}=A,[c,f]=(0,l.i)({prop:t,onChange:r,defaultProp:n??!1,caller:u});return(0,s.jsx)(o.sG.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":A.disabled?"":void 0,...i,ref:e,onClick:(0,a.mK)(A.onClick,()=>{A.disabled||f(!c)})})});c.displayName=u;var f=t(43),d="ToggleGroup",[h,p]=(0,r.A)(d,[i.RG]),g=(0,i.RG)(),B=n.forwardRef((A,e)=>{let{type:t,...n}=A;if("single"===t)return(0,s.jsx)(y,{...n,ref:e});if("multiple"===t)return(0,s.jsx)(C,{...n,ref:e});throw Error(`Missing prop \`type\` expected on \`${d}\``)});B.displayName=d;var[w,m]=h(d),y=n.forwardRef((A,e)=>{let{value:t,defaultValue:r,onValueChange:o=()=>{},...i}=A,[a,u]=(0,l.i)({prop:t,defaultProp:r??"",onChange:o,caller:d});return(0,s.jsx)(w,{scope:A.__scopeToggleGroup,type:"single",value:n.useMemo(()=>a?[a]:[],[a]),onItemActivate:u,onItemDeactivate:n.useCallback(()=>u(""),[u]),children:(0,s.jsx)(F,{...i,ref:e})})}),C=n.forwardRef((A,e)=>{let{value:t,defaultValue:r,onValueChange:o=()=>{},...i}=A,[a,u]=(0,l.i)({prop:t,defaultProp:r??[],onChange:o,caller:d}),c=n.useCallback(A=>u((e=[])=>[...e,A]),[u]),f=n.useCallback(A=>u((e=[])=>e.filter(e=>e!==A)),[u]);return(0,s.jsx)(w,{scope:A.__scopeToggleGroup,type:"multiple",value:a,onItemActivate:c,onItemDeactivate:f,children:(0,s.jsx)(F,{...i,ref:e})})});B.displayName=d;var[Q,U]=h(d),F=n.forwardRef((A,e)=>{let{__scopeToggleGroup:t,disabled:n=!1,rovingFocus:r=!0,orientation:a,dir:l,loop:u=!0,...c}=A,d=g(t),h=(0,f.jH)(l),p={role:"group",dir:h,...c};return(0,s.jsx)(Q,{scope:t,rovingFocus:r,disabled:n,children:r?(0,s.jsx)(i.bL,{asChild:!0,...d,orientation:a,dir:h,loop:u,children:(0,s.jsx)(o.sG.div,{...p,ref:e})}):(0,s.jsx)(o.sG.div,{...p,ref:e})})}),v="ToggleGroupItem",b=n.forwardRef((A,e)=>{let t=m(v,A.__scopeToggleGroup),r=U(v,A.__scopeToggleGroup),o=g(A.__scopeToggleGroup),a=t.value.includes(A.value),l=r.disabled||A.disabled,u={...A,pressed:a,disabled:l},c=n.useRef(null);return r.rovingFocus?(0,s.jsx)(i.q7,{asChild:!0,...o,focusable:!l,active:a,ref:c,children:(0,s.jsx)(x,{...u,ref:e})}):(0,s.jsx)(x,{...u,ref:e})});b.displayName=v;var x=n.forwardRef((A,e)=>{let{__scopeToggleGroup:t,value:n,...r}=A,o=m(v,t),i={role:"radio","aria-checked":A.pressed,"aria-pressed":void 0},a="single"===o.type?i:void 0;return(0,s.jsx)(c,{...a,...r,ref:e,onPressedChange:A=>{A?o.onItemActivate(n):o.onItemDeactivate(n)}})}),E=B,H=b},97464:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function A(e,t,o){let i=o.length<=2,[a,l]=o,s=(0,r.createRouterCacheKey)(l),u=t.parallelRoutes.get(a),c=e.parallelRoutes.get(a);c&&c!==u||(c=new Map(u),e.parallelRoutes.set(a,c));let f=null==u?void 0:u.get(s),d=c.get(s);if(i){d&&d.lazyData&&d!==f||c.set(s,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1});return}if(!d||!f){d||c.set(s,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1});return}return d===f&&(d={lazyData:d.lazyData,rsc:d.rsc,prefetchRsc:d.prefetchRsc,head:d.head,prefetchHead:d.prefetchHead,parallelRoutes:new Map(d.parallelRoutes),loading:d.loading},c.set(s,d)),A(d,f,(0,n.getNextFlightSegmentPath)(o))}}});let n=t(74007),r=t(33123);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},97638:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]])},97936:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"hmrRefreshReducer",{enumerable:!0,get:function(){return n}}),t(59008),t(57391),t(86770),t(2030),t(25232),t(59435),t(56928),t(89752),t(96493),t(68214);let n=function(A,e){return A};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),A.exports=e.default)},98015:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("scroll-text",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]])},98834:(A,e,t)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return r}});let n=t(19169);function r(A,e){if(!A.startsWith("/")||!e)return A;let{pathname:t,query:r,hash:o}=(0,n.parsePath)(A);return""+e+t+r+o}},98971:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]])},99891:(A,e,t)=>{"use strict";t.d(e,{A:()=>n});let n=(0,t(62688).A)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])}}; \ No newline at end of file diff --git a/.next/server/chunks/4447.js b/.next/server/chunks/4447.js deleted file mode 100644 index 928db8e495ea69851727bedcd39189c5c21b436b..0000000000000000000000000000000000000000 --- a/.next/server/chunks/4447.js +++ /dev/null @@ -1,20 +0,0 @@ -exports.id=4447,exports.ids=[4447],exports.modules={2829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return a}});let n=r(18631);function a(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},4113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MISSING_ROOT_TAGS_ERROR",{enumerable:!0,get:function(){return r}});let r="NEXT_MISSING_ROOT_TAGS";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isRequestAPICallableInsideAfter:function(){return u},throwForSearchParamsAccessInUseCache:function(){return s},throwWithStaticGenerationBailoutError:function(){return o},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return i}});let n=r(80023),a=r(3295);function o(e,t){throw Object.defineProperty(new n.StaticGenBailoutError(`Route ${e} couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function i(e,t){throw Object.defineProperty(new n.StaticGenBailoutError(`Route ${e} with \`dynamic = "error"\` couldn't be rendered statically because it used ${t}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function s(e){let t=Object.defineProperty(Error(`Route ${e.route} used "searchParams" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "searchParams" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E634",enumerable:!1,configurable:!0});throw e.invalidUsageError??=t,t}function u(){let e=a.afterTaskAsyncStorage.getStore();return(null==e?void 0:e.rootTaskSpawnPhase)==="action"}},9034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(47348),a=r(2829);function o(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,a.pathHasPrefix)(i,"/api")||(0,a.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},11959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e,t){let n;if(!t)return{pathname:e};let a=r.get(t);a||(a=t.map(e=>e.toLowerCase()),r.set(t,a));let o=e.split("/",2);if(!o[1])return{pathname:e};let i=o[1].toLowerCase(),s=a.indexOf(i);return s<0?{pathname:e}:(n=t[s],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},14823:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRenderSpan:function(){return u},AppRouteRouteHandlersSpan:function(){return d},BaseServerSpan:function(){return r},LoadComponentsSpan:function(){return n},LogSpanAllowList:function(){return g},MiddlewareSpan:function(){return p},NextNodeServerSpan:function(){return o},NextServerSpan:function(){return a},NextVanillaSpanAllowlist:function(){return h},NodeSpan:function(){return c},RenderSpan:function(){return s},ResolveMetadataSpan:function(){return f},RouterSpan:function(){return l},StartServerSpan:function(){return i}});var r=function(e){return e.handleRequest="BaseServer.handleRequest",e.run="BaseServer.run",e.pipe="BaseServer.pipe",e.getStaticHTML="BaseServer.getStaticHTML",e.render="BaseServer.render",e.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",e.renderToResponse="BaseServer.renderToResponse",e.renderToHTML="BaseServer.renderToHTML",e.renderError="BaseServer.renderError",e.renderErrorToResponse="BaseServer.renderErrorToResponse",e.renderErrorToHTML="BaseServer.renderErrorToHTML",e.render404="BaseServer.render404",e}(r||{}),n=function(e){return e.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",e.loadComponents="LoadComponents.loadComponents",e}(n||{}),a=function(e){return e.getRequestHandler="NextServer.getRequestHandler",e.getServer="NextServer.getServer",e.getServerRequestHandler="NextServer.getServerRequestHandler",e.createServer="createServer.createServer",e}(a||{}),o=function(e){return e.compression="NextNodeServer.compression",e.getBuildId="NextNodeServer.getBuildId",e.createComponentTree="NextNodeServer.createComponentTree",e.clientComponentLoading="NextNodeServer.clientComponentLoading",e.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",e.generateStaticRoutes="NextNodeServer.generateStaticRoutes",e.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",e.generatePublicRoutes="NextNodeServer.generatePublicRoutes",e.generateImageRoutes="NextNodeServer.generateImageRoutes.route",e.sendRenderResult="NextNodeServer.sendRenderResult",e.proxyRequest="NextNodeServer.proxyRequest",e.runApi="NextNodeServer.runApi",e.render="NextNodeServer.render",e.renderHTML="NextNodeServer.renderHTML",e.imageOptimizer="NextNodeServer.imageOptimizer",e.getPagePath="NextNodeServer.getPagePath",e.getRoutesManifest="NextNodeServer.getRoutesManifest",e.findPageComponents="NextNodeServer.findPageComponents",e.getFontManifest="NextNodeServer.getFontManifest",e.getServerComponentManifest="NextNodeServer.getServerComponentManifest",e.getRequestHandler="NextNodeServer.getRequestHandler",e.renderToHTML="NextNodeServer.renderToHTML",e.renderError="NextNodeServer.renderError",e.renderErrorToHTML="NextNodeServer.renderErrorToHTML",e.render404="NextNodeServer.render404",e.startResponse="NextNodeServer.startResponse",e.route="route",e.onProxyReq="onProxyReq",e.apiResolver="apiResolver",e.internalFetch="internalFetch",e}(o||{}),i=function(e){return e.startServer="startServer.startServer",e}(i||{}),s=function(e){return e.getServerSideProps="Render.getServerSideProps",e.getStaticProps="Render.getStaticProps",e.renderToString="Render.renderToString",e.renderDocument="Render.renderDocument",e.createBodyResult="Render.createBodyResult",e}(s||{}),u=function(e){return e.renderToString="AppRender.renderToString",e.renderToReadableStream="AppRender.renderToReadableStream",e.getBodyResult="AppRender.getBodyResult",e.fetch="AppRender.fetch",e}(u||{}),l=function(e){return e.executeRoute="Router.executeRoute",e}(l||{}),c=function(e){return e.runHandler="Node.runHandler",e}(c||{}),d=function(e){return e.runHandler="AppRouteRouteHandlers.runHandler",e}(d||{}),f=function(e){return e.generateMetadata="ResolveMetadata.generateMetadata",e.generateViewport="ResolveMetadata.generateViewport",e}(f||{}),p=function(e){return e.execute="Middleware.execute",e}(p||{});let h=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],g=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"]},17017:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=r(18631);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return""+r+t+a+o}},18631:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},23158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RequestCookies:function(){return n.RequestCookies},ResponseCookies:function(){return n.ResponseCookies},stringifyCookie:function(){return n.stringifyCookie}});let n=r(70635)},26191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{NEXT_REQUEST_META:function(){return r},addRequestMeta:function(){return o},getRequestMeta:function(){return n},removeRequestMeta:function(){return i},setRequestMeta:function(){return a}});let r=Symbol.for("NextInternalRequestMeta");function n(e,t){let n=e[r]||{};return"string"==typeof t?n[t]:n}function a(e,t){return e[r]=t,t}function o(e,t,r){let o=n(e);return o[t]=r,a(e,o)}function i(e,t){let r=n(e);return delete r[t],a(e,r)}},29169:(e,t)=>{"use strict";function r(e){if(!e.body)return[e,e];let[t,r]=e.body.tee(),n=new Response(t,{status:e.status,statusText:e.statusText,headers:e.headers});Object.defineProperty(n,"url",{value:e.url});let a=new Response(r,{status:e.status,statusText:e.statusText,headers:e.headers});return Object.defineProperty(a,"url",{value:e.url}),[n,a]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cloneResponse",{enumerable:!0,get:function(){return r}})},30898:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNodeNextRequest:function(){return a},isNodeNextResponse:function(){return o},isWebNextRequest:function(){return r},isWebNextResponse:function(){return n}});let r=e=>!1,n=e=>!1,a=e=>!0,o=e=>!0},34436:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createDedupeFetch",{enumerable:!0,get:function(){return s}});let n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(n,o,s):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}(r(61120)),a=r(29169),o=r(71617);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}function s(e){let t=n.cache(e=>[]);return function(r,n){let i,s;if(n&&n.signal)return e(r,n);if("string"!=typeof r||n){let t="string"==typeof r||r instanceof URL?new Request(r,n):r;if("GET"!==t.method&&"HEAD"!==t.method||t.keepalive)return e(r,n);s=JSON.stringify([t.method,Array.from(t.headers.entries()),t.mode,t.redirect,t.credentials,t.referrer,t.referrerPolicy,t.integrity]),i=t.url}else s='["GET",[],null,"follow",null,null,null,null]',i=r;let u=t(i);for(let e=0,t=u.length;e{let t=u[e][2];if(!t)throw Object.defineProperty(new o.InvariantError("No cached response"),"__NEXT_ERROR_CODE",{value:"E579",enumerable:!1,configurable:!0});let[r,n]=(0,a.cloneResponse)(t);return u[e][2]=n,r})}let l=e(r,n),c=[s,l,null];return u.push(c),l.then(e=>{let[t,r]=(0,a.cloneResponse)(e);return c[2]=r,t})}}},37719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{NEXT_PATCH_SYMBOL:function(){return f},createPatchedFetcher:function(){return _},patchFetch:function(){return m},validateRevalidate:function(){return p},validateTags:function(){return h}});let n=r(14823),a=r(81289),o=r(46143),i=r(84971),s=r(68388),u=r(34436),l=r(43365),c=r(44523),d=r(29169),f=Symbol.for("next-patch");function p(e,t){try{let r;if(!1===e)r=o.INFINITE_CACHE;else if("number"==typeof e&&!isNaN(e)&&e>-1)r=e;else if(void 0!==e)throw Object.defineProperty(Error(`Invalid revalidate value "${e}" on "${t}", must be a non-negative number or false`),"__NEXT_ERROR_CODE",{value:"E179",enumerable:!1,configurable:!0});return r}catch(e){if(e instanceof Error&&e.message.includes("Invalid revalidate"))throw e;return}}function h(e,t){let r=[],n=[];for(let a=0;ao.NEXT_CACHE_TAG_MAX_LENGTH?n.push({tag:i,reason:`exceeded max length of ${o.NEXT_CACHE_TAG_MAX_LENGTH}`}):r.push(i),r.length>o.NEXT_CACHE_TAG_MAX_ITEMS){console.warn(`Warning: exceeded max tag count for ${t}, dropped tags:`,e.slice(a).join(", "));break}}if(n.length>0)for(let{tag:e,reason:r}of(console.warn(`Warning: invalid tags passed to ${t}: `),n))console.log(`tag: "${e}" ${r}`);return r}function g(e,t){var r;if(e&&(null==(r=e.requestEndedState)?!void 0:!r.ended))((process.env.NEXT_DEBUG_BUILD||"1"===process.env.NEXT_SSG_FETCH_METRICS)&&e.isStaticGeneration||0)&&(e.fetchMetrics??=[],e.fetchMetrics.push({...t,end:performance.timeOrigin+performance.now(),idx:e.nextFetchId||0}))}function _(e,{workAsyncStorage:t,workUnitAsyncStorage:r}){let u=async(u,f)=>{var _,m;let y;try{(y=new URL(u instanceof Request?u.url:u)).username="",y.password=""}catch{y=void 0}let v=(null==y?void 0:y.href)??"",b=(null==f||null==(_=f.method)?void 0:_.toUpperCase())||"GET",E=(null==f||null==(m=f.next)?void 0:m.internal)===!0,S="1"===process.env.NEXT_OTEL_FETCH_DISABLED,O=E?void 0:performance.timeOrigin+performance.now(),R=t.getStore(),P=r.getStore(),T=P&&"prerender"===P.type?P.cacheSignal:null;T&&T.beginRead();let N=(0,a.getTracer)().trace(E?n.NextNodeServerSpan.internalFetch:n.AppRenderSpan.fetch,{hideSpan:S,kind:a.SpanKind.CLIENT,spanName:["fetch",b,v].filter(Boolean).join(" "),attributes:{"http.url":v,"http.method":b,"net.peer.name":null==y?void 0:y.hostname,"net.peer.port":(null==y?void 0:y.port)||void 0}},async()=>{var t;let r,n,a,_;if(E||!R||R.isDraftMode)return e(u,f);let m=u&&"object"==typeof u&&"string"==typeof u.method,y=e=>(null==f?void 0:f[e])||(m?u[e]:null),b=e=>{var t,r,n;return void 0!==(null==f||null==(t=f.next)?void 0:t[e])?null==f||null==(r=f.next)?void 0:r[e]:m?null==(n=u.next)?void 0:n[e]:void 0},S=b("revalidate"),N=h(b("tags")||[],`fetch ${u.toString()}`),A=P&&("cache"===P.type||"prerender"===P.type||"prerender-ppr"===P.type||"prerender-legacy"===P.type)?P:void 0;if(A&&Array.isArray(N)){let e=A.tags??(A.tags=[]);for(let t of N)e.includes(t)||e.push(t)}let C=null==P?void 0:P.implicitTags,x=P&&"unstable-cache"===P.type?"force-no-store":R.fetchCache,w=!!R.isUnstableNoStore,D=y("cache"),I="";"string"==typeof D&&void 0!==S&&("force-cache"===D&&0===S||"no-store"===D&&(S>0||!1===S))&&(r=`Specified "cache: ${D}" and "revalidate: ${S}", only one should be specified.`,D=void 0,S=void 0);let M="no-cache"===D||"no-store"===D||"force-no-store"===x||"only-no-store"===x,j=!x&&!D&&!S&&R.forceDynamic;"force-cache"===D&&void 0===S?S=!1:(null==P?void 0:P.type)!=="cache"&&(M||j)&&(S=0),("no-cache"===D||"no-store"===D)&&(I=`cache: ${D}`),_=p(S,R.route);let L=y("headers"),k="function"==typeof(null==L?void 0:L.get)?L:new Headers(L||{}),G=k.get("authorization")||k.get("cookie"),B=!["get","head"].includes((null==(t=y("method"))?void 0:t.toLowerCase())||"get"),U=void 0==x&&(void 0==D||"default"===D)&&void 0==S,H=U&&!R.isPrerendering||(G||B)&&A&&0===A.revalidate;if(U&&void 0!==P&&"prerender"===P.type)return T&&(T.endRead(),T=null),(0,s.makeHangingPromise)(P.renderSignal,"fetch()");switch(x){case"force-no-store":I="fetchCache = force-no-store";break;case"only-no-store":if("force-cache"===D||void 0!==_&&_>0)throw Object.defineProperty(Error(`cache: 'force-cache' used on fetch for ${v} with 'export const fetchCache = 'only-no-store'`),"__NEXT_ERROR_CODE",{value:"E448",enumerable:!1,configurable:!0});I="fetchCache = only-no-store";break;case"only-cache":if("no-store"===D)throw Object.defineProperty(Error(`cache: 'no-store' used on fetch for ${v} with 'export const fetchCache = 'only-cache'`),"__NEXT_ERROR_CODE",{value:"E521",enumerable:!1,configurable:!0});break;case"force-cache":(void 0===S||0===S)&&(I="fetchCache = force-cache",_=o.INFINITE_CACHE)}if(void 0===_?"default-cache"!==x||w?"default-no-store"===x?(_=0,I="fetchCache = default-no-store"):w?(_=0,I="noStore call"):H?(_=0,I="auto no cache"):(I="auto cache",_=A?A.revalidate:o.INFINITE_CACHE):(_=o.INFINITE_CACHE,I="fetchCache = default-cache"):I||(I=`revalidate: ${_}`),!(R.forceStatic&&0===_)&&!H&&A&&_0,{incrementalCache:V}=R,$=(null==P?void 0:P.type)==="request"||(null==P?void 0:P.type)==="cache"?P:void 0;if(V&&(F||(null==$?void 0:$.serverComponentsHmrCache)))try{n=await V.generateCacheKey(v,m?u:f)}catch(e){console.error("Failed to generate cache key for",u)}let X=R.nextFetchId??1;R.nextFetchId=X+1;let q=()=>Promise.resolve(),K=async(t,a)=>{let i=["cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","window","duplex",...t?[]:["signal"]];if(m){let e=u,t={body:e._ogBody||e.body};for(let r of i)t[r]=e[r];u=new Request(e.url,t)}else if(f){let{_ogBody:e,body:r,signal:n,...a}=f;f={...a,body:e||r,signal:t?void 0:n}}let s={...f,next:{...null==f?void 0:f.next,fetchType:"origin",fetchIdx:X}};return e(u,s).then(async e=>{if(!t&&O&&g(R,{start:O,url:v,cacheReason:a||I,cacheStatus:0===_||a?"skip":"miss",cacheWarning:r,status:e.status,method:s.method||"GET"}),200===e.status&&V&&n&&(F||(null==$?void 0:$.serverComponentsHmrCache))){let t=_>=o.INFINITE_CACHE?o.CACHE_ONE_YEAR:_;if(P&&"prerender"===P.type){let r=await e.arrayBuffer(),a={headers:Object.fromEntries(e.headers.entries()),body:Buffer.from(r).toString("base64"),status:e.status,url:e.url};return await V.set(n,{kind:l.CachedRouteKind.FETCH,data:a,revalidate:t},{fetchCache:!0,fetchUrl:v,fetchIdx:X,tags:N}),await q(),new Response(r,{headers:e.headers,status:e.status,statusText:e.statusText})}{let[r,a]=(0,d.cloneResponse)(e);return r.arrayBuffer().then(async e=>{var a;let o=Buffer.from(e),i={headers:Object.fromEntries(r.headers.entries()),body:o.toString("base64"),status:r.status,url:r.url};null==$||null==(a=$.serverComponentsHmrCache)||a.set(n,i),F&&await V.set(n,{kind:l.CachedRouteKind.FETCH,data:i,revalidate:t},{fetchCache:!0,fetchUrl:v,fetchIdx:X,tags:N})}).catch(e=>console.warn("Failed to set fetch cache",u,e)).finally(q),a}}return await q(),e}).catch(e=>{throw q(),e})},W=!1,Y=!1;if(n&&V){let e;if((null==$?void 0:$.isHmrRefresh)&&$.serverComponentsHmrCache&&(e=$.serverComponentsHmrCache.get(n),Y=!0),F&&!e){q=await V.lock(n);let t=R.isOnDemandRevalidate?null:await V.get(n,{kind:l.IncrementalCacheKind.FETCH,revalidate:_,fetchUrl:v,fetchIdx:X,tags:N,softTags:null==C?void 0:C.tags});if(U&&P&&"prerender"===P.type&&await (0,c.waitAtLeastOneReactRenderTask)(),t?await q():a="cache-control: no-cache (hard refresh)",(null==t?void 0:t.value)&&t.value.kind===l.CachedRouteKind.FETCH)if(R.isRevalidate&&t.isStale)W=!0;else{if(t.isStale&&(R.pendingRevalidates??={},!R.pendingRevalidates[n])){let e=K(!0).then(async e=>({body:await e.arrayBuffer(),headers:e.headers,status:e.status,statusText:e.statusText})).finally(()=>{R.pendingRevalidates??={},delete R.pendingRevalidates[n||""]});e.catch(console.error),R.pendingRevalidates[n]=e}e=t.value.data}}if(e){O&&g(R,{start:O,url:v,cacheReason:I,cacheStatus:Y?"hmr":"hit",cacheWarning:r,status:e.status||200,method:(null==f?void 0:f.method)||"GET"});let t=new Response(Buffer.from(e.body,"base64"),{headers:e.headers,status:e.status});return Object.defineProperty(t,"url",{value:e.url}),t}}if(R.isStaticGeneration&&f&&"object"==typeof f){let{cache:e}=f;if("no-store"===e)if(P&&"prerender"===P.type)return T&&(T.endRead(),T=null),(0,s.makeHangingPromise)(P.renderSignal,"fetch()");else(0,i.markCurrentScopeAsDynamic)(R,P,`no-store fetch ${u} ${R.route}`);let t="next"in f,{next:r={}}=f;if("number"==typeof r.revalidate&&A&&r.revalidate{let t=e[0];return{body:await t.arrayBuffer(),headers:t.headers,status:t.status,statusText:t.statusText}}).finally(()=>{var t;(null==(t=R.pendingRevalidates)?void 0:t[e])&&delete R.pendingRevalidates[e]})).catch(()=>{}),R.pendingRevalidates[e]=t,r.then(e=>e[1])}});if(T)try{return await N}finally{T&&T.endRead()}return N};return u.__nextPatched=!0,u.__nextGetStaticStore=()=>t,u._nextOriginalFetch=e,globalThis[f]=!0,u}function m(e){if(!0===globalThis[f])return;let t=(0,u.createDedupeFetch)(globalThis.fetch);globalThis.fetch=_(t,e)}},37853:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(72887),a=r(47348),o=r(17017),i=r(9034);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},39893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{NextRequestAdapter:function(){return d},ResponseAborted:function(){return u},ResponseAbortedName:function(){return s},createAbortController:function(){return l},signalFromNodeResponse:function(){return c}});let n=r(26191),a=r(47912),o=r(76268),i=r(30898),s="ResponseAborted";class u extends Error{constructor(...e){super(...e),this.name=s}}function l(e){let t=new AbortController;return e.once("close",()=>{e.writableFinished||t.abort(new u)}),t}function c(e){let{errored:t,destroyed:r}=e;if(t||r)return AbortSignal.abort(t??new u);let{signal:n}=l(e);return n}class d{static fromBaseNextRequest(e,t){if((0,i.isNodeNextRequest)(e))return d.fromNodeNextRequest(e,t);throw Object.defineProperty(Error("Invariant: Unsupported NextRequest type"),"__NEXT_ERROR_CODE",{value:"E345",enumerable:!1,configurable:!0})}static fromNodeNextRequest(e,t){let r,i=null;if("GET"!==e.method&&"HEAD"!==e.method&&e.body&&(i=e.body),e.url.startsWith("http"))r=new URL(e.url);else{let t=(0,n.getRequestMeta)(e,"initURL");r=t&&t.startsWith("http")?new URL(e.url,t):new URL(e.url,"http://n")}return new o.NextRequest(r,{method:e.method,headers:(0,a.fromNodeOutgoingHttpHeaders)(e.headers),duplex:"half",signal:t,...t.aborted?{}:{body:i}})}static fromWebNextRequest(e){let t=null;return"GET"!==e.method&&"HEAD"!==e.method&&(t=e.body),new o.NextRequest(e.url,{method:e.method,headers:(0,a.fromNodeOutgoingHttpHeaders)(e.headers),duplex:"half",signal:e.request.signal,...e.request.signal.aborted?{}:{body:t}})}}},39938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(11959),a=r(59229),o=r(2829);function i(e,t){var r,i;let{basePath:s,i18n:u,trailingSlash:l}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};s&&(0,o.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,a.removePathPrefix)(c.pathname,s),c.basePath=s);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");c.buildId=e[0],d="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=d)}if(u){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,u.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,n.normalizeLocalePath)(d,u.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},40980:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CachedRouteKind:function(){return r},IncrementalCacheKind:function(){return n}});var r=function(e){return e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.PAGES="PAGES",e.FETCH="FETCH",e.REDIRECT="REDIRECT",e.IMAGE="IMAGE",e}({}),n=function(e){return e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.PAGES="PAGES",e.FETCH="FETCH",e.IMAGE="IMAGE",e}({})},42471:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isAbortError:function(){return u},pipeToNodeResponse:function(){return l}});let n=r(39893),a=r(90366),o=r(81289),i=r(14823),s=r(61076);function u(e){return(null==e?void 0:e.name)==="AbortError"||(null==e?void 0:e.name)===n.ResponseAbortedName}async function l(e,t,r){try{let{errored:u,destroyed:l}=t;if(u||l)return;let c=(0,n.createAbortController)(t),d=function(e,t){let r=!1,n=new a.DetachedPromise;function u(){n.resolve()}e.on("drain",u),e.once("close",()=>{e.off("drain",u),n.resolve()});let l=new a.DetachedPromise;return e.once("finish",()=>{l.resolve()}),new WritableStream({write:async t=>{if(!r){if(r=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){let e=(0,s.getClientComponentLoaderMetrics)();e&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:e.clientComponentLoadStart,end:e.clientComponentLoadStart+e.clientComponentLoadTimes})}e.flushHeaders(),(0,o.getTracer)().trace(i.NextNodeServerSpan.startResponse,{spanName:"start response"},()=>void 0)}try{let r=e.write(t);"flush"in e&&"function"==typeof e.flush&&e.flush(),r||(await n.promise,n=new a.DetachedPromise)}catch(t){throw e.end(),Object.defineProperty(Error("failed to write chunk to response",{cause:t}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:t=>{e.writableFinished||e.destroy(t)},close:async()=>{if(t&&await t,!e.writableFinished)return e.end(),l.promise}})}(t,r);await e.pipeTo(d,{signal:c.signal})}catch(e){if(u(e))return;throw Object.defineProperty(Error("failed to pipe response",{cause:e}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}},43365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(48737),a=r(44523),o=r(81856);!function(e,t){Object.keys(e).forEach(function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})}(r(40980),t);class i{constructor(e){this.batcher=n.Batcher.create({cacheKeyFn:({key:e,isOnDemandRevalidate:t})=>`${e}-${t?"1":"0"}`,schedulerFn:a.scheduleOnNextTick}),this.minimalMode=e}async get(e,t,r){if(!e)return t({hasResolved:!1,previousCacheEntry:null});let{incrementalCache:n,isOnDemandRevalidate:a=!1,isFallback:i=!1,isRoutePPREnabled:s=!1}=r,u=await this.batcher.batch({key:e,isOnDemandRevalidate:a},async(u,l)=>{var c;if(this.minimalMode&&(null==(c=this.previousCacheItem)?void 0:c.key)===u&&this.previousCacheItem.expiresAt>Date.now())return this.previousCacheItem.entry;let d=(0,o.routeKindToIncrementalCacheKind)(r.routeKind),f=!1,p=null;try{if((p=this.minimalMode?null:await n.get(e,{kind:d,isRoutePPREnabled:r.isRoutePPREnabled,isFallback:i}))&&!a&&(l(p),f=!0,!p.isStale||r.isPrefetch))return null;let c=await t({hasResolved:f,previousCacheEntry:p,isRevalidating:!0});if(!c)return this.minimalMode&&(this.previousCacheItem=void 0),null;let h=await (0,o.fromResponseCacheEntry)({...c,isMiss:!p});if(!h)return this.minimalMode&&(this.previousCacheItem=void 0),null;return a||f||(l(h),f=!0),h.cacheControl&&(this.minimalMode?this.previousCacheItem={key:u,entry:h,expiresAt:Date.now()+1e3}:await n.set(e,h.value,{cacheControl:h.cacheControl,isRoutePPREnabled:s,isFallback:i})),h}catch(t){if(null==p?void 0:p.cacheControl){let t=Math.min(Math.max(p.cacheControl.revalidate||3,3),30),r=void 0===p.cacheControl.expire?void 0:Math.max(t+3,p.cacheControl.expire);await n.set(e,p.value,{cacheControl:{revalidate:t,expire:r},isRoutePPREnabled:s,isFallback:i})}if(f)return console.error(t),null;throw t}});return(0,o.toResponseCacheEntry)(u)}}},43611:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PageSignatureError:function(){return r},RemovedPageError:function(){return n},RemovedUAError:function(){return a}});class r extends Error{constructor({page:e}){super(`The middleware "${e}" accepts an async API directly with the form: - - export function middleware(request, event) { - return NextResponse.redirect('/new-location') - } - - Read more: https://nextjs.org/docs/messages/middleware-new-signature - `)}}class n extends Error{constructor(){super(`The request.page has been deprecated in favour of \`URLPattern\`. - Read more: https://nextjs.org/docs/messages/middleware-request-page - `)}}class a extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function. - Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent - `)}}},43763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let n=Reflect.get(e,t,r);return"function"==typeof n?n.bind(e):n}static set(e,t,r,n){return Reflect.set(e,t,r,n)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},43828:(e,t)=>{"use strict";function r(e,t,r){if(e)for(let o of(r&&(r=r.toLowerCase()),e)){var n,a;if(t===(null==(n=o.domain)?void 0:n.split(":",1)[0].toLowerCase())||r===o.defaultLocale.toLowerCase()||(null==(a=o.locales)?void 0:a.some(e=>e.toLowerCase()===r)))return o}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}})},44523:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{atLeastOneTask:function(){return a},scheduleImmediate:function(){return n},scheduleOnNextTick:function(){return r},waitAtLeastOneReactRenderTask:function(){return o}});let r=e=>{Promise.resolve().then(()=>{process.nextTick(e)})},n=e=>{setImmediate(e)};function a(){return new Promise(e=>n(e))}function o(){return new Promise(e=>setImmediate(e))}},46143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return d},APP_DIR_ALIAS:function(){return w},CACHE_ONE_YEAR:function(){return O},DOT_NEXT_ALIAS:function(){return C},ESLINT_DEFAULT_DIRS:function(){return z},GSP_NO_RETURNED_VALUE:function(){return $},GSSP_COMPONENT_MEMBER_ERROR:function(){return K},GSSP_NO_RETURNED_VALUE:function(){return X},INFINITE_CACHE:function(){return R},INSTRUMENTATION_HOOK_FILENAME:function(){return N},MATCHED_PATH_HEADER:function(){return a},MIDDLEWARE_FILENAME:function(){return P},MIDDLEWARE_LOCATION_REGEXP:function(){return T},NEXT_BODY_SUFFIX:function(){return h},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return S},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return _},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return m},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return E},NEXT_CACHE_TAGS_HEADER:function(){return g},NEXT_CACHE_TAG_MAX_ITEMS:function(){return v},NEXT_CACHE_TAG_MAX_LENGTH:function(){return b},NEXT_DATA_SUFFIX:function(){return f},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return n},NEXT_META_SUFFIX:function(){return p},NEXT_QUERY_PARAM_PREFIX:function(){return r},NEXT_RESUME_HEADER:function(){return y},NON_STANDARD_NODE_ENV:function(){return W},PAGES_DIR_ALIAS:function(){return A},PRERENDER_REVALIDATE_HEADER:function(){return o},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return i},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return G},ROOT_DIR_ALIAS:function(){return x},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return k},RSC_ACTION_ENCRYPTION_ALIAS:function(){return L},RSC_ACTION_PROXY_ALIAS:function(){return M},RSC_ACTION_VALIDATE_ALIAS:function(){return I},RSC_CACHE_WRAPPER_ALIAS:function(){return j},RSC_MOD_REF_PROXY_ALIAS:function(){return D},RSC_PREFETCH_SUFFIX:function(){return s},RSC_SEGMENTS_DIR_SUFFIX:function(){return u},RSC_SEGMENT_SUFFIX:function(){return l},RSC_SUFFIX:function(){return c},SERVER_PROPS_EXPORT_ERROR:function(){return V},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return U},SERVER_PROPS_SSG_CONFLICT:function(){return H},SERVER_RUNTIME:function(){return J},SSG_FALLBACK_EXPORT_ERROR:function(){return Y},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return B},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return F},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return q},WEBPACK_LAYERS:function(){return Z},WEBPACK_RESOURCE_QUERIES:function(){return ee}});let r="nxtP",n="nxtI",a="x-matched-path",o="x-prerender-revalidate",i="x-prerender-revalidate-if-generated",s=".prefetch.rsc",u=".segments",l=".segment.rsc",c=".rsc",d=".action",f=".json",p=".meta",h=".body",g="x-next-cache-tags",_="x-next-revalidated-tags",m="x-next-revalidate-tag-token",y="next-resume",v=128,b=256,E=1024,S="_N_T_",O=31536e3,R=0xfffffffe,P="middleware",T=`(?:src/)?${P}`,N="instrumentation",A="private-next-pages",C="private-dot-next",x="private-next-root-dir",w="private-next-app-dir",D="next/dist/build/webpack/loaders/next-flight-loader/module-proxy",I="private-next-rsc-action-validate",M="private-next-rsc-server-reference",j="private-next-rsc-cache-wrapper",L="private-next-rsc-action-encryption",k="private-next-rsc-action-client-wrapper",G="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",B="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",U="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",H="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",F="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",V="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",$="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",X="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",q="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",K="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",W='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',Y="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",z=["app","pages","components","lib","src"],J={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},Q={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},Z={...Q,GROUP:{builtinReact:[Q.reactServerComponents,Q.actionBrowser],serverOnly:[Q.reactServerComponents,Q.actionBrowser,Q.instrument,Q.middleware],neutralTarget:[Q.apiNode,Q.apiEdge],clientOnly:[Q.serverSideRendering,Q.appPagesBrowser],bundled:[Q.reactServerComponents,Q.actionBrowser,Q.serverSideRendering,Q.appPagesBrowser,Q.shared,Q.instrument,Q.middleware],appPages:[Q.reactServerComponents,Q.serverSideRendering,Q.appPagesBrowser,Q.actionBrowser]}},ee={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},47348:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return a}});let n=r(18631);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return""+t+r+a+o}},47866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ENCODED_TAGS",{enumerable:!0,get:function(){return r}});let r={OPENING:{HTML:new Uint8Array([60,104,116,109,108]),BODY:new Uint8Array([60,98,111,100,121])},CLOSED:{HEAD:new Uint8Array([60,47,104,101,97,100,62]),BODY:new Uint8Array([60,47,98,111,100,121,62]),HTML:new Uint8Array([60,47,104,116,109,108,62]),BODY_AND_HTML:new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62])}}},47912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fromNodeOutgoingHttpHeaders:function(){return a},normalizeNextQueryParam:function(){return u},splitCookiesString:function(){return o},toNodeOutgoingHttpHeaders:function(){return i},validateURL:function(){return s}});let n=r(46143);function a(e){let t=new Headers;for(let[r,n]of Object.entries(e))for(let e of Array.isArray(n)?n:[n])void 0!==e&&("number"==typeof e&&(e=e.toString()),t.append(r,e));return t}function o(e){var t,r,n,a,o,i=[],s=0;function u(){for(;s=e.length)&&i.push(e.substring(t,e.length))}return i}function i(e){let t={},r=[];if(e)for(let[n,a]of e.entries())"set-cookie"===n.toLowerCase()?(r.push(...o(a)),t[n]=1===r.length?r[0]:r):t[n]=a;return t}function s(e){try{return String(new URL(String(e)))}catch(t){throw Object.defineProperty(Error(`URL is malformed "${String(e)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:t}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function u(e){for(let t of[n.NEXT_QUERY_PARAM_PREFIX,n.NEXT_INTERCEPTION_MARKER_PREFIX])if(e!==t&&e.startsWith(t))return e.substring(t.length);return null}},48088:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouteKind",{enumerable:!0,get:function(){return r}});var r=function(e){return e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE",e}({})},48737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Batcher",{enumerable:!0,get:function(){return a}});let n=r(90366);class a{constructor(e,t=e=>e()){this.cacheKeyFn=e,this.schedulerFn=t,this.pending=new Map}static create(e){return new a(null==e?void 0:e.cacheKeyFn,null==e?void 0:e.schedulerFn)}async batch(e,t){let r=this.cacheKeyFn?await this.cacheKeyFn(e):e;if(null===r)return t(r,Promise.resolve);let a=this.pending.get(r);if(a)return a;let{promise:o,resolve:i,reject:s}=new n.DetachedPromise;return this.pending.set(r,o),this.schedulerFn(async()=>{try{let e=await t(r,i);i(e)}catch(e){s(e)}finally{this.pending.delete(r)}}),o}}},59098:(e,t)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isThenable",{enumerable:!0,get:function(){return r}})},59229:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=r(2829);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},61076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getClientComponentLoaderMetrics:function(){return i},wrapClientComponentLoader:function(){return o}});let r=0,n=0,a=0;function o(e){return"performance"in globalThis?{require:(...t)=>{let o=performance.now();0===r&&(r=o);try{return a+=1,e.__next_app__.require(...t)}finally{n+=performance.now()-o}},loadChunk:(...t)=>{let r=performance.now(),a=e.__next_app__.loadChunk(...t);return a.finally(()=>{n+=performance.now()-r}),a}}:e.__next_app__}function i(e={}){let t=0===r?void 0:{clientComponentLoadStart:r,clientComponentLoadTimes:n,clientComponentLoadCount:a};return e.reset&&(r=0,n=0,a=0),t}},61120:(e,t,r)=>{"use strict";e.exports=r(65239).vendored["react-rsc"].React},65239:(e,t,r)=>{"use strict";e.exports=r(10846)},66608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NextURL",{enumerable:!0,get:function(){return c}});let n=r(43828),a=r(37853),o=r(91314),i=r(39938),s=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function u(e,t){return new URL(String(e).replace(s,"localhost"),t&&String(t).replace(s,"localhost"))}let l=Symbol("NextURLInternal");class c{constructor(e,t,r){let n,a;"object"==typeof t&&"pathname"in t||"string"==typeof t?(n=t,a=r||{}):a=r||t||{},this[l]={url:u(e,n??a.base),options:a,basePath:""},this.analyze()}analyze(){var e,t,r,a,s;let u=(0,i.getNextPathnameInfo)(this[l].url.pathname,{nextConfig:this[l].options.nextConfig,parseData:!0,i18nProvider:this[l].options.i18nProvider}),c=(0,o.getHostname)(this[l].url,this[l].options.headers);this[l].domainLocale=this[l].options.i18nProvider?this[l].options.i18nProvider.detectDomainLocale(c):(0,n.detectDomainLocale)(null==(t=this[l].options.nextConfig)||null==(e=t.i18n)?void 0:e.domains,c);let d=(null==(r=this[l].domainLocale)?void 0:r.defaultLocale)||(null==(s=this[l].options.nextConfig)||null==(a=s.i18n)?void 0:a.defaultLocale);this[l].url.pathname=u.pathname,this[l].defaultLocale=d,this[l].basePath=u.basePath??"",this[l].buildId=u.buildId,this[l].locale=u.locale??d,this[l].trailingSlash=u.trailingSlash}formatPathname(){return(0,a.formatNextPathnameInfo)({basePath:this[l].basePath,buildId:this[l].buildId,defaultLocale:this[l].options.forceLocale?void 0:this[l].defaultLocale,locale:this[l].locale,pathname:this[l].url.pathname,trailingSlash:this[l].trailingSlash})}formatSearch(){return this[l].url.search}get buildId(){return this[l].buildId}set buildId(e){this[l].buildId=e}get locale(){return this[l].locale??""}set locale(e){var t,r;if(!this[l].locale||!(null==(r=this[l].options.nextConfig)||null==(t=r.i18n)?void 0:t.locales.includes(e)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${e}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[l].locale=e}get defaultLocale(){return this[l].defaultLocale}get domainLocale(){return this[l].domainLocale}get searchParams(){return this[l].url.searchParams}get host(){return this[l].url.host}set host(e){this[l].url.host=e}get hostname(){return this[l].url.hostname}set hostname(e){this[l].url.hostname=e}get port(){return this[l].url.port}set port(e){this[l].url.port=e}get protocol(){return this[l].url.protocol}set protocol(e){this[l].url.protocol=e}get href(){let e=this.formatPathname(),t=this.formatSearch();return`${this.protocol}//${this.host}${e}${t}${this.hash}`}set href(e){this[l].url=u(e),this.analyze()}get origin(){return this[l].url.origin}get pathname(){return this[l].url.pathname}set pathname(e){this[l].url.pathname=e}get hash(){return this[l].url.hash}set hash(e){this[l].url.hash=e}get search(){return this[l].url.search}set search(e){this[l].url.search=e}get password(){return this[l].url.password}set password(e){this[l].url.password=e}get username(){return this[l].url.username}set username(e){this[l].url.username=e}get basePath(){return this[l].basePath}set basePath(e){this[l].basePath=e.startsWith("/")?e:`/${e}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new c(String(this),this[l].options)}}},67625:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{METADATA_BOUNDARY_NAME:function(){return r},OUTLET_BOUNDARY_NAME:function(){return a},VIEWPORT_BOUNDARY_NAME:function(){return n}});let r="__next_metadata_boundary__",n="__next_viewport_boundary__",a="__next_outlet_boundary__"},67778:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(77855),a=r(42471);class o{static fromStatic(e){return new o(e,{metadata:{}})}constructor(e,{contentType:t,waitUntil:r,metadata:n}){this.response=e,this.contentType=t,this.metadata=n,this.waitUntil=r}assignMetadata(e){Object.assign(this.metadata,e)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedBuffer(e=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NEXT_ERROR_CODE",{value:"E274",enumerable:!1,configurable:!0});if("string"!=typeof this.response){if(!e)throw Object.defineProperty(Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E81",enumerable:!1,configurable:!0});return(0,n.streamToBuffer)(this.readable)}return Buffer.from(this.response)}toUnchunkedString(e=!1){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be unchunked"),"__NEXT_ERROR_CODE",{value:"E274",enumerable:!1,configurable:!0});if("string"!=typeof this.response){if(!e)throw Object.defineProperty(Error("Invariant: dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E81",enumerable:!1,configurable:!0});return(0,n.streamToString)(this.readable)}return this.response}get readable(){if(null===this.response)throw Object.defineProperty(Error("Invariant: null responses cannot be streamed"),"__NEXT_ERROR_CODE",{value:"E14",enumerable:!1,configurable:!0});if("string"==typeof this.response)throw Object.defineProperty(Error("Invariant: static responses cannot be streamed"),"__NEXT_ERROR_CODE",{value:"E151",enumerable:!1,configurable:!0});return Buffer.isBuffer(this.response)?(0,n.streamFromBuffer)(this.response):Array.isArray(this.response)?(0,n.chainStreams)(...this.response):this.response}chain(e){let t;if(null===this.response)throw Object.defineProperty(Error("Invariant: response is null. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E258",enumerable:!1,configurable:!0});(t="string"==typeof this.response?[(0,n.streamFromString)(this.response)]:Array.isArray(this.response)?this.response:Buffer.isBuffer(this.response)?[(0,n.streamFromBuffer)(this.response)]:[this.response]).push(e),this.response=t}async pipeTo(e){try{await this.readable.pipeTo(e,{preventClose:!0}),this.waitUntil&&await this.waitUntil,await e.close()}catch(t){if((0,a.isAbortError)(t))return void await e.abort(t);throw t}}async pipeToNodeResponse(e){await (0,a.pipeToNodeResponse)(this.readable,e,this.waitUntil)}}},68388:(e,t)=>{"use strict";function r(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isHangingPromiseRejectionError:function(){return r},makeHangingPromise:function(){return i}});let n="HANGING_PROMISE_REJECTION";class a extends Error{constructor(e){super(`During prerendering, ${e} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${e} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context.`),this.expression=e,this.digest=n}}let o=new WeakMap;function i(e,t){if(e.aborted)return Promise.reject(new a(t));{let r=new Promise((r,n)=>{let i=n.bind(null,new a(t)),s=o.get(e);if(s)s.push(i);else{let t=[i];o.set(e,t),e.addEventListener("abort",()=>{for(let e=0;e{"use strict";function r(e,t){if(0===t.length)return 0;if(0===e.length||t.length>e.length)return -1;for(let r=0;r<=e.length-t.length;r++){let n=!0;for(let a=0;a-1))return e;{let r=new Uint8Array(e.length-t.length);return r.set(e.slice(0,n)),r.set(e.slice(n+t.length),n),r}}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{indexOfUint8Array:function(){return r},isEquivalentUint8Arrays:function(){return n},removeFromUint8Array:function(){return a}})},70635:e=>{"use strict";var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};function i(e){var t;let r=["path"in e&&e.path&&`Path=${e.path}`,"expires"in e&&(e.expires||0===e.expires)&&`Expires=${("number"==typeof e.expires?new Date(e.expires):e.expires).toUTCString()}`,"maxAge"in e&&"number"==typeof e.maxAge&&`Max-Age=${e.maxAge}`,"domain"in e&&e.domain&&`Domain=${e.domain}`,"secure"in e&&e.secure&&"Secure","httpOnly"in e&&e.httpOnly&&"HttpOnly","sameSite"in e&&e.sameSite&&`SameSite=${e.sameSite}`,"partitioned"in e&&e.partitioned&&"Partitioned","priority"in e&&e.priority&&`Priority=${e.priority}`].filter(Boolean),n=`${e.name}=${encodeURIComponent(null!=(t=e.value)?t:"")}`;return 0===r.length?n:`${n}; ${r.join("; ")}`}function s(e){let t=new Map;for(let r of e.split(/; */)){if(!r)continue;let e=r.indexOf("=");if(-1===e){t.set(r,"true");continue}let[n,a]=[r.slice(0,e),r.slice(e+1)];try{t.set(n,decodeURIComponent(null!=a?a:"true"))}catch{}}return t}function u(e){if(!e)return;let[[t,r],...n]=s(e),{domain:a,expires:o,httponly:i,maxage:u,path:d,samesite:f,secure:p,partitioned:h,priority:g}=Object.fromEntries(n.map(([e,t])=>[e.toLowerCase().replace(/-/g,""),t]));{var _,m,y={name:t,value:decodeURIComponent(r),domain:a,...o&&{expires:new Date(o)},...i&&{httpOnly:!0},..."string"==typeof u&&{maxAge:Number(u)},path:d,...f&&{sameSite:l.includes(_=(_=f).toLowerCase())?_:void 0},...p&&{secure:!0},...g&&{priority:c.includes(m=(m=g).toLowerCase())?m:void 0},...h&&{partitioned:!0}};let e={};for(let t in y)y[t]&&(e[t]=y[t]);return e}}((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(o,{RequestCookies:()=>d,ResponseCookies:()=>f,parseCookie:()=>s,parseSetCookie:()=>u,stringifyCookie:()=>i}),e.exports=((e,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let u of n(o))a.call(e,u)||u===i||t(e,u,{get:()=>o[u],enumerable:!(s=r(o,u))||s.enumerable});return e})(t({},"__esModule",{value:!0}),o);var l=["strict","lax","none"],c=["low","medium","high"],d=class{constructor(e){this._parsed=new Map,this._headers=e;let t=e.get("cookie");if(t)for(let[e,r]of s(t))this._parsed.set(e,{name:e,value:r})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed);if(!e.length)return r.map(([e,t])=>t);let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(([e])=>e===n).map(([e,t])=>t)}has(e){return this._parsed.has(e)}set(...e){let[t,r]=1===e.length?[e[0].name,e[0].value]:e,n=this._parsed;return n.set(t,{name:t,value:r}),this._headers.set("cookie",Array.from(n).map(([e,t])=>i(t)).join("; ")),this}delete(e){let t=this._parsed,r=Array.isArray(e)?e.map(e=>t.delete(e)):t.delete(e);return this._headers.set("cookie",Array.from(t).map(([e,t])=>i(t)).join("; ")),r}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(e=>`${e.name}=${encodeURIComponent(e.value)}`).join("; ")}},f=class{constructor(e){var t,r,n;this._parsed=new Map,this._headers=e;let a=null!=(n=null!=(r=null==(t=e.getSetCookie)?void 0:t.call(e))?r:e.get("set-cookie"))?n:[];for(let e of Array.isArray(a)?a:function(e){if(!e)return[];var t,r,n,a,o,i=[],s=0;function u(){for(;s=e.length)&&i.push(e.substring(t,e.length))}return i}(a)){let t=u(e);t&&this._parsed.set(t.name,t)}}get(...e){let t="string"==typeof e[0]?e[0]:e[0].name;return this._parsed.get(t)}getAll(...e){var t;let r=Array.from(this._parsed.values());if(!e.length)return r;let n="string"==typeof e[0]?e[0]:null==(t=e[0])?void 0:t.name;return r.filter(e=>e.name===n)}has(e){return this._parsed.has(e)}set(...e){let[t,r,n]=1===e.length?[e[0].name,e[0].value,e[0]]:e,a=this._parsed;return a.set(t,function(e={name:"",value:""}){return"number"==typeof e.expires&&(e.expires=new Date(e.expires)),e.maxAge&&(e.expires=new Date(Date.now()+1e3*e.maxAge)),(null===e.path||void 0===e.path)&&(e.path="/"),e}({name:t,value:r,...n})),function(e,t){for(let[,r]of(t.delete("set-cookie"),e)){let e=i(r);t.append("set-cookie",e)}}(a,this._headers),this}delete(...e){let[t,r]="string"==typeof e[0]?[e[0]]:[e[0].name,e[0]];return this.set({...r,name:t,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(i).join("; ")}}},71617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InvariantError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e,t){super("Invariant: "+(e.endsWith(".")?e:e+".")+" This is a bug in Next.js.",t),this.name="InvariantError"}}},72609:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{describeHasCheckingStringProperty:function(){return a},describeStringPropertyAccess:function(){return n},wellKnownProperties:function(){return o}});let r=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function n(e,t){return r.test(t)?"`"+e+"."+t+"`":"`"+e+"["+JSON.stringify(t)+"]`"}function a(e,t){let r=JSON.stringify(t);return"`Reflect.has("+e+", "+r+")`, `"+r+" in "+e+"`, or similar"}let o=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","toJSON","$$typeof","__esModule"])},72887:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},76268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERNALS:function(){return s},NextRequest:function(){return u}});let n=r(66608),a=r(47912),o=r(43611),i=r(23158),s=Symbol("internal request");class u extends Request{constructor(e,t={}){let r="string"!=typeof e&&"url"in e?e.url:String(e);(0,a.validateURL)(r),t.body&&"half"!==t.duplex&&(t.duplex="half"),e instanceof Request?super(e,t):super(r,t);let o=new n.NextURL(r,{headers:(0,a.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:t.nextConfig});this[s]={cookies:new i.RequestCookies(this.headers),nextUrl:o,url:o.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[s].cookies}get nextUrl(){return this[s].nextUrl}get page(){throw new o.RemovedPageError}get ua(){throw new o.RemovedUAError}get url(){return this[s].url}}},77855:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{chainStreams:function(){return f},continueDynamicHTMLResume:function(){return N},continueDynamicPrerender:function(){return P},continueFizzStream:function(){return R},continueStaticPrerender:function(){return T},createBufferedTransformStream:function(){return m},createDocumentClosingStream:function(){return A},createRootLayoutValidatorStream:function(){return O},renderToInitialFizzStream:function(){return y},streamFromBuffer:function(){return h},streamFromString:function(){return p},streamToBuffer:function(){return g},streamToString:function(){return _}});let n=r(81289),a=r(14823),o=r(90366),i=r(44523),s=r(47866),u=r(68684),l=r(4113);function c(){}let d=new TextEncoder;function f(...e){if(0===e.length)throw Object.defineProperty(Error("Invariant: chainStreams requires at least one stream"),"__NEXT_ERROR_CODE",{value:"E437",enumerable:!1,configurable:!0});if(1===e.length)return e[0];let{readable:t,writable:r}=new TransformStream,n=e[0].pipeTo(r,{preventClose:!0}),a=1;for(;at.pipeTo(r,{preventClose:!0}))}let o=e[a];return(n=n.then(()=>o.pipeTo(r))).catch(c),t}function p(e){return new ReadableStream({start(t){t.enqueue(d.encode(e)),t.close()}})}function h(e){return new ReadableStream({start(t){t.enqueue(e),t.close()}})}async function g(e){let t=e.getReader(),r=[];for(;;){let{done:e,value:n}=await t.read();if(e)break;r.push(n)}return Buffer.concat(r)}async function _(e,t){let r=new TextDecoder("utf-8",{fatal:!0}),n="";for await(let a of e){if(null==t?void 0:t.aborted)return n;n+=r.decode(a,{stream:!0})}return n+r.decode()}function m(){let e,t=[],r=0,n=n=>{if(e)return;let a=new o.DetachedPromise;e=a,(0,i.scheduleImmediate)(()=>{try{let e=new Uint8Array(r),a=0;for(let r=0;re.renderToReadableStream(t,r))}function v(e){let t=!1,r=!1;return new TransformStream({async transform(n,a){r=!0;let o=await e();if(t){if(o){let e=d.encode(o);a.enqueue(e)}a.enqueue(n)}else{let e=(0,u.indexOfUint8Array)(n,s.ENCODED_TAGS.CLOSED.HEAD);if(-1!==e){if(o){let t=d.encode(o),r=new Uint8Array(n.length+t.length);r.set(n.slice(0,e)),r.set(t,e),r.set(n.slice(e),e+t.length),a.enqueue(r)}else a.enqueue(n);t=!0}else o&&a.enqueue(d.encode(o)),a.enqueue(n),t=!0}},async flush(t){if(r){let r=await e();r&&t.enqueue(d.encode(r))}}})}function b(e){let t=null,r=!1;async function n(n){if(t)return;let a=e.getReader();await (0,i.atLeastOneTask)();try{for(;;){let{done:e,value:t}=await a.read();if(e){r=!0;return}n.enqueue(t)}}catch(e){n.error(e)}}return new TransformStream({transform(e,r){r.enqueue(e),t||(t=n(r))},flush(e){if(!r)return t||n(e)}})}let E="";function S(){let e=!1;return new TransformStream({transform(t,r){if(e)return r.enqueue(t);let n=(0,u.indexOfUint8Array)(t,s.ENCODED_TAGS.CLOSED.BODY_AND_HTML);if(n>-1){if(e=!0,t.length===s.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length)return;let a=t.slice(0,n);if(r.enqueue(a),t.length>s.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length+n){let e=t.slice(n+s.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);r.enqueue(e)}}else r.enqueue(t)},flush(e){e.enqueue(s.ENCODED_TAGS.CLOSED.BODY_AND_HTML)}})}function O(){let e=!1,t=!1;return new TransformStream({async transform(r,n){!e&&(0,u.indexOfUint8Array)(r,s.ENCODED_TAGS.OPENING.HTML)>-1&&(e=!0),!t&&(0,u.indexOfUint8Array)(r,s.ENCODED_TAGS.OPENING.BODY)>-1&&(t=!0),n.enqueue(r)},flush(r){let n=[];e||n.push("html"),t||n.push("body"),n.length&&r.enqueue(d.encode(` - - `))}})}async function R(e,{suffix:t,inlinedDataStream:r,isStaticGeneration:n,getServerInsertedHTML:a,getServerInsertedMetadata:s,validateRootLayout:u}){let l=t?t.split(E,1)[0]:null;n&&"allReady"in e&&await e.allReady;var c=[m(),v(s),null!=l&&l.length>0?function(e){let t,r=!1,n=r=>{let n=new o.DetachedPromise;t=n,(0,i.scheduleImmediate)(()=>{try{r.enqueue(d.encode(e))}catch{}finally{t=void 0,n.resolve()}})};return new TransformStream({transform(e,t){t.enqueue(e),r||(r=!0,n(t))},flush(n){if(t)return t.promise;r||n.enqueue(d.encode(e))}})}(l):null,r?b(r):null,u?O():null,S(),v(a)];let f=e;for(let e of c)e&&(f=f.pipeThrough(e));return f}async function P(e,{getServerInsertedHTML:t,getServerInsertedMetadata:r}){return e.pipeThrough(m()).pipeThrough(new TransformStream({transform(e,t){(0,u.isEquivalentUint8Arrays)(e,s.ENCODED_TAGS.CLOSED.BODY_AND_HTML)||(0,u.isEquivalentUint8Arrays)(e,s.ENCODED_TAGS.CLOSED.BODY)||(0,u.isEquivalentUint8Arrays)(e,s.ENCODED_TAGS.CLOSED.HTML)||(e=(0,u.removeFromUint8Array)(e,s.ENCODED_TAGS.CLOSED.BODY),e=(0,u.removeFromUint8Array)(e,s.ENCODED_TAGS.CLOSED.HTML),t.enqueue(e))}})).pipeThrough(v(t)).pipeThrough(v(r))}async function T(e,{inlinedDataStream:t,getServerInsertedHTML:r,getServerInsertedMetadata:n}){return e.pipeThrough(m()).pipeThrough(v(r)).pipeThrough(v(n)).pipeThrough(b(t)).pipeThrough(S())}async function N(e,{inlinedDataStream:t,getServerInsertedHTML:r,getServerInsertedMetadata:n}){return e.pipeThrough(m()).pipeThrough(v(r)).pipeThrough(v(n)).pipeThrough(b(t)).pipeThrough(S())}function A(){return p(E)}},80023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{StaticGenBailoutError:function(){return n},isStaticGenBailoutError:function(){return a}});let r="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=r}}function a(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81289:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BubbledError:function(){return f},SpanKind:function(){return c},SpanStatusCode:function(){return l},getTracer:function(){return E},isBubbledError:function(){return p}});let a=r(14823),o=r(59098);try{n=r(92665)}catch(e){n=r(92665)}let{context:i,propagation:s,trace:u,SpanStatusCode:l,SpanKind:c,ROOT_CONTEXT:d}=n;class f extends Error{constructor(e,t){super(),this.bubble=e,this.result=t}}function p(e){return"object"==typeof e&&null!==e&&e instanceof f}let h=(e,t)=>{p(t)&&t.bubble?e.setAttribute("next.bubble",!0):(t&&e.recordException(t),e.setStatus({code:l.ERROR,message:null==t?void 0:t.message})),e.end()},g=new Map,_=n.createContextKey("next.rootSpanId"),m=0,y=()=>m++,v={set(e,t,r){e.push({key:t,value:r})}};class b{getTracerInstance(){return u.getTracer("next.js","0.0.1")}getContext(){return i}getTracePropagationData(){let e=i.active(),t=[];return s.inject(e,t,v),t}getActiveScopeSpan(){return u.getSpan(null==i?void 0:i.active())}withPropagatedContext(e,t,r){let n=i.active();if(u.getSpanContext(n))return t();let a=s.extract(n,e,r);return i.with(a,t)}trace(...e){var t;let[r,n,s]=e,{fn:l,options:c}="function"==typeof n?{fn:n,options:{}}:{fn:s,options:{...n}},f=c.spanName??r;if(!a.NextVanillaSpanAllowlist.includes(r)&&"1"!==process.env.NEXT_OTEL_VERBOSE||c.hideSpan)return l();let p=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan()),m=!1;p?(null==(t=u.getSpanContext(p))?void 0:t.isRemote)&&(m=!0):(p=(null==i?void 0:i.active())??d,m=!0);let v=y();return c.attributes={"next.span_name":f,"next.span_type":r,...c.attributes},i.with(p.setValue(_,v),()=>this.getTracerInstance().startActiveSpan(f,c,e=>{let t="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0,n=()=>{g.delete(v),t&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&a.LogSpanAllowList.includes(r||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(r.split(".").pop()||"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}`,{start:t,end:performance.now()})};m&&g.set(v,new Map(Object.entries(c.attributes??{})));try{if(l.length>1)return l(e,t=>h(e,t));let t=l(e);if((0,o.isThenable)(t))return t.then(t=>(e.end(),t)).catch(t=>{throw h(e,t),t}).finally(n);return e.end(),n(),t}catch(t){throw h(e,t),n(),t}}))}wrap(...e){let t=this,[r,n,o]=3===e.length?e:[e[0],{},e[1]];return a.NextVanillaSpanAllowlist.includes(r)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let e=n;"function"==typeof e&&"function"==typeof o&&(e=e.apply(this,arguments));let a=arguments.length-1,s=arguments[a];if("function"!=typeof s)return t.trace(r,e,()=>o.apply(this,arguments));{let n=t.getContext().bind(i.active(),s);return t.trace(r,e,(e,t)=>(arguments[a]=function(e){return null==t||t(e),n.apply(this,arguments)},o.apply(this,arguments)))}}:o}startSpan(...e){let[t,r]=e,n=this.getSpanContext((null==r?void 0:r.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(t,r,n)}getSpanContext(e){return e?u.setSpan(i.active(),e):void 0}getRootSpanAttributes(){let e=i.active().getValue(_);return g.get(e)}setRootSpanAttribute(e,t){let r=i.active().getValue(_),n=g.get(r);n&&n.set(e,t)}}let E=(()=>{let e=new b;return()=>e})()},81856:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fromResponseCacheEntry:function(){return i},routeKindToIncrementalCacheKind:function(){return u},toResponseCacheEntry:function(){return s}});let n=r(40980),a=function(e){return e&&e.__esModule?e:{default:e}}(r(67778)),o=r(48088);async function i(e){var t,r;return{...e,value:(null==(t=e.value)?void 0:t.kind)===n.CachedRouteKind.PAGES?{kind:n.CachedRouteKind.PAGES,html:await e.value.html.toUnchunkedString(!0),pageData:e.value.pageData,headers:e.value.headers,status:e.value.status}:(null==(r=e.value)?void 0:r.kind)===n.CachedRouteKind.APP_PAGE?{kind:n.CachedRouteKind.APP_PAGE,html:await e.value.html.toUnchunkedString(!0),postponed:e.value.postponed,rscData:e.value.rscData,headers:e.value.headers,status:e.value.status,segmentData:e.value.segmentData}:e.value}}async function s(e){var t,r;return e?{isMiss:e.isMiss,isStale:e.isStale,cacheControl:e.cacheControl,isFallback:e.isFallback,value:(null==(t=e.value)?void 0:t.kind)===n.CachedRouteKind.PAGES?{kind:n.CachedRouteKind.PAGES,html:a.default.fromStatic(e.value.html),pageData:e.value.pageData,headers:e.value.headers,status:e.value.status}:(null==(r=e.value)?void 0:r.kind)===n.CachedRouteKind.APP_PAGE?{kind:n.CachedRouteKind.APP_PAGE,html:a.default.fromStatic(e.value.html),rscData:e.value.rscData,headers:e.value.headers,status:e.value.status,postponed:e.value.postponed,segmentData:e.value.segmentData}:e.value}:null}function u(e){switch(e){case o.RouteKind.PAGES:return n.IncrementalCacheKind.PAGES;case o.RouteKind.APP_PAGE:return n.IncrementalCacheKind.APP_PAGE;case o.RouteKind.IMAGE:return n.IncrementalCacheKind.IMAGE;case o.RouteKind.APP_ROUTE:return n.IncrementalCacheKind.APP_ROUTE;default:throw Object.defineProperty(Error(`Unexpected route kind ${e}`),"__NEXT_ERROR_CODE",{value:"E64",enumerable:!1,configurable:!0})}}},84971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Postpone:function(){return R},abortAndThrowOnSynchronousRequestDataAccess:function(){return S},abortOnSynchronousPlatformIOAccess:function(){return b},accessedDynamicData:function(){return D},annotateDynamicAccess:function(){return G},consumeDynamicAccess:function(){return I},createDynamicTrackingState:function(){return f},createDynamicValidationState:function(){return p},createHangingInputAbortSignal:function(){return k},createPostponedAbortSignal:function(){return L},formatDynamicAPIAccesses:function(){return M},getFirstDynamicReason:function(){return h},isDynamicPostpone:function(){return N},isPrerenderInterruptedError:function(){return w},markCurrentScopeAsDynamic:function(){return g},postponeWithTracking:function(){return P},throwIfDisallowedDynamic:function(){return X},throwToInterruptStaticGeneration:function(){return m},trackAllowedDynamicAccess:function(){return $},trackDynamicDataInDynamicRender:function(){return y},trackFallbackParamAccessed:function(){return _},trackSynchronousPlatformIOAccessInDev:function(){return E},trackSynchronousRequestDataAccessInDev:function(){return O},useDynamicRouteParams:function(){return B}});let n=function(e){return e&&e.__esModule?e:{default:e}}(r(61120)),a=r(98479),o=r(80023),i=r(63033),s=r(29294),u=r(68388),l=r(67625),c=r(44523),d="function"==typeof n.default.unstable_postpone;function f(e){return{isDebugDynamicAccesses:e,dynamicAccesses:[],syncDynamicExpression:void 0,syncDynamicErrorWithStack:null}}function p(){return{hasSuspendedDynamic:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasSyncDynamicErrors:!1,dynamicErrors:[]}}function h(e){var t;return null==(t=e.dynamicAccesses[0])?void 0:t.expression}function g(e,t,r){if((!t||"cache"!==t.type&&"unstable-cache"!==t.type)&&!e.forceDynamic&&!e.forceStatic){if(e.dynamicShouldError)throw Object.defineProperty(new o.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${r}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(t){if("prerender-ppr"===t.type)P(e.route,r,t.dynamicTracking);else if("prerender-legacy"===t.type){t.revalidate=0;let n=Object.defineProperty(new a.DynamicServerError(`Route ${e.route} couldn't be rendered statically because it used ${r}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw e.dynamicUsageDescription=r,e.dynamicUsageStack=n.stack,n}}}}function _(e,t){let r=i.workUnitAsyncStorage.getStore();r&&"prerender-ppr"===r.type&&P(e.route,t,r.dynamicTracking)}function m(e,t,r){let n=Object.defineProperty(new a.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw r.revalidate=0,t.dynamicUsageDescription=e,t.dynamicUsageStack=n.stack,n}function y(e,t){t&&"cache"!==t.type&&"unstable-cache"!==t.type&&("prerender"===t.type||"prerender-legacy"===t.type)&&(t.revalidate=0)}function v(e,t,r){let n=x(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`);r.controller.abort(n);let a=r.dynamicTracking;a&&a.dynamicAccesses.push({stack:a.isDebugDynamicAccesses?Error().stack:void 0,expression:t})}function b(e,t,r,n){let a=n.dynamicTracking;a&&null===a.syncDynamicErrorWithStack&&(a.syncDynamicExpression=t,a.syncDynamicErrorWithStack=r),v(e,t,n)}function E(e){e.prerenderPhase=!1}function S(e,t,r,n){if(!1===n.controller.signal.aborted){let a=n.dynamicTracking;a&&null===a.syncDynamicErrorWithStack&&(a.syncDynamicExpression=t,a.syncDynamicErrorWithStack=r,!0===n.validating&&(a.syncDynamicLogged=!0)),v(e,t,n)}throw x(`Route ${e} needs to bail out of prerendering at this point because it used ${t}.`)}let O=E;function R({reason:e,route:t}){let r=i.workUnitAsyncStorage.getStore();P(t,e,r&&"prerender-ppr"===r.type?r.dynamicTracking:null)}function P(e,t,r){j(),r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:t}),n.default.unstable_postpone(T(e,t))}function T(e,t){return`Route ${e} needs to bail out of prerendering at this point because it used ${t}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function N(e){return"object"==typeof e&&null!==e&&"string"==typeof e.message&&A(e.message)}function A(e){return e.includes("needs to bail out of prerendering at this point because it used")&&e.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===A(T("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let C="NEXT_PRERENDER_INTERRUPTED";function x(e){let t=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t.digest=C,t}function w(e){return"object"==typeof e&&null!==e&&e.digest===C&&"name"in e&&"message"in e&&e instanceof Error}function D(e){return e.length>0}function I(e,t){return e.dynamicAccesses.push(...t.dynamicAccesses),e.dynamicAccesses}function M(e){return e.filter(e=>"string"==typeof e.stack&&e.stack.length>0).map(({expression:e,stack:t})=>(t=t.split("\n").slice(4).filter(e=>!(e.includes("node_modules/next/")||e.includes(" ()")||e.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${e}: -${t}`))}function j(){if(!d)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})}function L(e){j();let t=new AbortController;try{n.default.unstable_postpone(e)}catch(e){t.abort(e)}return t.signal}function k(e){let t=new AbortController;return e.cacheSignal?e.cacheSignal.inputReady().then(()=>{t.abort()}):(0,c.scheduleOnNextTick)(()=>t.abort()),t.signal}function G(e,t){let r=t.dynamicTracking;r&&r.dynamicAccesses.push({stack:r.isDebugDynamicAccesses?Error().stack:void 0,expression:e})}function B(e){let t=s.workAsyncStorage.getStore();if(t&&t.isStaticGeneration&&t.fallbackRouteParams&&t.fallbackRouteParams.size>0){let r=i.workUnitAsyncStorage.getStore();r&&("prerender"===r.type?n.default.use((0,u.makeHangingPromise)(r.renderSignal,e)):"prerender-ppr"===r.type?P(t.route,e,r.dynamicTracking):"prerender-legacy"===r.type&&m(e,t,r))}}let U=/\n\s+at Suspense \(\)/,H=RegExp(`\\n\\s+at ${l.METADATA_BOUNDARY_NAME}[\\n\\s]`),F=RegExp(`\\n\\s+at ${l.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),V=RegExp(`\\n\\s+at ${l.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function $(e,t,r,n,a){if(!V.test(t)){if(H.test(t)){r.hasDynamicMetadata=!0;return}if(F.test(t)){r.hasDynamicViewport=!0;return}if(U.test(t)){r.hasSuspendedDynamic=!0;return}else if(n.syncDynamicErrorWithStack||a.syncDynamicErrorWithStack){r.hasSyncDynamicErrors=!0;return}else{let n=function(e,t){let r=Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r.stack="Error: "+e+t,r}(`Route "${e}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. We don't have the exact line number added to error messages yet but you can see which component in the stack below. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,t);r.dynamicErrors.push(n);return}}}function X(e,t,r,n){let a,i,s;if(r.syncDynamicErrorWithStack?(a=r.syncDynamicErrorWithStack,i=r.syncDynamicExpression,s=!0===r.syncDynamicLogged):n.syncDynamicErrorWithStack?(a=n.syncDynamicErrorWithStack,i=n.syncDynamicExpression,s=!0===n.syncDynamicLogged):(a=null,i=void 0,s=!1),t.hasSyncDynamicErrors&&a)throw s||console.error(a),new o.StaticGenBailoutError;let u=t.dynamicErrors;if(u.length){for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DetachedPromise",{enumerable:!0,get:function(){return r}});class r{constructor(){let e,t;this.promise=new Promise((r,n)=>{e=r,t=n}),this.resolve=e,this.reject=t}}},91314:(e,t)=>{"use strict";function r(e,t){let r;if((null==t?void 0:t.host)&&!Array.isArray(t.host))r=t.host.toString().split(":",1)[0];else{if(!e.hostname)return;r=e.hostname}return r.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getHostname",{enumerable:!0,get:function(){return r}})},92665:e=>{(()=>{"use strict";var t={491:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ContextAPI=void 0;let n=r(223),a=r(172),o=r(930),i="context",s=new n.NoopContextManager;class u{constructor(){}static getInstance(){return this._instance||(this._instance=new u),this._instance}setGlobalContextManager(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}active(){return this._getContextManager().active()}with(e,t,r,...n){return this._getContextManager().with(e,t,r,...n)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return(0,a.getGlobal)(i)||s}disable(){this._getContextManager().disable(),(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.ContextAPI=u},930:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagAPI=void 0;let n=r(56),a=r(912),o=r(957),i=r(172);class s{constructor(){function e(e){return function(...t){let r=(0,i.getGlobal)("diag");if(r)return r[e](...t)}}let t=this;t.setLogger=(e,r={logLevel:o.DiagLogLevel.INFO})=>{var n,s,u;if(e===t){let e=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!=(n=e.stack)?n:e.message),!1}"number"==typeof r&&(r={logLevel:r});let l=(0,i.getGlobal)("diag"),c=(0,a.createLogLevelDiagLogger)(null!=(s=r.logLevel)?s:o.DiagLogLevel.INFO,e);if(l&&!r.suppressOverrideMessage){let e=null!=(u=Error().stack)?u:"";l.warn(`Current logger will be overwritten from ${e}`),c.warn(`Current logger will overwrite one already registered from ${e}`)}return(0,i.registerGlobal)("diag",c,t,!0)},t.disable=()=>{(0,i.unregisterGlobal)("diag",t)},t.createComponentLogger=e=>new n.DiagComponentLogger(e),t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}static instance(){return this._instance||(this._instance=new s),this._instance}}t.DiagAPI=s},653:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MetricsAPI=void 0;let n=r(660),a=r(172),o=r(930),i="metrics";class s{constructor(){}static getInstance(){return this._instance||(this._instance=new s),this._instance}setGlobalMeterProvider(e){return(0,a.registerGlobal)(i,e,o.DiagAPI.instance())}getMeterProvider(){return(0,a.getGlobal)(i)||n.NOOP_METER_PROVIDER}getMeter(e,t,r){return this.getMeterProvider().getMeter(e,t,r)}disable(){(0,a.unregisterGlobal)(i,o.DiagAPI.instance())}}t.MetricsAPI=s},181:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PropagationAPI=void 0;let n=r(172),a=r(874),o=r(194),i=r(277),s=r(369),u=r(930),l="propagation",c=new a.NoopTextMapPropagator;class d{constructor(){this.createBaggage=s.createBaggage,this.getBaggage=i.getBaggage,this.getActiveBaggage=i.getActiveBaggage,this.setBaggage=i.setBaggage,this.deleteBaggage=i.deleteBaggage}static getInstance(){return this._instance||(this._instance=new d),this._instance}setGlobalPropagator(e){return(0,n.registerGlobal)(l,e,u.DiagAPI.instance())}inject(e,t,r=o.defaultTextMapSetter){return this._getGlobalPropagator().inject(e,t,r)}extract(e,t,r=o.defaultTextMapGetter){return this._getGlobalPropagator().extract(e,t,r)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,n.unregisterGlobal)(l,u.DiagAPI.instance())}_getGlobalPropagator(){return(0,n.getGlobal)(l)||c}}t.PropagationAPI=d},997:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceAPI=void 0;let n=r(172),a=r(846),o=r(139),i=r(607),s=r(930),u="trace";class l{constructor(){this._proxyTracerProvider=new a.ProxyTracerProvider,this.wrapSpanContext=o.wrapSpanContext,this.isSpanContextValid=o.isSpanContextValid,this.deleteSpan=i.deleteSpan,this.getSpan=i.getSpan,this.getActiveSpan=i.getActiveSpan,this.getSpanContext=i.getSpanContext,this.setSpan=i.setSpan,this.setSpanContext=i.setSpanContext}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalTracerProvider(e){let t=(0,n.registerGlobal)(u,this._proxyTracerProvider,s.DiagAPI.instance());return t&&this._proxyTracerProvider.setDelegate(e),t}getTracerProvider(){return(0,n.getGlobal)(u)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){(0,n.unregisterGlobal)(u,s.DiagAPI.instance()),this._proxyTracerProvider=new a.ProxyTracerProvider}}t.TraceAPI=l},277:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.deleteBaggage=t.setBaggage=t.getActiveBaggage=t.getBaggage=void 0;let n=r(491),a=(0,r(780).createContextKey)("OpenTelemetry Baggage Key");function o(e){return e.getValue(a)||void 0}t.getBaggage=o,t.getActiveBaggage=function(){return o(n.ContextAPI.getInstance().active())},t.setBaggage=function(e,t){return e.setValue(a,t)},t.deleteBaggage=function(e){return e.deleteValue(a)}},993:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaggageImpl=void 0;class r{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){let t=this._entries.get(e);if(t)return Object.assign({},t)}getAllEntries(){return Array.from(this._entries.entries()).map(([e,t])=>[e,t])}setEntry(e,t){let n=new r(this._entries);return n._entries.set(e,t),n}removeEntry(e){let t=new r(this._entries);return t._entries.delete(e),t}removeEntries(...e){let t=new r(this._entries);for(let r of e)t._entries.delete(r);return t}clear(){return new r}}t.BaggageImpl=r},830:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataSymbol=void 0,t.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.baggageEntryMetadataFromString=t.createBaggage=void 0;let n=r(930),a=r(993),o=r(830),i=n.DiagAPI.instance();t.createBaggage=function(e={}){return new a.BaggageImpl(new Map(Object.entries(e)))},t.baggageEntryMetadataFromString=function(e){return"string"!=typeof e&&(i.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:o.baggageEntryMetadataSymbol,toString:()=>e}}},67:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.context=void 0,t.context=r(491).ContextAPI.getInstance()},223:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopContextManager=void 0;let n=r(780);class a{active(){return n.ROOT_CONTEXT}with(e,t,r,...n){return t.call(r,...n)}bind(e,t){return t}enable(){return this}disable(){return this}}t.NoopContextManager=a},780:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT_CONTEXT=t.createContextKey=void 0,t.createContextKey=function(e){return Symbol.for(e)};class r{constructor(e){let t=this;t._currentContext=e?new Map(e):new Map,t.getValue=e=>t._currentContext.get(e),t.setValue=(e,n)=>{let a=new r(t._currentContext);return a._currentContext.set(e,n),a},t.deleteValue=e=>{let n=new r(t._currentContext);return n._currentContext.delete(e),n}}}t.ROOT_CONTEXT=new r},506:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.diag=void 0,t.diag=r(930).DiagAPI.instance()},56:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagComponentLogger=void 0;let n=r(172);class a{constructor(e){this._namespace=e.namespace||"DiagComponentLogger"}debug(...e){return o("debug",this._namespace,e)}error(...e){return o("error",this._namespace,e)}info(...e){return o("info",this._namespace,e)}warn(...e){return o("warn",this._namespace,e)}verbose(...e){return o("verbose",this._namespace,e)}}function o(e,t,r){let a=(0,n.getGlobal)("diag");if(a)return r.unshift(t),a[e](...r)}t.DiagComponentLogger=a},972:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagConsoleLogger=void 0;let r=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class n{constructor(){for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.createLogLevelDiagLogger=void 0;let n=r(957);t.createLogLevelDiagLogger=function(e,t){function r(r,n){let a=t[r];return"function"==typeof a&&e>=n?a.bind(t):function(){}}return en.DiagLogLevel.ALL&&(e=n.DiagLogLevel.ALL),t=t||{},{error:r("error",n.DiagLogLevel.ERROR),warn:r("warn",n.DiagLogLevel.WARN),info:r("info",n.DiagLogLevel.INFO),debug:r("debug",n.DiagLogLevel.DEBUG),verbose:r("verbose",n.DiagLogLevel.VERBOSE)}}},957:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DiagLogLevel=void 0,function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(t.DiagLogLevel||(t.DiagLogLevel={}))},172:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.unregisterGlobal=t.getGlobal=t.registerGlobal=void 0;let n=r(200),a=r(521),o=r(130),i=a.VERSION.split(".")[0],s=Symbol.for(`opentelemetry.js.api.${i}`),u=n._globalThis;t.registerGlobal=function(e,t,r,n=!1){var o;let i=u[s]=null!=(o=u[s])?o:{version:a.VERSION};if(!n&&i[e]){let t=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(t.stack||t.message),!1}if(i.version!==a.VERSION){let t=Error(`@opentelemetry/api: Registration of version v${i.version} for ${e} does not match previously registered API v${a.VERSION}`);return r.error(t.stack||t.message),!1}return i[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${a.VERSION}.`),!0},t.getGlobal=function(e){var t,r;let n=null==(t=u[s])?void 0:t.version;if(n&&(0,o.isCompatible)(n))return null==(r=u[s])?void 0:r[e]},t.unregisterGlobal=function(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${a.VERSION}.`);let r=u[s];r&&delete r[e]}},130:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isCompatible=t._makeCompatibilityCheck=void 0;let n=r(521),a=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function o(e){let t=new Set([e]),r=new Set,n=e.match(a);if(!n)return()=>!1;let o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=o.prerelease)return function(t){return t===e};function i(e){return r.add(e),!1}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;let n=e.match(a);if(!n)return i(e);let s={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(null!=s.prerelease||o.major!==s.major)return i(e);if(0===o.major)return o.minor===s.minor&&o.patch<=s.patch?(t.add(e),!0):i(e);return o.minor<=s.minor?(t.add(e),!0):i(e)}}t._makeCompatibilityCheck=o,t.isCompatible=o(n.VERSION)},886:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.metrics=void 0,t.metrics=r(653).MetricsAPI.getInstance()},901:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ValueType=void 0,function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"}(t.ValueType||(t.ValueType={}))},102:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createNoopMeter=t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=t.NOOP_OBSERVABLE_GAUGE_METRIC=t.NOOP_OBSERVABLE_COUNTER_METRIC=t.NOOP_UP_DOWN_COUNTER_METRIC=t.NOOP_HISTOGRAM_METRIC=t.NOOP_COUNTER_METRIC=t.NOOP_METER=t.NoopObservableUpDownCounterMetric=t.NoopObservableGaugeMetric=t.NoopObservableCounterMetric=t.NoopObservableMetric=t.NoopHistogramMetric=t.NoopUpDownCounterMetric=t.NoopCounterMetric=t.NoopMetric=t.NoopMeter=void 0;class r{constructor(){}createHistogram(e,r){return t.NOOP_HISTOGRAM_METRIC}createCounter(e,r){return t.NOOP_COUNTER_METRIC}createUpDownCounter(e,r){return t.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(e,r){return t.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(e,r){return t.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(e,r){return t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}}t.NoopMeter=r;class n{}t.NoopMetric=n;class a extends n{add(e,t){}}t.NoopCounterMetric=a;class o extends n{add(e,t){}}t.NoopUpDownCounterMetric=o;class i extends n{record(e,t){}}t.NoopHistogramMetric=i;class s{addCallback(e){}removeCallback(e){}}t.NoopObservableMetric=s;class u extends s{}t.NoopObservableCounterMetric=u;class l extends s{}t.NoopObservableGaugeMetric=l;class c extends s{}t.NoopObservableUpDownCounterMetric=c,t.NOOP_METER=new r,t.NOOP_COUNTER_METRIC=new a,t.NOOP_HISTOGRAM_METRIC=new i,t.NOOP_UP_DOWN_COUNTER_METRIC=new o,t.NOOP_OBSERVABLE_COUNTER_METRIC=new u,t.NOOP_OBSERVABLE_GAUGE_METRIC=new l,t.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new c,t.createNoopMeter=function(){return t.NOOP_METER}},660:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NOOP_METER_PROVIDER=t.NoopMeterProvider=void 0;let n=r(102);class a{getMeter(e,t,r){return n.NOOP_METER}}t.NoopMeterProvider=a,t.NOOP_METER_PROVIDER=new a},200:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(46),t)},651:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t._globalThis=void 0,t._globalThis="object"==typeof globalThis?globalThis:global},46:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(651),t)},939:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.propagation=void 0,t.propagation=r(181).PropagationAPI.getInstance()},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTextMapPropagator=void 0;class r{inject(e,t){}extract(e,t){return e}fields(){return[]}}t.NoopTextMapPropagator=r},194:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTextMapSetter=t.defaultTextMapGetter=void 0,t.defaultTextMapGetter={get(e,t){if(null!=e)return e[t]},keys:e=>null==e?[]:Object.keys(e)},t.defaultTextMapSetter={set(e,t,r){null!=e&&(e[t]=r)}}},845:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.trace=void 0,t.trace=r(997).TraceAPI.getInstance()},403:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NonRecordingSpan=void 0;let n=r(476);class a{constructor(e=n.INVALID_SPAN_CONTEXT){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(e,t){return this}setAttributes(e){return this}addEvent(e,t){return this}setStatus(e){return this}updateName(e){return this}end(e){}isRecording(){return!1}recordException(e,t){}}t.NonRecordingSpan=a},614:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracer=void 0;let n=r(491),a=r(607),o=r(403),i=r(139),s=n.ContextAPI.getInstance();class u{startSpan(e,t,r=s.active()){var n;if(null==t?void 0:t.root)return new o.NonRecordingSpan;let u=r&&(0,a.getSpanContext)(r);return"object"==typeof(n=u)&&"string"==typeof n.spanId&&"string"==typeof n.traceId&&"number"==typeof n.traceFlags&&(0,i.isSpanContextValid)(u)?new o.NonRecordingSpan(u):new o.NonRecordingSpan}startActiveSpan(e,t,r,n){let o,i,u;if(arguments.length<2)return;2==arguments.length?u=t:3==arguments.length?(o=t,u=r):(o=t,i=r,u=n);let l=null!=i?i:s.active(),c=this.startSpan(e,o,l),d=(0,a.setSpan)(l,c);return s.with(d,u,void 0,c)}}t.NoopTracer=u},124:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NoopTracerProvider=void 0;let n=r(614);class a{getTracer(e,t,r){return new n.NoopTracer}}t.NoopTracerProvider=a},125:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracer=void 0;let n=new(r(614)).NoopTracer;class a{constructor(e,t,r,n){this._provider=e,this.name=t,this.version=r,this.options=n}startSpan(e,t,r){return this._getTracer().startSpan(e,t,r)}startActiveSpan(e,t,r,n){let a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate)return this._delegate;let e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):n}}t.ProxyTracer=a},846:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyTracerProvider=void 0;let n=r(125),a=new(r(124)).NoopTracerProvider;class o{getTracer(e,t,r){var a;return null!=(a=this.getDelegateTracer(e,t,r))?a:new n.ProxyTracer(this,e,t,r)}getDelegate(){var e;return null!=(e=this._delegate)?e:a}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,r){var n;return null==(n=this._delegate)?void 0:n.getTracer(e,t,r)}}t.ProxyTracerProvider=o},996:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SamplingDecision=void 0,function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(t.SamplingDecision||(t.SamplingDecision={}))},607:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSpanContext=t.setSpanContext=t.deleteSpan=t.setSpan=t.getActiveSpan=t.getSpan=void 0;let n=r(780),a=r(403),o=r(491),i=(0,n.createContextKey)("OpenTelemetry Context Key SPAN");function s(e){return e.getValue(i)||void 0}function u(e,t){return e.setValue(i,t)}t.getSpan=s,t.getActiveSpan=function(){return s(o.ContextAPI.getInstance().active())},t.setSpan=u,t.deleteSpan=function(e){return e.deleteValue(i)},t.setSpanContext=function(e,t){return u(e,new a.NonRecordingSpan(t))},t.getSpanContext=function(e){var t;return null==(t=s(e))?void 0:t.spanContext()}},325:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceStateImpl=void 0;let n=r(564);class a{constructor(e){this._internalState=new Map,e&&this._parse(e)}set(e,t){let r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r}unset(e){let t=this._clone();return t._internalState.delete(e),t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,t)=>(e.push(t+"="+this.get(t)),e),[]).join(",")}_parse(e){!(e.length>512)&&(this._internalState=e.split(",").reverse().reduce((e,t)=>{let r=t.trim(),a=r.indexOf("=");if(-1!==a){let o=r.slice(0,a),i=r.slice(a+1,t.length);(0,n.validateKey)(o)&&(0,n.validateValue)(i)&&e.set(o,i)}return e},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let e=new a;return e._internalState=new Map(this._internalState),e}}t.TraceStateImpl=a},564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validateValue=t.validateKey=void 0;let r="[_0-9a-z-*/]",n=`[a-z]${r}{0,255}`,a=`[a-z0-9]${r}{0,240}@[a-z]${r}{0,13}`,o=RegExp(`^(?:${n}|${a})$`),i=/^[ -~]{0,255}[!-~]$/,s=/,|=/;t.validateKey=function(e){return o.test(e)},t.validateValue=function(e){return i.test(e)&&!s.test(e)}},98:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createTraceState=void 0;let n=r(325);t.createTraceState=function(e){return new n.TraceStateImpl(e)}},476:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_SPAN_CONTEXT=t.INVALID_TRACEID=t.INVALID_SPANID=void 0;let n=r(475);t.INVALID_SPANID="0000000000000000",t.INVALID_TRACEID="00000000000000000000000000000000",t.INVALID_SPAN_CONTEXT={traceId:t.INVALID_TRACEID,spanId:t.INVALID_SPANID,traceFlags:n.TraceFlags.NONE}},357:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(t.SpanKind||(t.SpanKind={}))},139:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.wrapSpanContext=t.isSpanContextValid=t.isValidSpanId=t.isValidTraceId=void 0;let n=r(476),a=r(403),o=/^([0-9a-f]{32})$/i,i=/^[0-9a-f]{16}$/i;function s(e){return o.test(e)&&e!==n.INVALID_TRACEID}function u(e){return i.test(e)&&e!==n.INVALID_SPANID}t.isValidTraceId=s,t.isValidSpanId=u,t.isSpanContextValid=function(e){return s(e.traceId)&&u(e.spanId)},t.wrapSpanContext=function(e){return new a.NonRecordingSpan(e)}},847:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SpanStatusCode=void 0,function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(t.SpanStatusCode||(t.SpanStatusCode={}))},475:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TraceFlags=void 0,function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(t.TraceFlags||(t.TraceFlags={}))},521:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=void 0,t.VERSION="1.6.0"}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var o=r[e]={exports:{}},i=!0;try{t[e].call(o.exports,o,o.exports,n),i=!1}finally{i&&delete r[e]}return o.exports}n.ab=__dirname+"/";var a={};(()=>{Object.defineProperty(a,"__esModule",{value:!0}),a.trace=a.propagation=a.metrics=a.diag=a.context=a.INVALID_SPAN_CONTEXT=a.INVALID_TRACEID=a.INVALID_SPANID=a.isValidSpanId=a.isValidTraceId=a.isSpanContextValid=a.createTraceState=a.TraceFlags=a.SpanStatusCode=a.SpanKind=a.SamplingDecision=a.ProxyTracerProvider=a.ProxyTracer=a.defaultTextMapSetter=a.defaultTextMapGetter=a.ValueType=a.createNoopMeter=a.DiagLogLevel=a.DiagConsoleLogger=a.ROOT_CONTEXT=a.createContextKey=a.baggageEntryMetadataFromString=void 0;var e=n(369);Object.defineProperty(a,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return e.baggageEntryMetadataFromString}});var t=n(780);Object.defineProperty(a,"createContextKey",{enumerable:!0,get:function(){return t.createContextKey}}),Object.defineProperty(a,"ROOT_CONTEXT",{enumerable:!0,get:function(){return t.ROOT_CONTEXT}});var r=n(972);Object.defineProperty(a,"DiagConsoleLogger",{enumerable:!0,get:function(){return r.DiagConsoleLogger}});var o=n(957);Object.defineProperty(a,"DiagLogLevel",{enumerable:!0,get:function(){return o.DiagLogLevel}});var i=n(102);Object.defineProperty(a,"createNoopMeter",{enumerable:!0,get:function(){return i.createNoopMeter}});var s=n(901);Object.defineProperty(a,"ValueType",{enumerable:!0,get:function(){return s.ValueType}});var u=n(194);Object.defineProperty(a,"defaultTextMapGetter",{enumerable:!0,get:function(){return u.defaultTextMapGetter}}),Object.defineProperty(a,"defaultTextMapSetter",{enumerable:!0,get:function(){return u.defaultTextMapSetter}});var l=n(125);Object.defineProperty(a,"ProxyTracer",{enumerable:!0,get:function(){return l.ProxyTracer}});var c=n(846);Object.defineProperty(a,"ProxyTracerProvider",{enumerable:!0,get:function(){return c.ProxyTracerProvider}});var d=n(996);Object.defineProperty(a,"SamplingDecision",{enumerable:!0,get:function(){return d.SamplingDecision}});var f=n(357);Object.defineProperty(a,"SpanKind",{enumerable:!0,get:function(){return f.SpanKind}});var p=n(847);Object.defineProperty(a,"SpanStatusCode",{enumerable:!0,get:function(){return p.SpanStatusCode}});var h=n(475);Object.defineProperty(a,"TraceFlags",{enumerable:!0,get:function(){return h.TraceFlags}});var g=n(98);Object.defineProperty(a,"createTraceState",{enumerable:!0,get:function(){return g.createTraceState}});var _=n(139);Object.defineProperty(a,"isSpanContextValid",{enumerable:!0,get:function(){return _.isSpanContextValid}}),Object.defineProperty(a,"isValidTraceId",{enumerable:!0,get:function(){return _.isValidTraceId}}),Object.defineProperty(a,"isValidSpanId",{enumerable:!0,get:function(){return _.isValidSpanId}});var m=n(476);Object.defineProperty(a,"INVALID_SPANID",{enumerable:!0,get:function(){return m.INVALID_SPANID}}),Object.defineProperty(a,"INVALID_TRACEID",{enumerable:!0,get:function(){return m.INVALID_TRACEID}}),Object.defineProperty(a,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return m.INVALID_SPAN_CONTEXT}});let y=n(67);Object.defineProperty(a,"context",{enumerable:!0,get:function(){return y.context}});let v=n(506);Object.defineProperty(a,"diag",{enumerable:!0,get:function(){return v.diag}});let b=n(886);Object.defineProperty(a,"metrics",{enumerable:!0,get:function(){return b.metrics}});let E=n(939);Object.defineProperty(a,"propagation",{enumerable:!0,get:function(){return E.propagation}});let S=n(845);Object.defineProperty(a,"trace",{enumerable:!0,get:function(){return S.trace}}),a.default={context:y.context,diag:v.diag,metrics:b.metrics,propagation:E.propagation,trace:S.trace}})(),e.exports=a})()},98479:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return n},isDynamicServerError:function(){return a}});let r="DYNAMIC_SERVER_USAGE";class n extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function a(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}}; \ No newline at end of file diff --git a/.next/server/chunks/4586.js b/.next/server/chunks/4586.js new file mode 100644 index 0000000000000000000000000000000000000000..fbc1a15e089db772eeaa7507530282332edf14b7 --- /dev/null +++ b/.next/server/chunks/4586.js @@ -0,0 +1,22 @@ +exports.id=4586,exports.ids=[4586],exports.modules={310:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{bootstrap:function(){return i},error:function(){return k},event:function(){return o},info:function(){return n},prefixes:function(){return f},ready:function(){return m},trace:function(){return p},wait:function(){return j},warn:function(){return l},warnOnce:function(){return r}});let d=c(12882),e=c(11949),f={wait:(0,d.white)((0,d.bold)("○")),error:(0,d.red)((0,d.bold)("⨯")),warn:(0,d.yellow)((0,d.bold)("⚠")),ready:"▲",info:(0,d.white)((0,d.bold)(" ")),event:(0,d.green)((0,d.bold)("✓")),trace:(0,d.magenta)((0,d.bold)("\xbb"))},g={log:"log",warn:"warn",error:"error"};function h(a,...b){(""===b[0]||void 0===b[0])&&1===b.length&&b.shift();let c=a in g?g[a]:"log",d=f[a];0===b.length?console[c](""):1===b.length&&"string"==typeof b[0]?console[c](" "+d+" "+b[0]):console[c](" "+d,...b)}function i(...a){console.log(" "+a.join(" "))}function j(...a){h("wait",...a)}function k(...a){h("error",...a)}function l(...a){h("warn",...a)}function m(...a){h("ready",...a)}function n(...a){h("info",...a)}function o(...a){h("event",...a)}function p(...a){h("trace",...a)}let q=new e.LRUCache(1e4,a=>a.length);function r(...a){let b=a.join(" ");q.has(b)||(q.set(b,b),l(...a))}},2762:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ENCODED_TAGS",{enumerable:!0,get:function(){return c}});let c={OPENING:{HTML:new Uint8Array([60,104,116,109,108]),BODY:new Uint8Array([60,98,111,100,121])},CLOSED:{HEAD:new Uint8Array([60,47,104,101,97,100,62]),BODY:new Uint8Array([60,47,98,111,100,121,62]),HTML:new Uint8Array([60,47,104,116,109,108,62]),BODY_AND_HTML:new Uint8Array([60,47,98,111,100,121,62,60,47,104,116,109,108,62])},META:{ICON_MARK:new Uint8Array([60,109,101,116,97,32,110,97,109,101,61,34,194,171,110,120,116,45,105,99,111,110,194,187,34])}}},3384:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{METADATA_BOUNDARY_NAME:function(){return c},OUTLET_BOUNDARY_NAME:function(){return e},ROOT_LAYOUT_BOUNDARY_NAME:function(){return f},VIEWPORT_BOUNDARY_NAME:function(){return d}});let c="__next_metadata_boundary__",d="__next_viewport_boundary__",e="__next_outlet_boundary__",f="__next_root_layout_boundary__"},4044:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{NEXT_PATCH_SYMBOL:function(){return n},createPatchedFetcher:function(){return t},patchFetch:function(){return u},validateRevalidate:function(){return o},validateTags:function(){return p}});let d=c(38928),e=c(32324),f=c(63446),g=c(26906),h=c(82831),i=c(76381),j=c(63033),k=c(51356),l=c(37422),m=c(7916),n=Symbol.for("next-patch");function o(a,b){try{let c;if(!1===a)c=f.INFINITE_CACHE;else if("number"==typeof a&&!isNaN(a)&&a>-1)c=a;else if(void 0!==a)throw Object.defineProperty(Error(`Invalid revalidate value "${a}" on "${b}", must be a non-negative number or false`),"__NEXT_ERROR_CODE",{value:"E179",enumerable:!1,configurable:!0});return c}catch(a){if(a instanceof Error&&a.message.includes("Invalid revalidate"))throw a;return}}function p(a,b){let c=[],d=[];for(let e=0;ef.NEXT_CACHE_TAG_MAX_LENGTH?d.push({tag:g,reason:`exceeded max length of ${f.NEXT_CACHE_TAG_MAX_LENGTH}`}):c.push(g),c.length>f.NEXT_CACHE_TAG_MAX_ITEMS){console.warn(`Warning: exceeded max tag count for ${b}, dropped tags:`,a.slice(e).join(", "));break}}if(d.length>0)for(let{tag:a,reason:c}of(console.warn(`Warning: invalid tags passed to ${b}: `),d))console.log(`tag: "${a}" ${c}`);return c}function q(a,b){a.shouldTrackFetchMetrics&&(a.fetchMetrics??=[],a.fetchMetrics.push({...b,end:performance.timeOrigin+performance.now(),idx:a.nextFetchId||0}))}async function r(a,b,c,d,e,f){let g=await a.arrayBuffer(),h={headers:Object.fromEntries(a.headers.entries()),body:Buffer.from(g).toString("base64"),status:a.status,url:a.url};return c&&await d.set(b,{kind:k.CachedRouteKind.FETCH,data:h,revalidate:e},c),await f(),new Response(g,{headers:a.headers,status:a.status,statusText:a.statusText})}async function s(a,b,c,d,e,f,g,h,i){let[j,l]=(0,m.cloneResponse)(b),n=j.arrayBuffer().then(async a=>{let b=Buffer.from(a),h={headers:Object.fromEntries(j.headers.entries()),body:b.toString("base64"),status:j.status,url:j.url};null==f||f.set(c,h),d&&await e.set(c,{kind:k.CachedRouteKind.FETCH,data:h,revalidate:g},d)}).catch(a=>console.warn("Failed to set fetch cache",h,a)).finally(i),o=`cache-set-${c}`;return a.pendingRevalidates??={},o in a.pendingRevalidates&&await a.pendingRevalidates[o],a.pendingRevalidates[o]=n.finally(()=>{var b;(null==(b=a.pendingRevalidates)?void 0:b[o])&&delete a.pendingRevalidates[o]}),l}function t(a,{workAsyncStorage:b,workUnitAsyncStorage:c}){let i=async function(i,n){var t,u;let v;try{(v=new URL(i instanceof Request?i.url:i)).username="",v.password=""}catch{v=void 0}let w=(null==v?void 0:v.href)??"",x=(null==n||null==(t=n.method)?void 0:t.toUpperCase())||"GET",y=(null==n||null==(u=n.next)?void 0:u.internal)===!0,z="1"===process.env.NEXT_OTEL_FETCH_DISABLED,A=y?void 0:performance.timeOrigin+performance.now(),B=b.getStore(),C=c.getStore(),D=C?(0,j.getCacheSignal)(C):null;D&&D.beginRead();let E=(0,e.getTracer)().trace(y?d.NextNodeServerSpan.internalFetch:d.AppRenderSpan.fetch,{hideSpan:z,kind:e.SpanKind.CLIENT,spanName:["fetch",x,w].filter(Boolean).join(" "),attributes:{"http.url":w,"http.method":x,"net.peer.name":null==v?void 0:v.hostname,"net.peer.port":(null==v?void 0:v.port)||void 0}},async()=>{var b;let c,d,e,j,t,u;if(y||!B||B.isDraftMode)return a(i,n);let v=i&&"object"==typeof i&&"string"==typeof i.method,x=a=>(null==n?void 0:n[a])||(v?i[a]:null),z=a=>{var b,c,d;return void 0!==(null==n||null==(b=n.next)?void 0:b[a])?null==n||null==(c=n.next)?void 0:c[a]:v?null==(d=i.next)?void 0:d[a]:void 0},E=z("revalidate"),F=E,G=p(z("tags")||[],`fetch ${i.toString()}`);if(C)switch(C.type){case"prerender":case"prerender-runtime":case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"cache":case"private-cache":c=C}if(c&&Array.isArray(G)){let a=c.tags??(c.tags=[]);for(let b of G)a.includes(b)||a.push(b)}let H=null==C?void 0:C.implicitTags,I=B.fetchCache;C&&"unstable-cache"===C.type&&(I="force-no-store");let J=!!B.isUnstableNoStore,K=x("cache"),L="";"string"==typeof K&&void 0!==F&&("force-cache"===K&&0===F||"no-store"===K&&(F>0||!1===F))&&(d=`Specified "cache: ${K}" and "revalidate: ${F}", only one should be specified.`,K=void 0,F=void 0);let M="no-cache"===K||"no-store"===K||"force-no-store"===I||"only-no-store"===I,N=!I&&!K&&!F&&B.forceDynamic;"force-cache"===K&&void 0===F?F=!1:(M||N)&&(F=0),("no-cache"===K||"no-store"===K)&&(L=`cache: ${K}`),u=o(F,B.route);let O=x("headers"),P="function"==typeof(null==O?void 0:O.get)?O:new Headers(O||{}),Q=P.get("authorization")||P.get("cookie"),R=!["get","head"].includes((null==(b=x("method"))?void 0:b.toLowerCase())||"get"),S=void 0==I&&(void 0==K||"default"===K)&&void 0==F,T=!!((Q||R)&&(null==c?void 0:c.revalidate)===0),U=!1;if(!T&&S&&(B.isBuildTimePrerendering?U=!0:T=!0),S&&void 0!==C)switch(C.type){case"prerender":case"prerender-runtime":case"prerender-client":return D&&(D.endRead(),D=null),(0,h.makeHangingPromise)(C.renderSignal,B.route,"fetch()")}switch(I){case"force-no-store":L="fetchCache = force-no-store";break;case"only-no-store":if("force-cache"===K||void 0!==u&&u>0)throw Object.defineProperty(Error(`cache: 'force-cache' used on fetch for ${w} with 'export const fetchCache = 'only-no-store'`),"__NEXT_ERROR_CODE",{value:"E448",enumerable:!1,configurable:!0});L="fetchCache = only-no-store";break;case"only-cache":if("no-store"===K)throw Object.defineProperty(Error(`cache: 'no-store' used on fetch for ${w} with 'export const fetchCache = 'only-cache'`),"__NEXT_ERROR_CODE",{value:"E521",enumerable:!1,configurable:!0});break;case"force-cache":(void 0===F||0===F)&&(L="fetchCache = force-cache",u=f.INFINITE_CACHE)}if(void 0===u?"default-cache"!==I||J?"default-no-store"===I?(u=0,L="fetchCache = default-no-store"):J?(u=0,L="noStore call"):T?(u=0,L="auto no cache"):(L="auto cache",u=c?c.revalidate:f.INFINITE_CACHE):(u=f.INFINITE_CACHE,L="fetchCache = default-cache"):L||(L=`revalidate: ${u}`),!(B.forceStatic&&0===u)&&!T&&c&&u0,{incrementalCache:W}=B,X=!1;if(C)switch(C.type){case"request":case"cache":case"private-cache":X=C.isHmrRefresh??!1,j=C.serverComponentsHmrCache}if(W&&(V||j))try{e=await W.generateCacheKey(w,v?i:n)}catch(a){console.error("Failed to generate cache key for",i)}let Y=B.nextFetchId??1;B.nextFetchId=Y+1;let Z=()=>{},$=async(b,c)=>{let g=["cache","credentials","headers","integrity","keepalive","method","mode","redirect","referrer","referrerPolicy","window","duplex",...b?[]:["signal"]];if(v){let a=i,b={body:a._ogBody||a.body};for(let c of g)b[c]=a[c];i=new Request(a.url,b)}else if(n){let{_ogBody:a,body:c,signal:d,...e}=n;n={...e,body:a||c,signal:b?void 0:d}}let h={...n,next:{...null==n?void 0:n.next,fetchType:"origin",fetchIdx:Y}};return a(i,h).then(async a=>{if(!b&&A&&q(B,{start:A,url:w,cacheReason:c||L,cacheStatus:0===u||c?"skip":"miss",cacheWarning:d,status:a.status,method:h.method||"GET"}),200===a.status&&W&&e&&(V||j)){let b=u>=f.INFINITE_CACHE?f.CACHE_ONE_YEAR:u,c=V?{fetchCache:!0,fetchUrl:w,fetchIdx:Y,tags:G,isImplicitBuildTimeCache:U}:void 0;switch(null==C?void 0:C.type){case"prerender":case"prerender-client":case"prerender-runtime":return r(a,e,c,W,b,Z);case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case void 0:return s(B,a,e,c,W,j,b,i,Z)}}return await Z(),a}).catch(a=>{throw Z(),a})},_=!1,aa=!1;if(e&&W){let a;if(X&&j&&(a=j.get(e),aa=!0),V&&!a){Z=await W.lock(e);let b=B.isOnDemandRevalidate?null:await W.get(e,{kind:k.IncrementalCacheKind.FETCH,revalidate:u,fetchUrl:w,fetchIdx:Y,tags:G,softTags:null==H?void 0:H.tags});if(S&&C)switch(C.type){case"prerender":case"prerender-client":case"prerender-runtime":await (0,l.waitAtLeastOneReactRenderTask)()}if(b?await Z():t="cache-control: no-cache (hard refresh)",(null==b?void 0:b.value)&&b.value.kind===k.CachedRouteKind.FETCH)if(B.isRevalidate&&b.isStale)_=!0;else{if(b.isStale&&(B.pendingRevalidates??={},!B.pendingRevalidates[e])){let a=$(!0).then(async a=>({body:await a.arrayBuffer(),headers:a.headers,status:a.status,statusText:a.statusText})).finally(()=>{B.pendingRevalidates??={},delete B.pendingRevalidates[e||""]});a.catch(console.error),B.pendingRevalidates[e]=a}a=b.value.data}}if(a){A&&q(B,{start:A,url:w,cacheReason:L,cacheStatus:aa?"hmr":"hit",cacheWarning:d,status:a.status||200,method:(null==n?void 0:n.method)||"GET"});let b=new Response(Buffer.from(a.body,"base64"),{headers:a.headers,status:a.status});return Object.defineProperty(b,"url",{value:a.url}),b}}if(B.isStaticGeneration&&n&&"object"==typeof n){let{cache:a}=n;if("no-store"===a){if(C)switch(C.type){case"prerender":case"prerender-client":case"prerender-runtime":return D&&(D.endRead(),D=null),(0,h.makeHangingPromise)(C.renderSignal,B.route,"fetch()")}(0,g.markCurrentScopeAsDynamic)(B,C,`no-store fetch ${i} ${B.route}`)}let b="next"in n,{next:d={}}=n;if("number"==typeof d.revalidate&&c&&d.revalidate{let b=a[0];return{body:await b.arrayBuffer(),headers:b.headers,status:b.status,statusText:b.statusText}}).finally(()=>{var b;(null==(b=B.pendingRevalidates)?void 0:b[a])&&delete B.pendingRevalidates[a]})).catch(()=>{}),B.pendingRevalidates[a]=b,c.then(a=>a[1])}});if(D)try{return await E}finally{D&&D.endRead()}return E};return i.__nextPatched=!0,i.__nextGetStaticStore=()=>b,i._nextOriginalFetch=a,globalThis[n]=!0,Object.defineProperty(i,"name",{value:"fetch",writable:!1}),i}function u(a){if(!0===globalThis[n])return;let b=(0,i.createDedupeFetch)(globalThis.fetch);globalThis.fetch=t(b,a)}},5796:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"MISSING_ROOT_TAGS_ERROR",{enumerable:!0,get:function(){return c}});let c="NEXT_MISSING_ROOT_TAGS";("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},7705:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getNextPathnameInfo",{enumerable:!0,get:function(){return g}});let d=c(53290),e=c(53630),f=c(75916);function g(a,b){var c,g;let{basePath:h,i18n:i,trailingSlash:j}=null!=(c=b.nextConfig)?c:{},k={pathname:a,trailingSlash:"/"!==a?a.endsWith("/"):j};h&&(0,f.pathHasPrefix)(k.pathname,h)&&(k.pathname=(0,e.removePathPrefix)(k.pathname,h),k.basePath=h);let l=k.pathname;if(k.pathname.startsWith("/_next/data/")&&k.pathname.endsWith(".json")){let a=k.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");k.buildId=a[0],l="index"!==a[1]?"/"+a.slice(1).join("/"):"/",!0===b.parseData&&(k.pathname=l)}if(i){let a=b.i18nProvider?b.i18nProvider.analyze(k.pathname):(0,d.normalizeLocalePath)(k.pathname,i.locales);k.locale=a.detectedLocale,k.pathname=null!=(g=a.pathname)?g:k.pathname,!a.detectedLocale&&k.buildId&&(a=b.i18nProvider?b.i18nProvider.analyze(l):(0,d.normalizeLocalePath)(l,i.locales)).detectedLocale&&(k.locale=a.detectedLocale)}return k}},7916:(a,b)=>{"use strict";let c;Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"cloneResponse",{enumerable:!0,get:function(){return e}});let d=()=>{};function e(a){if(!a.body)return[a,a];let[b,d]=a.body.tee(),e=new Response(b,{status:a.status,statusText:a.statusText,headers:a.headers});Object.defineProperty(e,"url",{value:a.url,configurable:!0,enumerable:!0,writable:!1}),c&&e.body&&c.register(e,new WeakRef(e.body));let f=new Response(d,{status:a.status,statusText:a.statusText,headers:a.headers});return Object.defineProperty(f,"url",{value:a.url,configurable:!0,enumerable:!0,writable:!1}),[e,f]}globalThis.FinalizationRegistry&&(c=new FinalizationRegistry(a=>{let b=a.deref();b&&!b.locked&&b.cancel("Response object has been garbage collected").then(d)}))},8289:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addPathPrefix",{enumerable:!0,get:function(){return e}});let d=c(69332);function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:e,hash:f}=(0,d.parsePath)(a);return""+b+c+e+f}},9117:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"RouteKind",{enumerable:!0,get:function(){return c}});var c=function(a){return a.PAGES="PAGES",a.PAGES_API="PAGES_API",a.APP_PAGE="APP_PAGE",a.APP_ROUTE="APP_ROUTE",a.IMAGE="IMAGE",a}({})},9403:(a,b)=>{"use strict";function c(a,b){if(0===b.length)return 0;if(0===a.length||b.length>a.length)return -1;for(let c=0;c<=a.length-b.length;c++){let d=!0;for(let e=0;e-1))return a;{let c=new Uint8Array(a.length-b.length);return c.set(a.slice(0,d)),c.set(a.slice(d+b.length),d),c}}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{indexOfUint8Array:function(){return c},isEquivalentUint8Arrays:function(){return d},removeFromUint8Array:function(){return e}})},11938:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{StaticGenBailoutError:function(){return d},isStaticGenBailoutError:function(){return e}});let c="NEXT_STATIC_GEN_BAILOUT";class d extends Error{constructor(...a){super(...a),this.code=c}}function e(a){return"object"==typeof a&&null!==a&&"code"in a&&a.code===c}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},11949:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"LRUCache",{enumerable:!0,get:function(){return e}});class c{constructor(a,b,c){this.prev=null,this.next=null,this.key=a,this.data=b,this.size=c}}class d{constructor(){this.prev=null,this.next=null}}class e{constructor(a,b){this.cache=new Map,this.totalSize=0,this.maxSize=a,this.calculateSize=b,this.head=new d,this.tail=new d,this.head.next=this.tail,this.tail.prev=this.head}addToHead(a){a.prev=this.head,a.next=this.head.next,this.head.next.prev=a,this.head.next=a}removeNode(a){a.prev.next=a.next,a.next.prev=a.prev}moveToHead(a){this.removeNode(a),this.addToHead(a)}removeTail(){let a=this.tail.prev;return this.removeNode(a),a}set(a,b){let d=(null==this.calculateSize?void 0:this.calculateSize.call(this,b))??1;if(d>this.maxSize)return void console.warn("Single item size exceeds maxSize");let e=this.cache.get(a);if(e)e.data=b,this.totalSize=this.totalSize-e.size+d,e.size=d,this.moveToHead(e);else{let e=new c(a,b,d);this.cache.set(a,e),this.addToHead(e),this.totalSize+=d}for(;this.totalSize>this.maxSize&&this.cache.size>0;){let a=this.removeTail();this.cache.delete(a.key),this.totalSize-=a.size}}has(a){return this.cache.has(a)}get(a){let b=this.cache.get(a);if(b)return this.moveToHead(b),b.data}*[Symbol.iterator](){let a=this.head.next;for(;a&&a!==this.tail;){let b=a;yield[b.key,b.data],a=a.next}}remove(a){let b=this.cache.get(a);b&&(this.removeNode(b),this.cache.delete(a),this.totalSize-=b.size)}get size(){return this.cache.size}get currentSize(){return this.totalSize}}},12882:(a,b)=>{"use strict";var c;Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{bgBlack:function(){return A},bgBlue:function(){return E},bgCyan:function(){return G},bgGreen:function(){return C},bgMagenta:function(){return F},bgRed:function(){return B},bgWhite:function(){return H},bgYellow:function(){return D},black:function(){return q},blue:function(){return u},bold:function(){return j},cyan:function(){return x},dim:function(){return k},gray:function(){return z},green:function(){return s},hidden:function(){return o},inverse:function(){return n},italic:function(){return l},magenta:function(){return v},purple:function(){return w},red:function(){return r},reset:function(){return i},strikethrough:function(){return p},underline:function(){return m},white:function(){return y},yellow:function(){return t}});let{env:d,stdout:e}=(null==(c=globalThis)?void 0:c.process)??{},f=d&&!d.NO_COLOR&&(d.FORCE_COLOR||(null==e?void 0:e.isTTY)&&!d.CI&&"dumb"!==d.TERM),g=(a,b,c,d)=>{let e=a.substring(0,d)+c,f=a.substring(d+b.length),h=f.indexOf(b);return~h?e+g(f,b,c,h):e+f},h=(a,b,c=a)=>f?d=>{let e=""+d,f=e.indexOf(b,a.length);return~f?a+g(e,b,c,f)+b:a+e+b}:String,i=f?a=>`\x1b[0m${a}\x1b[0m`:String,j=h("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"),k=h("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"),l=h("\x1b[3m","\x1b[23m"),m=h("\x1b[4m","\x1b[24m"),n=h("\x1b[7m","\x1b[27m"),o=h("\x1b[8m","\x1b[28m"),p=h("\x1b[9m","\x1b[29m"),q=h("\x1b[30m","\x1b[39m"),r=h("\x1b[31m","\x1b[39m"),s=h("\x1b[32m","\x1b[39m"),t=h("\x1b[33m","\x1b[39m"),u=h("\x1b[34m","\x1b[39m"),v=h("\x1b[35m","\x1b[39m"),w=h("\x1b[38;2;173;127;168m","\x1b[39m"),x=h("\x1b[36m","\x1b[39m"),y=h("\x1b[37m","\x1b[39m"),z=h("\x1b[90m","\x1b[39m"),A=h("\x1b[40m","\x1b[49m"),B=h("\x1b[41m","\x1b[49m"),C=h("\x1b[42m","\x1b[49m"),D=h("\x1b[43m","\x1b[49m"),E=h("\x1b[44m","\x1b[49m"),F=h("\x1b[45m","\x1b[49m"),G=h("\x1b[46m","\x1b[49m"),H=h("\x1b[47m","\x1b[49m")},14876:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addPathSuffix",{enumerable:!0,get:function(){return e}});let d=c(69332);function e(a,b){if(!a.startsWith("/")||!b)return a;let{pathname:c,query:e,hash:f}=(0,d.parsePath)(a);return""+c+b+e+f}},15965:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{fromResponseCacheEntry:function(){return h},routeKindToIncrementalCacheKind:function(){return j},toResponseCacheEntry:function(){return i}});let d=c(60905),e=function(a){return a&&a.__esModule?a:{default:a}}(c(36225)),f=c(9117),g=c(63446);async function h(a){var b,c;return{...a,value:(null==(b=a.value)?void 0:b.kind)===d.CachedRouteKind.PAGES?{kind:d.CachedRouteKind.PAGES,html:await a.value.html.toUnchunkedString(!0),pageData:a.value.pageData,headers:a.value.headers,status:a.value.status}:(null==(c=a.value)?void 0:c.kind)===d.CachedRouteKind.APP_PAGE?{kind:d.CachedRouteKind.APP_PAGE,html:await a.value.html.toUnchunkedString(!0),postponed:a.value.postponed,rscData:a.value.rscData,headers:a.value.headers,status:a.value.status,segmentData:a.value.segmentData}:a.value}}async function i(a){var b,c;return a?{isMiss:a.isMiss,isStale:a.isStale,cacheControl:a.cacheControl,value:(null==(b=a.value)?void 0:b.kind)===d.CachedRouteKind.PAGES?{kind:d.CachedRouteKind.PAGES,html:e.default.fromStatic(a.value.html,g.HTML_CONTENT_TYPE_HEADER),pageData:a.value.pageData,headers:a.value.headers,status:a.value.status}:(null==(c=a.value)?void 0:c.kind)===d.CachedRouteKind.APP_PAGE?{kind:d.CachedRouteKind.APP_PAGE,html:e.default.fromStatic(a.value.html,g.HTML_CONTENT_TYPE_HEADER),rscData:a.value.rscData,headers:a.value.headers,status:a.value.status,postponed:a.value.postponed,segmentData:a.value.segmentData}:a.value}:null}function j(a){switch(a){case f.RouteKind.PAGES:return d.IncrementalCacheKind.PAGES;case f.RouteKind.APP_PAGE:return d.IncrementalCacheKind.APP_PAGE;case f.RouteKind.IMAGE:return d.IncrementalCacheKind.IMAGE;case f.RouteKind.APP_ROUTE:return d.IncrementalCacheKind.APP_ROUTE;case f.RouteKind.PAGES_API:throw Object.defineProperty(Error(`Unexpected route kind ${a}`),"__NEXT_ERROR_CODE",{value:"E64",enumerable:!1,configurable:!0});default:return a}}},17679:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{fromNodeOutgoingHttpHeaders:function(){return e},normalizeNextQueryParam:function(){return i},splitCookiesString:function(){return f},toNodeOutgoingHttpHeaders:function(){return g},validateURL:function(){return h}});let d=c(63446);function e(a){let b=new Headers;for(let[c,d]of Object.entries(a))for(let a of Array.isArray(d)?d:[d])void 0!==a&&("number"==typeof a&&(a=a.toString()),b.append(c,a));return b}function f(a){var b,c,d,e,f,g=[],h=0;function i(){for(;h=a.length)&&g.push(a.substring(b,a.length))}return g}function g(a){let b={},c=[];if(a)for(let[d,e]of a.entries())"set-cookie"===d.toLowerCase()?(c.push(...f(e)),b[d]=1===c.length?c[0]:c):b[d]=e;return b}function h(a){try{return String(new URL(String(a)))}catch(b){throw Object.defineProperty(Error(`URL is malformed "${String(a)}". Please use only absolute URLs - https://nextjs.org/docs/messages/middleware-relative-urls`,{cause:b}),"__NEXT_ERROR_CODE",{value:"E61",enumerable:!1,configurable:!0})}}function i(a){for(let b of[d.NEXT_QUERY_PARAM_PREFIX,d.NEXT_INTERCEPTION_MARKER_PREFIX])if(a!==b&&a.startsWith(b))return a.substring(b.length);return null}},26720:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DOC_PREFETCH_RANGE_HEADER_VALUE:function(){return d},doesExportedHtmlMatchBuildId:function(){return g},insertBuildIdComment:function(){return f}});let c="",d="bytes=0-63";function e(a){return a.slice(0,24).replace(/-/g,"_")}function f(a,b){return b.includes("--\x3e")||!a.startsWith(c)?a:a.replace(c,c+"\x3c!--"+e(b)+"--\x3e")}function g(a,b){return a.startsWith(c+"\x3c!--"+e(b)+"--\x3e")}},26906:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{Postpone:function(){return A},PreludeState:function(){return V},abortAndThrowOnSynchronousRequestDataAccess:function(){return x},abortOnSynchronousPlatformIOAccess:function(){return v},accessedDynamicData:function(){return I},annotateDynamicAccess:function(){return N},consumeDynamicAccess:function(){return J},createDynamicTrackingState:function(){return o},createDynamicValidationState:function(){return p},createHangingInputAbortSignal:function(){return M},createRenderInBrowserAbortSignal:function(){return L},delayUntilRuntimeStage:function(){return Y},formatDynamicAPIAccesses:function(){return K},getFirstDynamicReason:function(){return q},isDynamicPostpone:function(){return D},isPrerenderInterruptedError:function(){return H},logDisallowedDynamicError:function(){return W},markCurrentScopeAsDynamic:function(){return r},postponeWithTracking:function(){return B},throwIfDisallowedDynamic:function(){return X},throwToInterruptStaticGeneration:function(){return s},trackAllowedDynamicAccess:function(){return U},trackDynamicDataInDynamicRender:function(){return t},trackSynchronousPlatformIOAccessInDev:function(){return w},trackSynchronousRequestDataAccessInDev:function(){return z},useDynamicRouteParams:function(){return O},warnOnSyncDynamicError:function(){return y}});let d=function(a){return a&&a.__esModule?a:{default:a}}(c(74515)),e=c(69168),f=c(11938),g=c(63033),h=c(29294),i=c(82831),j=c(3384),k=c(37422),l=c(29305),m=c(49290),n="function"==typeof d.default.unstable_postpone;function o(a){return{isDebugDynamicAccesses:a,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function p(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function q(a){var b;return null==(b=a.dynamicAccesses[0])?void 0:b.expression}function r(a,b,c){if(b)switch(b.type){case"cache":case"unstable-cache":case"private-cache":return}if(!a.forceDynamic&&!a.forceStatic){if(a.dynamicShouldError)throw Object.defineProperty(new f.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${c}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(b)switch(b.type){case"prerender-ppr":return B(a.route,c,b.dynamicTracking);case"prerender-legacy":b.revalidate=0;let d=Object.defineProperty(new e.DynamicServerError(`Route ${a.route} couldn't be rendered statically because it used ${c}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw a.dynamicUsageDescription=c,a.dynamicUsageStack=d.stack,d}}}function s(a,b,c){let d=Object.defineProperty(new e.DynamicServerError(`Route ${b.route} couldn't be rendered statically because it used \`${a}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.revalidate=0,b.dynamicUsageDescription=a,b.dynamicUsageStack=d.stack,d}function t(a){switch(a.type){case"cache":case"unstable-cache":case"private-cache":return}}function u(a,b,c){let d=G(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`);c.controller.abort(d);let e=c.dynamicTracking;e&&e.dynamicAccesses.push({stack:e.isDebugDynamicAccesses?Error().stack:void 0,expression:b})}function v(a,b,c,d){let e=d.dynamicTracking;u(a,b,d),e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}function w(a){a.prerenderPhase=!1}function x(a,b,c,d){if(!1===d.controller.signal.aborted){u(a,b,d);let e=d.dynamicTracking;e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}throw G(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`)}function y(a){a.syncDynamicErrorWithStack&&console.error(a.syncDynamicErrorWithStack)}let z=w;function A({reason:a,route:b}){let c=g.workUnitAsyncStorage.getStore();B(b,a,c&&"prerender-ppr"===c.type?c.dynamicTracking:null)}function B(a,b,c){(function(){if(!n)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:b}),d.default.unstable_postpone(C(a,b))}function C(a,b){return`Route ${a} needs to bail out of prerendering at this point because it used ${b}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function D(a){return"object"==typeof a&&null!==a&&"string"==typeof a.message&&E(a.message)}function E(a){return a.includes("needs to bail out of prerendering at this point because it used")&&a.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===E(C("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let F="NEXT_PRERENDER_INTERRUPTED";function G(a){let b=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return b.digest=F,b}function H(a){return"object"==typeof a&&null!==a&&a.digest===F&&"name"in a&&"message"in a&&a instanceof Error}function I(a){return a.length>0}function J(a,b){return a.dynamicAccesses.push(...b.dynamicAccesses),a.dynamicAccesses}function K(a){return a.filter(a=>"string"==typeof a.stack&&a.stack.length>0).map(({expression:a,stack:b})=>(b=b.split("\n").slice(4).filter(a=>!(a.includes("node_modules/next/")||a.includes(" ()")||a.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${a}: +${b}`))}function L(){let a=new AbortController;return a.abort(Object.defineProperty(new l.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),a.signal}function M(a){switch(a.type){case"prerender":case"prerender-runtime":let b=new AbortController;if(a.cacheSignal)a.cacheSignal.inputReady().then(()=>{b.abort()});else{let c=(0,g.getRuntimeStagePromise)(a);c?c.then(()=>(0,k.scheduleOnNextTick)(()=>b.abort())):(0,k.scheduleOnNextTick)(()=>b.abort())}return b.signal;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return}}function N(a,b){let c=b.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:a})}function O(a){let b=h.workAsyncStorage.getStore(),c=g.workUnitAsyncStorage.getStore();if(b&&c)switch(c.type){case"prerender-client":case"prerender":{let e=c.fallbackRouteParams;e&&e.size>0&&d.default.use((0,i.makeHangingPromise)(c.renderSignal,b.route,a));break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d&&d.size>0)return B(b.route,a,c.dynamicTracking);break}case"prerender-runtime":throw Object.defineProperty(new m.InvariantError(`\`${a}\` was called during a runtime prerender. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new m.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0})}}let P=/\n\s+at Suspense \(\)/,Q=RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at ${j.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),R=RegExp(`\\n\\s+at ${j.METADATA_BOUNDARY_NAME}[\\n\\s]`),S=RegExp(`\\n\\s+at ${j.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),T=RegExp(`\\n\\s+at ${j.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function U(a,b,c,d){if(!T.test(b)){if(R.test(b)){c.hasDynamicMetadata=!0;return}if(S.test(b)){c.hasDynamicViewport=!0;return}if(Q.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(P.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=function(a,b){let c=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return c.stack=c.name+": "+a+b,c}(`Route "${a.route}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,b);return void c.dynamicErrors.push(e)}}}var V=function(a){return a[a.Full=0]="Full",a[a.Empty=1]="Empty",a[a.Errored=2]="Errored",a}({});function W(a,b){console.error(b),a.dev||(a.hasReadableErrorStacks?console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error.`):console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: + - Start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error. + - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`))}function X(a,b,c,d){if(0!==b){if(c.hasSuspenseAboveBody)return;if(d.syncDynamicErrorWithStack)throw W(a,d.syncDynamicErrorWithStack),new f.StaticGenBailoutError;let e=c.dynamicErrors;if(e.length>0){for(let b=0;bb):b}},28536:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{PageSignatureError:function(){return c},RemovedPageError:function(){return d},RemovedUAError:function(){return e}});class c extends Error{constructor({page:a}){super(`The middleware "${a}" accepts an async API directly with the form: + + export function middleware(request, event) { + return NextResponse.redirect('/new-location') + } + + Read more: https://nextjs.org/docs/messages/middleware-new-signature + `)}}class d extends Error{constructor(){super(`The request.page has been deprecated in favour of \`URLPattern\`. + Read more: https://nextjs.org/docs/messages/middleware-request-page + `)}}class e extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function. + Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent + `)}}},29305:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BailoutToCSRError:function(){return d},isBailoutToCSRError:function(){return e}});let c="BAILOUT_TO_CLIENT_SIDE_RENDERING";class d extends Error{constructor(a){super("Bail out to client-side rendering: "+a),this.reason=a,this.digest=c}}function e(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===c}},31716:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isRequestAPICallableInsideAfter:function(){return i},throwForSearchParamsAccessInUseCache:function(){return h},throwWithStaticGenerationBailoutError:function(){return f},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return g}});let d=c(11938),e=c(3295);function f(a,b){throw Object.defineProperty(new d.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function g(a,b){throw Object.defineProperty(new d.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function h(a,b){let c=Object.defineProperty(Error(`Route ${a.route} used "searchParams" inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await "searchParams" outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E779",enumerable:!1,configurable:!0});throw Error.captureStackTrace(c,b),a.invalidDynamicUsageError??=c,c}function i(){let a=e.afterTaskAsyncStorage.getStore();return(null==a?void 0:a.rootTaskSpawnPhase)==="action"}},32324:(a,b,c)=>{"use strict";let d;Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BubbledError:function(){return m},SpanKind:function(){return k},SpanStatusCode:function(){return j},getTracer:function(){return u},isBubbledError:function(){return n}});let e=c(38928),f=c(39577);try{d=c(68688)}catch(a){d=c(68688)}let{context:g,propagation:h,trace:i,SpanStatusCode:j,SpanKind:k,ROOT_CONTEXT:l}=d;class m extends Error{constructor(a,b){super(),this.bubble=a,this.result=b}}function n(a){return"object"==typeof a&&null!==a&&a instanceof m}let o=(a,b)=>{n(b)&&b.bubble?a.setAttribute("next.bubble",!0):(b&&(a.recordException(b),a.setAttribute("error.type",b.name)),a.setStatus({code:j.ERROR,message:null==b?void 0:b.message})),a.end()},p=new Map,q=d.createContextKey("next.rootSpanId"),r=0,s={set(a,b,c){a.push({key:b,value:c})}};class t{getTracerInstance(){return i.getTracer("next.js","0.0.1")}getContext(){return g}getTracePropagationData(){let a=g.active(),b=[];return h.inject(a,b,s),b}getActiveScopeSpan(){return i.getSpan(null==g?void 0:g.active())}withPropagatedContext(a,b,c){let d=g.active();if(i.getSpanContext(d))return b();let e=h.extract(d,a,c);return g.with(e,b)}trace(...a){var b;let[c,d,h]=a,{fn:j,options:k}="function"==typeof d?{fn:d,options:{}}:{fn:h,options:{...d}},m=k.spanName??c;if(!e.NextVanillaSpanAllowlist.includes(c)&&"1"!==process.env.NEXT_OTEL_VERBOSE||k.hideSpan)return j();let n=this.getSpanContext((null==k?void 0:k.parentSpan)??this.getActiveScopeSpan()),s=!1;n?(null==(b=i.getSpanContext(n))?void 0:b.isRemote)&&(s=!0):(n=(null==g?void 0:g.active())??l,s=!0);let t=r++;return k.attributes={"next.span_name":m,"next.span_type":c,...k.attributes},g.with(n.setValue(q,t),()=>this.getTracerInstance().startActiveSpan(m,k,a=>{let b="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0,d=()=>{p.delete(t),b&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&e.LogSpanAllowList.includes(c||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(c.split(".").pop()||"").replace(/[A-Z]/g,a=>"-"+a.toLowerCase())}`,{start:b,end:performance.now()})};s&&p.set(t,new Map(Object.entries(k.attributes??{})));try{if(j.length>1)return j(a,b=>o(a,b));let b=j(a);if((0,f.isThenable)(b))return b.then(b=>(a.end(),b)).catch(b=>{throw o(a,b),b}).finally(d);return a.end(),d(),b}catch(b){throw o(a,b),d(),b}}))}wrap(...a){let b=this,[c,d,f]=3===a.length?a:[a[0],{},a[1]];return e.NextVanillaSpanAllowlist.includes(c)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let a=d;"function"==typeof a&&"function"==typeof f&&(a=a.apply(this,arguments));let e=arguments.length-1,h=arguments[e];if("function"!=typeof h)return b.trace(c,a,()=>f.apply(this,arguments));{let d=b.getContext().bind(g.active(),h);return b.trace(c,a,(a,b)=>(arguments[e]=function(a){return null==b||b(a),d.apply(this,arguments)},f.apply(this,arguments)))}}:f}startSpan(...a){let[b,c]=a,d=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(b,c,d)}getSpanContext(a){return a?i.setSpan(g.active(),a):void 0}getRootSpanAttributes(){let a=g.active().getValue(q);return p.get(a)}setRootSpanAttribute(a,b){let c=g.active().getValue(q),d=p.get(c);d&&d.set(a,b)}}let u=(()=>{let a=new t;return()=>a})()},33675:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{RequestCookies:function(){return d.RequestCookies},ResponseCookies:function(){return d.ResponseCookies},stringifyCookie:function(){return d.stringifyCookie}});let d=c(72496)},36225:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return g}});let d=c(47686),e=c(55088),f=c(49290);class g{static #a=this.EMPTY=new g(null,{metadata:{},contentType:null});static fromStatic(a,b){return new g(a,{metadata:{},contentType:b})}constructor(a,{contentType:b,waitUntil:c,metadata:d}){this.response=a,this.contentType=b,this.metadata=d,this.waitUntil=c}assignMetadata(a){Object.assign(this.metadata,a)}get isNull(){return null===this.response}get isDynamic(){return"string"!=typeof this.response}toUnchunkedString(a=!1){if(null===this.response)return"";if("string"!=typeof this.response){if(!a)throw Object.defineProperty(new f.InvariantError("dynamic responses cannot be unchunked. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E732",enumerable:!1,configurable:!0});return(0,d.streamToString)(this.readable)}return this.response}get readable(){return null===this.response?new ReadableStream({start(a){a.close()}}):"string"==typeof this.response?(0,d.streamFromString)(this.response):Buffer.isBuffer(this.response)?(0,d.streamFromBuffer)(this.response):Array.isArray(this.response)?(0,d.chainStreams)(...this.response):this.response}coerce(){return null===this.response?[]:"string"==typeof this.response?[(0,d.streamFromString)(this.response)]:Array.isArray(this.response)?this.response:Buffer.isBuffer(this.response)?[(0,d.streamFromBuffer)(this.response)]:[this.response]}unshift(a){this.response=this.coerce(),this.response.unshift(a)}push(a){this.response=this.coerce(),this.response.push(a)}async pipeTo(a){try{await this.readable.pipeTo(a,{preventClose:!0}),this.waitUntil&&await this.waitUntil,await a.close()}catch(b){if((0,e.isAbortError)(b))return void await a.abort(b);throw b}}async pipeToNodeResponse(a){await (0,e.pipeToNodeResponse)(this.readable,a,this.waitUntil)}}},37422:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{atLeastOneTask:function(){return e},scheduleImmediate:function(){return d},scheduleOnNextTick:function(){return c},waitAtLeastOneReactRenderTask:function(){return f}});let c=a=>{Promise.resolve().then(()=>{process.nextTick(a)})},d=a=>{setImmediate(a)};function e(){return new Promise(a=>d(a))}function f(){return new Promise(a=>setImmediate(a))}},38928:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{AppRenderSpan:function(){return i},AppRouteRouteHandlersSpan:function(){return l},BaseServerSpan:function(){return c},LoadComponentsSpan:function(){return d},LogSpanAllowList:function(){return p},MiddlewareSpan:function(){return n},NextNodeServerSpan:function(){return f},NextServerSpan:function(){return e},NextVanillaSpanAllowlist:function(){return o},NodeSpan:function(){return k},RenderSpan:function(){return h},ResolveMetadataSpan:function(){return m},RouterSpan:function(){return j},StartServerSpan:function(){return g}});var c=function(a){return a.handleRequest="BaseServer.handleRequest",a.run="BaseServer.run",a.pipe="BaseServer.pipe",a.getStaticHTML="BaseServer.getStaticHTML",a.render="BaseServer.render",a.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",a.renderToResponse="BaseServer.renderToResponse",a.renderToHTML="BaseServer.renderToHTML",a.renderError="BaseServer.renderError",a.renderErrorToResponse="BaseServer.renderErrorToResponse",a.renderErrorToHTML="BaseServer.renderErrorToHTML",a.render404="BaseServer.render404",a}(c||{}),d=function(a){return a.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",a.loadComponents="LoadComponents.loadComponents",a}(d||{}),e=function(a){return a.getRequestHandler="NextServer.getRequestHandler",a.getServer="NextServer.getServer",a.getServerRequestHandler="NextServer.getServerRequestHandler",a.createServer="createServer.createServer",a}(e||{}),f=function(a){return a.compression="NextNodeServer.compression",a.getBuildId="NextNodeServer.getBuildId",a.createComponentTree="NextNodeServer.createComponentTree",a.clientComponentLoading="NextNodeServer.clientComponentLoading",a.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",a.generateStaticRoutes="NextNodeServer.generateStaticRoutes",a.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",a.generatePublicRoutes="NextNodeServer.generatePublicRoutes",a.generateImageRoutes="NextNodeServer.generateImageRoutes.route",a.sendRenderResult="NextNodeServer.sendRenderResult",a.proxyRequest="NextNodeServer.proxyRequest",a.runApi="NextNodeServer.runApi",a.render="NextNodeServer.render",a.renderHTML="NextNodeServer.renderHTML",a.imageOptimizer="NextNodeServer.imageOptimizer",a.getPagePath="NextNodeServer.getPagePath",a.getRoutesManifest="NextNodeServer.getRoutesManifest",a.findPageComponents="NextNodeServer.findPageComponents",a.getFontManifest="NextNodeServer.getFontManifest",a.getServerComponentManifest="NextNodeServer.getServerComponentManifest",a.getRequestHandler="NextNodeServer.getRequestHandler",a.renderToHTML="NextNodeServer.renderToHTML",a.renderError="NextNodeServer.renderError",a.renderErrorToHTML="NextNodeServer.renderErrorToHTML",a.render404="NextNodeServer.render404",a.startResponse="NextNodeServer.startResponse",a.route="route",a.onProxyReq="onProxyReq",a.apiResolver="apiResolver",a.internalFetch="internalFetch",a}(f||{}),g=function(a){return a.startServer="startServer.startServer",a}(g||{}),h=function(a){return a.getServerSideProps="Render.getServerSideProps",a.getStaticProps="Render.getStaticProps",a.renderToString="Render.renderToString",a.renderDocument="Render.renderDocument",a.createBodyResult="Render.createBodyResult",a}(h||{}),i=function(a){return a.renderToString="AppRender.renderToString",a.renderToReadableStream="AppRender.renderToReadableStream",a.getBodyResult="AppRender.getBodyResult",a.fetch="AppRender.fetch",a}(i||{}),j=function(a){return a.executeRoute="Router.executeRoute",a}(j||{}),k=function(a){return a.runHandler="Node.runHandler",a}(k||{}),l=function(a){return a.runHandler="AppRouteRouteHandlers.runHandler",a}(l||{}),m=function(a){return a.generateMetadata="ResolveMetadata.generateMetadata",a.generateViewport="ResolveMetadata.generateViewport",a}(m||{}),n=function(a){return a.execute="Middleware.execute",a}(n||{});let o=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],p=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"]},39326:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{NEXT_REQUEST_META:function(){return c},addRequestMeta:function(){return f},getRequestMeta:function(){return d},removeRequestMeta:function(){return g},setRequestMeta:function(){return e}});let c=Symbol.for("NextInternalRequestMeta");function d(a,b){let d=a[c]||{};return"string"==typeof b?d[b]:d}function e(a,b){return a[c]=b,b}function f(a,b,c){let f=d(a);return f[b]=c,e(a,f)}function g(a,b){let c=d(a);return delete c[b],e(a,c)}},39577:(a,b)=>{"use strict";function c(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isThenable",{enumerable:!0,get:function(){return c}})},40163:(a,b)=>{"use strict";function c(a,b){let c;if((null==b?void 0:b.host)&&!Array.isArray(b.host))c=b.host.toString().split(":",1)[0];else{if(!a.hostname)return;c=a.hostname}return c.toLowerCase()}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getHostname",{enumerable:!0,get:function(){return c}})},40440:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"Batcher",{enumerable:!0,get:function(){return e}});let d=c(63269);class e{constructor(a,b=a=>a()){this.cacheKeyFn=a,this.schedulerFn=b,this.pending=new Map}static create(a){return new e(null==a?void 0:a.cacheKeyFn,null==a?void 0:a.schedulerFn)}async batch(a,b){let c=this.cacheKeyFn?await this.cacheKeyFn(a):a;if(null===c)return b(c,Promise.resolve);let e=this.pending.get(c);if(e)return e;let{promise:f,resolve:g,reject:h}=new d.DetachedPromise;return this.pending.set(c,f),this.schedulerFn(async()=>{try{let a=await b(c,g);g(a)}catch(a){h(a)}finally{this.pending.delete(c)}}),f}}},41681:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getCacheControlHeader",{enumerable:!0,get:function(){return e}});let d=c(63446);function e({revalidate:a,expire:b}){let c="number"==typeof a&&void 0!==b&&a{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getClientComponentLoaderMetrics:function(){return g},wrapClientComponentLoader:function(){return f}});let c=0,d=0,e=0;function f(a){return"performance"in globalThis?{require:(...b)=>{let f=performance.now();0===c&&(c=f);try{return e+=1,a.__next_app__.require(...b)}finally{d+=performance.now()-f}},loadChunk:(...b)=>{let c=performance.now(),e=a.__next_app__.loadChunk(...b);return e.finally(()=>{d+=performance.now()-c}),e}}:a.__next_app__}function g(a={}){let b=0===c?void 0:{clientComponentLoadStart:c,clientComponentLoadTimes:d,clientComponentLoadCount:e};return a.reset&&(c=0,d=0,e=0),b}},46595:(a,b)=>{"use strict";function c(a){return a.isOnDemandRevalidate?"on-demand":a.isRevalidate?"stale":void 0}Object.defineProperty(b,"c",{enumerable:!0,get:function(){return c}})},47686:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{chainStreams:function(){return n},continueDynamicHTMLResume:function(){return E},continueDynamicPrerender:function(){return C},continueFizzStream:function(){return B},continueStaticPrerender:function(){return D},createBufferedTransformStream:function(){return s},createDocumentClosingStream:function(){return F},createRootLayoutValidatorStream:function(){return A},renderToInitialFizzStream:function(){return u},streamFromBuffer:function(){return p},streamFromString:function(){return o},streamToBuffer:function(){return q},streamToString:function(){return r}});let d=c(32324),e=c(38928),f=c(63269),g=c(37422),h=c(2762),i=c(9403),j=c(5796),k=c(26720);function l(){}let m=new TextEncoder;function n(...a){if(0===a.length)return new ReadableStream({start(a){a.close()}});if(1===a.length)return a[0];let{readable:b,writable:c}=new TransformStream,d=a[0].pipeTo(c,{preventClose:!0}),e=1;for(;eb.pipeTo(c,{preventClose:!0}))}let f=a[e];return(d=d.then(()=>f.pipeTo(c))).catch(l),b}function o(a){return new ReadableStream({start(b){b.enqueue(m.encode(a)),b.close()}})}function p(a){return new ReadableStream({start(b){b.enqueue(a),b.close()}})}async function q(a){let b=a.getReader(),c=[];for(;;){let{done:a,value:d}=await b.read();if(a)break;c.push(d)}return Buffer.concat(c)}async function r(a,b){let c=new TextDecoder("utf-8",{fatal:!0}),d="";for await(let e of a){if(null==b?void 0:b.aborted)return d;d+=c.decode(e,{stream:!0})}return d+c.decode()}function s(){let a,b=[],c=0;return new TransformStream({transform(d,e){b.push(d),c+=d.byteLength,(d=>{if(a)return;let e=new f.DetachedPromise;a=e,(0,g.scheduleImmediate)(()=>{try{let a=new Uint8Array(c),e=0;for(let c=0;ca.renderToReadableStream(b,c))}function v(a){let b=-1,c=!1;return new TransformStream({async transform(d,e){let f=-1,g=-1;if(b++,c)return void e.enqueue(d);let j=0;if(-1===f){if(-1===(f=(0,i.indexOfUint8Array)(d,h.ENCODED_TAGS.META.ICON_MARK)))return void e.enqueue(d);47===d[f+(j=h.ENCODED_TAGS.META.ICON_MARK.length)]?j+=2:j++}if(0===b){if(g=(0,i.indexOfUint8Array)(d,h.ENCODED_TAGS.CLOSED.HEAD),-1!==f){if(f-1){if(a=!0,b.length===h.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length)return;let e=b.slice(0,d);if(c.enqueue(e),b.length>h.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length+d){let a=b.slice(d+h.ENCODED_TAGS.CLOSED.BODY_AND_HTML.length);c.enqueue(a)}}else c.enqueue(b)},flush(a){a.enqueue(h.ENCODED_TAGS.CLOSED.BODY_AND_HTML)}})}function A(){let a=!1,b=!1;return new TransformStream({async transform(c,d){!a&&(0,i.indexOfUint8Array)(c,h.ENCODED_TAGS.OPENING.HTML)>-1&&(a=!0),!b&&(0,i.indexOfUint8Array)(c,h.ENCODED_TAGS.OPENING.BODY)>-1&&(b=!0),d.enqueue(c)},flush(c){let d=[];a||d.push("html"),b||d.push("body"),d.length&&c.enqueue(m.encode(` + + `))}})}async function B(a,{suffix:b,inlinedDataStream:c,isStaticGeneration:d,isBuildTimePrerendering:e,buildId:h,getServerInsertedHTML:i,getServerInsertedMetadata:j,validateRootLayout:k}){let l,n,o=b?b.split(y,1)[0]:null;d&&await a.allReady;var p=[s(),t(e,h),v(j),null!=o&&o.length>0?(n=!1,new TransformStream({transform(a,b){if(b.enqueue(a),!n){n=!0;let a=new f.DetachedPromise;l=a,(0,g.scheduleImmediate)(()=>{try{b.enqueue(m.encode(o))}catch{}finally{l=void 0,a.resolve()}})}},flush(a){if(l)return l.promise;n||a.enqueue(m.encode(o))}})):null,c?x(c,!0):null,k?A():null,z(),w(i)];let q=a;for(let a of p)a&&(q=q.pipeThrough(a));return q}async function C(a,{getServerInsertedHTML:b,getServerInsertedMetadata:c}){return a.pipeThrough(s()).pipeThrough(new TransformStream({transform(a,b){(0,i.isEquivalentUint8Arrays)(a,h.ENCODED_TAGS.CLOSED.BODY_AND_HTML)||(0,i.isEquivalentUint8Arrays)(a,h.ENCODED_TAGS.CLOSED.BODY)||(0,i.isEquivalentUint8Arrays)(a,h.ENCODED_TAGS.CLOSED.HTML)||(a=(0,i.removeFromUint8Array)(a,h.ENCODED_TAGS.CLOSED.BODY),a=(0,i.removeFromUint8Array)(a,h.ENCODED_TAGS.CLOSED.HTML),b.enqueue(a))}})).pipeThrough(w(b)).pipeThrough(v(c))}async function D(a,{inlinedDataStream:b,getServerInsertedHTML:c,getServerInsertedMetadata:d,isBuildTimePrerendering:e,buildId:f}){return a.pipeThrough(s()).pipeThrough(t(e,f)).pipeThrough(w(c)).pipeThrough(v(d)).pipeThrough(x(b,!0)).pipeThrough(z())}async function E(a,{delayDataUntilFirstHtmlChunk:b,inlinedDataStream:c,getServerInsertedHTML:d,getServerInsertedMetadata:e}){return a.pipeThrough(s()).pipeThrough(w(d)).pipeThrough(v(e)).pipeThrough(x(c,b)).pipeThrough(z())}function F(){return o(y)}},49290:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"InvariantError",{enumerable:!0,get:function(){return c}});class c extends Error{constructor(a,b){super("Invariant: "+(a.endsWith(".")?a:a+".")+" This is a bug in Next.js.",b),this.name="InvariantError"}}},49671:(a,b)=>{"use strict";function c(a,b,c){if(a)for(let f of(c&&(c=c.toLowerCase()),a)){var d,e;if(b===(null==(d=f.domain)?void 0:d.split(":",1)[0].toLowerCase())||c===f.defaultLocale.toLowerCase()||(null==(e=f.locales)?void 0:e.some(a=>a.toLowerCase()===c)))return f}}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"detectDomainLocale",{enumerable:!0,get:function(){return c}})},49754:(a,b,c)=>{"use strict";a.exports=c(10846)},51356:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return g}});let d=c(40440),e=c(37422),f=c(15965);!function(a,b){Object.keys(a).forEach(function(c){"default"===c||Object.prototype.hasOwnProperty.call(b,c)||Object.defineProperty(b,c,{enumerable:!0,get:function(){return a[c]}})})}(c(60905),b);class g{constructor(a){this.batcher=d.Batcher.create({cacheKeyFn:({key:a,isOnDemandRevalidate:b})=>`${a}-${b?"1":"0"}`,schedulerFn:e.scheduleOnNextTick}),this.minimal_mode=a}async get(a,b,c){if(!a)return b({hasResolved:!1,previousCacheEntry:null});let{incrementalCache:d,isOnDemandRevalidate:e=!1,isFallback:g=!1,isRoutePPREnabled:h=!1,waitUntil:i}=c,j=await this.batcher.batch({key:a,isOnDemandRevalidate:e},(j,k)=>{let l=(async()=>{var i;if(this.minimal_mode&&(null==(i=this.previousCacheItem)?void 0:i.key)===j&&this.previousCacheItem.expiresAt>Date.now())return this.previousCacheItem.entry;let l=(0,f.routeKindToIncrementalCacheKind)(c.routeKind),m=!1,n=null;try{if((n=this.minimal_mode?null:await d.get(a,{kind:l,isRoutePPREnabled:c.isRoutePPREnabled,isFallback:g}))&&!e&&(k(n),m=!0,!n.isStale||c.isPrefetch))return null;let i=await b({hasResolved:m,previousCacheEntry:n,isRevalidating:!0});if(!i)return this.minimal_mode&&(this.previousCacheItem=void 0),null;let o=await (0,f.fromResponseCacheEntry)({...i,isMiss:!n});if(!o)return this.minimal_mode&&(this.previousCacheItem=void 0),null;return e||m||(k(o),m=!0),o.cacheControl&&(this.minimal_mode?this.previousCacheItem={key:j,entry:o,expiresAt:Date.now()+1e3}:await d.set(a,o.value,{cacheControl:o.cacheControl,isRoutePPREnabled:h,isFallback:g})),o}catch(b){if(null==n?void 0:n.cacheControl){let b=Math.min(Math.max(n.cacheControl.revalidate||3,3),30),c=void 0===n.cacheControl.expire?void 0:Math.max(b+3,n.cacheControl.expire);await d.set(a,n.value,{cacheControl:{revalidate:b,expire:c},isRoutePPREnabled:h,isFallback:g})}if(m)return console.error(b),null;throw b}})();return i&&i(l),l});return(0,f.toResponseCacheEntry)(j)}}},53290:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"normalizeLocalePath",{enumerable:!0,get:function(){return d}});let c=new WeakMap;function d(a,b){let d;if(!b)return{pathname:a};let e=c.get(b);e||(e=b.map(a=>a.toLowerCase()),c.set(b,e));let f=a.split("/",2);if(!f[1])return{pathname:a};let g=f[1].toLowerCase(),h=e.indexOf(g);return h<0?{pathname:a}:(d=b[h],{pathname:a=a.slice(d.length+1)||"/",detectedLocale:d})}},53630:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"removePathPrefix",{enumerable:!0,get:function(){return e}});let d=c(75916);function e(a,b){if(!(0,d.pathHasPrefix)(a,b))return a;let c=a.slice(b.length);return c.startsWith("/")?c:"/"+c}},54290:(a,b,c)=>{"use strict";var d;Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{NodeNextRequest:function(){return h},NodeNextResponse:function(){return i}});let e=c(57328),f=c(39326),g=c(67304);class h extends g.BaseNextRequest{static #a=d=f.NEXT_REQUEST_META;constructor(a){var b;super(a.method.toUpperCase(),a.url,a),this._req=a,this.headers=this._req.headers,this.fetchMetrics=null==(b=this._req)?void 0:b.fetchMetrics,this[d]=this._req[f.NEXT_REQUEST_META]||{},this.streaming=!1}get originalRequest(){return this._req[f.NEXT_REQUEST_META]=this[f.NEXT_REQUEST_META],this._req.url=this.url,this._req.cookies=this.cookies,this._req}set originalRequest(a){this._req=a}stream(){if(this.streaming)throw Object.defineProperty(Error("Invariant: NodeNextRequest.stream() can only be called once"),"__NEXT_ERROR_CODE",{value:"E467",enumerable:!1,configurable:!0});return this.streaming=!0,new ReadableStream({start:a=>{this._req.on("data",b=>{a.enqueue(new Uint8Array(b))}),this._req.on("end",()=>{a.close()}),this._req.on("error",b=>{a.error(b)})}})}}class i extends g.BaseNextResponse{get originalResponse(){return e.SYMBOL_CLEARED_COOKIES in this&&(this._res[e.SYMBOL_CLEARED_COOKIES]=this[e.SYMBOL_CLEARED_COOKIES]),this._res}constructor(a){super(a),this._res=a,this.textBody=void 0}get sent(){return this._res.finished||this._res.headersSent}get statusCode(){return this._res.statusCode}set statusCode(a){this._res.statusCode=a}get statusMessage(){return this._res.statusMessage}set statusMessage(a){this._res.statusMessage=a}setHeader(a,b){return this._res.setHeader(a,b),this}removeHeader(a){return this._res.removeHeader(a),this}getHeaderValues(a){let b=this._res.getHeader(a);if(void 0!==b)return(Array.isArray(b)?b:[b]).map(a=>a.toString())}hasHeader(a){return this._res.hasHeader(a)}getHeader(a){let b=this.getHeaderValues(a);return Array.isArray(b)?b.join(","):void 0}getHeaders(){return this._res.getHeaders()}appendHeader(a,b){let c=this.getHeaderValues(a)??[];return c.includes(b)||this._res.setHeader(a,[...c,b]),this}body(a){return this.textBody=a,this}send(){this._res.end(this.textBody)}onClose(a){this.originalResponse.on("close",a)}}},55088:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isAbortError:function(){return i},pipeToNodeResponse:function(){return j}});let d=c(85328),e=c(63269),f=c(32324),g=c(38928),h=c(45581);function i(a){return(null==a?void 0:a.name)==="AbortError"||(null==a?void 0:a.name)===d.ResponseAbortedName}async function j(a,b,c){try{let{errored:i,destroyed:j}=b;if(i||j)return;let k=(0,d.createAbortController)(b),l=function(a,b){let c=!1,d=new e.DetachedPromise;function i(){d.resolve()}a.on("drain",i),a.once("close",()=>{a.off("drain",i),d.resolve()});let j=new e.DetachedPromise;return a.once("finish",()=>{j.resolve()}),new WritableStream({write:async b=>{if(!c){if(c=!0,"performance"in globalThis&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX){let a=(0,h.getClientComponentLoaderMetrics)();a&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-client-component-loading`,{start:a.clientComponentLoadStart,end:a.clientComponentLoadStart+a.clientComponentLoadTimes})}a.flushHeaders(),(0,f.getTracer)().trace(g.NextNodeServerSpan.startResponse,{spanName:"start response"},()=>void 0)}try{let c=a.write(b);"flush"in a&&"function"==typeof a.flush&&a.flush(),c||(await d.promise,d=new e.DetachedPromise)}catch(b){throw a.end(),Object.defineProperty(Error("failed to write chunk to response",{cause:b}),"__NEXT_ERROR_CODE",{value:"E321",enumerable:!1,configurable:!0})}},abort:b=>{a.writableFinished||a.destroy(b)},close:async()=>{if(b&&await b,!a.writableFinished)return a.end(),j.promise}})}(b,c);await a.pipeTo(l,{signal:k.signal})}catch(a){if(i(a))return;throw Object.defineProperty(Error("failed to pipe response",{cause:a}),"__NEXT_ERROR_CODE",{value:"E180",enumerable:!1,configurable:!0})}}},57328:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ApiError:function(){return r},COOKIE_NAME_PRERENDER_BYPASS:function(){return l},COOKIE_NAME_PRERENDER_DATA:function(){return m},RESPONSE_LIMIT_DEFAULT:function(){return n},SYMBOL_CLEARED_COOKIES:function(){return p},SYMBOL_PREVIEW_DATA:function(){return o},checkIsOnDemandRevalidate:function(){return k},clearPreviewData:function(){return q},redirect:function(){return j},sendError:function(){return s},sendStatusCode:function(){return i},setLazyProp:function(){return t},wrapApiHandler:function(){return h}});let d=c(67675),e=c(63446),f=c(32324),g=c(38928);function h(a,b){return(...c)=>((0,f.getTracer)().setRootSpanAttribute("next.route",a),(0,f.getTracer)().trace(g.NodeSpan.runHandler,{spanName:`executing api route (pages) ${a}`},()=>b(...c)))}function i(a,b){return a.statusCode=b,a}function j(a,b,c){if("string"==typeof b&&(c=b,b=307),"number"!=typeof b||"string"!=typeof c)throw Object.defineProperty(Error("Invalid redirect arguments. Please use a single argument URL, e.g. res.redirect('/destination') or use a status code and URL, e.g. res.redirect(307, '/destination')."),"__NEXT_ERROR_CODE",{value:"E389",enumerable:!1,configurable:!0});return a.writeHead(b,{Location:c}),a.write(c),a.end(),a}function k(a,b){let c=d.HeadersAdapter.from(a.headers);return{isOnDemandRevalidate:c.get(e.PRERENDER_REVALIDATE_HEADER)===b.previewModeId,revalidateOnlyGenerated:c.has(e.PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER)}}let l="__prerender_bypass",m="__next_preview_data",n=4194304,o=Symbol(m),p=Symbol(l);function q(a,b={}){if(p in a)return a;let{serialize:d}=c(94878),e=a.getHeader("Set-Cookie");return a.setHeader("Set-Cookie",[..."string"==typeof e?[e]:Array.isArray(e)?e:[],d(l,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==b.path?{path:b.path}:void 0}),d(m,"",{expires:new Date(0),httpOnly:!0,sameSite:"none",secure:!0,path:"/",...void 0!==b.path?{path:b.path}:void 0})]),Object.defineProperty(a,p,{value:!0,enumerable:!1}),a}class r extends Error{constructor(a,b){super(b),this.statusCode=a}}function s(a,b,c){a.statusCode=b,a.statusMessage=c,a.end(c)}function t({req:a},b,c){let d={configurable:!0,enumerable:!0},e={...d,writable:!0};Object.defineProperty(a,b,{...d,get:()=>{let d=c();return Object.defineProperty(a,b,{...e,value:d}),d},set:c=>{Object.defineProperty(a,b,{...e,value:c})}})}},58583:(a,b,c)=>{"use strict";function d(a){return function(){let{cookie:b}=a;if(!b)return{};let{parse:d}=c(94878);return d(Array.isArray(b)?b.join("; "):b)}}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getCookieParser",{enumerable:!0,get:function(){return d}})},60905:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{CachedRouteKind:function(){return c},IncrementalCacheKind:function(){return d}});var c=function(a){return a.APP_PAGE="APP_PAGE",a.APP_ROUTE="APP_ROUTE",a.PAGES="PAGES",a.FETCH="FETCH",a.REDIRECT="REDIRECT",a.IMAGE="IMAGE",a}({}),d=function(a){return a.APP_PAGE="APP_PAGE",a.APP_ROUTE="APP_ROUTE",a.PAGES="PAGES",a.FETCH="FETCH",a.IMAGE="IMAGE",a}({})},63036:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ReflectAdapter",{enumerable:!0,get:function(){return c}});class c{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}},63269:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"DetachedPromise",{enumerable:!0,get:function(){return c}});class c{constructor(){let a,b;this.promise=new Promise((c,d)=>{a=c,b=d}),this.resolve=a,this.reject=b}}},63446:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ACTION_SUFFIX:function(){return o},APP_DIR_ALIAS:function(){return I},CACHE_ONE_YEAR:function(){return A},DOT_NEXT_ALIAS:function(){return G},ESLINT_DEFAULT_DIRS:function(){return aa},GSP_NO_RETURNED_VALUE:function(){return W},GSSP_COMPONENT_MEMBER_ERROR:function(){return Z},GSSP_NO_RETURNED_VALUE:function(){return X},HTML_CONTENT_TYPE_HEADER:function(){return d},INFINITE_CACHE:function(){return B},INSTRUMENTATION_HOOK_FILENAME:function(){return E},JSON_CONTENT_TYPE_HEADER:function(){return e},MATCHED_PATH_HEADER:function(){return h},MIDDLEWARE_FILENAME:function(){return C},MIDDLEWARE_LOCATION_REGEXP:function(){return D},NEXT_BODY_SUFFIX:function(){return r},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return z},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return t},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return u},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return y},NEXT_CACHE_TAGS_HEADER:function(){return s},NEXT_CACHE_TAG_MAX_ITEMS:function(){return w},NEXT_CACHE_TAG_MAX_LENGTH:function(){return x},NEXT_DATA_SUFFIX:function(){return p},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return g},NEXT_META_SUFFIX:function(){return q},NEXT_QUERY_PARAM_PREFIX:function(){return f},NEXT_RESUME_HEADER:function(){return v},NON_STANDARD_NODE_ENV:function(){return $},PAGES_DIR_ALIAS:function(){return F},PRERENDER_REVALIDATE_HEADER:function(){return i},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return j},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return Q},ROOT_DIR_ALIAS:function(){return H},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return P},RSC_ACTION_ENCRYPTION_ALIAS:function(){return O},RSC_ACTION_PROXY_ALIAS:function(){return L},RSC_ACTION_VALIDATE_ALIAS:function(){return K},RSC_CACHE_WRAPPER_ALIAS:function(){return M},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return N},RSC_MOD_REF_PROXY_ALIAS:function(){return J},RSC_PREFETCH_SUFFIX:function(){return k},RSC_SEGMENTS_DIR_SUFFIX:function(){return l},RSC_SEGMENT_SUFFIX:function(){return m},RSC_SUFFIX:function(){return n},SERVER_PROPS_EXPORT_ERROR:function(){return V},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return S},SERVER_PROPS_SSG_CONFLICT:function(){return T},SERVER_RUNTIME:function(){return ab},SSG_FALLBACK_EXPORT_ERROR:function(){return _},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return R},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return U},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return c},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return Y},WEBPACK_LAYERS:function(){return ad},WEBPACK_RESOURCE_QUERIES:function(){return ae}});let c="text/plain",d="text/html; charset=utf-8",e="application/json; charset=utf-8",f="nxtP",g="nxtI",h="x-matched-path",i="x-prerender-revalidate",j="x-prerender-revalidate-if-generated",k=".prefetch.rsc",l=".segments",m=".segment.rsc",n=".rsc",o=".action",p=".json",q=".meta",r=".body",s="x-next-cache-tags",t="x-next-revalidated-tags",u="x-next-revalidate-tag-token",v="next-resume",w=128,x=256,y=1024,z="_N_T_",A=31536e3,B=0xfffffffe,C="middleware",D=`(?:src/)?${C}`,E="instrumentation",F="private-next-pages",G="private-dot-next",H="private-next-root-dir",I="private-next-app-dir",J="next/dist/build/webpack/loaders/next-flight-loader/module-proxy",K="private-next-rsc-action-validate",L="private-next-rsc-server-reference",M="private-next-rsc-cache-wrapper",N="private-next-rsc-track-dynamic-import",O="private-next-rsc-action-encryption",P="private-next-rsc-action-client-wrapper",Q="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",R="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",S="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",T="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",U="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",V="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",W="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",X="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",Y="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",Z="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",$='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',_="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",aa=["app","pages","components","lib","src"],ab={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},ac={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},ad={...ac,GROUP:{builtinReact:[ac.reactServerComponents,ac.actionBrowser],serverOnly:[ac.reactServerComponents,ac.actionBrowser,ac.instrument,ac.middleware],neutralTarget:[ac.apiNode,ac.apiEdge],clientOnly:[ac.serverSideRendering,ac.appPagesBrowser],bundled:[ac.reactServerComponents,ac.actionBrowser,ac.serverSideRendering,ac.appPagesBrowser,ac.shared,ac.instrument,ac.middleware],appPages:[ac.reactServerComponents,ac.serverSideRendering,ac.appPagesBrowser,ac.actionBrowser]}},ae={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},67304:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BaseNextRequest:function(){return f},BaseNextResponse:function(){return g}});let d=c(91203),e=c(58583);class f{constructor(a,b,c){this.method=a,this.url=b,this.body=c}get cookies(){return this._cookies?this._cookies:this._cookies=(0,e.getCookieParser)(this.headers)()}}class g{constructor(a){this.destination=a}redirect(a,b){return this.setHeader("Location",a),this.statusCode=b,b===d.RedirectStatusCode.PermanentRedirect&&this.setHeader("Refresh",`0;url=${a}`),this}}},67675:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{HeadersAdapter:function(){return f},ReadonlyHeadersError:function(){return e}});let d=c(63036);class e extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new e}}class f extends Headers{constructor(a){super(),this.headers=new Proxy(a,{get(b,c,e){if("symbol"==typeof c)return d.ReflectAdapter.get(b,c,e);let f=c.toLowerCase(),g=Object.keys(a).find(a=>a.toLowerCase()===f);if(void 0!==g)return d.ReflectAdapter.get(b,g,e)},set(b,c,e,f){if("symbol"==typeof c)return d.ReflectAdapter.set(b,c,e,f);let g=c.toLowerCase(),h=Object.keys(a).find(a=>a.toLowerCase()===g);return d.ReflectAdapter.set(b,h??c,e,f)},has(b,c){if("symbol"==typeof c)return d.ReflectAdapter.has(b,c);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0!==f&&d.ReflectAdapter.has(b,f)},deleteProperty(b,c){if("symbol"==typeof c)return d.ReflectAdapter.deleteProperty(b,c);let e=c.toLowerCase(),f=Object.keys(a).find(a=>a.toLowerCase()===e);return void 0===f||d.ReflectAdapter.deleteProperty(b,f)}})}static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"append":case"delete":case"set":return e.callable;default:return d.ReflectAdapter.get(a,b,c)}}})}merge(a){return Array.isArray(a)?a.join(", "):a}static from(a){return a instanceof Headers?a:new f(a)}append(a,b){let c=this.headers[a];"string"==typeof c?this.headers[a]=[c,b]:Array.isArray(c)?c.push(b):this.headers[a]=b}delete(a){delete this.headers[a]}get(a){let b=this.headers[a];return void 0!==b?this.merge(b):null}has(a){return void 0!==this.headers[a]}set(a,b){this.headers[a]=b}forEach(a,b){for(let[c,d]of this.entries())a.call(b,d,c,this)}*entries(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase(),c=this.get(b);yield[b,c]}}*keys(){for(let a of Object.keys(this.headers)){let b=a.toLowerCase();yield b}}*values(){for(let a of Object.keys(this.headers)){let b=this.get(a);yield b}}[Symbol.iterator](){return this.entries()}}},68688:a=>{(()=>{"use strict";var b={491:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ContextAPI=void 0;let d=c(223),e=c(172),f=c(930),g="context",h=new d.NoopContextManager;class i{constructor(){}static getInstance(){return this._instance||(this._instance=new i),this._instance}setGlobalContextManager(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}active(){return this._getContextManager().active()}with(a,b,c,...d){return this._getContextManager().with(a,b,c,...d)}bind(a,b){return this._getContextManager().bind(a,b)}_getContextManager(){return(0,e.getGlobal)(g)||h}disable(){this._getContextManager().disable(),(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.ContextAPI=i},930:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagAPI=void 0;let d=c(56),e=c(912),f=c(957),g=c(172);class h{constructor(){function a(a){return function(...b){let c=(0,g.getGlobal)("diag");if(c)return c[a](...b)}}let b=this;b.setLogger=(a,c={logLevel:f.DiagLogLevel.INFO})=>{var d,h,i;if(a===b){let a=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return b.error(null!=(d=a.stack)?d:a.message),!1}"number"==typeof c&&(c={logLevel:c});let j=(0,g.getGlobal)("diag"),k=(0,e.createLogLevelDiagLogger)(null!=(h=c.logLevel)?h:f.DiagLogLevel.INFO,a);if(j&&!c.suppressOverrideMessage){let a=null!=(i=Error().stack)?i:"";j.warn(`Current logger will be overwritten from ${a}`),k.warn(`Current logger will overwrite one already registered from ${a}`)}return(0,g.registerGlobal)("diag",k,b,!0)},b.disable=()=>{(0,g.unregisterGlobal)("diag",b)},b.createComponentLogger=a=>new d.DiagComponentLogger(a),b.verbose=a("verbose"),b.debug=a("debug"),b.info=a("info"),b.warn=a("warn"),b.error=a("error")}static instance(){return this._instance||(this._instance=new h),this._instance}}b.DiagAPI=h},653:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.MetricsAPI=void 0;let d=c(660),e=c(172),f=c(930),g="metrics";class h{constructor(){}static getInstance(){return this._instance||(this._instance=new h),this._instance}setGlobalMeterProvider(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}getMeterProvider(){return(0,e.getGlobal)(g)||d.NOOP_METER_PROVIDER}getMeter(a,b,c){return this.getMeterProvider().getMeter(a,b,c)}disable(){(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.MetricsAPI=h},181:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.PropagationAPI=void 0;let d=c(172),e=c(874),f=c(194),g=c(277),h=c(369),i=c(930),j="propagation",k=new e.NoopTextMapPropagator;class l{constructor(){this.createBaggage=h.createBaggage,this.getBaggage=g.getBaggage,this.getActiveBaggage=g.getActiveBaggage,this.setBaggage=g.setBaggage,this.deleteBaggage=g.deleteBaggage}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalPropagator(a){return(0,d.registerGlobal)(j,a,i.DiagAPI.instance())}inject(a,b,c=f.defaultTextMapSetter){return this._getGlobalPropagator().inject(a,b,c)}extract(a,b,c=f.defaultTextMapGetter){return this._getGlobalPropagator().extract(a,b,c)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,d.unregisterGlobal)(j,i.DiagAPI.instance())}_getGlobalPropagator(){return(0,d.getGlobal)(j)||k}}b.PropagationAPI=l},997:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceAPI=void 0;let d=c(172),e=c(846),f=c(139),g=c(607),h=c(930),i="trace";class j{constructor(){this._proxyTracerProvider=new e.ProxyTracerProvider,this.wrapSpanContext=f.wrapSpanContext,this.isSpanContextValid=f.isSpanContextValid,this.deleteSpan=g.deleteSpan,this.getSpan=g.getSpan,this.getActiveSpan=g.getActiveSpan,this.getSpanContext=g.getSpanContext,this.setSpan=g.setSpan,this.setSpanContext=g.setSpanContext}static getInstance(){return this._instance||(this._instance=new j),this._instance}setGlobalTracerProvider(a){let b=(0,d.registerGlobal)(i,this._proxyTracerProvider,h.DiagAPI.instance());return b&&this._proxyTracerProvider.setDelegate(a),b}getTracerProvider(){return(0,d.getGlobal)(i)||this._proxyTracerProvider}getTracer(a,b){return this.getTracerProvider().getTracer(a,b)}disable(){(0,d.unregisterGlobal)(i,h.DiagAPI.instance()),this._proxyTracerProvider=new e.ProxyTracerProvider}}b.TraceAPI=j},277:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.deleteBaggage=b.setBaggage=b.getActiveBaggage=b.getBaggage=void 0;let d=c(491),e=(0,c(780).createContextKey)("OpenTelemetry Baggage Key");function f(a){return a.getValue(e)||void 0}b.getBaggage=f,b.getActiveBaggage=function(){return f(d.ContextAPI.getInstance().active())},b.setBaggage=function(a,b){return a.setValue(e,b)},b.deleteBaggage=function(a){return a.deleteValue(e)}},993:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.BaggageImpl=void 0;class c{constructor(a){this._entries=a?new Map(a):new Map}getEntry(a){let b=this._entries.get(a);if(b)return Object.assign({},b)}getAllEntries(){return Array.from(this._entries.entries()).map(([a,b])=>[a,b])}setEntry(a,b){let d=new c(this._entries);return d._entries.set(a,b),d}removeEntry(a){let b=new c(this._entries);return b._entries.delete(a),b}removeEntries(...a){let b=new c(this._entries);for(let c of a)b._entries.delete(c);return b}clear(){return new c}}b.BaggageImpl=c},830:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataSymbol=void 0,b.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataFromString=b.createBaggage=void 0;let d=c(930),e=c(993),f=c(830),g=d.DiagAPI.instance();b.createBaggage=function(a={}){return new e.BaggageImpl(new Map(Object.entries(a)))},b.baggageEntryMetadataFromString=function(a){return"string"!=typeof a&&(g.error(`Cannot create baggage metadata from unknown type: ${typeof a}`),a=""),{__TYPE__:f.baggageEntryMetadataSymbol,toString:()=>a}}},67:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.context=void 0,b.context=c(491).ContextAPI.getInstance()},223:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopContextManager=void 0;let d=c(780);class e{active(){return d.ROOT_CONTEXT}with(a,b,c,...d){return b.call(c,...d)}bind(a,b){return b}enable(){return this}disable(){return this}}b.NoopContextManager=e},780:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ROOT_CONTEXT=b.createContextKey=void 0,b.createContextKey=function(a){return Symbol.for(a)};class c{constructor(a){let b=this;b._currentContext=a?new Map(a):new Map,b.getValue=a=>b._currentContext.get(a),b.setValue=(a,d)=>{let e=new c(b._currentContext);return e._currentContext.set(a,d),e},b.deleteValue=a=>{let d=new c(b._currentContext);return d._currentContext.delete(a),d}}}b.ROOT_CONTEXT=new c},506:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.diag=void 0,b.diag=c(930).DiagAPI.instance()},56:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagComponentLogger=void 0;let d=c(172);class e{constructor(a){this._namespace=a.namespace||"DiagComponentLogger"}debug(...a){return f("debug",this._namespace,a)}error(...a){return f("error",this._namespace,a)}info(...a){return f("info",this._namespace,a)}warn(...a){return f("warn",this._namespace,a)}verbose(...a){return f("verbose",this._namespace,a)}}function f(a,b,c){let e=(0,d.getGlobal)("diag");if(e)return c.unshift(b),e[a](...c)}b.DiagComponentLogger=e},972:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagConsoleLogger=void 0;let c=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class d{constructor(){for(let a=0;a{Object.defineProperty(b,"__esModule",{value:!0}),b.createLogLevelDiagLogger=void 0;let d=c(957);b.createLogLevelDiagLogger=function(a,b){function c(c,d){let e=b[c];return"function"==typeof e&&a>=d?e.bind(b):function(){}}return ad.DiagLogLevel.ALL&&(a=d.DiagLogLevel.ALL),b=b||{},{error:c("error",d.DiagLogLevel.ERROR),warn:c("warn",d.DiagLogLevel.WARN),info:c("info",d.DiagLogLevel.INFO),debug:c("debug",d.DiagLogLevel.DEBUG),verbose:c("verbose",d.DiagLogLevel.VERBOSE)}}},957:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagLogLevel=void 0,function(a){a[a.NONE=0]="NONE",a[a.ERROR=30]="ERROR",a[a.WARN=50]="WARN",a[a.INFO=60]="INFO",a[a.DEBUG=70]="DEBUG",a[a.VERBOSE=80]="VERBOSE",a[a.ALL=9999]="ALL"}(b.DiagLogLevel||(b.DiagLogLevel={}))},172:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.unregisterGlobal=b.getGlobal=b.registerGlobal=void 0;let d=c(200),e=c(521),f=c(130),g=e.VERSION.split(".")[0],h=Symbol.for(`opentelemetry.js.api.${g}`),i=d._globalThis;b.registerGlobal=function(a,b,c,d=!1){var f;let g=i[h]=null!=(f=i[h])?f:{version:e.VERSION};if(!d&&g[a]){let b=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${a}`);return c.error(b.stack||b.message),!1}if(g.version!==e.VERSION){let b=Error(`@opentelemetry/api: Registration of version v${g.version} for ${a} does not match previously registered API v${e.VERSION}`);return c.error(b.stack||b.message),!1}return g[a]=b,c.debug(`@opentelemetry/api: Registered a global for ${a} v${e.VERSION}.`),!0},b.getGlobal=function(a){var b,c;let d=null==(b=i[h])?void 0:b.version;if(d&&(0,f.isCompatible)(d))return null==(c=i[h])?void 0:c[a]},b.unregisterGlobal=function(a,b){b.debug(`@opentelemetry/api: Unregistering a global for ${a} v${e.VERSION}.`);let c=i[h];c&&delete c[a]}},130:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isCompatible=b._makeCompatibilityCheck=void 0;let d=c(521),e=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function f(a){let b=new Set([a]),c=new Set,d=a.match(e);if(!d)return()=>!1;let f={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=f.prerelease)return function(b){return b===a};function g(a){return c.add(a),!1}return function(a){if(b.has(a))return!0;if(c.has(a))return!1;let d=a.match(e);if(!d)return g(a);let h={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=h.prerelease||f.major!==h.major)return g(a);if(0===f.major)return f.minor===h.minor&&f.patch<=h.patch?(b.add(a),!0):g(a);return f.minor<=h.minor?(b.add(a),!0):g(a)}}b._makeCompatibilityCheck=f,b.isCompatible=f(d.VERSION)},886:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.metrics=void 0,b.metrics=c(653).MetricsAPI.getInstance()},901:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ValueType=void 0,function(a){a[a.INT=0]="INT",a[a.DOUBLE=1]="DOUBLE"}(b.ValueType||(b.ValueType={}))},102:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createNoopMeter=b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=b.NOOP_OBSERVABLE_GAUGE_METRIC=b.NOOP_OBSERVABLE_COUNTER_METRIC=b.NOOP_UP_DOWN_COUNTER_METRIC=b.NOOP_HISTOGRAM_METRIC=b.NOOP_COUNTER_METRIC=b.NOOP_METER=b.NoopObservableUpDownCounterMetric=b.NoopObservableGaugeMetric=b.NoopObservableCounterMetric=b.NoopObservableMetric=b.NoopHistogramMetric=b.NoopUpDownCounterMetric=b.NoopCounterMetric=b.NoopMetric=b.NoopMeter=void 0;class c{constructor(){}createHistogram(a,c){return b.NOOP_HISTOGRAM_METRIC}createCounter(a,c){return b.NOOP_COUNTER_METRIC}createUpDownCounter(a,c){return b.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(a,c){return b.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(a,c){return b.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(a,c){return b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(a,b){}removeBatchObservableCallback(a){}}b.NoopMeter=c;class d{}b.NoopMetric=d;class e extends d{add(a,b){}}b.NoopCounterMetric=e;class f extends d{add(a,b){}}b.NoopUpDownCounterMetric=f;class g extends d{record(a,b){}}b.NoopHistogramMetric=g;class h{addCallback(a){}removeCallback(a){}}b.NoopObservableMetric=h;class i extends h{}b.NoopObservableCounterMetric=i;class j extends h{}b.NoopObservableGaugeMetric=j;class k extends h{}b.NoopObservableUpDownCounterMetric=k,b.NOOP_METER=new c,b.NOOP_COUNTER_METRIC=new e,b.NOOP_HISTOGRAM_METRIC=new g,b.NOOP_UP_DOWN_COUNTER_METRIC=new f,b.NOOP_OBSERVABLE_COUNTER_METRIC=new i,b.NOOP_OBSERVABLE_GAUGE_METRIC=new j,b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new k,b.createNoopMeter=function(){return b.NOOP_METER}},660:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NOOP_METER_PROVIDER=b.NoopMeterProvider=void 0;let d=c(102);class e{getMeter(a,b,c){return d.NOOP_METER}}b.NoopMeterProvider=e,b.NOOP_METER_PROVIDER=new e},200:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(46),b)},651:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b._globalThis=void 0,b._globalThis="object"==typeof globalThis?globalThis:global},46:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(651),b)},939:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.propagation=void 0,b.propagation=c(181).PropagationAPI.getInstance()},874:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTextMapPropagator=void 0;class c{inject(a,b){}extract(a,b){return a}fields(){return[]}}b.NoopTextMapPropagator=c},194:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.defaultTextMapSetter=b.defaultTextMapGetter=void 0,b.defaultTextMapGetter={get(a,b){if(null!=a)return a[b]},keys:a=>null==a?[]:Object.keys(a)},b.defaultTextMapSetter={set(a,b,c){null!=a&&(a[b]=c)}}},845:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.trace=void 0,b.trace=c(997).TraceAPI.getInstance()},403:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NonRecordingSpan=void 0;let d=c(476);class e{constructor(a=d.INVALID_SPAN_CONTEXT){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,b){return this}setAttributes(a){return this}addEvent(a,b){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,b){}}b.NonRecordingSpan=e},614:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracer=void 0;let d=c(491),e=c(607),f=c(403),g=c(139),h=d.ContextAPI.getInstance();class i{startSpan(a,b,c=h.active()){var d;if(null==b?void 0:b.root)return new f.NonRecordingSpan;let i=c&&(0,e.getSpanContext)(c);return"object"==typeof(d=i)&&"string"==typeof d.spanId&&"string"==typeof d.traceId&&"number"==typeof d.traceFlags&&(0,g.isSpanContextValid)(i)?new f.NonRecordingSpan(i):new f.NonRecordingSpan}startActiveSpan(a,b,c,d){let f,g,i;if(arguments.length<2)return;2==arguments.length?i=b:3==arguments.length?(f=b,i=c):(f=b,g=c,i=d);let j=null!=g?g:h.active(),k=this.startSpan(a,f,j),l=(0,e.setSpan)(j,k);return h.with(l,i,void 0,k)}}b.NoopTracer=i},124:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracerProvider=void 0;let d=c(614);class e{getTracer(a,b,c){return new d.NoopTracer}}b.NoopTracerProvider=e},125:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracer=void 0;let d=new(c(614)).NoopTracer;class e{constructor(a,b,c,d){this._provider=a,this.name=b,this.version=c,this.options=d}startSpan(a,b,c){return this._getTracer().startSpan(a,b,c)}startActiveSpan(a,b,c,d){let e=this._getTracer();return Reflect.apply(e.startActiveSpan,e,arguments)}_getTracer(){if(this._delegate)return this._delegate;let a=this._provider.getDelegateTracer(this.name,this.version,this.options);return a?(this._delegate=a,this._delegate):d}}b.ProxyTracer=e},846:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracerProvider=void 0;let d=c(125),e=new(c(124)).NoopTracerProvider;class f{getTracer(a,b,c){var e;return null!=(e=this.getDelegateTracer(a,b,c))?e:new d.ProxyTracer(this,a,b,c)}getDelegate(){var a;return null!=(a=this._delegate)?a:e}setDelegate(a){this._delegate=a}getDelegateTracer(a,b,c){var d;return null==(d=this._delegate)?void 0:d.getTracer(a,b,c)}}b.ProxyTracerProvider=f},996:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SamplingDecision=void 0,function(a){a[a.NOT_RECORD=0]="NOT_RECORD",a[a.RECORD=1]="RECORD",a[a.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(b.SamplingDecision||(b.SamplingDecision={}))},607:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.getSpanContext=b.setSpanContext=b.deleteSpan=b.setSpan=b.getActiveSpan=b.getSpan=void 0;let d=c(780),e=c(403),f=c(491),g=(0,d.createContextKey)("OpenTelemetry Context Key SPAN");function h(a){return a.getValue(g)||void 0}function i(a,b){return a.setValue(g,b)}b.getSpan=h,b.getActiveSpan=function(){return h(f.ContextAPI.getInstance().active())},b.setSpan=i,b.deleteSpan=function(a){return a.deleteValue(g)},b.setSpanContext=function(a,b){return i(a,new e.NonRecordingSpan(b))},b.getSpanContext=function(a){var b;return null==(b=h(a))?void 0:b.spanContext()}},325:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceStateImpl=void 0;let d=c(564);class e{constructor(a){this._internalState=new Map,a&&this._parse(a)}set(a,b){let c=this._clone();return c._internalState.has(a)&&c._internalState.delete(a),c._internalState.set(a,b),c}unset(a){let b=this._clone();return b._internalState.delete(a),b}get(a){return this._internalState.get(a)}serialize(){return this._keys().reduce((a,b)=>(a.push(b+"="+this.get(b)),a),[]).join(",")}_parse(a){!(a.length>512)&&(this._internalState=a.split(",").reverse().reduce((a,b)=>{let c=b.trim(),e=c.indexOf("=");if(-1!==e){let f=c.slice(0,e),g=c.slice(e+1,b.length);(0,d.validateKey)(f)&&(0,d.validateValue)(g)&&a.set(f,g)}return a},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let a=new e;return a._internalState=new Map(this._internalState),a}}b.TraceStateImpl=e},564:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.validateValue=b.validateKey=void 0;let c="[_0-9a-z-*/]",d=`[a-z]${c}{0,255}`,e=`[a-z0-9]${c}{0,240}@[a-z]${c}{0,13}`,f=RegExp(`^(?:${d}|${e})$`),g=/^[ -~]{0,255}[!-~]$/,h=/,|=/;b.validateKey=function(a){return f.test(a)},b.validateValue=function(a){return g.test(a)&&!h.test(a)}},98:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createTraceState=void 0;let d=c(325);b.createTraceState=function(a){return new d.TraceStateImpl(a)}},476:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.INVALID_SPAN_CONTEXT=b.INVALID_TRACEID=b.INVALID_SPANID=void 0;let d=c(475);b.INVALID_SPANID="0000000000000000",b.INVALID_TRACEID="00000000000000000000000000000000",b.INVALID_SPAN_CONTEXT={traceId:b.INVALID_TRACEID,spanId:b.INVALID_SPANID,traceFlags:d.TraceFlags.NONE}},357:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SpanKind=void 0,function(a){a[a.INTERNAL=0]="INTERNAL",a[a.SERVER=1]="SERVER",a[a.CLIENT=2]="CLIENT",a[a.PRODUCER=3]="PRODUCER",a[a.CONSUMER=4]="CONSUMER"}(b.SpanKind||(b.SpanKind={}))},139:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.wrapSpanContext=b.isSpanContextValid=b.isValidSpanId=b.isValidTraceId=void 0;let d=c(476),e=c(403),f=/^([0-9a-f]{32})$/i,g=/^[0-9a-f]{16}$/i;function h(a){return f.test(a)&&a!==d.INVALID_TRACEID}function i(a){return g.test(a)&&a!==d.INVALID_SPANID}b.isValidTraceId=h,b.isValidSpanId=i,b.isSpanContextValid=function(a){return h(a.traceId)&&i(a.spanId)},b.wrapSpanContext=function(a){return new e.NonRecordingSpan(a)}},847:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SpanStatusCode=void 0,function(a){a[a.UNSET=0]="UNSET",a[a.OK=1]="OK",a[a.ERROR=2]="ERROR"}(b.SpanStatusCode||(b.SpanStatusCode={}))},475:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceFlags=void 0,function(a){a[a.NONE=0]="NONE",a[a.SAMPLED=1]="SAMPLED"}(b.TraceFlags||(b.TraceFlags={}))},521:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.VERSION=void 0,b.VERSION="1.6.0"}},c={};function d(a){var e=c[a];if(void 0!==e)return e.exports;var f=c[a]={exports:{}},g=!0;try{b[a].call(f.exports,f,f.exports,d),g=!1}finally{g&&delete c[a]}return f.exports}d.ab=__dirname+"/";var e={};(()=>{Object.defineProperty(e,"__esModule",{value:!0}),e.trace=e.propagation=e.metrics=e.diag=e.context=e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=e.isValidSpanId=e.isValidTraceId=e.isSpanContextValid=e.createTraceState=e.TraceFlags=e.SpanStatusCode=e.SpanKind=e.SamplingDecision=e.ProxyTracerProvider=e.ProxyTracer=e.defaultTextMapSetter=e.defaultTextMapGetter=e.ValueType=e.createNoopMeter=e.DiagLogLevel=e.DiagConsoleLogger=e.ROOT_CONTEXT=e.createContextKey=e.baggageEntryMetadataFromString=void 0;var a=d(369);Object.defineProperty(e,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return a.baggageEntryMetadataFromString}});var b=d(780);Object.defineProperty(e,"createContextKey",{enumerable:!0,get:function(){return b.createContextKey}}),Object.defineProperty(e,"ROOT_CONTEXT",{enumerable:!0,get:function(){return b.ROOT_CONTEXT}});var c=d(972);Object.defineProperty(e,"DiagConsoleLogger",{enumerable:!0,get:function(){return c.DiagConsoleLogger}});var f=d(957);Object.defineProperty(e,"DiagLogLevel",{enumerable:!0,get:function(){return f.DiagLogLevel}});var g=d(102);Object.defineProperty(e,"createNoopMeter",{enumerable:!0,get:function(){return g.createNoopMeter}});var h=d(901);Object.defineProperty(e,"ValueType",{enumerable:!0,get:function(){return h.ValueType}});var i=d(194);Object.defineProperty(e,"defaultTextMapGetter",{enumerable:!0,get:function(){return i.defaultTextMapGetter}}),Object.defineProperty(e,"defaultTextMapSetter",{enumerable:!0,get:function(){return i.defaultTextMapSetter}});var j=d(125);Object.defineProperty(e,"ProxyTracer",{enumerable:!0,get:function(){return j.ProxyTracer}});var k=d(846);Object.defineProperty(e,"ProxyTracerProvider",{enumerable:!0,get:function(){return k.ProxyTracerProvider}});var l=d(996);Object.defineProperty(e,"SamplingDecision",{enumerable:!0,get:function(){return l.SamplingDecision}});var m=d(357);Object.defineProperty(e,"SpanKind",{enumerable:!0,get:function(){return m.SpanKind}});var n=d(847);Object.defineProperty(e,"SpanStatusCode",{enumerable:!0,get:function(){return n.SpanStatusCode}});var o=d(475);Object.defineProperty(e,"TraceFlags",{enumerable:!0,get:function(){return o.TraceFlags}});var p=d(98);Object.defineProperty(e,"createTraceState",{enumerable:!0,get:function(){return p.createTraceState}});var q=d(139);Object.defineProperty(e,"isSpanContextValid",{enumerable:!0,get:function(){return q.isSpanContextValid}}),Object.defineProperty(e,"isValidTraceId",{enumerable:!0,get:function(){return q.isValidTraceId}}),Object.defineProperty(e,"isValidSpanId",{enumerable:!0,get:function(){return q.isValidSpanId}});var r=d(476);Object.defineProperty(e,"INVALID_SPANID",{enumerable:!0,get:function(){return r.INVALID_SPANID}}),Object.defineProperty(e,"INVALID_TRACEID",{enumerable:!0,get:function(){return r.INVALID_TRACEID}}),Object.defineProperty(e,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return r.INVALID_SPAN_CONTEXT}});let s=d(67);Object.defineProperty(e,"context",{enumerable:!0,get:function(){return s.context}});let t=d(506);Object.defineProperty(e,"diag",{enumerable:!0,get:function(){return t.diag}});let u=d(886);Object.defineProperty(e,"metrics",{enumerable:!0,get:function(){return u.metrics}});let v=d(939);Object.defineProperty(e,"propagation",{enumerable:!0,get:function(){return v.propagation}});let w=d(845);Object.defineProperty(e,"trace",{enumerable:!0,get:function(){return w.trace}}),e.default={context:s.context,diag:t.diag,metrics:u.metrics,propagation:v.propagation,trace:w.trace}})(),a.exports=e})()},69168:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DynamicServerError:function(){return d},isDynamicServerError:function(){return e}});let c="DYNAMIC_SERVER_USAGE";class d extends Error{constructor(a){super("Dynamic server usage: "+a),this.description=a,this.digest=c}}function e(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===c}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},69332:(a,b)=>{"use strict";function c(a){let b=a.indexOf("#"),c=a.indexOf("?"),d=c>-1&&(b<0||c-1?{pathname:a.substring(0,d?c:b),query:d?a.substring(c,b>-1?b:void 0):"",hash:b>-1?a.slice(b):""}:{pathname:a,query:"",hash:""}}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"parsePath",{enumerable:!0,get:function(){return c}})},71237:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isNodeNextRequest:function(){return e},isNodeNextResponse:function(){return f},isWebNextRequest:function(){return c},isWebNextResponse:function(){return d}});let c=a=>!1,d=a=>!1,e=a=>!0,f=a=>!0},72496:a=>{"use strict";var b=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,e=Object.prototype.hasOwnProperty,f={};function g(a){var b;let c=["path"in a&&a.path&&`Path=${a.path}`,"expires"in a&&(a.expires||0===a.expires)&&`Expires=${("number"==typeof a.expires?new Date(a.expires):a.expires).toUTCString()}`,"maxAge"in a&&"number"==typeof a.maxAge&&`Max-Age=${a.maxAge}`,"domain"in a&&a.domain&&`Domain=${a.domain}`,"secure"in a&&a.secure&&"Secure","httpOnly"in a&&a.httpOnly&&"HttpOnly","sameSite"in a&&a.sameSite&&`SameSite=${a.sameSite}`,"partitioned"in a&&a.partitioned&&"Partitioned","priority"in a&&a.priority&&`Priority=${a.priority}`].filter(Boolean),d=`${a.name}=${encodeURIComponent(null!=(b=a.value)?b:"")}`;return 0===c.length?d:`${d}; ${c.join("; ")}`}function h(a){let b=new Map;for(let c of a.split(/; */)){if(!c)continue;let a=c.indexOf("=");if(-1===a){b.set(c,"true");continue}let[d,e]=[c.slice(0,a),c.slice(a+1)];try{b.set(d,decodeURIComponent(null!=e?e:"true"))}catch{}}return b}function i(a){if(!a)return;let[[b,c],...d]=h(a),{domain:e,expires:f,httponly:g,maxage:i,path:l,samesite:m,secure:n,partitioned:o,priority:p}=Object.fromEntries(d.map(([a,b])=>[a.toLowerCase().replace(/-/g,""),b]));{var q,r,s={name:b,value:decodeURIComponent(c),domain:e,...f&&{expires:new Date(f)},...g&&{httpOnly:!0},..."string"==typeof i&&{maxAge:Number(i)},path:l,...m&&{sameSite:j.includes(q=(q=m).toLowerCase())?q:void 0},...n&&{secure:!0},...p&&{priority:k.includes(r=(r=p).toLowerCase())?r:void 0},...o&&{partitioned:!0}};let a={};for(let b in s)s[b]&&(a[b]=s[b]);return a}}((a,c)=>{for(var d in c)b(a,d,{get:c[d],enumerable:!0})})(f,{RequestCookies:()=>l,ResponseCookies:()=>m,parseCookie:()=>h,parseSetCookie:()=>i,stringifyCookie:()=>g}),a.exports=((a,f,g,h)=>{if(f&&"object"==typeof f||"function"==typeof f)for(let i of d(f))e.call(a,i)||i===g||b(a,i,{get:()=>f[i],enumerable:!(h=c(f,i))||h.enumerable});return a})(b({},"__esModule",{value:!0}),f);var j=["strict","lax","none"],k=["low","medium","high"],l=class{constructor(a){this._parsed=new Map,this._headers=a;let b=a.get("cookie");if(b)for(let[a,c]of h(b))this._parsed.set(a,{name:a,value:c})}[Symbol.iterator](){return this._parsed[Symbol.iterator]()}get size(){return this._parsed.size}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed);if(!a.length)return c.map(([a,b])=>b);let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(([a])=>a===d).map(([a,b])=>b)}has(a){return this._parsed.has(a)}set(...a){let[b,c]=1===a.length?[a[0].name,a[0].value]:a,d=this._parsed;return d.set(b,{name:b,value:c}),this._headers.set("cookie",Array.from(d).map(([a,b])=>g(b)).join("; ")),this}delete(a){let b=this._parsed,c=Array.isArray(a)?a.map(a=>b.delete(a)):b.delete(a);return this._headers.set("cookie",Array.from(b).map(([a,b])=>g(b)).join("; ")),c}clear(){return this.delete(Array.from(this._parsed.keys())),this}[Symbol.for("edge-runtime.inspect.custom")](){return`RequestCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(a=>`${a.name}=${encodeURIComponent(a.value)}`).join("; ")}},m=class{constructor(a){var b,c,d;this._parsed=new Map,this._headers=a;let e=null!=(d=null!=(c=null==(b=a.getSetCookie)?void 0:b.call(a))?c:a.get("set-cookie"))?d:[];for(let a of Array.isArray(e)?e:function(a){if(!a)return[];var b,c,d,e,f,g=[],h=0;function i(){for(;h=a.length)&&g.push(a.substring(b,a.length))}return g}(e)){let b=i(a);b&&this._parsed.set(b.name,b)}}get(...a){let b="string"==typeof a[0]?a[0]:a[0].name;return this._parsed.get(b)}getAll(...a){var b;let c=Array.from(this._parsed.values());if(!a.length)return c;let d="string"==typeof a[0]?a[0]:null==(b=a[0])?void 0:b.name;return c.filter(a=>a.name===d)}has(a){return this._parsed.has(a)}set(...a){let[b,c,d]=1===a.length?[a[0].name,a[0].value,a[0]]:a,e=this._parsed;return e.set(b,function(a={name:"",value:""}){return"number"==typeof a.expires&&(a.expires=new Date(a.expires)),a.maxAge&&(a.expires=new Date(Date.now()+1e3*a.maxAge)),(null===a.path||void 0===a.path)&&(a.path="/"),a}({name:b,value:c,...d})),function(a,b){for(let[,c]of(b.delete("set-cookie"),a)){let a=g(c);b.append("set-cookie",a)}}(e,this._headers),this}delete(...a){let[b,c]="string"==typeof a[0]?[a[0]]:[a[0].name,a[0]];return this.set({...c,name:b,value:"",expires:new Date(0)})}[Symbol.for("edge-runtime.inspect.custom")](){return`ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`}toString(){return[...this._parsed.values()].map(g).join("; ")}}},74515:(a,b,c)=>{"use strict";a.exports=c(49754).vendored["react-rsc"].React},75916:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"pathHasPrefix",{enumerable:!0,get:function(){return e}});let d=c(69332);function e(a,b){if("string"!=typeof a)return!1;let{pathname:c}=(0,d.parsePath)(a);return c===b||c.startsWith(b+"/")}},76381:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createDedupeFetch",{enumerable:!0,get:function(){return h}});let d=function(a,b){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=g(b);if(c&&c.has(a))return c.get(a);var d={__proto__:null},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if("default"!==f&&Object.prototype.hasOwnProperty.call(a,f)){var h=e?Object.getOwnPropertyDescriptor(a,f):null;h&&(h.get||h.set)?Object.defineProperty(d,f,h):d[f]=a[f]}return d.default=a,c&&c.set(a,d),d}(c(74515)),e=c(7916),f=c(49290);function g(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(g=function(a){return a?c:b})(a)}function h(a){let b=d.cache(a=>[]);return function(c,d){let g,h;if(d&&d.signal)return a(c,d);if("string"!=typeof c||d){let b="string"==typeof c||c instanceof URL?new Request(c,d):c;if("GET"!==b.method&&"HEAD"!==b.method||b.keepalive)return a(c,d);h=JSON.stringify([b.method,Array.from(b.headers.entries()),b.mode,b.redirect,b.credentials,b.referrer,b.referrerPolicy,b.integrity]),g=b.url}else h='["GET",[],null,"follow",null,null,null,null]',g=c;let i=b(g);for(let a=0,b=i.length;a{let b=i[a][2];if(!b)throw Object.defineProperty(new f.InvariantError("No cached response"),"__NEXT_ERROR_CODE",{value:"E579",enumerable:!1,configurable:!0});let[c,d]=(0,e.cloneResponse)(b);return i[a][2]=d,c})}let j=a(c,d),k=[h,j,null];return i.push(k),j.then(a=>{let[b,c]=(0,e.cloneResponse)(a);return k[2]=c,b})}}},78001:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"NextURL",{enumerable:!0,get:function(){return k}});let d=c(49671),e=c(89340),f=c(40163),g=c(7705),h=/(?!^https?:\/\/)(127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|\[::1\]|localhost)/;function i(a,b){return new URL(String(a).replace(h,"localhost"),b&&String(b).replace(h,"localhost"))}let j=Symbol("NextURLInternal");class k{constructor(a,b,c){let d,e;"object"==typeof b&&"pathname"in b||"string"==typeof b?(d=b,e=c||{}):e=c||b||{},this[j]={url:i(a,d??e.base),options:e,basePath:""},this.analyze()}analyze(){var a,b,c,e,h;let i=(0,g.getNextPathnameInfo)(this[j].url.pathname,{nextConfig:this[j].options.nextConfig,parseData:!0,i18nProvider:this[j].options.i18nProvider}),k=(0,f.getHostname)(this[j].url,this[j].options.headers);this[j].domainLocale=this[j].options.i18nProvider?this[j].options.i18nProvider.detectDomainLocale(k):(0,d.detectDomainLocale)(null==(b=this[j].options.nextConfig)||null==(a=b.i18n)?void 0:a.domains,k);let l=(null==(c=this[j].domainLocale)?void 0:c.defaultLocale)||(null==(h=this[j].options.nextConfig)||null==(e=h.i18n)?void 0:e.defaultLocale);this[j].url.pathname=i.pathname,this[j].defaultLocale=l,this[j].basePath=i.basePath??"",this[j].buildId=i.buildId,this[j].locale=i.locale??l,this[j].trailingSlash=i.trailingSlash}formatPathname(){return(0,e.formatNextPathnameInfo)({basePath:this[j].basePath,buildId:this[j].buildId,defaultLocale:this[j].options.forceLocale?void 0:this[j].defaultLocale,locale:this[j].locale,pathname:this[j].url.pathname,trailingSlash:this[j].trailingSlash})}formatSearch(){return this[j].url.search}get buildId(){return this[j].buildId}set buildId(a){this[j].buildId=a}get locale(){return this[j].locale??""}set locale(a){var b,c;if(!this[j].locale||!(null==(c=this[j].options.nextConfig)||null==(b=c.i18n)?void 0:b.locales.includes(a)))throw Object.defineProperty(TypeError(`The NextURL configuration includes no locale "${a}"`),"__NEXT_ERROR_CODE",{value:"E597",enumerable:!1,configurable:!0});this[j].locale=a}get defaultLocale(){return this[j].defaultLocale}get domainLocale(){return this[j].domainLocale}get searchParams(){return this[j].url.searchParams}get host(){return this[j].url.host}set host(a){this[j].url.host=a}get hostname(){return this[j].url.hostname}set hostname(a){this[j].url.hostname=a}get port(){return this[j].url.port}set port(a){this[j].url.port=a}get protocol(){return this[j].url.protocol}set protocol(a){this[j].url.protocol=a}get href(){let a=this.formatPathname(),b=this.formatSearch();return`${this.protocol}//${this.host}${a}${b}${this.hash}`}set href(a){this[j].url=i(a),this.analyze()}get origin(){return this[j].url.origin}get pathname(){return this[j].url.pathname}set pathname(a){this[j].url.pathname=a}get hash(){return this[j].url.hash}set hash(a){this[j].url.hash=a}get search(){return this[j].url.search}set search(a){this[j].url.search=a}get password(){return this[j].url.password}set password(a){this[j].url.password=a}get username(){return this[j].url.username}set username(a){this[j].url.username=a}get basePath(){return this[j].basePath}set basePath(a){this[j].basePath=a.startsWith("/")?a:`/${a}`}toString(){return this.href}toJSON(){return this.href}[Symbol.for("edge-runtime.inspect.custom")](){return{href:this.href,origin:this.origin,protocol:this.protocol,username:this.username,password:this.password,host:this.host,hostname:this.hostname,port:this.port,pathname:this.pathname,search:this.search,searchParams:this.searchParams,hash:this.hash}}clone(){return new k(String(this),this[j].options)}}},82831:(a,b)=>{"use strict";function c(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===d}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isHangingPromiseRejectionError:function(){return c},makeDevtoolsIOAwarePromise:function(){return i},makeHangingPromise:function(){return g}});let d="HANGING_PROMISE_REJECTION";class e extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest=d}}let f=new WeakMap;function g(a,b,c){if(a.aborted)return Promise.reject(new e(b,c));{let d=new Promise((d,g)=>{let h=g.bind(null,new e(b,c)),i=f.get(a);if(i)i.push(h);else{let b=[h];f.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a{setTimeout(()=>{b(a)},0)})}},84226:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{describeHasCheckingStringProperty:function(){return e},describeStringPropertyAccess:function(){return d},wellKnownProperties:function(){return f}});let c=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function d(a,b){return c.test(b)?"`"+a+"."+b+"`":"`"+a+"["+JSON.stringify(b)+"]`"}function e(a,b){let c=JSON.stringify(b);return"`Reflect.has("+a+", "+c+")`, `"+c+" in "+a+"`, or similar"}let f=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule"])},85328:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{NextRequestAdapter:function(){return l},ResponseAborted:function(){return i},ResponseAbortedName:function(){return h},createAbortController:function(){return j},signalFromNodeResponse:function(){return k}});let d=c(39326),e=c(17679),f=c(87129),g=c(71237),h="ResponseAborted";class i extends Error{constructor(...a){super(...a),this.name=h}}function j(a){let b=new AbortController;return a.once("close",()=>{a.writableFinished||b.abort(new i)}),b}function k(a){let{errored:b,destroyed:c}=a;if(b||c)return AbortSignal.abort(b??new i);let{signal:d}=j(a);return d}class l{static fromBaseNextRequest(a,b){if((0,g.isNodeNextRequest)(a))return l.fromNodeNextRequest(a,b);throw Object.defineProperty(Error("Invariant: Unsupported NextRequest type"),"__NEXT_ERROR_CODE",{value:"E345",enumerable:!1,configurable:!0})}static fromNodeNextRequest(a,b){let c,g=null;if("GET"!==a.method&&"HEAD"!==a.method&&a.body&&(g=a.body),a.url.startsWith("http"))c=new URL(a.url);else{let b=(0,d.getRequestMeta)(a,"initURL");c=b&&b.startsWith("http")?new URL(a.url,b):new URL(a.url,"http://n")}return new f.NextRequest(c,{method:a.method,headers:(0,e.fromNodeOutgoingHttpHeaders)(a.headers),duplex:"half",signal:b,...b.aborted?{}:{body:g}})}static fromWebNextRequest(a){let b=null;return"GET"!==a.method&&"HEAD"!==a.method&&(b=a.body),new f.NextRequest(a.url,{method:a.method,headers:(0,e.fromNodeOutgoingHttpHeaders)(a.headers),duplex:"half",signal:a.request.signal,...a.request.signal.aborted?{}:{body:b}})}}},86969:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"addLocale",{enumerable:!0,get:function(){return f}});let d=c(8289),e=c(75916);function f(a,b,c,f){if(!b||b===c)return a;let g=a.toLowerCase();return!f&&((0,e.pathHasPrefix)(g,"/api")||(0,e.pathHasPrefix)(g,"/"+b.toLowerCase()))?a:(0,d.addPathPrefix)(a,"/"+b)}},87129:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{INTERNALS:function(){return h},NextRequest:function(){return i}});let d=c(78001),e=c(17679),f=c(28536),g=c(33675),h=Symbol("internal request");class i extends Request{constructor(a,b={}){let c="string"!=typeof a&&"url"in a?a.url:String(a);(0,e.validateURL)(c),b.body&&"half"!==b.duplex&&(b.duplex="half"),a instanceof Request?super(a,b):super(c,b);let f=new d.NextURL(c,{headers:(0,e.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:b.nextConfig});this[h]={cookies:new g.RequestCookies(this.headers),nextUrl:f,url:f.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[h].cookies}get nextUrl(){return this[h].nextUrl}get page(){throw new f.RemovedPageError}get ua(){throw new f.RemovedUAError}get url(){return this[h].url}}},89340:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"formatNextPathnameInfo",{enumerable:!0,get:function(){return h}});let d=c(95626),e=c(8289),f=c(14876),g=c(86969);function h(a){let b=(0,g.addLocale)(a.pathname,a.locale,a.buildId?void 0:a.defaultLocale,a.ignorePrefix);return(a.buildId||!a.trailingSlash)&&(b=(0,d.removeTrailingSlash)(b)),a.buildId&&(b=(0,f.addPathSuffix)((0,e.addPathPrefix)(b,"/_next/data/"+a.buildId),"/"===a.pathname?"index.json":".json")),b=(0,e.addPathPrefix)(b,a.basePath),!a.buildId&&a.trailingSlash?b.endsWith("/")?b:(0,f.addPathSuffix)(b,"/"):(0,d.removeTrailingSlash)(b)}},91203:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"RedirectStatusCode",{enumerable:!0,get:function(){return c}});var c=function(a){return a[a.SeeOther=303]="SeeOther",a[a.TemporaryRedirect=307]="TemporaryRedirect",a[a.PermanentRedirect=308]="PermanentRedirect",a}({});("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},94878:a=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var b={};(()=>{b.parse=function(b,c){if("string"!=typeof b)throw TypeError("argument str must be a string");for(var e={},f=b.split(d),g=(c||{}).decode||a,h=0;h{"use strict";function c(a){return a.replace(/\/$/,"")||"/"}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"removeTrailingSlash",{enumerable:!0,get:function(){return c}})}}; \ No newline at end of file diff --git a/.next/server/chunks/4681.js b/.next/server/chunks/4681.js new file mode 100644 index 0000000000000000000000000000000000000000..92d47ce81d25228e0c53dd4a22f71e54d43cf714 --- /dev/null +++ b/.next/server/chunks/4681.js @@ -0,0 +1,553 @@ +"use strict";exports.id=4681,exports.ids=[4681],exports.modules={64681:(a,b,c)=>{c.d(b,{SQLiteAdapter:()=>K});var d=c(87550),e=c.n(d),f=c(33873),g=c.n(f),h=c(29021),i=c.n(h);let j=null,k=new Map;function l(){return g().join(process.cwd(),"sites")}function m(a){i().existsSync(a)||i().mkdirSync(a,{recursive:!0})}function n(a){a.pragma("journal_mode = WAL"),a.pragma("foreign_keys = ON"),a.pragma("synchronous = NORMAL"),a.pragma("cache_size = -64000"),a.pragma("temp_store = MEMORY")}function o(a){let b=l(),c=g().join(b,a,"site.sqlite");return i().existsSync(c)}function p(a){q(a);let b=l(),c=g().join(b,a);if(i().existsSync(c)){for(let a of i().readdirSync(c))i().unlinkSync(g().join(c,a));i().rmdirSync(c)}}function q(a){let b=k.get(a);if(b){try{b.close()}catch{}k.delete(a)}}var r=c(2117),s=c(55511),t=c.n(s);function u(){let a=process.env.SECRETS_ENCRYPTION_KEY;if(!a)throw Error("SECRETS_ENCRYPTION_KEY environment variable not set");let b=Buffer.from(a,"base64");if(32!==b.length)throw Error(`Invalid SECRETS_ENCRYPTION_KEY: expected 32 bytes, got ${b.length}`);return b}function v(){try{return u(),!0}catch{return!1}}function w(a){let b=u(),c=t().randomBytes(16),d=t().createCipheriv("aes-256-gcm",b,c),e=d.update(a,"utf8","base64");return{encryptedValue:e+=d.final("base64"),iv:c.toString("base64"),authTag:d.getAuthTag().toString("base64")}}function x(a){return a?"string"==typeof a?a:a.toISOString():null}function y(a){return"string"==typeof a?a:a.toISOString()}function z(a,b){if(!a)return b;try{return JSON.parse(a)}catch{return b}}function A(a){return a?new Date(a):new Date}class B{constructor(a){this.initialized=!1,this.siteId=a,this.db=function(a){let b=k.get(a);if(b)return b;let c=l(),d=g().join(c,a);m(d);let f=g().join(d,"site.sqlite"),h=new(e())(f);return n(h),k.set(a,h),h}(a)}init(){this.initialized||(this.db.exec(` + CREATE TABLE IF NOT EXISTS site_info ( + id TEXT PRIMARY KEY DEFAULT 'main', + project_id TEXT NOT NULL, + name TEXT NOT NULL, + slug TEXT, + enabled INTEGER NOT NULL DEFAULT 0, + under_construction INTEGER NOT NULL DEFAULT 0, + custom_domain TEXT, + head_scripts TEXT NOT NULL DEFAULT '[]', + body_scripts TEXT NOT NULL DEFAULT '[]', + cdn_links TEXT NOT NULL DEFAULT '[]', + analytics TEXT NOT NULL DEFAULT '{}', + seo TEXT NOT NULL DEFAULT '{}', + compliance TEXT NOT NULL DEFAULT '{}', + settings_version INTEGER NOT NULL DEFAULT 1, + last_published_version INTEGER, + preview_image TEXT, + preview_updated_at TEXT, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL, + published_at TEXT + ) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS files ( + id TEXT PRIMARY KEY, + path TEXT NOT NULL UNIQUE, + name TEXT NOT NULL, + type TEXT NOT NULL, + content TEXT, + mime_type TEXT NOT NULL, + size INTEGER NOT NULL, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL, + metadata TEXT DEFAULT '{}' + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_files_path ON files(path) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS file_tree_nodes ( + id TEXT PRIMARY KEY, + path TEXT NOT NULL UNIQUE, + name TEXT NOT NULL, + type TEXT NOT NULL, + parent_path TEXT, + is_expanded INTEGER DEFAULT 0, + children TEXT DEFAULT '[]', + metadata TEXT DEFAULT '{}' + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_tree_nodes_parent_path ON file_tree_nodes(parent_path) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS pageviews ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + page_path TEXT NOT NULL, + referrer TEXT, + country TEXT, + user_agent TEXT, + device_type TEXT, + session_id TEXT NOT NULL, + load_time INTEGER, + timestamp TEXT NOT NULL DEFAULT (datetime('now')) + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_pageviews_timestamp ON pageviews(timestamp) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_pageviews_session_id ON pageviews(session_id) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS interactions ( + id TEXT PRIMARY KEY, + session_id TEXT NOT NULL, + page_path TEXT NOT NULL, + interaction_type TEXT NOT NULL, + element_selector TEXT, + coordinates TEXT, + scroll_depth INTEGER, + time_on_page INTEGER, + timestamp TEXT NOT NULL DEFAULT (datetime('now')) + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_interactions_page_path ON interactions(page_path) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_interactions_timestamp ON interactions(timestamp) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS sessions ( + id TEXT PRIMARY KEY, + session_id TEXT NOT NULL, + entry_page TEXT, + exit_page TEXT, + page_count INTEGER DEFAULT 1, + duration INTEGER, + is_bounce INTEGER DEFAULT 1, + created_at TEXT NOT NULL DEFAULT (datetime('now')), + ended_at TEXT + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_sessions_session_id ON sessions(session_id) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_sessions_created_at ON sessions(created_at) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS edge_functions ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL UNIQUE, + description TEXT, + code TEXT NOT NULL, + method TEXT NOT NULL DEFAULT 'ANY', + enabled INTEGER NOT NULL DEFAULT 1, + timeout_ms INTEGER NOT NULL DEFAULT 5000, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_edge_functions_name ON edge_functions(name) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS function_logs ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + function_id TEXT NOT NULL, + method TEXT NOT NULL, + path TEXT NOT NULL, + status_code INTEGER, + duration_ms INTEGER, + error TEXT, + timestamp TEXT NOT NULL DEFAULT (datetime('now')), + FOREIGN KEY (function_id) REFERENCES edge_functions(id) ON DELETE CASCADE + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_function_logs_function_id ON function_logs(function_id) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_function_logs_timestamp ON function_logs(timestamp) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS server_functions ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL UNIQUE, + description TEXT, + code TEXT NOT NULL, + enabled INTEGER NOT NULL DEFAULT 1, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_server_functions_name ON server_functions(name) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS secrets ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL UNIQUE, + encrypted_value TEXT NOT NULL, + iv TEXT NOT NULL, + auth_tag TEXT NOT NULL, + description TEXT, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_secrets_name ON secrets(name) + `),this.initialized=!0)}close(){q(this.siteId)}createSiteInfo(a){this.db.prepare(` + INSERT OR REPLACE INTO site_info ( + id, project_id, name, slug, enabled, under_construction, + custom_domain, head_scripts, body_scripts, cdn_links, + analytics, seo, compliance, settings_version, + last_published_version, preview_image, preview_updated_at, + created_at, updated_at, published_at + ) VALUES ( + 'main', ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? + ) + `).run(a.projectId,a.name,a.slug??null,+!!a.enabled,+!!a.underConstruction,a.customDomain??null,JSON.stringify(a.headScripts??[]),JSON.stringify(a.bodyScripts??[]),JSON.stringify(a.cdnLinks??[]),JSON.stringify(a.analytics??{}),JSON.stringify(a.seo??{}),JSON.stringify(a.compliance??{}),a.settingsVersion??1,a.lastPublishedVersion??null,a.previewImage??null,x(a.previewUpdatedAt),y(a.createdAt),y(a.updatedAt),x(a.publishedAt))}getSiteInfo(){let a=this.db.prepare("SELECT * FROM site_info WHERE id = ?").get("main");return a?{id:this.siteId,projectId:a.project_id,name:a.name,slug:a.slug,enabled:!!a.enabled,underConstruction:!!a.under_construction,customDomain:a.custom_domain,headScripts:z(a.head_scripts,[]),bodyScripts:z(a.body_scripts,[]),cdnLinks:z(a.cdn_links,[]),analytics:z(a.analytics,{enabled:!1,provider:"builtin",privacyMode:!0}),seo:z(a.seo,{}),compliance:z(a.compliance,{enabled:!1,bannerPosition:"bottom",bannerStyle:"bar",message:"",acceptButtonText:"Accept",declineButtonText:"Decline",mode:"opt-in",blockAnalytics:!1}),settingsVersion:a.settings_version,lastPublishedVersion:a.last_published_version,previewImage:a.preview_image,previewUpdatedAt:a.preview_updated_at?A(a.preview_updated_at):void 0,createdAt:A(a.created_at),updatedAt:A(a.updated_at),publishedAt:a.published_at?A(a.published_at):null}:null}updateSiteInfo(a){let b=[],c=[];if(void 0!==a.name&&(b.push("name = ?"),c.push(a.name)),void 0!==a.slug&&(b.push("slug = ?"),c.push(a.slug)),void 0!==a.enabled&&(b.push("enabled = ?"),c.push(+!!a.enabled)),void 0!==a.underConstruction&&(b.push("under_construction = ?"),c.push(+!!a.underConstruction)),void 0!==a.customDomain&&(b.push("custom_domain = ?"),c.push(a.customDomain)),void 0!==a.headScripts&&(b.push("head_scripts = ?"),c.push(JSON.stringify(a.headScripts))),void 0!==a.bodyScripts&&(b.push("body_scripts = ?"),c.push(JSON.stringify(a.bodyScripts))),void 0!==a.cdnLinks&&(b.push("cdn_links = ?"),c.push(JSON.stringify(a.cdnLinks))),void 0!==a.analytics&&(b.push("analytics = ?"),c.push(JSON.stringify(a.analytics))),void 0!==a.seo&&(b.push("seo = ?"),c.push(JSON.stringify(a.seo))),void 0!==a.compliance&&(b.push("compliance = ?"),c.push(JSON.stringify(a.compliance))),void 0!==a.settingsVersion&&(b.push("settings_version = ?"),c.push(a.settingsVersion)),void 0!==a.lastPublishedVersion&&(b.push("last_published_version = ?"),c.push(a.lastPublishedVersion)),void 0!==a.previewImage&&(b.push("preview_image = ?"),c.push(a.previewImage)),void 0!==a.previewUpdatedAt&&(b.push("preview_updated_at = ?"),c.push(x(a.previewUpdatedAt))),void 0!==a.updatedAt&&(b.push("updated_at = ?"),c.push(y(a.updatedAt))),void 0!==a.publishedAt&&(b.push("published_at = ?"),c.push(x(a.publishedAt))),0===b.length)return;a.updatedAt||(b.push("updated_at = ?"),c.push(new Date().toISOString()));let d=`UPDATE site_info SET ${b.join(", ")} WHERE id = 'main'`;this.db.prepare(d).run(...c)}createFile(a){let b,c=this.db.prepare(` + INSERT INTO files ( + id, path, name, type, content, mime_type, size, + created_at, updated_at, metadata + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `);b=a.content instanceof ArrayBuffer?Buffer.from(a.content).toString("base64"):"string"==typeof a.content?a.content:"",c.run(a.id,a.path,a.name,a.type,b,a.mimeType??null,a.size??0,y(a.createdAt),y(a.updatedAt),JSON.stringify(a.metadata??{}))}getFile(a){let b=this.db.prepare("SELECT * FROM files WHERE path = ?").get(a);return b?this.rowToFile(b):null}updateFile(a){let b,c=this.db.prepare(` + UPDATE files SET + name = ?, type = ?, content = ?, mime_type = ?, + size = ?, updated_at = ?, metadata = ? + WHERE path = ? + `);b=a.content instanceof ArrayBuffer?Buffer.from(a.content).toString("base64"):"string"==typeof a.content?a.content:"",c.run(a.name,a.type,b,a.mimeType??null,a.size??0,y(a.updatedAt),JSON.stringify(a.metadata??{}),a.path)}deleteFile(a){this.db.prepare("DELETE FROM files WHERE path = ?").run(a)}listFiles(){return this.db.prepare("SELECT * FROM files ORDER BY path").all().map(a=>this.rowToFile(a))}deleteAllFiles(){this.db.prepare("DELETE FROM files").run()}rowToFile(a){let b=z(a.metadata,{}),c=a.type,d=a.content;if("image"===c||"video"===c||"binary"===c)try{d=Buffer.from(d,"base64").buffer}catch{}return{id:a.id,projectId:this.siteId,path:a.path,name:a.name,type:c,content:d,mimeType:a.mime_type,size:a.size,createdAt:A(a.created_at),updatedAt:A(a.updated_at),metadata:b}}createTreeNode(a){this.db.prepare(` + INSERT INTO file_tree_nodes (id, path, name, type, parent_path, is_expanded, children, metadata) + VALUES (?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.path,a.name,a.type,a.parentPath,+!!a.isExpanded,JSON.stringify(a.children??[]),JSON.stringify(a.metadata??{}))}getTreeNode(a){let b=this.db.prepare("SELECT * FROM file_tree_nodes WHERE path = ?").get(a);return b?this.rowToTreeNode(b):null}updateTreeNode(a){this.db.prepare(` + UPDATE file_tree_nodes SET + name = ?, type = ?, parent_path = ?, is_expanded = ?, children = ?, metadata = ? + WHERE path = ? + `).run(a.name,a.type,a.parentPath,+!!a.isExpanded,JSON.stringify(a.children??[]),JSON.stringify(a.metadata??{}),a.path)}deleteTreeNode(a){this.db.prepare("DELETE FROM file_tree_nodes WHERE path = ?").run(a)}getChildNodes(a){return this.db.prepare("SELECT * FROM file_tree_nodes WHERE parent_path IS ? ORDER BY type DESC, path").all(a).map(a=>this.rowToTreeNode(a))}getAllTreeNodes(){return this.db.prepare("SELECT * FROM file_tree_nodes ORDER BY path").all().map(a=>this.rowToTreeNode(a))}rowToTreeNode(a){return{id:a.id,projectId:this.siteId,path:a.path,name:a.name,type:a.type,parentPath:a.parent_path,isExpanded:!!a.is_expanded,children:z(a.children,[]),metadata:z(a.metadata,{})}}recordPageview(a){this.db.prepare(` + INSERT INTO pageviews ( + page_path, referrer, country, user_agent, + device_type, session_id, load_time + ) VALUES (?, ?, ?, ?, ?, ?, ?) + `).run(a.pagePath,a.referrer??null,a.country??null,a.userAgent??null,a.deviceType??null,a.sessionId,a.loadTime??null)}recordInteraction(a){this.db.prepare(` + INSERT INTO interactions ( + id, session_id, page_path, interaction_type, + element_selector, coordinates, scroll_depth, time_on_page + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?) + `).run((0,r.A)(),a.sessionId,a.pagePath,a.interactionType,a.elementSelector??null,a.coordinates?JSON.stringify(a.coordinates):null,a.scrollDepth??null,a.timeOnPage??null)}upsertSession(a,b){let c=this.db.prepare("SELECT * FROM sessions WHERE session_id = ?").get(a);if(c){let d=c.page_count+1;this.db.prepare(` + UPDATE sessions SET + exit_page = ?, + page_count = ?, + is_bounce = 0, + ended_at = datetime('now') + WHERE session_id = ? + `).run(b,d,a)}else this.db.prepare(` + INSERT INTO sessions ( + id, session_id, entry_page, exit_page, + page_count, is_bounce + ) VALUES (?, ?, ?, ?, 1, 1) + `).run((0,r.A)(),a,b,b)}updateSessionDuration(a,b){this.db.prepare(` + UPDATE sessions SET duration = ?, ended_at = datetime('now') + WHERE session_id = ? + `).run(b,a)}getStats(a=30){let b=new Date;b.setDate(b.getDate()-a);let c=b.toISOString(),d=this.db.prepare(` + SELECT COUNT(*) as count FROM pageviews WHERE timestamp >= ? + `).get(c).count,e=this.db.prepare(` + SELECT COUNT(DISTINCT session_id) as count FROM pageviews WHERE timestamp >= ? + `).get(c).count,f=this.db.prepare(` + SELECT AVG(duration) as avg FROM sessions WHERE created_at >= ? AND duration IS NOT NULL + `).get(c).avg??0,g=this.db.prepare(` + SELECT + SUM(CASE WHEN is_bounce = 1 THEN 1 ELSE 0 END) as bounces, + COUNT(*) as total + FROM sessions WHERE created_at >= ? + `).get(c),h=g.total>0?g.bounces/g.total*100:0;return{totalPageviews:d,uniqueSessions:e,avgSessionDuration:f,bounceRate:h,topPages:this.db.prepare(` + SELECT page_path as path, COUNT(*) as views + FROM pageviews WHERE timestamp >= ? + GROUP BY page_path + ORDER BY views DESC + LIMIT 10 + `).all(c),topReferrers:this.db.prepare(` + SELECT referrer, COUNT(*) as count + FROM pageviews WHERE timestamp >= ? AND referrer IS NOT NULL AND referrer != '' + GROUP BY referrer + ORDER BY count DESC + LIMIT 10 + `).all(c)}}getTopPages(a=30,b=10){let c=new Date;return c.setDate(c.getDate()-a),this.db.prepare(` + SELECT page_path as path, COUNT(*) as views + FROM pageviews WHERE timestamp >= ? + GROUP BY page_path + ORDER BY views DESC + LIMIT ? + `).all(c.toISOString(),b)}getTopReferrers(a=30,b=10){let c=new Date;return c.setDate(c.getDate()-a),this.db.prepare(` + SELECT referrer, COUNT(*) as count + FROM pageviews WHERE timestamp >= ? AND referrer IS NOT NULL AND referrer != '' + GROUP BY referrer + ORDER BY count DESC + LIMIT ? + `).all(c.toISOString(),b)}getPageviewsOverTime(a=30){let b=new Date;return b.setDate(b.getDate()-a),this.db.prepare(` + SELECT DATE(timestamp) as date, COUNT(*) as views + FROM pageviews WHERE timestamp >= ? + GROUP BY DATE(timestamp) + ORDER BY date + `).all(b.toISOString())}getHeatmapData(a,b="click"){return this.db.prepare(` + SELECT coordinates, COUNT(*) as count + FROM interactions + WHERE page_path = ? AND interaction_type = ? AND coordinates IS NOT NULL + GROUP BY coordinates + `).all(a,b).map(a=>{let b=z(a.coordinates,{x:0,y:0});return{x:b.x,y:b.y,count:a.count}})}getClickData(a,b,c,d=1e4){let e=` + SELECT coordinates, element_selector, timestamp + FROM interactions + WHERE page_path = ? AND interaction_type = 'click' AND coordinates IS NOT NULL + `,f=[a];return b&&(e+=" AND timestamp >= ?",f.push(b)),c&&(e+=" AND timestamp <= ?",f.push(c)),e+=" ORDER BY timestamp DESC LIMIT ?",f.push(d),this.db.prepare(e).all(...f)}getScrollData(a,b,c,d=1e4){let e=` + SELECT scroll_depth, time_on_page, timestamp + FROM interactions + WHERE page_path = ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL + `,f=[a];return b&&(e+=" AND timestamp >= ?",f.push(b)),c&&(e+=" AND timestamp <= ?",f.push(c)),e+=" ORDER BY timestamp DESC LIMIT ?",f.push(d),this.db.prepare(e).all(...f).map(a=>({scrollDepth:a.scroll_depth,timeOnPage:a.time_on_page,timestamp:a.timestamp}))}getSessionsWithJourneys(a,b,c=100){let d=` + SELECT id, session_id, entry_page, exit_page, page_count, duration, is_bounce, created_at, ended_at + FROM sessions + WHERE 1=1 + `,e=[];a&&(d+=" AND created_at >= ?",e.push(a)),b&&(d+=" AND created_at <= ?",e.push(b)),d+=" ORDER BY created_at DESC LIMIT ?",e.push(c);let f=this.db.prepare(d).all(...e);if(0===f.length)return[];let g=f.map(a=>a.session_id),h=g.map(()=>"?").join(","),i=this.db.prepare(` + SELECT session_id, page_path, timestamp + FROM pageviews + WHERE session_id IN (${h}) + ORDER BY session_id, timestamp ASC + `).all(...g),j=new Map;for(let a of i){let b=a.session_id;j.has(b)||j.set(b,[]),j.get(b).push({path:a.page_path,timestamp:a.timestamp})}return f.map(a=>({sessionId:a.session_id,entryPage:a.entry_page,exitPage:a.exit_page,pageCount:a.page_count,duration:a.duration,isBounce:!!a.is_bounce,createdAt:a.created_at,endedAt:a.ended_at,pages:j.get(a.session_id)||[]}))}getEngagementMetrics(a=30){let b=new Date;b.setDate(b.getDate()-a);let c=b.toISOString(),d=this.db.prepare(` + SELECT AVG(time_on_page) as avg + FROM interactions + WHERE timestamp >= ? AND interaction_type = 'exit' AND time_on_page IS NOT NULL + `).get(c).avg??0,e=this.db.prepare(` + SELECT AVG(scroll_depth) as avg + FROM interactions + WHERE timestamp >= ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL + `).get(c).avg??0,f=this.db.prepare(` + SELECT scroll_depth, COUNT(*) as count + FROM interactions + WHERE timestamp >= ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL + GROUP BY scroll_depth + `).all(c),g={};for(let a of f)g[a.scroll_depth]=a.count;return{avgTimeOnPage:d,avgScrollDepth:e,scrollDepthDistribution:g,exitPageCounts:this.db.prepare(` + SELECT exit_page as page, COUNT(*) as count + FROM sessions + WHERE created_at >= ? AND exit_page IS NOT NULL + GROUP BY exit_page + ORDER BY count DESC + LIMIT 10 + `).all(c)}}getOverviewStats(a=30){let b=new Date;b.setDate(b.getDate()-a);let c=b.toISOString(),d=this.getStats(a),e=this.db.prepare(` + SELECT AVG(page_count) as avg FROM sessions WHERE created_at >= ? + `).get(c).avg??0,f=this.db.prepare(` + SELECT device_type as device, COUNT(*) as count + FROM pageviews + WHERE timestamp >= ? AND device_type IS NOT NULL + GROUP BY device_type + ORDER BY count DESC + `).all(c);return{totalPageviews:d.totalPageviews,uniqueSessions:d.uniqueSessions,bounceRate:d.bounceRate,avgSessionDuration:d.avgSessionDuration,avgPagesPerSession:e,deviceBreakdown:f}}getSessionJourneys(a=50){return this.db.prepare(` + SELECT session_id, entry_page, exit_page, page_count, duration, is_bounce + FROM sessions + ORDER BY created_at DESC + LIMIT ? + `).all(a).map(a=>({sessionId:a.session_id,entryPage:a.entry_page,exitPage:a.exit_page,pageCount:a.page_count,duration:a.duration??0,isBounce:!!a.is_bounce}))}clearAnalytics(a,b){for(let c of a?[a]:["pageviews","interactions","sessions"])b?this.db.prepare(`DELETE FROM ${c} WHERE timestamp < ? OR created_at < ?`).run(b.toISOString(),b.toISOString()):this.db.prepare(`DELETE FROM ${c}`).run()}getAnalyticsStorageInfo(){let a=this.db.prepare("SELECT COUNT(*) as count FROM pageviews").get().count,b=this.db.prepare("SELECT COUNT(*) as count FROM interactions").get().count,c=this.db.prepare("SELECT COUNT(*) as count FROM sessions").get().count,d=Math.round((200*a+150*b+100*c)/1024);return{pageviewCount:a,interactionCount:b,sessionCount:c,estimatedSizeKB:d}}exportAnalyticsData(a="all"){let b={};return("all"===a||"pageviews"===a)&&(b.pageviews=this.db.prepare(` + SELECT id, page_path, referrer, country, user_agent, session_id, + load_time, device_type, timestamp + FROM pageviews + ORDER BY timestamp DESC + `).all()),("all"===a||"interactions"===a)&&(b.interactions=this.db.prepare(` + SELECT id, session_id, page_path, interaction_type, element_selector, + coordinates, scroll_depth, time_on_page, timestamp + FROM interactions + ORDER BY timestamp DESC + `).all()),("all"===a||"sessions"===a)&&(b.sessions=this.db.prepare(` + SELECT id, session_id, entry_page, exit_page, page_count, + duration, is_bounce, created_at, ended_at + FROM sessions + ORDER BY created_at DESC + `).all()),b}createFunction(a){let b=(0,r.A)(),c=new Date().toISOString();return this.db.prepare(` + INSERT INTO edge_functions ( + id, name, description, code, method, enabled, timeout_ms, created_at, updated_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(b,a.name,a.description??null,a.code,a.method,+!!a.enabled,a.timeoutMs,c,c),b}getFunction(a){let b=this.db.prepare("SELECT * FROM edge_functions WHERE id = ?").get(a);return b?this.rowToFunction(b):null}getFunctionByName(a){let b=this.db.prepare("SELECT * FROM edge_functions WHERE name = ?").get(a);return b?this.rowToFunction(b):null}updateFunction(a,b){let c=[],d=[];if(void 0!==b.name&&(c.push("name = ?"),d.push(b.name)),void 0!==b.description&&(c.push("description = ?"),d.push(b.description)),void 0!==b.code&&(c.push("code = ?"),d.push(b.code)),void 0!==b.method&&(c.push("method = ?"),d.push(b.method)),void 0!==b.enabled&&(c.push("enabled = ?"),d.push(+!!b.enabled)),void 0!==b.timeoutMs&&(c.push("timeout_ms = ?"),d.push(b.timeoutMs)),0===c.length)return;c.push("updated_at = ?"),d.push(new Date().toISOString()),d.push(a);let e=`UPDATE edge_functions SET ${c.join(", ")} WHERE id = ?`;this.db.prepare(e).run(...d)}deleteFunction(a){this.db.prepare("DELETE FROM edge_functions WHERE id = ?").run(a)}listFunctions(){return this.db.prepare("SELECT * FROM edge_functions ORDER BY name").all().map(a=>this.rowToFunction(a))}rowToFunction(a){return{id:a.id,name:a.name,description:a.description,code:a.code,method:a.method,enabled:!!a.enabled,timeoutMs:a.timeout_ms,createdAt:A(a.created_at),updatedAt:A(a.updated_at)}}logFunctionExecution(a,b){this.db.prepare(` + INSERT INTO function_logs (function_id, method, path, status_code, duration_ms, error) + VALUES (?, ?, ?, ?, ?, ?) + `).run(a,b.method,b.path,b.statusCode,b.durationMs,b.error??null)}getFunctionLogs(a,b=100){return this.db.prepare(` + SELECT * FROM function_logs WHERE function_id = ? + ORDER BY timestamp DESC LIMIT ? + `).all(a,b).map(a=>this.rowToFunctionLog(a))}getRecentLogs(a=100){return this.db.prepare(` + SELECT * FROM function_logs ORDER BY timestamp DESC LIMIT ? + `).all(a).map(a=>this.rowToFunctionLog(a))}clearFunctionLogs(a,b){a&&b?this.db.prepare("DELETE FROM function_logs WHERE function_id = ? AND timestamp < ?").run(a,b.toISOString()):a?this.db.prepare("DELETE FROM function_logs WHERE function_id = ?").run(a):b?this.db.prepare("DELETE FROM function_logs WHERE timestamp < ?").run(b.toISOString()):this.db.prepare("DELETE FROM function_logs").run()}rowToFunctionLog(a){return{id:a.id,functionId:a.function_id,method:a.method,path:a.path,statusCode:a.status_code,durationMs:a.duration_ms,error:a.error,timestamp:A(a.timestamp)}}createServerFunction(a){let b=(0,r.A)(),c=new Date().toISOString();return this.db.prepare(` + INSERT INTO server_functions ( + id, name, description, code, enabled, created_at, updated_at + ) VALUES (?, ?, ?, ?, ?, ?, ?) + `).run(b,a.name,a.description??null,a.code,+!!a.enabled,c,c),b}getServerFunction(a){let b=this.db.prepare("SELECT * FROM server_functions WHERE id = ?").get(a);return b?this.rowToServerFunction(b):null}getServerFunctionByName(a){let b=this.db.prepare("SELECT * FROM server_functions WHERE name = ?").get(a);return b?this.rowToServerFunction(b):null}updateServerFunction(a,b){let c=[],d=[];if(void 0!==b.name&&(c.push("name = ?"),d.push(b.name)),void 0!==b.description&&(c.push("description = ?"),d.push(b.description)),void 0!==b.code&&(c.push("code = ?"),d.push(b.code)),void 0!==b.enabled&&(c.push("enabled = ?"),d.push(+!!b.enabled)),0===c.length)return;c.push("updated_at = ?"),d.push(new Date().toISOString()),d.push(a);let e=`UPDATE server_functions SET ${c.join(", ")} WHERE id = ?`;this.db.prepare(e).run(...d)}deleteServerFunction(a){this.db.prepare("DELETE FROM server_functions WHERE id = ?").run(a)}listServerFunctions(){return this.db.prepare("SELECT * FROM server_functions ORDER BY name").all().map(a=>this.rowToServerFunction(a))}rowToServerFunction(a){return{id:a.id,name:a.name,description:a.description,code:a.code,enabled:!!a.enabled,createdAt:A(a.created_at),updatedAt:A(a.updated_at)}}createSecret(a,b,c){if(!v())throw Error("Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable.");let d=(0,r.A)(),e=new Date().toISOString(),f=w(b);return this.db.prepare(` + INSERT INTO secrets (id, name, encrypted_value, iv, auth_tag, description, created_at, updated_at) + VALUES (?, ?, ?, ?, ?, ?, ?, ?) + `).run(d,a,f.encryptedValue,f.iv,f.authTag,c||null,e,e),d}getSecret(a){let b=this.db.prepare("SELECT * FROM secrets WHERE id = ?").get(a);return b?this.rowToSecret(b):null}getSecretByName(a){let b=this.db.prepare("SELECT * FROM secrets WHERE name = ?").get(a);return b?this.rowToSecret(b):null}updateSecretValue(a,b){if(!v())throw Error("Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable.");let c=new Date().toISOString(),d=w(b);this.db.prepare(` + UPDATE secrets + SET encrypted_value = ?, iv = ?, auth_tag = ?, updated_at = ? + WHERE id = ? + `).run(d.encryptedValue,d.iv,d.authTag,c,a)}updateSecretMetadata(a,b){let c=new Date().toISOString();void 0!==b.name&&this.db.prepare("UPDATE secrets SET name = ?, updated_at = ? WHERE id = ?").run(b.name,c,a),void 0!==b.description&&this.db.prepare("UPDATE secrets SET description = ?, updated_at = ? WHERE id = ?").run(b.description,c,a)}deleteSecret(a){this.db.prepare("DELETE FROM secrets WHERE id = ?").run(a)}listSecrets(){return this.db.prepare("SELECT * FROM secrets ORDER BY name").all().map(a=>this.rowToSecret(a))}listSecretsWithValues(){return this.db.prepare("SELECT name, encrypted_value, iv, auth_tag FROM secrets").all().map(a=>({name:a.name,encryptedValue:a.encrypted_value,iv:a.iv,authTag:a.auth_tag}))}rowToSecret(a){return{id:a.id,name:a.name,description:a.description,hasValue:null!==a.encrypted_value&&""!==a.encrypted_value,createdAt:A(a.created_at),updatedAt:A(a.updated_at)}}createSecretPlaceholder(a,b){let c=(0,r.A)(),d=new Date().toISOString();return this.db.prepare(` + INSERT INTO secrets (id, name, encrypted_value, iv, auth_tag, description, created_at, updated_at) + VALUES (?, ?, '', '', '', ?, ?, ?) + `).run(c,a,b||null,d,d),c}static{this.SYSTEM_TABLES=["site_info","files","file_tree_nodes","pageviews","interactions","sessions","edge_functions","function_logs","server_functions","secrets"]}executeRawSQL(a,b){if(a.trim().toLowerCase().startsWith("select")){let c=this.db.prepare(a),d=b?c.all(...b):c.all();if(0===d.length)return{columns:[],rows:[],rowsAffected:0};let e=Object.keys(d[0]),f=d.map(a=>e.map(b=>a[b]));return{columns:e,rows:f,rowsAffected:0}}{let c=this.db.prepare(a);return{columns:[],rows:[],rowsAffected:(b?c.run(...b):c.run()).changes}}}getTableSchema(){return this.db.prepare(` + SELECT name FROM sqlite_master + WHERE type = 'table' AND name NOT LIKE 'sqlite_%' + ORDER BY name + `).all().map(a=>{let b=B.SYSTEM_TABLES.includes(a.name),c=this.db.prepare(`PRAGMA table_info('${a.name}')`).all(),d=this.db.prepare(`SELECT COUNT(*) as count FROM "${a.name}"`).get();return{name:a.name,columns:c.map(a=>({name:a.name,type:a.type,nullable:!a.notnull,primaryKey:a.pk>0,defaultValue:a.dflt_value??void 0})),rowCount:d.count,isSystemTable:b}})}getTableData(a,b=100,c=0){if(!this.db.prepare(` + SELECT name FROM sqlite_master WHERE type = 'table' AND name = ? + `).get(a))throw Error(`Table "${a}" does not exist`);let d=this.db.prepare(`SELECT COUNT(*) as count FROM "${a}"`).get(),e=this.db.prepare(`SELECT * FROM "${a}" LIMIT ? OFFSET ?`).all(b,c);if(0===e.length)return{columns:[],rows:[],total:d.count};let f=Object.keys(e[0]),g=e.map(a=>f.map(b=>a[b]));return{columns:f,rows:g,total:d.count}}isSystemTable(a){return B.SYSTEM_TABLES.includes(a)}executeUserQuery(a,b){let c=a.trim().toUpperCase(),d=this.validateNotSystemTable(c);if(d)return{columns:[],rows:[],rowsAffected:0,error:d};try{return this.executeRawSQL(a,b)}catch(a){return{columns:[],rows:[],rowsAffected:0,error:a instanceof Error?a.message:String(a)}}}validateNotSystemTable(a){let b=a.match(/^(DROP|ALTER|TRUNCATE)\s+TABLE\s+(?:IF\s+EXISTS\s+)?["'`]?(\w+)["'`]?/i);if(b){let a=b[2].toLowerCase();if(B.SYSTEM_TABLES.includes(a))return`Cannot modify system table: ${a}`}let c=a.match(/^INSERT\s+INTO\s+["'`]?(\w+)["'`]?/i);if(c){let a=c[1].toLowerCase();if(B.SYSTEM_TABLES.includes(a))return`Cannot insert into system table: ${a}`}let d=a.match(/^UPDATE\s+["'`]?(\w+)["'`]?/i);if(d){let a=d[1].toLowerCase();if(B.SYSTEM_TABLES.includes(a))return`Cannot update system table: ${a}`}let e=a.match(/^DELETE\s+FROM\s+["'`]?(\w+)["'`]?/i);if(e){let a=e[1].toLowerCase();if(B.SYSTEM_TABLES.includes(a))return`Cannot delete from system table: ${a}`}return null}getSchemaForExport(){let a=this.getTableSchema().filter(a=>!a.isSystemTable);if(0===a.length)return"-- No user tables defined\n-- Create tables using the SQL Editor or edge functions\n";let b="-- Database Schema\n";for(let c of(b+=`-- ${a.length} user table(s) + +`,a))b+=`-- Table: ${c.name} (${c.rowCount} rows) +`,b+=`CREATE TABLE ${c.name} ( +`,b+=c.columns.map(a=>{let b=` ${a.name} ${a.type}`;return a.primaryKey&&(b+=" PRIMARY KEY"),a.nullable||(b+=" NOT NULL"),void 0!==a.defaultValue&&(b+=` DEFAULT ${a.defaultValue}`),b}).join(",\n"),b+="\n);\n\n";return b}}let C={enabled:!1,provider:"builtin",privacyMode:!0},D={enabled:!1,bannerPosition:"bottom",bannerStyle:"bar",message:"This site uses cookies to improve your experience.",acceptButtonText:"Accept",declineButtonText:"Decline",mode:"opt-in",blockAnalytics:!0},E={},F=[{id:"initial_schema_v1",up:a=>{a.exec(` + CREATE TABLE IF NOT EXISTS _migrations ( + id TEXT PRIMARY KEY, + applied_at TEXT NOT NULL DEFAULT (datetime('now')) + ) + `),a.exec(` + CREATE TABLE IF NOT EXISTS projects ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL, + description TEXT, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL, + last_saved_at TEXT, + last_saved_checkpoint_id TEXT, + settings TEXT DEFAULT '{}', + cost_tracking TEXT DEFAULT '{}', + preview_image TEXT, + last_synced_at TEXT, + server_updated_at TEXT + ) + `),a.exec(` + CREATE TABLE IF NOT EXISTS custom_templates ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL, + description TEXT, + version TEXT, + files TEXT DEFAULT '[]', + directories TEXT DEFAULT '[]', + assets TEXT DEFAULT '[]', + metadata TEXT DEFAULT '{}', + imported_at TEXT NOT NULL + ) + `),a.exec(` + CREATE TABLE IF NOT EXISTS skills ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL, + description TEXT NOT NULL, + content TEXT NOT NULL, + markdown TEXT NOT NULL, + is_built_in INTEGER DEFAULT 0, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_skills_is_built_in ON skills(is_built_in) + `)}},{id:"add_files_and_tree_v2",up:a=>{a.exec(` + CREATE TABLE IF NOT EXISTS files ( + id TEXT PRIMARY KEY, + project_id TEXT NOT NULL, + path TEXT NOT NULL, + name TEXT NOT NULL, + type TEXT NOT NULL CHECK(type IN ('html', 'css', 'js', 'json', 'text', 'template', 'image', 'video', 'binary')), + content TEXT, + mime_type TEXT, + size INTEGER DEFAULT 0, + created_at TEXT NOT NULL DEFAULT (datetime('now')), + updated_at TEXT NOT NULL DEFAULT (datetime('now')), + metadata TEXT DEFAULT '{}', + UNIQUE(project_id, path), + FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_files_project_id ON files(project_id) + `),a.exec(` + CREATE TABLE IF NOT EXISTS file_tree_nodes ( + id TEXT PRIMARY KEY, + project_id TEXT NOT NULL, + path TEXT NOT NULL, + name TEXT NOT NULL, + type TEXT NOT NULL CHECK(type IN ('file', 'directory')), + parent_path TEXT, + is_expanded INTEGER DEFAULT 0, + metadata TEXT DEFAULT '{}', + UNIQUE(project_id, path), + FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_tree_nodes_project_id ON file_tree_nodes(project_id) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_tree_nodes_parent ON file_tree_nodes(project_id, parent_path) + `),a.exec(` + CREATE TABLE IF NOT EXISTS sites ( + id TEXT PRIMARY KEY, + project_id TEXT NOT NULL, + name TEXT NOT NULL, + slug TEXT, + enabled INTEGER DEFAULT 1, + under_construction INTEGER DEFAULT 0, + custom_domain TEXT, + head_scripts TEXT DEFAULT '[]', + body_scripts TEXT DEFAULT '[]', + cdn_links TEXT DEFAULT '[]', + analytics TEXT DEFAULT '{}', + seo TEXT DEFAULT '{}', + compliance TEXT DEFAULT '{}', + settings_version INTEGER DEFAULT 1, + last_published_version INTEGER, + preview_image TEXT, + preview_updated_at TEXT, + database_enabled INTEGER DEFAULT 0, + created_at TEXT NOT NULL DEFAULT (datetime('now')), + updated_at TEXT NOT NULL DEFAULT (datetime('now')), + published_at TEXT, + FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_sites_project_id ON sites(project_id) + `)}},{id:"add_request_log_v3",up:a=>{a.exec(` + CREATE TABLE IF NOT EXISTS request_log ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + site_id TEXT NOT NULL, + path TEXT NOT NULL, + status_code INTEGER NOT NULL, + ip_hash TEXT, + user_agent TEXT, + timestamp TEXT NOT NULL DEFAULT (datetime('now')) + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_request_log_timestamp ON request_log(timestamp) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_request_log_site_id ON request_log(site_id) + `)}}];function G(a,b){if(!a)return b;try{return JSON.parse(a)}catch{return b}}function H(a){return a?new Date(a):new Date}function I(a){return a?"string"==typeof a?a:a.toISOString():null}function J(a){return"string"==typeof a?a:a.toISOString()}class K{async init(){this.initialized||(this.db=function(){if(j)return j;let a=process.env.DATA_DIR||g().join(process.cwd(),"data");m(a);let b=g().join(a,"osws.sqlite");return n(j=new(e())(b)),j}(),await this.runMigrations(),this.initialized=!0)}async close(){for(let[,a]of this.siteDatabases)a.close();for(let[a]of(this.siteDatabases.clear(),k))q(a);if(j){try{j.close()}catch{}j=null}this.db=null,this.initialized=!1}getDB(){if(!this.db)throw Error("SQLiteAdapter not initialized. Call init() first.");return this.db}getOrCreateSiteDB(a){let b=this.siteDatabases.get(a);return b||((b=new B(a)).init(),this.siteDatabases.set(a,b)),b}async enableSiteDatabase(a){this.getDB().prepare("UPDATE sites SET database_enabled = 1 WHERE id = ?").run(a),this.getOrCreateSiteDB(a)}async disableSiteDatabase(a){this.getDB().prepare("UPDATE sites SET database_enabled = 0 WHERE id = ?").run(a);let b=this.siteDatabases.get(a);b&&(b.close(),this.siteDatabases.delete(a)),o(a)&&p(a)}async runMigrations(){let a=this.getDB();a.exec(` + CREATE TABLE IF NOT EXISTS _migrations ( + id TEXT PRIMARY KEY, + applied_at TEXT NOT NULL DEFAULT (datetime('now')) + ) + `);let b=new Set(a.prepare("SELECT id FROM _migrations").all().map(a=>a.id)),c=a.transaction(c=>{b.has(c.id)||(c.up(a),a.prepare("INSERT INTO _migrations (id) VALUES (?)").run(c.id))});for(let a of F)c(a)}async createProject(a){this.getDB().prepare(` + INSERT INTO projects ( + id, name, description, created_at, updated_at, + last_saved_at, last_saved_checkpoint_id, settings, + cost_tracking, preview_image, last_synced_at, server_updated_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.name,a.description??null,J(a.createdAt),J(a.updatedAt),I(a.lastSavedAt),a.lastSavedCheckpointId??null,JSON.stringify(a.settings??{}),JSON.stringify(a.costTracking??{}),a.previewImage??null,I(a.lastSyncedAt),I(a.serverUpdatedAt))}async getProject(a){let b=this.getDB().prepare("SELECT * FROM projects WHERE id = ?").get(a);return b?this.rowToProject(b):null}async updateProject(a){this.getDB().prepare(` + UPDATE projects SET + name = ?, + description = ?, + updated_at = ?, + last_saved_at = ?, + last_saved_checkpoint_id = ?, + settings = ?, + cost_tracking = ?, + preview_image = ?, + last_synced_at = ?, + server_updated_at = ? + WHERE id = ? + `).run(a.name,a.description??null,J(a.updatedAt),I(a.lastSavedAt),a.lastSavedCheckpointId??null,JSON.stringify(a.settings??{}),JSON.stringify(a.costTracking??{}),a.previewImage??null,I(a.lastSyncedAt),I(a.serverUpdatedAt),a.id)}async deleteProject(a){this.getDB().prepare("DELETE FROM projects WHERE id = ?").run(a),o(a)&&(this.siteDatabases.delete(a),p(a))}async listProjects(a){return this.getDB().prepare("SELECT * FROM projects ORDER BY updated_at DESC").all().map(a=>this.rowToProject(a))}rowToProject(a){return{id:a.id,name:a.name,description:a.description,createdAt:H(a.created_at),updatedAt:H(a.updated_at),lastSavedAt:a.last_saved_at?H(a.last_saved_at):void 0,lastSavedCheckpointId:a.last_saved_checkpoint_id,settings:G(a.settings,{}),costTracking:G(a.cost_tracking,void 0),previewImage:a.preview_image,lastSyncedAt:a.last_synced_at?H(a.last_synced_at):void 0,serverUpdatedAt:a.server_updated_at?H(a.server_updated_at):void 0}}async createFile(a){let b,c=this.getDB();b=a.content instanceof ArrayBuffer?Buffer.from(a.content).toString("base64"):"string"==typeof a.content?a.content:"",c.prepare(` + INSERT INTO files ( + id, project_id, path, name, type, content, + mime_type, size, created_at, updated_at, metadata + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.projectId,a.path,a.name,a.type,b,a.mimeType??null,a.size??0,J(a.createdAt),J(a.updatedAt),JSON.stringify(a.metadata??{}))}async getFile(a,b){let c=this.getDB().prepare("SELECT * FROM files WHERE project_id = ? AND path = ?").get(a,b);return c?this.rowToFile(c,a):null}async updateFile(a){let b,c=this.getDB();b=a.content instanceof ArrayBuffer?Buffer.from(a.content).toString("base64"):"string"==typeof a.content?a.content:"",c.prepare(` + UPDATE files SET + name = ?, type = ?, content = ?, mime_type = ?, + size = ?, updated_at = ?, metadata = ? + WHERE project_id = ? AND path = ? + `).run(a.name,a.type,b,a.mimeType??null,a.size??0,J(a.updatedAt),JSON.stringify(a.metadata??{}),a.projectId,a.path)}async deleteFile(a,b){this.getDB().prepare("DELETE FROM files WHERE project_id = ? AND path = ?").run(a,b)}async listFiles(a){return this.getDB().prepare("SELECT * FROM files WHERE project_id = ? ORDER BY path").all(a).map(b=>this.rowToFile(b,a))}async deleteProjectFiles(a){this.getDB().prepare("DELETE FROM files WHERE project_id = ?").run(a)}rowToFile(a,b){return{id:a.id,projectId:b,path:a.path,name:a.name,type:a.type,content:a.content,mimeType:a.mime_type,size:a.size,createdAt:H(a.created_at),updatedAt:H(a.updated_at),metadata:G(a.metadata,{})}}async createTreeNode(a){this.getDB().prepare(` + INSERT INTO file_tree_nodes ( + id, project_id, path, name, type, parent_path, is_expanded, metadata + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.projectId,a.path,a.name,a.type,a.parentPath??null,+!!a.isExpanded,JSON.stringify(a.metadata??{}))}async getTreeNode(a,b){let c=this.getDB().prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND path = ?").get(a,b);return c?this.rowToTreeNode(c,a):null}async updateTreeNode(a){this.getDB().prepare(` + UPDATE file_tree_nodes SET + name = ?, type = ?, parent_path = ?, is_expanded = ?, metadata = ? + WHERE project_id = ? AND path = ? + `).run(a.name,a.type,a.parentPath??null,+!!a.isExpanded,JSON.stringify(a.metadata??{}),a.projectId,a.path)}async deleteTreeNode(a,b){this.getDB().prepare("DELETE FROM file_tree_nodes WHERE project_id = ? AND path = ?").run(a,b)}async getChildNodes(a,b){let c=this.getDB();return(null===b?c.prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND parent_path IS NULL ORDER BY type DESC, name").all(a):c.prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND parent_path = ? ORDER BY type DESC, name").all(a,b)).map(b=>this.rowToTreeNode(b,a))}async getAllTreeNodes(a){return this.getDB().prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? ORDER BY path").all(a).map(b=>this.rowToTreeNode(b,a))}rowToTreeNode(a,b){return{id:a.id,projectId:b,path:a.path,name:a.name,type:a.type,parentPath:a.parent_path,isExpanded:!!a.is_expanded,metadata:G(a.metadata,{})}}async saveCustomTemplate(a){let b=this.getDB();b.prepare("SELECT id FROM custom_templates WHERE id = ?").get(a.id)?b.prepare(` + UPDATE custom_templates SET + name = ?, description = ?, version = ?, + files = ?, directories = ?, assets = ?, + metadata = ? + WHERE id = ? + `).run(a.name,a.description,a.version,JSON.stringify(a.files??[]),JSON.stringify(a.directories??[]),JSON.stringify(a.assets??[]),JSON.stringify(a.metadata??{}),a.id):b.prepare(` + INSERT INTO custom_templates ( + id, name, description, version, + files, directories, assets, metadata, imported_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.name,a.description,a.version,JSON.stringify(a.files??[]),JSON.stringify(a.directories??[]),JSON.stringify(a.assets??[]),JSON.stringify(a.metadata??{}),J(a.importedAt))}async getCustomTemplate(a){let b=this.getDB().prepare("SELECT * FROM custom_templates WHERE id = ?").get(a);return b?this.rowToTemplate(b):null}async getAllCustomTemplates(){return this.getDB().prepare("SELECT * FROM custom_templates ORDER BY imported_at DESC").all().map(a=>this.rowToTemplate(a))}async deleteCustomTemplate(a){this.getDB().prepare("DELETE FROM custom_templates WHERE id = ?").run(a)}rowToTemplate(a){return{id:a.id,name:a.name,description:a.description,version:a.version,files:G(a.files,[]),directories:G(a.directories,[]),assets:G(a.assets,[]),metadata:G(a.metadata,{license:"personal"}),importedAt:H(a.imported_at)}}async createSkill(a){this.getDB().prepare(` + INSERT INTO skills ( + id, name, description, content, markdown, + is_built_in, created_at, updated_at + ) VALUES (?, ?, ?, ?, ?, 0, ?, ?) + `).run(a.id,a.name,a.description,a.content,a.markdown,J(a.createdAt),J(a.updatedAt))}async getSkill(a){let b=this.getDB().prepare("SELECT * FROM skills WHERE id = ?").get(a);return b?this.rowToSkill(b):null}async updateSkill(a){this.getDB().prepare(` + UPDATE skills SET + name = ?, description = ?, content = ?, + markdown = ?, updated_at = ? + WHERE id = ? AND is_built_in = 0 + `).run(a.name,a.description,a.content,a.markdown,J(a.updatedAt),a.id)}async deleteSkill(a){this.getDB().prepare("DELETE FROM skills WHERE id = ? AND is_built_in = 0").run(a)}async getAllSkills(){return this.getDB().prepare("SELECT * FROM skills ORDER BY name").all().map(a=>this.rowToSkill(a))}rowToSkill(a){return{id:a.id,name:a.name,description:a.description,content:a.content,markdown:a.markdown,isBuiltIn:!!a.is_built_in,createdAt:H(a.created_at),updatedAt:H(a.updated_at)}}async createSite(a){this.getDB().prepare(` + INSERT INTO sites ( + id, project_id, name, slug, enabled, under_construction, + custom_domain, head_scripts, body_scripts, cdn_links, + analytics, seo, compliance, settings_version, + last_published_version, preview_image, preview_updated_at, + database_enabled, created_at, updated_at, published_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.projectId,a.name,a.slug??null,+!!a.enabled,+!!a.underConstruction,a.customDomain??null,JSON.stringify(a.headScripts??[]),JSON.stringify(a.bodyScripts??[]),JSON.stringify(a.cdnLinks??[]),JSON.stringify(a.analytics??C),JSON.stringify(a.seo??E),JSON.stringify(a.compliance??D),a.settingsVersion??1,a.lastPublishedVersion??null,a.previewImage??null,I(a.previewUpdatedAt),+!!a.databaseEnabled,J(a.createdAt),J(a.updatedAt),I(a.publishedAt))}async getSite(a){let b=this.getDB().prepare("SELECT * FROM sites WHERE id = ?").get(a);return b?this.rowToSite(b):null}async listSites(){return this.getDB().prepare("SELECT * FROM sites ORDER BY updated_at DESC").all().map(a=>this.rowToSite(a))}async listSitesByProject(a){return this.getDB().prepare("SELECT * FROM sites WHERE project_id = ? ORDER BY created_at").all(a).map(a=>this.rowToSite(a))}async updateSite(a){this.getDB().prepare(` + UPDATE sites SET + name = ?, slug = ?, enabled = ?, under_construction = ?, + custom_domain = ?, head_scripts = ?, body_scripts = ?, cdn_links = ?, + analytics = ?, seo = ?, compliance = ?, settings_version = ?, + last_published_version = ?, preview_image = ?, preview_updated_at = ?, + database_enabled = ?, updated_at = ?, published_at = ? + WHERE id = ? + `).run(a.name,a.slug??null,+!!a.enabled,+!!a.underConstruction,a.customDomain??null,JSON.stringify(a.headScripts??[]),JSON.stringify(a.bodyScripts??[]),JSON.stringify(a.cdnLinks??[]),JSON.stringify(a.analytics??C),JSON.stringify(a.seo??E),JSON.stringify(a.compliance??D),a.settingsVersion??1,a.lastPublishedVersion??null,a.previewImage??null,I(a.previewUpdatedAt),+!!a.databaseEnabled,J(a.updatedAt),I(a.publishedAt),a.id)}async deleteSite(a){this.getDB().prepare("DELETE FROM sites WHERE id = ?").run(a);let b=this.siteDatabases.get(a);b&&(b.close(),this.siteDatabases.delete(a)),o(a)&&p(a)}rowToSite(a){return{id:a.id,projectId:a.project_id,name:a.name,slug:a.slug,enabled:!!a.enabled,underConstruction:!!a.under_construction,customDomain:a.custom_domain,headScripts:G(a.head_scripts,[]),bodyScripts:G(a.body_scripts,[]),cdnLinks:G(a.cdn_links,[]),analytics:G(a.analytics,C),seo:G(a.seo,E),compliance:G(a.compliance,D),settingsVersion:a.settings_version??1,lastPublishedVersion:a.last_published_version,previewImage:a.preview_image,previewUpdatedAt:a.preview_updated_at?H(a.preview_updated_at):void 0,databaseEnabled:!!a.database_enabled,createdAt:H(a.created_at),updatedAt:H(a.updated_at),publishedAt:a.published_at?H(a.published_at):void 0}}getSiteDatabaseForAnalytics(a){let b=this.getSiteSync(a);return b&&b.databaseEnabled?this.getOrCreateSiteDB(a):null}getSiteSync(a){let b=this.getDB().prepare("SELECT * FROM sites WHERE id = ?").get(a);return b?this.rowToSite(b):null}constructor(){this.db=null,this.initialized=!1,this.siteDatabases=new Map}}}}; \ No newline at end of file diff --git a/.next/server/chunks/495.js b/.next/server/chunks/495.js new file mode 100644 index 0000000000000000000000000000000000000000..1f7a30e77c917cad4d9e11536cb857ef769a0914 --- /dev/null +++ b/.next/server/chunks/495.js @@ -0,0 +1,9 @@ +exports.id=495,exports.ids=[495],exports.modules={12:(a,b,c)=>{"use strict";Object.defineProperty(b,"d",{enumerable:!0,get:function(){return e}});let d=c(52474);function e(a){for(let b of d.FLIGHT_HEADERS)delete a[b]}},1280:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{Meta:function(){return f},MetaFilter:function(){return g},MultiMeta:function(){return j}});let d=c(75338);c(74515);let e=c(35456);function f({name:a,property:b,content:c,media:e}){return null!=c&&""!==c?(0,d.jsx)("meta",{...a?{name:a}:{property:b},...e?{media:e}:void 0,content:"string"==typeof c?c:c.toString()}):null}function g(a){let b=[];for(let c of a)Array.isArray(c)?b.push(...c.filter(e.nonNullable)):(0,e.nonNullable)(c)&&b.push(c);return b}let h=new Set(["og:image","twitter:image","og:video","og:audio"]);function i(a,b){return h.has(a)&&"url"===b?a:((a.startsWith("og:")||a.startsWith("twitter:"))&&(b=b.replace(/([A-Z])/g,function(a){return"_"+a.toLowerCase()})),a+":"+b)}function j({propertyPrefix:a,namePrefix:b,contents:c}){return null==c?null:g(c.map(c=>"string"==typeof c||"number"==typeof c||c instanceof URL?f({...a?{property:a}:{name:b},content:c}):function({content:a,namePrefix:b,propertyPrefix:c}){return a?g(Object.entries(a).map(([a,d])=>void 0===d?null:f({...c&&{property:i(c,a)},...b&&{name:i(b,a)},content:"string"==typeof d?d:null==d?void 0:d.toString()}))):null}({namePrefix:b,propertyPrefix:a,content:c})))}},1594:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"notFound",{enumerable:!0,get:function(){return e}});let d=""+c(69203).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function e(){let a=Object.defineProperty(Error(d),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw a.digest=d,a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},2090:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return d}});let d=c(77761).unstable_rethrow;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},2120:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"useRouterBFCache",{enumerable:!0,get:function(){return e}});let d=c(38301);function e(a,b){let[c,e]=(0,d.useState)(()=>({tree:a,stateKey:b,next:null}));if(c.tree===a)return c;let f={tree:a,stateKey:b,next:null},g=1,h=c,i=f;for(;null!==h&&g<1;){if(h.stateKey===b){i.next=h.next;break}{g++;let a={tree:h.tree,stateKey:h.stateKey,next:null};i.next=a,i=a}h=h.next}return e(f),f}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},2418:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"HandleISRError",{enumerable:!0,get:function(){return e}});let d=c(29294).workAsyncStorage;function e(a){let{error:b}=a;if(d){let a=d.getStore();if((null==a?void 0:a.isRevalidate)||(null==a?void 0:a.isStaticGeneration))throw console.error(b),b}return null}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},3896:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{INTERCEPTION_ROUTE_MARKERS:function(){return e},extractInterceptionRouteInformation:function(){return g},isInterceptionRouteAppPath:function(){return f}});let d=c(48723),e=["(..)(..)","(.)","(..)","(...)"];function f(a){return void 0!==a.split("/").find(a=>e.find(b=>a.startsWith(b)))}function g(a){let b,c,f;for(let d of a.split("/"))if(c=e.find(a=>d.startsWith(a))){[b,f]=a.split(c,2);break}if(!b||!c||!f)throw Object.defineProperty(Error("Invalid interception route: "+a+". Must be in the format //(..|...|..)(..)/"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(b=(0,d.normalizeAppPath)(b),c){case"(.)":f="/"===b?"/"+f:b+"/"+f;break;case"(..)":if("/"===b)throw Object.defineProperty(Error("Invalid interception route: "+a+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});f=b.split("/").slice(0,-1).concat(f).join("/");break;case"(...)":f="/"+f;break;case"(..)(..)":let g=b.split("/");if(g.length<=2)throw Object.defineProperty(Error("Invalid interception route: "+a+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});f=g.slice(0,-2).concat(f).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:b,interceptedRoute:f}}},4773:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});function d(){throw Object.defineProperty(Error("Taint can only be used with the taint flag."),"__NEXT_ERROR_CODE",{value:"E354",enumerable:!1,configurable:!0})}!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{taintObjectReference:function(){return e},taintUniqueValue:function(){return f}}),c(74515);let e=d,f=d},5439:(a,b)=>{"use strict";function c(a){return"object"==typeof a&&null!==a&&"message"in a&&"string"==typeof a.message&&a.message.startsWith("This rendered a large document (>")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isReactLargeShellError",{enumerable:!0,get:function(){return c}})},5944:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{IconKeys:function(){return d},ViewportMetaKeys:function(){return c}});let c={width:"width",height:"height",initialScale:"initial-scale",minimumScale:"minimum-scale",maximumScale:"maximum-scale",viewportFit:"viewport-fit",userScalable:"user-scalable",interactiveWidget:"interactive-widget"},d=["icon","shortcut","apple","other"]},6060:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/layout-router.js")},6927:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"findSourceMapURL",{enumerable:!0,get:function(){return c}});let c=void 0;("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},7184:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/metadata/async-metadata.js")},7585:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getSocialImageMetadataBaseFallback:function(){return g},isStringOrURL:function(){return e},resolveAbsoluteUrlWithPathname:function(){return k},resolveRelativeUrl:function(){return i},resolveUrl:function(){return h}});let d=function(a){return a&&a.__esModule?a:{default:a}}(c(91752));function e(a){return"string"==typeof a||a instanceof URL}function f(){let a=!!process.env.__NEXT_EXPERIMENTAL_HTTPS;return new URL(`${a?"https":"http"}://localhost:${process.env.PORT||3e3}`)}function g(a){let b=f(),c=function(){let a=process.env.VERCEL_BRANCH_URL||process.env.VERCEL_URL;return a?new URL(`https://${a}`):void 0}(),d=function(){let a=process.env.VERCEL_PROJECT_PRODUCTION_URL;return a?new URL(`https://${a}`):void 0}();return c&&"preview"===process.env.VERCEL_ENV?c:a||d||b}function h(a,b){if(a instanceof URL)return a;if(!a)return null;try{return new URL(a)}catch{}b||(b=f());let c=b.pathname||"";return new URL(d.default.posix.join(c,a),b)}function i(a,b){return"string"==typeof a&&a.startsWith("./")?d.default.posix.resolve(b,a):a}let j=/^(?:\/((?!\.well-known(?:\/.*)?)(?:[^/]+\/)*[^/]+\.\w+))(\/?|$)/i;function k(a,b,c,{trailingSlash:d}){a=i(a,c);let e="",f=b?h(a,b):a;if(e="string"==typeof f?f:"/"===f.pathname?f.origin:f.href,d&&!e.endsWith("/")){let a=e.startsWith("/"),c=e.includes("?"),d=!1,f=!1;if(!a){try{var g;let a=new URL(e);d=null!=b&&a.origin!==b.origin,g=a.pathname,f=j.test(g)}catch{d=!0}if(!f&&!d&&!c)return`${e}/`}}return e}},7907:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createDigestWithErrorCode:function(){return c},extractNextErrorCode:function(){return d}});let c=(a,b)=>"object"==typeof a&&null!==a&&"__NEXT_ERROR_CODE"in a?`${b}@${a.__NEXT_ERROR_CODE}`:b,d=a=>"object"==typeof a&&null!==a&&"__NEXT_ERROR_CODE"in a&&"string"==typeof a.__NEXT_ERROR_CODE?a.__NEXT_ERROR_CODE:"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest?a.digest.split("@").find(a=>a.startsWith("E")):void 0},8783:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getComponentTypeModule:function(){return f},getLayoutOrPageModule:function(){return e}});let d=c(96896);async function e(a){let b,c,e,{layout:f,page:g,defaultPage:h}=a[2],i=void 0!==f,j=void 0!==g,k=void 0!==h&&a[0]===d.DEFAULT_SEGMENT_KEY;return i?(b=await f[0](),c="layout",e=f[1]):j?(b=await g[0](),c="page",e=g[1]):k&&(b=await h[0](),c="page",e=h[1]),{mod:b,modType:c,filePath:e}}async function f(a,b){let{[b]:c}=a[2];if(void 0!==c)return await c[0]()}},9816:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{default:function(){return e},getProperError:function(){return f}});let d=c(12726);function e(a){return"object"==typeof a&&null!==a&&"name"in a&&"message"in a}function f(a){return e(a)?a:Object.defineProperty(Error((0,d.isPlainObject)(a)?function(a){let b=new WeakSet;return JSON.stringify(a,(a,c)=>{if("object"==typeof c&&null!==c){if(b.has(c))return"[Circular]";b.add(c)}return c})}(a):a+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},10603:(a,b,c)=>{"use strict";a.exports=c(49754).vendored["react-rsc"].ReactServerDOMWebpackStatic},10924:(a,b)=>{"use strict";function c(a){return a.startsWith("/")?a:"/"+a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ensureLeadingSlash",{enumerable:!0,get:function(){return c}})},11830:(a,b)=>{"use strict";function c(a,b){return void 0===b&&(b=!0),a.pathname+a.search+(b?a.hash:"")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createHrefFromUrl",{enumerable:!0,get:function(){return c}}),("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},11843:(a,b)=>{"use strict";function c(a){let b=5381;for(let c=0;c>>0}function d(a){return c(a).toString(36).slice(0,5)}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{djb2Hash:function(){return c},hexHash:function(){return d}})},12131:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"Postpone",{enumerable:!0,get:function(){return d.Postpone}});let d=c(26906)},12263:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{MetadataBoundary:function(){return f},OutletBoundary:function(){return h},RootLayoutBoundary:function(){return i},ViewportBoundary:function(){return g}});let d=c(85818),e={[d.METADATA_BOUNDARY_NAME]:function({children:a}){return a},[d.VIEWPORT_BOUNDARY_NAME]:function({children:a}){return a},[d.OUTLET_BOUNDARY_NAME]:function({children:a}){return a},[d.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:a}){return a}},f=e[d.METADATA_BOUNDARY_NAME.slice(0)],g=e[d.VIEWPORT_BOUNDARY_NAME.slice(0)],h=e[d.OUTLET_BOUNDARY_NAME.slice(0)],i=e[d.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]},12591:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ACTION_HMR_REFRESH:function(){return h},ACTION_NAVIGATE:function(){return d},ACTION_PREFETCH:function(){return g},ACTION_REFRESH:function(){return c},ACTION_RESTORE:function(){return e},ACTION_SERVER_ACTION:function(){return i},ACTION_SERVER_PATCH:function(){return f},PrefetchCacheEntryStatus:function(){return k},PrefetchKind:function(){return j}});let c="refresh",d="navigate",e="restore",f="server-patch",g="prefetch",h="hmr-refresh",i="server-action";var j=function(a){return a.AUTO="auto",a.FULL="full",a.TEMPORARY="temporary",a}({}),k=function(a){return a.fresh="fresh",a.reusable="reusable",a.expired="expired",a.stale="stale",a}({});("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},12696:(a,b)=>{"use strict";function c(a){return void 0!==a&&("boolean"==typeof a?a:"incremental"===a)}function d(a,b){return void 0!==a&&("boolean"==typeof a?a:"incremental"===a&&!0===b.experimental_ppr)}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{checkIsAppPPREnabled:function(){return c},checkIsRoutePPREnabled:function(){return d}})},12726:(a,b)=>{"use strict";function c(a){return Object.prototype.toString.call(a)}function d(a){if("[object Object]"!==c(a))return!1;let b=Object.getPrototypeOf(a);return null===b||b.hasOwnProperty("isPrototypeOf")}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getObjectClassLabel:function(){return c},isPlainObject:function(){return d}})},12889:(a,b,c)=>{"use strict";a.exports=c(56796).vendored.contexts.AppRouterContext},14172:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ACTION_HEADER:function(){return d},FLIGHT_HEADERS:function(){return l},NEXT_ACTION_NOT_FOUND_HEADER:function(){return s},NEXT_DID_POSTPONE_HEADER:function(){return o},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return i},NEXT_HMR_REFRESH_HEADER:function(){return h},NEXT_IS_PRERENDER_HEADER:function(){return r},NEXT_REWRITTEN_PATH_HEADER:function(){return p},NEXT_REWRITTEN_QUERY_HEADER:function(){return q},NEXT_ROUTER_PREFETCH_HEADER:function(){return f},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return g},NEXT_ROUTER_STALE_TIME_HEADER:function(){return n},NEXT_ROUTER_STATE_TREE_HEADER:function(){return e},NEXT_RSC_UNION_QUERY:function(){return m},NEXT_URL:function(){return j},RSC_CONTENT_TYPE_HEADER:function(){return k},RSC_HEADER:function(){return c}});let c="rsc",d="next-action",e="next-router-state-tree",f="next-router-prefetch",g="next-router-segment-prefetch",h="next-hmr-refresh",i="__next_hmr_refresh_hash__",j="next-url",k="text/x-component",l=[c,e,f,h,g],m="_rsc",n="x-nextjs-stale-time",o="x-nextjs-postponed",p="x-nextjs-rewritten-path",q="x-nextjs-rewritten-query",r="x-nextjs-prerender",s="x-nextjs-action-not-found";("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},17092:a=>{a.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},17269:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{normalizeAppPath:function(){return f},normalizeRscURL:function(){return g}});let d=c(10924),e=c(72454);function f(a){return(0,d.ensureLeadingSlash)(a.split("/").reduce((a,b,c,d)=>!b||(0,e.isGroupSegment)(b)||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:a+"/"+b,""))}function g(a){return a.replace(/\.rsc($|\?)/,"$1")}},17963:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{doesStaticSegmentAppearInURL:function(){return j},getCacheKeyForDynamicParam:function(){return k},getParamValueFromCacheKey:function(){return m},getRenderedPathname:function(){return h},getRenderedSearch:function(){return g},parseDynamicParamFromURLPart:function(){return i},urlToUrlWithoutFlightMarker:function(){return l}});let d=c(72454),e=c(38217),f=c(14172);function g(a){let b=a.headers.get(f.NEXT_REWRITTEN_QUERY_HEADER);return null!==b?""===b?"":"?"+b:l(new URL(a.url)).search}function h(a){let b=a.headers.get(f.NEXT_REWRITTEN_PATH_HEADER);return null!=b?b:l(new URL(a.url)).pathname}function i(a,b,c){switch(a){case"c":case"ci":return cencodeURIComponent(a)):[];case"oc":return cencodeURIComponent(a)):null;case"d":case"di":if(c>=b.length)return"";return encodeURIComponent(b[c]);default:return""}}function j(a){return!(a===e.ROOT_SEGMENT_REQUEST_KEY||a.startsWith(d.PAGE_SEGMENT_KEY)||"("===a[0]&&a.endsWith(")"))&&a!==d.DEFAULT_SEGMENT_KEY&&"/_not-found"!==a}function k(a,b){return"string"==typeof a?(0,d.addSearchParamsIfPageSegment)(a,Object.fromEntries(new URLSearchParams(b))):null===a?"":a.join("/")}function l(a){let b=new URL(a);return b.searchParams.delete(f.NEXT_RSC_UNION_QUERY),b}function m(a,b){return"c"===b||"oc"===b?a.split("/"):a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},19963:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createParamsFromClient:function(){return m},createPrerenderParamsForClientSegment:function(){return q},createServerParamsForMetadata:function(){return n},createServerParamsForRoute:function(){return o},createServerParamsForServerSegment:function(){return p}});let d=c(29294),e=c(63036),f=c(26906),g=c(63033),h=c(49290),i=c(84226),j=c(82831),k=c(30787),l=c(41025);function m(a,b){let c=g.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return r(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new h.InvariantError("createParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E736",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new h.InvariantError("createParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E770",enumerable:!1,configurable:!0});case"request":return v(a)}(0,g.throwInvariantForMissingStore)()}let n=p;function o(a,b){let c=g.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return r(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new h.InvariantError("createServerParamsForRoute should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E738",enumerable:!1,configurable:!0});case"prerender-runtime":return s(a,c);case"request":return v(a)}(0,g.throwInvariantForMissingStore)()}function p(a,b){let c=g.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return r(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new h.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"prerender-runtime":return s(a,c);case"request":return v(a)}(0,g.throwInvariantForMissingStore)()}function q(a){let b=d.workAsyncStorage.getStore();if(!b)throw Object.defineProperty(new h.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let c=g.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":let e=c.fallbackRouteParams;if(e){for(let d in a)if(e.has(d))return(0,j.makeHangingPromise)(c.renderSignal,b.route,"`params`")}break;case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new h.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0})}return Promise.resolve(a)}function r(a,b,c){switch(c.type){case"prerender":case"prerender-client":{let f=c.fallbackRouteParams;if(f){for(let h in a)if(f.has(h)){var d=a,e=b,g=c;let f=t.get(d);if(f)return f;let h=new Proxy((0,j.makeHangingPromise)(g.renderSignal,e.route,"`params`"),u);return t.set(d,h),h}}break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d){for(let e in a)if(d.has(e))return function(a,b,c,d){let e=t.get(a);if(e)return e;let g={...a},h=Promise.resolve(g);return t.set(a,h),Object.keys(a).forEach(e=>{i.wellKnownProperties.has(e)||(b.has(e)?(Object.defineProperty(g,e,{get(){let a=(0,i.describeStringPropertyAccess)("params",e);"prerender-ppr"===d.type?(0,f.postponeWithTracking)(c.route,a,d.dynamicTracking):(0,f.throwToInterruptStaticGeneration)(a,c,d)},enumerable:!0}),Object.defineProperty(h,e,{get(){let a=(0,i.describeStringPropertyAccess)("params",e);"prerender-ppr"===d.type?(0,f.postponeWithTracking)(c.route,a,d.dynamicTracking):(0,f.throwToInterruptStaticGeneration)(a,c,d)},set(a){Object.defineProperty(h,e,{value:a,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0})):h[e]=a[e])}),h}(a,d,b,c)}}}return v(a)}function s(a,b){return(0,f.delayUntilRuntimeStage)(b,v(a))}let t=new WeakMap,u={get:function(a,b,c){if("then"===b||"catch"===b||"finally"===b){let d=e.ReflectAdapter.get(a,b,c);return({[b]:(...b)=>{let c=l.dynamicAccessAsyncStorage.getStore();return c&&c.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(d.apply(a,b),u)}})[b]}return e.ReflectAdapter.get(a,b,c)}};function v(a){let b=t.get(a);if(b)return b;let c=Promise.resolve(a);return t.set(a,c),Object.keys(a).forEach(b=>{i.wellKnownProperties.has(b)||(c[b]=a[b])}),c}(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`params\` should be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E307",enumerable:!1,configurable:!0})}),(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b,c){let d=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${d}used ${b}. \`params\` should be awaited before using its properties. The following properties were not available through enumeration because they conflict with builtin property names: ${function(a){switch(a.length){case 0:throw Object.defineProperty(new h.InvariantError("Expected describeListOfPropertyNames to be called with a non-empty list of strings."),"__NEXT_ERROR_CODE",{value:"E531",enumerable:!1,configurable:!0});case 1:return`\`${a[0]}\``;case 2:return`\`${a[0]}\` and \`${a[1]}\``;default:{let b="";for(let c=0;c{"use strict";function d(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"forbidden",{enumerable:!0,get:function(){return d}}),c(69203).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},20175:(a,b)=>{"use strict";function c(a){return a.default||a}Object.defineProperty(b,"T",{enumerable:!0,get:function(){return c}})},21054:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{INTERCEPTION_ROUTE_MARKERS:function(){return e},extractInterceptionRouteInformation:function(){return g},isInterceptionRouteAppPath:function(){return f}});let d=c(17269),e=["(..)(..)","(.)","(..)","(...)"];function f(a){return void 0!==a.split("/").find(a=>e.find(b=>a.startsWith(b)))}function g(a){let b,c,f;for(let d of a.split("/"))if(c=e.find(a=>d.startsWith(a))){[b,f]=a.split(c,2);break}if(!b||!c||!f)throw Object.defineProperty(Error("Invalid interception route: "+a+". Must be in the format //(..|...|..)(..)/"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(b=(0,d.normalizeAppPath)(b),c){case"(.)":f="/"===b?"/"+f:b+"/"+f;break;case"(..)":if("/"===b)throw Object.defineProperty(Error("Invalid interception route: "+a+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});f=b.split("/").slice(0,-1).concat(f).join("/");break;case"(...)":f="/"+f;break;case"(..)(..)":let g=b.split("/");if(g.length<=2)throw Object.defineProperty(Error("Invalid interception route: "+a+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});f=g.slice(0,-2).concat(f).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:b,interceptedRoute:f}}},21124:(a,b,c)=>{"use strict";a.exports=c(56796).vendored["react-ssr"].ReactJsxRuntime},21507:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"warnOnce",{enumerable:!0,get:function(){return c}});let c=a=>{}},21600:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getFlightDataPartsFromPath:function(){return e},getNextFlightSegmentPath:function(){return f},normalizeFlightData:function(){return g},prepareFlightRouterStateForRequest:function(){return h}});let d=c(72454);function e(a){var b;let[c,d,e,f]=a.slice(-4),g=a.slice(0,-4);return{pathToSegment:g.slice(0,-1),segmentPath:g,segment:null!=(b=g[g.length-1])?b:"",tree:c,seedData:d,head:e,isHeadPartial:f,isRootRender:4===a.length}}function f(a){return a.slice(2)}function g(a){return"string"==typeof a?a:a.map(a=>e(a))}function h(a,b){return b?encodeURIComponent(JSON.stringify(a)):encodeURIComponent(JSON.stringify(function a(b){var c,e;let[f,g,h,i,j,k]=b,l="string"==typeof(c=f)&&c.startsWith(d.PAGE_SEGMENT_KEY+"?")?d.PAGE_SEGMENT_KEY:c,m={};for(let[b,c]of Object.entries(g))m[b]=a(c);let n=[l,m,null,(e=i)&&"refresh"!==e?i:null];return void 0!==j&&(n[4]=j),void 0!==k&&(n[5]=k),n}(a)))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},21671:a=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var b={};(()=>{function a(a,b){void 0===b&&(b={});for(var c=function(a){for(var b=[],c=0;c=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122||95===g){e+=a[f++];continue}break}if(!e)throw TypeError("Missing parameter name at ".concat(c));b.push({type:"NAME",index:c,value:e}),c=f;continue}if("("===d){var h=1,i="",f=c+1;if("?"===a[f])throw TypeError('Pattern cannot start with "?" at '.concat(f));for(;f-1)return!0}return!1},q=function(a){var b=i[i.length-1],c=a||(b&&"string"==typeof b?b:"");if(b&&!c)throw TypeError('Must have text between two parameters, missing text after "'.concat(b.name,'"'));return!c||p(c)?"[^".concat(e(h),"]+?"):"(?:(?!".concat(e(c),")[^").concat(e(h),"])+?")};k-1:void 0===v;g||(p+="(?:".concat(o,"(?=").concat(n,"))?")),w||(p+="(?=".concat(o,"|").concat(n,")"))}return new RegExp(p,f(c))}function h(b,c,d){if(b instanceof RegExp){var e;if(!c)return b;for(var i=/\((?:\?<(.*?)>)?(?!\?)/g,j=0,k=i.exec(b.source);k;)c.push({name:k[1]||j++,prefix:"",suffix:"",modifier:"",pattern:""}),k=i.exec(b.source);return b}return Array.isArray(b)?(e=b.map(function(a){return h(a,c,d).source}),new RegExp("(?:".concat(e.join("|"),")"),f(d))):g(a(b,d),c,d)}Object.defineProperty(b,"__esModule",{value:!0}),b.pathToRegexp=b.tokensToRegexp=b.regexpToFunction=b.match=b.tokensToFunction=b.compile=b.parse=void 0,b.parse=a,b.compile=function(b,d){return c(a(b,d),d)},b.tokensToFunction=c,b.match=function(a,b){var c=[];return d(h(a,c,b),c,b)},b.regexpToFunction=d,b.tokensToRegexp=g,b.pathToRegexp=h})(),a.exports=b})()},21832:(a,b,c)=>{"use strict";a.exports=c(56796).vendored.contexts.ServerInsertedHtml},22158:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{dispatchAppRouterAction:function(){return g},useActionQueue:function(){return h}});let d=c(55823)._(c(38301)),e=c(39039),f=null;function g(a){if(null===f)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});f(a)}function h(a){let[b,c]=d.default.useState(a.state);return f=b=>a.dispatch(b,c),(0,e.isThenable)(b)?(0,d.use)(b):b}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},22444:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{safeCompile:function(){return g},safePathToRegexp:function(){return f},safeRegexpToFunction:function(){return h},safeRouteMatcher:function(){return i}});let d=c(21671),e=c(55009);function f(a,b,c){if("string"!=typeof a)return(0,d.pathToRegexp)(a,b,c);let f=(0,e.hasAdjacentParameterIssues)(a),g=f?(0,e.normalizeAdjacentParameters)(a):a;try{return(0,d.pathToRegexp)(g,b,c)}catch(g){if(!f)try{let f=(0,e.normalizeAdjacentParameters)(a);return(0,d.pathToRegexp)(f,b,c)}catch(a){}throw g}}function g(a,b){let c=(0,e.hasAdjacentParameterIssues)(a),f=c?(0,e.normalizeAdjacentParameters)(a):a;try{return(0,d.compile)(f,b)}catch(f){if(!c)try{let c=(0,e.normalizeAdjacentParameters)(a);return(0,d.compile)(c,b)}catch(a){}throw f}}function h(a,b){let c=(0,d.regexpToFunction)(a,b||[]);return a=>{let b=c(a);return!!b&&{...b,params:(0,e.stripParameterSeparators)(b.params)}}}function i(a){return b=>{let c=a(b);return!!c&&(0,e.stripParameterSeparators)(c)}}},22682:(a,b,c)=>{"use strict";a.exports=c(49754).vendored["react-rsc"].ReactDOM},22857:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"styles",{enumerable:!0,get:function(){return c}});let c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},23312:(a,b,c)=>{"use strict";a.exports=c(56796).vendored["react-ssr"].ReactDOM},23597:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-page.js")},23873:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{AppLinksMeta:function(){return h},OpenGraphMetadata:function(){return e},TwitterMetadata:function(){return g}});let d=c(1280);function e({openGraph:a}){var b,c,e,f,g,h,i;let j;if(!a)return null;if("type"in a){let b=a.type;switch(b){case"website":j=[(0,d.Meta)({property:"og:type",content:"website"})];break;case"article":j=[(0,d.Meta)({property:"og:type",content:"article"}),(0,d.Meta)({property:"article:published_time",content:null==(f=a.publishedTime)?void 0:f.toString()}),(0,d.Meta)({property:"article:modified_time",content:null==(g=a.modifiedTime)?void 0:g.toString()}),(0,d.Meta)({property:"article:expiration_time",content:null==(h=a.expirationTime)?void 0:h.toString()}),(0,d.MultiMeta)({propertyPrefix:"article:author",contents:a.authors}),(0,d.Meta)({property:"article:section",content:a.section}),(0,d.MultiMeta)({propertyPrefix:"article:tag",contents:a.tags})];break;case"book":j=[(0,d.Meta)({property:"og:type",content:"book"}),(0,d.Meta)({property:"book:isbn",content:a.isbn}),(0,d.Meta)({property:"book:release_date",content:a.releaseDate}),(0,d.MultiMeta)({propertyPrefix:"book:author",contents:a.authors}),(0,d.MultiMeta)({propertyPrefix:"book:tag",contents:a.tags})];break;case"profile":j=[(0,d.Meta)({property:"og:type",content:"profile"}),(0,d.Meta)({property:"profile:first_name",content:a.firstName}),(0,d.Meta)({property:"profile:last_name",content:a.lastName}),(0,d.Meta)({property:"profile:username",content:a.username}),(0,d.Meta)({property:"profile:gender",content:a.gender})];break;case"music.song":j=[(0,d.Meta)({property:"og:type",content:"music.song"}),(0,d.Meta)({property:"music:duration",content:null==(i=a.duration)?void 0:i.toString()}),(0,d.MultiMeta)({propertyPrefix:"music:album",contents:a.albums}),(0,d.MultiMeta)({propertyPrefix:"music:musician",contents:a.musicians})];break;case"music.album":j=[(0,d.Meta)({property:"og:type",content:"music.album"}),(0,d.MultiMeta)({propertyPrefix:"music:song",contents:a.songs}),(0,d.MultiMeta)({propertyPrefix:"music:musician",contents:a.musicians}),(0,d.Meta)({property:"music:release_date",content:a.releaseDate})];break;case"music.playlist":j=[(0,d.Meta)({property:"og:type",content:"music.playlist"}),(0,d.MultiMeta)({propertyPrefix:"music:song",contents:a.songs}),(0,d.MultiMeta)({propertyPrefix:"music:creator",contents:a.creators})];break;case"music.radio_station":j=[(0,d.Meta)({property:"og:type",content:"music.radio_station"}),(0,d.MultiMeta)({propertyPrefix:"music:creator",contents:a.creators})];break;case"video.movie":j=[(0,d.Meta)({property:"og:type",content:"video.movie"}),(0,d.MultiMeta)({propertyPrefix:"video:actor",contents:a.actors}),(0,d.MultiMeta)({propertyPrefix:"video:director",contents:a.directors}),(0,d.MultiMeta)({propertyPrefix:"video:writer",contents:a.writers}),(0,d.Meta)({property:"video:duration",content:a.duration}),(0,d.Meta)({property:"video:release_date",content:a.releaseDate}),(0,d.MultiMeta)({propertyPrefix:"video:tag",contents:a.tags})];break;case"video.episode":j=[(0,d.Meta)({property:"og:type",content:"video.episode"}),(0,d.MultiMeta)({propertyPrefix:"video:actor",contents:a.actors}),(0,d.MultiMeta)({propertyPrefix:"video:director",contents:a.directors}),(0,d.MultiMeta)({propertyPrefix:"video:writer",contents:a.writers}),(0,d.Meta)({property:"video:duration",content:a.duration}),(0,d.Meta)({property:"video:release_date",content:a.releaseDate}),(0,d.MultiMeta)({propertyPrefix:"video:tag",contents:a.tags}),(0,d.Meta)({property:"video:series",content:a.series})];break;case"video.tv_show":j=[(0,d.Meta)({property:"og:type",content:"video.tv_show"})];break;case"video.other":j=[(0,d.Meta)({property:"og:type",content:"video.other"})];break;default:throw Object.defineProperty(Error(`Invalid OpenGraph type: ${b}`),"__NEXT_ERROR_CODE",{value:"E237",enumerable:!1,configurable:!0})}}return(0,d.MetaFilter)([(0,d.Meta)({property:"og:determiner",content:a.determiner}),(0,d.Meta)({property:"og:title",content:null==(b=a.title)?void 0:b.absolute}),(0,d.Meta)({property:"og:description",content:a.description}),(0,d.Meta)({property:"og:url",content:null==(c=a.url)?void 0:c.toString()}),(0,d.Meta)({property:"og:site_name",content:a.siteName}),(0,d.Meta)({property:"og:locale",content:a.locale}),(0,d.Meta)({property:"og:country_name",content:a.countryName}),(0,d.Meta)({property:"og:ttl",content:null==(e=a.ttl)?void 0:e.toString()}),(0,d.MultiMeta)({propertyPrefix:"og:image",contents:a.images}),(0,d.MultiMeta)({propertyPrefix:"og:video",contents:a.videos}),(0,d.MultiMeta)({propertyPrefix:"og:audio",contents:a.audio}),(0,d.MultiMeta)({propertyPrefix:"og:email",contents:a.emails}),(0,d.MultiMeta)({propertyPrefix:"og:phone_number",contents:a.phoneNumbers}),(0,d.MultiMeta)({propertyPrefix:"og:fax_number",contents:a.faxNumbers}),(0,d.MultiMeta)({propertyPrefix:"og:locale:alternate",contents:a.alternateLocale}),...j||[]])}function f({app:a,type:b}){var c,e;return[(0,d.Meta)({name:`twitter:app:name:${b}`,content:a.name}),(0,d.Meta)({name:`twitter:app:id:${b}`,content:a.id[b]}),(0,d.Meta)({name:`twitter:app:url:${b}`,content:null==(e=a.url)||null==(c=e[b])?void 0:c.toString()})]}function g({twitter:a}){var b;if(!a)return null;let{card:c}=a;return(0,d.MetaFilter)([(0,d.Meta)({name:"twitter:card",content:c}),(0,d.Meta)({name:"twitter:site",content:a.site}),(0,d.Meta)({name:"twitter:site:id",content:a.siteId}),(0,d.Meta)({name:"twitter:creator",content:a.creator}),(0,d.Meta)({name:"twitter:creator:id",content:a.creatorId}),(0,d.Meta)({name:"twitter:title",content:null==(b=a.title)?void 0:b.absolute}),(0,d.Meta)({name:"twitter:description",content:a.description}),(0,d.MultiMeta)({namePrefix:"twitter:image",contents:a.images}),..."player"===c?a.players.flatMap(a=>[(0,d.Meta)({name:"twitter:player",content:a.playerUrl.toString()}),(0,d.Meta)({name:"twitter:player:stream",content:a.streamUrl.toString()}),(0,d.Meta)({name:"twitter:player:width",content:a.width}),(0,d.Meta)({name:"twitter:player:height",content:a.height})]):[],..."app"===c?[f({app:a.app,type:"iphone"}),f({app:a.app,type:"ipad"}),f({app:a.app,type:"googleplay"})]:[]])}function h({appLinks:a}){return a?(0,d.MetaFilter)([(0,d.MultiMeta)({propertyPrefix:"al:ios",contents:a.ios}),(0,d.MultiMeta)({propertyPrefix:"al:iphone",contents:a.iphone}),(0,d.MultiMeta)({propertyPrefix:"al:ipad",contents:a.ipad}),(0,d.MultiMeta)({propertyPrefix:"al:android",contents:a.android}),(0,d.MultiMeta)({propertyPrefix:"al:windows_phone",contents:a.windows_phone}),(0,d.MultiMeta)({propertyPrefix:"al:windows",contents:a.windows}),(0,d.MultiMeta)({propertyPrefix:"al:windows_universal",contents:a.windows_universal}),(0,d.MultiMeta)({propertyPrefix:"al:web",contents:a.web})]):null}},23958:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{resolveIcon:function(){return g},resolveIcons:function(){return h}});let d=c(60096),e=c(7585),f=c(5944);function g(a){return(0,e.isStringOrURL)(a)?{url:a}:(Array.isArray(a),a)}let h=a=>{if(!a)return null;let b={icon:[],apple:[]};if(Array.isArray(a))b.icon=a.map(g).filter(Boolean);else if((0,e.isStringOrURL)(a))b.icon=[g(a)];else for(let c of f.IconKeys){let e=(0,d.resolveAsArrayOrUndefined)(a[c]);e&&(b[c]=e.map(g))}return b}},25963:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unresolvedThenable",{enumerable:!0,get:function(){return c}});let c={then:()=>{}};("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},26453:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getIsPossibleServerAction:function(){return f},getServerActionRequestMetadata:function(){return e}});let d=c(52474);function e(a){let b,c;a.headers instanceof Headers?(b=a.headers.get(d.ACTION_HEADER)??null,c=a.headers.get("content-type")):(b=a.headers[d.ACTION_HEADER]??null,c=a.headers["content-type"]??null);let e="POST"===a.method&&"application/x-www-form-urlencoded"===c,f=!!("POST"===a.method&&(null==c?void 0:c.startsWith("multipart/form-data"))),g=void 0!==b&&"string"==typeof b&&"POST"===a.method;return{actionId:b,isURLEncodedAction:e,isMultipartAction:f,isFetchAction:g,isPossibleServerAction:!!(g||e||f)}}function f(a){return e(a).isPossibleServerAction}},27782:(a,b)=>{"use strict";function c(a,b){return a?a.replace(/%s/g,b):b}function d(a,b){let d,e="string"!=typeof a&&a&&"template"in a?a.template:null;return("string"==typeof a?d=c(b,a):a&&("default"in a&&(d=c(b,a.default)),"absolute"in a&&a.absolute&&(d=a.absolute)),a&&"string"!=typeof a)?{template:e,absolute:d||""}:{absolute:d||a||"",template:e}}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"resolveTitle",{enumerable:!0,get:function(){return d}})},27825:(a,b,c)=>{"use strict";a.exports=c(33030)},27963:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{HTML_LIMITED_BOT_UA_RE:function(){return d.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return f},getBotType:function(){return i},isBot:function(){return h}});let d=c(93745),e=/Googlebot(?!-)|Googlebot$/i,f=d.HTML_LIMITED_BOT_UA_RE.source;function g(a){return d.HTML_LIMITED_BOT_UA_RE.test(a)}function h(a){return e.test(a)||g(a)}function i(a){return e.test(a)?"dom":g(a)?"html":void 0}},29234:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return h}});let d=c(55823),e=c(21124),f=d._(c(38301)),g=c(12889);function h(){let a=(0,f.useContext)(g.TemplateContext);return(0,e.jsx)(e.Fragment,{children:a})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},30719:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return c}});let c=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},30787:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return i}});let d=function(a,b){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=e(b);if(c&&c.has(a))return c.get(a);var d={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(d,g,h):d[g]=a[g]}return d.default=a,c&&c.set(a,d),d}(c(74515));function e(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(e=function(a){return a?c:b})(a)}let f={current:null},g="function"==typeof d.cache?d.cache:a=>a,h=console.warn;function i(a){return function(...b){h(a(...b))}}g(a=>{try{h(f.current)}finally{f.current=null}})},31603:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ClientPageRoot",{enumerable:!0,get:function(){return f}});let d=c(21124),e=c(93860);function f(a){let{Component:b,searchParams:f,params:g,promises:h}=a;{let a,h,{workAsyncStorage:i}=c(29294),j=i.getStore();if(!j)throw Object.defineProperty(new e.InvariantError("Expected workStore to exist when handling searchParams in a client Page."),"__NEXT_ERROR_CODE",{value:"E564",enumerable:!1,configurable:!0});let{createSearchParamsFromClient:k}=c(65666);a=k(f,j);let{createParamsFromClient:l}=c(83869);return h=l(g,j),(0,d.jsx)(b,{params:h,searchParams:a})}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},32507:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getRouteMatcher",{enumerable:!0,get:function(){return f}});let d=c(40980),e=c(22444);function f(a){let{re:b,groups:c}=a;return(0,e.safeRouteMatcher)(a=>{let e=b.exec(a);if(!e)return!1;let f=a=>{try{return decodeURIComponent(a)}catch(a){throw Object.defineProperty(new d.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},g={};for(let[a,b]of Object.entries(c)){let c=e[b.pos];void 0!==c&&(b.repeat?g[a]=c.split("/").map(a=>f(a)):g[a]=f(c))}return g})}},32768:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return f}});let d=c(75338),e=c(44368);function f(){return(0,d.jsx)(e.HTTPAccessErrorFallback,{status:401,message:"You're not authorized to access this page."})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},32822:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createServerModuleMap:function(){return h},selectWorkerForForwarding:function(){return i}});let d=c(48723),e=c(75916),f=c(53630),g=c(29294);function h({serverActionsManifest:a}){return new Proxy({},{get:(b,c)=>{var d,e;let f,h=null==(e=a.node)||null==(d=e[c])?void 0:d.workers;if(!h)return;let i=g.workAsyncStorage.getStore();if(!(f=i?h[j(i.page)]:Object.values(h).at(0)))return;let{moduleId:k,async:l}=f;return{id:k,name:c,chunks:[],async:l}}})}function i(a,b,c){var e,g;let h=null==(e=c.node[a])?void 0:e.workers,i=j(b);if(h&&!h[i]){return g=Object.keys(h)[0],(0,d.normalizeAppPath)((0,f.removePathPrefix)(g,"app"))}}function j(a){return(0,e.pathHasPrefix)(a,"app")?a:"app"+a}},33030:(a,b,c)=>{"use strict";var d=c(28354),e=c(22682),f={stream:!0},g=Object.prototype.hasOwnProperty,h=new Map;function i(a){var b=globalThis.__next_require__(a);return"function"!=typeof b.then||"fulfilled"===b.status?null:(b.then(function(a){b.status="fulfilled",b.value=a},function(a){b.status="rejected",b.reason=a}),b)}function j(){}function k(a){for(var b=a[1],d=[],e=0;ee||35===e||114===e||120===e?(h=e,e=3,d++):(h=0,e=3);continue;case 2:44===(l=c[d++])?e=4:i=i<<4|(96c.length&&(l=-1)}var m=c.byteOffset+d;if(-1c||114===c||120===c?(g=c,c=3,b++):(g=0,c=3);continue;case 2:44===(k=a.charCodeAt(b++))?c=4:h=h<<4|(963*h)throw Error("String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams.");k=a.length}if(-1{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isPostpone",{enumerable:!0,get:function(){return d}});let c=Symbol.for("react.postpone");function d(a){return"object"==typeof a&&null!==a&&a.$$typeof===c}},35288:(a,b,c)=>{"use strict";function d(a){return a&&a.__esModule?a:{default:a}}c.r(b),c.d(b,{_:()=>d})},35385:a=>{a.exports={style:{fontFamily:"'PT Sans', 'PT Sans Fallback'",fontStyle:"normal"},className:"__className_438d47",variable:"__variable_438d47"}},35456:(a,b)=>{"use strict";function c(a){return null!=a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"nonNullable",{enumerable:!0,get:function(){return c}})},36893:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/client-segment.js")},38029:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"bailoutToClientRendering",{enumerable:!0,get:function(){return g}});let d=c(84339),e=c(29294),f=c(63033);function g(a){let b=e.workAsyncStorage.getStore();if(null==b?void 0:b.forceStatic)return;let c=f.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-runtime":case"prerender-client":case"prerender-ppr":case"prerender-legacy":throw Object.defineProperty(new d.BailoutToCSRError(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},38217:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ROOT_SEGMENT_CACHE_KEY:function(){return f},ROOT_SEGMENT_REQUEST_KEY:function(){return e},appendSegmentCacheKeyPart:function(){return j},appendSegmentRequestKeyPart:function(){return h},convertSegmentPathToStaticExportFilename:function(){return m},createSegmentCacheKeyPart:function(){return i},createSegmentRequestKeyPart:function(){return g}});let d=c(72454),e="",f="";function g(a){if("string"==typeof a)return a.startsWith(d.PAGE_SEGMENT_KEY)?d.PAGE_SEGMENT_KEY:"/_not-found"===a?"_not-found":l(a);let b=a[0],c=a[2];return"$"+c+"$"+l(b)}function h(a,b,c){return a+"/"+("children"===b?c:"@"+l(b)+"/"+c)}function i(a,b){return"string"==typeof b?a:a+"$"+l(b[1])}function j(a,b,c){return a+"/"+("children"===b?c:"@"+l(b)+"/"+c)}let k=/^[a-zA-Z0-9\-_@]+$/;function l(a){return k.test(a)?a:"!"+btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function m(a){return"__next"+a.replace(/\//g,".")+".txt"}},38301:(a,b,c)=>{"use strict";a.exports=c(56796).vendored["react-ssr"].React},38398:(a,b,c)=>{"use strict";a.exports=c(56796).vendored.contexts.HooksClientContext},38508:a=>{(()=>{"use strict";var b={695:a=>{var b=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function c(a){var b=a&&Date.parse(a);return"number"==typeof b?b:NaN}a.exports=function(a,d){var e=a["if-modified-since"],f=a["if-none-match"];if(!e&&!f)return!1;var g=a["cache-control"];if(g&&b.test(g))return!1;if(f&&"*"!==f){var h=d.etag;if(!h)return!1;for(var i=!0,j=function(a){for(var b=0,c=[],d=0,e=0,f=a.length;e{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{AppleWebAppMeta:function(){return o},BasicMeta:function(){return i},FacebookMeta:function(){return k},FormatDetectionMeta:function(){return n},ItunesMeta:function(){return j},PinterestMeta:function(){return l},VerificationMeta:function(){return p},ViewportMeta:function(){return h}});let d=c(75338),e=c(1280),f=c(5944),g=c(60096);function h({viewport:a}){return(0,e.MetaFilter)([(0,d.jsx)("meta",{charSet:"utf-8"}),(0,e.Meta)({name:"viewport",content:function(a){let b=null;if(a&&"object"==typeof a){for(let c in b="",f.ViewportMetaKeys)if(c in a){let d=a[c];"boolean"==typeof d?d=d?"yes":"no":d||"initialScale"!==c||(d=void 0),d&&(b&&(b+=", "),b+=`${f.ViewportMetaKeys[c]}=${d}`)}}return b}(a)}),...a.themeColor?a.themeColor.map(a=>(0,e.Meta)({name:"theme-color",content:a.color,media:a.media})):[],(0,e.Meta)({name:"color-scheme",content:a.colorScheme})])}function i({metadata:a}){var b,c,f;let h=a.manifest?(0,g.getOrigin)(a.manifest):void 0;return(0,e.MetaFilter)([null!==a.title&&a.title.absolute?(0,d.jsx)("title",{children:a.title.absolute}):null,(0,e.Meta)({name:"description",content:a.description}),(0,e.Meta)({name:"application-name",content:a.applicationName}),...a.authors?a.authors.map(a=>[a.url?(0,d.jsx)("link",{rel:"author",href:a.url.toString()}):null,(0,e.Meta)({name:"author",content:a.name})]):[],a.manifest?(0,d.jsx)("link",{rel:"manifest",href:a.manifest.toString(),crossOrigin:h||"preview"!==process.env.VERCEL_ENV?void 0:"use-credentials"}):null,(0,e.Meta)({name:"generator",content:a.generator}),(0,e.Meta)({name:"keywords",content:null==(b=a.keywords)?void 0:b.join(",")}),(0,e.Meta)({name:"referrer",content:a.referrer}),(0,e.Meta)({name:"creator",content:a.creator}),(0,e.Meta)({name:"publisher",content:a.publisher}),(0,e.Meta)({name:"robots",content:null==(c=a.robots)?void 0:c.basic}),(0,e.Meta)({name:"googlebot",content:null==(f=a.robots)?void 0:f.googleBot}),(0,e.Meta)({name:"abstract",content:a.abstract}),...a.archives?a.archives.map(a=>(0,d.jsx)("link",{rel:"archives",href:a})):[],...a.assets?a.assets.map(a=>(0,d.jsx)("link",{rel:"assets",href:a})):[],...a.bookmarks?a.bookmarks.map(a=>(0,d.jsx)("link",{rel:"bookmarks",href:a})):[],...a.pagination?[a.pagination.previous?(0,d.jsx)("link",{rel:"prev",href:a.pagination.previous}):null,a.pagination.next?(0,d.jsx)("link",{rel:"next",href:a.pagination.next}):null]:[],(0,e.Meta)({name:"category",content:a.category}),(0,e.Meta)({name:"classification",content:a.classification}),...a.other?Object.entries(a.other).map(([a,b])=>Array.isArray(b)?b.map(b=>(0,e.Meta)({name:a,content:b})):(0,e.Meta)({name:a,content:b})):[]])}function j({itunes:a}){if(!a)return null;let{appId:b,appArgument:c}=a,e=`app-id=${b}`;return c&&(e+=`, app-argument=${c}`),(0,d.jsx)("meta",{name:"apple-itunes-app",content:e})}function k({facebook:a}){if(!a)return null;let{appId:b,admins:c}=a;return(0,e.MetaFilter)([b?(0,d.jsx)("meta",{property:"fb:app_id",content:b}):null,...c?c.map(a=>(0,d.jsx)("meta",{property:"fb:admins",content:a})):[]])}function l({pinterest:a}){if(!a||!a.richPin)return null;let{richPin:b}=a;return(0,d.jsx)("meta",{property:"pinterest-rich-pin",content:b.toString()})}let m=["telephone","date","address","email","url"];function n({formatDetection:a}){if(!a)return null;let b="";for(let c of m)c in a&&(b&&(b+=", "),b+=`${c}=no`);return(0,d.jsx)("meta",{name:"format-detection",content:b})}function o({appleWebApp:a}){if(!a)return null;let{capable:b,title:c,startupImage:f,statusBarStyle:g}=a;return(0,e.MetaFilter)([b?(0,e.Meta)({name:"mobile-web-app-capable",content:"yes"}):null,(0,e.Meta)({name:"apple-mobile-web-app-title",content:c}),f?f.map(a=>(0,d.jsx)("link",{href:a.url,media:a.media,rel:"apple-touch-startup-image"})):null,g?(0,e.Meta)({name:"apple-mobile-web-app-status-bar-style",content:g}):null])}function p({verification:a}){return a?(0,e.MetaFilter)([(0,e.MultiMeta)({namePrefix:"google-site-verification",contents:a.google}),(0,e.MultiMeta)({namePrefix:"y_key",contents:a.yahoo}),(0,e.MultiMeta)({namePrefix:"yandex-verification",contents:a.yandex}),(0,e.MultiMeta)({namePrefix:"me",contents:a.me}),...a.other?Object.entries(a.other).map(([a,b])=>(0,e.MultiMeta)({namePrefix:a,contents:b})):[]]):null}},39039:(a,b)=>{"use strict";function c(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isThenable",{enumerable:!0,get:function(){return c}})},39539:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"IconsMetadata",{enumerable:!0,get:function(){return i}});let d=c(75338),e=c(51384),f=c(1280);function g({icon:a}){let{url:b,rel:c="icon",...e}=a;return(0,d.jsx)("link",{rel:c,href:b.toString(),...e})}function h({rel:a,icon:b}){if("object"==typeof b&&!(b instanceof URL))return!b.rel&&a&&(b.rel=a),g({icon:b});{let c=b.toString();return(0,d.jsx)("link",{rel:a,href:c})}}function i({icons:a}){if(!a)return null;let b=a.shortcut,c=a.icon,i=a.apple,j=a.other,k=!!((null==b?void 0:b.length)||(null==c?void 0:c.length)||(null==i?void 0:i.length)||(null==j?void 0:j.length));return k?(0,f.MetaFilter)([b?b.map(a=>h({rel:"shortcut icon",icon:a})):null,c?c.map(a=>h({rel:"icon",icon:a})):null,i?i.map(a=>h({rel:"apple-touch-icon",icon:a})):null,j?j.map(a=>g({icon:a})):null,k?(0,d.jsx)(e.IconMark,{}):null]):null}},39893:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createProxy",{enumerable:!0,get:function(){return d}});let d=c(97954).createClientModuleProxy},39903:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ReadonlyURLSearchParams:function(){return k},RedirectType:function(){return e.RedirectType},forbidden:function(){return g.forbidden},notFound:function(){return f.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return h.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return i.unstable_rethrow}});let d=c(69296),e=c(47847),f=c(1594),g=c(20171),h=c(85182),i=c(2090);class j extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class k extends URLSearchParams{append(){throw new j}delete(){throw new j}set(){throw new j}sort(){throw new j}}function l(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},40413:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"RedirectStatusCode",{enumerable:!0,get:function(){return c}});var c=function(a){return a[a.SeeOther=303]="SeeOther",a[a.TemporaryRedirect=307]="TemporaryRedirect",a[a.PermanentRedirect=308]="PermanentRedirect",a}({});("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},40689:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{UnrecognizedActionError:function(){return c},unstable_isUnrecognizedActionError:function(){return d}});class c extends Error{constructor(...a){super(...a),this.name="UnrecognizedActionError"}}function d(a){return!!(a&&"object"==typeof a&&a instanceof c)}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},40980:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DecodeError:function(){return o},MiddlewareNotFoundError:function(){return s},MissingStaticPage:function(){return r},NormalizeError:function(){return p},PageNotFoundError:function(){return q},SP:function(){return m},ST:function(){return n},WEB_VITALS:function(){return c},execOnce:function(){return d},getDisplayName:function(){return i},getLocationOrigin:function(){return g},getURL:function(){return h},isAbsoluteUrl:function(){return f},isResSent:function(){return j},loadGetInitialProps:function(){return l},normalizeRepeatedSlashes:function(){return k},stringifyError:function(){return t}});let c=["CLS","FCP","FID","INP","LCP","TTFB"];function d(a){let b,c=!1;return function(){for(var d=arguments.length,e=Array(d),f=0;fe.test(a);function g(){let{protocol:a,hostname:b,port:c}=window.location;return a+"//"+b+(c?":"+c:"")}function h(){let{href:a}=window.location,b=g();return a.substring(b.length)}function i(a){return"string"==typeof a?a:a.displayName||a.name||"Unknown"}function j(a){return a.finished||a.headersSent}function k(a){let b=a.split("?");return b[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(b[1]?"?"+b.slice(1).join("?"):"")}async function l(a,b){let c=b.res||b.ctx&&b.ctx.res;if(!a.getInitialProps)return b.ctx&&b.Component?{pageProps:await l(b.Component,b.ctx)}:{};let d=await a.getInitialProps(b);if(c&&j(c))return d;if(!d)throw Object.defineProperty(Error('"'+i(a)+'.getInitialProps()" should resolve to an object. But found "'+d+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d}let m="undefined"!=typeof performance,n=m&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);class o extends Error{}class p extends Error{}class q extends Error{constructor(a){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+a}}class r extends Error{constructor(a,b){super(),this.message="Failed to load static file for page: "+a+" "+b}}class s extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function t(a){return JSON.stringify({message:a.message,stack:a.stack})}},41820:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{Postpone:function(){return A},PreludeState:function(){return V},abortAndThrowOnSynchronousRequestDataAccess:function(){return x},abortOnSynchronousPlatformIOAccess:function(){return v},accessedDynamicData:function(){return I},annotateDynamicAccess:function(){return N},consumeDynamicAccess:function(){return J},createDynamicTrackingState:function(){return o},createDynamicValidationState:function(){return p},createHangingInputAbortSignal:function(){return M},createRenderInBrowserAbortSignal:function(){return L},delayUntilRuntimeStage:function(){return Y},formatDynamicAPIAccesses:function(){return K},getFirstDynamicReason:function(){return q},isDynamicPostpone:function(){return D},isPrerenderInterruptedError:function(){return H},logDisallowedDynamicError:function(){return W},markCurrentScopeAsDynamic:function(){return r},postponeWithTracking:function(){return B},throwIfDisallowedDynamic:function(){return X},throwToInterruptStaticGeneration:function(){return s},trackAllowedDynamicAccess:function(){return U},trackDynamicDataInDynamicRender:function(){return t},trackSynchronousPlatformIOAccessInDev:function(){return w},trackSynchronousRequestDataAccessInDev:function(){return z},useDynamicRouteParams:function(){return O},warnOnSyncDynamicError:function(){return y}});let d=function(a){return a&&a.__esModule?a:{default:a}}(c(38301)),e=c(48122),f=c(52448),g=c(63033),h=c(29294),i=c(71729),j=c(85818),k=c(97388),l=c(84339),m=c(93860),n="function"==typeof d.default.unstable_postpone;function o(a){return{isDebugDynamicAccesses:a,dynamicAccesses:[],syncDynamicErrorWithStack:null}}function p(){return{hasSuspenseAboveBody:!1,hasDynamicMetadata:!1,hasDynamicViewport:!1,hasAllowedDynamic:!1,dynamicErrors:[]}}function q(a){var b;return null==(b=a.dynamicAccesses[0])?void 0:b.expression}function r(a,b,c){if(b)switch(b.type){case"cache":case"unstable-cache":case"private-cache":return}if(!a.forceDynamic&&!a.forceStatic){if(a.dynamicShouldError)throw Object.defineProperty(new f.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${c}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(b)switch(b.type){case"prerender-ppr":return B(a.route,c,b.dynamicTracking);case"prerender-legacy":b.revalidate=0;let d=Object.defineProperty(new e.DynamicServerError(`Route ${a.route} couldn't be rendered statically because it used ${c}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E550",enumerable:!1,configurable:!0});throw a.dynamicUsageDescription=c,a.dynamicUsageStack=d.stack,d}}}function s(a,b,c){let d=Object.defineProperty(new e.DynamicServerError(`Route ${b.route} couldn't be rendered statically because it used \`${a}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw c.revalidate=0,b.dynamicUsageDescription=a,b.dynamicUsageStack=d.stack,d}function t(a){switch(a.type){case"cache":case"unstable-cache":case"private-cache":return}}function u(a,b,c){let d=G(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`);c.controller.abort(d);let e=c.dynamicTracking;e&&e.dynamicAccesses.push({stack:e.isDebugDynamicAccesses?Error().stack:void 0,expression:b})}function v(a,b,c,d){let e=d.dynamicTracking;u(a,b,d),e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}function w(a){a.prerenderPhase=!1}function x(a,b,c,d){if(!1===d.controller.signal.aborted){u(a,b,d);let e=d.dynamicTracking;e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}throw G(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`)}function y(a){a.syncDynamicErrorWithStack&&console.error(a.syncDynamicErrorWithStack)}let z=w;function A({reason:a,route:b}){let c=g.workUnitAsyncStorage.getStore();B(b,a,c&&"prerender-ppr"===c.type?c.dynamicTracking:null)}function B(a,b,c){(function(){if(!n)throw Object.defineProperty(Error("Invariant: React.unstable_postpone is not defined. This suggests the wrong version of React was loaded. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E224",enumerable:!1,configurable:!0})})(),c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:b}),d.default.unstable_postpone(C(a,b))}function C(a,b){return`Route ${a} needs to bail out of prerendering at this point because it used ${b}. React throws this special object to indicate where. It should not be caught by your own try/catch. Learn more: https://nextjs.org/docs/messages/ppr-caught-error`}function D(a){return"object"==typeof a&&null!==a&&"string"==typeof a.message&&E(a.message)}function E(a){return a.includes("needs to bail out of prerendering at this point because it used")&&a.includes("Learn more: https://nextjs.org/docs/messages/ppr-caught-error")}if(!1===E(C("%%%","^^^")))throw Object.defineProperty(Error("Invariant: isDynamicPostpone misidentified a postpone reason. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E296",enumerable:!1,configurable:!0});let F="NEXT_PRERENDER_INTERRUPTED";function G(a){let b=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return b.digest=F,b}function H(a){return"object"==typeof a&&null!==a&&a.digest===F&&"name"in a&&"message"in a&&a instanceof Error}function I(a){return a.length>0}function J(a,b){return a.dynamicAccesses.push(...b.dynamicAccesses),a.dynamicAccesses}function K(a){return a.filter(a=>"string"==typeof a.stack&&a.stack.length>0).map(({expression:a,stack:b})=>(b=b.split("\n").slice(4).filter(a=>!(a.includes("node_modules/next/")||a.includes(" ()")||a.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${a}: +${b}`))}function L(){let a=new AbortController;return a.abort(Object.defineProperty(new l.BailoutToCSRError("Render in Browser"),"__NEXT_ERROR_CODE",{value:"E721",enumerable:!1,configurable:!0})),a.signal}function M(a){switch(a.type){case"prerender":case"prerender-runtime":let b=new AbortController;if(a.cacheSignal)a.cacheSignal.inputReady().then(()=>{b.abort()});else{let c=(0,g.getRuntimeStagePromise)(a);c?c.then(()=>(0,k.scheduleOnNextTick)(()=>b.abort())):(0,k.scheduleOnNextTick)(()=>b.abort())}return b.signal;case"prerender-client":case"prerender-ppr":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":return}}function N(a,b){let c=b.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:a})}function O(a){let b=h.workAsyncStorage.getStore(),c=g.workUnitAsyncStorage.getStore();if(b&&c)switch(c.type){case"prerender-client":case"prerender":{let e=c.fallbackRouteParams;e&&e.size>0&&d.default.use((0,i.makeHangingPromise)(c.renderSignal,b.route,a));break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d&&d.size>0)return B(b.route,a,c.dynamicTracking);break}case"prerender-runtime":throw Object.defineProperty(new m.InvariantError(`\`${a}\` was called during a runtime prerender. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E771",enumerable:!1,configurable:!0});case"cache":case"private-cache":throw Object.defineProperty(new m.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E745",enumerable:!1,configurable:!0})}}let P=/\n\s+at Suspense \(\)/,Q=RegExp(`\\n\\s+at Suspense \\(\\)(?:(?!\\n\\s+at (?:body|div|main|section|article|aside|header|footer|nav|form|p|span|h1|h2|h3|h4|h5|h6) \\(\\))[\\s\\S])*?\\n\\s+at ${j.ROOT_LAYOUT_BOUNDARY_NAME} \\([^\\n]*\\)`),R=RegExp(`\\n\\s+at ${j.METADATA_BOUNDARY_NAME}[\\n\\s]`),S=RegExp(`\\n\\s+at ${j.VIEWPORT_BOUNDARY_NAME}[\\n\\s]`),T=RegExp(`\\n\\s+at ${j.OUTLET_BOUNDARY_NAME}[\\n\\s]`);function U(a,b,c,d){if(!T.test(b)){if(R.test(b)){c.hasDynamicMetadata=!0;return}if(S.test(b)){c.hasDynamicViewport=!0;return}if(Q.test(b)){c.hasAllowedDynamic=!0,c.hasSuspenseAboveBody=!0;return}else if(P.test(b)){c.hasAllowedDynamic=!0;return}else{if(d.syncDynamicErrorWithStack)return void c.dynamicErrors.push(d.syncDynamicErrorWithStack);let e=function(a,b){let c=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return c.stack=c.name+": "+a+b,c}(`Route "${a.route}": A component accessed data, headers, params, searchParams, or a short-lived cache without a Suspense boundary nor a "use cache" above it. See more info: https://nextjs.org/docs/messages/next-prerender-missing-suspense`,b);return void c.dynamicErrors.push(e)}}}var V=function(a){return a[a.Full=0]="Full",a[a.Empty=1]="Empty",a[a.Errored=2]="Errored",a}({});function W(a,b){console.error(b),a.dev||(a.hasReadableErrorStacks?console.error(`To get a more detailed stack trace and pinpoint the issue, start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error.`):console.error(`To get a more detailed stack trace and pinpoint the issue, try one of the following: + - Start the app in development mode by running \`next dev\`, then open "${a.route}" in your browser to investigate the error. + - Rerun the production build with \`next build --debug-prerender\` to generate better stack traces.`))}function X(a,b,c,d){if(0!==b){if(c.hasSuspenseAboveBody)return;if(d.syncDynamicErrorWithStack)throw W(a,d.syncDynamicErrorWithStack),new f.StaticGenBailoutError;let e=c.dynamicErrors;if(e.length>0){for(let b=0;bb):b}},41972:a=>{(()=>{"use strict";var b={328:a=>{a.exports=function(a){for(var b=5381,c=a.length;c;)b=33*b^a.charCodeAt(--c);return b>>>0}}},c={};function d(a){var e=c[a];if(void 0!==e)return e.exports;var f=c[a]={exports:{}},g=!0;try{b[a](f,f.exports,d),g=!1}finally{g&&delete c[a]}return f.exports}d.ab=__dirname+"/",a.exports=d(328)})()},42794:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{fnv1a52:function(){return c},generateETag:function(){return d}});let c=a=>{let b=a.length,c=0,d=0,e=8997,f=0,g=33826,h=0,i=40164,j=0,k=52210;for(;c>>16,e=65535&d,h+=f>>>16,g=65535&f,k=j+(h>>>16)&65535,i=65535&h;return(15&k)*0x1000000000000+0x100000000*i+65536*g+(e^k>>4)},d=(a,b=!1)=>(b?'W/"':'"')+c(a).toString(36)+a.length.toString(36)+'"'},42830:(a,b,c)=>{"use strict";c.d(b,{l$:()=>u,oR:()=>q});var d=c(38301),e=c(23312);let f=Array(12).fill(0),g=({visible:a,className:b})=>d.createElement("div",{className:["sonner-loading-wrapper",b].filter(Boolean).join(" "),"data-visible":a},d.createElement("div",{className:"sonner-spinner"},f.map((a,b)=>d.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${b}`})))),h=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},d.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),i=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},d.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),j=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},d.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),k=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},d.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),l=d.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},d.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),d.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),m=1;class n{constructor(){this.subscribe=a=>(this.subscribers.push(a),()=>{let b=this.subscribers.indexOf(a);this.subscribers.splice(b,1)}),this.publish=a=>{this.subscribers.forEach(b=>b(a))},this.addToast=a=>{this.publish(a),this.toasts=[...this.toasts,a]},this.create=a=>{var b;let{message:c,...d}=a,e="number"==typeof(null==a?void 0:a.id)||(null==(b=a.id)?void 0:b.length)>0?a.id:m++,f=this.toasts.find(a=>a.id===e),g=void 0===a.dismissible||a.dismissible;return this.dismissedToasts.has(e)&&this.dismissedToasts.delete(e),f?this.toasts=this.toasts.map(b=>b.id===e?(this.publish({...b,...a,id:e,title:c}),{...b,...a,id:e,dismissible:g,title:c}):b):this.addToast({title:c,...d,dismissible:g,id:e}),e},this.dismiss=a=>(a?(this.dismissedToasts.add(a),requestAnimationFrame(()=>this.subscribers.forEach(b=>b({id:a,dismiss:!0})))):this.toasts.forEach(a=>{this.subscribers.forEach(b=>b({id:a.id,dismiss:!0}))}),a),this.message=(a,b)=>this.create({...b,message:a}),this.error=(a,b)=>this.create({...b,message:a,type:"error"}),this.success=(a,b)=>this.create({...b,type:"success",message:a}),this.info=(a,b)=>this.create({...b,type:"info",message:a}),this.warning=(a,b)=>this.create({...b,type:"warning",message:a}),this.loading=(a,b)=>this.create({...b,type:"loading",message:a}),this.promise=(a,b)=>{let c,e;if(!b)return;void 0!==b.loading&&(e=this.create({...b,promise:a,type:"loading",message:b.loading,description:"function"!=typeof b.description?b.description:void 0}));let f=Promise.resolve(a instanceof Function?a():a),g=void 0!==e,h=f.then(async a=>{if(c=["resolve",a],d.isValidElement(a))g=!1,this.create({id:e,type:"default",message:a});else if(p(a)&&!a.ok){g=!1;let c="function"==typeof b.error?await b.error(`HTTP error! status: ${a.status}`):b.error,f="function"==typeof b.description?await b.description(`HTTP error! status: ${a.status}`):b.description,h="object"!=typeof c||d.isValidElement(c)?{message:c}:c;this.create({id:e,type:"error",description:f,...h})}else if(a instanceof Error){g=!1;let c="function"==typeof b.error?await b.error(a):b.error,f="function"==typeof b.description?await b.description(a):b.description,h="object"!=typeof c||d.isValidElement(c)?{message:c}:c;this.create({id:e,type:"error",description:f,...h})}else if(void 0!==b.success){g=!1;let c="function"==typeof b.success?await b.success(a):b.success,f="function"==typeof b.description?await b.description(a):b.description,h="object"!=typeof c||d.isValidElement(c)?{message:c}:c;this.create({id:e,type:"success",description:f,...h})}}).catch(async a=>{if(c=["reject",a],void 0!==b.error){g=!1;let c="function"==typeof b.error?await b.error(a):b.error,f="function"==typeof b.description?await b.description(a):b.description,h="object"!=typeof c||d.isValidElement(c)?{message:c}:c;this.create({id:e,type:"error",description:f,...h})}}).finally(()=>{g&&(this.dismiss(e),e=void 0),null==b.finally||b.finally.call(b)}),i=()=>new Promise((a,b)=>h.then(()=>"reject"===c[0]?b(c[1]):a(c[1])).catch(b));return"string"!=typeof e&&"number"!=typeof e?{unwrap:i}:Object.assign(e,{unwrap:i})},this.custom=(a,b)=>{let c=(null==b?void 0:b.id)||m++;return this.create({jsx:a(c),id:c,...b}),c},this.getActiveToasts=()=>this.toasts.filter(a=>!this.dismissedToasts.has(a.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}let o=new n,p=a=>a&&"object"==typeof a&&"ok"in a&&"boolean"==typeof a.ok&&"status"in a&&"number"==typeof a.status,q=Object.assign((a,b)=>{let c=(null==b?void 0:b.id)||m++;return o.addToast({title:a,...b,id:c}),c},{success:o.success,info:o.info,warning:o.warning,error:o.error,custom:o.custom,message:o.message,promise:o.promise,dismiss:o.dismiss,loading:o.loading},{getHistory:()=>o.toasts,getToasts:()=>o.getActiveToasts()});function r(a){return void 0!==a.label}function s(...a){return a.filter(Boolean).join(" ")}!function(a){if(!a||"undefined"==typeof document)return;let b=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css",b.appendChild(c),c.styleSheet?c.styleSheet.cssText=a:c.appendChild(document.createTextNode(a))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let t=a=>{var b,c,e,f,m,n,o,p,q,t,u;let{invert:v,toast:w,unstyled:x,interacting:y,setHeights:z,visibleToasts:A,heights:B,index:C,toasts:D,expanded:E,removeToast:F,defaultRichColors:G,closeButton:H,style:I,cancelButtonStyle:J,actionButtonStyle:K,className:L="",descriptionClassName:M="",duration:N,position:O,gap:P,expandByDefault:Q,classNames:R,icons:S,closeButtonAriaLabel:T="Close toast"}=a,[U,V]=d.useState(null),[W,X]=d.useState(null),[Y,Z]=d.useState(!1),[$,_]=d.useState(!1),[aa,ab]=d.useState(!1),[ac,ad]=d.useState(!1),[ae,af]=d.useState(!1),[ag,ah]=d.useState(0),[ai,aj]=d.useState(0),ak=d.useRef(w.duration||N||4e3),al=d.useRef(null),am=d.useRef(null),an=0===C,ao=C+1<=A,ap=w.type,aq=!1!==w.dismissible,ar=w.className||"",as=w.descriptionClassName||"",at=d.useMemo(()=>B.findIndex(a=>a.toastId===w.id)||0,[B,w.id]),au=d.useMemo(()=>{var a;return null!=(a=w.closeButton)?a:H},[w.closeButton,H]),av=d.useMemo(()=>w.duration||N||4e3,[w.duration,N]),aw=d.useRef(0),ax=d.useRef(0),ay=d.useRef(0),az=d.useRef(null),[aA,aB]=O.split("-"),aC=d.useMemo(()=>B.reduce((a,b,c)=>c>=at?a:a+b.height,0),[B,at]),aD=(()=>{let[a,b]=d.useState(document.hidden);return d.useEffect(()=>{let a=()=>{b(document.hidden)};return document.addEventListener("visibilitychange",a),()=>window.removeEventListener("visibilitychange",a)},[]),a})(),aE=w.invert||v,aF="loading"===ap;ax.current=d.useMemo(()=>at*P+aC,[at,aC]),d.useEffect(()=>{ak.current=av},[av]),d.useEffect(()=>{Z(!0)},[]),d.useEffect(()=>{let a=am.current;if(a){let b=a.getBoundingClientRect().height;return aj(b),z(a=>[{toastId:w.id,height:b,position:w.position},...a]),()=>z(a=>a.filter(a=>a.toastId!==w.id))}},[z,w.id]),d.useLayoutEffect(()=>{if(!Y)return;let a=am.current,b=a.style.height;a.style.height="auto";let c=a.getBoundingClientRect().height;a.style.height=b,aj(c),z(a=>a.find(a=>a.toastId===w.id)?a.map(a=>a.toastId===w.id?{...a,height:c}:a):[{toastId:w.id,height:c,position:w.position},...a])},[Y,w.title,w.description,z,w.id,w.jsx,w.action,w.cancel]);let aG=d.useCallback(()=>{_(!0),ah(ax.current),z(a=>a.filter(a=>a.toastId!==w.id)),setTimeout(()=>{F(w)},200)},[w,F,z,ax]);d.useEffect(()=>{let a;if((!w.promise||"loading"!==ap)&&w.duration!==1/0&&"loading"!==w.type)return E||y||aD?(()=>{if(ay.current{null==w.onAutoClose||w.onAutoClose.call(w,w),aG()},ak.current)),()=>clearTimeout(a)},[E,y,w,ap,aD,aG]),d.useEffect(()=>{w.delete&&(aG(),null==w.onDismiss||w.onDismiss.call(w,w))},[aG,w.delete]);let aH=w.icon||(null==S?void 0:S[ap])||(a=>{switch(a){case"success":return h;case"info":return j;case"warning":return i;case"error":return k;default:return null}})(ap);return d.createElement("li",{tabIndex:0,ref:am,className:s(L,ar,null==R?void 0:R.toast,null==w||null==(b=w.classNames)?void 0:b.toast,null==R?void 0:R.default,null==R?void 0:R[ap],null==w||null==(c=w.classNames)?void 0:c[ap]),"data-sonner-toast":"","data-rich-colors":null!=(t=w.richColors)?t:G,"data-styled":!(w.jsx||w.unstyled||x),"data-mounted":Y,"data-promise":!!w.promise,"data-swiped":ae,"data-removed":$,"data-visible":ao,"data-y-position":aA,"data-x-position":aB,"data-index":C,"data-front":an,"data-swiping":aa,"data-dismissible":aq,"data-type":ap,"data-invert":aE,"data-swipe-out":ac,"data-swipe-direction":W,"data-expanded":!!(E||Q&&Y),"data-testid":w.testId,style:{"--index":C,"--toasts-before":C,"--z-index":D.length-C,"--offset":`${$?ag:ax.current}px`,"--initial-height":Q?"auto":`${ai}px`,...I,...w.style},onDragEnd:()=>{ab(!1),V(null),az.current=null},onPointerDown:a=>{2!==a.button&&!aF&&aq&&(al.current=new Date,ah(ax.current),a.target.setPointerCapture(a.pointerId),"BUTTON"!==a.target.tagName&&(ab(!0),az.current={x:a.clientX,y:a.clientY}))},onPointerUp:()=>{var a,b,c,d,e;if(ac||!aq)return;az.current=null;let f=Number((null==(a=am.current)?void 0:a.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),g=Number((null==(b=am.current)?void 0:b.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),h=new Date().getTime()-(null==(c=al.current)?void 0:c.getTime()),i="x"===U?f:g,j=Math.abs(i)/h;if(Math.abs(i)>=45||j>.11){ah(ax.current),null==w.onDismiss||w.onDismiss.call(w,w),"x"===U?X(f>0?"right":"left"):X(g>0?"down":"up"),aG(),ad(!0);return}null==(d=am.current)||d.style.setProperty("--swipe-amount-x","0px"),null==(e=am.current)||e.style.setProperty("--swipe-amount-y","0px"),af(!1),ab(!1),V(null)},onPointerMove:b=>{var c,d,e,f;if(!az.current||!aq||(null==(c=window.getSelection())?void 0:c.toString().length)>0)return;let g=b.clientY-az.current.y,h=b.clientX-az.current.x,i=null!=(f=a.swipeDirections)?f:function(a){let[b,c]=a.split("-"),d=[];return b&&d.push(b),c&&d.push(c),d}(O);!U&&(Math.abs(h)>1||Math.abs(g)>1)&&V(Math.abs(h)>Math.abs(g)?"x":"y");let j={x:0,y:0},k=a=>1/(1.5+Math.abs(a)/20);if("y"===U){if(i.includes("top")||i.includes("bottom"))if(i.includes("top")&&g<0||i.includes("bottom")&&g>0)j.y=g;else{let a=g*k(g);j.y=Math.abs(a)0)j.x=h;else{let a=h*k(h);j.x=Math.abs(a)0||Math.abs(j.y)>0)&&af(!0),null==(d=am.current)||d.style.setProperty("--swipe-amount-x",`${j.x}px`),null==(e=am.current)||e.style.setProperty("--swipe-amount-y",`${j.y}px`)}},au&&!w.jsx&&"loading"!==ap?d.createElement("button",{"aria-label":T,"data-disabled":aF,"data-close-button":!0,onClick:aF||!aq?()=>{}:()=>{aG(),null==w.onDismiss||w.onDismiss.call(w,w)},className:s(null==R?void 0:R.closeButton,null==w||null==(e=w.classNames)?void 0:e.closeButton)},null!=(u=null==S?void 0:S.close)?u:l):null,(ap||w.icon||w.promise)&&null!==w.icon&&((null==S?void 0:S[ap])!==null||w.icon)?d.createElement("div",{"data-icon":"",className:s(null==R?void 0:R.icon,null==w||null==(f=w.classNames)?void 0:f.icon)},w.promise||"loading"===w.type&&!w.icon?w.icon||function(){var a,b;return(null==S?void 0:S.loading)?d.createElement("div",{className:s(null==R?void 0:R.loader,null==w||null==(b=w.classNames)?void 0:b.loader,"sonner-loader"),"data-visible":"loading"===ap},S.loading):d.createElement(g,{className:s(null==R?void 0:R.loader,null==w||null==(a=w.classNames)?void 0:a.loader),visible:"loading"===ap})}():null,"loading"!==w.type?aH:null):null,d.createElement("div",{"data-content":"",className:s(null==R?void 0:R.content,null==w||null==(m=w.classNames)?void 0:m.content)},d.createElement("div",{"data-title":"",className:s(null==R?void 0:R.title,null==w||null==(n=w.classNames)?void 0:n.title)},w.jsx?w.jsx:"function"==typeof w.title?w.title():w.title),w.description?d.createElement("div",{"data-description":"",className:s(M,as,null==R?void 0:R.description,null==w||null==(o=w.classNames)?void 0:o.description)},"function"==typeof w.description?w.description():w.description):null),d.isValidElement(w.cancel)?w.cancel:w.cancel&&r(w.cancel)?d.createElement("button",{"data-button":!0,"data-cancel":!0,style:w.cancelButtonStyle||J,onClick:a=>{r(w.cancel)&&aq&&(null==w.cancel.onClick||w.cancel.onClick.call(w.cancel,a),aG())},className:s(null==R?void 0:R.cancelButton,null==w||null==(p=w.classNames)?void 0:p.cancelButton)},w.cancel.label):null,d.isValidElement(w.action)?w.action:w.action&&r(w.action)?d.createElement("button",{"data-button":!0,"data-action":!0,style:w.actionButtonStyle||K,onClick:a=>{r(w.action)&&(null==w.action.onClick||w.action.onClick.call(w.action,a),a.defaultPrevented||aG())},className:s(null==R?void 0:R.actionButton,null==w||null==(q=w.classNames)?void 0:q.actionButton)},w.action.label):null)},u=d.forwardRef(function(a,b){let{id:c,invert:f,position:g="bottom-right",hotkey:h=["altKey","KeyT"],expand:i,closeButton:j,className:k,offset:l,mobileOffset:m,theme:n="light",richColors:p,duration:q,style:r,visibleToasts:s=3,toastOptions:u,dir:v="ltr",gap:w=14,icons:x,containerAriaLabel:y="Notifications"}=a,[z,A]=d.useState([]),B=d.useMemo(()=>c?z.filter(a=>a.toasterId===c):z.filter(a=>!a.toasterId),[z,c]),C=d.useMemo(()=>Array.from(new Set([g].concat(B.filter(a=>a.position).map(a=>a.position)))),[B,g]),[D,E]=d.useState([]),[F,G]=d.useState(!1),[H,I]=d.useState(!1),[J,K]=d.useState("system"!==n?n:"light"),L=d.useRef(null),M=h.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=d.useRef(null),O=d.useRef(!1),P=d.useCallback(a=>{A(b=>{var c;return(null==(c=b.find(b=>b.id===a.id))?void 0:c.delete)||o.dismiss(a.id),b.filter(({id:b})=>b!==a.id)})},[]);return d.useEffect(()=>o.subscribe(a=>{if(a.dismiss)return void requestAnimationFrame(()=>{A(b=>b.map(b=>b.id===a.id?{...b,delete:!0}:b))});setTimeout(()=>{e.flushSync(()=>{A(b=>{let c=b.findIndex(b=>b.id===a.id);return -1!==c?[...b.slice(0,c),{...b[c],...a},...b.slice(c+1)]:[a,...b]})})})}),[z]),d.useEffect(()=>{if("system"!==n)return void K(n);"system"===n&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?K("dark"):K("light"))},[n]),d.useEffect(()=>{z.length<=1&&G(!1)},[z]),d.useEffect(()=>{let a=a=>{var b,c;h.every(b=>a[b]||a.code===b)&&(G(!0),null==(c=L.current)||c.focus()),"Escape"===a.code&&(document.activeElement===L.current||(null==(b=L.current)?void 0:b.contains(document.activeElement)))&&G(!1)};return document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)},[h]),d.useEffect(()=>{if(L.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,O.current=!1)}},[L.current]),d.createElement("section",{ref:b,"aria-label":`${y} ${M}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},C.map((b,c)=>{var e;let[g,h]=b.split("-");return B.length?d.createElement("ol",{key:b,dir:"auto"===v?"ltr":v,tabIndex:-1,ref:L,className:k,"data-sonner-toaster":!0,"data-sonner-theme":J,"data-y-position":g,"data-x-position":h,style:{"--front-toast-height":`${(null==(e=D[0])?void 0:e.height)||0}px`,"--width":"356px","--gap":`${w}px`,...r,...function(a,b){let c={};return[a,b].forEach((a,b)=>{let d=1===b,e=d?"--mobile-offset":"--offset",f=d?"16px":"24px";function g(a){["top","right","bottom","left"].forEach(b=>{c[`${e}-${b}`]="number"==typeof a?`${a}px`:a})}"number"==typeof a||"string"==typeof a?g(a):"object"==typeof a?["top","right","bottom","left"].forEach(b=>{void 0===a[b]?c[`${e}-${b}`]=f:c[`${e}-${b}`]="number"==typeof a[b]?`${a[b]}px`:a[b]}):g(f)}),c}(l,m)},onBlur:a=>{O.current&&!a.currentTarget.contains(a.relatedTarget)&&(O.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:a=>{!(a.target instanceof HTMLElement&&"false"===a.target.dataset.dismissible)&&(O.current||(O.current=!0,N.current=a.relatedTarget))},onMouseEnter:()=>G(!0),onMouseMove:()=>G(!0),onMouseLeave:()=>{H||G(!1)},onDragEnd:()=>G(!1),onPointerDown:a=>{a.target instanceof HTMLElement&&"false"===a.target.dataset.dismissible||I(!0)},onPointerUp:()=>I(!1)},B.filter(a=>!a.position&&0===c||a.position===b).map((c,e)=>{var g,h;return d.createElement(t,{key:c.id,icons:x,index:e,toast:c,defaultRichColors:p,duration:null!=(g=null==u?void 0:u.duration)?g:q,className:null==u?void 0:u.className,descriptionClassName:null==u?void 0:u.descriptionClassName,invert:f,visibleToasts:s,closeButton:null!=(h=null==u?void 0:u.closeButton)?h:j,interacting:H,position:b,style:null==u?void 0:u.style,unstyled:null==u?void 0:u.unstyled,classNames:null==u?void 0:u.classNames,cancelButtonStyle:null==u?void 0:u.cancelButtonStyle,actionButtonStyle:null==u?void 0:u.actionButtonStyle,closeButtonAriaLabel:null==u?void 0:u.closeButtonAriaLabel,removeToast:P,toasts:B.filter(a=>a.position==c.position),heights:D.filter(a=>a.position==c.position),setHeights:E,expandByDefault:i,gap:w,expanded:F,swipeDirections:a.swipeDirections})})):null}))})},43678:(a,b,c)=>{"use strict";function d(a,b){if(void 0===b&&(b={}),b.onlyHashChange)return void a();let c=document.documentElement;c.dataset.scrollBehavior;let d=c.style.scrollBehavior;c.style.scrollBehavior="auto",b.dontForceLayout||c.getClientRects(),a(),c.style.scrollBehavior=d}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return d}}),c(21507)},43740:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isPostpone",{enumerable:!0,get:function(){return d}});let c=Symbol.for("react.postpone");function d(a){return"object"==typeof a&&null!==a&&a.$$typeof===c}},44368:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return f}});let d=c(75338),e=c(22857);function f(a){let{status:b,message:c}=a;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("title",{children:b+": "+c}),(0,d.jsx)("div",{style:e.styles.error,children:(0,d.jsxs)("div",{children:[(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,d.jsx)("h1",{className:"next-error-h1",style:e.styles.h1,children:b}),(0,d.jsx)("div",{style:e.styles.desc,children:(0,d.jsx)("h2",{style:e.styles.h2,children:c})})]})})]})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},45229:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isHtmlBotRequest:function(){return f},shouldServeStreamingMetadata:function(){return e}});let d=c(51397);function e(a,b){let c=RegExp(b||d.HTML_LIMITED_BOT_UA_RE_STRING,"i");return!(a&&c.test(a))}function f(a){let b=a.headers["user-agent"]||"";return"html"===(0,d.getBotType)(b)}},45523:(a,b,c)=>{"use strict";c.d(b,{D:()=>j,N:()=>k});var d=c(38301),e=(a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}},f=["light","dark"],g="(prefers-color-scheme: dark)",h=d.createContext(void 0),i={setTheme:a=>{},themes:[]},j=()=>{var a;return null!=(a=d.useContext(h))?a:i},k=a=>d.useContext(h)?d.createElement(d.Fragment,null,a.children):d.createElement(m,{...a}),l=["light","dark"],m=({forcedTheme:a,disableTransitionOnChange:b=!1,enableSystem:c=!0,enableColorScheme:e=!0,storageKey:i="theme",themes:j=l,defaultTheme:k=c?"system":"light",attribute:m="data-theme",value:r,children:s,nonce:t,scriptProps:u})=>{let[v,w]=d.useState(()=>o(i,k)),[x,y]=d.useState(()=>"system"===v?q():v),z=r?Object.values(r):j,A=d.useCallback(a=>{let d=a;if(!d)return;"system"===a&&c&&(d=q());let g=r?r[d]:d,h=b?p(t):null,i=document.documentElement,j=a=>{"class"===a?(i.classList.remove(...z),g&&i.classList.add(g)):a.startsWith("data-")&&(g?i.setAttribute(a,g):i.removeAttribute(a))};if(Array.isArray(m)?m.forEach(j):j(m),e){let a=f.includes(k)?k:null,b=f.includes(d)?d:a;i.style.colorScheme=b}null==h||h()},[t]),B=d.useCallback(a=>{let b="function"==typeof a?a(v):a;w(b);try{localStorage.setItem(i,b)}catch(a){}},[v]),C=d.useCallback(b=>{y(q(b)),"system"===v&&c&&!a&&A("system")},[v,a]);d.useEffect(()=>{let a=window.matchMedia(g);return a.addListener(C),C(a),()=>a.removeListener(C)},[C]),d.useEffect(()=>{let a=a=>{a.key===i&&(a.newValue?w(a.newValue):B(k))};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[B]),d.useEffect(()=>{A(null!=a?a:v)},[a,v]);let D=d.useMemo(()=>({theme:v,setTheme:B,forcedTheme:a,resolvedTheme:"system"===v?x:v,themes:c?[...j,"system"]:j,systemTheme:c?x:void 0}),[v,B,a,x,c,j]);return d.createElement(h.Provider,{value:D},d.createElement(n,{forcedTheme:a,storageKey:i,attribute:m,enableSystem:c,enableColorScheme:e,defaultTheme:k,value:r,themes:j,nonce:t,scriptProps:u}),s)},n=d.memo(({forcedTheme:a,storageKey:b,attribute:c,enableSystem:f,enableColorScheme:g,defaultTheme:h,value:i,themes:j,nonce:k,scriptProps:l})=>{let m=JSON.stringify([c,b,h,a,j,i,f,g]).slice(1,-1);return d.createElement("script",{...l,suppressHydrationWarning:!0,nonce:k,dangerouslySetInnerHTML:{__html:`(${e.toString()})(${m})`}})}),o=(a,b)=>{},p=a=>{let b=document.createElement("style");return a&&b.setAttribute("nonce",a),b.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(b),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(b)},1)}},q=a=>(a||(a=window.matchMedia(g)),a.matches?"dark":"light")},45742:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{sendEtagResponse:function(){return i},sendRenderResult:function(){return j}});let d=c(40980),e=c(42794),f=function(a){return a&&a.__esModule?a:{default:a}}(c(38508)),g=c(41681),h=c(63446);function i(a,b,c){return c&&b.setHeader("ETag",c),!!(0,f.default)(a.headers,{etag:c})&&(b.statusCode=304,b.end(),!0)}async function j({req:a,res:b,result:c,generateEtags:f,poweredByHeader:j,cacheControl:k}){if((0,d.isResSent)(b))return;j&&c.contentType===h.HTML_CONTENT_TYPE_HEADER&&b.setHeader("X-Powered-By","Next.js"),k&&!b.getHeader("Cache-Control")&&b.setHeader("Cache-Control",(0,g.getCacheControlHeader)(k));let l=c.isDynamic?null:c.toUnchunkedString();if(!(f&&null!==l&&i(a,b,(0,e.generateETag)(l))))return(!b.getHeader("Content-Type")&&c.contentType&&b.setHeader("Content-Type",c.contentType),l&&b.setHeader("Content-Length",Buffer.byteLength(l)),"HEAD"===a.method)?void b.end(null):null!==l?void b.end(l):void await c.pipeToNodeResponse(b)}},46247:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isNextRouterError",{enumerable:!0,get:function(){return f}});let d=c(69203),e=c(47847);function f(a){return(0,e.isRedirectError)(a)||(0,d.isHTTPAccessFallbackError)(a)}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},47847:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{REDIRECT_ERROR_CODE:function(){return e},RedirectType:function(){return f},isRedirectError:function(){return g}});let d=c(40413),e="NEXT_REDIRECT";var f=function(a){return a.push="push",a.replace="replace",a}({});function g(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,f]=b,g=b.slice(2,-2).join(";"),h=Number(b.at(-2));return c===e&&("replace"===f||"push"===f)&&"string"==typeof g&&!isNaN(h)&&h in d.RedirectStatusCode}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},47901:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createServerPathnameForMetadata",{enumerable:!0,get:function(){return h}});let d=c(26906),e=c(63033),f=c(82831),g=c(49290);function h(a,b){let c=e.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":var h=a,j=b,k=c;switch(k.type){case"prerender-client":throw Object.defineProperty(new g.InvariantError("createPrerenderPathname was called inside a client component scope."),"__NEXT_ERROR_CODE",{value:"E694",enumerable:!1,configurable:!0});case"prerender":{let a=k.fallbackRouteParams;if(a&&a.size>0)return(0,f.makeHangingPromise)(k.renderSignal,j.route,"`pathname`");break}case"prerender-ppr":{let a=k.fallbackRouteParams;if(a&&a.size>0)return function(a,b){let c=null,e=new Promise((a,b)=>{c=b}),f=e.then.bind(e);return e.then=(e,g)=>{if(c)try{(0,d.postponeWithTracking)(a.route,"metadata relative url resolving",b)}catch(a){c(a),c=null}return f(e,g)},new Proxy(e,{})}(j,k.dynamicTracking)}}return Promise.resolve(h);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createServerPathnameForMetadata should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E740",enumerable:!1,configurable:!0});case"prerender-runtime":return(0,d.delayUntilRuntimeStage)(c,i(a));case"request":return i(a)}(0,e.throwInvariantForMissingStore)()}function i(a){return Promise.resolve(a)}},47939:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{RedirectBoundary:function(){return l},RedirectErrorBoundary:function(){return k}});let d=c(55823),e=c(21124),f=d._(c(38301)),g=c(91330),h=c(69296),i=c(47847);function j(a){let{redirect:b,reset:c,redirectType:d}=a,e=(0,g.useRouter)();return(0,f.useEffect)(()=>{f.default.startTransition(()=>{d===i.RedirectType.push?e.push(b,{}):e.replace(b,{}),c()})},[b,d,c,e]),null}class k extends f.default.Component{static getDerivedStateFromError(a){if((0,i.isRedirectError)(a))return{redirect:(0,h.getURLFromRedirectError)(a),redirectType:(0,h.getRedirectTypeFromError)(a)};throw a}render(){let{redirect:a,redirectType:b}=this.state;return null!==a&&null!==b?(0,e.jsx)(j,{redirect:a,redirectType:b,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(a){super(a),this.state={redirect:null,redirectType:null}}}function l(a){let{children:b}=a,c=(0,g.useRouter)();return(0,e.jsx)(k,{router:c,children:b})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},48122:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DynamicServerError:function(){return d},isDynamicServerError:function(){return e}});let c="DYNAMIC_SERVER_USAGE";class d extends Error{constructor(a){super("Dynamic server usage: "+a),this.description=a,this.digest=c}}function e(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===c}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},48550:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ReflectAdapter",{enumerable:!0,get:function(){return c}});class c{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}},48723:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{normalizeAppPath:function(){return f},normalizeRscURL:function(){return g}});let d=c(51506),e=c(96896);function f(a){return(0,d.ensureLeadingSlash)(a.split("/").reduce((a,b,c,d)=>!b||(0,e.isGroupSegment)(b)||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:a+"/"+b,""))}function g(a){return a.replace(/\.rsc($|\?)/,"$1")}},49606:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isRequestAPICallableInsideAfter:function(){return i},throwForSearchParamsAccessInUseCache:function(){return h},throwWithStaticGenerationBailoutError:function(){return f},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return g}});let d=c(52448),e=c(3295);function f(a,b){throw Object.defineProperty(new d.StaticGenBailoutError(`Route ${a} couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E576",enumerable:!1,configurable:!0})}function g(a,b){throw Object.defineProperty(new d.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function h(a,b){let c=Object.defineProperty(Error(`Route ${a.route} used "searchParams" inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await "searchParams" outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E779",enumerable:!1,configurable:!0});throw Error.captureStackTrace(c,b),a.invalidDynamicUsageError??=c,c}function i(){let a=e.afterTaskAsyncStorage.getStore();return(null==a?void 0:a.rootTaskSpawnPhase)==="action"}},49880:(a,b)=>{"use strict";function c(){return{width:"device-width",initialScale:1,themeColor:null,colorScheme:null}}function d(){return{viewport:null,themeColor:null,colorScheme:null,metadataBase:null,title:null,description:null,applicationName:null,authors:null,generator:null,keywords:null,referrer:null,creator:null,publisher:null,robots:null,manifest:null,alternates:{canonical:null,languages:null,media:null,types:null},icons:null,openGraph:null,twitter:null,verification:{},appleWebApp:null,formatDetection:null,itunes:null,facebook:null,pinterest:null,abstract:null,appLinks:null,archives:null,assets:null,bookmarks:null,category:null,classification:null,pagination:{previous:null,next:null},other:{}}}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createDefaultMetadata:function(){return d},createDefaultViewport:function(){return c}})},50565:(a,b)=>{"use strict";function c(a,b,c,d,f){let g=a[b];if(f&&f.has(b)?g=f.get(b):Array.isArray(g)?g=g.map(a=>encodeURIComponent(a)):"string"==typeof g&&(g=encodeURIComponent(g)),!g){let f="oc"===c;if("c"===c||f)return f?{param:b,value:null,type:c,treeSegment:[b,"",c]}:{param:b,value:g=d.split("/").slice(1).flatMap(b=>{var c;let d=e(b);return null!=(c=a[d.key])?c:d.key}),type:c,treeSegment:[b,g.join("/"),c]}}return{param:b,value:g,treeSegment:[b,Array.isArray(g)?g.join("/"):g,c],type:c}}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{PARAMETER_PATTERN:function(){return d},getDynamicParam:function(){return c},parseMatchedParameter:function(){return f},parseParameter:function(){return e}});let d=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function e(a){let b=a.match(d);return b?f(b[2]):f(a)}function f(a){let b=a.startsWith("[")&&a.endsWith("]");b&&(a=a.slice(1,-1));let c=a.startsWith("...");return c&&(a=a.slice(3)),{key:a,repeat:c,optional:b}}},50696:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"useUntrackedPathname",{enumerable:!0,get:function(){return f}});let d=c(38301),e=c(38398);function f(){return!function(){{let{workUnitAsyncStorage:a}=c(63033),b=a.getStore();if(!b)return!1;switch(b.type){case"prerender":case"prerender-client":case"prerender-ppr":let d=b.fallbackRouteParams;return!!d&&d.size>0}return!1}}()?(0,d.useContext)(e.PathnameContext):null}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},51299:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{preconnect:function(){return g},preloadFont:function(){return f},preloadStyle:function(){return e}});let d=function(a){return a&&a.__esModule?a:{default:a}}(c(22682));function e(a,b,c){let e={as:"style"};"string"==typeof b&&(e.crossOrigin=b),"string"==typeof c&&(e.nonce=c),d.default.preload(a,e)}function f(a,b,c,e){let f={as:"font",type:b};"string"==typeof c&&(f.crossOrigin=c),"string"==typeof e&&(f.nonce=e),d.default.preload(a,f)}function g(a,b,c){let e={};"string"==typeof b&&(e.crossOrigin=b),"string"==typeof c&&(e.nonce=c),d.default.preconnect(a,e)}},51384:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/metadata/generate/icon-mark.js")},51397:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{HTML_LIMITED_BOT_UA_RE:function(){return d.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return f},getBotType:function(){return i},isBot:function(){return h}});let d=c(30719),e=/Googlebot(?!-)|Googlebot$/i,f=d.HTML_LIMITED_BOT_UA_RE.source;function g(a){return d.HTML_LIMITED_BOT_UA_RE.test(a)}function h(a){return e.test(a)||g(a)}function i(a){return e.test(a)?"dom":g(a)?"html":void 0}},51506:(a,b)=>{"use strict";function c(a){return a.startsWith("/")?a:"/"+a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ensureLeadingSlash",{enumerable:!0,get:function(){return c}})},52448:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{StaticGenBailoutError:function(){return d},isStaticGenBailoutError:function(){return e}});let c="NEXT_STATIC_GEN_BAILOUT";class d extends Error{constructor(...a){super(...a),this.code=c}}function e(a){return"object"==typeof a&&null!==a&&"code"in a&&a.code===c}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},52474:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ACTION_HEADER:function(){return d},FLIGHT_HEADERS:function(){return l},NEXT_ACTION_NOT_FOUND_HEADER:function(){return s},NEXT_DID_POSTPONE_HEADER:function(){return o},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return i},NEXT_HMR_REFRESH_HEADER:function(){return h},NEXT_IS_PRERENDER_HEADER:function(){return r},NEXT_REWRITTEN_PATH_HEADER:function(){return p},NEXT_REWRITTEN_QUERY_HEADER:function(){return q},NEXT_ROUTER_PREFETCH_HEADER:function(){return f},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return g},NEXT_ROUTER_STALE_TIME_HEADER:function(){return n},NEXT_ROUTER_STATE_TREE_HEADER:function(){return e},NEXT_RSC_UNION_QUERY:function(){return m},NEXT_URL:function(){return j},RSC_CONTENT_TYPE_HEADER:function(){return k},RSC_HEADER:function(){return c}});let c="rsc",d="next-action",e="next-router-state-tree",f="next-router-prefetch",g="next-router-segment-prefetch",h="next-hmr-refresh",i="__next_hmr_refresh_hash__",j="next-url",k="text/x-component",l=[c,e,f,h,g],m="_rsc",n="x-nextjs-stale-time",o="x-nextjs-postponed",p="x-nextjs-rewritten-path",q="x-nextjs-rewritten-query",r="x-nextjs-prerender",s="x-nextjs-action-not-found";("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},53041:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"collectSegmentData",{enumerable:!0,get:function(){return n}});let d=c(75338),e=c(27825),f=c(10603),g=c(47686),h=c(37422),i=c(71791),j=c(72074),k=void 0,l=void 0;function m(a){let b=(0,j.getDigestForWellKnownError)(a);if(b)return b}async function n(a,b,c,i,j){let n=new Map;try{await (0,e.createFromReadableStream)((0,g.streamFromBuffer)(b),{findSourceMapURL:l,serverConsumerManifest:j}),await (0,h.waitAtLeastOneReactRenderTask)()}catch{}let p=new AbortController,q=async()=>{await (0,h.waitAtLeastOneReactRenderTask)(),p.abort()},r=[],{prelude:s}=await (0,f.unstable_prerender)((0,d.jsx)(o,{isClientParamParsingEnabled:a,fullPageDataBuffer:b,serverConsumerManifest:j,clientModules:i,staleTime:c,segmentTasks:r,onCompletedProcessingRouteTree:q}),i,{filterStackFrame:k,signal:p.signal,onError:m}),t=await (0,g.streamToBuffer)(s);for(let[a,b]of(n.set("/_tree",t),await Promise.all(r)))n.set(a,b);return n}async function o({isClientParamParsingEnabled:a,fullPageDataBuffer:b,serverConsumerManifest:c,clientModules:d,staleTime:f,segmentTasks:j,onCompletedProcessingRouteTree:k}){let m=await (0,e.createFromReadableStream)(function(a){let b=a.getReader();return new ReadableStream({async pull(a){for(;;){let{done:c,value:d}=await b.read();if(!c){a.enqueue(d);continue}return}}})}((0,g.streamFromBuffer)(b)),{findSourceMapURL:l,serverConsumerManifest:c}),n=m.b,o=m.f;if(1!==o.length&&3!==o[0].length)return console.error("Internal Next.js error: InitialRSCPayload does not match the expected shape for a prerendered page during segment prefetch generation."),null;let r=o[0][0],s=o[0][1],t=o[0][2],u=function a(b,c,d,e,f,g,j){let k,l=null,m=c[1],n=null!==e?e[2]:null;for(let c in m){let e=m[c],h=e[0],k=a(b,e,d,null!==n?n[c]:null,f,(0,i.appendSegmentRequestKeyPart)(g,c,(0,i.createSegmentRequestKeyPart)(h)),j);null===l&&(l={}),l[c]=k}null!==e&&j.push((0,h.waitAtLeastOneReactRenderTask)().then(()=>p(d,e,g,f)));let o=c[0],q=null,r=null;return"string"==typeof o?(k=o,r=o,q=null):(k=o[0],r=o[1],q=o[2]),{name:k,paramType:q,paramKey:b?null:r,slots:l,isRootLayout:!0===c[4]}}(a,r,n,s,d,i.ROOT_SEGMENT_REQUEST_KEY,j),v=await q(t,d);return k(),{buildId:n,tree:u,head:t,isHeadPartial:v,staleTime:f}}async function p(a,b,c,d){let e=b[1],j={buildId:a,rsc:e,loading:b[3],isPartial:await q(e,d)},l=new AbortController;(0,h.waitAtLeastOneReactRenderTask)().then(()=>l.abort());let{prelude:n}=await (0,f.unstable_prerender)(j,d,{filterStackFrame:k,signal:l.signal,onError:m}),o=await (0,g.streamToBuffer)(n);return c===i.ROOT_SEGMENT_REQUEST_KEY?["/_index",o]:[c,o]}async function q(a,b){let c=!1,d=new AbortController;return(0,h.waitAtLeastOneReactRenderTask)().then(()=>{c=!0,d.abort()}),await (0,f.unstable_prerender)(a,b,{filterStackFrame:k,signal:d.signal,onError(){},onPostpone(){c=!0}}),c}},54160:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return g}});let d=c(21124),e=c(2418),f={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}},g=function(a){let{error:b}=a,c=null==b?void 0:b.digest;return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsx)("head",{}),(0,d.jsxs)("body",{children:[(0,d.jsx)(e.HandleISRError,{error:b}),(0,d.jsx)("div",{style:f.error,children:(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{style:f.text,children:["Application error: a ",c?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",c?"server logs":"browser console"," for more information)."]}),c?(0,d.jsx)("p",{style:f.text,children:"Digest: "+c}):null]})})]})]})};("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},55009:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{hasAdjacentParameterIssues:function(){return d},normalizeAdjacentParameters:function(){return e},normalizeTokensForRegexp:function(){return f},stripParameterSeparators:function(){return g}});let c="_NEXTSEP_";function d(a){return"string"==typeof a&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(a)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(a))}function e(a){let b=a;return(b=b.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${c}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${c}`)}function f(a){return a.map(a=>"object"==typeof a&&null!==a&&"modifier"in a&&("*"===a.modifier||"+"===a.modifier)&&"prefix"in a&&"suffix"in a&&""===a.prefix&&""===a.suffix?{...a,prefix:"/"}:a)}function g(a){let b={};for(let[d,e]of Object.entries(a))"string"==typeof e?b[d]=e.replace(RegExp(`^${c}`),""):Array.isArray(e)?b[d]=e.map(a=>"string"==typeof a?a.replace(RegExp(`^${c}`),""):a):b[d]=e;return b}},55823:(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}function e(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}c.r(b),c.d(b,{_:()=>e})},56796:(a,b,c)=>{"use strict";a.exports=c(10846)},57508:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createMetadataComponents",{enumerable:!0,get:function(){return s}});let d=c(75338),e=function(a,b){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=r(b);if(c&&c.has(a))return c.get(a);var d={__proto__:null},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if("default"!==f&&Object.prototype.hasOwnProperty.call(a,f)){var g=e?Object.getOwnPropertyDescriptor(a,f):null;g&&(g.get||g.set)?Object.defineProperty(d,f,g):d[f]=a[f]}return d.default=a,c&&c.set(a,d),d}(c(74515)),f=c(38791),g=c(75795),h=c(23873),i=c(39539),j=c(62435),k=c(1280),l=c(98541),m=c(3384),n=c(7184),o=c(43740),p=c(91128),q=c(47901);function r(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(r=function(a){return a?c:b})(a)}function s({tree:a,pathname:b,parsedQuery:c,metadataContext:f,getDynamicParamFromSegment:g,appUsingSizeAdjustment:h,errorType:i,workStore:j,MetadataBoundary:k,ViewportBoundary:r,serveStreamingMetadata:s}){let u=(0,p.createServerSearchParamsForMetadata)(c,j),w=(0,q.createServerPathnameForMetadata)(b,j);function y(){return x(a,u,g,j,i)}async function A(){try{return await y()}catch(b){if(!i&&(0,l.isHTTPAccessFallbackError)(b))try{return await z(a,u,g,j)}catch{}return null}}function B(){return t(a,w,u,g,f,j,i)}async function C(){let b,c=null;try{return{metadata:b=await B(),error:null,digest:void 0}}catch(d){if(c=d,!i&&(0,l.isHTTPAccessFallbackError)(d))try{return{metadata:b=await v(a,w,u,g,f,j),error:c,digest:null==c?void 0:c.digest}}catch(a){if(c=a,s&&(0,o.isPostpone)(a))throw a}if(s&&(0,o.isPostpone)(d))throw d;return{metadata:b,error:c,digest:null==c?void 0:c.digest}}}function D(){return s?(0,d.jsx)("div",{hidden:!0,children:(0,d.jsx)(e.Suspense,{fallback:null,children:(0,d.jsx)(E,{})})}):(0,d.jsx)(E,{})}async function E(){return(await C()).metadata}async function F(){s||await B()}async function G(){await y()}return A.displayName=m.VIEWPORT_BOUNDARY_NAME,D.displayName=m.METADATA_BOUNDARY_NAME,{ViewportTree:function(){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(r,{children:(0,d.jsx)(A,{})}),h?(0,d.jsx)("meta",{name:"next-size-adjust",content:""}):null]})},MetadataTree:function(){return(0,d.jsx)(k,{children:(0,d.jsx)(D,{})})},getViewportReady:G,getMetadataReady:F,StreamingMetadataOutlet:s?function(){return(0,d.jsx)(n.AsyncMetadataOutlet,{promise:C()})}:null}}let t=(0,e.cache)(u);async function u(a,b,c,d,e,f,g){return B(a,b,c,d,e,f,"redirect"===g?void 0:g)}let v=(0,e.cache)(w);async function w(a,b,c,d,e,f){return B(a,b,c,d,e,f,"not-found")}let x=(0,e.cache)(y);async function y(a,b,c,d,e){return C(a,b,c,d,"redirect"===e?void 0:e)}let z=(0,e.cache)(A);async function A(a,b,c,d){return C(a,b,c,d,"not-found")}async function B(a,b,c,l,m,n,o){var p;let q=(p=await (0,j.resolveMetadata)(a,b,c,o,l,n,m),(0,k.MetaFilter)([(0,f.BasicMeta)({metadata:p}),(0,g.AlternatesMetadata)({alternates:p.alternates}),(0,f.ItunesMeta)({itunes:p.itunes}),(0,f.FacebookMeta)({facebook:p.facebook}),(0,f.PinterestMeta)({pinterest:p.pinterest}),(0,f.FormatDetectionMeta)({formatDetection:p.formatDetection}),(0,f.VerificationMeta)({verification:p.verification}),(0,f.AppleWebAppMeta)({appleWebApp:p.appleWebApp}),(0,h.OpenGraphMetadata)({openGraph:p.openGraph}),(0,h.TwitterMetadata)({twitter:p.twitter}),(0,h.AppLinksMeta)({appLinks:p.appLinks}),(0,i.IconsMetadata)({icons:p.icons})]));return(0,d.jsx)(d.Fragment,{children:q.map((a,b)=>(0,e.cloneElement)(a,{key:b}))})}async function C(a,b,c,g,h){var i;let l=(i=await (0,j.resolveViewport)(a,b,h,c,g),(0,k.MetaFilter)([(0,f.ViewportMeta)({viewport:i})]));return(0,d.jsx)(d.Fragment,{children:l.map((a,b)=>(0,e.cloneElement)(a,{key:b}))})}},58997:(a,b,c)=>{"use strict";function d(a){return!1}function e(){}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{handleHardNavError:function(){return d},useNavFailureHandler:function(){return e}}),c(38301),c(11830),("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},60096:(a,b)=>{"use strict";function c(a){return Array.isArray(a)?a:[a]}function d(a){if(null!=a)return c(a)}function e(a){let b;if("string"==typeof a)try{b=(a=new URL(a)).origin}catch{}return b}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getOrigin:function(){return e},resolveArray:function(){return c},resolveAsArrayOrUndefined:function(){return d}})},60535:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createFetch:function(){return q},createFromNextReadableStream:function(){return r},fetchServerResponse:function(){return p}});let d=c(63188),e=c(14172),f=c(76779),g=c(6927),h=c(12591),i=c(21600),j=c(94881),k=c(91264),l=c(17963),m=d.createFromReadableStream;function n(a){return{flightData:(0,l.urlToUrlWithoutFlightMarker)(new URL(a,location.origin)).toString(),canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1}}let o=new AbortController;async function p(a,b){let{flightRouterState:c,nextUrl:d,prefetchKind:f}=b,g={[e.RSC_HEADER]:"1",[e.NEXT_ROUTER_STATE_TREE_HEADER]:(0,i.prepareFlightRouterStateForRequest)(c,b.isHmrRefresh)};f===h.PrefetchKind.AUTO&&(g[e.NEXT_ROUTER_PREFETCH_HEADER]="1"),d&&(g[e.NEXT_URL]=d);try{var k;let b=f?f===h.PrefetchKind.TEMPORARY?"high":"low":"auto",c=await q(a,g,b,o.signal),d=(0,l.urlToUrlWithoutFlightMarker)(new URL(c.url)),m=c.redirected?d:void 0,p=c.headers.get("content-type")||"",s=!!(null==(k=c.headers.get("vary"))?void 0:k.includes(e.NEXT_URL)),t=!!c.headers.get(e.NEXT_DID_POSTPONE_HEADER),u=c.headers.get(e.NEXT_ROUTER_STALE_TIME_HEADER),v=null!==u?1e3*parseInt(u,10):-1;if(!p.startsWith(e.RSC_CONTENT_TYPE_HEADER)||!c.ok||!c.body)return a.hash&&(d.hash=a.hash),n(d.toString());let w=t?function(a){let b=a.getReader();return new ReadableStream({async pull(a){for(;;){let{done:c,value:d}=await b.read();if(!c){a.enqueue(d);continue}return}}})}(c.body):c.body,x=await r(w);if((0,j.getAppBuildId)()!==x.b)return n(c.url);return{flightData:(0,i.normalizeFlightData)(x.f),canonicalUrl:m,couldBeIntercepted:s,prerendered:x.S,postponed:t,staleTime:v}}catch(b){return o.signal.aborted||console.error("Failed to fetch RSC payload for "+a+". Falling back to browser navigation.",b),{flightData:a.toString(),canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1}}}async function q(a,b,c,d){let f=new URL(a);(0,k.setCacheBustingSearchParam)(f,b);let g=await fetch(f,{credentials:"same-origin",headers:b,priority:c||void 0,signal:d}),h=g.redirected,i=new URL(g.url,f);return i.searchParams.delete(e.NEXT_RSC_UNION_QUERY),{url:i.href,redirected:h,ok:g.ok,headers:g.headers,body:g.body,status:g.status}}function r(a){return m(a,{callServer:f.callServer,findSourceMapURL:g.findSourceMapURL})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},61166:(a,b)=>{"use strict";function c(a){return a.default||a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"interopDefault",{enumerable:!0,get:function(){return c}})},61938:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isFullStringUrl:function(){return f},parseReqUrl:function(){return h},parseUrl:function(){return g},stripNextRscUnionQuery:function(){return i}});let d=c(52474),e="http://n";function f(a){return/https?:\/\//.test(a)}function g(a){let b;try{b=new URL(a,e)}catch{}return b}function h(a){let b=g(a);if(!b)return;let c={};for(let a of b.searchParams.keys()){let d=b.searchParams.getAll(a);c[a]=d.length>1?d:d[0]}return{query:c,hash:b.hash,search:b.search,path:b.pathname,pathname:b.pathname,href:`${b.pathname}${b.search}${b.hash}`,host:"",hostname:"",auth:"",protocol:"",slashes:null,port:""}}function i(a){let b=new URL(a,e);return b.searchParams.delete(d.NEXT_RSC_UNION_QUERY),b.pathname+b.search}},61981:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isNextRouterError",{enumerable:!0,get:function(){return f}});let d=c(98541),e=c(92781);function f(a){return(0,e.isRedirectError)(a)||(0,d.isHTTPAccessFallbackError)(a)}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},62435:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{accumulateMetadata:function(){return I},accumulateViewport:function(){return J},resolveMetadata:function(){return K},resolveViewport:function(){return L}}),c(77925);let d=c(74515),e=c(49880),f=c(68512),g=c(27782),h=c(60096),i=c(8783),j=c(61166),k=c(96613),l=c(23958),m=c(32324),n=c(38928),o=c(96896),p=function(a,b){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=r(b);if(c&&c.has(a))return c.get(a);var d={__proto__:null},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if("default"!==f&&Object.prototype.hasOwnProperty.call(a,f)){var g=e?Object.getOwnPropertyDescriptor(a,f):null;g&&(g.get||g.set)?Object.defineProperty(d,f,g):d[f]=a[f]}return d.default=a,c&&c.set(a,d),d}(c(310)),q=c(19963);function r(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(r=function(a){return a?c:b})(a)}async function s(a,b,c,d,e,g,h){var i,j;if(!c)return b;let{icon:k,apple:l,openGraph:m,twitter:n,manifest:o}=c;if(k&&(g.icon=k),l&&(g.apple=l),n&&!(null==a||null==(i=a.twitter)?void 0:i.hasOwnProperty("images"))){let a=(0,f.resolveTwitter)({...b.twitter,images:n},b.metadataBase,{...d,isStaticMetadataRouteFile:!0},e.twitter);b.twitter=a}if(m&&!(null==a||null==(j=a.openGraph)?void 0:j.hasOwnProperty("images"))){let a=await (0,f.resolveOpenGraph)({...b.openGraph,images:m},b.metadataBase,h,{...d,isStaticMetadataRouteFile:!0},e.openGraph);b.openGraph=a}return o&&(b.manifest=o),b}async function t(a,b,{source:c,target:d,staticFilesMetadata:e,titleTemplates:i,metadataContext:j,buildState:m,leafSegmentStaticIcons:n}){let o=void 0!==(null==c?void 0:c.metadataBase)?c.metadataBase:d.metadataBase;for(let e in c)switch(e){case"title":d.title=(0,g.resolveTitle)(c.title,i.title);break;case"alternates":d.alternates=await (0,k.resolveAlternates)(c.alternates,o,b,j);break;case"openGraph":d.openGraph=await (0,f.resolveOpenGraph)(c.openGraph,o,b,j,i.openGraph);break;case"twitter":d.twitter=(0,f.resolveTwitter)(c.twitter,o,j,i.twitter);break;case"facebook":d.facebook=(0,k.resolveFacebook)(c.facebook);break;case"verification":d.verification=(0,k.resolveVerification)(c.verification);break;case"icons":d.icons=(0,l.resolveIcons)(c.icons);break;case"appleWebApp":d.appleWebApp=(0,k.resolveAppleWebApp)(c.appleWebApp);break;case"appLinks":d.appLinks=(0,k.resolveAppLinks)(c.appLinks);break;case"robots":d.robots=(0,k.resolveRobots)(c.robots);break;case"archives":case"assets":case"bookmarks":case"keywords":d[e]=(0,h.resolveAsArrayOrUndefined)(c[e]);break;case"authors":d[e]=(0,h.resolveAsArrayOrUndefined)(c.authors);break;case"itunes":d[e]=await (0,k.resolveItunes)(c.itunes,o,b,j);break;case"pagination":d.pagination=await (0,k.resolvePagination)(c.pagination,o,b,j);break;case"abstract":case"applicationName":case"description":case"generator":case"creator":case"publisher":case"category":case"classification":case"referrer":case"formatDetection":case"manifest":case"pinterest":d[e]=c[e]||null;break;case"other":d.other=Object.assign({},d.other,c.other);break;case"metadataBase":d.metadataBase=o;break;case"apple-touch-fullscreen":m.warnings.add(`Use appleWebApp instead +Read more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);break;case"apple-touch-icon-precomposed":m.warnings.add(`Use icons.apple instead +Read more: https://nextjs.org/docs/app/api-reference/functions/generate-metadata`);break;case"themeColor":case"colorScheme":case"viewport":null!=c[e]&&m.warnings.add(`Unsupported metadata ${e} is configured in metadata export in ${a}. Please move it to viewport export instead. +Read more: https://nextjs.org/docs/app/api-reference/functions/generate-viewport`)}return s(c,d,e,j,i,n,b)}function u(a,b,c){if("function"==typeof a.generateViewport){let{route:d}=c;return c=>(0,m.getTracer)().trace(n.ResolveMetadataSpan.generateViewport,{spanName:`generateViewport ${d}`,attributes:{"next.page":d}},()=>a.generateViewport(b,c))}return a.viewport||null}function v(a,b,c){if("function"==typeof a.generateMetadata){let{route:d}=c;return c=>(0,m.getTracer)().trace(n.ResolveMetadataSpan.generateMetadata,{spanName:`generateMetadata ${d}`,attributes:{"next.page":d}},()=>a.generateMetadata(b,c))}return a.metadata||null}async function w(a,b,c){var d;if(!(null==a?void 0:a[c]))return;let e=a[c].map(async a=>(0,j.interopDefault)(await a(b)));return(null==e?void 0:e.length)>0?null==(d=await Promise.all(e))?void 0:d.flat():void 0}async function x(a,b){let{metadata:c}=a;if(!c)return null;let[d,e,f,g]=await Promise.all([w(c,b,"icon"),w(c,b,"apple"),w(c,b,"openGraph"),w(c,b,"twitter")]);return{icon:d,apple:e,openGraph:f,twitter:g,manifest:c.manifest}}async function y({tree:a,metadataItems:b,errorMetadataItem:c,props:d,route:e,errorConvention:f}){let g,h,j=!!(f&&a[2][f]);if(f)g=await (0,i.getComponentTypeModule)(a,"layout"),h=f;else{let{mod:b,modType:c}=await (0,i.getLayoutOrPageModule)(a);g=b,h=c}h&&(e+=`/${h}`);let k=await x(a[2],d),l=g?v(g,d,{route:e}):null;if(b.push([l,k]),j&&f){let b=await (0,i.getComponentTypeModule)(a,f),g=b?v(b,d,{route:e}):null;c[0]=g,c[1]=k}}async function z({tree:a,viewportItems:b,errorViewportItemRef:c,props:d,route:e,errorConvention:f}){let g,h,j=!!(f&&a[2][f]);if(f)g=await (0,i.getComponentTypeModule)(a,"layout"),h=f;else{let{mod:b,modType:c}=await (0,i.getLayoutOrPageModule)(a);g=b,h=c}h&&(e+=`/${h}`);let k=g?u(g,d,{route:e}):null;if(b.push(k),j&&f){let b=await (0,i.getComponentTypeModule)(a,f);c.current=b?u(b,d,{route:e}):null}}let A=(0,d.cache)(async function(a,b,c,d,e){return B([],a,void 0,{},b,c,[null,null],d,e)});async function B(a,b,c,d,e,f,g,h,i){let j,[k,l,{page:m}]=b,n=c&&c.length?[...c,k]:[k],p=h(k),r=d;p&&null!==p.value&&(r={...d,[p.param]:p.value});let s=(0,q.createServerParamsForMetadata)(r,i);for(let c in j=void 0!==m?{params:s,searchParams:e}:{params:s},await y({tree:b,metadataItems:a,errorMetadataItem:g,errorConvention:f,props:j,route:n.filter(a=>a!==o.PAGE_SEGMENT_KEY).join("/")}),l){let b=l[c];await B(a,b,n,r,e,f,g,h,i)}return 0===Object.keys(l).length&&f&&a.push(g),a}let C=(0,d.cache)(async function(a,b,c,d,e){return D([],a,void 0,{},b,c,{current:null},d,e)});async function D(a,b,c,d,e,f,g,h,i){let j,[k,l,{page:m}]=b,n=c&&c.length?[...c,k]:[k],p=h(k),r=d;p&&null!==p.value&&(r={...d,[p.param]:p.value});let s=(0,q.createServerParamsForMetadata)(r,i);for(let c in j=void 0!==m?{params:s,searchParams:e}:{params:s},await z({tree:b,viewportItems:a,errorViewportItemRef:g,errorConvention:f,props:j,route:n.filter(a=>a!==o.PAGE_SEGMENT_KEY).join("/")}),l){let b=l[c];await D(a,b,n,r,e,f,g,h,i)}return 0===Object.keys(l).length&&f&&a.push(g.current),a}let E=a=>!!(null==a?void 0:a.absolute),F=a=>E(null==a?void 0:a.title);function G(a,b){a&&(!F(a)&&F(b)&&(a.title=b.title),!a.description&&b.description&&(a.description=b.description))}function H(a,b){if("function"==typeof b){let c=b(new Promise(b=>a.push(b)));a.push(c),c instanceof Promise&&c.catch(a=>({__nextError:a}))}else"object"==typeof b?a.push(b):a.push(null)}async function I(a,b,c,d){let g,h=(0,e.createDefaultMetadata)(),i={title:null,twitter:null,openGraph:null},j={warnings:new Set},k={icon:[],apple:[]},l=function(a){let b=[];for(let c=0;c0||k.apple.length>0)&&!h.icons&&(h.icons={icon:[],apple:[]},k.icon.length>0&&h.icons.icon.unshift(...k.icon),k.apple.length>0&&h.icons.apple.unshift(...k.apple)),j.warnings.size>0)for(let a of j.warnings)p.warn(a);return function(a,b,c,d){let{openGraph:e,twitter:g}=a;if(e){let b={},h=F(g),i=null==g?void 0:g.description,j=!!((null==g?void 0:g.hasOwnProperty("images"))&&g.images);if(!h&&(E(e.title)?b.title=e.title:a.title&&E(a.title)&&(b.title=a.title)),i||(b.description=e.description||a.description||void 0),j||(b.images=e.images),Object.keys(b).length>0){let e=(0,f.resolveTwitter)(b,a.metadataBase,d,c.twitter);a.twitter?a.twitter=Object.assign({},a.twitter,{...!h&&{title:null==e?void 0:e.title},...!i&&{description:null==e?void 0:e.description},...!j&&{images:null==e?void 0:e.images}}):a.twitter=e}}return G(e,a),G(g,a),b&&(a.icons||(a.icons={icon:[],apple:[]}),a.icons.icon.unshift(b)),a}(h,g,i,d)}async function J(a){let b=(0,e.createDefaultViewport)(),c=function(a){let b=[];for(let c=0;c{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ClientPageRoot:function(){return l.ClientPageRoot},ClientSegmentRoot:function(){return m.ClientSegmentRoot},HTTPAccessFallbackBoundary:function(){return q.HTTPAccessFallbackBoundary},LayoutRouter:function(){return g.default},MetadataBoundary:function(){return s.MetadataBoundary},OutletBoundary:function(){return s.OutletBoundary},Postpone:function(){return u.Postpone},RenderFromTemplateContext:function(){return h.default},RootLayoutBoundary:function(){return s.RootLayoutBoundary},SegmentViewNode:function(){return A},SegmentViewStateNode:function(){return B},ViewportBoundary:function(){return s.ViewportBoundary},actionAsyncStorage:function(){return k.actionAsyncStorage},captureOwnerStack:function(){return f.captureOwnerStack},collectSegmentData:function(){return w.collectSegmentData},createMetadataComponents:function(){return r.createMetadataComponents},createPrerenderParamsForClientSegment:function(){return o.createPrerenderParamsForClientSegment},createPrerenderSearchParamsForClientPage:function(){return n.createPrerenderSearchParamsForClientPage},createServerParamsForServerSegment:function(){return o.createServerParamsForServerSegment},createServerSearchParamsForServerPage:function(){return n.createServerSearchParamsForServerPage},createTemporaryReferenceSet:function(){return d.createTemporaryReferenceSet},decodeAction:function(){return d.decodeAction},decodeFormState:function(){return d.decodeFormState},decodeReply:function(){return d.decodeReply},patchFetch:function(){return C},preconnect:function(){return t.preconnect},preloadFont:function(){return t.preloadFont},preloadStyle:function(){return t.preloadStyle},prerender:function(){return e.unstable_prerender},renderToReadableStream:function(){return d.renderToReadableStream},serverHooks:function(){return p},taintObjectReference:function(){return v.taintObjectReference},workAsyncStorage:function(){return i.workAsyncStorage},workUnitAsyncStorage:function(){return j.workUnitAsyncStorage}});let d=c(97954),e=c(10603),f=c(74515),g=y(c(6060)),h=y(c(69576)),i=c(29294),j=c(63033),k=c(19121),l=c(23597),m=c(36893),n=c(91128),o=c(19963),p=function(a,b){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=z(b);if(c&&c.has(a))return c.get(a);var d={__proto__:null},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if("default"!==f&&Object.prototype.hasOwnProperty.call(a,f)){var g=e?Object.getOwnPropertyDescriptor(a,f):null;g&&(g.get||g.set)?Object.defineProperty(d,f,g):d[f]=a[f]}return d.default=a,c&&c.set(a,d),d}(c(69168)),q=c(89748),r=c(57508),s=c(73041),t=c(51299),u=c(12131),v=c(4773),w=c(53041),x=c(4044);function y(a){return a&&a.__esModule?a:{default:a}}function z(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(z=function(a){return a?c:b})(a)}let A=()=>null,B=()=>null;function C(){return(0,x.patchFetch)({workAsyncStorage:i.workAsyncStorage,workUnitAsyncStorage:j.workUnitAsyncStorage})}globalThis.__next__clear_chunk_cache__=null},62685:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{FallbackMode:function(){return c},fallbackModeToFallbackField:function(){return e},parseFallbackField:function(){return d},parseStaticPathsResult:function(){return f}});var c=function(a){return a.BLOCKING_STATIC_RENDER="BLOCKING_STATIC_RENDER",a.PRERENDER="PRERENDER",a.NOT_FOUND="NOT_FOUND",a}({});function d(a){if("string"==typeof a)return"PRERENDER";if(null===a)return"BLOCKING_STATIC_RENDER";if(!1===a)return"NOT_FOUND";if(void 0!==a)throw Object.defineProperty(Error(`Invalid fallback option: ${a}. Fallback option must be a string, null, undefined, or false.`),"__NEXT_ERROR_CODE",{value:"E285",enumerable:!1,configurable:!0})}function e(a,b){switch(a){case"BLOCKING_STATIC_RENDER":return null;case"NOT_FOUND":return!1;case"PRERENDER":if(!b)throw Object.defineProperty(Error(`Invariant: expected a page to be provided when fallback mode is "${a}"`),"__NEXT_ERROR_CODE",{value:"E422",enumerable:!1,configurable:!0});return b;default:throw Object.defineProperty(Error(`Invalid fallback mode: ${a}`),"__NEXT_ERROR_CODE",{value:"E254",enumerable:!1,configurable:!0})}}function f(a){return!0===a?"PRERENDER":"blocking"===a?"BLOCKING_STATIC_RENDER":"NOT_FOUND"}},62806:(a,b,c)=>{"use strict";c.d(b,{E:()=>N});var d={setTimeout:(a,b)=>setTimeout(a,b),clearTimeout:a=>clearTimeout(a),setInterval:(a,b)=>setInterval(a,b),clearInterval:a=>clearInterval(a)},e=new class{#a=d;#b=!1;setTimeoutProvider(a){this.#a=a}setTimeout(a,b){return this.#a.setTimeout(a,b)}clearTimeout(a){this.#a.clearTimeout(a)}setInterval(a,b){return this.#a.setInterval(a,b)}clearInterval(a){this.#a.clearInterval(a)}},f="undefined"==typeof window||"Deno"in globalThis;function g(){}function h(a,b){return"function"==typeof a?a(b):a}function i(a,b){let{type:c="all",exact:d,fetchStatus:e,predicate:f,queryKey:g,stale:h}=a;if(g){if(d){if(b.queryHash!==k(g,b.options))return!1}else if(!m(b.queryKey,g))return!1}if("all"!==c){let a=b.isActive();if("active"===c&&!a||"inactive"===c&&a)return!1}return("boolean"!=typeof h||b.isStale()===h)&&(!e||e===b.state.fetchStatus)&&(!f||!!f(b))}function j(a,b){let{exact:c,status:d,predicate:e,mutationKey:f}=a;if(f){if(!b.options.mutationKey)return!1;if(c){if(l(b.options.mutationKey)!==l(f))return!1}else if(!m(b.options.mutationKey,f))return!1}return(!d||b.state.status===d)&&(!e||!!e(b))}function k(a,b){return(b?.queryKeyHashFn||l)(a)}function l(a){return JSON.stringify(a,(a,b)=>p(b)?Object.keys(b).sort().reduce((a,c)=>(a[c]=b[c],a),{}):b)}function m(a,b){return a===b||typeof a==typeof b&&!!a&&!!b&&"object"==typeof a&&"object"==typeof b&&Object.keys(b).every(c=>m(a[c],b[c]))}var n=Object.prototype.hasOwnProperty;function o(a){return Array.isArray(a)&&a.length===Object.keys(a).length}function p(a){if(!q(a))return!1;let b=a.constructor;if(void 0===b)return!0;let c=b.prototype;return!!q(c)&&!!c.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(a)===Object.prototype}function q(a){return"[object Object]"===Object.prototype.toString.call(a)}function r(a,b,c=0){let d=[...a,b];return c&&d.length>c?d.slice(1):d}function s(a,b,c=0){let d=[b,...a];return c&&d.length>c?d.slice(0,-1):d}var t=Symbol();function u(a,b){return!a.queryFn&&b?.initialPromise?()=>b.initialPromise:a.queryFn&&a.queryFn!==t?a.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${a.queryHash}'`))}var v=function(a){setTimeout(a,0)},w=function(){let a=[],b=0,c=a=>{a()},d=a=>{a()},e=v,f=d=>{b?a.push(d):e(()=>{c(d)})};return{batch:f=>{let g;b++;try{g=f()}finally{--b||(()=>{let b=a;a=[],b.length&&e(()=>{d(()=>{b.forEach(a=>{c(a)})})})})()}return g},batchCalls:a=>(...b)=>{f(()=>{a(...b)})},schedule:f,setNotifyFunction:a=>{c=a},setBatchNotifyFunction:a=>{d=a},setScheduler:a=>{e=a}}}(),x=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(a){return this.listeners.add(a),this.onSubscribe(),()=>{this.listeners.delete(a),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},y=new class extends x{#c;#d;#e;constructor(){super(),this.#e=a=>{if(!f&&window.addEventListener){let b=()=>a();return window.addEventListener("visibilitychange",b,!1),()=>{window.removeEventListener("visibilitychange",b)}}}}onSubscribe(){this.#d||this.setEventListener(this.#e)}onUnsubscribe(){this.hasListeners()||(this.#d?.(),this.#d=void 0)}setEventListener(a){this.#e=a,this.#d?.(),this.#d=a(a=>{"boolean"==typeof a?this.setFocused(a):this.onFocus()})}setFocused(a){this.#c!==a&&(this.#c=a,this.onFocus())}onFocus(){let a=this.isFocused();this.listeners.forEach(b=>{b(a)})}isFocused(){return"boolean"==typeof this.#c?this.#c:globalThis.document?.visibilityState!=="hidden"}},z=new class extends x{#f=!0;#d;#e;constructor(){super(),this.#e=a=>{if(!f&&window.addEventListener){let b=()=>a(!0),c=()=>a(!1);return window.addEventListener("online",b,!1),window.addEventListener("offline",c,!1),()=>{window.removeEventListener("online",b),window.removeEventListener("offline",c)}}}}onSubscribe(){this.#d||this.setEventListener(this.#e)}onUnsubscribe(){this.hasListeners()||(this.#d?.(),this.#d=void 0)}setEventListener(a){this.#e=a,this.#d?.(),this.#d=a(this.setOnline.bind(this))}setOnline(a){this.#f!==a&&(this.#f=a,this.listeners.forEach(b=>{b(a)}))}isOnline(){return this.#f}};function A(a){return Math.min(1e3*2**a,3e4)}function B(a){return(a??"online")!=="online"||z.isOnline()}var C=class extends Error{constructor(a){super("CancelledError"),this.revert=a?.revert,this.silent=a?.silent}};function D(a){let b,c=!1,d=0,g=function(){let a,b,c=new Promise((c,d)=>{a=c,b=d});function d(a){Object.assign(c,a),delete c.resolve,delete c.reject}return c.status="pending",c.catch(()=>{}),c.resolve=b=>{d({status:"fulfilled",value:b}),a(b)},c.reject=a=>{d({status:"rejected",reason:a}),b(a)},c}(),h=()=>y.isFocused()&&("always"===a.networkMode||z.isOnline())&&a.canRun(),i=()=>B(a.networkMode)&&a.canRun(),j=a=>{"pending"===g.status&&(b?.(),g.resolve(a))},k=a=>{"pending"===g.status&&(b?.(),g.reject(a))},l=()=>new Promise(c=>{b=a=>{("pending"!==g.status||h())&&c(a)},a.onPause?.()}).then(()=>{b=void 0,"pending"===g.status&&a.onContinue?.()}),m=()=>{let b;if("pending"!==g.status)return;let i=0===d?a.initialPromise:void 0;try{b=i??a.fn()}catch(a){b=Promise.reject(a)}Promise.resolve(b).then(j).catch(b=>{if("pending"!==g.status)return;let i=a.retry??3*!f,j=a.retryDelay??A,n="function"==typeof j?j(d,b):j,o=!0===i||"number"==typeof i&&d{e.setTimeout(a,n)}).then(()=>h()?void 0:l()).then(()=>{c?k(b):m()})})};return{promise:g,status:()=>g.status,cancel:b=>{if("pending"===g.status){let c=new C(b);k(c),a.onCancel?.(c)}},continue:()=>(b?.(),g),cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1},canStart:i,start:()=>(i()?m():l().then(m),g)}}var E=class{#g;destroy(){this.clearGcTimeout()}scheduleGc(){var a;this.clearGcTimeout(),"number"==typeof(a=this.gcTime)&&a>=0&&a!==1/0&&(this.#g=e.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(a){this.gcTime=Math.max(this.gcTime||0,a??(f?1/0:3e5))}clearGcTimeout(){this.#g&&(e.clearTimeout(this.#g),this.#g=void 0)}},F=class extends E{#h;#i;#j;#k;#l;#m;#n;constructor(a){super(),this.#n=!1,this.#m=a.defaultOptions,this.setOptions(a.options),this.observers=[],this.#k=a.client,this.#j=this.#k.getQueryCache(),this.queryKey=a.queryKey,this.queryHash=a.queryHash,this.#h=G(this.options),this.state=a.state??this.#h,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#l?.promise}setOptions(a){if(this.options={...this.#m,...a},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let a=G(this.options);void 0!==a.data&&(this.setData(a.data,{updatedAt:a.dataUpdatedAt,manual:!0}),this.#h=a)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#j.remove(this)}setData(a,b){var c,d;let e=(c=this.state.data,"function"==typeof(d=this.options).structuralSharing?d.structuralSharing(c,a):!1!==d.structuralSharing?function a(b,c){if(b===c)return b;let d=o(b)&&o(c);if(!d&&!(p(b)&&p(c)))return c;let e=(d?b:Object.keys(b)).length,f=d?c:Object.keys(c),g=f.length,h=d?Array(g):{},i=0;for(let j=0;j{var b;return!1!==(b=a.options.enabled,"function"==typeof b?b(this):b)})}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(a=>"static"===h(a.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(a=>a.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(a=0){return void 0===this.state.data||"static"!==a&&(!!this.state.isInvalidated||!Math.max(this.state.dataUpdatedAt+(a||0)-Date.now(),0))}onFocus(){let a=this.observers.find(a=>a.shouldFetchOnWindowFocus());a?.refetch({cancelRefetch:!1}),this.#l?.continue()}onOnline(){let a=this.observers.find(a=>a.shouldFetchOnReconnect());a?.refetch({cancelRefetch:!1}),this.#l?.continue()}addObserver(a){this.observers.includes(a)||(this.observers.push(a),this.clearGcTimeout(),this.#j.notify({type:"observerAdded",query:this,observer:a}))}removeObserver(a){this.observers.includes(a)&&(this.observers=this.observers.filter(b=>b!==a),this.observers.length||(this.#l&&(this.#n?this.#l.cancel({revert:!0}):this.#l.cancelRetry()),this.scheduleGc()),this.#j.notify({type:"observerRemoved",query:this,observer:a}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(a,b){if("idle"!==this.state.fetchStatus&&this.#l?.status()!=="rejected"){if(void 0!==this.state.data&&b?.cancelRefetch)this.cancel({silent:!0});else if(this.#l)return this.#l.continueRetry(),this.#l.promise}if(a&&this.setOptions(a),!this.options.queryFn){let a=this.observers.find(a=>a.options.queryFn);a&&this.setOptions(a.options)}let c=new AbortController,d=a=>{Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(this.#n=!0,c.signal)})},e=()=>{let a=u(this.options,b),c=(()=>{let a={client:this.#k,queryKey:this.queryKey,meta:this.meta};return d(a),a})();return(this.#n=!1,this.options.persister)?this.options.persister(a,c,this):a(c)},f=(()=>{let a={fetchOptions:b,options:this.options,queryKey:this.queryKey,client:this.#k,state:this.state,fetchFn:e};return d(a),a})();this.options.behavior?.onFetch(f,this),this.#i=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#o({type:"fetch",meta:f.fetchOptions?.meta}),this.#l=D({initialPromise:b?.initialPromise,fn:f.fetchFn,onCancel:a=>{a instanceof C&&a.revert&&this.setState({...this.#i,fetchStatus:"idle"}),c.abort()},onFail:(a,b)=>{this.#o({type:"failed",failureCount:a,error:b})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{let a=await this.#l.start();if(void 0===a)throw Error(`${this.queryHash} data is undefined`);return this.setData(a),this.#j.config.onSuccess?.(a,this),this.#j.config.onSettled?.(a,this.state.error,this),a}catch(a){if(a instanceof C){if(a.silent)return this.#l.promise;else if(a.revert){if(void 0===this.state.data)throw a;return this.state.data}}throw this.#o({type:"error",error:a}),this.#j.config.onError?.(a,this),this.#j.config.onSettled?.(this.state.data,a,this),a}finally{this.scheduleGc()}}#o(a){let b=b=>{switch(a.type){case"failed":return{...b,fetchFailureCount:a.failureCount,fetchFailureReason:a.error};case"pause":return{...b,fetchStatus:"paused"};case"continue":return{...b,fetchStatus:"fetching"};case"fetch":var c;return{...b,...(c=b.data,{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:B(this.options.networkMode)?"fetching":"paused",...void 0===c&&{error:null,status:"pending"}}),fetchMeta:a.meta??null};case"success":let d={...b,data:a.data,dataUpdateCount:b.dataUpdateCount+1,dataUpdatedAt:a.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!a.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#i=a.manual?d:void 0,d;case"error":let e=a.error;return{...b,error:e,errorUpdateCount:b.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:b.fetchFailureCount+1,fetchFailureReason:e,fetchStatus:"idle",status:"error"};case"invalidate":return{...b,isInvalidated:!0};case"setState":return{...b,...a.state}}};this.state=b(this.state),w.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#j.notify({query:this,type:"updated",action:a})})}};function G(a){let b="function"==typeof a.initialData?a.initialData():a.initialData,c=void 0!==b,d=c?"function"==typeof a.initialDataUpdatedAt?a.initialDataUpdatedAt():a.initialDataUpdatedAt:0;return{data:b,dataUpdateCount:0,dataUpdatedAt:c?d??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:c?"success":"pending",fetchStatus:"idle"}}var H=class extends x{constructor(a={}){super(),this.config=a,this.#p=new Map}#p;build(a,b,c){let d=b.queryKey,e=b.queryHash??k(d,b),f=this.get(e);return f||(f=new F({client:a,queryKey:d,queryHash:e,options:a.defaultQueryOptions(b),state:c,defaultOptions:a.getQueryDefaults(d)}),this.add(f)),f}add(a){this.#p.has(a.queryHash)||(this.#p.set(a.queryHash,a),this.notify({type:"added",query:a}))}remove(a){let b=this.#p.get(a.queryHash);b&&(a.destroy(),b===a&&this.#p.delete(a.queryHash),this.notify({type:"removed",query:a}))}clear(){w.batch(()=>{this.getAll().forEach(a=>{this.remove(a)})})}get(a){return this.#p.get(a)}getAll(){return[...this.#p.values()]}find(a){let b={exact:!0,...a};return this.getAll().find(a=>i(b,a))}findAll(a={}){let b=this.getAll();return Object.keys(a).length>0?b.filter(b=>i(a,b)):b}notify(a){w.batch(()=>{this.listeners.forEach(b=>{b(a)})})}onFocus(){w.batch(()=>{this.getAll().forEach(a=>{a.onFocus()})})}onOnline(){w.batch(()=>{this.getAll().forEach(a=>{a.onOnline()})})}},I=class extends E{#k;#q;#r;#l;constructor(a){super(),this.#k=a.client,this.mutationId=a.mutationId,this.#r=a.mutationCache,this.#q=[],this.state=a.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(a.options),this.scheduleGc()}setOptions(a){this.options=a,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(a){this.#q.includes(a)||(this.#q.push(a),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:a}))}removeObserver(a){this.#q=this.#q.filter(b=>b!==a),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:a})}optionalRemove(){this.#q.length||("pending"===this.state.status?this.scheduleGc():this.#r.remove(this))}continue(){return this.#l?.continue()??this.execute(this.state.variables)}async execute(a){let b=()=>{this.#o({type:"continue"})},c={client:this.#k,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#l=D({fn:()=>this.options.mutationFn?this.options.mutationFn(a,c):Promise.reject(Error("No mutationFn found")),onFail:(a,b)=>{this.#o({type:"failed",failureCount:a,error:b})},onPause:()=>{this.#o({type:"pause"})},onContinue:b,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});let d="pending"===this.state.status,e=!this.#l.canStart();try{if(d)b();else{this.#o({type:"pending",variables:a,isPaused:e}),await this.#r.config.onMutate?.(a,this,c);let b=await this.options.onMutate?.(a,c);b!==this.state.context&&this.#o({type:"pending",context:b,variables:a,isPaused:e})}let f=await this.#l.start();return await this.#r.config.onSuccess?.(f,a,this.state.context,this,c),await this.options.onSuccess?.(f,a,this.state.context,c),await this.#r.config.onSettled?.(f,null,this.state.variables,this.state.context,this,c),await this.options.onSettled?.(f,null,a,this.state.context,c),this.#o({type:"success",data:f}),f}catch(b){try{throw await this.#r.config.onError?.(b,a,this.state.context,this,c),await this.options.onError?.(b,a,this.state.context,c),await this.#r.config.onSettled?.(void 0,b,this.state.variables,this.state.context,this,c),await this.options.onSettled?.(void 0,b,a,this.state.context,c),b}finally{this.#o({type:"error",error:b})}}finally{this.#r.runNext(this)}}#o(a){this.state=(b=>{switch(a.type){case"failed":return{...b,failureCount:a.failureCount,failureReason:a.error};case"pause":return{...b,isPaused:!0};case"continue":return{...b,isPaused:!1};case"pending":return{...b,context:a.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:a.isPaused,status:"pending",variables:a.variables,submittedAt:Date.now()};case"success":return{...b,data:a.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...b,data:void 0,error:a.error,failureCount:b.failureCount+1,failureReason:a.error,isPaused:!1,status:"error"}}})(this.state),w.batch(()=>{this.#q.forEach(b=>{b.onMutationUpdate(a)}),this.#r.notify({mutation:this,type:"updated",action:a})})}},J=class extends x{constructor(a={}){super(),this.config=a,this.#s=new Set,this.#t=new Map,this.#u=0}#s;#t;#u;build(a,b,c){let d=new I({client:a,mutationCache:this,mutationId:++this.#u,options:a.defaultMutationOptions(b),state:c});return this.add(d),d}add(a){this.#s.add(a);let b=K(a);if("string"==typeof b){let c=this.#t.get(b);c?c.push(a):this.#t.set(b,[a])}this.notify({type:"added",mutation:a})}remove(a){if(this.#s.delete(a)){let b=K(a);if("string"==typeof b){let c=this.#t.get(b);if(c)if(c.length>1){let b=c.indexOf(a);-1!==b&&c.splice(b,1)}else c[0]===a&&this.#t.delete(b)}}this.notify({type:"removed",mutation:a})}canRun(a){let b=K(a);if("string"!=typeof b)return!0;{let c=this.#t.get(b),d=c?.find(a=>"pending"===a.state.status);return!d||d===a}}runNext(a){let b=K(a);if("string"!=typeof b)return Promise.resolve();{let c=this.#t.get(b)?.find(b=>b!==a&&b.state.isPaused);return c?.continue()??Promise.resolve()}}clear(){w.batch(()=>{this.#s.forEach(a=>{this.notify({type:"removed",mutation:a})}),this.#s.clear(),this.#t.clear()})}getAll(){return Array.from(this.#s)}find(a){let b={exact:!0,...a};return this.getAll().find(a=>j(b,a))}findAll(a={}){return this.getAll().filter(b=>j(a,b))}notify(a){w.batch(()=>{this.listeners.forEach(b=>{b(a)})})}resumePausedMutations(){let a=this.getAll().filter(a=>a.state.isPaused);return w.batch(()=>Promise.all(a.map(a=>a.continue().catch(g))))}};function K(a){return a.options.scope?.id}function L(a){return{onFetch:(b,c)=>{let d=b.options,e=b.fetchOptions?.meta?.fetchMore?.direction,f=b.state.data?.pages||[],g=b.state.data?.pageParams||[],h={pages:[],pageParams:[]},i=0,j=async()=>{let c=!1,j=u(b.options,b.fetchOptions),k=async(a,d,e)=>{if(c)return Promise.reject();if(null==d&&a.pages.length)return Promise.resolve(a);let f=(()=>{let a={client:b.client,queryKey:b.queryKey,pageParam:d,direction:e?"backward":"forward",meta:b.options.meta};return Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(b.signal.aborted?c=!0:b.signal.addEventListener("abort",()=>{c=!0}),b.signal)}),a})(),g=await j(f),{maxPages:h}=b.options,i=e?s:r;return{pages:i(a.pages,g,h),pageParams:i(a.pageParams,d,h)}};if(e&&f.length){let a="backward"===e,b={pages:f,pageParams:g},c=(a?function(a,{pages:b,pageParams:c}){return b.length>0?a.getPreviousPageParam?.(b[0],b,c[0],c):void 0}:M)(d,b);h=await k(b,c,a)}else{let b=a??f.length;do{let a=0===i?g[0]??d.initialPageParam:M(d,h);if(i>0&&null==a)break;h=await k(h,a),i++}while(ib.options.persister?.(j,{client:b.client,queryKey:b.queryKey,meta:b.options.meta,signal:b.signal},c):b.fetchFn=j}}}function M(a,{pages:b,pageParams:c}){let d=b.length-1;return b.length>0?a.getNextPageParam(b[d],b,c[d],c):void 0}var N=class{#v;#r;#m;#w;#x;#y;#z;#A;constructor(a={}){this.#v=a.queryCache||new H,this.#r=a.mutationCache||new J,this.#m=a.defaultOptions||{},this.#w=new Map,this.#x=new Map,this.#y=0}mount(){this.#y++,1===this.#y&&(this.#z=y.subscribe(async a=>{a&&(await this.resumePausedMutations(),this.#v.onFocus())}),this.#A=z.subscribe(async a=>{a&&(await this.resumePausedMutations(),this.#v.onOnline())}))}unmount(){this.#y--,0===this.#y&&(this.#z?.(),this.#z=void 0,this.#A?.(),this.#A=void 0)}isFetching(a){return this.#v.findAll({...a,fetchStatus:"fetching"}).length}isMutating(a){return this.#r.findAll({...a,status:"pending"}).length}getQueryData(a){let b=this.defaultQueryOptions({queryKey:a});return this.#v.get(b.queryHash)?.state.data}ensureQueryData(a){let b=this.defaultQueryOptions(a),c=this.#v.build(this,b),d=c.state.data;return void 0===d?this.fetchQuery(a):(a.revalidateIfStale&&c.isStaleByTime(h(b.staleTime,c))&&this.prefetchQuery(b),Promise.resolve(d))}getQueriesData(a){return this.#v.findAll(a).map(({queryKey:a,state:b})=>[a,b.data])}setQueryData(a,b,c){let d=this.defaultQueryOptions({queryKey:a}),e=this.#v.get(d.queryHash),f=e?.state.data,g="function"==typeof b?b(f):b;if(void 0!==g)return this.#v.build(this,d).setData(g,{...c,manual:!0})}setQueriesData(a,b,c){return w.batch(()=>this.#v.findAll(a).map(({queryKey:a})=>[a,this.setQueryData(a,b,c)]))}getQueryState(a){let b=this.defaultQueryOptions({queryKey:a});return this.#v.get(b.queryHash)?.state}removeQueries(a){let b=this.#v;w.batch(()=>{b.findAll(a).forEach(a=>{b.remove(a)})})}resetQueries(a,b){let c=this.#v;return w.batch(()=>(c.findAll(a).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...a},b)))}cancelQueries(a,b={}){let c={revert:!0,...b};return Promise.all(w.batch(()=>this.#v.findAll(a).map(a=>a.cancel(c)))).then(g).catch(g)}invalidateQueries(a,b={}){return w.batch(()=>(this.#v.findAll(a).forEach(a=>{a.invalidate()}),a?.refetchType==="none")?Promise.resolve():this.refetchQueries({...a,type:a?.refetchType??a?.type??"active"},b))}refetchQueries(a,b={}){let c={...b,cancelRefetch:b.cancelRefetch??!0};return Promise.all(w.batch(()=>this.#v.findAll(a).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let b=a.fetch(void 0,c);return c.throwOnError||(b=b.catch(g)),"paused"===a.state.fetchStatus?Promise.resolve():b}))).then(g)}fetchQuery(a){let b=this.defaultQueryOptions(a);void 0===b.retry&&(b.retry=!1);let c=this.#v.build(this,b);return c.isStaleByTime(h(b.staleTime,c))?c.fetch(b):Promise.resolve(c.state.data)}prefetchQuery(a){return this.fetchQuery(a).then(g).catch(g)}fetchInfiniteQuery(a){return a.behavior=L(a.pages),this.fetchQuery(a)}prefetchInfiniteQuery(a){return this.fetchInfiniteQuery(a).then(g).catch(g)}ensureInfiniteQueryData(a){return a.behavior=L(a.pages),this.ensureQueryData(a)}resumePausedMutations(){return z.isOnline()?this.#r.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#v}getMutationCache(){return this.#r}getDefaultOptions(){return this.#m}setDefaultOptions(a){this.#m=a}setQueryDefaults(a,b){this.#w.set(l(a),{queryKey:a,defaultOptions:b})}getQueryDefaults(a){let b=[...this.#w.values()],c={};return b.forEach(b=>{m(a,b.queryKey)&&Object.assign(c,b.defaultOptions)}),c}setMutationDefaults(a,b){this.#x.set(l(a),{mutationKey:a,defaultOptions:b})}getMutationDefaults(a){let b=[...this.#x.values()],c={};return b.forEach(b=>{m(a,b.mutationKey)&&Object.assign(c,b.defaultOptions)}),c}defaultQueryOptions(a){if(a._defaulted)return a;let b={...this.#m.queries,...this.getQueryDefaults(a.queryKey),...a,_defaulted:!0};return b.queryHash||(b.queryHash=k(b.queryKey,b)),void 0===b.refetchOnReconnect&&(b.refetchOnReconnect="always"!==b.networkMode),void 0===b.throwOnError&&(b.throwOnError=!!b.suspense),!b.networkMode&&b.persister&&(b.networkMode="offlineFirst"),b.queryFn===t&&(b.enabled=!1),b}defaultMutationOptions(a){return a?._defaulted?a:{...this.#m.mutations,...a?.mutationKey&&this.getMutationDefaults(a.mutationKey),...a,_defaulted:!0}}clear(){this.#v.clear(),this.#r.clear()}}},63188:(a,b,c)=>{"use strict";a.exports=c(56796).vendored["react-ssr"].ReactServerDOMWebpackClient},64818:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getNamedMiddlewareRegex:function(){return n},getNamedRouteRegex:function(){return m},getRouteRegex:function(){return j}});let d=c(63446),e=c(3896),f=c(93722),g=c(95626),h=c(50565);function i(a,b,c){let d={},i=1,j=[];for(let k of(0,g.removeTrailingSlash)(a).slice(1).split("/")){let a=e.INTERCEPTION_ROUTE_MARKERS.find(a=>k.startsWith(a)),g=k.match(h.PARAMETER_PATTERN);if(a&&g&&g[2]){let{key:b,optional:c,repeat:e}=(0,h.parseMatchedParameter)(g[2]);d[b]={pos:i++,repeat:e,optional:c},j.push("/"+(0,f.escapeStringRegexp)(a)+"([^/]+?)")}else if(g&&g[2]){let{key:a,repeat:b,optional:e}=(0,h.parseMatchedParameter)(g[2]);d[a]={pos:i++,repeat:b,optional:e},c&&g[1]&&j.push("/"+(0,f.escapeStringRegexp)(g[1]));let k=b?e?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";c&&g[1]&&(k=k.substring(1)),j.push(k)}else j.push("/"+(0,f.escapeStringRegexp)(k));b&&g&&g[3]&&j.push((0,f.escapeStringRegexp)(g[3]))}return{parameterizedRoute:j.join(""),groups:d}}function j(a,b){let{includeSuffix:c=!1,includePrefix:d=!1,excludeOptionalTrailingSlash:e=!1}=void 0===b?{}:b,{parameterizedRoute:f,groups:g}=i(a,c,d),h=f;return e||(h+="(?:/)?"),{re:RegExp("^"+h+"$"),groups:g}}function k(a){let b,{interceptionMarker:c,getSafeRouteKey:d,segment:e,routeKeys:g,keyPrefix:i,backreferenceDuplicateKeys:j}=a,{key:k,optional:l,repeat:m}=(0,h.parseMatchedParameter)(e),n=k.replace(/\W/g,"");i&&(n=""+i+n);let o=!1;(0===n.length||n.length>30)&&(o=!0),isNaN(parseInt(n.slice(0,1)))||(o=!0),o&&(n=d());let p=n in g;i?g[n]=""+i+k:g[n]=k;let q=c?(0,f.escapeStringRegexp)(c):"";return b=p&&j?"\\k<"+n+">":m?"(?<"+n+">.+?)":"(?<"+n+">[^/]+?)",l?"(?:/"+q+b+")?":"/"+q+b}function l(a,b,c,i,j){let l,m=(l=0,()=>{let a="",b=++l;for(;b>0;)a+=String.fromCharCode(97+(b-1)%26),b=Math.floor((b-1)/26);return a}),n={},o=[];for(let l of(0,g.removeTrailingSlash)(a).slice(1).split("/")){let a=e.INTERCEPTION_ROUTE_MARKERS.some(a=>l.startsWith(a)),g=l.match(h.PARAMETER_PATTERN);if(a&&g&&g[2])o.push(k({getSafeRouteKey:m,interceptionMarker:g[1],segment:g[2],routeKeys:n,keyPrefix:b?d.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:j}));else if(g&&g[2]){i&&g[1]&&o.push("/"+(0,f.escapeStringRegexp)(g[1]));let a=k({getSafeRouteKey:m,segment:g[2],routeKeys:n,keyPrefix:b?d.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:j});i&&g[1]&&(a=a.substring(1)),o.push(a)}else o.push("/"+(0,f.escapeStringRegexp)(l));c&&g&&g[3]&&o.push((0,f.escapeStringRegexp)(g[3]))}return{namedParameterizedRoute:o.join(""),routeKeys:n}}function m(a,b){var c,d,e;let f=l(a,b.prefixRouteKeys,null!=(c=b.includeSuffix)&&c,null!=(d=b.includePrefix)&&d,null!=(e=b.backreferenceDuplicateKeys)&&e),g=f.namedParameterizedRoute;return b.excludeOptionalTrailingSlash||(g+="(?:/)?"),{...j(a,b),namedRegex:"^"+g+"$",routeKeys:f.routeKeys}}function n(a,b){let{parameterizedRoute:c}=i(a,!1,!1),{catchAll:d=!0}=b;if("/"===c)return{namedRegex:"^/"+(d?".*":"")+"$"};let{namedParameterizedRoute:e}=l(a,!1,!1,!1,!1);return{namedRegex:"^"+e+(d?"(?:(/.*)?)":"")+"$"}}},65666:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createPrerenderSearchParamsForClientPage:function(){return o},createSearchParamsFromClient:function(){return l},createServerSearchParamsForMetadata:function(){return m},createServerSearchParamsForServerPage:function(){return n},makeErroringSearchParamsForUseCache:function(){return t}});let d=c(48550),e=c(41820),f=c(63033),g=c(93860),h=c(71729),i=c(85773),j=c(98444),k=c(49606);function l(a,b){let c=f.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return p(b,c);case"prerender-runtime":throw Object.defineProperty(new g.InvariantError("createSearchParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E769",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createSearchParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E739",enumerable:!1,configurable:!0});case"request":return q(a,b)}(0,f.throwInvariantForMissingStore)()}let m=n;function n(a,b){let c=f.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return p(b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"prerender-runtime":var d,h;return d=a,h=c,(0,e.delayUntilRuntimeStage)(h,u(d));case"request":return q(a,b)}(0,f.throwInvariantForMissingStore)()}function o(a){if(a.forceStatic)return Promise.resolve({});let b=f.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"prerender":case"prerender-client":return(0,h.makeHangingPromise)(b.renderSignal,a.route,"`searchParams`");case"prerender-runtime":throw Object.defineProperty(new g.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,f.throwInvariantForMissingStore)()}function p(a,b){if(a.forceStatic)return Promise.resolve({});switch(b.type){case"prerender":case"prerender-client":var c=a,f=b;let g=r.get(f);if(g)return g;let i=(0,h.makeHangingPromise)(f.renderSignal,c.route,"`searchParams`"),l=new Proxy(i,{get(a,b,c){if(Object.hasOwn(i,b))return d.ReflectAdapter.get(a,b,c);switch(b){case"then":return(0,e.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",f),d.ReflectAdapter.get(a,b,c);case"status":return(0,e.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",f),d.ReflectAdapter.get(a,b,c);default:return d.ReflectAdapter.get(a,b,c)}}});return r.set(f,l),l;case"prerender-ppr":case"prerender-legacy":var m=a,n=b;let o=r.get(m);if(o)return o;let p=Promise.resolve({}),q=new Proxy(p,{get(a,b,c){if(Object.hasOwn(p,b))return d.ReflectAdapter.get(a,b,c);switch(b){case"then":{let a="`await searchParams`, `searchParams.then`, or similar";m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n);return}case"status":{let a="`use(searchParams)`, `searchParams.status`, or similar";m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n);return}default:if("string"==typeof b&&!j.wellKnownProperties.has(b)){let a=(0,j.describeStringPropertyAccess)("searchParams",b);m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n)}return d.ReflectAdapter.get(a,b,c)}},has(a,b){if("string"==typeof b){let a=(0,j.describeHasCheckingStringProperty)("searchParams",b);return m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n),!1}return d.ReflectAdapter.has(a,b)},ownKeys(){let a="`{...searchParams}`, `Object.keys(searchParams)`, or similar";m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n)}});return r.set(m,q),q;default:return b}}function q(a,b){return b.forceStatic?Promise.resolve({}):u(a)}let r=new WeakMap,s=new WeakMap;function t(a){let b=s.get(a);if(b)return b;let c=Promise.resolve({}),e=new Proxy(c,{get:function b(e,f,g){return Object.hasOwn(c,f)||"string"!=typeof f||"then"!==f&&j.wellKnownProperties.has(f)||(0,k.throwForSearchParamsAccessInUseCache)(a,b),d.ReflectAdapter.get(e,f,g)},has:function b(c,e){return"string"!=typeof e||"then"!==e&&j.wellKnownProperties.has(e)||(0,k.throwForSearchParamsAccessInUseCache)(a,b),d.ReflectAdapter.has(c,e)},ownKeys:function b(){(0,k.throwForSearchParamsAccessInUseCache)(a,b)}});return s.set(a,e),e}function u(a){let b=r.get(a);if(b)return b;let c=Promise.resolve(a);return r.set(a,c),Object.keys(a).forEach(b=>{j.wellKnownProperties.has(b)||Object.defineProperty(c,b,{get(){let c=f.workUnitAsyncStorage.getStore();return c&&(0,e.trackDynamicDataInDynamicRender)(c),a[b]},set(a){Object.defineProperty(c,b,{value:a,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0})}),c}(0,i.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`searchParams\` should be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E249",enumerable:!1,configurable:!0})}),(0,i.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b,c){let d=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${d}used ${b}. \`searchParams\` should be awaited before using its properties. The following properties were not available through enumeration because they conflict with builtin or well-known property names: ${function(a){switch(a.length){case 0:throw Object.defineProperty(new g.InvariantError("Expected describeListOfPropertyNames to be called with a non-empty list of strings."),"__NEXT_ERROR_CODE",{value:"E531",enumerable:!1,configurable:!0});case 1:return`\`${a[0]}\``;case 2:return`\`${a[0]}\` and \`${a[1]}\``;default:{let b="";for(let c=0;c{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"computeCacheBustingSearchParam",{enumerable:!0,get:function(){return e}});let d=c(11843);function e(a,b,c,e){return(void 0===a||"0"===a)&&void 0===b&&void 0===c&&void 0===e?"":(0,d.hexHash)([a||"0",b||"0",c||"0",e||"0"].join(","))}},68495:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ClientSegmentRoot",{enumerable:!0,get:function(){return f}});let d=c(21124),e=c(93860);function f(a){let{Component:b,slots:f,params:g,promise:h}=a;{let a,{workAsyncStorage:h}=c(29294),i=h.getStore();if(!i)throw Object.defineProperty(new e.InvariantError("Expected workStore to exist when handling params in a client segment such as a Layout or Template."),"__NEXT_ERROR_CODE",{value:"E600",enumerable:!1,configurable:!0});let{createParamsFromClient:j}=c(83869);return a=j(g,i),(0,d.jsx)(b,{...f,params:a})}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},68512:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{resolveImages:function(){return j},resolveOpenGraph:function(){return l},resolveTwitter:function(){return n}});let d=c(60096),e=c(7585),f=c(27782),g=c(61938),h=c(310),i={article:["authors","tags"],song:["albums","musicians"],playlist:["albums","musicians"],radio:["creators"],video:["actors","directors","writers","tags"],basic:["emails","phoneNumbers","faxNumbers","alternateLocale","audio","videos"]};function j(a,b,c){let f=(0,d.resolveAsArrayOrUndefined)(a);if(!f)return f;let i=[];for(let a of f){let d=function(a,b,c){if(!a)return;let d=(0,e.isStringOrURL)(a),f=d?a:a.url;if(!f)return;let i=!!process.env.VERCEL;if("string"==typeof f&&!(0,g.isFullStringUrl)(f)&&(!b||c)){let a=(0,e.getSocialImageMetadataBaseFallback)(b);i||b||(0,h.warnOnce)(`metadataBase property in metadata export is not set for resolving social open graph or twitter images, using "${a.origin}". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase`),b=a}return d?{url:(0,e.resolveUrl)(f,b)}:{...a,url:(0,e.resolveUrl)(f,b)}}(a,b,c);d&&i.push(d)}return i}let k={article:i.article,book:i.article,"music.song":i.song,"music.album":i.song,"music.playlist":i.playlist,"music.radio_station":i.radio,"video.movie":i.video,"video.episode":i.video},l=async(a,b,c,g,h)=>{if(!a)return null;let l={...a,title:(0,f.resolveTitle)(a.title,h)};return!function(a,c){var e;for(let b of(e=c&&"type"in c?c.type:void 0)&&e in k?k[e].concat(i.basic):i.basic)if(b in c&&"url"!==b){let e=c[b];a[b]=e?(0,d.resolveArray)(e):null}a.images=j(c.images,b,g.isStaticMetadataRouteFile)}(l,a),l.url=a.url?(0,e.resolveAbsoluteUrlWithPathname)(a.url,b,await c,g):null,l},m=["site","siteId","creator","creatorId","description"],n=(a,b,c,e)=>{var g;if(!a)return null;let h="card"in a?a.card:void 0,i={...a,title:(0,f.resolveTitle)(a.title,e)};for(let b of m)i[b]=a[b]||null;if(i.images=j(a.images,b,c.isStaticMetadataRouteFile),h=h||((null==(g=i.images)?void 0:g.length)?"summary_large_image":"summary"),i.card=h,"card"in i)switch(i.card){case"player":i.players=(0,d.resolveAsArrayOrUndefined)(i.players)||[];break;case"app":i.app=i.app||{}}return i}},69203:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{HTTPAccessErrorStatus:function(){return c},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return e},getAccessFallbackErrorTypeByStatus:function(){return h},getAccessFallbackHTTPStatus:function(){return g},isHTTPAccessFallbackError:function(){return f}});let c={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},d=new Set(Object.values(c)),e="NEXT_HTTP_ERROR_FALLBACK";function f(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let[b,c]=a.digest.split(";");return b===e&&d.has(Number(c))}function g(a){return Number(a.digest.split(";")[1])}function h(a){switch(a){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},69296:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getRedirectError:function(){return g},getRedirectStatusCodeFromError:function(){return l},getRedirectTypeFromError:function(){return k},getURLFromRedirectError:function(){return j},permanentRedirect:function(){return i},redirect:function(){return h}});let d=c(40413),e=c(47847),f=c(19121).actionAsyncStorage;function g(a,b,c){void 0===c&&(c=d.RedirectStatusCode.TemporaryRedirect);let f=Object.defineProperty(Error(e.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return f.digest=e.REDIRECT_ERROR_CODE+";"+b+";"+a+";"+c+";",f}function h(a,b){var c;throw null!=b||(b=(null==f||null==(c=f.getStore())?void 0:c.isAction)?e.RedirectType.push:e.RedirectType.replace),g(a,b,d.RedirectStatusCode.TemporaryRedirect)}function i(a,b){throw void 0===b&&(b=e.RedirectType.replace),g(a,b,d.RedirectStatusCode.PermanentRedirect)}function j(a){return(0,e.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function k(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return a.digest.split(";",2)[1]}function l(a){if(!(0,e.isRedirectError)(a))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(a.digest.split(";").at(-2))}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},69576:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/render-from-template-context.js")},71729:(a,b)=>{"use strict";function c(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===d}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{isHangingPromiseRejectionError:function(){return c},makeDevtoolsIOAwarePromise:function(){return i},makeHangingPromise:function(){return g}});let d="HANGING_PROMISE_REJECTION";class e extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest=d}}let f=new WeakMap;function g(a,b,c){if(a.aborted)return Promise.reject(new e(b,c));{let d=new Promise((d,g)=>{let h=g.bind(null,new e(b,c)),i=f.get(a);if(i)i.push(h);else{let b=[h];f.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a{setTimeout(()=>{b(a)},0)})}},71791:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ROOT_SEGMENT_CACHE_KEY:function(){return f},ROOT_SEGMENT_REQUEST_KEY:function(){return e},appendSegmentCacheKeyPart:function(){return j},appendSegmentRequestKeyPart:function(){return h},convertSegmentPathToStaticExportFilename:function(){return m},createSegmentCacheKeyPart:function(){return i},createSegmentRequestKeyPart:function(){return g}});let d=c(96896),e="",f="";function g(a){if("string"==typeof a)return a.startsWith(d.PAGE_SEGMENT_KEY)?d.PAGE_SEGMENT_KEY:"/_not-found"===a?"_not-found":l(a);let b=a[0],c=a[2];return"$"+c+"$"+l(b)}function h(a,b,c){return a+"/"+("children"===b?c:"@"+l(b)+"/"+c)}function i(a,b){return"string"==typeof b?a:a+"$"+l(b[1])}function j(a,b,c){return a+"/"+("children"===b?c:"@"+l(b)+"/"+c)}let k=/^[a-zA-Z0-9\-_@]+$/;function l(a){return k.test(a)?a:"!"+btoa(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function m(a){return"__next"+a.replace(/\//g,".")+".txt"}},72074:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createFlightReactServerErrorHandler:function(){return p},createHTMLErrorHandler:function(){return r},createHTMLReactServerErrorHandler:function(){return q},getDigestForWellKnownError:function(){return o},isUserLandError:function(){return s}});let d=function(a){return a&&a.__esModule?a:{default:a}}(c(41972)),e=c(84397),f=c(32324),g=c(55088),h=c(29305),i=c(69168),j=c(61981),k=c(26906),l=c(9816),m=c(7907),n=c(5439);function o(a){if((0,h.isBailoutToCSRError)(a)||(0,j.isNextRouterError)(a)||(0,i.isDynamicServerError)(a)||(0,k.isPrerenderInterruptedError)(a))return a.digest}function p(a,b){return c=>{if("string"==typeof c)return(0,d.default)(c).toString();if((0,g.isAbortError)(c))return;let h=o(c);if(h)return h;if((0,n.isReactLargeShellError)(c))return void console.error(c);let i=(0,l.getProperError)(c);i.digest||(i.digest=(0,d.default)(i.message+i.stack||"").toString()),a&&(0,e.formatServerError)(i);let j=(0,f.getTracer)().getActiveScopeSpan();return j&&(j.recordException(i),j.setAttribute("error.type",i.name),j.setStatus({code:f.SpanStatusCode.ERROR,message:i.message})),b(i),(0,m.createDigestWithErrorCode)(c,i.digest)}}function q(a,b,c,h,i){return j=>{var k;if("string"==typeof j)return(0,d.default)(j).toString();if((0,g.isAbortError)(j))return;let p=o(j);if(p)return p;if((0,n.isReactLargeShellError)(j))return void console.error(j);let q=(0,l.getProperError)(j);if(q.digest||(q.digest=(0,d.default)(q.message+(q.stack||"")).toString()),c.has(q.digest)||c.set(q.digest,q),a&&(0,e.formatServerError)(q),!(b&&(null==q||null==(k=q.message)?void 0:k.includes("The specific message is omitted in production builds to avoid leaking sensitive details.")))){let a=(0,f.getTracer)().getActiveScopeSpan();a&&(a.recordException(q),a.setAttribute("error.type",q.name),a.setStatus({code:f.SpanStatusCode.ERROR,message:q.message})),h||null==i||i(q)}return(0,m.createDigestWithErrorCode)(j,q.digest)}}function r(a,b,c,h,i,j){return(k,p)=>{var q;if((0,n.isReactLargeShellError)(k))return void console.error(k);let r=!0;if(h.push(k),(0,g.isAbortError)(k))return;let s=o(k);if(s)return s;let t=(0,l.getProperError)(k);if(t.digest?c.has(t.digest)&&(k=c.get(t.digest),r=!1):t.digest=(0,d.default)(t.message+((null==p?void 0:p.componentStack)||t.stack||"")).toString(),a&&(0,e.formatServerError)(t),!(b&&(null==t||null==(q=t.message)?void 0:q.includes("The specific message is omitted in production builds to avoid leaking sensitive details.")))){let a=(0,f.getTracer)().getActiveScopeSpan();a&&(a.recordException(t),a.setAttribute("error.type",t.name),a.setStatus({code:f.SpanStatusCode.ERROR,message:t.message})),!i&&r&&j(t,p)}return(0,m.createDigestWithErrorCode)(k,t.digest)}}function s(a){return!(0,g.isAbortError)(a)&&!(0,h.isBailoutToCSRError)(a)&&!(0,j.isNextRouterError)(a)}},72454:(a,b)=>{"use strict";function c(a){return"("===a[0]&&a.endsWith(")")}function d(a){return a.startsWith("@")&&"@children"!==a}function e(a,b){if(a.includes(f)){let a=JSON.stringify(b);return"{}"!==a?f+"?"+a:f}return a}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DEFAULT_SEGMENT_KEY:function(){return g},PAGE_SEGMENT_KEY:function(){return f},addSearchParamsIfPageSegment:function(){return e},isGroupSegment:function(){return c},isParallelRouteSegment:function(){return d}});let f="__PAGE__",g="__DEFAULT__"},73041:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/lib/framework/boundary-components.js")},75170:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"HTTPAccessFallbackBoundary",{enumerable:!0,get:function(){return k}});let d=c(55823),e=c(21124),f=d._(c(38301)),g=c(50696),h=c(69203);c(21507);let i=c(12889);class j extends f.default.Component{componentDidCatch(){}static getDerivedStateFromError(a){if((0,h.isHTTPAccessFallbackError)(a))return{triggeredStatus:(0,h.getAccessFallbackHTTPStatus)(a)};throw a}static getDerivedStateFromProps(a,b){return a.pathname!==b.previousPathname&&b.triggeredStatus?{triggeredStatus:void 0,previousPathname:a.pathname}:{triggeredStatus:b.triggeredStatus,previousPathname:a.pathname}}render(){let{notFound:a,forbidden:b,unauthorized:c,children:d}=this.props,{triggeredStatus:f}=this.state,g={[h.HTTPAccessErrorStatus.NOT_FOUND]:a,[h.HTTPAccessErrorStatus.FORBIDDEN]:b,[h.HTTPAccessErrorStatus.UNAUTHORIZED]:c};if(f){let i=f===h.HTTPAccessErrorStatus.NOT_FOUND&&a,j=f===h.HTTPAccessErrorStatus.FORBIDDEN&&b,k=f===h.HTTPAccessErrorStatus.UNAUTHORIZED&&c;return i||j||k?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("meta",{name:"robots",content:"noindex"}),!1,g[f]]}):d}return d}constructor(a){super(a),this.state={triggeredStatus:void 0,previousPathname:a.pathname}}}function k(a){let{notFound:b,forbidden:c,unauthorized:d,children:h}=a,k=(0,g.useUntrackedPathname)(),l=(0,f.useContext)(i.MissingSlotContext);return b||c||d?(0,e.jsx)(j,{pathname:k,notFound:b,forbidden:c,unauthorized:d,missingSlots:l,children:h}):(0,e.jsx)(e.Fragment,{children:h})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},75338:(a,b,c)=>{"use strict";a.exports=c(49754).vendored["react-rsc"].ReactJsxRuntime},75795:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"AlternatesMetadata",{enumerable:!0,get:function(){return g}});let d=c(75338);c(74515);let e=c(1280);function f({descriptor:a,...b}){return a.url?(0,d.jsx)("link",{...b,...a.title&&{title:a.title},href:a.url.toString()}):null}function g({alternates:a}){if(!a)return null;let{canonical:b,languages:c,media:d,types:g}=a;return(0,e.MetaFilter)([b?f({rel:"canonical",descriptor:b}):null,c?Object.entries(c).flatMap(([a,b])=>null==b?void 0:b.map(b=>f({rel:"alternate",hrefLang:a,descriptor:b}))):null,d?Object.entries(d).flatMap(([a,b])=>null==b?void 0:b.map(b=>f({rel:"alternate",media:a,descriptor:b}))):null,g?Object.entries(g).flatMap(([a,b])=>null==b?void 0:b.map(b=>f({rel:"alternate",type:a,descriptor:b}))):null])}},76061:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function a(b){let[c,e]=b;if(Array.isArray(c)&&("di"===c[2]||"ci"===c[2])||"string"==typeof c&&(0,d.isInterceptionRouteAppPath)(c))return!0;if(e){for(let b in e)if(a(e[b]))return!0}return!1}}});let d=c(21054);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},76779:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"callServer",{enumerable:!0,get:function(){return g}});let d=c(38301),e=c(12591),f=c(22158);async function g(a,b){return new Promise((c,g)=>{(0,d.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:e.ACTION_SERVER_ACTION,actionId:a,actionArgs:b,resolve:c,reject:g})})})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},77526:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return B}});let d=c(35288),e=c(55823),f=c(21124),g=c(12591),h=e._(c(38301)),i=d._(c(23312)),j=c(12889),k=c(60535),l=c(25963),m=c(94515),n=c(93754),o=c(43678),p=c(47939),q=c(75170),r=c(95812),s=c(76061),t=c(22158),u=c(2120);c(17269),i.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;let v=["bottom","height","left","right","top","width","x","y"];function w(a,b){let c=a.getBoundingClientRect();return c.top>=0&&c.top<=b}class x extends h.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...a){super(...a),this.handlePotentialScroll=()=>{let{focusAndScrollRef:a,segmentPath:b}=this.props;if(a.apply){if(0!==a.segmentPaths.length&&!a.segmentPaths.some(a=>b.every((b,c)=>(0,n.matchSegment)(b,a[c]))))return;let c=null,d=a.hashFragment;if(d&&(c=function(a){var b;return"top"===a?document.body:null!=(b=document.getElementById(a))?b:document.getElementsByName(a)[0]}(d)),c||(c=null),!(c instanceof Element))return;for(;!(c instanceof HTMLElement)||function(a){if(["sticky","fixed"].includes(getComputedStyle(a).position))return!0;let b=a.getBoundingClientRect();return v.every(a=>0===b[a])}(c);){if(null===c.nextElementSibling)return;c=c.nextElementSibling}a.apply=!1,a.hashFragment=null,a.segmentPaths=[],(0,o.disableSmoothScrollDuringRouteTransition)(()=>{if(d)return void c.scrollIntoView();let a=document.documentElement,b=a.clientHeight;!w(c,b)&&(a.scrollTop=0,w(c,b)||c.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:a.onlyHashChange}),a.onlyHashChange=!1,c.focus()}}}}function y(a){let{segmentPath:b,children:c}=a,d=(0,h.useContext)(j.GlobalLayoutRouterContext);if(!d)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,f.jsx)(x,{segmentPath:b,focusAndScrollRef:d.focusAndScrollRef,children:c})}function z(a){let{tree:b,segmentPath:c,cacheNode:d,url:e}=a,i=(0,h.useContext)(j.GlobalLayoutRouterContext);if(!i)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let{tree:m}=i,o=null!==d.prefetchRsc?d.prefetchRsc:d.rsc,p=(0,h.useDeferredValue)(d.rsc,o),q="object"==typeof p&&null!==p&&"function"==typeof p.then?(0,h.use)(p):p;if(!q){let a=d.lazyData;if(null===a){let b=function a(b,c){if(b){let[d,e]=b,f=2===b.length;if((0,n.matchSegment)(c[0],d)&&c[1].hasOwnProperty(e)){if(f){let b=a(void 0,c[1][e]);return[c[0],{...c[1],[e]:[b[0],b[1],b[2],"refetch"]}]}return[c[0],{...c[1],[e]:a(b.slice(2),c[1][e])}]}}return c}(["",...c],m),f=(0,s.hasInterceptionRouteInCurrentTree)(m),j=Date.now();d.lazyData=a=(0,k.fetchServerResponse)(new URL(e,location.origin),{flightRouterState:b,nextUrl:f?i.nextUrl:null}).then(a=>((0,h.startTransition)(()=>{(0,t.dispatchAppRouterAction)({type:g.ACTION_SERVER_PATCH,previousTree:m,serverResponse:a,navigatedAt:j})}),a)),(0,h.use)(a)}(0,h.use)(l.unresolvedThenable)}return(0,f.jsx)(j.LayoutRouterContext.Provider,{value:{parentTree:b,parentCacheNode:d,parentSegmentPath:c,url:e},children:q})}function A(a){let b,{loading:c,children:d}=a;if(b="object"==typeof c&&null!==c&&"function"==typeof c.then?(0,h.use)(c):c){let a=b[0],c=b[1],e=b[2];return(0,f.jsx)(h.Suspense,{fallback:(0,f.jsxs)(f.Fragment,{children:[c,e,a]}),children:d})}return(0,f.jsx)(f.Fragment,{children:d})}function B(a){let{parallelRouterKey:b,error:c,errorStyles:d,errorScripts:e,templateStyles:g,templateScripts:i,template:k,notFound:l,forbidden:n,unauthorized:o,segmentViewBoundaries:s}=a,t=(0,h.useContext)(j.LayoutRouterContext);if(!t)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:v,parentCacheNode:w,parentSegmentPath:x,url:B}=t,C=w.parallelRoutes,D=C.get(b);D||(D=new Map,C.set(b,D));let E=v[0],F=null===x?[b]:x.concat([E,b]),G=v[1][b],H=G[0],I=(0,r.createRouterCacheKey)(H,!0),J=(0,u.useRouterBFCache)(G,I),K=[];do{let a=J.tree,b=J.stateKey,h=a[0],s=(0,r.createRouterCacheKey)(h),t=D.get(s);if(void 0===t){let a={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1};t=a,D.set(s,a)}let u=w.loading,v=(0,f.jsxs)(j.TemplateContext.Provider,{value:(0,f.jsxs)(y,{segmentPath:F,children:[(0,f.jsx)(m.ErrorBoundary,{errorComponent:c,errorStyles:d,errorScripts:e,children:(0,f.jsx)(A,{loading:u,children:(0,f.jsx)(q.HTTPAccessFallbackBoundary,{notFound:l,forbidden:n,unauthorized:o,children:(0,f.jsxs)(p.RedirectBoundary,{children:[(0,f.jsx)(z,{url:B,tree:a,cacheNode:t,segmentPath:F}),null]})})})}),null]}),children:[g,i,k]},b);K.push(v),J=J.next}while(null!==J);return K}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},77533:(a,b,c)=>{"use strict";let d;Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{arrayBufferToString:function(){return h},decrypt:function(){return k},encrypt:function(){return j},getActionEncryptionKey:function(){return p},getClientReferenceManifestForRsc:function(){return o},getServerModuleMap:function(){return n},setReferenceManifestsSingleton:function(){return m},stringToUint8Array:function(){return i}});let e=c(49290),f=c(48723),g=c(29294);function h(a){let b=new Uint8Array(a),c=b.byteLength;if(c<65535)return String.fromCharCode.apply(null,b);let d="";for(let a=0;a{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,g.isNextRouterError)(b)||(0,f.isBailoutToCSRError)(b)||(0,i.isDynamicServerError)(b)||(0,h.isDynamicPostpone)(b)||(0,e.isPostpone)(b)||(0,d.isHangingPromiseRejectionError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=c(71729),e=c(33306),f=c(84339),g=c(46247),h=c(41820),i=c(48122);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},77925:()=>{},78922:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"AsyncMetadataOutlet",{enumerable:!0,get:function(){return g}});let d=c(21124),e=c(38301);function f(a){let{promise:b}=a,{error:c,digest:d}=(0,e.use)(b);if(c)throw d&&(c.digest=d),c;return null}function g(a){let{promise:b}=a;return(0,d.jsx)(e.Suspense,{fallback:null,children:(0,d.jsx)(f,{promise:b})})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},80773:(a,b)=>{"use strict";function c(a){return Array.isArray(a)?a[1]:a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getSegmentValue",{enumerable:!0,get:function(){return c}}),("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},81170:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/builtin/global-error.js")},82146:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"IconMark",{enumerable:!0,get:function(){return e}});let d=c(21124),e=()=>(0,d.jsx)("meta",{name:"\xabnxt-icon\xbb"})},82802:(a,b,c)=>{"use strict";Object.defineProperty(b,"u",{enumerable:!0,get:function(){return f}});let d=c(32507),e=c(64818);function f(a){let b;if(0===(b="string"==typeof a?function(a){let b=(0,e.getRouteRegex)(a);return Object.keys((0,d.getRouteMatcher)(b)(a))}(a):a).length)return null;let c=new Map,f=Math.random().toString(16).slice(2);for(let a of b)c.set(a,`%%drp:${a}:${f}%%`);return c}},83869:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createParamsFromClient:function(){return m},createPrerenderParamsForClientSegment:function(){return q},createServerParamsForMetadata:function(){return n},createServerParamsForRoute:function(){return o},createServerParamsForServerSegment:function(){return p}});let d=c(29294),e=c(48550),f=c(41820),g=c(63033),h=c(93860),i=c(98444),j=c(71729),k=c(85773),l=c(41025);function m(a,b){let c=g.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return r(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new h.InvariantError("createParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E736",enumerable:!1,configurable:!0});case"prerender-runtime":throw Object.defineProperty(new h.InvariantError("createParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E770",enumerable:!1,configurable:!0});case"request":return v(a)}(0,g.throwInvariantForMissingStore)()}let n=p;function o(a,b){let c=g.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return r(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new h.InvariantError("createServerParamsForRoute should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E738",enumerable:!1,configurable:!0});case"prerender-runtime":return s(a,c);case"request":return v(a)}(0,g.throwInvariantForMissingStore)()}function p(a,b){let c=g.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return r(a,b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new h.InvariantError("createServerParamsForServerSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E743",enumerable:!1,configurable:!0});case"prerender-runtime":return s(a,c);case"request":return v(a)}(0,g.throwInvariantForMissingStore)()}function q(a){let b=d.workAsyncStorage.getStore();if(!b)throw Object.defineProperty(new h.InvariantError("Missing workStore in createPrerenderParamsForClientSegment"),"__NEXT_ERROR_CODE",{value:"E773",enumerable:!1,configurable:!0});let c=g.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":let e=c.fallbackRouteParams;if(e){for(let d in a)if(e.has(d))return(0,j.makeHangingPromise)(c.renderSignal,b.route,"`params`")}break;case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new h.InvariantError("createPrerenderParamsForClientSegment should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E734",enumerable:!1,configurable:!0})}return Promise.resolve(a)}function r(a,b,c){switch(c.type){case"prerender":case"prerender-client":{let f=c.fallbackRouteParams;if(f){for(let h in a)if(f.has(h)){var d=a,e=b,g=c;let f=t.get(d);if(f)return f;let h=new Proxy((0,j.makeHangingPromise)(g.renderSignal,e.route,"`params`"),u);return t.set(d,h),h}}break}case"prerender-ppr":{let d=c.fallbackRouteParams;if(d){for(let e in a)if(d.has(e))return function(a,b,c,d){let e=t.get(a);if(e)return e;let g={...a},h=Promise.resolve(g);return t.set(a,h),Object.keys(a).forEach(e=>{i.wellKnownProperties.has(e)||(b.has(e)?(Object.defineProperty(g,e,{get(){let a=(0,i.describeStringPropertyAccess)("params",e);"prerender-ppr"===d.type?(0,f.postponeWithTracking)(c.route,a,d.dynamicTracking):(0,f.throwToInterruptStaticGeneration)(a,c,d)},enumerable:!0}),Object.defineProperty(h,e,{get(){let a=(0,i.describeStringPropertyAccess)("params",e);"prerender-ppr"===d.type?(0,f.postponeWithTracking)(c.route,a,d.dynamicTracking):(0,f.throwToInterruptStaticGeneration)(a,c,d)},set(a){Object.defineProperty(h,e,{value:a,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0})):h[e]=a[e])}),h}(a,d,b,c)}}}return v(a)}function s(a,b){return(0,f.delayUntilRuntimeStage)(b,v(a))}let t=new WeakMap,u={get:function(a,b,c){if("then"===b||"catch"===b||"finally"===b){let d=e.ReflectAdapter.get(a,b,c);return({[b]:(...b)=>{let c=l.dynamicAccessAsyncStorage.getStore();return c&&c.abortController.abort(Object.defineProperty(Error("Accessed fallback `params` during prerendering."),"__NEXT_ERROR_CODE",{value:"E691",enumerable:!1,configurable:!0})),new Proxy(d.apply(a,b),u)}})[b]}return e.ReflectAdapter.get(a,b,c)}};function v(a){let b=t.get(a);if(b)return b;let c=Promise.resolve(a);return t.set(a,c),Object.keys(a).forEach(b=>{i.wellKnownProperties.has(b)||(c[b]=a[b])}),c}(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`params\` should be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E307",enumerable:!1,configurable:!0})}),(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b,c){let d=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${d}used ${b}. \`params\` should be awaited before using its properties. The following properties were not available through enumeration because they conflict with builtin property names: ${function(a){switch(a.length){case 0:throw Object.defineProperty(new h.InvariantError("Expected describeListOfPropertyNames to be called with a non-empty list of strings."),"__NEXT_ERROR_CODE",{value:"E531",enumerable:!1,configurable:!0});case 1:return`\`${a[0]}\``;case 2:return`\`${a[0]}\` and \`${a[1]}\``;default:{let b="";for(let c=0;c{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BailoutToCSRError:function(){return d},isBailoutToCSRError:function(){return e}});let c="BAILOUT_TO_CLIENT_SIDE_RENDERING";class d extends Error{constructor(a){super("Bail out to client-side rendering: "+a),this.reason=a,this.digest=c}}function e(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===c}},84397:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{formatServerError:function(){return f},getStackWithoutErrorMessage:function(){return e}});let c=["useDeferredValue","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useReducer","useRef","useState","useSyncExternalStore","useTransition","experimental_useOptimistic","useOptimistic"];function d(a,b){if(a.message=b,a.stack){let c=a.stack.split("\n");c[0]=b,a.stack=c.join("\n")}}function e(a){let b=a.stack;return b?b.replace(/^[^\n]*\n/,""):""}function f(a){if("string"==typeof(null==a?void 0:a.message)){if(a.message.includes("Class extends value undefined is not a constructor or null")){let b="This might be caused by a React Class Component being rendered in a Server Component, React Class Components only works in Client Components. Read more: https://nextjs.org/docs/messages/class-component-in-server-component";if(a.message.includes(b))return;d(a,`${a.message} + +${b}`);return}if(a.message.includes("createContext is not a function"))return void d(a,'createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component');for(let b of c)if(RegExp(`\\b${b}\\b.*is not a function`).test(a.message))return void d(a,`${b} only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/react-client-hook-in-server-component`)}}},85182:(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"unauthorized",{enumerable:!0,get:function(){return d}}),c(69203).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},85773:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return i}});let d=function(a,b){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=e(b);if(c&&c.has(a))return c.get(a);var d={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(d,g,h):d[g]=a[g]}return d.default=a,c&&c.set(a,d),d}(c(38301));function e(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(e=function(a){return a?c:b})(a)}let f={current:null},g="function"==typeof d.cache?d.cache:a=>a,h=console.warn;function i(a){return function(...b){h(a(...b))}}g(a=>{try{h(f.current)}finally{f.current=null}})},85818:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{METADATA_BOUNDARY_NAME:function(){return c},OUTLET_BOUNDARY_NAME:function(){return e},ROOT_LAYOUT_BOUNDARY_NAME:function(){return f},VIEWPORT_BOUNDARY_NAME:function(){return d}});let c="__next_metadata_boundary__",d="__next_viewport_boundary__",e="__next_outlet_boundary__",f="__next_root_layout_boundary__"},87028:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return f}});let d=c(75338),e=c(44368);function f(){return(0,d.jsx)(e.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},89748:(a,b,c)=>{let{createProxy:d}=c(39893);a.exports=d("/Users/otto/Desktop/deepstudio/osw-studio-git/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js")},90461:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"default",{enumerable:!0,get:function(){return f}});let d=c(75338),e=c(44368);function f(){return(0,d.jsx)(e.HTTPAccessErrorFallback,{status:403,message:"This page could not be accessed."})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},91128:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{createPrerenderSearchParamsForClientPage:function(){return o},createSearchParamsFromClient:function(){return l},createServerSearchParamsForMetadata:function(){return m},createServerSearchParamsForServerPage:function(){return n},makeErroringSearchParamsForUseCache:function(){return t}});let d=c(63036),e=c(26906),f=c(63033),g=c(49290),h=c(82831),i=c(30787),j=c(84226),k=c(31716);function l(a,b){let c=f.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return p(b,c);case"prerender-runtime":throw Object.defineProperty(new g.InvariantError("createSearchParamsFromClient should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E769",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createSearchParamsFromClient should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E739",enumerable:!1,configurable:!0});case"request":return q(a,b)}(0,f.throwInvariantForMissingStore)()}let m=n;function n(a,b){let c=f.workUnitAsyncStorage.getStore();if(c)switch(c.type){case"prerender":case"prerender-client":case"prerender-ppr":case"prerender-legacy":return p(b,c);case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createServerSearchParamsForServerPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E747",enumerable:!1,configurable:!0});case"prerender-runtime":var d,h;return d=a,h=c,(0,e.delayUntilRuntimeStage)(h,u(d));case"request":return q(a,b)}(0,f.throwInvariantForMissingStore)()}function o(a){if(a.forceStatic)return Promise.resolve({});let b=f.workUnitAsyncStorage.getStore();if(b)switch(b.type){case"prerender":case"prerender-client":return(0,h.makeHangingPromise)(b.renderSignal,a.route,"`searchParams`");case"prerender-runtime":throw Object.defineProperty(new g.InvariantError("createPrerenderSearchParamsForClientPage should not be called in a runtime prerender."),"__NEXT_ERROR_CODE",{value:"E768",enumerable:!1,configurable:!0});case"cache":case"private-cache":case"unstable-cache":throw Object.defineProperty(new g.InvariantError("createPrerenderSearchParamsForClientPage should not be called in cache contexts."),"__NEXT_ERROR_CODE",{value:"E746",enumerable:!1,configurable:!0});case"prerender-ppr":case"prerender-legacy":case"request":return Promise.resolve({})}(0,f.throwInvariantForMissingStore)()}function p(a,b){if(a.forceStatic)return Promise.resolve({});switch(b.type){case"prerender":case"prerender-client":var c=a,f=b;let g=r.get(f);if(g)return g;let i=(0,h.makeHangingPromise)(f.renderSignal,c.route,"`searchParams`"),l=new Proxy(i,{get(a,b,c){if(Object.hasOwn(i,b))return d.ReflectAdapter.get(a,b,c);switch(b){case"then":return(0,e.annotateDynamicAccess)("`await searchParams`, `searchParams.then`, or similar",f),d.ReflectAdapter.get(a,b,c);case"status":return(0,e.annotateDynamicAccess)("`use(searchParams)`, `searchParams.status`, or similar",f),d.ReflectAdapter.get(a,b,c);default:return d.ReflectAdapter.get(a,b,c)}}});return r.set(f,l),l;case"prerender-ppr":case"prerender-legacy":var m=a,n=b;let o=r.get(m);if(o)return o;let p=Promise.resolve({}),q=new Proxy(p,{get(a,b,c){if(Object.hasOwn(p,b))return d.ReflectAdapter.get(a,b,c);switch(b){case"then":{let a="`await searchParams`, `searchParams.then`, or similar";m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n);return}case"status":{let a="`use(searchParams)`, `searchParams.status`, or similar";m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n);return}default:if("string"==typeof b&&!j.wellKnownProperties.has(b)){let a=(0,j.describeStringPropertyAccess)("searchParams",b);m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n)}return d.ReflectAdapter.get(a,b,c)}},has(a,b){if("string"==typeof b){let a=(0,j.describeHasCheckingStringProperty)("searchParams",b);return m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n),!1}return d.ReflectAdapter.has(a,b)},ownKeys(){let a="`{...searchParams}`, `Object.keys(searchParams)`, or similar";m.dynamicShouldError?(0,k.throwWithStaticGenerationBailoutErrorWithDynamicError)(m.route,a):"prerender-ppr"===n.type?(0,e.postponeWithTracking)(m.route,a,n.dynamicTracking):(0,e.throwToInterruptStaticGeneration)(a,m,n)}});return r.set(m,q),q;default:return b}}function q(a,b){return b.forceStatic?Promise.resolve({}):u(a)}let r=new WeakMap,s=new WeakMap;function t(a){let b=s.get(a);if(b)return b;let c=Promise.resolve({}),e=new Proxy(c,{get:function b(e,f,g){return Object.hasOwn(c,f)||"string"!=typeof f||"then"!==f&&j.wellKnownProperties.has(f)||(0,k.throwForSearchParamsAccessInUseCache)(a,b),d.ReflectAdapter.get(e,f,g)},has:function b(c,e){return"string"!=typeof e||"then"!==e&&j.wellKnownProperties.has(e)||(0,k.throwForSearchParamsAccessInUseCache)(a,b),d.ReflectAdapter.has(c,e)},ownKeys:function b(){(0,k.throwForSearchParamsAccessInUseCache)(a,b)}});return s.set(a,e),e}function u(a){let b=r.get(a);if(b)return b;let c=Promise.resolve(a);return r.set(a,c),Object.keys(a).forEach(b=>{j.wellKnownProperties.has(b)||Object.defineProperty(c,b,{get(){let c=f.workUnitAsyncStorage.getStore();return c&&(0,e.trackDynamicDataInDynamicRender)(c),a[b]},set(a){Object.defineProperty(c,b,{value:a,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0})}),c}(0,i.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`searchParams\` should be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E249",enumerable:!1,configurable:!0})}),(0,i.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b,c){let d=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${d}used ${b}. \`searchParams\` should be awaited before using its properties. The following properties were not available through enumeration because they conflict with builtin or well-known property names: ${function(a){switch(a.length){case 0:throw Object.defineProperty(new g.InvariantError("Expected describeListOfPropertyNames to be called with a non-empty list of strings."),"__NEXT_ERROR_CODE",{value:"E531",enumerable:!1,configurable:!0});case 1:return`\`${a[0]}\``;case 2:return`\`${a[0]}\` and \`${a[1]}\``;default:{let b="";for(let c=0;c{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{setCacheBustingSearchParam:function(){return f},setCacheBustingSearchParamWithHash:function(){return g}});let d=c(67555),e=c(14172),f=(a,b)=>{g(a,(0,d.computeCacheBustingSearchParam)(b[e.NEXT_ROUTER_PREFETCH_HEADER],b[e.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],b[e.NEXT_ROUTER_STATE_TREE_HEADER],b[e.NEXT_URL]))},g=(a,b)=>{let c=a.search,d=(c.startsWith("?")?c.slice(1):c).split("&").filter(a=>a&&!a.startsWith(""+e.NEXT_RSC_UNION_QUERY+"="));b.length>0?d.push(e.NEXT_RSC_UNION_QUERY+"="+b):d.push(""+e.NEXT_RSC_UNION_QUERY),a.search=d.length?"?"+d.join("&"):""};("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},91330:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},ServerInsertedHTMLContext:function(){return j.ServerInsertedHTMLContext},forbidden:function(){return i.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},unauthorized:function(){return i.unauthorized},unstable_isUnrecognizedActionError:function(){return k.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return i.unstable_rethrow},useParams:function(){return p},usePathname:function(){return n},useRouter:function(){return o},useSearchParams:function(){return m},useSelectedLayoutSegment:function(){return r},useSelectedLayoutSegments:function(){return q},useServerInsertedHTML:function(){return j.useServerInsertedHTML}});let d=c(38301),e=c(12889),f=c(38398),g=c(80773),h=c(72454),i=c(39903),j=c(21832),k=c(40689),l=c(41820).useDynamicRouteParams;function m(){let a=(0,d.useContext)(f.SearchParamsContext),b=(0,d.useMemo)(()=>a?new i.ReadonlyURLSearchParams(a):null,[a]);{let{bailoutToClientRendering:a}=c(38029);a("useSearchParams()")}return b}function n(){return null==l||l("usePathname()"),(0,d.useContext)(f.PathnameContext)}function o(){let a=(0,d.useContext)(e.AppRouterContext);if(null===a)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return a}function p(){return null==l||l("useParams()"),(0,d.useContext)(f.PathParamsContext)}function q(a){void 0===a&&(a="children"),null==l||l("useSelectedLayoutSegments()");let b=(0,d.useContext)(e.LayoutRouterContext);return b?function a(b,c,d,e){let f;if(void 0===d&&(d=!0),void 0===e&&(e=[]),d)f=b[1][c];else{var i;let a=b[1];f=null!=(i=a.children)?i:Object.values(a)[0]}if(!f)return e;let j=f[0],k=(0,g.getSegmentValue)(j);return!k||k.startsWith(h.PAGE_SEGMENT_KEY)?e:(e.push(k),a(f,c,!1,e))}(b.parentTree,a):null}function r(a){void 0===a&&(a="children"),null==l||l("useSelectedLayoutSegment()");let b=q(a);if(!b||0===b.length)return null;let c="children"===a?b[0]:b[b.length-1];return c===h.DEFAULT_SEGMENT_KEY?null:c}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},91752:(a,b,c)=>{"use strict";a.exports=c(33873)},92781:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{REDIRECT_ERROR_CODE:function(){return e},RedirectType:function(){return f},isRedirectError:function(){return g}});let d=c(91203),e="NEXT_REDIRECT";var f=function(a){return a.push="push",a.replace="replace",a}({});function g(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,f]=b,g=b.slice(2,-2).join(";"),h=Number(b.at(-2));return c===e&&("replace"===f||"push"===f)&&"string"==typeof g&&!isNaN(h)&&h in d.RedirectStatusCode}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},93722:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"escapeStringRegexp",{enumerable:!0,get:function(){return e}});let c=/[|\\{}()[\]^$+*?.-]/,d=/[|\\{}()[\]^$+*?.-]/g;function e(a){return c.test(a)?a.replace(d,"\\$&"):a}},93745:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return c}});let c=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},93754:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"matchSegment",{enumerable:!0,get:function(){return c}});let c=(a,b)=>"string"==typeof a?"string"==typeof b&&a===b:"string"!=typeof b&&a[0]===b[0]&&a[1]===b[1];("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},93860:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"InvariantError",{enumerable:!0,get:function(){return c}});class c extends Error{constructor(a,b){super("Invariant: "+(a.endsWith(".")?a:a+".")+" This is a bug in Next.js.",b),this.name="InvariantError"}}},94515:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ErrorBoundary:function(){return k},ErrorBoundaryHandler:function(){return j}});let d=c(35288),e=c(21124),f=d._(c(38301)),g=c(50696),h=c(46247);c(58997);let i=c(2418);c(27963);class j extends f.default.Component{static getDerivedStateFromError(a){if((0,h.isNextRouterError)(a))throw a;return{error:a}}static getDerivedStateFromProps(a,b){let{error:c}=b;return a.pathname!==b.previousPathname&&b.error?{error:null,previousPathname:a.pathname}:{error:b.error,previousPathname:a.pathname}}render(){return this.state.error&&1?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(i.HandleISRError,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,e.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(a){super(a),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function k(a){let{errorComponent:b,errorStyles:c,errorScripts:d,children:f}=a,h=(0,g.useUntrackedPathname)();return b?(0,e.jsx)(j,{pathname:h,errorComponent:b,errorStyles:c,errorScripts:d,children:f}):(0,e.jsx)(e.Fragment,{children:f})}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},94881:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getAppBuildId:function(){return e},setAppBuildId:function(){return d}});let c="";function d(a){c=a}function e(){return c}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},95812:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createRouterCacheKey",{enumerable:!0,get:function(){return e}});let d=c(72454);function e(a,b){return(void 0===b&&(b=!1),Array.isArray(a))?a[0]+"|"+a[1]+"|"+a[2]:b&&a.startsWith(d.PAGE_SEGMENT_KEY)?d.PAGE_SEGMENT_KEY:a}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},96610:(a,b,c)=>{"use strict";c.d(b,{Ht:()=>g});var d=c(38301),e=c(21124),f=d.createContext(void 0),g=({client:a,children:b})=>(d.useEffect(()=>(a.mount(),()=>{a.unmount()}),[a]),(0,e.jsx)(f.Provider,{value:a,children:b}))},96613:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{resolveAlternates:function(){return j},resolveAppLinks:function(){return q},resolveAppleWebApp:function(){return p},resolveFacebook:function(){return s},resolveItunes:function(){return r},resolvePagination:function(){return t},resolveRobots:function(){return m},resolveThemeColor:function(){return g},resolveVerification:function(){return o}});let d=c(60096),e=c(7585);function f(a,b,c,d){if(a instanceof URL){let b=new URL(c,a);a.searchParams.forEach((a,c)=>b.searchParams.set(c,a)),a=b}return(0,e.resolveAbsoluteUrlWithPathname)(a,b,c,d)}let g=a=>{var b;if(!a)return null;let c=[];return null==(b=(0,d.resolveAsArrayOrUndefined)(a))||b.forEach(a=>{"string"==typeof a?c.push({color:a}):"object"==typeof a&&c.push({color:a.color,media:a.media})}),c};async function h(a,b,c,d){if(!a)return null;let e={};for(let[g,h]of Object.entries(a))if("string"==typeof h||h instanceof URL){let a=await c;e[g]=[{url:f(h,b,a,d)}]}else if(h&&h.length){e[g]=[];let a=await c;h.forEach((c,h)=>{let i=f(c.url,b,a,d);e[g][h]={url:i,title:c.title}})}return e}async function i(a,b,c,d){return a?{url:f("string"==typeof a||a instanceof URL?a:a.url,b,await c,d)}:null}let j=async(a,b,c,d)=>{if(!a)return null;let e=await i(a.canonical,b,c,d),f=await h(a.languages,b,c,d),g=await h(a.media,b,c,d);return{canonical:e,languages:f,media:g,types:await h(a.types,b,c,d)}},k=["noarchive","nosnippet","noimageindex","nocache","notranslate","indexifembedded","nositelinkssearchbox","unavailable_after","max-video-preview","max-image-preview","max-snippet"],l=a=>{if(!a)return null;if("string"==typeof a)return a;let b=[];for(let c of(a.index?b.push("index"):"boolean"==typeof a.index&&b.push("noindex"),a.follow?b.push("follow"):"boolean"==typeof a.follow&&b.push("nofollow"),k)){let d=a[c];void 0!==d&&!1!==d&&b.push("boolean"==typeof d?c:`${c}:${d}`)}return b.join(", ")},m=a=>a?{basic:l(a),googleBot:"string"!=typeof a?l(a.googleBot):null}:null,n=["google","yahoo","yandex","me","other"],o=a=>{if(!a)return null;let b={};for(let c of n){let e=a[c];if(e)if("other"===c)for(let c in b.other={},a.other){let e=(0,d.resolveAsArrayOrUndefined)(a.other[c]);e&&(b.other[c]=e)}else b[c]=(0,d.resolveAsArrayOrUndefined)(e)}return b},p=a=>{var b;if(!a)return null;if(!0===a)return{capable:!0};let c=a.startupImage?null==(b=(0,d.resolveAsArrayOrUndefined)(a.startupImage))?void 0:b.map(a=>"string"==typeof a?{url:a}:a):null;return{capable:!("capable"in a)||!!a.capable,title:a.title||null,startupImage:c,statusBarStyle:a.statusBarStyle||"default"}},q=a=>{if(!a)return null;for(let b in a)a[b]=(0,d.resolveAsArrayOrUndefined)(a[b]);return a},r=async(a,b,c,d)=>a?{appId:a.appId,appArgument:a.appArgument?f(a.appArgument,b,await c,d):void 0}:null,s=a=>a?{appId:a.appId,admins:(0,d.resolveAsArrayOrUndefined)(a.admins)}:null,t=async(a,b,c,d)=>({previous:(null==a?void 0:a.previous)?f(a.previous,b,await c,d):null,next:(null==a?void 0:a.next)?f(a.next,b,await c,d):null})},96896:(a,b)=>{"use strict";function c(a){return"("===a[0]&&a.endsWith(")")}function d(a){return a.startsWith("@")&&"@children"!==a}function e(a,b){if(a.includes(f)){let a=JSON.stringify(b);return"{}"!==a?f+"?"+a:f}return a}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DEFAULT_SEGMENT_KEY:function(){return g},PAGE_SEGMENT_KEY:function(){return f},addSearchParamsIfPageSegment:function(){return e},isGroupSegment:function(){return c},isParallelRouteSegment:function(){return d}});let f="__PAGE__",g="__DEFAULT__"},97388:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{atLeastOneTask:function(){return e},scheduleImmediate:function(){return d},scheduleOnNextTick:function(){return c},waitAtLeastOneReactRenderTask:function(){return f}});let c=a=>{Promise.resolve().then(()=>{process.nextTick(a)})},d=a=>{setImmediate(a)};function e(){return new Promise(a=>d(a))}function f(){return new Promise(a=>setImmediate(a))}},97954:(a,b,c)=>{"use strict";a.exports=c(49754).vendored["react-rsc"].ReactServerDOMWebpackServer},98444:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{describeHasCheckingStringProperty:function(){return e},describeStringPropertyAccess:function(){return d},wellKnownProperties:function(){return f}});let c=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function d(a,b){return c.test(b)?"`"+a+"."+b+"`":"`"+a+"["+JSON.stringify(b)+"]`"}function e(a,b){let c=JSON.stringify(b);return"`Reflect.has("+a+", "+c+")`, `"+c+" in "+a+"`, or similar"}let f=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","_debugInfo","toJSON","$$typeof","__esModule"])},98541:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{HTTPAccessErrorStatus:function(){return c},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return e},getAccessFallbackErrorTypeByStatus:function(){return h},getAccessFallbackHTTPStatus:function(){return g},isHTTPAccessFallbackError:function(){return f}});let c={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},d=new Set(Object.values(c)),e="NEXT_HTTP_ERROR_FALLBACK";function f(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let[b,c]=a.digest.split(";");return b===e&&d.has(Number(c))}function g(a){return Number(a.digest.split(";")[1])}function h(a){switch(a){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)}}; \ No newline at end of file diff --git a/.next/server/chunks/5155.js b/.next/server/chunks/5155.js deleted file mode 100644 index 8f14ebe050b306ebd57083923fda09200cea26bd..0000000000000000000000000000000000000000 --- a/.next/server/chunks/5155.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";exports.id=5155,exports.ids=[5155],exports.modules={3361:(e,t,r)=>{function a(e,t,...r){if((r=r.filter(Boolean)).length>2){let t=r.pop();e+=`one of type ${r.join(", ")}, or ${t}.`}else 2===r.length?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return null==t?e+=` Received ${t}`:"function"==typeof t&&t.name?e+=` Received function ${t.name}`:"object"==typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}r.d(t,{A:()=>o,t:()=>n});let o=(e,...t)=>a("Key must be ",e,...t);function n(e,t,...r){return a(`Key for the ${e} algorithm must be `,t,...r)}},4208:(e,t,r)=>{function a(e,t="algorithm.name"){return TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function o(e,t){return e.name===t}function n(e){return parseInt(e.name.slice(4),10)}r.d(t,{A:()=>i});var s=r(3361);let i=async(e,t,r)=>{if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw TypeError((0,s.A)(t,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[r])}return!function(e,t,r){switch(t){case"HS256":case"HS384":case"HS512":{if(!o(e.algorithm,"HMAC"))throw a("HMAC");let r=parseInt(t.slice(2),10);if(n(e.algorithm.hash)!==r)throw a(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!o(e.algorithm,"RSASSA-PKCS1-v1_5"))throw a("RSASSA-PKCS1-v1_5");let r=parseInt(t.slice(2),10);if(n(e.algorithm.hash)!==r)throw a(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!o(e.algorithm,"RSA-PSS"))throw a("RSA-PSS");let r=parseInt(t.slice(2),10);if(n(e.algorithm.hash)!==r)throw a(`SHA-${r}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!o(e.algorithm,"Ed25519"))throw a("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!o(e.algorithm,t))throw a(t);break;case"ES256":case"ES384":case"ES512":{if(!o(e.algorithm,"ECDSA"))throw a("ECDSA");let r=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}(t);if(e.algorithm.namedCurve!==r)throw a(r,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}var s=e,i=r;if(i&&!s.usages.includes(i))throw TypeError(`CryptoKey does not support this operation, its usages must include ${i}.`)}(t,e,r),t}},16130:(e,t,r)=>{r.d(t,{M3:()=>s,W2:()=>n,ll:()=>o,t9:()=>i});var a=r(89531);function o(e){return(0,a.A)(e)&&"string"==typeof e.kty}function n(e){return"oct"!==e.kty&&("AKP"===e.kty&&"string"==typeof e.priv||"string"==typeof e.d)}function s(e){return"oct"!==e.kty&&void 0===e.d&&void 0===e.priv}function i(e){return"oct"===e.kty&&"string"==typeof e.k}},16263:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(70803);let o=(e,t)=>{let r=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:parseInt(e.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:e};default:throw new a.T0(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}},21187:(e,t,r)=>{r.d(t,{D:()=>o,l:()=>n});var a=r(97989);function o(e){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof e?e:a.D0.decode(e),{alphabet:"base64url"});let t=e;t instanceof Uint8Array&&(t=a.D0.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{var r=t;if(Uint8Array.fromBase64)return Uint8Array.fromBase64(r);let e=atob(r),a=new Uint8Array(e.length);for(let t=0;t{function a(e){return e?.[Symbol.toStringTag]==="CryptoKey"}function o(e){return e?.[Symbol.toStringTag]==="KeyObject"}r.d(t,{Ay:()=>n,D2:()=>o,R7:()=>a});let n=e=>a(e)||o(e)},41286:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(70803);let o=(e,t,r,o,n)=>{let s;if(void 0!==n.crit&&o?.crit===void 0)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!o||void 0===o.crit)return new Set;if(!Array.isArray(o.crit)||0===o.crit.length||o.crit.some(e=>"string"!=typeof e||0===e.length))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');for(let i of(s=void 0!==r?new Map([...Object.entries(r),...t.entries()]):t,o.crit)){if(!s.has(i))throw new a.T0(`Extension Header Parameter "${i}" is not recognized`);if(void 0===n[i])throw new e(`Extension Header Parameter "${i}" is missing`);if(s.get(i)&&void 0===o[i])throw new e(`Extension Header Parameter "${i}" MUST be integrity protected`)}return new Set(o.crit)}},44032:(e,t,r)=>{r.d(t,{A:()=>l});var a=r(3361),o=r(29047),n=r(16130);let s=e=>e?.[Symbol.toStringTag],i=(e,t,r)=>{if(void 0!==t.use){let e;switch(r){case"sign":case"verify":e="sig";break;case"encrypt":case"decrypt":e="enc"}if(t.use!==e)throw TypeError(`Invalid key for this operation, its "use" must be "${e}" when present`)}if(void 0!==t.alg&&t.alg!==e)throw TypeError(`Invalid key for this operation, its "alg" must be "${e}" when present`);if(Array.isArray(t.key_ops)){let a;switch(!0){case"sign"===r||"verify"===r:case"dir"===e:case e.includes("CBC-HS"):a=r;break;case e.startsWith("PBES2"):a="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(e):a=!e.includes("GCM")&&e.endsWith("KW")?"encrypt"===r?"wrapKey":"unwrapKey":r;break;case"encrypt"===r&&e.startsWith("RSA"):a="wrapKey";break;case"decrypt"===r:a=e.startsWith("RSA")?"unwrapKey":"deriveBits"}if(a&&t.key_ops?.includes?.(a)===!1)throw TypeError(`Invalid key for this operation, its "key_ops" must include "${a}" when present`)}return!0},c=(e,t,r)=>{if(!(t instanceof Uint8Array)){if(n.ll(t)){if(n.t9(t)&&i(e,t,r))return;throw TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!(0,o.Ay)(t))throw TypeError((0,a.t)(e,t,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==t.type)throw TypeError(`${s(t)} instances for symmetric algorithms must be of type "secret"`)}},d=(e,t,r)=>{if(n.ll(t))switch(r){case"decrypt":case"sign":if(n.W2(t)&&i(e,t,r))return;throw TypeError("JSON Web Key for this operation be a private JWK");case"encrypt":case"verify":if(n.M3(t)&&i(e,t,r))return;throw TypeError("JSON Web Key for this operation be a public JWK")}if(!(0,o.Ay)(t))throw TypeError((0,a.t)(e,t,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===t.type)throw TypeError(`${s(t)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===t.type)switch(r){case"sign":throw TypeError(`${s(t)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw TypeError(`${s(t)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===t.type)switch(r){case"verify":throw TypeError(`${s(t)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw TypeError(`${s(t)} instances for asymmetric algorithm encryption must be of type "public"`)}},l=(e,t,r)=>{e.startsWith("HS")||"dir"===e||e.startsWith("PBES2")||/^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e)||/^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e)?c(e,t,r):d(e,t,r)}},44999:(e,t,r)=>{r.d(t,{UL:()=>a.U});var a=r(99933);r(86280),r(73913)},70803:(e,t,r)=>{r.d(t,{Dp:()=>d,Rb:()=>s,T0:()=>i,Ye:()=>c,h2:()=>u,ie:()=>o,n:()=>n});class a extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(e,t){super(e,t),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class o extends a{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(e,t,r="unspecified",a="unspecified"){super(e,{cause:{claim:r,reason:a,payload:t}}),this.claim=r,this.reason=a,this.payload=t}}class n extends a{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(e,t,r="unspecified",a="unspecified"){super(e,{cause:{claim:r,reason:a,payload:t}}),this.claim=r,this.reason=a,this.payload=t}}class s extends a{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class i extends a{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class c extends a{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class d extends a{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class l extends a{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t)}}class u extends a{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(e="signature verification failed",t){super(e,t)}}},73913:(e,t,r)=>{let a=r(63033),o=r(29294),n=r(84971),s=r(76926),i=r(80023),c=r(98479);function d(){let e=o.workAsyncStorage.getStore(),t=a.workUnitAsyncStorage.getStore();switch((!e||!t)&&(0,a.throwForMissingRequestStore)("draftMode"),t.type){case"request":return l(t.draftMode,e);case"cache":case"unstable-cache":let r=(0,a.getDraftModeProviderForCacheScope)(e,t);if(r)return l(r,e);case"prerender":case"prerender-ppr":case"prerender-legacy":return p(null);default:return t}}function l(e,t){let r,a=u.get(d);return a||(r=p(e),u.set(e,r),r)}let u=new WeakMap;function p(e){let t=new f(e),r=Promise.resolve(t);return Object.defineProperty(r,"isEnabled",{get:()=>t.isEnabled,set(e){Object.defineProperty(r,"isEnabled",{value:e,writable:!0,enumerable:!0})},enumerable:!0,configurable:!0}),r.enable=t.enable.bind(t),r.disable=t.disable.bind(t),r}class f{constructor(e){this._provider=e}get isEnabled(){return null!==this._provider&&this._provider.isEnabled}enable(){h("draftMode().enable()"),null!==this._provider&&this._provider.enable()}disable(){h("draftMode().disable()"),null!==this._provider&&this._provider.disable()}}let y=(0,s.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`draftMode()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E377",enumerable:!1,configurable:!0})});function h(e){let t=o.workAsyncStorage.getStore(),r=a.workUnitAsyncStorage.getStore();if(t){if(r){if("cache"===r.type)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside "use cache". The enabled status of draftMode can be read in caches but you must not enable or disable draftMode inside a cache. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E246",enumerable:!1,configurable:!0});else if("unstable-cache"===r.type)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside a function cached with "unstable_cache(...)". The enabled status of draftMode can be read in caches but you must not enable or disable draftMode inside a cache. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E259",enumerable:!1,configurable:!0});else if("after"===r.phase)throw Object.defineProperty(Error(`Route ${t.route} used "${e}" inside \`after\`. The enabled status of draftMode can be read inside \`after\` but you cannot enable or disable draftMode. See more info here: https://nextjs.org/docs/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E348",enumerable:!1,configurable:!0})}if(t.dynamicShouldError)throw Object.defineProperty(new i.StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(r){if("prerender"===r.type){let a=Object.defineProperty(Error(`Route ${t.route} used ${e} without first calling \`await connection()\`. See more info here: https://nextjs.org/docs/messages/next-prerender-sync-headers`),"__NEXT_ERROR_CODE",{value:"E126",enumerable:!1,configurable:!0});(0,n.abortAndThrowOnSynchronousRequestDataAccess)(t.route,e,a,r)}else if("prerender-ppr"===r.type)(0,n.postponeWithTracking)(t.route,e,r.dynamicTracking);else if("prerender-legacy"===r.type){r.revalidate=0;let a=Object.defineProperty(new c.DynamicServerError(`Route ${t.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw t.dynamicUsageDescription=e,t.dynamicUsageStack=a.stack,a}}}}},74996:(e,t,r)=>{r.d(t,{A:()=>a});let a=(...e)=>{let t,r=e.filter(Boolean);if(0===r.length||1===r.length)return!0;for(let e of r){let r=Object.keys(e);if(!t||0===t.size){t=new Set(r);continue}for(let e of r){if(t.has(e))return!1;t.add(e)}}return!0}},76926:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return c}});let a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(a,s,i):a[s]=e[s]}return a.default=e,r&&r.set(e,a),a}(r(61120));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}let n={current:null},s="function"==typeof a.cache?a.cache:e=>e,i=console.warn;function c(e){return function(...t){i(e(...t))}}s(e=>{try{i(n.current)}finally{n.current=null}})},77412:(e,t,r)=>{r.d(t,{V:()=>w});var a=r(21187),o=r(16263),n=r(92120),s=r(4208);let i=async(e,t,r,a)=>{let i=await (0,s.A)(e,t,"verify");(0,n.A)(e,i);let c=(0,o.A)(e,i.algorithm);try{return await crypto.subtle.verify(c,i,r,a)}catch{return!1}};var c=r(70803),d=r(97989),l=r(74996),u=r(89531),p=r(44032),f=r(41286);let y=(e,t)=>{if(void 0!==t&&(!Array.isArray(t)||t.some(e=>"string"!=typeof e)))throw TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)};var h=r(95548);async function b(e,t,r){let o,n;if(!(0,u.A)(e))throw new c.Ye("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new c.Ye('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!=typeof e.protected)throw new c.Ye("JWS Protected Header incorrect type");if(void 0===e.payload)throw new c.Ye("JWS Payload missing");if("string"!=typeof e.signature)throw new c.Ye("JWS Signature missing or incorrect type");if(void 0!==e.header&&!(0,u.A)(e.header))throw new c.Ye("JWS Unprotected Header incorrect type");let s={};if(e.protected)try{let t=(0,a.D)(e.protected);s=JSON.parse(d.D0.decode(t))}catch{throw new c.Ye("JWS Protected Header is invalid")}if(!(0,l.A)(s,e.header))throw new c.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let b={...s,...e.header},m=(0,f.A)(c.Ye,new Map([["b64",!0]]),r?.crit,s,b),g=!0;if(m.has("b64")&&"boolean"!=typeof(g=s.b64))throw new c.Ye('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:w}=b;if("string"!=typeof w||!w)throw new c.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');let S=r&&y("algorithms",r.algorithms);if(S&&!S.has(w))throw new c.Rb('"alg" (Algorithm) Header Parameter value not allowed');if(g){if("string"!=typeof e.payload)throw new c.Ye("JWS Payload must be a string")}else if("string"!=typeof e.payload&&!(e.payload instanceof Uint8Array))throw new c.Ye("JWS Payload must be a string or an Uint8Array instance");let A=!1;"function"==typeof t&&(t=await t(s,e),A=!0),(0,p.A)(w,t,"verify");let E=(0,d.xW)(d.Rd.encode(e.protected??""),d.Rd.encode("."),"string"==typeof e.payload?d.Rd.encode(e.payload):e.payload);try{o=(0,a.D)(e.signature)}catch{throw new c.Ye("Failed to base64url decode the signature")}let v=await (0,h.A)(t,w);if(!await i(w,v,o,E))throw new c.h2;if(g)try{n=(0,a.D)(e.payload)}catch{throw new c.Ye("Failed to base64url decode the payload")}else n="string"==typeof e.payload?d.Rd.encode(e.payload):e.payload;let R={payload:n};return(void 0!==e.protected&&(R.protectedHeader=s),void 0!==e.header&&(R.unprotectedHeader=e.header),A)?{...R,key:v}:R}async function m(e,t,r){if(e instanceof Uint8Array&&(e=d.D0.decode(e)),"string"!=typeof e)throw new c.Ye("Compact JWS must be a string or Uint8Array");let{0:a,1:o,2:n,length:s}=e.split(".");if(3!==s)throw new c.Ye("Invalid Compact JWS");let i=await b({payload:o,protected:a,signature:n},t,r),l={payload:i.payload,protectedHeader:i.protectedHeader};return"function"==typeof t?{...l,key:i.key}:l}var g=r(91492);async function w(e,t,r){let a=await m(e,t,r);if(a.protectedHeader.crit?.includes("b64")&&!1===a.protectedHeader.b64)throw new c.Dp("JWTs MUST NOT use unencoded payload");let o={payload:(0,g.k)(a.protectedHeader,a.payload,r),protectedHeader:a.protectedHeader};return"function"==typeof t?{...o,key:a.key}:o}},86280:(e,t,r)=>{let a=r(92584),o=r(29294),n=r(63033),s=r(84971),i=r(80023),c=r(68388),d=r(76926),l=(r(44523),r(8719)),u=new WeakMap;function p(e){let t=u.get(e);if(t)return t;let r=Promise.resolve(e);return u.set(e,r),Object.defineProperties(r,{append:{value:e.append.bind(e)},delete:{value:e.delete.bind(e)},get:{value:e.get.bind(e)},has:{value:e.has.bind(e)},set:{value:e.set.bind(e)},getSetCookie:{value:e.getSetCookie.bind(e)},forEach:{value:e.forEach.bind(e)},keys:{value:e.keys.bind(e)},values:{value:e.values.bind(e)},entries:{value:e.entries.bind(e)},[Symbol.iterator]:{value:e[Symbol.iterator].bind(e)}}),r}function f(e){return"string"==typeof e?`'${e}'`:"..."}let y=(0,d.createDedupedByCallsiteServerErrorLoggerDev)(h);function h(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`headers()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})}},87806:(e,t,r)=>{r.d(t,{P:()=>m});var a=r(21187),o=r(16263),n=r(92120),s=r(4208);let i=async(e,t,r)=>{let a=await (0,s.A)(e,t,"sign");return(0,n.A)(e,a),new Uint8Array(await crypto.subtle.sign((0,o.A)(e,a.algorithm),a,r))};var c=r(74996),d=r(70803),l=r(97989),u=r(44032),p=r(41286),f=r(95548);class y{#e;#t;#r;constructor(e){if(!(e instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#e=e}setProtectedHeader(e){if(this.#t)throw TypeError("setProtectedHeader can only be called once");return this.#t=e,this}setUnprotectedHeader(e){if(this.#r)throw TypeError("setUnprotectedHeader can only be called once");return this.#r=e,this}async sign(e,t){let r;if(!this.#t&&!this.#r)throw new d.Ye("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!(0,c.A)(this.#t,this.#r))throw new d.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let o={...this.#t,...this.#r},n=(0,p.A)(d.Ye,new Map([["b64",!0]]),t?.crit,this.#t,o),s=!0;if(n.has("b64")&&"boolean"!=typeof(s=this.#t.b64))throw new d.Ye('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:y}=o;if("string"!=typeof y||!y)throw new d.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,u.A)(y,e,"sign");let h=this.#e;s&&(h=l.Rd.encode((0,a.l)(h))),r=this.#t?l.Rd.encode((0,a.l)(JSON.stringify(this.#t))):l.Rd.encode("");let b=(0,l.xW)(r,l.Rd.encode("."),h),m=await (0,f.A)(e,y),g=await i(y,m,b),w={signature:(0,a.l)(g),payload:""};return s&&(w.payload=l.D0.decode(h)),this.#r&&(w.header=this.#r),this.#t&&(w.protected=l.D0.decode(r)),w}}class h{#a;constructor(e){this.#a=new y(e)}setProtectedHeader(e){return this.#a.setProtectedHeader(e),this}async sign(e,t){let r=await this.#a.sign(e,t);if(void 0===r.payload)throw TypeError("use the flattened module for creating JWS with b64: false");return`${r.protected}.${r.payload}.${r.signature}`}}var b=r(91492);class m{#t;#o;constructor(e={}){this.#o=new b.c(e)}setIssuer(e){return this.#o.iss=e,this}setSubject(e){return this.#o.sub=e,this}setAudience(e){return this.#o.aud=e,this}setJti(e){return this.#o.jti=e,this}setNotBefore(e){return this.#o.nbf=e,this}setExpirationTime(e){return this.#o.exp=e,this}setIssuedAt(e){return this.#o.iat=e,this}setProtectedHeader(e){return this.#t=e,this}async sign(e,t){let r=new h(this.#o.data());if(r.setProtectedHeader(this.#t),Array.isArray(this.#t?.crit)&&this.#t.crit.includes("b64")&&!1===this.#t.b64)throw new d.Dp("JWTs MUST NOT use unencoded payload");return r.sign(e,t)}}},89531:(e,t,r)=>{r.d(t,{A:()=>a});let a=e=>{if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},91492:(e,t,r)=>{r.d(t,{c:()=>f,k:()=>p});var a=r(70803),o=r(97989);let n=e=>Math.floor(e.getTime()/1e3),s=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,i=e=>{let t,r=s.exec(e);if(!r||r[4]&&r[1])throw TypeError("Invalid time period format");let a=parseFloat(r[2]);switch(r[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":t=Math.round(a);break;case"minute":case"minutes":case"min":case"mins":case"m":t=Math.round(60*a);break;case"hour":case"hours":case"hr":case"hrs":case"h":t=Math.round(3600*a);break;case"day":case"days":case"d":t=Math.round(86400*a);break;case"week":case"weeks":case"w":t=Math.round(604800*a);break;default:t=Math.round(0x1e187e0*a)}return"-"===r[1]||"ago"===r[4]?-t:t};var c=r(89531);function d(e,t){if(!Number.isFinite(t))throw TypeError(`Invalid ${e} input`);return t}let l=e=>e.includes("/")?e.toLowerCase():`application/${e.toLowerCase()}`,u=(e,t)=>"string"==typeof e?t.includes(e):!!Array.isArray(e)&&t.some(Set.prototype.has.bind(new Set(e)));function p(e,t,r={}){let s,d;try{s=JSON.parse(o.D0.decode(t))}catch{}if(!(0,c.A)(s))throw new a.Dp("JWT Claims Set must be a top-level JSON object");let{typ:f}=r;if(f&&("string"!=typeof e.typ||l(e.typ)!==l(f)))throw new a.ie('unexpected "typ" JWT header value',s,"typ","check_failed");let{requiredClaims:y=[],issuer:h,subject:b,audience:m,maxTokenAge:g}=r,w=[...y];for(let e of(void 0!==g&&w.push("iat"),void 0!==m&&w.push("aud"),void 0!==b&&w.push("sub"),void 0!==h&&w.push("iss"),new Set(w.reverse())))if(!(e in s))throw new a.ie(`missing required "${e}" claim`,s,e,"missing");if(h&&!(Array.isArray(h)?h:[h]).includes(s.iss))throw new a.ie('unexpected "iss" claim value',s,"iss","check_failed");if(b&&s.sub!==b)throw new a.ie('unexpected "sub" claim value',s,"sub","check_failed");if(m&&!u(s.aud,"string"==typeof m?[m]:m))throw new a.ie('unexpected "aud" claim value',s,"aud","check_failed");switch(typeof r.clockTolerance){case"string":d=i(r.clockTolerance);break;case"number":d=r.clockTolerance;break;case"undefined":d=0;break;default:throw TypeError("Invalid clockTolerance option type")}let{currentDate:S}=r,A=n(S||new Date);if((void 0!==s.iat||g)&&"number"!=typeof s.iat)throw new a.ie('"iat" claim must be a number',s,"iat","invalid");if(void 0!==s.nbf){if("number"!=typeof s.nbf)throw new a.ie('"nbf" claim must be a number',s,"nbf","invalid");if(s.nbf>A+d)throw new a.ie('"nbf" claim timestamp check failed',s,"nbf","check_failed")}if(void 0!==s.exp){if("number"!=typeof s.exp)throw new a.ie('"exp" claim must be a number',s,"exp","invalid");if(s.exp<=A-d)throw new a.n('"exp" claim timestamp check failed',s,"exp","check_failed")}if(g){let e=A-s.iat;if(e-d>("number"==typeof g?g:i(g)))throw new a.n('"iat" claim timestamp check failed (too far in the past)',s,"iat","check_failed");if(e<0-d)throw new a.ie('"iat" claim timestamp check failed (it should be in the past)',s,"iat","check_failed")}return s}class f{#e;constructor(e){if(!(0,c.A)(e))throw TypeError("JWT Claims Set MUST be an object");this.#e=structuredClone(e)}data(){return o.Rd.encode(JSON.stringify(this.#e))}get iss(){return this.#e.iss}set iss(e){this.#e.iss=e}get sub(){return this.#e.sub}set sub(e){this.#e.sub=e}get aud(){return this.#e.aud}set aud(e){this.#e.aud=e}set jti(e){this.#e.jti=e}set nbf(e){"number"==typeof e?this.#e.nbf=d("setNotBefore",e):e instanceof Date?this.#e.nbf=d("setNotBefore",n(e)):this.#e.nbf=n(new Date)+i(e)}set exp(e){"number"==typeof e?this.#e.exp=d("setExpirationTime",e):e instanceof Date?this.#e.exp=d("setExpirationTime",n(e)):this.#e.exp=n(new Date)+i(e)}set iat(e){void 0===e?this.#e.iat=n(new Date):e instanceof Date?this.#e.iat=d("setIssuedAt",n(e)):"string"==typeof e?this.#e.iat=d("setIssuedAt",n(new Date)+i(e)):this.#e.iat=d("setIssuedAt",e)}}},92120:(e,t,r)=>{r.d(t,{A:()=>a});let a=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){let{modulusLength:r}=t.algorithm;if("number"!=typeof r||r<2048)throw TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}},92584:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HeadersAdapter:function(){return n},ReadonlyHeadersError:function(){return o}});let a=r(43763);class o extends Error{constructor(){super("Headers cannot be modified. Read more: https://nextjs.org/docs/app/api-reference/functions/headers")}static callable(){throw new o}}class n extends Headers{constructor(e){super(),this.headers=new Proxy(e,{get(t,r,o){if("symbol"==typeof r)return a.ReflectAdapter.get(t,r,o);let n=r.toLowerCase(),s=Object.keys(e).find(e=>e.toLowerCase()===n);if(void 0!==s)return a.ReflectAdapter.get(t,s,o)},set(t,r,o,n){if("symbol"==typeof r)return a.ReflectAdapter.set(t,r,o,n);let s=r.toLowerCase(),i=Object.keys(e).find(e=>e.toLowerCase()===s);return a.ReflectAdapter.set(t,i??r,o,n)},has(t,r){if("symbol"==typeof r)return a.ReflectAdapter.has(t,r);let o=r.toLowerCase(),n=Object.keys(e).find(e=>e.toLowerCase()===o);return void 0!==n&&a.ReflectAdapter.has(t,n)},deleteProperty(t,r){if("symbol"==typeof r)return a.ReflectAdapter.deleteProperty(t,r);let o=r.toLowerCase(),n=Object.keys(e).find(e=>e.toLowerCase()===o);return void 0===n||a.ReflectAdapter.deleteProperty(t,n)}})}static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"append":case"delete":case"set":return o.callable;default:return a.ReflectAdapter.get(e,t,r)}}})}merge(e){return Array.isArray(e)?e.join(", "):e}static from(e){return e instanceof Headers?e:new n(e)}append(e,t){let r=this.headers[e];"string"==typeof r?this.headers[e]=[r,t]:Array.isArray(r)?r.push(t):this.headers[e]=t}delete(e){delete this.headers[e]}get(e){let t=this.headers[e];return void 0!==t?this.merge(t):null}has(e){return void 0!==this.headers[e]}set(e,t){this.headers[e]=t}forEach(e,t){for(let[r,a]of this.entries())e.call(t,a,r,this)}*entries(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase(),r=this.get(t);yield[t,r]}}*keys(){for(let e of Object.keys(this.headers)){let t=e.toLowerCase();yield t}}*values(){for(let e of Object.keys(this.headers)){let t=this.get(e);yield t}}[Symbol.iterator](){return this.entries()}}},94069:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MutableRequestCookiesAdapter:function(){return p},ReadonlyRequestCookiesError:function(){return i},RequestCookiesAdapter:function(){return c},appendMutableCookies:function(){return u},areCookiesMutableInCurrentPhase:function(){return y},getModifiedCookieValues:function(){return l},responseCookiesToRequestCookies:function(){return b},wrapWithMutableAccessCheck:function(){return f}});let a=r(23158),o=r(43763),n=r(29294),s=r(63033);class i extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new i}}class c{static seal(e){return new Proxy(e,{get(e,t,r){switch(t){case"clear":case"delete":case"set":return i.callable;default:return o.ReflectAdapter.get(e,t,r)}}})}}let d=Symbol.for("next.mutated.cookies");function l(e){let t=e[d];return t&&Array.isArray(t)&&0!==t.length?t:[]}function u(e,t){let r=l(t);if(0===r.length)return!1;let o=new a.ResponseCookies(e),n=o.getAll();for(let e of r)o.set(e);for(let e of n)o.set(e);return!0}class p{static wrap(e,t){let r=new a.ResponseCookies(new Headers);for(let t of e.getAll())r.set(t);let s=[],i=new Set,c=()=>{let e=n.workAsyncStorage.getStore();if(e&&(e.pathWasRevalidated=!0),s=r.getAll().filter(e=>i.has(e.name)),t){let e=[];for(let t of s){let r=new a.ResponseCookies(new Headers);r.set(t),e.push(r.toString())}t(e)}},l=new Proxy(r,{get(e,t,r){switch(t){case d:return s;case"delete":return function(...t){i.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.delete(...t),l}finally{c()}};case"set":return function(...t){i.add("string"==typeof t[0]?t[0]:t[0].name);try{return e.set(...t),l}finally{c()}};default:return o.ReflectAdapter.get(e,t,r)}}});return l}}function f(e){let t=new Proxy(e,{get(e,r,a){switch(r){case"delete":return function(...r){return h("cookies().delete"),e.delete(...r),t};case"set":return function(...r){return h("cookies().set"),e.set(...r),t};default:return o.ReflectAdapter.get(e,r,a)}}});return t}function y(e){return"action"===e.phase}function h(e){if(!y((0,s.getExpectedRequestStore)(e)))throw new i}function b(e){let t=new a.RequestCookies(new Headers);for(let r of e.getAll())t.set(r);return t}},95548:(e,t,r)=>{let a;r.d(t,{A:()=>u});var o=r(16130),n=r(21187),s=r(70803);let i=async e=>{if(!e.alg)throw TypeError('"alg" argument is required when "jwk.alg" is not present');let{algorithm:t,keyUsages:r}=function(e){let t,r;switch(e.kty){case"AKP":switch(e.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":t={name:e.alg},r=e.priv?["sign"]:["verify"];break;default:throw new s.T0('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`},r=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`},r=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new s.T0('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"},r=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"},r=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new s.T0('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(e.alg){case"Ed25519":case"EdDSA":t={name:"Ed25519"},r=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv},r=e.d?["deriveBits"]:[];break;default:throw new s.T0('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new s.T0('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:r}}(e),a={...e};return"AKP"!==a.kty&&delete a.alg,delete a.use,crypto.subtle.importKey("jwk",a,t,e.ext??(!e.d&&!e.priv),e.key_ops??r)};var c=r(29047);let d=async(e,t,r,o=!1)=>{let n=(a||=new WeakMap).get(e);if(n?.[r])return n[r];let s=await i({...t,alg:r});return o&&Object.freeze(e),n?n[r]=s:a.set(e,{[r]:s}),s},l=(e,t)=>{let r,o=(a||=new WeakMap).get(e);if(o?.[t])return o[t];let n="public"===e.type,s=!!n;if("x25519"===e.asymmetricKeyType){switch(t){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw TypeError("given KeyObject instance cannot be used for this algorithm")}r=e.toCryptoKey(e.asymmetricKeyType,s,n?[]:["deriveBits"])}if("ed25519"===e.asymmetricKeyType){if("EdDSA"!==t&&"Ed25519"!==t)throw TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,s,[n?"verify":"sign"])}switch(e.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(t!==e.asymmetricKeyType.toUpperCase())throw TypeError("given KeyObject instance cannot be used for this algorithm");r=e.toCryptoKey(e.asymmetricKeyType,s,[n?"verify":"sign"])}if("rsa"===e.asymmetricKeyType){let a;switch(t){case"RSA-OAEP":a="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":a="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":a="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":a="SHA-512";break;default:throw TypeError("given KeyObject instance cannot be used for this algorithm")}if(t.startsWith("RSA-OAEP"))return e.toCryptoKey({name:"RSA-OAEP",hash:a},s,n?["encrypt"]:["decrypt"]);r=e.toCryptoKey({name:t.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:a},s,[n?"verify":"sign"])}if("ec"===e.asymmetricKeyType){let a=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(e.asymmetricKeyDetails?.namedCurve);if(!a)throw TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===t&&"P-256"===a&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:a},s,[n?"verify":"sign"])),"ES384"===t&&"P-384"===a&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:a},s,[n?"verify":"sign"])),"ES512"===t&&"P-521"===a&&(r=e.toCryptoKey({name:"ECDSA",namedCurve:a},s,[n?"verify":"sign"])),t.startsWith("ECDH-ES")&&(r=e.toCryptoKey({name:"ECDH",namedCurve:a},s,n?[]:["deriveBits"]))}if(!r)throw TypeError("given KeyObject instance cannot be used for this algorithm");return o?o[t]=r:a.set(e,{[t]:r}),r},u=async(e,t)=>{if(e instanceof Uint8Array||(0,c.R7)(e))return e;if((0,c.D2)(e)){if("secret"===e.type)return e.export();if("toCryptoKey"in e&&"function"==typeof e.toCryptoKey)try{return l(e,t)}catch(e){if(e instanceof TypeError)throw e}let r=e.export({format:"jwk"});return d(e,r,t)}if((0,o.ll)(e))return e.k?(0,n.D)(e.k):d(e,e,t,!0);throw Error("unreachable")}},97989:(e,t,r)=>{r.d(t,{D0:()=>o,Rd:()=>a,xW:()=>n});let a=new TextEncoder,o=new TextDecoder;function n(...e){let t=new Uint8Array(e.reduce((e,{length:t})=>e+t,0)),r=0;for(let a of e)t.set(a,r),r+=a.length;return t}},99933:(e,t,r)=>{Object.defineProperty(t,"U",{enumerable:!0,get:function(){return p}});let a=r(94069),o=r(23158),n=r(29294),s=r(63033),i=r(84971),c=r(80023),d=r(68388),l=r(76926),u=(r(44523),r(8719));function p(){let e="cookies",t=n.workAsyncStorage.getStore(),r=s.workUnitAsyncStorage.getStore();if(t){if(r&&"after"===r.phase&&!(0,u.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${t.route} used "cookies" inside "after(...)". This is not supported. If you need this data inside an "after" callback, use "cookies" outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E88",enumerable:!1,configurable:!0});if(t.forceStatic)return y(a.RequestCookiesAdapter.seal(new o.RequestCookies(new Headers({}))));if(r){if("cache"===r.type)throw Object.defineProperty(Error(`Route ${t.route} used "cookies" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "cookies" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E398",enumerable:!1,configurable:!0});else if("unstable-cache"===r.type)throw Object.defineProperty(Error(`Route ${t.route} used "cookies" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "cookies" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E157",enumerable:!1,configurable:!0})}if(t.dynamicShouldError)throw Object.defineProperty(new c.StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E549",enumerable:!1,configurable:!0});if(r)if("prerender"===r.type){var l=t.route,p=r;let e=f.get(p);if(e)return e;let a=(0,d.makeHangingPromise)(p.renderSignal,"`cookies()`");return f.set(p,a),Object.defineProperties(a,{[Symbol.iterator]:{value:function(){let e="`cookies()[Symbol.iterator]()`",t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}},size:{get(){let e="`cookies().size`",t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}},get:{value:function(){let e;e=0==arguments.length?"`cookies().get()`":`\`cookies().get(${h(arguments[0])})\``;let t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}},getAll:{value:function(){let e;e=0==arguments.length?"`cookies().getAll()`":`\`cookies().getAll(${h(arguments[0])})\``;let t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}},has:{value:function(){let e;e=0==arguments.length?"`cookies().has()`":`\`cookies().has(${h(arguments[0])})\``;let t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}},set:{value:function(){let e;if(0==arguments.length)e="`cookies().set()`";else{let t=arguments[0];e=t?`\`cookies().set(${h(t)}, ...)\``:"`cookies().set(...)`"}let t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}},delete:{value:function(){let e;e=0==arguments.length?"`cookies().delete()`":1==arguments.length?`\`cookies().delete(${h(arguments[0])})\``:`\`cookies().delete(${h(arguments[0])}, ...)\``;let t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}},clear:{value:function(){let e="`cookies().clear()`",t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}},toString:{value:function(){let e="`cookies().toString()`",t=m(l,e);(0,i.abortAndThrowOnSynchronousRequestDataAccess)(l,e,t,p)}}}),a}else"prerender-ppr"===r.type?(0,i.postponeWithTracking)(t.route,e,r.dynamicTracking):"prerender-legacy"===r.type&&(0,i.throwToInterruptStaticGeneration)(e,t,r);(0,i.trackDynamicDataInDynamicRender)(t,r)}let b=(0,s.getExpectedRequestStore)(e);return y((0,a.areCookiesMutableInCurrentPhase)(b)?b.userspaceMutableCookies:b.cookies)}let f=new WeakMap;function y(e){let t=f.get(e);if(t)return t;let r=Promise.resolve(e);return f.set(e,r),Object.defineProperties(r,{[Symbol.iterator]:{value:e[Symbol.iterator]?e[Symbol.iterator].bind(e):g.bind(e)},size:{get:()=>e.size},get:{value:e.get.bind(e)},getAll:{value:e.getAll.bind(e)},has:{value:e.has.bind(e)},set:{value:e.set.bind(e)},delete:{value:e.delete.bind(e)},clear:{value:"function"==typeof e.clear?e.clear.bind(e):w.bind(e,r)},toString:{value:e.toString.bind(e)}}),r}function h(e){return"object"==typeof e&&null!==e&&"string"==typeof e.name?`'${e.name}'`:"string"==typeof e?`'${e}'`:"..."}let b=(0,l.createDedupedByCallsiteServerErrorLoggerDev)(m);function m(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`cookies()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})}function g(){return this.getAll().map(e=>[e.name,e]).values()}function w(e){for(let e of this.getAll())this.delete(e.name);return e}}}; \ No newline at end of file diff --git a/.next/server/chunks/5611.js b/.next/server/chunks/5611.js new file mode 100644 index 0000000000000000000000000000000000000000..8bf175d089241c5c75820fdc8a4ce0d056d74388 --- /dev/null +++ b/.next/server/chunks/5611.js @@ -0,0 +1,6 @@ +exports.id=5611,exports.ids=[5611],exports.modules={11124:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getSortedRouteObjects:function(){return d.getSortedRouteObjects},getSortedRoutes:function(){return d.getSortedRoutes},isDynamicRoute:function(){return e.isDynamicRoute}});let d=c(96234),e=c(51096)},12410:(a,b,c)=>{"use strict";let d;Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{BubbledError:function(){return m},SpanKind:function(){return k},SpanStatusCode:function(){return j},getTracer:function(){return u},isBubbledError:function(){return n}});let e=c(70772),f=c(13004);try{d=c(46962)}catch(a){d=c(46962)}let{context:g,propagation:h,trace:i,SpanStatusCode:j,SpanKind:k,ROOT_CONTEXT:l}=d;class m extends Error{constructor(a,b){super(),this.bubble=a,this.result=b}}function n(a){return"object"==typeof a&&null!==a&&a instanceof m}let o=(a,b)=>{n(b)&&b.bubble?a.setAttribute("next.bubble",!0):(b&&(a.recordException(b),a.setAttribute("error.type",b.name)),a.setStatus({code:j.ERROR,message:null==b?void 0:b.message})),a.end()},p=new Map,q=d.createContextKey("next.rootSpanId"),r=0,s={set(a,b,c){a.push({key:b,value:c})}};class t{getTracerInstance(){return i.getTracer("next.js","0.0.1")}getContext(){return g}getTracePropagationData(){let a=g.active(),b=[];return h.inject(a,b,s),b}getActiveScopeSpan(){return i.getSpan(null==g?void 0:g.active())}withPropagatedContext(a,b,c){let d=g.active();if(i.getSpanContext(d))return b();let e=h.extract(d,a,c);return g.with(e,b)}trace(...a){var b;let[c,d,h]=a,{fn:j,options:k}="function"==typeof d?{fn:d,options:{}}:{fn:h,options:{...d}},m=k.spanName??c;if(!e.NextVanillaSpanAllowlist.includes(c)&&"1"!==process.env.NEXT_OTEL_VERBOSE||k.hideSpan)return j();let n=this.getSpanContext((null==k?void 0:k.parentSpan)??this.getActiveScopeSpan()),s=!1;n?(null==(b=i.getSpanContext(n))?void 0:b.isRemote)&&(s=!0):(n=(null==g?void 0:g.active())??l,s=!0);let t=r++;return k.attributes={"next.span_name":m,"next.span_type":c,...k.attributes},g.with(n.setValue(q,t),()=>this.getTracerInstance().startActiveSpan(m,k,a=>{let b="performance"in globalThis&&"measure"in performance?globalThis.performance.now():void 0,d=()=>{p.delete(t),b&&process.env.NEXT_OTEL_PERFORMANCE_PREFIX&&e.LogSpanAllowList.includes(c||"")&&performance.measure(`${process.env.NEXT_OTEL_PERFORMANCE_PREFIX}:next-${(c.split(".").pop()||"").replace(/[A-Z]/g,a=>"-"+a.toLowerCase())}`,{start:b,end:performance.now()})};s&&p.set(t,new Map(Object.entries(k.attributes??{})));try{if(j.length>1)return j(a,b=>o(a,b));let b=j(a);if((0,f.isThenable)(b))return b.then(b=>(a.end(),b)).catch(b=>{throw o(a,b),b}).finally(d);return a.end(),d(),b}catch(b){throw o(a,b),d(),b}}))}wrap(...a){let b=this,[c,d,f]=3===a.length?a:[a[0],{},a[1]];return e.NextVanillaSpanAllowlist.includes(c)||"1"===process.env.NEXT_OTEL_VERBOSE?function(){let a=d;"function"==typeof a&&"function"==typeof f&&(a=a.apply(this,arguments));let e=arguments.length-1,h=arguments[e];if("function"!=typeof h)return b.trace(c,a,()=>f.apply(this,arguments));{let d=b.getContext().bind(g.active(),h);return b.trace(c,a,(a,b)=>(arguments[e]=function(a){return null==b||b(a),d.apply(this,arguments)},f.apply(this,arguments)))}}:f}startSpan(...a){let[b,c]=a,d=this.getSpanContext((null==c?void 0:c.parentSpan)??this.getActiveScopeSpan());return this.getTracerInstance().startSpan(b,c,d)}getSpanContext(a){return a?i.setSpan(g.active(),a):void 0}getRootSpanAttributes(){let a=g.active().getValue(q);return p.get(a)}setRootSpanAttribute(a,b){let c=g.active().getValue(q),d=p.get(c);d&&d.set(a,b)}}let u=(()=>{let a=new t;return()=>a})()},13004:(a,b)=>{"use strict";function c(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isThenable",{enumerable:!0,get:function(){return c}})},29107:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"normalizePagePath",{enumerable:!0,get:function(){return g}});let d=c(70221),e=c(11124),f=c(76915);function g(a){let b=/^\/index(\/|$)/.test(a)&&!(0,e.isDynamicRoute)(a)?"/index"+a:"/"===a?"/index":(0,d.ensureLeadingSlash)(a);{let{posix:a}=c(33873),d=a.normalize(b);if(d!==b)throw new f.NormalizeError("Requested and resolved page mismatch: "+b+" "+d)}return b}},35582:(a,b)=>{"use strict";function c(a){return a.replace(/\\/g,"/")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"normalizePathSep",{enumerable:!0,get:function(){return c}})},42973:(a,b)=>{"use strict";function c(a){return a.split("/").map(a=>encodeURIComponent(a)).join("/")}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"encodeURIPath",{enumerable:!0,get:function(){return c}})},46962:a=>{(()=>{"use strict";var b={491:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ContextAPI=void 0;let d=c(223),e=c(172),f=c(930),g="context",h=new d.NoopContextManager;class i{constructor(){}static getInstance(){return this._instance||(this._instance=new i),this._instance}setGlobalContextManager(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}active(){return this._getContextManager().active()}with(a,b,c,...d){return this._getContextManager().with(a,b,c,...d)}bind(a,b){return this._getContextManager().bind(a,b)}_getContextManager(){return(0,e.getGlobal)(g)||h}disable(){this._getContextManager().disable(),(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.ContextAPI=i},930:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagAPI=void 0;let d=c(56),e=c(912),f=c(957),g=c(172);class h{constructor(){function a(a){return function(...b){let c=(0,g.getGlobal)("diag");if(c)return c[a](...b)}}let b=this;b.setLogger=(a,c={logLevel:f.DiagLogLevel.INFO})=>{var d,h,i;if(a===b){let a=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return b.error(null!=(d=a.stack)?d:a.message),!1}"number"==typeof c&&(c={logLevel:c});let j=(0,g.getGlobal)("diag"),k=(0,e.createLogLevelDiagLogger)(null!=(h=c.logLevel)?h:f.DiagLogLevel.INFO,a);if(j&&!c.suppressOverrideMessage){let a=null!=(i=Error().stack)?i:"";j.warn(`Current logger will be overwritten from ${a}`),k.warn(`Current logger will overwrite one already registered from ${a}`)}return(0,g.registerGlobal)("diag",k,b,!0)},b.disable=()=>{(0,g.unregisterGlobal)("diag",b)},b.createComponentLogger=a=>new d.DiagComponentLogger(a),b.verbose=a("verbose"),b.debug=a("debug"),b.info=a("info"),b.warn=a("warn"),b.error=a("error")}static instance(){return this._instance||(this._instance=new h),this._instance}}b.DiagAPI=h},653:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.MetricsAPI=void 0;let d=c(660),e=c(172),f=c(930),g="metrics";class h{constructor(){}static getInstance(){return this._instance||(this._instance=new h),this._instance}setGlobalMeterProvider(a){return(0,e.registerGlobal)(g,a,f.DiagAPI.instance())}getMeterProvider(){return(0,e.getGlobal)(g)||d.NOOP_METER_PROVIDER}getMeter(a,b,c){return this.getMeterProvider().getMeter(a,b,c)}disable(){(0,e.unregisterGlobal)(g,f.DiagAPI.instance())}}b.MetricsAPI=h},181:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.PropagationAPI=void 0;let d=c(172),e=c(874),f=c(194),g=c(277),h=c(369),i=c(930),j="propagation",k=new e.NoopTextMapPropagator;class l{constructor(){this.createBaggage=h.createBaggage,this.getBaggage=g.getBaggage,this.getActiveBaggage=g.getActiveBaggage,this.setBaggage=g.setBaggage,this.deleteBaggage=g.deleteBaggage}static getInstance(){return this._instance||(this._instance=new l),this._instance}setGlobalPropagator(a){return(0,d.registerGlobal)(j,a,i.DiagAPI.instance())}inject(a,b,c=f.defaultTextMapSetter){return this._getGlobalPropagator().inject(a,b,c)}extract(a,b,c=f.defaultTextMapGetter){return this._getGlobalPropagator().extract(a,b,c)}fields(){return this._getGlobalPropagator().fields()}disable(){(0,d.unregisterGlobal)(j,i.DiagAPI.instance())}_getGlobalPropagator(){return(0,d.getGlobal)(j)||k}}b.PropagationAPI=l},997:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceAPI=void 0;let d=c(172),e=c(846),f=c(139),g=c(607),h=c(930),i="trace";class j{constructor(){this._proxyTracerProvider=new e.ProxyTracerProvider,this.wrapSpanContext=f.wrapSpanContext,this.isSpanContextValid=f.isSpanContextValid,this.deleteSpan=g.deleteSpan,this.getSpan=g.getSpan,this.getActiveSpan=g.getActiveSpan,this.getSpanContext=g.getSpanContext,this.setSpan=g.setSpan,this.setSpanContext=g.setSpanContext}static getInstance(){return this._instance||(this._instance=new j),this._instance}setGlobalTracerProvider(a){let b=(0,d.registerGlobal)(i,this._proxyTracerProvider,h.DiagAPI.instance());return b&&this._proxyTracerProvider.setDelegate(a),b}getTracerProvider(){return(0,d.getGlobal)(i)||this._proxyTracerProvider}getTracer(a,b){return this.getTracerProvider().getTracer(a,b)}disable(){(0,d.unregisterGlobal)(i,h.DiagAPI.instance()),this._proxyTracerProvider=new e.ProxyTracerProvider}}b.TraceAPI=j},277:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.deleteBaggage=b.setBaggage=b.getActiveBaggage=b.getBaggage=void 0;let d=c(491),e=(0,c(780).createContextKey)("OpenTelemetry Baggage Key");function f(a){return a.getValue(e)||void 0}b.getBaggage=f,b.getActiveBaggage=function(){return f(d.ContextAPI.getInstance().active())},b.setBaggage=function(a,b){return a.setValue(e,b)},b.deleteBaggage=function(a){return a.deleteValue(e)}},993:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.BaggageImpl=void 0;class c{constructor(a){this._entries=a?new Map(a):new Map}getEntry(a){let b=this._entries.get(a);if(b)return Object.assign({},b)}getAllEntries(){return Array.from(this._entries.entries()).map(([a,b])=>[a,b])}setEntry(a,b){let d=new c(this._entries);return d._entries.set(a,b),d}removeEntry(a){let b=new c(this._entries);return b._entries.delete(a),b}removeEntries(...a){let b=new c(this._entries);for(let c of a)b._entries.delete(c);return b}clear(){return new c}}b.BaggageImpl=c},830:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataSymbol=void 0,b.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")},369:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.baggageEntryMetadataFromString=b.createBaggage=void 0;let d=c(930),e=c(993),f=c(830),g=d.DiagAPI.instance();b.createBaggage=function(a={}){return new e.BaggageImpl(new Map(Object.entries(a)))},b.baggageEntryMetadataFromString=function(a){return"string"!=typeof a&&(g.error(`Cannot create baggage metadata from unknown type: ${typeof a}`),a=""),{__TYPE__:f.baggageEntryMetadataSymbol,toString:()=>a}}},67:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.context=void 0,b.context=c(491).ContextAPI.getInstance()},223:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopContextManager=void 0;let d=c(780);class e{active(){return d.ROOT_CONTEXT}with(a,b,c,...d){return b.call(c,...d)}bind(a,b){return b}enable(){return this}disable(){return this}}b.NoopContextManager=e},780:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ROOT_CONTEXT=b.createContextKey=void 0,b.createContextKey=function(a){return Symbol.for(a)};class c{constructor(a){let b=this;b._currentContext=a?new Map(a):new Map,b.getValue=a=>b._currentContext.get(a),b.setValue=(a,d)=>{let e=new c(b._currentContext);return e._currentContext.set(a,d),e},b.deleteValue=a=>{let d=new c(b._currentContext);return d._currentContext.delete(a),d}}}b.ROOT_CONTEXT=new c},506:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.diag=void 0,b.diag=c(930).DiagAPI.instance()},56:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagComponentLogger=void 0;let d=c(172);class e{constructor(a){this._namespace=a.namespace||"DiagComponentLogger"}debug(...a){return f("debug",this._namespace,a)}error(...a){return f("error",this._namespace,a)}info(...a){return f("info",this._namespace,a)}warn(...a){return f("warn",this._namespace,a)}verbose(...a){return f("verbose",this._namespace,a)}}function f(a,b,c){let e=(0,d.getGlobal)("diag");if(e)return c.unshift(b),e[a](...c)}b.DiagComponentLogger=e},972:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagConsoleLogger=void 0;let c=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];class d{constructor(){for(let a=0;a{Object.defineProperty(b,"__esModule",{value:!0}),b.createLogLevelDiagLogger=void 0;let d=c(957);b.createLogLevelDiagLogger=function(a,b){function c(c,d){let e=b[c];return"function"==typeof e&&a>=d?e.bind(b):function(){}}return ad.DiagLogLevel.ALL&&(a=d.DiagLogLevel.ALL),b=b||{},{error:c("error",d.DiagLogLevel.ERROR),warn:c("warn",d.DiagLogLevel.WARN),info:c("info",d.DiagLogLevel.INFO),debug:c("debug",d.DiagLogLevel.DEBUG),verbose:c("verbose",d.DiagLogLevel.VERBOSE)}}},957:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.DiagLogLevel=void 0,function(a){a[a.NONE=0]="NONE",a[a.ERROR=30]="ERROR",a[a.WARN=50]="WARN",a[a.INFO=60]="INFO",a[a.DEBUG=70]="DEBUG",a[a.VERBOSE=80]="VERBOSE",a[a.ALL=9999]="ALL"}(b.DiagLogLevel||(b.DiagLogLevel={}))},172:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.unregisterGlobal=b.getGlobal=b.registerGlobal=void 0;let d=c(200),e=c(521),f=c(130),g=e.VERSION.split(".")[0],h=Symbol.for(`opentelemetry.js.api.${g}`),i=d._globalThis;b.registerGlobal=function(a,b,c,d=!1){var f;let g=i[h]=null!=(f=i[h])?f:{version:e.VERSION};if(!d&&g[a]){let b=Error(`@opentelemetry/api: Attempted duplicate registration of API: ${a}`);return c.error(b.stack||b.message),!1}if(g.version!==e.VERSION){let b=Error(`@opentelemetry/api: Registration of version v${g.version} for ${a} does not match previously registered API v${e.VERSION}`);return c.error(b.stack||b.message),!1}return g[a]=b,c.debug(`@opentelemetry/api: Registered a global for ${a} v${e.VERSION}.`),!0},b.getGlobal=function(a){var b,c;let d=null==(b=i[h])?void 0:b.version;if(d&&(0,f.isCompatible)(d))return null==(c=i[h])?void 0:c[a]},b.unregisterGlobal=function(a,b){b.debug(`@opentelemetry/api: Unregistering a global for ${a} v${e.VERSION}.`);let c=i[h];c&&delete c[a]}},130:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.isCompatible=b._makeCompatibilityCheck=void 0;let d=c(521),e=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function f(a){let b=new Set([a]),c=new Set,d=a.match(e);if(!d)return()=>!1;let f={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=f.prerelease)return function(b){return b===a};function g(a){return c.add(a),!1}return function(a){if(b.has(a))return!0;if(c.has(a))return!1;let d=a.match(e);if(!d)return g(a);let h={major:+d[1],minor:+d[2],patch:+d[3],prerelease:d[4]};if(null!=h.prerelease||f.major!==h.major)return g(a);if(0===f.major)return f.minor===h.minor&&f.patch<=h.patch?(b.add(a),!0):g(a);return f.minor<=h.minor?(b.add(a),!0):g(a)}}b._makeCompatibilityCheck=f,b.isCompatible=f(d.VERSION)},886:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.metrics=void 0,b.metrics=c(653).MetricsAPI.getInstance()},901:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ValueType=void 0,function(a){a[a.INT=0]="INT",a[a.DOUBLE=1]="DOUBLE"}(b.ValueType||(b.ValueType={}))},102:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createNoopMeter=b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=b.NOOP_OBSERVABLE_GAUGE_METRIC=b.NOOP_OBSERVABLE_COUNTER_METRIC=b.NOOP_UP_DOWN_COUNTER_METRIC=b.NOOP_HISTOGRAM_METRIC=b.NOOP_COUNTER_METRIC=b.NOOP_METER=b.NoopObservableUpDownCounterMetric=b.NoopObservableGaugeMetric=b.NoopObservableCounterMetric=b.NoopObservableMetric=b.NoopHistogramMetric=b.NoopUpDownCounterMetric=b.NoopCounterMetric=b.NoopMetric=b.NoopMeter=void 0;class c{constructor(){}createHistogram(a,c){return b.NOOP_HISTOGRAM_METRIC}createCounter(a,c){return b.NOOP_COUNTER_METRIC}createUpDownCounter(a,c){return b.NOOP_UP_DOWN_COUNTER_METRIC}createObservableGauge(a,c){return b.NOOP_OBSERVABLE_GAUGE_METRIC}createObservableCounter(a,c){return b.NOOP_OBSERVABLE_COUNTER_METRIC}createObservableUpDownCounter(a,c){return b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC}addBatchObservableCallback(a,b){}removeBatchObservableCallback(a){}}b.NoopMeter=c;class d{}b.NoopMetric=d;class e extends d{add(a,b){}}b.NoopCounterMetric=e;class f extends d{add(a,b){}}b.NoopUpDownCounterMetric=f;class g extends d{record(a,b){}}b.NoopHistogramMetric=g;class h{addCallback(a){}removeCallback(a){}}b.NoopObservableMetric=h;class i extends h{}b.NoopObservableCounterMetric=i;class j extends h{}b.NoopObservableGaugeMetric=j;class k extends h{}b.NoopObservableUpDownCounterMetric=k,b.NOOP_METER=new c,b.NOOP_COUNTER_METRIC=new e,b.NOOP_HISTOGRAM_METRIC=new g,b.NOOP_UP_DOWN_COUNTER_METRIC=new f,b.NOOP_OBSERVABLE_COUNTER_METRIC=new i,b.NOOP_OBSERVABLE_GAUGE_METRIC=new j,b.NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC=new k,b.createNoopMeter=function(){return b.NOOP_METER}},660:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NOOP_METER_PROVIDER=b.NoopMeterProvider=void 0;let d=c(102);class e{getMeter(a,b,c){return d.NOOP_METER}}b.NoopMeterProvider=e,b.NOOP_METER_PROVIDER=new e},200:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(46),b)},651:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b._globalThis=void 0,b._globalThis="object"==typeof globalThis?globalThis:global},46:function(a,b,c){var d=this&&this.__createBinding||(Object.create?function(a,b,c,d){void 0===d&&(d=c),Object.defineProperty(a,d,{enumerable:!0,get:function(){return b[c]}})}:function(a,b,c,d){void 0===d&&(d=c),a[d]=b[c]}),e=this&&this.__exportStar||function(a,b){for(var c in a)"default"===c||Object.prototype.hasOwnProperty.call(b,c)||d(b,a,c)};Object.defineProperty(b,"__esModule",{value:!0}),e(c(651),b)},939:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.propagation=void 0,b.propagation=c(181).PropagationAPI.getInstance()},874:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTextMapPropagator=void 0;class c{inject(a,b){}extract(a,b){return a}fields(){return[]}}b.NoopTextMapPropagator=c},194:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.defaultTextMapSetter=b.defaultTextMapGetter=void 0,b.defaultTextMapGetter={get(a,b){if(null!=a)return a[b]},keys:a=>null==a?[]:Object.keys(a)},b.defaultTextMapSetter={set(a,b,c){null!=a&&(a[b]=c)}}},845:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.trace=void 0,b.trace=c(997).TraceAPI.getInstance()},403:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NonRecordingSpan=void 0;let d=c(476);class e{constructor(a=d.INVALID_SPAN_CONTEXT){this._spanContext=a}spanContext(){return this._spanContext}setAttribute(a,b){return this}setAttributes(a){return this}addEvent(a,b){return this}setStatus(a){return this}updateName(a){return this}end(a){}isRecording(){return!1}recordException(a,b){}}b.NonRecordingSpan=e},614:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracer=void 0;let d=c(491),e=c(607),f=c(403),g=c(139),h=d.ContextAPI.getInstance();class i{startSpan(a,b,c=h.active()){var d;if(null==b?void 0:b.root)return new f.NonRecordingSpan;let i=c&&(0,e.getSpanContext)(c);return"object"==typeof(d=i)&&"string"==typeof d.spanId&&"string"==typeof d.traceId&&"number"==typeof d.traceFlags&&(0,g.isSpanContextValid)(i)?new f.NonRecordingSpan(i):new f.NonRecordingSpan}startActiveSpan(a,b,c,d){let f,g,i;if(arguments.length<2)return;2==arguments.length?i=b:3==arguments.length?(f=b,i=c):(f=b,g=c,i=d);let j=null!=g?g:h.active(),k=this.startSpan(a,f,j),l=(0,e.setSpan)(j,k);return h.with(l,i,void 0,k)}}b.NoopTracer=i},124:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.NoopTracerProvider=void 0;let d=c(614);class e{getTracer(a,b,c){return new d.NoopTracer}}b.NoopTracerProvider=e},125:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracer=void 0;let d=new(c(614)).NoopTracer;class e{constructor(a,b,c,d){this._provider=a,this.name=b,this.version=c,this.options=d}startSpan(a,b,c){return this._getTracer().startSpan(a,b,c)}startActiveSpan(a,b,c,d){let e=this._getTracer();return Reflect.apply(e.startActiveSpan,e,arguments)}_getTracer(){if(this._delegate)return this._delegate;let a=this._provider.getDelegateTracer(this.name,this.version,this.options);return a?(this._delegate=a,this._delegate):d}}b.ProxyTracer=e},846:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.ProxyTracerProvider=void 0;let d=c(125),e=new(c(124)).NoopTracerProvider;class f{getTracer(a,b,c){var e;return null!=(e=this.getDelegateTracer(a,b,c))?e:new d.ProxyTracer(this,a,b,c)}getDelegate(){var a;return null!=(a=this._delegate)?a:e}setDelegate(a){this._delegate=a}getDelegateTracer(a,b,c){var d;return null==(d=this._delegate)?void 0:d.getTracer(a,b,c)}}b.ProxyTracerProvider=f},996:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SamplingDecision=void 0,function(a){a[a.NOT_RECORD=0]="NOT_RECORD",a[a.RECORD=1]="RECORD",a[a.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(b.SamplingDecision||(b.SamplingDecision={}))},607:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.getSpanContext=b.setSpanContext=b.deleteSpan=b.setSpan=b.getActiveSpan=b.getSpan=void 0;let d=c(780),e=c(403),f=c(491),g=(0,d.createContextKey)("OpenTelemetry Context Key SPAN");function h(a){return a.getValue(g)||void 0}function i(a,b){return a.setValue(g,b)}b.getSpan=h,b.getActiveSpan=function(){return h(f.ContextAPI.getInstance().active())},b.setSpan=i,b.deleteSpan=function(a){return a.deleteValue(g)},b.setSpanContext=function(a,b){return i(a,new e.NonRecordingSpan(b))},b.getSpanContext=function(a){var b;return null==(b=h(a))?void 0:b.spanContext()}},325:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceStateImpl=void 0;let d=c(564);class e{constructor(a){this._internalState=new Map,a&&this._parse(a)}set(a,b){let c=this._clone();return c._internalState.has(a)&&c._internalState.delete(a),c._internalState.set(a,b),c}unset(a){let b=this._clone();return b._internalState.delete(a),b}get(a){return this._internalState.get(a)}serialize(){return this._keys().reduce((a,b)=>(a.push(b+"="+this.get(b)),a),[]).join(",")}_parse(a){!(a.length>512)&&(this._internalState=a.split(",").reverse().reduce((a,b)=>{let c=b.trim(),e=c.indexOf("=");if(-1!==e){let f=c.slice(0,e),g=c.slice(e+1,b.length);(0,d.validateKey)(f)&&(0,d.validateValue)(g)&&a.set(f,g)}return a},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let a=new e;return a._internalState=new Map(this._internalState),a}}b.TraceStateImpl=e},564:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.validateValue=b.validateKey=void 0;let c="[_0-9a-z-*/]",d=`[a-z]${c}{0,255}`,e=`[a-z0-9]${c}{0,240}@[a-z]${c}{0,13}`,f=RegExp(`^(?:${d}|${e})$`),g=/^[ -~]{0,255}[!-~]$/,h=/,|=/;b.validateKey=function(a){return f.test(a)},b.validateValue=function(a){return g.test(a)&&!h.test(a)}},98:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.createTraceState=void 0;let d=c(325);b.createTraceState=function(a){return new d.TraceStateImpl(a)}},476:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.INVALID_SPAN_CONTEXT=b.INVALID_TRACEID=b.INVALID_SPANID=void 0;let d=c(475);b.INVALID_SPANID="0000000000000000",b.INVALID_TRACEID="00000000000000000000000000000000",b.INVALID_SPAN_CONTEXT={traceId:b.INVALID_TRACEID,spanId:b.INVALID_SPANID,traceFlags:d.TraceFlags.NONE}},357:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SpanKind=void 0,function(a){a[a.INTERNAL=0]="INTERNAL",a[a.SERVER=1]="SERVER",a[a.CLIENT=2]="CLIENT",a[a.PRODUCER=3]="PRODUCER",a[a.CONSUMER=4]="CONSUMER"}(b.SpanKind||(b.SpanKind={}))},139:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.wrapSpanContext=b.isSpanContextValid=b.isValidSpanId=b.isValidTraceId=void 0;let d=c(476),e=c(403),f=/^([0-9a-f]{32})$/i,g=/^[0-9a-f]{16}$/i;function h(a){return f.test(a)&&a!==d.INVALID_TRACEID}function i(a){return g.test(a)&&a!==d.INVALID_SPANID}b.isValidTraceId=h,b.isValidSpanId=i,b.isSpanContextValid=function(a){return h(a.traceId)&&i(a.spanId)},b.wrapSpanContext=function(a){return new e.NonRecordingSpan(a)}},847:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.SpanStatusCode=void 0,function(a){a[a.UNSET=0]="UNSET",a[a.OK=1]="OK",a[a.ERROR=2]="ERROR"}(b.SpanStatusCode||(b.SpanStatusCode={}))},475:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.TraceFlags=void 0,function(a){a[a.NONE=0]="NONE",a[a.SAMPLED=1]="SAMPLED"}(b.TraceFlags||(b.TraceFlags={}))},521:(a,b)=>{Object.defineProperty(b,"__esModule",{value:!0}),b.VERSION=void 0,b.VERSION="1.6.0"}},c={};function d(a){var e=c[a];if(void 0!==e)return e.exports;var f=c[a]={exports:{}},g=!0;try{b[a].call(f.exports,f,f.exports,d),g=!1}finally{g&&delete c[a]}return f.exports}d.ab=__dirname+"/";var e={};(()=>{Object.defineProperty(e,"__esModule",{value:!0}),e.trace=e.propagation=e.metrics=e.diag=e.context=e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=e.isValidSpanId=e.isValidTraceId=e.isSpanContextValid=e.createTraceState=e.TraceFlags=e.SpanStatusCode=e.SpanKind=e.SamplingDecision=e.ProxyTracerProvider=e.ProxyTracer=e.defaultTextMapSetter=e.defaultTextMapGetter=e.ValueType=e.createNoopMeter=e.DiagLogLevel=e.DiagConsoleLogger=e.ROOT_CONTEXT=e.createContextKey=e.baggageEntryMetadataFromString=void 0;var a=d(369);Object.defineProperty(e,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return a.baggageEntryMetadataFromString}});var b=d(780);Object.defineProperty(e,"createContextKey",{enumerable:!0,get:function(){return b.createContextKey}}),Object.defineProperty(e,"ROOT_CONTEXT",{enumerable:!0,get:function(){return b.ROOT_CONTEXT}});var c=d(972);Object.defineProperty(e,"DiagConsoleLogger",{enumerable:!0,get:function(){return c.DiagConsoleLogger}});var f=d(957);Object.defineProperty(e,"DiagLogLevel",{enumerable:!0,get:function(){return f.DiagLogLevel}});var g=d(102);Object.defineProperty(e,"createNoopMeter",{enumerable:!0,get:function(){return g.createNoopMeter}});var h=d(901);Object.defineProperty(e,"ValueType",{enumerable:!0,get:function(){return h.ValueType}});var i=d(194);Object.defineProperty(e,"defaultTextMapGetter",{enumerable:!0,get:function(){return i.defaultTextMapGetter}}),Object.defineProperty(e,"defaultTextMapSetter",{enumerable:!0,get:function(){return i.defaultTextMapSetter}});var j=d(125);Object.defineProperty(e,"ProxyTracer",{enumerable:!0,get:function(){return j.ProxyTracer}});var k=d(846);Object.defineProperty(e,"ProxyTracerProvider",{enumerable:!0,get:function(){return k.ProxyTracerProvider}});var l=d(996);Object.defineProperty(e,"SamplingDecision",{enumerable:!0,get:function(){return l.SamplingDecision}});var m=d(357);Object.defineProperty(e,"SpanKind",{enumerable:!0,get:function(){return m.SpanKind}});var n=d(847);Object.defineProperty(e,"SpanStatusCode",{enumerable:!0,get:function(){return n.SpanStatusCode}});var o=d(475);Object.defineProperty(e,"TraceFlags",{enumerable:!0,get:function(){return o.TraceFlags}});var p=d(98);Object.defineProperty(e,"createTraceState",{enumerable:!0,get:function(){return p.createTraceState}});var q=d(139);Object.defineProperty(e,"isSpanContextValid",{enumerable:!0,get:function(){return q.isSpanContextValid}}),Object.defineProperty(e,"isValidTraceId",{enumerable:!0,get:function(){return q.isValidTraceId}}),Object.defineProperty(e,"isValidSpanId",{enumerable:!0,get:function(){return q.isValidSpanId}});var r=d(476);Object.defineProperty(e,"INVALID_SPANID",{enumerable:!0,get:function(){return r.INVALID_SPANID}}),Object.defineProperty(e,"INVALID_TRACEID",{enumerable:!0,get:function(){return r.INVALID_TRACEID}}),Object.defineProperty(e,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return r.INVALID_SPAN_CONTEXT}});let s=d(67);Object.defineProperty(e,"context",{enumerable:!0,get:function(){return s.context}});let t=d(506);Object.defineProperty(e,"diag",{enumerable:!0,get:function(){return t.diag}});let u=d(886);Object.defineProperty(e,"metrics",{enumerable:!0,get:function(){return u.metrics}});let v=d(939);Object.defineProperty(e,"propagation",{enumerable:!0,get:function(){return v.propagation}});let w=d(845);Object.defineProperty(e,"trace",{enumerable:!0,get:function(){return w.trace}}),e.default={context:s.context,diag:t.diag,metrics:u.metrics,propagation:v.propagation,trace:w.trace}})(),a.exports=e})()},51096:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"isDynamicRoute",{enumerable:!0,get:function(){return g}});let d=c(69111),e=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,f=/\/\[[^/]+\](?=\/|$)/;function g(a,b){return(void 0===b&&(b=!0),(0,d.isInterceptionRouteAppPath)(a)&&(a=(0,d.extractInterceptionRouteInformation)(a).interceptedRoute),b)?f.test(a):e.test(a)}},61644:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{default:function(){return e},getProperError:function(){return f}});let d=c(71905);function e(a){return"object"==typeof a&&null!==a&&"name"in a&&"message"in a}function f(a){return e(a)?a:Object.defineProperty(Error((0,d.isPlainObject)(a)?function(a){let b=new WeakSet;return JSON.stringify(a,(a,c)=>{if("object"==typeof c&&null!==c){if(b.has(c))return"[Circular]";b.add(c)}return c})}(a):a+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},62337:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{ESCAPE_REGEX:function(){return d},htmlEscapeJsonString:function(){return e}});let c={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},d=/[&><\u2028\u2029]/g;function e(a){return a.replace(d,a=>c[a])}},63135:(a,b)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return e}});let c=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],d=(a,b)=>{let c=a;return"string"==typeof b?c=a.toLocaleString(b):!0===b&&(c=a.toLocaleString()),c};function e(a,b){if(!Number.isFinite(a))throw Object.defineProperty(TypeError(`Expected a finite number, got ${typeof a}: ${a}`),"__NEXT_ERROR_CODE",{value:"E572",enumerable:!1,configurable:!0});if((b=Object.assign({},b)).signed&&0===a)return" 0 B";let e=a<0,f=e?"-":b.signed?"+":"";if(e&&(a=-a),a<1)return f+d(a,b.locale)+" B";let g=Math.min(Math.floor(Math.log10(a)/3),c.length-1);return f+d(a=Number((a/Math.pow(1e3,g)).toPrecision(3)),b.locale)+" "+c[g]}},63885:(a,b,c)=>{"use strict";a.exports=c(40361)},65611:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{Head:function(){return v},Html:function(){return x},Main:function(){return y},NextScript:function(){return w},default:function(){return z}});let d=c(8732),e=function(a,b){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=n(b);if(c&&c.has(a))return c.get(a);var d={__proto__:null},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in a)if("default"!==f&&Object.prototype.hasOwnProperty.call(a,f)){var g=e?Object.getOwnPropertyDescriptor(a,f):null;g&&(g.get||g.set)?Object.defineProperty(d,f,g):d[f]=a[f]}return d.default=a,c&&c.set(a,d),d}(c(82015)),f=c(82199),g=c(88893),h=c(62337),i=function(a){return a&&a.__esModule?a:{default:a}}(c(61644)),j=c(80092),k=c(42973),l=c(12410),m=c(88272);function n(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(n=function(a){return a?c:b})(a)}let o=new Set;function p(a,b,c){let d=(0,g.getPageFiles)(a,"/_app"),e=c?[]:(0,g.getPageFiles)(a,b);return{sharedFiles:d,pageFiles:e,allFiles:[...new Set([...d,...e])]}}function q(a,b){let{assetPrefix:c,buildManifest:e,assetQueryString:f,disableOptimizedLoading:g,crossOrigin:h}=a;return e.polyfillFiles.filter(a=>a.endsWith(".js")&&!a.endsWith(".module.js")).map(a=>(0,d.jsx)("script",{defer:!g,nonce:b.nonce,crossOrigin:b.crossOrigin||h,noModule:!0,src:`${c}/_next/${(0,k.encodeURIPath)(a)}${f}`},a))}function r({styles:a}){if(!a)return null;let b=Array.isArray(a)?a:[];if(a.props&&Array.isArray(a.props.children)){let c=a=>{var b,c;return null==a||null==(c=a.props)||null==(b=c.dangerouslySetInnerHTML)?void 0:b.__html};a.props.children.forEach(a=>{Array.isArray(a)?a.forEach(a=>c(a)&&b.push(a)):c(a)&&b.push(a)})}return(0,d.jsx)("style",{"amp-custom":"",dangerouslySetInnerHTML:{__html:b.map(a=>a.props.dangerouslySetInnerHTML.__html).join("").replace(/\/\*# sourceMappingURL=.*\*\//g,"").replace(/\/\*@ sourceURL=.*?\*\//g,"")}})}function s(a,b,c){let{dynamicImports:e,assetPrefix:f,isDevelopment:g,assetQueryString:h,disableOptimizedLoading:i,crossOrigin:j}=a;return e.map(a=>!a.endsWith(".js")||c.allFiles.includes(a)?null:(0,d.jsx)("script",{async:!g&&i,defer:!i,src:`${f}/_next/${(0,k.encodeURIPath)(a)}${h}`,nonce:b.nonce,crossOrigin:b.crossOrigin||j},a))}function t(a,b,c){var e;let{assetPrefix:f,buildManifest:g,isDevelopment:h,assetQueryString:i,disableOptimizedLoading:j,crossOrigin:l}=a;return[...c.allFiles.filter(a=>a.endsWith(".js")),...null==(e=g.lowPriorityFiles)?void 0:e.filter(a=>a.endsWith(".js"))].map(a=>(0,d.jsx)("script",{src:`${f}/_next/${(0,k.encodeURIPath)(a)}${i}`,nonce:b.nonce,async:!h&&j,defer:!j,crossOrigin:b.crossOrigin||l},a))}function u(a,b){let{scriptLoader:c,disableOptimizedLoading:f,crossOrigin:g}=a,h=function(a,b){let{assetPrefix:c,scriptLoader:f,crossOrigin:g,nextScriptWorkers:h}=a;if(!h)return null;try{let{partytownSnippet:a}=require("@builder.io/partytown/integration"),h=(Array.isArray(b.children)?b.children:[b.children]).find(a=>{var b,c;return!!a&&!!a.props&&(null==a||null==(c=a.props)||null==(b=c.dangerouslySetInnerHTML)?void 0:b.__html.length)&&"data-partytown-config"in a.props});return(0,d.jsxs)(d.Fragment,{children:[!h&&(0,d.jsx)("script",{"data-partytown-config":"",dangerouslySetInnerHTML:{__html:` + partytown = { + lib: "${c}/_next/static/~partytown/" + }; + `}}),(0,d.jsx)("script",{"data-partytown":"",dangerouslySetInnerHTML:{__html:a()}}),(f.worker||[]).map((a,c)=>{let{strategy:d,src:f,children:h,dangerouslySetInnerHTML:i,...j}=a,k={};if(f)k.src=f;else if(i&&i.__html)k.dangerouslySetInnerHTML={__html:i.__html};else if(h)k.dangerouslySetInnerHTML={__html:"string"==typeof h?h:Array.isArray(h)?h.join(""):""};else throw Object.defineProperty(Error("Invalid usage of next/script. Did you forget to include a src attribute or an inline script? https://nextjs.org/docs/messages/invalid-script"),"__NEXT_ERROR_CODE",{value:"E82",enumerable:!1,configurable:!0});return(0,e.createElement)("script",{...k,...j,type:"text/partytown",key:f||c,nonce:b.nonce,"data-nscript":"worker",crossOrigin:b.crossOrigin||g})})]})}catch(a){return(0,i.default)(a)&&"MODULE_NOT_FOUND"!==a.code&&console.warn(`Warning: ${a.message}`),null}}(a,b),j=(c.beforeInteractive||[]).filter(a=>a.src).map((a,c)=>{let{strategy:d,...h}=a;return(0,e.createElement)("script",{...h,key:h.src||c,defer:h.defer??!f,nonce:h.nonce||b.nonce,"data-nscript":"beforeInteractive",crossOrigin:b.crossOrigin||g})});return(0,d.jsxs)(d.Fragment,{children:[h,j]})}class v extends e.default.Component{static #a=this.contextType=j.HtmlContext;getCssLinks(a){let{assetPrefix:b,assetQueryString:c,dynamicImports:e,dynamicCssManifest:f,crossOrigin:g,optimizeCss:h}=this.context,i=a.allFiles.filter(a=>a.endsWith(".css")),j=new Set(a.sharedFiles),l=new Set([]),m=Array.from(new Set(e.filter(a=>a.endsWith(".css"))));if(m.length){let a=new Set(i);l=new Set(m=m.filter(b=>!(a.has(b)||j.has(b)))),i.push(...m)}let n=[];return i.forEach(a=>{let e=j.has(a),i=l.has(a),m=f.has(a);h||n.push((0,d.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:`${b}/_next/${(0,k.encodeURIPath)(a)}${c}`,as:"style",crossOrigin:this.props.crossOrigin||g},`${a}-preload`)),n.push((0,d.jsx)("link",{nonce:this.props.nonce,rel:"stylesheet",href:`${b}/_next/${(0,k.encodeURIPath)(a)}${c}`,crossOrigin:this.props.crossOrigin||g,"data-n-g":i?void 0:e?"":void 0,"data-n-p":e||i||m?void 0:""},a))}),0===n.length?null:n}getPreloadDynamicChunks(){let{dynamicImports:a,assetPrefix:b,assetQueryString:c,crossOrigin:e}=this.context;return a.map(a=>a.endsWith(".js")?(0,d.jsx)("link",{rel:"preload",href:`${b}/_next/${(0,k.encodeURIPath)(a)}${c}`,as:"script",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||e},a):null).filter(Boolean)}getPreloadMainLinks(a){let{assetPrefix:b,assetQueryString:c,scriptLoader:e,crossOrigin:f}=this.context,g=a.allFiles.filter(a=>a.endsWith(".js"));return[...(e.beforeInteractive||[]).map(a=>(0,d.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:a.src,as:"script",crossOrigin:this.props.crossOrigin||f},a.src)),...g.map(a=>(0,d.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:`${b}/_next/${(0,k.encodeURIPath)(a)}${c}`,as:"script",crossOrigin:this.props.crossOrigin||f},a))]}getBeforeInteractiveInlineScripts(){let{scriptLoader:a}=this.context,{nonce:b,crossOrigin:c}=this.props;return(a.beforeInteractive||[]).filter(a=>!a.src&&(a.dangerouslySetInnerHTML||a.children)).map((a,d)=>{let{strategy:f,children:g,dangerouslySetInnerHTML:h,src:i,...j}=a,k="";return h&&h.__html?k=h.__html:g&&(k="string"==typeof g?g:Array.isArray(g)?g.join(""):""),(0,e.createElement)("script",{...j,dangerouslySetInnerHTML:{__html:k},key:j.id||d,nonce:b,"data-nscript":"beforeInteractive",crossOrigin:c||void 0})})}getDynamicChunks(a){return s(this.context,this.props,a)}getPreNextScripts(){return u(this.context,this.props)}getScripts(a){return t(this.context,this.props,a)}getPolyfillScripts(){return q(this.context,this.props)}render(){let{styles:a,ampPath:b,inAmpMode:f,hybridAmp:g,canonicalBase:h,__NEXT_DATA__:i,dangerousAsPath:j,headTags:n,unstable_runtimeJS:o,unstable_JsPreload:q,disableOptimizedLoading:s,optimizeCss:t,assetPrefix:u,nextFontManifest:v}=this.context,w=!1===o,x=!1===q||!s;this.context.docComponentsRendered.Head=!0;let{head:y}=this.context,z=[],A=[];y&&(y.forEach(a=>{a&&"link"===a.type&&"preload"===a.props.rel&&"style"===a.props.as?z.push(a):a&&A.push(e.default.cloneElement(a,{"data-next-head":""}))}),y=z.concat(A));let B=e.default.Children.toArray(this.props.children).filter(Boolean),C=!1,D=!1;y=e.default.Children.map(y||[],a=>{if(!a)return a;let{type:b,props:c}=a;if(f){let d="";if("meta"===b&&"viewport"===c.name?d='name="viewport"':"link"===b&&"canonical"===c.rel?D=!0:"script"===b&&(c.src&&-1>c.src.indexOf("ampproject")||c.dangerouslySetInnerHTML&&(!c.type||"text/javascript"===c.type))&&(d="{d+=` ${a}="${c[a]}"`}),d+="/>"),d)return console.warn(`Found conflicting amp tag "${a.type}" with conflicting prop ${d} in ${i.page}. https://nextjs.org/docs/messages/conflicting-amp-tag`),null}else"link"===b&&"amphtml"===c.rel&&(C=!0);return a});let E=p(this.context.buildManifest,this.context.__NEXT_DATA__.page,f),F=function(a,b,c=""){if(!a)return{preconnect:null,preload:null};let e=a.pages["/_app"],f=a.pages[b],g=Array.from(new Set([...e??[],...f??[]]));return{preconnect:0===g.length&&(e||f)?(0,d.jsx)("link",{"data-next-font":a.pagesUsingSizeAdjust?"size-adjust":"",rel:"preconnect",href:"/",crossOrigin:"anonymous"}):null,preload:g?g.map(a=>{let b=/\.(woff|woff2|eot|ttf|otf)$/.exec(a)[1];return(0,d.jsx)("link",{rel:"preload",href:`${c}/_next/${(0,k.encodeURIPath)(a)}`,as:"font",type:`font/${b}`,crossOrigin:"anonymous","data-next-font":a.includes("-s")?"size-adjust":""},a)}):null}}(v,j,u),G=((0,m.getTracedMetadata)((0,l.getTracer)().getTracePropagationData(),this.context.experimentalClientTraceMetadata)||[]).map(({key:a,value:b},c)=>(0,d.jsx)("meta",{name:a,content:b},`next-trace-data-${c}`));return(0,d.jsxs)("head",{...function(a){let{crossOrigin:b,nonce:c,...d}=a;return d}(this.props),children:[this.context.isDevelopment&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("style",{"data-next-hide-fouc":!0,"data-ampdevmode":f?"true":void 0,dangerouslySetInnerHTML:{__html:"body{display:none}"}}),(0,d.jsx)("noscript",{"data-next-hide-fouc":!0,"data-ampdevmode":f?"true":void 0,children:(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{display:block}"}})})]}),y,B,F.preconnect,F.preload,f&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("meta",{name:"viewport",content:"width=device-width,minimum-scale=1,initial-scale=1"}),!D&&(0,d.jsx)("link",{rel:"canonical",href:h+c(77782).cleanAmpPath(j)}),(0,d.jsx)("link",{rel:"preload",as:"script",href:"https://cdn.ampproject.org/v0.js"}),(0,d.jsx)(r,{styles:a}),(0,d.jsx)("style",{"amp-boilerplate":"",dangerouslySetInnerHTML:{__html:"body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}"}}),(0,d.jsx)("noscript",{children:(0,d.jsx)("style",{"amp-boilerplate":"",dangerouslySetInnerHTML:{__html:"body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}"}})}),(0,d.jsx)("script",{async:!0,src:"https://cdn.ampproject.org/v0.js"})]}),!f&&(0,d.jsxs)(d.Fragment,{children:[!C&&g&&(0,d.jsx)("link",{rel:"amphtml",href:h+(b||`${j}${j.includes("?")?"&":"?"}amp=1`)}),this.getBeforeInteractiveInlineScripts(),!t&&this.getCssLinks(E),!t&&(0,d.jsx)("noscript",{"data-n-css":this.props.nonce??""}),!w&&!x&&this.getPreloadDynamicChunks(),!w&&!x&&this.getPreloadMainLinks(E),!s&&!w&&this.getPolyfillScripts(),!s&&!w&&this.getPreNextScripts(),!s&&!w&&this.getDynamicChunks(E),!s&&!w&&this.getScripts(E),t&&this.getCssLinks(E),t&&(0,d.jsx)("noscript",{"data-n-css":this.props.nonce??""}),this.context.isDevelopment&&(0,d.jsx)("noscript",{id:"__next_css__DO_NOT_USE__"}),G,a||null]}),e.default.createElement(e.default.Fragment,{},...n||[])]})}}class w extends e.default.Component{static #a=this.contextType=j.HtmlContext;getDynamicChunks(a){return s(this.context,this.props,a)}getPreNextScripts(){return u(this.context,this.props)}getScripts(a){return t(this.context,this.props,a)}getPolyfillScripts(){return q(this.context,this.props)}static getInlineScriptSource(a){let{__NEXT_DATA__:b,largePageDataBytes:d}=a;try{let e=JSON.stringify(b);if(o.has(b.page))return(0,h.htmlEscapeJsonString)(e);let f=Buffer.from(e).byteLength,g=c(63135).A;return d&&f>d&&(o.add(b.page),console.warn(`Warning: data for page "${b.page}"${b.page===a.dangerousAsPath?"":` (path "${a.dangerousAsPath}")`} is ${g(f)} which exceeds the threshold of ${g(d)}, this amount of data can reduce performance. +See more info here: https://nextjs.org/docs/messages/large-page-data`)),(0,h.htmlEscapeJsonString)(e)}catch(a){if((0,i.default)(a)&&-1!==a.message.indexOf("circular structure"))throw Object.defineProperty(Error(`Circular structure in "getInitialProps" result of page "${b.page}". https://nextjs.org/docs/messages/circular-structure`),"__NEXT_ERROR_CODE",{value:"E490",enumerable:!1,configurable:!0});throw a}}render(){let{assetPrefix:a,inAmpMode:b,buildManifest:c,unstable_runtimeJS:e,docComponentsRendered:f,assetQueryString:g,disableOptimizedLoading:h,crossOrigin:i}=this.context,j=!1===e;if(f.NextScript=!0,b)return null;let l=p(this.context.buildManifest,this.context.__NEXT_DATA__.page,b);return(0,d.jsxs)(d.Fragment,{children:[!j&&c.devFiles?c.devFiles.map(b=>(0,d.jsx)("script",{src:`${a}/_next/${(0,k.encodeURIPath)(b)}${g}`,nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||i},b)):null,j?null:(0,d.jsx)("script",{id:"__NEXT_DATA__",type:"application/json",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||i,dangerouslySetInnerHTML:{__html:w.getInlineScriptSource(this.context)}}),h&&!j&&this.getPolyfillScripts(),h&&!j&&this.getPreNextScripts(),h&&!j&&this.getDynamicChunks(l),h&&!j&&this.getScripts(l)]})}}function x(a){let{inAmpMode:b,docComponentsRendered:c,locale:f,scriptLoader:g,__NEXT_DATA__:h}=(0,j.useHtmlContext)();return c.Html=!0,!function(a,b,c){var d,f,g,h;if(!c.children)return;let i=[],j=Array.isArray(c.children)?c.children:[c.children],k=null==(f=j.find(a=>a.type===v))||null==(d=f.props)?void 0:d.children,l=null==(h=j.find(a=>"body"===a.type))||null==(g=h.props)?void 0:g.children,m=[...Array.isArray(k)?k:[k],...Array.isArray(l)?l:[l]];e.default.Children.forEach(m,b=>{var c;if(b&&(null==(c=b.type)?void 0:c.__nextScript)){if("beforeInteractive"===b.props.strategy){a.beforeInteractive=(a.beforeInteractive||[]).concat([{...b.props}]);return}else if(["lazyOnload","afterInteractive","worker"].includes(b.props.strategy))return void i.push(b.props);else if(void 0===b.props.strategy)return void i.push({...b.props,strategy:"afterInteractive"})}}),b.scriptLoader=i}(g,h,a),(0,d.jsx)("html",{...a,lang:a.lang||f||void 0,amp:b?"":void 0,"data-ampdevmode":void 0})}function y(){let{docComponentsRendered:a}=(0,j.useHtmlContext)();return a.Main=!0,(0,d.jsx)("next-js-internal-body-render-target",{})}class z extends e.default.Component{static getInitialProps(a){return a.defaultGetInitialProps(a)}render(){return(0,d.jsxs)(x,{children:[(0,d.jsx)(v,{nonce:this.props.nonce}),(0,d.jsxs)("body",{children:[(0,d.jsx)(y,{}),(0,d.jsx)(w,{nonce:this.props.nonce})]})]})}}z[f.NEXT_BUILTIN_DOCUMENT]=function(){return(0,d.jsxs)(x,{children:[(0,d.jsx)(v,{}),(0,d.jsxs)("body",{children:[(0,d.jsx)(y,{}),(0,d.jsx)(w,{})]})]})}},67466:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{normalizeAppPath:function(){return f},normalizeRscURL:function(){return g}});let d=c(70221),e=c(92815);function f(a){return(0,d.ensureLeadingSlash)(a.split("/").reduce((a,b,c,d)=>!b||(0,e.isGroupSegment)(b)||"@"===b[0]||("page"===b||"route"===b)&&c===d.length-1?a:a+"/"+b,""))}function g(a){return a.replace(/\.rsc($|\?)/,"$1")}},69111:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{INTERCEPTION_ROUTE_MARKERS:function(){return e},extractInterceptionRouteInformation:function(){return g},isInterceptionRouteAppPath:function(){return f}});let d=c(67466),e=["(..)(..)","(.)","(..)","(...)"];function f(a){return void 0!==a.split("/").find(a=>e.find(b=>a.startsWith(b)))}function g(a){let b,c,f;for(let d of a.split("/"))if(c=e.find(a=>d.startsWith(a))){[b,f]=a.split(c,2);break}if(!b||!c||!f)throw Object.defineProperty(Error("Invalid interception route: "+a+". Must be in the format //(..|...|..)(..)/"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(b=(0,d.normalizeAppPath)(b),c){case"(.)":f="/"===b?"/"+f:b+"/"+f;break;case"(..)":if("/"===b)throw Object.defineProperty(Error("Invalid interception route: "+a+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});f=b.split("/").slice(0,-1).concat(f).join("/");break;case"(...)":f="/"+f;break;case"(..)(..)":let g=b.split("/");if(g.length<=2)throw Object.defineProperty(Error("Invalid interception route: "+a+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});f=g.slice(0,-2).concat(f).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:b,interceptedRoute:f}}},70221:(a,b)=>{"use strict";function c(a){return a.startsWith("/")?a:"/"+a}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"ensureLeadingSlash",{enumerable:!0,get:function(){return c}})},70772:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{AppRenderSpan:function(){return i},AppRouteRouteHandlersSpan:function(){return l},BaseServerSpan:function(){return c},LoadComponentsSpan:function(){return d},LogSpanAllowList:function(){return p},MiddlewareSpan:function(){return n},NextNodeServerSpan:function(){return f},NextServerSpan:function(){return e},NextVanillaSpanAllowlist:function(){return o},NodeSpan:function(){return k},RenderSpan:function(){return h},ResolveMetadataSpan:function(){return m},RouterSpan:function(){return j},StartServerSpan:function(){return g}});var c=function(a){return a.handleRequest="BaseServer.handleRequest",a.run="BaseServer.run",a.pipe="BaseServer.pipe",a.getStaticHTML="BaseServer.getStaticHTML",a.render="BaseServer.render",a.renderToResponseWithComponents="BaseServer.renderToResponseWithComponents",a.renderToResponse="BaseServer.renderToResponse",a.renderToHTML="BaseServer.renderToHTML",a.renderError="BaseServer.renderError",a.renderErrorToResponse="BaseServer.renderErrorToResponse",a.renderErrorToHTML="BaseServer.renderErrorToHTML",a.render404="BaseServer.render404",a}(c||{}),d=function(a){return a.loadDefaultErrorComponents="LoadComponents.loadDefaultErrorComponents",a.loadComponents="LoadComponents.loadComponents",a}(d||{}),e=function(a){return a.getRequestHandler="NextServer.getRequestHandler",a.getServer="NextServer.getServer",a.getServerRequestHandler="NextServer.getServerRequestHandler",a.createServer="createServer.createServer",a}(e||{}),f=function(a){return a.compression="NextNodeServer.compression",a.getBuildId="NextNodeServer.getBuildId",a.createComponentTree="NextNodeServer.createComponentTree",a.clientComponentLoading="NextNodeServer.clientComponentLoading",a.getLayoutOrPageModule="NextNodeServer.getLayoutOrPageModule",a.generateStaticRoutes="NextNodeServer.generateStaticRoutes",a.generateFsStaticRoutes="NextNodeServer.generateFsStaticRoutes",a.generatePublicRoutes="NextNodeServer.generatePublicRoutes",a.generateImageRoutes="NextNodeServer.generateImageRoutes.route",a.sendRenderResult="NextNodeServer.sendRenderResult",a.proxyRequest="NextNodeServer.proxyRequest",a.runApi="NextNodeServer.runApi",a.render="NextNodeServer.render",a.renderHTML="NextNodeServer.renderHTML",a.imageOptimizer="NextNodeServer.imageOptimizer",a.getPagePath="NextNodeServer.getPagePath",a.getRoutesManifest="NextNodeServer.getRoutesManifest",a.findPageComponents="NextNodeServer.findPageComponents",a.getFontManifest="NextNodeServer.getFontManifest",a.getServerComponentManifest="NextNodeServer.getServerComponentManifest",a.getRequestHandler="NextNodeServer.getRequestHandler",a.renderToHTML="NextNodeServer.renderToHTML",a.renderError="NextNodeServer.renderError",a.renderErrorToHTML="NextNodeServer.renderErrorToHTML",a.render404="NextNodeServer.render404",a.startResponse="NextNodeServer.startResponse",a.route="route",a.onProxyReq="onProxyReq",a.apiResolver="apiResolver",a.internalFetch="internalFetch",a}(f||{}),g=function(a){return a.startServer="startServer.startServer",a}(g||{}),h=function(a){return a.getServerSideProps="Render.getServerSideProps",a.getStaticProps="Render.getStaticProps",a.renderToString="Render.renderToString",a.renderDocument="Render.renderDocument",a.createBodyResult="Render.createBodyResult",a}(h||{}),i=function(a){return a.renderToString="AppRender.renderToString",a.renderToReadableStream="AppRender.renderToReadableStream",a.getBodyResult="AppRender.getBodyResult",a.fetch="AppRender.fetch",a}(i||{}),j=function(a){return a.executeRoute="Router.executeRoute",a}(j||{}),k=function(a){return a.runHandler="Node.runHandler",a}(k||{}),l=function(a){return a.runHandler="AppRouteRouteHandlers.runHandler",a}(l||{}),m=function(a){return a.generateMetadata="ResolveMetadata.generateMetadata",a.generateViewport="ResolveMetadata.generateViewport",a}(m||{}),n=function(a){return a.execute="Middleware.execute",a}(n||{});let o=["Middleware.execute","BaseServer.handleRequest","Render.getServerSideProps","Render.getStaticProps","AppRender.fetch","AppRender.getBodyResult","Render.renderDocument","Node.runHandler","AppRouteRouteHandlers.runHandler","ResolveMetadata.generateMetadata","ResolveMetadata.generateViewport","NextNodeServer.createComponentTree","NextNodeServer.findPageComponents","NextNodeServer.getLayoutOrPageModule","NextNodeServer.startResponse","NextNodeServer.clientComponentLoading"],p=["NextNodeServer.findPageComponents","NextNodeServer.createComponentTree","NextNodeServer.clientComponentLoading"]},71905:(a,b)=>{"use strict";function c(a){return Object.prototype.toString.call(a)}function d(a){if("[object Object]"!==c(a))return!1;let b=Object.getPrototypeOf(a);return null===b||b.hasOwnProperty("isPrototypeOf")}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getObjectClassLabel:function(){return c},isPlainObject:function(){return d}})},75201:a=>{"use strict";a.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},76915:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DecodeError:function(){return o},MiddlewareNotFoundError:function(){return s},MissingStaticPage:function(){return r},NormalizeError:function(){return p},PageNotFoundError:function(){return q},SP:function(){return m},ST:function(){return n},WEB_VITALS:function(){return c},execOnce:function(){return d},getDisplayName:function(){return i},getLocationOrigin:function(){return g},getURL:function(){return h},isAbsoluteUrl:function(){return f},isResSent:function(){return j},loadGetInitialProps:function(){return l},normalizeRepeatedSlashes:function(){return k},stringifyError:function(){return t}});let c=["CLS","FCP","FID","INP","LCP","TTFB"];function d(a){let b,c=!1;return function(){for(var d=arguments.length,e=Array(d),f=0;fe.test(a);function g(){let{protocol:a,hostname:b,port:c}=window.location;return a+"//"+b+(c?":"+c:"")}function h(){let{href:a}=window.location,b=g();return a.substring(b.length)}function i(a){return"string"==typeof a?a:a.displayName||a.name||"Unknown"}function j(a){return a.finished||a.headersSent}function k(a){let b=a.split("?");return b[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(b[1]?"?"+b.slice(1).join("?"):"")}async function l(a,b){let c=b.res||b.ctx&&b.ctx.res;if(!a.getInitialProps)return b.ctx&&b.Component?{pageProps:await l(b.Component,b.ctx)}:{};let d=await a.getInitialProps(b);if(c&&j(c))return d;if(!d)throw Object.defineProperty(Error('"'+i(a)+'.getInitialProps()" should resolve to an object. But found "'+d+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return d}let m="undefined"!=typeof performance,n=m&&["mark","measure","getEntriesByName"].every(a=>"function"==typeof performance[a]);class o extends Error{}class p extends Error{}class q extends Error{constructor(a){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+a}}class r extends Error{constructor(a,b){super(),this.message="Failed to load static file for page: "+a+" "+b}}class s extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function t(a){return JSON.stringify({message:a.message,stack:a.stack})}},77782:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{cleanAmpPath:function(){return f},debounce:function(){return g},isBlockedPage:function(){return e}});let d=c(82199);function e(a){return d.BLOCKED_PAGES.includes(a)}function f(a){return a.match(/\?amp=(y|yes|true|1)/)&&(a=a.replace(/\?amp=(y|yes|true|1)&?/,"?")),a.match(/&=(y|yes|true|1)/)&&(a=a.replace(/&=(y|yes|true|1)/,"")),a=a.replace(/\?$/,"")}function g(a,b,c=1/0){let d,e,f,h=0,i=0;function j(){let g=Date.now(),k=i+b-g;k<=0||h+c>=g?(d=void 0,a.apply(f,e)):d=setTimeout(j,k)}return function(...a){e=a,f=this,i=Date.now(),void 0===d&&(h=i,d=setTimeout(j,b))}}},80092:(a,b,c)=>{"use strict";a.exports=c(63885).vendored.contexts.HtmlContext},82199:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{APP_BUILD_MANIFEST:function(){return u},APP_CLIENT_INTERNALS:function(){return _},APP_PATHS_MANIFEST:function(){return r},APP_PATH_ROUTES_MANIFEST:function(){return s},AdapterOutputType:function(){return f},BARREL_OPTIMIZATION_PREFIX:function(){return S},BLOCKED_PAGES:function(){return N},BUILD_ID_FILE:function(){return M},BUILD_MANIFEST:function(){return t},CLIENT_PUBLIC_FILES_PATH:function(){return O},CLIENT_REFERENCE_MANIFEST:function(){return T},CLIENT_STATIC_FILES_PATH:function(){return P},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return ab},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return Z},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return $},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ad},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ae},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return aa},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return ac},COMPILER_INDEXES:function(){return g},COMPILER_NAMES:function(){return e},CONFIG_FILES:function(){return L},DEFAULT_RUNTIME_WEBPACK:function(){return af},DEFAULT_SANS_SERIF_FONT:function(){return ak},DEFAULT_SERIF_FONT:function(){return aj},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return I},DEV_CLIENT_PAGES_MANIFEST:function(){return E},DYNAMIC_CSS_MANIFEST:function(){return Y},EDGE_RUNTIME_WEBPACK:function(){return ag},EDGE_UNSUPPORTED_NODE_APIS:function(){return ap},EXPORT_DETAIL:function(){return z},EXPORT_MARKER:function(){return y},FUNCTIONS_CONFIG_MANIFEST:function(){return v},IMAGES_MANIFEST:function(){return C},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return X},MIDDLEWARE_BUILD_MANIFEST:function(){return V},MIDDLEWARE_MANIFEST:function(){return F},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return W},MODERN_BROWSERSLIST_TARGET:function(){return d.default},NEXT_BUILTIN_DOCUMENT:function(){return R},NEXT_FONT_MANIFEST:function(){return x},PAGES_MANIFEST:function(){return p},PHASE_DEVELOPMENT_SERVER:function(){return m},PHASE_EXPORT:function(){return j},PHASE_INFO:function(){return o},PHASE_PRODUCTION_BUILD:function(){return k},PHASE_PRODUCTION_SERVER:function(){return l},PHASE_TEST:function(){return n},PRERENDER_MANIFEST:function(){return A},REACT_LOADABLE_MANIFEST:function(){return J},ROUTES_MANIFEST:function(){return B},RSC_MODULE_TYPES:function(){return ao},SERVER_DIRECTORY:function(){return K},SERVER_FILES_MANIFEST:function(){return D},SERVER_PROPS_ID:function(){return ai},SERVER_REFERENCE_MANIFEST:function(){return U},STATIC_PROPS_ID:function(){return ah},STATIC_STATUS_PAGES:function(){return al},STRING_LITERAL_DROP_BUNDLE:function(){return Q},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return w},SYSTEM_ENTRYPOINTS:function(){return aq},TRACE_OUTPUT_VERSION:function(){return am},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return H},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return G},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return an},UNDERSCORE_NOT_FOUND_ROUTE:function(){return h},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return i},WEBPACK_STATS:function(){return q}});let d=c(87020)._(c(75201)),e={client:"client",server:"server",edgeServer:"edge-server"};var f=function(a){return a.PAGES="PAGES",a.PAGES_API="PAGES_API",a.APP_PAGE="APP_PAGE",a.APP_ROUTE="APP_ROUTE",a.PRERENDER="PRERENDER",a.STATIC_FILE="STATIC_FILE",a.MIDDLEWARE="MIDDLEWARE",a}({});let g={[e.client]:0,[e.server]:1,[e.edgeServer]:2},h="/_not-found",i=""+h+"/page",j="phase-export",k="phase-production-build",l="phase-production-server",m="phase-development-server",n="phase-test",o="phase-info",p="pages-manifest.json",q="webpack-stats.json",r="app-paths-manifest.json",s="app-path-routes-manifest.json",t="build-manifest.json",u="app-build-manifest.json",v="functions-config-manifest.json",w="subresource-integrity-manifest",x="next-font-manifest",y="export-marker.json",z="export-detail.json",A="prerender-manifest.json",B="routes-manifest.json",C="images-manifest.json",D="required-server-files.json",E="_devPagesManifest.json",F="middleware-manifest.json",G="_clientMiddlewareManifest.json",H="client-build-manifest.json",I="_devMiddlewareManifest.json",J="react-loadable-manifest.json",K="server",L=["next.config.js","next.config.mjs","next.config.ts"],M="BUILD_ID",N=["/_document","/_app","/_error"],O="public",P="static",Q="__NEXT_DROP_CLIENT_FILE__",R="__NEXT_BUILTIN_DOCUMENT__",S="__barrel_optimize__",T="client-reference-manifest",U="server-reference-manifest",V="middleware-build-manifest",W="middleware-react-loadable-manifest",X="interception-route-rewrite-manifest",Y="dynamic-css-manifest",Z="main",$=""+Z+"-app",_="app-pages-internals",aa="react-refresh",ab="amp",ac="webpack",ad="polyfills",ae=Symbol(ad),af="webpack-runtime",ag="edge-runtime-webpack",ah="__N_SSG",ai="__N_SSP",aj={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ak={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},al=["/500"],am=1,an=6e3,ao={client:"client",server:"server"},ap=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],aq=new Set([Z,aa,ab,$]);("function"==typeof b.default||"object"==typeof b.default&&null!==b.default)&&void 0===b.default.__esModule&&(Object.defineProperty(b.default,"__esModule",{value:!0}),Object.assign(b.default,b),a.exports=b.default)},87020:(a,b)=>{"use strict";b._=function(a){return a&&a.__esModule?a:{default:a}}},88272:(a,b)=>{"use strict";function c(a,b){if(b)return a.filter(({key:a})=>b.includes(a))}Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getTracedMetadata",{enumerable:!0,get:function(){return c}})},88893:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"getPageFiles",{enumerable:!0,get:function(){return f}});let d=c(98440),e=c(29107);function f(a,b){let c=(0,d.denormalizePagePath)((0,e.normalizePagePath)(b)),f=a.pages[c];return f||(console.warn(`Could not find files for ${c} in .next/build-manifest.json`),[])}},92815:(a,b)=>{"use strict";function c(a){return"("===a[0]&&a.endsWith(")")}function d(a){return a.startsWith("@")&&"@children"!==a}function e(a,b){if(a.includes(f)){let a=JSON.stringify(b);return"{}"!==a?f+"?"+a:f}return a}Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{DEFAULT_SEGMENT_KEY:function(){return g},PAGE_SEGMENT_KEY:function(){return f},addSearchParamsIfPageSegment:function(){return e},isGroupSegment:function(){return c},isParallelRouteSegment:function(){return d}});let f="__PAGE__",g="__DEFAULT__"},96234:(a,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{getSortedRouteObjects:function(){return e},getSortedRoutes:function(){return d}});class c{insert(a){this._insert(a.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(a){void 0===a&&(a="/");let b=[...this.children.keys()].sort();null!==this.slugName&&b.splice(b.indexOf("[]"),1),null!==this.restSlugName&&b.splice(b.indexOf("[...]"),1),null!==this.optionalRestSlugName&&b.splice(b.indexOf("[[...]]"),1);let c=b.map(b=>this.children.get(b)._smoosh(""+a+b+"/")).reduce((a,b)=>[...a,...b],[]);if(null!==this.slugName&&c.push(...this.children.get("[]")._smoosh(a+"["+this.slugName+"]/")),!this.placeholder){let b="/"===a?"/":a.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot define a route with the same specificity as a optional catch-all route ("'+b+'" and "'+b+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});c.unshift(b)}return null!==this.restSlugName&&c.push(...this.children.get("[...]")._smoosh(a+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&c.push(...this.children.get("[[...]]")._smoosh(a+"[[..."+this.optionalRestSlugName+"]]/")),c}_insert(a,b,d){if(0===a.length){this.placeholder=!1;return}if(d)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let e=a[0];if(e.startsWith("[")&&e.endsWith("]")){let c=e.slice(1,-1),g=!1;if(c.startsWith("[")&&c.endsWith("]")&&(c=c.slice(1,-1),g=!0),c.startsWith("…"))throw Object.defineProperty(Error("Detected a three-dot character ('…') at ('"+c+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(c.startsWith("...")&&(c=c.substring(3),d=!0),c.startsWith("[")||c.endsWith("]"))throw Object.defineProperty(Error("Segment names may not start or end with extra brackets ('"+c+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(c.startsWith("."))throw Object.defineProperty(Error("Segment names may not start with erroneous periods ('"+c+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function f(a,c){if(null!==a&&a!==c)throw Object.defineProperty(Error("You cannot use different slug names for the same dynamic path ('"+a+"' !== '"+c+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});b.forEach(a=>{if(a===c)throw Object.defineProperty(Error('You cannot have the same slug name "'+c+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(a.replace(/\W/g,"")===e.replace(/\W/g,""))throw Object.defineProperty(Error('You cannot have the slug names "'+a+'" and "'+c+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),b.push(c)}if(d)if(g){if(null!=this.restSlugName)throw Object.defineProperty(Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+a[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});f(this.optionalRestSlugName,c),this.optionalRestSlugName=c,e="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+a[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});f(this.restSlugName,c),this.restSlugName=c,e="[...]"}else{if(g)throw Object.defineProperty(Error('Optional route parameters are not yet supported ("'+a[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});f(this.slugName,c),this.slugName=c,e="[]"}}this.children.has(e)||this.children.set(e,new c),this.children.get(e)._insert(a.slice(1),b,d)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function d(a){let b=new c;return a.forEach(a=>b.insert(a)),b.smoosh()}function e(a,b){let c={},e=[];for(let d=0;da[c[b]])}},98440:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"denormalizePagePath",{enumerable:!0,get:function(){return f}});let d=c(11124),e=c(35582);function f(a){let b=(0,e.normalizePathSep)(a);return b.startsWith("/index/")&&!(0,d.isDynamicRoute)(b)?b.slice(6):"/index"!==b?b:"/"}}}; \ No newline at end of file diff --git a/.next/server/chunks/580.js b/.next/server/chunks/580.js deleted file mode 100644 index ba57182ddd11e69b378acb6383f09397800cba46..0000000000000000000000000000000000000000 --- a/.next/server/chunks/580.js +++ /dev/null @@ -1 +0,0 @@ -exports.id=580,exports.ids=[580],exports.modules={4525:(e,i,t)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),!function(e,i){for(var t in i)Object.defineProperty(e,t,{enumerable:!0,get:i[t]})}(i,{ImageResponse:function(){return r.ImageResponse},NextRequest:function(){return o.NextRequest},NextResponse:function(){return n.NextResponse},URLPattern:function(){return s.URLPattern},after:function(){return u.after},connection:function(){return c.connection},unstable_rootParams:function(){return l.unstable_rootParams},userAgent:function(){return a.userAgent},userAgentFromString:function(){return a.userAgentFromString}});let r=t(42174),o=t(76268),n=t(93426),a=t(53182),s=t(11243),u=t(93381),c=t(12944),l=t(72079)},11243:(e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"URLPattern",{enumerable:!0,get:function(){return t}});let t="undefined"==typeof URLPattern?void 0:URLPattern},12944:(e,i,t)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"connection",{enumerable:!0,get:function(){return c}});let r=t(29294),o=t(63033),n=t(84971),a=t(80023),s=t(68388),u=t(8719);function c(){let e=r.workAsyncStorage.getStore(),i=o.workUnitAsyncStorage.getStore();if(e){if(i&&"after"===i.phase&&!(0,u.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${e.route} used "connection" inside "after(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but "after(...)" executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E186",enumerable:!1,configurable:!0});if(e.forceStatic)return Promise.resolve(void 0);if(i){if("cache"===i.type)throw Object.defineProperty(Error(`Route ${e.route} used "connection" inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E111",enumerable:!1,configurable:!0});else if("unstable-cache"===i.type)throw Object.defineProperty(Error(`Route ${e.route} used "connection" inside a function cached with "unstable_cache(...)". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E1",enumerable:!1,configurable:!0})}if(e.dynamicShouldError)throw Object.defineProperty(new a.StaticGenBailoutError(`Route ${e.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E562",enumerable:!1,configurable:!0});if(i)if("prerender"===i.type)return(0,s.makeHangingPromise)(i.renderSignal,"`connection()`");else"prerender-ppr"===i.type?(0,n.postponeWithTracking)(e.route,"connection",i.dynamicTracking):"prerender-legacy"===i.type&&(0,n.throwToInterruptStaticGeneration)("connection",e,i);(0,n.trackDynamicDataInDynamicRender)(e,i)}return Promise.resolve(void 0)}},14871:(e,i,t)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"after",{enumerable:!0,get:function(){return o}});let r=t(29294);function o(e){let i=r.workAsyncStorage.getStore();if(!i)throw Object.defineProperty(Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});let{afterContext:t}=i;return t.after(e)}},32190:(e,i,t)=>{"use strict";var r=t(4525);t.o(r,"NextResponse")&&t.d(i,{NextResponse:function(){return r.NextResponse}})},42174:(e,i)=>{"use strict";function t(){throw Object.defineProperty(Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageResponse",{enumerable:!0,get:function(){return t}})},53182:(e,i,t)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),!function(e,i){for(var t in i)Object.defineProperty(e,t,{enumerable:!0,get:i[t]})}(i,{isBot:function(){return o},userAgent:function(){return a},userAgentFromString:function(){return n}});let r=function(e){return e&&e.__esModule?e:{default:e}}(t(70397));function o(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}function n(e){return{...(0,r.default)(e),isBot:void 0!==e&&o(e)}}function a({headers:e}){return n(e.get("user-agent")||void 0)}},70397:(e,i,t)=>{var r;(()=>{var o={226:function(o,n){!function(a,s){"use strict";var u="function",c="undefined",l="object",b="string",d="major",w="model",p="name",f="type",m="vendor",h="version",g="architecture",v="console",y="mobile",x="tablet",k="smarttv",_="wearable",R="embedded",P="Amazon",E="Apple",O="ASUS",S="BlackBerry",j="Browser",T="Chrome",N="Firefox",q="Google",A="Huawei",C="Microsoft",U="Motorola",D="Opera",M="Samsung",z="Sharp",I="Sony",B="Xiaomi",L="Zebra",G="Facebook",H="Chromium OS",X="Mac OS",V=function(e,i){var t={};for(var r in e)i[r]&&i[r].length%2==0?t[r]=i[r].concat(e[r]):t[r]=e[r];return t},W=function(e){for(var i={},t=0;t0?2===n.length?typeof n[1]==u?this[n[0]]=n[1].call(this,c):this[n[0]]=n[1]:3===n.length?typeof n[1]!==u||n[1].exec&&n[1].test?this[n[0]]=c?c.replace(n[1],n[2]):void 0:this[n[0]]=c?n[1].call(this,c,n[2]):void 0:4===n.length&&(this[n[0]]=c?n[3].call(this,c.replace(n[1],n[2])):s):this[n]=c||s;b+=2}},Q=function(e,i){for(var t in i)if(typeof i[t]===l&&i[t].length>0){for(var r=0;r2&&(e[w]="iPad",e[f]=x),e},this.getEngine=function(){var e={};return e[p]=s,e[h]=s,K.call(e,r,n.engine),e},this.getOS=function(){var e={};return e[p]=s,e[h]=s,K.call(e,r,n.os),v&&!e[p]&&o&&"Unknown"!=o.platform&&(e[p]=o.platform.replace(/chrome os/i,H).replace(/macos/i,X)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===b&&e.length>350?Z(e,350):e,this},this.setUA(r),this};ee.VERSION="1.0.35",ee.BROWSER=W([p,h,d]),ee.CPU=W([g]),ee.DEVICE=W([w,m,f,v,y,k,x,_,R]),ee.ENGINE=ee.OS=W([p,h]),typeof n!==c?(o.exports&&(n=o.exports=ee),n.UAParser=ee):t.amdO?void 0===(r=(function(){return ee}).call(i,t,i,e))||(e.exports=r):typeof a!==c&&(a.UAParser=ee);var ei=typeof a!==c&&(a.jQuery||a.Zepto);if(ei&&!ei.ua){var et=new ee;ei.ua=et.getResult(),ei.ua.get=function(){return et.getUA()},ei.ua.set=function(e){et.setUA(e);var i=et.getResult();for(var t in i)ei.ua[t]=i[t]}}}("object"==typeof window?window:this)}},n={};function a(e){var i=n[e];if(void 0!==i)return i.exports;var t=n[e]={exports:{}},r=!0;try{o[e].call(t.exports,t,t.exports,a),r=!1}finally{r&&delete n[e]}return t.exports}a.ab=__dirname+"/",e.exports=a(226)})()},72079:(e,i,t)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"unstable_rootParams",{enumerable:!0,get:function(){return l}});let r=t(71617),o=t(84971),n=t(29294),a=t(63033),s=t(68388),u=t(72609),c=new WeakMap;async function l(){let e=n.workAsyncStorage.getStore();if(!e)throw Object.defineProperty(new r.InvariantError("Missing workStore in unstable_rootParams"),"__NEXT_ERROR_CODE",{value:"E615",enumerable:!1,configurable:!0});let i=a.workUnitAsyncStorage.getStore();if(!i)throw Object.defineProperty(Error(`Route ${e.route} used \`unstable_rootParams()\` in Pages Router. This API is only available within App Router.`),"__NEXT_ERROR_CODE",{value:"E641",enumerable:!1,configurable:!0});switch(i.type){case"unstable-cache":case"cache":throw Object.defineProperty(Error(`Route ${e.route} used \`unstable_rootParams()\` inside \`"use cache"\` or \`unstable_cache\`. Support for this API inside cache scopes is planned for a future version of Next.js.`),"__NEXT_ERROR_CODE",{value:"E642",enumerable:!1,configurable:!0});case"prerender":case"prerender-ppr":case"prerender-legacy":return function(e,i,t){let r=i.fallbackRouteParams;if(r){let d=!1;for(let i in e)if(r.has(i)){d=!0;break}if(d){if("prerender"===t.type){let i=c.get(e);if(i)return i;let r=(0,s.makeHangingPromise)(t.renderSignal,"`unstable_rootParams`");return c.set(e,r),r}var n=e,a=r,l=i,b=t;let d=c.get(n);if(d)return d;let w={...n},p=Promise.resolve(w);return c.set(n,p),Object.keys(n).forEach(e=>{u.wellKnownProperties.has(e)||(a.has(e)?Object.defineProperty(w,e,{get(){let i=(0,u.describeStringPropertyAccess)("unstable_rootParams",e);"prerender-ppr"===b.type?(0,o.postponeWithTracking)(l.route,i,b.dynamicTracking):(0,o.throwToInterruptStaticGeneration)(i,l,b)},enumerable:!0}):p[e]=n[e])}),p}}return Promise.resolve(e)}(i.rootParams,e,i);default:return Promise.resolve(i.rootParams)}}},93381:(e,i,t)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(e,i){Object.keys(e).forEach(function(t){"default"===t||Object.prototype.hasOwnProperty.call(i,t)||Object.defineProperty(i,t,{enumerable:!0,get:function(){return e[t]}})})}(t(14871),i)},93426:(e,i,t)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"NextResponse",{enumerable:!0,get:function(){return b}});let r=t(23158),o=t(66608),n=t(47912),a=t(43763),s=t(23158),u=Symbol("internal response"),c=new Set([301,302,303,307,308]);function l(e,i){var t;if(null==e||null==(t=e.request)?void 0:t.headers){if(!(e.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let t=[];for(let[r,o]of e.request.headers)i.set("x-middleware-request-"+r,o),t.push(r);i.set("x-middleware-override-headers",t.join(","))}}class b extends Response{constructor(e,i={}){super(e,i);let t=this.headers,c=new Proxy(new s.ResponseCookies(t),{get(e,o,n){switch(o){case"delete":case"set":return(...n)=>{let a=Reflect.apply(e[o],e,n),u=new Headers(t);return a instanceof s.ResponseCookies&&t.set("x-middleware-set-cookie",a.getAll().map(e=>(0,r.stringifyCookie)(e)).join(",")),l(i,u),a};default:return a.ReflectAdapter.get(e,o,n)}}});this[u]={cookies:c,url:i.url?new o.NextURL(i.url,{headers:(0,n.toNodeOutgoingHttpHeaders)(t),nextConfig:i.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[u].cookies}static json(e,i){let t=Response.json(e,i);return new b(t.body,t)}static redirect(e,i){let t="number"==typeof i?i:(null==i?void 0:i.status)??307;if(!c.has(t))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let r="object"==typeof i?i:{},o=new Headers(null==r?void 0:r.headers);return o.set("Location",(0,n.validateURL)(e)),new b(null,{...r,headers:o,status:t})}static rewrite(e,i){let t=new Headers(null==i?void 0:i.headers);return t.set("x-middleware-rewrite",(0,n.validateURL)(e)),l(i,t),new b(null,{...i,headers:t})}static next(e){let i=new Headers(null==e?void 0:e.headers);return i.set("x-middleware-next","1"),l(e,i),new b(null,{...e,headers:i})}}},96559:(e,i,t)=>{"use strict";e.exports=t(44870)}}; \ No newline at end of file diff --git a/.next/server/chunks/6151.js b/.next/server/chunks/6151.js new file mode 100644 index 0000000000000000000000000000000000000000..f3fa6794503786414ea7a14886acd23c6c0d264b --- /dev/null +++ b/.next/server/chunks/6151.js @@ -0,0 +1 @@ +"use strict";exports.id=6151,exports.ids=[6151],exports.modules={14230:(a,b,c)=>{Object.defineProperty(b,"U",{enumerable:!0,get:function(){return n}});let d=c(28706),e=c(33675),f=c(29294),g=c(63033),h=c(26906),i=c(11938),j=c(82831),k=c(30787),l=c(31716),m=c(49290);function n(){let a="cookies",b=f.workAsyncStorage.getStore(),c=g.workUnitAsyncStorage.getStore();if(b){if(c&&"after"===c.phase&&!(0,l.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${b.route} used "cookies" inside "after(...)". This is not supported. If you need this data inside an "after" callback, use "cookies" outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E88",enumerable:!1,configurable:!0});if(b.forceStatic)return p(d.RequestCookiesAdapter.seal(new e.RequestCookies(new Headers({}))));if(b.dynamicShouldError)throw Object.defineProperty(new i.StaticGenBailoutError(`Route ${b.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E549",enumerable:!1,configurable:!0});if(c)switch(c.type){case"cache":let f=Object.defineProperty(Error(`Route ${b.route} used "cookies" inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "cookies" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E398",enumerable:!1,configurable:!0});throw Error.captureStackTrace(f,n),b.invalidDynamicUsageError??=f,f;case"unstable-cache":throw Object.defineProperty(Error(`Route ${b.route} used "cookies" inside a function cached with "unstable_cache(...)". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use "cookies" outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E157",enumerable:!1,configurable:!0});case"prerender":var k=b,q=c;let g=o.get(q);if(g)return g;let r=(0,j.makeHangingPromise)(q.renderSignal,k.route,"`cookies()`");return o.set(q,r),r;case"prerender-client":let s="`cookies`";throw Object.defineProperty(new m.InvariantError(`${s} must not be used within a client component. Next.js should be preventing ${s} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E693",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,h.postponeWithTracking)(b.route,a,c.dynamicTracking);case"prerender-legacy":return(0,h.throwToInterruptStaticGeneration)(a,b,c);case"prerender-runtime":return(0,h.delayUntilRuntimeStage)(c,function(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),c}(c.cookies));case"private-cache":return p(c.cookies);case"request":return(0,h.trackDynamicDataInDynamicRender)(c),p((0,d.areCookiesMutableInCurrentPhase)(c)?c.userspaceMutableCookies:c.cookies)}}(0,g.throwForMissingRequestStore)(a)}c(63036);let o=new WeakMap;function p(a){let b=o.get(a);if(b)return b;let c=Promise.resolve(a);return o.set(a,c),Object.defineProperties(c,{[Symbol.iterator]:{value:a[Symbol.iterator]?a[Symbol.iterator].bind(a):q.bind(a)},size:{get:()=>a.size},get:{value:a.get.bind(a)},getAll:{value:a.getAll.bind(a)},has:{value:a.has.bind(a)},set:{value:a.set.bind(a)},delete:{value:a.delete.bind(a)},clear:{value:"function"==typeof a.clear?a.clear.bind(a):r.bind(a,c)},toString:{value:a.toString.bind(a)}}),c}function q(){return this.getAll().map(a=>[a.name,a]).values()}function r(a){for(let a of this.getAll())this.delete(a.name);return a}(0,k.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`cookies()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E223",enumerable:!1,configurable:!0})})},17969:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(33164);let e=(a,b,c,e,f)=>{let g;if(void 0!==f.crit&&e?.crit===void 0)throw new a('"crit" (Critical) Header Parameter MUST be integrity protected');if(!e||void 0===e.crit)return new Set;if(!Array.isArray(e.crit)||0===e.crit.length||e.crit.some(a=>"string"!=typeof a||0===a.length))throw new a('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');for(let h of(g=void 0!==c?new Map([...Object.entries(c),...b.entries()]):b,e.crit)){if(!g.has(h))throw new d.T0(`Extension Header Parameter "${h}" is not recognized`);if(void 0===f[h])throw new a(`Extension Header Parameter "${h}" is missing`);if(g.get(h)&&void 0===e[h])throw new a(`Extension Header Parameter "${h}" MUST be integrity protected`)}return new Set(e.crit)}},28706:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{MutableRequestCookiesAdapter:function(){return l},ReadonlyRequestCookiesError:function(){return g},RequestCookiesAdapter:function(){return h},appendMutableCookies:function(){return k},areCookiesMutableInCurrentPhase:function(){return n},createCookiesWithMutableAccessCheck:function(){return m},getModifiedCookieValues:function(){return j},responseCookiesToRequestCookies:function(){return p}});let d=c(33675),e=c(63036),f=c(29294);class g extends Error{constructor(){super("Cookies can only be modified in a Server Action or Route Handler. Read more: https://nextjs.org/docs/app/api-reference/functions/cookies#options")}static callable(){throw new g}}class h{static seal(a){return new Proxy(a,{get(a,b,c){switch(b){case"clear":case"delete":case"set":return g.callable;default:return e.ReflectAdapter.get(a,b,c)}}})}}let i=Symbol.for("next.mutated.cookies");function j(a){let b=a[i];return b&&Array.isArray(b)&&0!==b.length?b:[]}function k(a,b){let c=j(b);if(0===c.length)return!1;let e=new d.ResponseCookies(a),f=e.getAll();for(let a of c)e.set(a);for(let a of f)e.set(a);return!0}class l{static wrap(a,b){let c=new d.ResponseCookies(new Headers);for(let b of a.getAll())c.set(b);let g=[],h=new Set,j=()=>{let a=f.workAsyncStorage.getStore();if(a&&(a.pathWasRevalidated=!0),g=c.getAll().filter(a=>h.has(a.name)),b){let a=[];for(let b of g){let c=new d.ResponseCookies(new Headers);c.set(b),a.push(c.toString())}b(a)}},k=new Proxy(c,{get(a,b,c){switch(b){case i:return g;case"delete":return function(...b){h.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.delete(...b),k}finally{j()}};case"set":return function(...b){h.add("string"==typeof b[0]?b[0]:b[0].name);try{return a.set(...b),k}finally{j()}};default:return e.ReflectAdapter.get(a,b,c)}}});return k}}function m(a){let b=new Proxy(a.mutableCookies,{get(c,d,f){switch(d){case"delete":return function(...d){return o(a,"cookies().delete"),c.delete(...d),b};case"set":return function(...d){return o(a,"cookies().set"),c.set(...d),b};default:return e.ReflectAdapter.get(c,d,f)}}});return b}function n(a){return"action"===a.phase}function o(a,b){if(!n(a))throw new g}function p(a){let b=new d.RequestCookies(new Headers);for(let c of a.getAll())b.set(c);return b}},30787:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0}),Object.defineProperty(b,"createDedupedByCallsiteServerErrorLoggerDev",{enumerable:!0,get:function(){return i}});let d=function(a,b){if(a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=e(b);if(c&&c.has(a))return c.get(a);var d={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(d,g,h):d[g]=a[g]}return d.default=a,c&&c.set(a,d),d}(c(74515));function e(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(e=function(a){return a?c:b})(a)}let f={current:null},g="function"==typeof d.cache?d.cache:a=>a,h=console.warn;function i(a){return function(...b){h(a(...b))}}g(a=>{try{h(f.current)}finally{f.current=null}})},32712:(a,b,c)=>{c.d(b,{A:()=>d});let d=a=>{if(!function(a){return"object"==typeof a&&null!==a}(a)||"[object Object]"!==Object.prototype.toString.call(a))return!1;if(null===Object.getPrototypeOf(a))return!0;let b=a;for(;null!==Object.getPrototypeOf(b);)b=Object.getPrototypeOf(b);return Object.getPrototypeOf(a)===b}},33164:(a,b,c)=>{c.d(b,{Dp:()=>j,Rb:()=>g,T0:()=>h,Ye:()=>i,h2:()=>l,ie:()=>e,n:()=>f});class d extends Error{static code="ERR_JOSE_GENERIC";code="ERR_JOSE_GENERIC";constructor(a,b){super(a,b),this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class e extends d{static code="ERR_JWT_CLAIM_VALIDATION_FAILED";code="ERR_JWT_CLAIM_VALIDATION_FAILED";claim;reason;payload;constructor(a,b,c="unspecified",d="unspecified"){super(a,{cause:{claim:c,reason:d,payload:b}}),this.claim=c,this.reason=d,this.payload=b}}class f extends d{static code="ERR_JWT_EXPIRED";code="ERR_JWT_EXPIRED";claim;reason;payload;constructor(a,b,c="unspecified",d="unspecified"){super(a,{cause:{claim:c,reason:d,payload:b}}),this.claim=c,this.reason=d,this.payload=b}}class g extends d{static code="ERR_JOSE_ALG_NOT_ALLOWED";code="ERR_JOSE_ALG_NOT_ALLOWED"}class h extends d{static code="ERR_JOSE_NOT_SUPPORTED";code="ERR_JOSE_NOT_SUPPORTED"}class i extends d{static code="ERR_JWS_INVALID";code="ERR_JWS_INVALID"}class j extends d{static code="ERR_JWT_INVALID";code="ERR_JWT_INVALID"}class k extends d{[Symbol.asyncIterator];static code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";constructor(a="multiple matching keys found in the JSON Web Key Set",b){super(a,b)}}class l extends d{static code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";constructor(a="signature verification failed",b){super(a,b)}}},33999:(a,b,c)=>{c.d(b,{M3:()=>g,W2:()=>f,ll:()=>e,t9:()=>h});var d=c(32712);function e(a){return(0,d.A)(a)&&"string"==typeof a.kty}function f(a){return"oct"!==a.kty&&("AKP"===a.kty&&"string"==typeof a.priv||"string"==typeof a.d)}function g(a){return"oct"!==a.kty&&void 0===a.d&&void 0===a.priv}function h(a){return"oct"===a.kty&&"string"==typeof a.k}},34603:(a,b,c)=>{let d=c(67675),e=c(29294),f=c(63033),g=c(26906),h=c(11938),i=c(82831),j=c(30787),k=c(31716),l=c(49290);c(63036);new WeakMap;(0,j.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`headers()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E277",enumerable:!1,configurable:!0})})},35916:(a,b,c)=>{let d=c(63033),e=c(29294),f=c(26906),g=c(30787),h=c(11938),i=c(69168),j=c(49290);c(63036);new WeakMap;(0,g.createDedupedByCallsiteServerErrorLoggerDev)(function(a,b){let c=a?`Route "${a}" `:"This route ";return Object.defineProperty(Error(`${c}used ${b}. \`draftMode()\` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E377",enumerable:!1,configurable:!0})})},37432:(a,b,c)=>{c.d(b,{D0:()=>e,Rd:()=>d,xW:()=>f});let d=new TextEncoder,e=new TextDecoder;function f(...a){let b=new Uint8Array(a.reduce((a,{length:b})=>a+b,0)),c=0;for(let d of a)b.set(d,c),c+=d.length;return b}},38312:(a,b,c)=>{function d(a,b="algorithm.name"){return TypeError(`CryptoKey does not support this operation, its ${b} must be ${a}`)}function e(a,b){return a.name===b}function f(a){return parseInt(a.name.slice(4),10)}c.d(b,{A:()=>h});var g=c(41330);let h=async(a,b,c)=>{if(b instanceof Uint8Array){if(!a.startsWith("HS"))throw TypeError((0,g.A)(b,"CryptoKey","KeyObject","JSON Web Key"));return crypto.subtle.importKey("raw",b,{hash:`SHA-${a.slice(-3)}`,name:"HMAC"},!1,[c])}return!function(a,b,c){switch(b){case"HS256":case"HS384":case"HS512":{if(!e(a.algorithm,"HMAC"))throw d("HMAC");let c=parseInt(b.slice(2),10);if(f(a.algorithm.hash)!==c)throw d(`SHA-${c}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!e(a.algorithm,"RSASSA-PKCS1-v1_5"))throw d("RSASSA-PKCS1-v1_5");let c=parseInt(b.slice(2),10);if(f(a.algorithm.hash)!==c)throw d(`SHA-${c}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!e(a.algorithm,"RSA-PSS"))throw d("RSA-PSS");let c=parseInt(b.slice(2),10);if(f(a.algorithm.hash)!==c)throw d(`SHA-${c}`,"algorithm.hash");break}case"Ed25519":case"EdDSA":if(!e(a.algorithm,"Ed25519"))throw d("Ed25519");break;case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":if(!e(a.algorithm,b))throw d(b);break;case"ES256":case"ES384":case"ES512":{if(!e(a.algorithm,"ECDSA"))throw d("ECDSA");let c=function(a){switch(a){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw Error("unreachable")}}(b);if(a.algorithm.namedCurve!==c)throw d(c,"algorithm.namedCurve");break}default:throw TypeError("CryptoKey does not support this operation")}if(c&&!a.usages.includes(c))throw TypeError(`CryptoKey does not support this operation, its usages must include ${c}.`)}(b,a,c),b}},41330:(a,b,c)=>{function d(a,b,...c){if((c=c.filter(Boolean)).length>2){let b=c.pop();a+=`one of type ${c.join(", ")}, or ${b}.`}else 2===c.length?a+=`one of type ${c[0]} or ${c[1]}.`:a+=`of type ${c[0]}.`;return null==b?a+=` Received ${b}`:"function"==typeof b&&b.name?a+=` Received function ${b.name}`:"object"==typeof b&&null!=b&&b.constructor?.name&&(a+=` Received an instance of ${b.constructor.name}`),a}c.d(b,{A:()=>e,t:()=>f});let e=(a,...b)=>d("Key must be ",a,...b);function f(a,b,...c){return d(`Key for the ${a} algorithm must be `,b,...c)}},47671:(a,b,c)=>{c.d(b,{V:()=>s});var d=c(73519),e=c(53082),f=c(80193),g=c(38312);let h=async(a,b,c,d)=>{let h=await (0,g.A)(a,b,"verify");(0,f.A)(a,h);let i=(0,e.A)(a,h.algorithm);try{return await crypto.subtle.verify(i,h,c,d)}catch{return!1}};var i=c(33164),j=c(37432),k=c(66719),l=c(32712),m=c(80053),n=c(17969),o=c(78312);async function p(a,b,c){let e,f;if(!(0,l.A)(a))throw new i.Ye("Flattened JWS must be an object");if(void 0===a.protected&&void 0===a.header)throw new i.Ye('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==a.protected&&"string"!=typeof a.protected)throw new i.Ye("JWS Protected Header incorrect type");if(void 0===a.payload)throw new i.Ye("JWS Payload missing");if("string"!=typeof a.signature)throw new i.Ye("JWS Signature missing or incorrect type");if(void 0!==a.header&&!(0,l.A)(a.header))throw new i.Ye("JWS Unprotected Header incorrect type");let g={};if(a.protected)try{let b=(0,d.D)(a.protected);g=JSON.parse(j.D0.decode(b))}catch{throw new i.Ye("JWS Protected Header is invalid")}if(!(0,k.A)(g,a.header))throw new i.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let p={...g,...a.header},q=(0,n.A)(i.Ye,new Map([["b64",!0]]),c?.crit,g,p),r=!0;if(q.has("b64")&&"boolean"!=typeof(r=g.b64))throw new i.Ye('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:s}=p;if("string"!=typeof s||!s)throw new i.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');let t=c&&((a,b)=>{if(void 0!==b&&(!Array.isArray(b)||b.some(a=>"string"!=typeof a)))throw TypeError(`"${a}" option must be an array of strings`);if(b)return new Set(b)})("algorithms",c.algorithms);if(t&&!t.has(s))throw new i.Rb('"alg" (Algorithm) Header Parameter value not allowed');if(r){if("string"!=typeof a.payload)throw new i.Ye("JWS Payload must be a string")}else if("string"!=typeof a.payload&&!(a.payload instanceof Uint8Array))throw new i.Ye("JWS Payload must be a string or an Uint8Array instance");let u=!1;"function"==typeof b&&(b=await b(g,a),u=!0),(0,m.A)(s,b,"verify");let v=(0,j.xW)(j.Rd.encode(a.protected??""),j.Rd.encode("."),"string"==typeof a.payload?j.Rd.encode(a.payload):a.payload);try{e=(0,d.D)(a.signature)}catch{throw new i.Ye("Failed to base64url decode the signature")}let w=await (0,o.A)(b,s);if(!await h(s,w,e,v))throw new i.h2;if(r)try{f=(0,d.D)(a.payload)}catch{throw new i.Ye("Failed to base64url decode the payload")}else f="string"==typeof a.payload?j.Rd.encode(a.payload):a.payload;let x={payload:f};return(void 0!==a.protected&&(x.protectedHeader=g),void 0!==a.header&&(x.unprotectedHeader=a.header),u)?{...x,key:w}:x}async function q(a,b,c){if(a instanceof Uint8Array&&(a=j.D0.decode(a)),"string"!=typeof a)throw new i.Ye("Compact JWS must be a string or Uint8Array");let{0:d,1:e,2:f,length:g}=a.split(".");if(3!==g)throw new i.Ye("Invalid Compact JWS");let h=await p({payload:e,protected:d,signature:f},b,c),k={payload:h.payload,protectedHeader:h.protectedHeader};return"function"==typeof b?{...k,key:h.key}:k}var r=c(79510);async function s(a,b,c){let d=await q(a,b,c);if(d.protectedHeader.crit?.includes("b64")&&!1===d.protectedHeader.b64)throw new i.Dp("JWTs MUST NOT use unencoded payload");let e={payload:(0,r.k)(d.protectedHeader,d.payload,c),protectedHeader:d.protectedHeader};return"function"==typeof b?{...e,key:d.key}:e}},53082:(a,b,c)=>{c.d(b,{A:()=>e});var d=c(33164);let e=(a,b)=>{let c=`SHA-${a.slice(-3)}`;switch(a){case"HS256":case"HS384":case"HS512":return{hash:c,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:c,name:"RSA-PSS",saltLength:parseInt(a.slice(-3),10)>>3};case"RS256":case"RS384":case"RS512":return{hash:c,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:c,name:"ECDSA",namedCurve:b.namedCurve};case"Ed25519":case"EdDSA":return{name:"Ed25519"};case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":return{name:a};default:throw new d.T0(`alg ${a} is not supported either by JOSE or your javascript runtime`)}}},66719:(a,b,c)=>{c.d(b,{A:()=>d});let d=(...a)=>{let b,c=a.filter(Boolean);if(0===c.length||1===c.length)return!0;for(let a of c){let c=Object.keys(a);if(!b||0===b.size){b=new Set(c);continue}for(let a of c){if(b.has(a))return!1;b.add(a)}}return!0}},73519:(a,b,c)=>{c.d(b,{D:()=>e,l:()=>f});var d=c(37432);function e(a){if(Uint8Array.fromBase64)return Uint8Array.fromBase64("string"==typeof a?a:d.D0.decode(a),{alphabet:"base64url"});let b=a;b instanceof Uint8Array&&(b=d.D0.decode(b)),b=b.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{var c=b;if(Uint8Array.fromBase64)return Uint8Array.fromBase64(c);let a=atob(c),d=new Uint8Array(a.length);for(let b=0;b{let d;c.d(b,{A:()=>k});var e=c(33999),f=c(73519),g=c(33164);let h=async a=>{if(!a.alg)throw TypeError('"alg" argument is required when "jwk.alg" is not present');let{algorithm:b,keyUsages:c}=function(a){let b,c;switch(a.kty){case"AKP":switch(a.alg){case"ML-DSA-44":case"ML-DSA-65":case"ML-DSA-87":b={name:a.alg},c=a.priv?["sign"]:["verify"];break;default:throw new g.T0('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(a.alg){case"PS256":case"PS384":case"PS512":b={name:"RSA-PSS",hash:`SHA-${a.alg.slice(-3)}`},c=a.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":b={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${a.alg.slice(-3)}`},c=a.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":b={name:"RSA-OAEP",hash:`SHA-${parseInt(a.alg.slice(-3),10)||1}`},c=a.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new g.T0('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(a.alg){case"ES256":b={name:"ECDSA",namedCurve:"P-256"},c=a.d?["sign"]:["verify"];break;case"ES384":b={name:"ECDSA",namedCurve:"P-384"},c=a.d?["sign"]:["verify"];break;case"ES512":b={name:"ECDSA",namedCurve:"P-521"},c=a.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":b={name:"ECDH",namedCurve:a.crv},c=a.d?["deriveBits"]:[];break;default:throw new g.T0('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(a.alg){case"Ed25519":case"EdDSA":b={name:"Ed25519"},c=a.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":b={name:a.crv},c=a.d?["deriveBits"]:[];break;default:throw new g.T0('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new g.T0('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:b,keyUsages:c}}(a),d={...a};return"AKP"!==d.kty&&delete d.alg,delete d.use,crypto.subtle.importKey("jwk",d,b,a.ext??(!a.d&&!a.priv),a.key_ops??c)};var i=c(81316);let j=async(a,b,c,e=!1)=>{let f=(d||=new WeakMap).get(a);if(f?.[c])return f[c];let g=await h({...b,alg:c});return e&&Object.freeze(a),f?f[c]=g:d.set(a,{[c]:g}),g},k=async(a,b)=>{if(a instanceof Uint8Array||(0,i.R7)(a))return a;if((0,i.D2)(a)){if("secret"===a.type)return a.export();if("toCryptoKey"in a&&"function"==typeof a.toCryptoKey)try{return((a,b)=>{let c,e=(d||=new WeakMap).get(a);if(e?.[b])return e[b];let f="public"===a.type,g=!!f;if("x25519"===a.asymmetricKeyType){switch(b){case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":break;default:throw TypeError("given KeyObject instance cannot be used for this algorithm")}c=a.toCryptoKey(a.asymmetricKeyType,g,f?[]:["deriveBits"])}if("ed25519"===a.asymmetricKeyType){if("EdDSA"!==b&&"Ed25519"!==b)throw TypeError("given KeyObject instance cannot be used for this algorithm");c=a.toCryptoKey(a.asymmetricKeyType,g,[f?"verify":"sign"])}switch(a.asymmetricKeyType){case"ml-dsa-44":case"ml-dsa-65":case"ml-dsa-87":if(b!==a.asymmetricKeyType.toUpperCase())throw TypeError("given KeyObject instance cannot be used for this algorithm");c=a.toCryptoKey(a.asymmetricKeyType,g,[f?"verify":"sign"])}if("rsa"===a.asymmetricKeyType){let d;switch(b){case"RSA-OAEP":d="SHA-1";break;case"RS256":case"PS256":case"RSA-OAEP-256":d="SHA-256";break;case"RS384":case"PS384":case"RSA-OAEP-384":d="SHA-384";break;case"RS512":case"PS512":case"RSA-OAEP-512":d="SHA-512";break;default:throw TypeError("given KeyObject instance cannot be used for this algorithm")}if(b.startsWith("RSA-OAEP"))return a.toCryptoKey({name:"RSA-OAEP",hash:d},g,f?["encrypt"]:["decrypt"]);c=a.toCryptoKey({name:b.startsWith("PS")?"RSA-PSS":"RSASSA-PKCS1-v1_5",hash:d},g,[f?"verify":"sign"])}if("ec"===a.asymmetricKeyType){let d=new Map([["prime256v1","P-256"],["secp384r1","P-384"],["secp521r1","P-521"]]).get(a.asymmetricKeyDetails?.namedCurve);if(!d)throw TypeError("given KeyObject instance cannot be used for this algorithm");"ES256"===b&&"P-256"===d&&(c=a.toCryptoKey({name:"ECDSA",namedCurve:d},g,[f?"verify":"sign"])),"ES384"===b&&"P-384"===d&&(c=a.toCryptoKey({name:"ECDSA",namedCurve:d},g,[f?"verify":"sign"])),"ES512"===b&&"P-521"===d&&(c=a.toCryptoKey({name:"ECDSA",namedCurve:d},g,[f?"verify":"sign"])),b.startsWith("ECDH-ES")&&(c=a.toCryptoKey({name:"ECDH",namedCurve:d},g,f?[]:["deriveBits"]))}if(!c)throw TypeError("given KeyObject instance cannot be used for this algorithm");return e?e[b]=c:d.set(a,{[b]:c}),c})(a,b)}catch(a){if(a instanceof TypeError)throw a}let c=a.export({format:"jwk"});return j(a,c,b)}if((0,e.ll)(a))return a.k?(0,f.D)(a.k):j(a,a,b,!0);throw Error("unreachable")}},79510:(a,b,c)=>{c.d(b,{c:()=>m,k:()=>l});var d=c(33164),e=c(37432);let f=a=>Math.floor(a.getTime()/1e3),g=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,h=a=>{let b,c=g.exec(a);if(!c||c[4]&&c[1])throw TypeError("Invalid time period format");let d=parseFloat(c[2]);switch(c[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":b=Math.round(d);break;case"minute":case"minutes":case"min":case"mins":case"m":b=Math.round(60*d);break;case"hour":case"hours":case"hr":case"hrs":case"h":b=Math.round(3600*d);break;case"day":case"days":case"d":b=Math.round(86400*d);break;case"week":case"weeks":case"w":b=Math.round(604800*d);break;default:b=Math.round(0x1e187e0*d)}return"-"===c[1]||"ago"===c[4]?-b:b};var i=c(32712);function j(a,b){if(!Number.isFinite(b))throw TypeError(`Invalid ${a} input`);return b}let k=a=>a.includes("/")?a.toLowerCase():`application/${a.toLowerCase()}`;function l(a,b,c={}){var g,j;let m,n;try{m=JSON.parse(e.D0.decode(b))}catch{}if(!(0,i.A)(m))throw new d.Dp("JWT Claims Set must be a top-level JSON object");let{typ:o}=c;if(o&&("string"!=typeof a.typ||k(a.typ)!==k(o)))throw new d.ie('unexpected "typ" JWT header value',m,"typ","check_failed");let{requiredClaims:p=[],issuer:q,subject:r,audience:s,maxTokenAge:t}=c,u=[...p];for(let a of(void 0!==t&&u.push("iat"),void 0!==s&&u.push("aud"),void 0!==r&&u.push("sub"),void 0!==q&&u.push("iss"),new Set(u.reverse())))if(!(a in m))throw new d.ie(`missing required "${a}" claim`,m,a,"missing");if(q&&!(Array.isArray(q)?q:[q]).includes(m.iss))throw new d.ie('unexpected "iss" claim value',m,"iss","check_failed");if(r&&m.sub!==r)throw new d.ie('unexpected "sub" claim value',m,"sub","check_failed");if(s&&(g=m.aud,j="string"==typeof s?[s]:s,"string"==typeof g?!j.includes(g):!(Array.isArray(g)&&j.some(Set.prototype.has.bind(new Set(g))))))throw new d.ie('unexpected "aud" claim value',m,"aud","check_failed");switch(typeof c.clockTolerance){case"string":n=h(c.clockTolerance);break;case"number":n=c.clockTolerance;break;case"undefined":n=0;break;default:throw TypeError("Invalid clockTolerance option type")}let{currentDate:v}=c,w=f(v||new Date);if((void 0!==m.iat||t)&&"number"!=typeof m.iat)throw new d.ie('"iat" claim must be a number',m,"iat","invalid");if(void 0!==m.nbf){if("number"!=typeof m.nbf)throw new d.ie('"nbf" claim must be a number',m,"nbf","invalid");if(m.nbf>w+n)throw new d.ie('"nbf" claim timestamp check failed',m,"nbf","check_failed")}if(void 0!==m.exp){if("number"!=typeof m.exp)throw new d.ie('"exp" claim must be a number',m,"exp","invalid");if(m.exp<=w-n)throw new d.n('"exp" claim timestamp check failed',m,"exp","check_failed")}if(t){let a=w-m.iat;if(a-n>("number"==typeof t?t:h(t)))throw new d.n('"iat" claim timestamp check failed (too far in the past)',m,"iat","check_failed");if(a<0-n)throw new d.ie('"iat" claim timestamp check failed (it should be in the past)',m,"iat","check_failed")}return m}class m{#a;constructor(a){if(!(0,i.A)(a))throw TypeError("JWT Claims Set MUST be an object");this.#a=structuredClone(a)}data(){return e.Rd.encode(JSON.stringify(this.#a))}get iss(){return this.#a.iss}set iss(a){this.#a.iss=a}get sub(){return this.#a.sub}set sub(a){this.#a.sub=a}get aud(){return this.#a.aud}set aud(a){this.#a.aud=a}set jti(a){this.#a.jti=a}set nbf(a){"number"==typeof a?this.#a.nbf=j("setNotBefore",a):a instanceof Date?this.#a.nbf=j("setNotBefore",f(a)):this.#a.nbf=f(new Date)+h(a)}set exp(a){"number"==typeof a?this.#a.exp=j("setExpirationTime",a):a instanceof Date?this.#a.exp=j("setExpirationTime",f(a)):this.#a.exp=f(new Date)+h(a)}set iat(a){void 0===a?this.#a.iat=f(new Date):a instanceof Date?this.#a.iat=j("setIssuedAt",f(a)):"string"==typeof a?this.#a.iat=j("setIssuedAt",f(new Date)+h(a)):this.#a.iat=j("setIssuedAt",a)}}},80053:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(41330),e=c(81316),f=c(33999);let g=a=>a?.[Symbol.toStringTag],h=(a,b,c)=>{if(void 0!==b.use){let a;switch(c){case"sign":case"verify":a="sig";break;case"encrypt":case"decrypt":a="enc"}if(b.use!==a)throw TypeError(`Invalid key for this operation, its "use" must be "${a}" when present`)}if(void 0!==b.alg&&b.alg!==a)throw TypeError(`Invalid key for this operation, its "alg" must be "${a}" when present`);if(Array.isArray(b.key_ops)){let d;switch(!0){case"sign"===c||"verify"===c:case"dir"===a:case a.includes("CBC-HS"):d=c;break;case a.startsWith("PBES2"):d="deriveBits";break;case/^A\d{3}(?:GCM)?(?:KW)?$/.test(a):d=!a.includes("GCM")&&a.endsWith("KW")?"encrypt"===c?"wrapKey":"unwrapKey":c;break;case"encrypt"===c&&a.startsWith("RSA"):d="wrapKey";break;case"decrypt"===c:d=a.startsWith("RSA")?"unwrapKey":"deriveBits"}if(d&&b.key_ops?.includes?.(d)===!1)throw TypeError(`Invalid key for this operation, its "key_ops" must include "${d}" when present`)}return!0},i=(a,b,c)=>{a.startsWith("HS")||"dir"===a||a.startsWith("PBES2")||/^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(a)||/^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(a)?((a,b,c)=>{if(!(b instanceof Uint8Array)){if(f.ll(b)){if(f.t9(b)&&h(a,b,c))return;throw TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present')}if(!(0,e.Ay)(b))throw TypeError((0,d.t)(a,b,"CryptoKey","KeyObject","JSON Web Key","Uint8Array"));if("secret"!==b.type)throw TypeError(`${g(b)} instances for symmetric algorithms must be of type "secret"`)}})(a,b,c):((a,b,c)=>{if(f.ll(b))switch(c){case"decrypt":case"sign":if(f.W2(b)&&h(a,b,c))return;throw TypeError("JSON Web Key for this operation be a private JWK");case"encrypt":case"verify":if(f.M3(b)&&h(a,b,c))return;throw TypeError("JSON Web Key for this operation be a public JWK")}if(!(0,e.Ay)(b))throw TypeError((0,d.t)(a,b,"CryptoKey","KeyObject","JSON Web Key"));if("secret"===b.type)throw TypeError(`${g(b)} instances for asymmetric algorithms must not be of type "secret"`);if("public"===b.type)switch(c){case"sign":throw TypeError(`${g(b)} instances for asymmetric algorithm signing must be of type "private"`);case"decrypt":throw TypeError(`${g(b)} instances for asymmetric algorithm decryption must be of type "private"`)}if("private"===b.type)switch(c){case"verify":throw TypeError(`${g(b)} instances for asymmetric algorithm verifying must be of type "public"`);case"encrypt":throw TypeError(`${g(b)} instances for asymmetric algorithm encryption must be of type "public"`)}})(a,b,c)}},80193:(a,b,c)=>{c.d(b,{A:()=>d});let d=(a,b)=>{if(a.startsWith("RS")||a.startsWith("PS")){let{modulusLength:c}=b.algorithm;if("number"!=typeof c||c<2048)throw TypeError(`${a} requires key modulusLength to be 2048 bits or larger`)}}},81316:(a,b,c)=>{function d(a){return a?.[Symbol.toStringTag]==="CryptoKey"}function e(a){return a?.[Symbol.toStringTag]==="KeyObject"}c.d(b,{Ay:()=>f,D2:()=>e,R7:()=>d});let f=a=>d(a)||e(a)},84440:(a,b,c)=>{c.d(b,{P:()=>r});var d=c(73519),e=c(53082),f=c(80193),g=c(38312);let h=async(a,b,c)=>{let d=await (0,g.A)(a,b,"sign");return(0,f.A)(a,d),new Uint8Array(await crypto.subtle.sign((0,e.A)(a,d.algorithm),d,c))};var i=c(66719),j=c(33164),k=c(37432),l=c(80053),m=c(17969),n=c(78312);class o{#a;#b;#c;constructor(a){if(!(a instanceof Uint8Array))throw TypeError("payload must be an instance of Uint8Array");this.#a=a}setProtectedHeader(a){if(this.#b)throw TypeError("setProtectedHeader can only be called once");return this.#b=a,this}setUnprotectedHeader(a){if(this.#c)throw TypeError("setUnprotectedHeader can only be called once");return this.#c=a,this}async sign(a,b){let c;if(!this.#b&&!this.#c)throw new j.Ye("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!(0,i.A)(this.#b,this.#c))throw new j.Ye("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");let e={...this.#b,...this.#c},f=(0,m.A)(j.Ye,new Map([["b64",!0]]),b?.crit,this.#b,e),g=!0;if(f.has("b64")&&"boolean"!=typeof(g=this.#b.b64))throw new j.Ye('The "b64" (base64url-encode payload) Header Parameter must be a boolean');let{alg:o}=e;if("string"!=typeof o||!o)throw new j.Ye('JWS "alg" (Algorithm) Header Parameter missing or invalid');(0,l.A)(o,a,"sign");let p=this.#a;g&&(p=k.Rd.encode((0,d.l)(p))),c=this.#b?k.Rd.encode((0,d.l)(JSON.stringify(this.#b))):k.Rd.encode("");let q=(0,k.xW)(c,k.Rd.encode("."),p),r=await (0,n.A)(a,o),s=await h(o,r,q),t={signature:(0,d.l)(s),payload:""};return g&&(t.payload=k.D0.decode(p)),this.#c&&(t.header=this.#c),this.#b&&(t.protected=k.D0.decode(c)),t}}class p{#d;constructor(a){this.#d=new o(a)}setProtectedHeader(a){return this.#d.setProtectedHeader(a),this}async sign(a,b){let c=await this.#d.sign(a,b);if(void 0===c.payload)throw TypeError("use the flattened module for creating JWS with b64: false");return`${c.protected}.${c.payload}.${c.signature}`}}var q=c(79510);class r{#b;#e;constructor(a={}){this.#e=new q.c(a)}setIssuer(a){return this.#e.iss=a,this}setSubject(a){return this.#e.sub=a,this}setAudience(a){return this.#e.aud=a,this}setJti(a){return this.#e.jti=a,this}setNotBefore(a){return this.#e.nbf=a,this}setExpirationTime(a){return this.#e.exp=a,this}setIssuedAt(a){return this.#e.iat=a,this}setProtectedHeader(a){return this.#b=a,this}async sign(a,b){let c=new p(this.#e.data());if(c.setProtectedHeader(this.#b),Array.isArray(this.#b?.crit)&&this.#b.crit.includes("b64")&&!1===this.#b.b64)throw new j.Dp("JWTs MUST NOT use unencoded payload");return c.sign(a,b)}}},86802:(a,b,c)=>{c.d(b,{UL:()=>d.U});var d=c(14230);c(34603),c(35916)}}; \ No newline at end of file diff --git a/.next/server/chunks/7035.js b/.next/server/chunks/7035.js deleted file mode 100644 index def89d5f11f2b6be9080721d2b6e399f77c177b2..0000000000000000000000000000000000000000 --- a/.next/server/chunks/7035.js +++ /dev/null @@ -1 +0,0 @@ -exports.id=7035,exports.ids=[7035],exports.modules={581:(t,e,r)=>{"use strict";e.__esModule=!0;var s=function(t){return t&&t.__esModule?t:{default:t}}(r(58668));function i(){this.parents=[]}function n(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function o(t){n.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function a(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}i.prototype={constructor:i,mutating:!1,acceptKey:function(t,e){var r=this.accept(t[e]);if(this.mutating){if(r&&!i.prototype[r.type])throw new s.default('Unexpected node type "'+r.type+'" found when accepting '+e+" on "+t.type);t[e]=r}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new s.default(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,r=t.length;e{"use strict";e.__esModule=!0;var r={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!r.helpers.scopedId(t)&&!t.depth}}};e.default=r,t.exports=e.default},14010:(t,e,r)=>{"use strict";e.__esModule=!0;var s=r(66112);e.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var i=r.inverse,n=r.fn;if(!0===e)return n(this);if(!1===e||null==e)return i(this);if(s.isArray(e))if(e.length>0)return r.ids&&(r.ids=[r.name]),t.helpers.each(e,r);else return i(this);if(r.data&&r.ids){var o=s.createFrame(r.data);o.contextPath=s.appendContextPath(r.data.contextPath,r.name),r={data:o}}return n(e,r)})},t.exports=e.default},16283:(t,e,r)=>{"use strict";e.__esModule=!0,e.registerDefaultDecorators=function(t){s.default(t)};var s=function(t){return t&&t.__esModule?t:{default:t}}(r(38327))},16837:(t,e,r)=>{"use strict";e.__esModule=!0;var s=r(66112),i=void 0;function n(t,e,r){if(s.isArray(t)){for(var i=[],n=0,o=t.length;n{"use strict";r.d(e,{A:()=>l});var s=r(55511);let i={randomUUID:s.randomUUID},n=new Uint8Array(256),o=n.length,a=[];for(let t=0;t<256;++t)a.push((t+256).toString(16).slice(1));let l=function(t,e,r){if(i.randomUUID&&!e&&!t)return i.randomUUID();let l=(t=t||{}).random??t.rng?.()??(o>n.length-16&&((0,s.randomFillSync)(n),o=0),n.slice(o,o+=16));if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,e){if((r=r||0)<0||r+16>e.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let t=0;t<16;++t)e[r+t]=l[t];return e}return function(t,e=0){return(a[t[e+0]]+a[t[e+1]]+a[t[e+2]]+a[t[e+3]]+"-"+a[t[e+4]]+a[t[e+5]]+"-"+a[t[e+6]]+a[t[e+7]]+"-"+a[t[e+8]]+a[t[e+9]]+"-"+a[t[e+10]]+a[t[e+11]]+a[t[e+12]]+a[t[e+13]]+a[t[e+14]]+a[t[e+15]]).toLowerCase()}(l)}},27736:(t,e)=>{"use strict";function r(t){this.string=t}e.__esModule=!0,r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},e.default=r,t.exports=e.default},28901:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("lookup",function(t,e,r){return t?r.lookupProperty(t,e):t})},t.exports=e.default},31842:(t,e,r)=>{"use strict";e.__esModule=!0;var s=r(66112),i=function(t){return t&&t.__esModule?t:{default:t}}(r(58668));e.default=function(t){t.registerHelper("each",function(t,e){if(!e)throw new i.default("Must pass iterator to #each");var r,n=e.fn,o=e.inverse,a=0,l="",c=void 0,p=void 0;function h(e,r,i){c&&(c.key=e,c.index=r,c.first=0===r,c.last=!!i,p&&(c.contextPath=p+e)),l+=n(t[e],{data:c,blockParams:s.blockParams([t[e],e],[p+e,null])})}if(e.data&&e.ids&&(p=s.appendContextPath(e.data.contextPath,e.ids[0])+"."),s.isFunction(t)&&(t=t.call(this)),e.data&&(c=s.createFrame(e.data)),t&&"object"==typeof t)if(s.isArray(t))for(var u=t.length;a{"use strict";e.__esModule=!0,e.createProtoAccessControl=function(t){var e=Object.create(null);e.constructor=!1,e.__defineGetter__=!1,e.__defineSetter__=!1,e.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:s.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:s.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}},e.resultIsAllowed=function(t,e,r){return"function"==typeof t?o(e.methods,r):o(e.properties,r)},e.resetLoggedProperties=function(){Object.keys(n).forEach(function(t){delete n[t]})};var s=r(44415),i=function(t){return t&&t.__esModule?t:{default:t}}(r(58093)),n=Object.create(null);function o(t,e){var r;return void 0!==t.whitelist[e]?!0===t.whitelist[e]:void 0!==t.defaultValue?t.defaultValue:(!0!==n[r=e]&&(n[r]=!0,i.default.log("error",'Handlebars: Access has been denied to resolve the property "'+r+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details')),!1)}},35089:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";e.__esModule=!0;var s=r(66112);e.default=function(t){t.registerDecorator("inline",function(t,e,r,i){var n=t;return e.partials||(e.partials={},n=function(i,n){var o=r.partials;r.partials=s.extend({},o,e.partials);var a=t(i,n);return r.partials=o,a}),e.partials[i.args[0]]=i.fn,n})},t.exports=e.default},38786:(t,e,r)=>{"use strict";function s(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=s(r(61292)),n=s(r(9431)),o=r(75890),a=r(80714),l=s(r(70080)),c=s(r(581)),p=s(r(91325)),h=i.default.create;function u(){var t=h();return t.compile=function(e,r){return a.compile(e,r,t)},t.precompile=function(e,r){return a.precompile(e,r,t)},t.AST=n.default,t.Compiler=a.Compiler,t.JavaScriptCompiler=l.default,t.Parser=o.parser,t.parse=o.parse,t.parseWithoutProcessing=o.parseWithoutProcessing,t}var d=u();d.create=u,p.default(d),d.Visitor=c.default,d.default=d,e.default=d,t.exports=e.default},39767:(t,e,r)=>{"use strict";function s(){this.padding=0}e.__esModule=!0,e.print=function(t){return new s().accept(t)},e.PrintVisitor=s,s.prototype=new(function(t){return t&&t.__esModule?t:{default:t}}(r(581))).default,s.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")},s.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")},s.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")},s.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")},s.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,i=0,n=e.length;i2&&_.push("'"+this.terminals_[v]+"'");P=this.lexer.showPosition?"Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[u]||u)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==u?"end of input":"'"+(this.terminals_[u]||u)+"'"),this.parseError(P,{text:this.lexer.match,token:this.terminals_[u]||u,line:this.lexer.yylineno,loc:p,expected:_})}}if(m[0]instanceof Array&&m.length>1)throw Error("Parse Error: multiple actions possible at state: "+f+", token: "+u);switch(m[0]){case 1:r.push(u),s.push(this.lexer.yytext),i.push(this.lexer.yylloc),r.push(m[1]),u=null,d?(u=d,d=null):(l=this.lexer.yyleng,o=this.lexer.yytext,a=this.lexer.yylineno,p=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[m[1]][1],S.$=s[s.length-y],S._$={first_line:i[i.length-(y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(y||1)].first_column,last_column:i[i.length-1].last_column},h&&(S._$.range=[i[i.length-(y||1)].range[0],i[i.length-1].range[1]]),void 0!==(g=this.performAction.call(S,o,l,a,this.yy,m[1],s,i)))return g;y&&(r=r.slice(0,-1*y*2),s=s.slice(0,-1*y),i=i.slice(0,-1*y)),r.push(this.productions_[m[1]][0]),s.push(S.$),i.push(S._$),k=n[r[r.length-2]][r[r.length-1]],r.push(k);break;case 3:return!0}}return!0}};function r(){this.yy={}}return(t={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===s.length?this.yylloc.first_column:0)+s[s.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,r,s,i,n=this._currentRules(),o=0;oe[0].length)||(e=r,s=o,this.options.flex));o++);return e?((i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,n[s],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t)?t:void 0:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)}}).options={},t.performAction=function(t,e,r,s){function i(t,r){return e.yytext=e.yytext.substring(t,e.yyleng-r+t)}switch(r){case 0:if("\\\\"===e.yytext.slice(-2)?(i(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(i(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:if(this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1])return 15;return i(5,9),"END_RAW_BLOCK";case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=i(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=i(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},t.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],t.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},e.lexer=t,r.prototype=e,e.Parser=r,new r}(),t.exports=e.default},44007:(t,e,r)=>{"use strict";e.__esModule=!0;var s=r(66112),i=function(t){return t&&t.__esModule?t:{default:t}}(r(58668));e.default=function(t){t.registerHelper("with",function(t,e){if(2!=arguments.length)throw new i.default("#with requires exactly one argument");s.isFunction(t)&&(t=t.call(this));var r=e.fn;if(s.isEmpty(t))return e.inverse(this);var n=e.data;return e.data&&e.ids&&((n=s.createFrame(e.data)).contextPath=s.appendContextPath(e.data.contextPath,e.ids[0])),r(t,{data:n,blockParams:s.blockParams([t],[n&&n.contextPath])})})},t.exports=e.default},44415:(t,e,r)=>{"use strict";e.__esModule=!0,e.createNewLookupObject=function(){for(var t=arguments.length,e=Array(t),r=0;r{"use strict";e.__esModule=!0;var s=r(66112),i=function(t){return t&&t.__esModule?t:{default:t}}(r(58668));e.default=function(t){t.registerHelper("if",function(t,e){if(2!=arguments.length)throw new i.default("#if requires exactly one argument");return(s.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||s.isEmpty(t))?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,r){if(2!=arguments.length)throw new i.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})},t.exports=e.default},47358:(t,e,r)=>{"use strict";e.__esModule=!0;var s=function(t){return t&&t.__esModule?t:{default:t}}(r(58668));e.default=function(t){t.registerHelper("helperMissing",function(){if(1!=arguments.length)throw new s.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e.default},58093:(t,e,r)=>{"use strict";e.__esModule=!0;var s=r(66112),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=s.indexOf(i.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=i.lookupLevel(t),"undefined"!=typeof console&&i.lookupLevel(i.level)<=t){var e=i.methodMap[t];console[e]||(e="log");for(var r=arguments.length,s=Array(r>1?r-1:0),n=1;n{"use strict";e.__esModule=!0;var r=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function s(t,e){var i=e&&e.loc,n=void 0,o=void 0,a=void 0,l=void 0;i&&(n=i.start.line,o=i.end.line,a=i.start.column,l=i.end.column,t+=" - "+n+":"+a);for(var c=Error.prototype.constructor.call(this,t),p=0;p{"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}e.__esModule=!0;var n=i(r(76704)),o=s(r(27736)),a=s(r(58668)),l=i(r(66112)),c=i(r(78217)),p=s(r(91325));function h(){var t=new n.HandlebarsEnvironment;return l.extend(t,n),t.SafeString=o.default,t.Exception=a.default,t.Utils=l,t.escapeExpression=l.escapeExpression,t.VM=c,t.template=function(e){return c.template(e,t)},t}var u=h();u.create=h,p.default(u),u.default=u,e.default=u,t.exports=e.default},66112:(t,e)=>{"use strict";e.__esModule=!0,e.extend=o,e.indexOf=function(t,e){for(var r=0,s=t.length;r":">",'"':""","'":"'","`":"`","=":"="},s=/[&<>"'`=]/g,i=/[&<>"'`=]/;function n(t){return r[t]}function o(t){for(var e=1;e{"use strict";function s(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=r(76704),n=s(r(58668)),o=r(66112),a=s(r(16837));function l(t){this.value=t}function c(){}c.prototype={nameLookup:function(t,e){return this.internalNameLookup(t,e)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=i.COMPILER_REVISION,e=i.REVISION_CHANGES[t];return[t,e]},appendToBuffer:function(t,e,r){return(o.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple)?["return ",t,";"]:r?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,e){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(e),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,e,r,s){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!s,this.name=this.environment.name,this.isChild=!!r,this.context=r||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var i=t.opcodes,o=void 0,a=void 0,l=void 0,c=void 0;for(l=0,c=i.length;l0&&(r+=", "+s.join(", "));var i=0;Object.keys(this.aliases).forEach(function(t){var s=e.aliases[t];s.children&&s.referenceCount>1&&(r+=", alias"+ ++i+"="+t,s.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(r+=", "+this.lookupPropertyFunctionVarDeclaration());var n=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths");var o=this.mergeSource(r);return t?(n.push(o),Function.apply(this,n)):this.source.wrap(["function(",n.join(","),") {\n ",o,"}"])},mergeSource:function(t){var e=this.environment.isSimple,r=!this.forceBuffer,s=void 0,i=void 0,n=void 0,o=void 0;return this.source.each(function(t){t.appendToBuffer?(n?t.prepend(" + "):n=t,o=t):(n&&(i?n.prepend("buffer += "):s=!0,o.add(";"),n=o=void 0),i=!0,e||(r=!1))}),r?n?(n.prepend("return "),o.add(";")):i||this.source.push('return "";'):(t+=", buffer = "+(s?"":this.initializeBuffer()),n?(n.prepend("return buffer + "),o.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(s?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(t){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs(t,0,r);var s=this.popStack();r.splice(1,0,s),this.push(this.source.functionCall(e,"call",r))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var r=this.topStack();e.splice(1,0,r),this.pushSource(["if (!",this.lastHelper,") { ",r," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,r,s){var i=0;s||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[i++])),this.resolvePath("context",t,i,e,r)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,r){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,r)},resolvePath:function(t,e,r,s,i){var n=this;if(this.options.strict||this.options.assumeObjects)return void this.push(function(t,e,r,s,i){var n=e.popStack(),o=r.length;for(t&&o--;sthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,r=t.length;e{"use strict";function s(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.parseWithoutProcessing=c,e.parse=function(t,e){var r=c(t,e);return new n.default(e).accept(r)};var i=s(r(43500)),n=s(r(91738)),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(78238)),a=r(66112);e.parser=i.default;var l={};function c(t,e){return"Program"===t.type?t:(i.default.yy=l,l.locInfo=function(t){return new l.SourceLocation(e&&e.srcName,t)},i.default.parse(t))}a.extend(l,o)},76704:(t,e,r)=>{"use strict";function s(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.HandlebarsEnvironment=h;var i=r(66112),n=s(r(58668)),o=r(79984),a=r(16283),l=s(r(58093)),c=r(34e3);e.VERSION="4.7.8",e.COMPILER_REVISION=8,e.LAST_COMPATIBLE_COMPILER_REVISION=7,e.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var p="[object Object]";function h(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},o.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}h.prototype={constructor:h,logger:l.default,log:l.default.log,registerHelper:function(t,e){if(i.toString.call(t)===p){if(e)throw new n.default("Arg not supported with multiple helpers");i.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if(i.toString.call(t)===p)i.extend(this.partials,t);else{if(void 0===e)throw new n.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if(i.toString.call(t)===p){if(e)throw new n.default("Arg not supported with multiple decorators");i.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}},e.log=l.default.log,e.createFrame=i.createFrame,e.logger=l.default},78217:(t,e,r)=>{"use strict";e.__esModule=!0,e.checkRevision=function(t){var e=t&&t[0]||1,r=n.COMPILER_REVISION;if(!(e>=n.LAST_COMPATIBLE_COMPILER_REVISION)||!(e<=n.COMPILER_REVISION))if(e{"use strict";e.__esModule=!0,e.SourceLocation=function(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}},e.id=function(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t},e.stripFlags=function(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}},e.stripComment=function(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},e.preparePath=function(t,e,r){r=this.locInfo(r);for(var i=t?"@":"",n=[],o=0,a=0,l=e.length;a0)throw new s.default("Invalid path: "+i,{loc:r});else".."===c&&o++}return{type:"PathExpression",data:t,depth:o,parts:n,original:i,loc:r}},e.prepareMustache=function(t,e,r,s,i,n){var o=s.charAt(3)||s.charAt(2);return{type:/\*/.test(s)?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:"{"!==o&&"&"!==o,strip:i,loc:this.locInfo(n)}},e.prepareRawBlock=function(t,e,r,s){i(t,r);var n={type:"Program",body:e,strip:{},loc:s=this.locInfo(s)};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:n,openStrip:{},inverseStrip:{},closeStrip:{},loc:s}},e.prepareBlock=function(t,e,r,n,o,a){n&&n.path&&i(t,n);var l=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,p=void 0;if(r){if(l)throw new s.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),p=r.strip,c=r.program}return o&&(o=c,c=e,e=o),{type:l?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:p,closeStrip:n&&n.strip,loc:this.locInfo(a)}},e.prepareProgram=function(t,e){if(!e&&t.length){var r=t[0].loc,s=t[t.length-1].loc;r&&s&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:s.end.line,column:s.end.column}})}return{type:"Program",body:t,strip:{},loc:e}},e.preparePartialBlock=function(t,e,r,s){return i(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(s)}};var s=function(t){return t&&t.__esModule?t:{default:t}}(r(58668));function i(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new s.default(t.path.original+" doesn't match "+e,r)}}},79984:(t,e,r)=>{"use strict";function s(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.registerDefaultHelpers=function(t){i.default(t),n.default(t),o.default(t),a.default(t),l.default(t),c.default(t),p.default(t)},e.moveHelperToHooks=function(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||delete t.helpers[e])};var i=s(r(14010)),n=s(r(31842)),o=s(r(47358)),a=s(r(47032)),l=s(r(35089)),c=s(r(28901)),p=s(r(44007))},80714:(t,e,r)=>{"use strict";function s(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.Compiler=l,e.precompile=function(t,e,r){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(e=e||{})||(e.data=!0),e.compat&&(e.useDepths=!0);var s=r.parse(t,e),n=new r.Compiler().compile(s,e);return new r.JavaScriptCompiler().compile(n,e)},e.compile=function(t,e,r){if(void 0===e&&(e={}),null==t||"string"!=typeof t&&"Program"!==t.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(e=n.extend({},e))||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;function o(){var s=r.parse(t,e),i=new r.Compiler().compile(s,e),n=new r.JavaScriptCompiler().compile(i,e,void 0,!0);return r.template(n)}function a(t,e){return s||(s=o()),s.call(this,t,e)}return a._setup=function(t){return s||(s=o()),s._setup(t)},a._child=function(t,e,r,i){return s||(s=o()),s._child(t,e,r,i)},a};var i=s(r(58668)),n=r(66112),o=s(r(9431)),a=[].slice;function l(){}function c(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}l.prototype={compiler:l,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var r=0;r1)throw new i.default("Unsupported number of partial arguments: "+r.length,t);r.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):r.push({type:"PathExpression",parts:[],depth:0}));var s=t.name.original,n="SubExpression"===t.name.type;n&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var o=t.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",n,s,o),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){c(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,r){var s=t.path,i=s.parts[0];this.opcode("getContext",s.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",r),s.strict=!0,this.accept(s),this.opcode("invokeAmbiguous",i,null!=e||null!=r)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,r){var s=this.setupFullMustacheParams(t,e,r),n=t.path,a=n.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",s.length,a);else if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+a,t);else n.strict=!0,n.falsy=!0,this.accept(n),this.opcode("invokeHelper",s.length,n.original,o.default.helpers.simpleId(n))},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],r=o.default.helpers.scopedId(t),s=!t.depth&&!r&&this.blockParamIndex(e);s?this.opcode("lookupBlockParam",s,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,r):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,r=0,s=e.length;for(this.opcode("pushHash");r=0)return[e,i]}}}},91325:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}},t.exports=e.default},91738:(t,e,r)=>{"use strict";function s(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function i(t,e,r){void 0===e&&(e=t.length);var s=t[e-1],i=t[e-2];return s?"ContentStatement"===s.type?(i||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(s.original):void 0:r}function n(t,e,r){void 0===e&&(e=-1);var s=t[e+1],i=t[e+2];return s?"ContentStatement"===s.type?(i||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(s.original):void 0:r}function o(t,e,r){var s=t[null==e?0:e+1];if(s&&"ContentStatement"===s.type&&(r||!s.rightStripped)){var i=s.value;s.value=s.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),s.rightStripped=s.value!==i}}function a(t,e,r){var s=t[null==e?t.length-1:e-1];if(s&&"ContentStatement"===s.type&&(r||!s.leftStripped)){var i=s.value;return s.value=s.value.replace(r?/\s+$/:/[ \t]+$/,""),s.leftStripped=s.value!==i,s.leftStripped}}e.__esModule=!0,s.prototype=new(function(t){return t&&t.__esModule?t:{default:t}}(r(581))).default,s.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var s=t.body,l=0,c=s.length;l{var s=r(38786).default,i=r(39767);s.PrintVisitor=i.PrintVisitor,s.print=i.print,t.exports=s},94267:(t,e)=>{"use strict";e.__esModule=!0,e.wrapHelper=function(t,e){return"function"!=typeof t?t:function(){var r=arguments[arguments.length-1];return arguments[arguments.length-1]=e(r),t.apply(this,arguments)}}}}; \ No newline at end of file diff --git a/.next/server/chunks/726.js b/.next/server/chunks/726.js new file mode 100644 index 0000000000000000000000000000000000000000..54feefc08f07b7f8fe75b8d3445baed14c047bef --- /dev/null +++ b/.next/server/chunks/726.js @@ -0,0 +1,553 @@ +exports.id=726,exports.ids=[726],exports.modules={74051:(a,b,c)=>{"use strict";c.r(b),c.d(b,{closeAllConnections:()=>v,closeCoreDatabase:()=>u,closeSiteDatabase:()=>t,deleteSiteDatabase:()=>s,getCoreDatabase:()=>p,getCoreDatabasePath:()=>y,getSiteDatabase:()=>q,getSiteDatabasePath:()=>x,listSiteIds:()=>w,siteExists:()=>r});var d=c(87550),e=c.n(d),f=c(33873),g=c.n(f),h=c(29021),i=c.n(h);let j=null,k=new Map;function l(){return process.env.DATA_DIR||g().join(process.cwd(),"data")}function m(){return g().join(process.cwd(),"sites")}function n(a){i().existsSync(a)||i().mkdirSync(a,{recursive:!0})}function o(a){a.pragma("journal_mode = WAL"),a.pragma("foreign_keys = ON"),a.pragma("synchronous = NORMAL"),a.pragma("cache_size = -64000"),a.pragma("temp_store = MEMORY")}function p(){if(j)return j;let a=l();n(a);let b=g().join(a,"osws.sqlite");return o(j=new(e())(b)),j}function q(a){let b=k.get(a);if(b)return b;let c=m(),d=g().join(c,a);n(d);let f=g().join(d,"site.sqlite"),h=new(e())(f);return o(h),k.set(a,h),h}function r(a){let b=m(),c=g().join(b,a,"site.sqlite");return i().existsSync(c)}function s(a){t(a);let b=m(),c=g().join(b,a);if(i().existsSync(c)){for(let a of i().readdirSync(c))i().unlinkSync(g().join(c,a));i().rmdirSync(c)}}function t(a){let b=k.get(a);if(b){try{b.close()}catch{}k.delete(a)}}function u(){if(j){try{j.close()}catch{}j=null}}function v(){for(let[a]of k)t(a);u()}function w(){let a=m();return i().existsSync(a)?i().readdirSync(a,{withFileTypes:!0}).filter(a=>a.isDirectory()).filter(b=>i().existsSync(g().join(a,b.name,"site.sqlite"))).map(a=>a.name):[]}function x(a){let b=m();return g().join(b,a,"site.sqlite")}function y(){let a=l();return g().join(a,"osws.sqlite")}},75794:(a,b,c)=>{"use strict";c.d(b,{MG:()=>i,wu:()=>j,yg:()=>h});var d=c(55511),e=c.n(d);let f="aes-256-gcm";function g(){let a=process.env.SECRETS_ENCRYPTION_KEY;if(!a)throw Error("SECRETS_ENCRYPTION_KEY environment variable not set");let b=Buffer.from(a,"base64");if(32!==b.length)throw Error(`Invalid SECRETS_ENCRYPTION_KEY: expected 32 bytes, got ${b.length}`);return b}function h(){try{return g(),!0}catch{return!1}}function i(a){let b=g(),c=e().randomBytes(16),d=e().createCipheriv(f,b,c),h=d.update(a,"utf8","base64");return{encryptedValue:h+=d.final("base64"),iv:c.toString("base64"),authTag:d.getAuthTag().toString("base64")}}function j(a,b,c){let d=g(),h=e().createDecipheriv(f,d,Buffer.from(b,"base64"));h.setAuthTag(Buffer.from(c,"base64"));let i=h.update(a,"base64","utf8");return i+h.final("utf8")}},78335:()=>{},96487:()=>{},97778:(a,b,c)=>{"use strict";c.d(b,{B:()=>v,q:()=>w});var d=c(74051),e=c(32524),f=c(75794);function g(a){return a?"string"==typeof a?a:a.toISOString():null}function h(a){return"string"==typeof a?a:a.toISOString()}function i(a,b){if(!a)return b;try{return JSON.parse(a)}catch{return b}}function j(a){return a?new Date(a):new Date}class k{constructor(a){this.initialized=!1,this.siteId=a,this.db=(0,d.getSiteDatabase)(a)}init(){this.initialized||(this.db.exec(` + CREATE TABLE IF NOT EXISTS site_info ( + id TEXT PRIMARY KEY DEFAULT 'main', + project_id TEXT NOT NULL, + name TEXT NOT NULL, + slug TEXT, + enabled INTEGER NOT NULL DEFAULT 0, + under_construction INTEGER NOT NULL DEFAULT 0, + custom_domain TEXT, + head_scripts TEXT NOT NULL DEFAULT '[]', + body_scripts TEXT NOT NULL DEFAULT '[]', + cdn_links TEXT NOT NULL DEFAULT '[]', + analytics TEXT NOT NULL DEFAULT '{}', + seo TEXT NOT NULL DEFAULT '{}', + compliance TEXT NOT NULL DEFAULT '{}', + settings_version INTEGER NOT NULL DEFAULT 1, + last_published_version INTEGER, + preview_image TEXT, + preview_updated_at TEXT, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL, + published_at TEXT + ) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS files ( + id TEXT PRIMARY KEY, + path TEXT NOT NULL UNIQUE, + name TEXT NOT NULL, + type TEXT NOT NULL, + content TEXT, + mime_type TEXT NOT NULL, + size INTEGER NOT NULL, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL, + metadata TEXT DEFAULT '{}' + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_files_path ON files(path) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS file_tree_nodes ( + id TEXT PRIMARY KEY, + path TEXT NOT NULL UNIQUE, + name TEXT NOT NULL, + type TEXT NOT NULL, + parent_path TEXT, + is_expanded INTEGER DEFAULT 0, + children TEXT DEFAULT '[]', + metadata TEXT DEFAULT '{}' + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_tree_nodes_parent_path ON file_tree_nodes(parent_path) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS pageviews ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + page_path TEXT NOT NULL, + referrer TEXT, + country TEXT, + user_agent TEXT, + device_type TEXT, + session_id TEXT NOT NULL, + load_time INTEGER, + timestamp TEXT NOT NULL DEFAULT (datetime('now')) + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_pageviews_timestamp ON pageviews(timestamp) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_pageviews_session_id ON pageviews(session_id) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS interactions ( + id TEXT PRIMARY KEY, + session_id TEXT NOT NULL, + page_path TEXT NOT NULL, + interaction_type TEXT NOT NULL, + element_selector TEXT, + coordinates TEXT, + scroll_depth INTEGER, + time_on_page INTEGER, + timestamp TEXT NOT NULL DEFAULT (datetime('now')) + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_interactions_page_path ON interactions(page_path) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_interactions_timestamp ON interactions(timestamp) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS sessions ( + id TEXT PRIMARY KEY, + session_id TEXT NOT NULL, + entry_page TEXT, + exit_page TEXT, + page_count INTEGER DEFAULT 1, + duration INTEGER, + is_bounce INTEGER DEFAULT 1, + created_at TEXT NOT NULL DEFAULT (datetime('now')), + ended_at TEXT + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_sessions_session_id ON sessions(session_id) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_sessions_created_at ON sessions(created_at) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS edge_functions ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL UNIQUE, + description TEXT, + code TEXT NOT NULL, + method TEXT NOT NULL DEFAULT 'ANY', + enabled INTEGER NOT NULL DEFAULT 1, + timeout_ms INTEGER NOT NULL DEFAULT 5000, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_edge_functions_name ON edge_functions(name) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS function_logs ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + function_id TEXT NOT NULL, + method TEXT NOT NULL, + path TEXT NOT NULL, + status_code INTEGER, + duration_ms INTEGER, + error TEXT, + timestamp TEXT NOT NULL DEFAULT (datetime('now')), + FOREIGN KEY (function_id) REFERENCES edge_functions(id) ON DELETE CASCADE + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_function_logs_function_id ON function_logs(function_id) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_function_logs_timestamp ON function_logs(timestamp) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS server_functions ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL UNIQUE, + description TEXT, + code TEXT NOT NULL, + enabled INTEGER NOT NULL DEFAULT 1, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_server_functions_name ON server_functions(name) + `),this.db.exec(` + CREATE TABLE IF NOT EXISTS secrets ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL UNIQUE, + encrypted_value TEXT NOT NULL, + iv TEXT NOT NULL, + auth_tag TEXT NOT NULL, + description TEXT, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL + ) + `),this.db.exec(` + CREATE INDEX IF NOT EXISTS idx_secrets_name ON secrets(name) + `),this.initialized=!0)}close(){(0,d.closeSiteDatabase)(this.siteId)}createSiteInfo(a){this.db.prepare(` + INSERT OR REPLACE INTO site_info ( + id, project_id, name, slug, enabled, under_construction, + custom_domain, head_scripts, body_scripts, cdn_links, + analytics, seo, compliance, settings_version, + last_published_version, preview_image, preview_updated_at, + created_at, updated_at, published_at + ) VALUES ( + 'main', ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? + ) + `).run(a.projectId,a.name,a.slug??null,+!!a.enabled,+!!a.underConstruction,a.customDomain??null,JSON.stringify(a.headScripts??[]),JSON.stringify(a.bodyScripts??[]),JSON.stringify(a.cdnLinks??[]),JSON.stringify(a.analytics??{}),JSON.stringify(a.seo??{}),JSON.stringify(a.compliance??{}),a.settingsVersion??1,a.lastPublishedVersion??null,a.previewImage??null,g(a.previewUpdatedAt),h(a.createdAt),h(a.updatedAt),g(a.publishedAt))}getSiteInfo(){let a=this.db.prepare("SELECT * FROM site_info WHERE id = ?").get("main");return a?{id:this.siteId,projectId:a.project_id,name:a.name,slug:a.slug,enabled:!!a.enabled,underConstruction:!!a.under_construction,customDomain:a.custom_domain,headScripts:i(a.head_scripts,[]),bodyScripts:i(a.body_scripts,[]),cdnLinks:i(a.cdn_links,[]),analytics:i(a.analytics,{enabled:!1,provider:"builtin",privacyMode:!0}),seo:i(a.seo,{}),compliance:i(a.compliance,{enabled:!1,bannerPosition:"bottom",bannerStyle:"bar",message:"",acceptButtonText:"Accept",declineButtonText:"Decline",mode:"opt-in",blockAnalytics:!1}),settingsVersion:a.settings_version,lastPublishedVersion:a.last_published_version,previewImage:a.preview_image,previewUpdatedAt:a.preview_updated_at?j(a.preview_updated_at):void 0,createdAt:j(a.created_at),updatedAt:j(a.updated_at),publishedAt:a.published_at?j(a.published_at):null}:null}updateSiteInfo(a){let b=[],c=[];if(void 0!==a.name&&(b.push("name = ?"),c.push(a.name)),void 0!==a.slug&&(b.push("slug = ?"),c.push(a.slug)),void 0!==a.enabled&&(b.push("enabled = ?"),c.push(+!!a.enabled)),void 0!==a.underConstruction&&(b.push("under_construction = ?"),c.push(+!!a.underConstruction)),void 0!==a.customDomain&&(b.push("custom_domain = ?"),c.push(a.customDomain)),void 0!==a.headScripts&&(b.push("head_scripts = ?"),c.push(JSON.stringify(a.headScripts))),void 0!==a.bodyScripts&&(b.push("body_scripts = ?"),c.push(JSON.stringify(a.bodyScripts))),void 0!==a.cdnLinks&&(b.push("cdn_links = ?"),c.push(JSON.stringify(a.cdnLinks))),void 0!==a.analytics&&(b.push("analytics = ?"),c.push(JSON.stringify(a.analytics))),void 0!==a.seo&&(b.push("seo = ?"),c.push(JSON.stringify(a.seo))),void 0!==a.compliance&&(b.push("compliance = ?"),c.push(JSON.stringify(a.compliance))),void 0!==a.settingsVersion&&(b.push("settings_version = ?"),c.push(a.settingsVersion)),void 0!==a.lastPublishedVersion&&(b.push("last_published_version = ?"),c.push(a.lastPublishedVersion)),void 0!==a.previewImage&&(b.push("preview_image = ?"),c.push(a.previewImage)),void 0!==a.previewUpdatedAt&&(b.push("preview_updated_at = ?"),c.push(g(a.previewUpdatedAt))),void 0!==a.updatedAt&&(b.push("updated_at = ?"),c.push(h(a.updatedAt))),void 0!==a.publishedAt&&(b.push("published_at = ?"),c.push(g(a.publishedAt))),0===b.length)return;a.updatedAt||(b.push("updated_at = ?"),c.push(new Date().toISOString()));let d=`UPDATE site_info SET ${b.join(", ")} WHERE id = 'main'`;this.db.prepare(d).run(...c)}createFile(a){let b,c=this.db.prepare(` + INSERT INTO files ( + id, path, name, type, content, mime_type, size, + created_at, updated_at, metadata + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `);b=a.content instanceof ArrayBuffer?Buffer.from(a.content).toString("base64"):"string"==typeof a.content?a.content:"",c.run(a.id,a.path,a.name,a.type,b,a.mimeType??null,a.size??0,h(a.createdAt),h(a.updatedAt),JSON.stringify(a.metadata??{}))}getFile(a){let b=this.db.prepare("SELECT * FROM files WHERE path = ?").get(a);return b?this.rowToFile(b):null}updateFile(a){let b,c=this.db.prepare(` + UPDATE files SET + name = ?, type = ?, content = ?, mime_type = ?, + size = ?, updated_at = ?, metadata = ? + WHERE path = ? + `);b=a.content instanceof ArrayBuffer?Buffer.from(a.content).toString("base64"):"string"==typeof a.content?a.content:"",c.run(a.name,a.type,b,a.mimeType??null,a.size??0,h(a.updatedAt),JSON.stringify(a.metadata??{}),a.path)}deleteFile(a){this.db.prepare("DELETE FROM files WHERE path = ?").run(a)}listFiles(){return this.db.prepare("SELECT * FROM files ORDER BY path").all().map(a=>this.rowToFile(a))}deleteAllFiles(){this.db.prepare("DELETE FROM files").run()}rowToFile(a){let b=i(a.metadata,{}),c=a.type,d=a.content;if("image"===c||"video"===c||"binary"===c)try{d=Buffer.from(d,"base64").buffer}catch{}return{id:a.id,projectId:this.siteId,path:a.path,name:a.name,type:c,content:d,mimeType:a.mime_type,size:a.size,createdAt:j(a.created_at),updatedAt:j(a.updated_at),metadata:b}}createTreeNode(a){this.db.prepare(` + INSERT INTO file_tree_nodes (id, path, name, type, parent_path, is_expanded, children, metadata) + VALUES (?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.path,a.name,a.type,a.parentPath,+!!a.isExpanded,JSON.stringify(a.children??[]),JSON.stringify(a.metadata??{}))}getTreeNode(a){let b=this.db.prepare("SELECT * FROM file_tree_nodes WHERE path = ?").get(a);return b?this.rowToTreeNode(b):null}updateTreeNode(a){this.db.prepare(` + UPDATE file_tree_nodes SET + name = ?, type = ?, parent_path = ?, is_expanded = ?, children = ?, metadata = ? + WHERE path = ? + `).run(a.name,a.type,a.parentPath,+!!a.isExpanded,JSON.stringify(a.children??[]),JSON.stringify(a.metadata??{}),a.path)}deleteTreeNode(a){this.db.prepare("DELETE FROM file_tree_nodes WHERE path = ?").run(a)}getChildNodes(a){return this.db.prepare("SELECT * FROM file_tree_nodes WHERE parent_path IS ? ORDER BY type DESC, path").all(a).map(a=>this.rowToTreeNode(a))}getAllTreeNodes(){return this.db.prepare("SELECT * FROM file_tree_nodes ORDER BY path").all().map(a=>this.rowToTreeNode(a))}rowToTreeNode(a){return{id:a.id,projectId:this.siteId,path:a.path,name:a.name,type:a.type,parentPath:a.parent_path,isExpanded:!!a.is_expanded,children:i(a.children,[]),metadata:i(a.metadata,{})}}recordPageview(a){this.db.prepare(` + INSERT INTO pageviews ( + page_path, referrer, country, user_agent, + device_type, session_id, load_time + ) VALUES (?, ?, ?, ?, ?, ?, ?) + `).run(a.pagePath,a.referrer??null,a.country??null,a.userAgent??null,a.deviceType??null,a.sessionId,a.loadTime??null)}recordInteraction(a){this.db.prepare(` + INSERT INTO interactions ( + id, session_id, page_path, interaction_type, + element_selector, coordinates, scroll_depth, time_on_page + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?) + `).run((0,e.A)(),a.sessionId,a.pagePath,a.interactionType,a.elementSelector??null,a.coordinates?JSON.stringify(a.coordinates):null,a.scrollDepth??null,a.timeOnPage??null)}upsertSession(a,b){let c=this.db.prepare("SELECT * FROM sessions WHERE session_id = ?").get(a);if(c){let d=c.page_count+1;this.db.prepare(` + UPDATE sessions SET + exit_page = ?, + page_count = ?, + is_bounce = 0, + ended_at = datetime('now') + WHERE session_id = ? + `).run(b,d,a)}else this.db.prepare(` + INSERT INTO sessions ( + id, session_id, entry_page, exit_page, + page_count, is_bounce + ) VALUES (?, ?, ?, ?, 1, 1) + `).run((0,e.A)(),a,b,b)}updateSessionDuration(a,b){this.db.prepare(` + UPDATE sessions SET duration = ?, ended_at = datetime('now') + WHERE session_id = ? + `).run(b,a)}getStats(a=30){let b=new Date;b.setDate(b.getDate()-a);let c=b.toISOString(),d=this.db.prepare(` + SELECT COUNT(*) as count FROM pageviews WHERE timestamp >= ? + `).get(c).count,e=this.db.prepare(` + SELECT COUNT(DISTINCT session_id) as count FROM pageviews WHERE timestamp >= ? + `).get(c).count,f=this.db.prepare(` + SELECT AVG(duration) as avg FROM sessions WHERE created_at >= ? AND duration IS NOT NULL + `).get(c).avg??0,g=this.db.prepare(` + SELECT + SUM(CASE WHEN is_bounce = 1 THEN 1 ELSE 0 END) as bounces, + COUNT(*) as total + FROM sessions WHERE created_at >= ? + `).get(c),h=g.total>0?g.bounces/g.total*100:0;return{totalPageviews:d,uniqueSessions:e,avgSessionDuration:f,bounceRate:h,topPages:this.db.prepare(` + SELECT page_path as path, COUNT(*) as views + FROM pageviews WHERE timestamp >= ? + GROUP BY page_path + ORDER BY views DESC + LIMIT 10 + `).all(c),topReferrers:this.db.prepare(` + SELECT referrer, COUNT(*) as count + FROM pageviews WHERE timestamp >= ? AND referrer IS NOT NULL AND referrer != '' + GROUP BY referrer + ORDER BY count DESC + LIMIT 10 + `).all(c)}}getTopPages(a=30,b=10){let c=new Date;return c.setDate(c.getDate()-a),this.db.prepare(` + SELECT page_path as path, COUNT(*) as views + FROM pageviews WHERE timestamp >= ? + GROUP BY page_path + ORDER BY views DESC + LIMIT ? + `).all(c.toISOString(),b)}getTopReferrers(a=30,b=10){let c=new Date;return c.setDate(c.getDate()-a),this.db.prepare(` + SELECT referrer, COUNT(*) as count + FROM pageviews WHERE timestamp >= ? AND referrer IS NOT NULL AND referrer != '' + GROUP BY referrer + ORDER BY count DESC + LIMIT ? + `).all(c.toISOString(),b)}getPageviewsOverTime(a=30){let b=new Date;return b.setDate(b.getDate()-a),this.db.prepare(` + SELECT DATE(timestamp) as date, COUNT(*) as views + FROM pageviews WHERE timestamp >= ? + GROUP BY DATE(timestamp) + ORDER BY date + `).all(b.toISOString())}getHeatmapData(a,b="click"){return this.db.prepare(` + SELECT coordinates, COUNT(*) as count + FROM interactions + WHERE page_path = ? AND interaction_type = ? AND coordinates IS NOT NULL + GROUP BY coordinates + `).all(a,b).map(a=>{let b=i(a.coordinates,{x:0,y:0});return{x:b.x,y:b.y,count:a.count}})}getClickData(a,b,c,d=1e4){let e=` + SELECT coordinates, element_selector, timestamp + FROM interactions + WHERE page_path = ? AND interaction_type = 'click' AND coordinates IS NOT NULL + `,f=[a];return b&&(e+=" AND timestamp >= ?",f.push(b)),c&&(e+=" AND timestamp <= ?",f.push(c)),e+=" ORDER BY timestamp DESC LIMIT ?",f.push(d),this.db.prepare(e).all(...f)}getScrollData(a,b,c,d=1e4){let e=` + SELECT scroll_depth, time_on_page, timestamp + FROM interactions + WHERE page_path = ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL + `,f=[a];return b&&(e+=" AND timestamp >= ?",f.push(b)),c&&(e+=" AND timestamp <= ?",f.push(c)),e+=" ORDER BY timestamp DESC LIMIT ?",f.push(d),this.db.prepare(e).all(...f).map(a=>({scrollDepth:a.scroll_depth,timeOnPage:a.time_on_page,timestamp:a.timestamp}))}getSessionsWithJourneys(a,b,c=100){let d=` + SELECT id, session_id, entry_page, exit_page, page_count, duration, is_bounce, created_at, ended_at + FROM sessions + WHERE 1=1 + `,e=[];a&&(d+=" AND created_at >= ?",e.push(a)),b&&(d+=" AND created_at <= ?",e.push(b)),d+=" ORDER BY created_at DESC LIMIT ?",e.push(c);let f=this.db.prepare(d).all(...e);if(0===f.length)return[];let g=f.map(a=>a.session_id),h=g.map(()=>"?").join(","),i=this.db.prepare(` + SELECT session_id, page_path, timestamp + FROM pageviews + WHERE session_id IN (${h}) + ORDER BY session_id, timestamp ASC + `).all(...g),j=new Map;for(let a of i){let b=a.session_id;j.has(b)||j.set(b,[]),j.get(b).push({path:a.page_path,timestamp:a.timestamp})}return f.map(a=>({sessionId:a.session_id,entryPage:a.entry_page,exitPage:a.exit_page,pageCount:a.page_count,duration:a.duration,isBounce:!!a.is_bounce,createdAt:a.created_at,endedAt:a.ended_at,pages:j.get(a.session_id)||[]}))}getEngagementMetrics(a=30){let b=new Date;b.setDate(b.getDate()-a);let c=b.toISOString(),d=this.db.prepare(` + SELECT AVG(time_on_page) as avg + FROM interactions + WHERE timestamp >= ? AND interaction_type = 'exit' AND time_on_page IS NOT NULL + `).get(c).avg??0,e=this.db.prepare(` + SELECT AVG(scroll_depth) as avg + FROM interactions + WHERE timestamp >= ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL + `).get(c).avg??0,f=this.db.prepare(` + SELECT scroll_depth, COUNT(*) as count + FROM interactions + WHERE timestamp >= ? AND interaction_type = 'scroll' AND scroll_depth IS NOT NULL + GROUP BY scroll_depth + `).all(c),g={};for(let a of f)g[a.scroll_depth]=a.count;return{avgTimeOnPage:d,avgScrollDepth:e,scrollDepthDistribution:g,exitPageCounts:this.db.prepare(` + SELECT exit_page as page, COUNT(*) as count + FROM sessions + WHERE created_at >= ? AND exit_page IS NOT NULL + GROUP BY exit_page + ORDER BY count DESC + LIMIT 10 + `).all(c)}}getOverviewStats(a=30){let b=new Date;b.setDate(b.getDate()-a);let c=b.toISOString(),d=this.getStats(a),e=this.db.prepare(` + SELECT AVG(page_count) as avg FROM sessions WHERE created_at >= ? + `).get(c).avg??0,f=this.db.prepare(` + SELECT device_type as device, COUNT(*) as count + FROM pageviews + WHERE timestamp >= ? AND device_type IS NOT NULL + GROUP BY device_type + ORDER BY count DESC + `).all(c);return{totalPageviews:d.totalPageviews,uniqueSessions:d.uniqueSessions,bounceRate:d.bounceRate,avgSessionDuration:d.avgSessionDuration,avgPagesPerSession:e,deviceBreakdown:f}}getSessionJourneys(a=50){return this.db.prepare(` + SELECT session_id, entry_page, exit_page, page_count, duration, is_bounce + FROM sessions + ORDER BY created_at DESC + LIMIT ? + `).all(a).map(a=>({sessionId:a.session_id,entryPage:a.entry_page,exitPage:a.exit_page,pageCount:a.page_count,duration:a.duration??0,isBounce:!!a.is_bounce}))}clearAnalytics(a,b){for(let c of a?[a]:["pageviews","interactions","sessions"])b?this.db.prepare(`DELETE FROM ${c} WHERE timestamp < ? OR created_at < ?`).run(b.toISOString(),b.toISOString()):this.db.prepare(`DELETE FROM ${c}`).run()}getAnalyticsStorageInfo(){let a=this.db.prepare("SELECT COUNT(*) as count FROM pageviews").get().count,b=this.db.prepare("SELECT COUNT(*) as count FROM interactions").get().count,c=this.db.prepare("SELECT COUNT(*) as count FROM sessions").get().count,d=Math.round((200*a+150*b+100*c)/1024);return{pageviewCount:a,interactionCount:b,sessionCount:c,estimatedSizeKB:d}}exportAnalyticsData(a="all"){let b={};return("all"===a||"pageviews"===a)&&(b.pageviews=this.db.prepare(` + SELECT id, page_path, referrer, country, user_agent, session_id, + load_time, device_type, timestamp + FROM pageviews + ORDER BY timestamp DESC + `).all()),("all"===a||"interactions"===a)&&(b.interactions=this.db.prepare(` + SELECT id, session_id, page_path, interaction_type, element_selector, + coordinates, scroll_depth, time_on_page, timestamp + FROM interactions + ORDER BY timestamp DESC + `).all()),("all"===a||"sessions"===a)&&(b.sessions=this.db.prepare(` + SELECT id, session_id, entry_page, exit_page, page_count, + duration, is_bounce, created_at, ended_at + FROM sessions + ORDER BY created_at DESC + `).all()),b}createFunction(a){let b=(0,e.A)(),c=new Date().toISOString();return this.db.prepare(` + INSERT INTO edge_functions ( + id, name, description, code, method, enabled, timeout_ms, created_at, updated_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(b,a.name,a.description??null,a.code,a.method,+!!a.enabled,a.timeoutMs,c,c),b}getFunction(a){let b=this.db.prepare("SELECT * FROM edge_functions WHERE id = ?").get(a);return b?this.rowToFunction(b):null}getFunctionByName(a){let b=this.db.prepare("SELECT * FROM edge_functions WHERE name = ?").get(a);return b?this.rowToFunction(b):null}updateFunction(a,b){let c=[],d=[];if(void 0!==b.name&&(c.push("name = ?"),d.push(b.name)),void 0!==b.description&&(c.push("description = ?"),d.push(b.description)),void 0!==b.code&&(c.push("code = ?"),d.push(b.code)),void 0!==b.method&&(c.push("method = ?"),d.push(b.method)),void 0!==b.enabled&&(c.push("enabled = ?"),d.push(+!!b.enabled)),void 0!==b.timeoutMs&&(c.push("timeout_ms = ?"),d.push(b.timeoutMs)),0===c.length)return;c.push("updated_at = ?"),d.push(new Date().toISOString()),d.push(a);let e=`UPDATE edge_functions SET ${c.join(", ")} WHERE id = ?`;this.db.prepare(e).run(...d)}deleteFunction(a){this.db.prepare("DELETE FROM edge_functions WHERE id = ?").run(a)}listFunctions(){return this.db.prepare("SELECT * FROM edge_functions ORDER BY name").all().map(a=>this.rowToFunction(a))}rowToFunction(a){return{id:a.id,name:a.name,description:a.description,code:a.code,method:a.method,enabled:!!a.enabled,timeoutMs:a.timeout_ms,createdAt:j(a.created_at),updatedAt:j(a.updated_at)}}logFunctionExecution(a,b){this.db.prepare(` + INSERT INTO function_logs (function_id, method, path, status_code, duration_ms, error) + VALUES (?, ?, ?, ?, ?, ?) + `).run(a,b.method,b.path,b.statusCode,b.durationMs,b.error??null)}getFunctionLogs(a,b=100){return this.db.prepare(` + SELECT * FROM function_logs WHERE function_id = ? + ORDER BY timestamp DESC LIMIT ? + `).all(a,b).map(a=>this.rowToFunctionLog(a))}getRecentLogs(a=100){return this.db.prepare(` + SELECT * FROM function_logs ORDER BY timestamp DESC LIMIT ? + `).all(a).map(a=>this.rowToFunctionLog(a))}clearFunctionLogs(a,b){a&&b?this.db.prepare("DELETE FROM function_logs WHERE function_id = ? AND timestamp < ?").run(a,b.toISOString()):a?this.db.prepare("DELETE FROM function_logs WHERE function_id = ?").run(a):b?this.db.prepare("DELETE FROM function_logs WHERE timestamp < ?").run(b.toISOString()):this.db.prepare("DELETE FROM function_logs").run()}rowToFunctionLog(a){return{id:a.id,functionId:a.function_id,method:a.method,path:a.path,statusCode:a.status_code,durationMs:a.duration_ms,error:a.error,timestamp:j(a.timestamp)}}createServerFunction(a){let b=(0,e.A)(),c=new Date().toISOString();return this.db.prepare(` + INSERT INTO server_functions ( + id, name, description, code, enabled, created_at, updated_at + ) VALUES (?, ?, ?, ?, ?, ?, ?) + `).run(b,a.name,a.description??null,a.code,+!!a.enabled,c,c),b}getServerFunction(a){let b=this.db.prepare("SELECT * FROM server_functions WHERE id = ?").get(a);return b?this.rowToServerFunction(b):null}getServerFunctionByName(a){let b=this.db.prepare("SELECT * FROM server_functions WHERE name = ?").get(a);return b?this.rowToServerFunction(b):null}updateServerFunction(a,b){let c=[],d=[];if(void 0!==b.name&&(c.push("name = ?"),d.push(b.name)),void 0!==b.description&&(c.push("description = ?"),d.push(b.description)),void 0!==b.code&&(c.push("code = ?"),d.push(b.code)),void 0!==b.enabled&&(c.push("enabled = ?"),d.push(+!!b.enabled)),0===c.length)return;c.push("updated_at = ?"),d.push(new Date().toISOString()),d.push(a);let e=`UPDATE server_functions SET ${c.join(", ")} WHERE id = ?`;this.db.prepare(e).run(...d)}deleteServerFunction(a){this.db.prepare("DELETE FROM server_functions WHERE id = ?").run(a)}listServerFunctions(){return this.db.prepare("SELECT * FROM server_functions ORDER BY name").all().map(a=>this.rowToServerFunction(a))}rowToServerFunction(a){return{id:a.id,name:a.name,description:a.description,code:a.code,enabled:!!a.enabled,createdAt:j(a.created_at),updatedAt:j(a.updated_at)}}createSecret(a,b,c){if(!(0,f.yg)())throw Error("Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable.");let d=(0,e.A)(),g=new Date().toISOString(),h=(0,f.MG)(b);return this.db.prepare(` + INSERT INTO secrets (id, name, encrypted_value, iv, auth_tag, description, created_at, updated_at) + VALUES (?, ?, ?, ?, ?, ?, ?, ?) + `).run(d,a,h.encryptedValue,h.iv,h.authTag,c||null,g,g),d}getSecret(a){let b=this.db.prepare("SELECT * FROM secrets WHERE id = ?").get(a);return b?this.rowToSecret(b):null}getSecretByName(a){let b=this.db.prepare("SELECT * FROM secrets WHERE name = ?").get(a);return b?this.rowToSecret(b):null}updateSecretValue(a,b){if(!(0,f.yg)())throw Error("Secrets encryption not configured. Set SECRETS_ENCRYPTION_KEY environment variable.");let c=new Date().toISOString(),d=(0,f.MG)(b);this.db.prepare(` + UPDATE secrets + SET encrypted_value = ?, iv = ?, auth_tag = ?, updated_at = ? + WHERE id = ? + `).run(d.encryptedValue,d.iv,d.authTag,c,a)}updateSecretMetadata(a,b){let c=new Date().toISOString();void 0!==b.name&&this.db.prepare("UPDATE secrets SET name = ?, updated_at = ? WHERE id = ?").run(b.name,c,a),void 0!==b.description&&this.db.prepare("UPDATE secrets SET description = ?, updated_at = ? WHERE id = ?").run(b.description,c,a)}deleteSecret(a){this.db.prepare("DELETE FROM secrets WHERE id = ?").run(a)}listSecrets(){return this.db.prepare("SELECT * FROM secrets ORDER BY name").all().map(a=>this.rowToSecret(a))}listSecretsWithValues(){return this.db.prepare("SELECT name, encrypted_value, iv, auth_tag FROM secrets").all().map(a=>({name:a.name,encryptedValue:a.encrypted_value,iv:a.iv,authTag:a.auth_tag}))}rowToSecret(a){return{id:a.id,name:a.name,description:a.description,hasValue:null!==a.encrypted_value&&""!==a.encrypted_value,createdAt:j(a.created_at),updatedAt:j(a.updated_at)}}createSecretPlaceholder(a,b){let c=(0,e.A)(),d=new Date().toISOString();return this.db.prepare(` + INSERT INTO secrets (id, name, encrypted_value, iv, auth_tag, description, created_at, updated_at) + VALUES (?, ?, '', '', '', ?, ?, ?) + `).run(c,a,b||null,d,d),c}static{this.SYSTEM_TABLES=["site_info","files","file_tree_nodes","pageviews","interactions","sessions","edge_functions","function_logs","server_functions","secrets"]}executeRawSQL(a,b){if(a.trim().toLowerCase().startsWith("select")){let c=this.db.prepare(a),d=b?c.all(...b):c.all();if(0===d.length)return{columns:[],rows:[],rowsAffected:0};let e=Object.keys(d[0]),f=d.map(a=>e.map(b=>a[b]));return{columns:e,rows:f,rowsAffected:0}}{let c=this.db.prepare(a);return{columns:[],rows:[],rowsAffected:(b?c.run(...b):c.run()).changes}}}getTableSchema(){return this.db.prepare(` + SELECT name FROM sqlite_master + WHERE type = 'table' AND name NOT LIKE 'sqlite_%' + ORDER BY name + `).all().map(a=>{let b=k.SYSTEM_TABLES.includes(a.name),c=this.db.prepare(`PRAGMA table_info('${a.name}')`).all(),d=this.db.prepare(`SELECT COUNT(*) as count FROM "${a.name}"`).get();return{name:a.name,columns:c.map(a=>({name:a.name,type:a.type,nullable:!a.notnull,primaryKey:a.pk>0,defaultValue:a.dflt_value??void 0})),rowCount:d.count,isSystemTable:b}})}getTableData(a,b=100,c=0){if(!this.db.prepare(` + SELECT name FROM sqlite_master WHERE type = 'table' AND name = ? + `).get(a))throw Error(`Table "${a}" does not exist`);let d=this.db.prepare(`SELECT COUNT(*) as count FROM "${a}"`).get(),e=this.db.prepare(`SELECT * FROM "${a}" LIMIT ? OFFSET ?`).all(b,c);if(0===e.length)return{columns:[],rows:[],total:d.count};let f=Object.keys(e[0]),g=e.map(a=>f.map(b=>a[b]));return{columns:f,rows:g,total:d.count}}isSystemTable(a){return k.SYSTEM_TABLES.includes(a)}executeUserQuery(a,b){let c=a.trim().toUpperCase(),d=this.validateNotSystemTable(c);if(d)return{columns:[],rows:[],rowsAffected:0,error:d};try{return this.executeRawSQL(a,b)}catch(a){return{columns:[],rows:[],rowsAffected:0,error:a instanceof Error?a.message:String(a)}}}validateNotSystemTable(a){let b=a.match(/^(DROP|ALTER|TRUNCATE)\s+TABLE\s+(?:IF\s+EXISTS\s+)?["'`]?(\w+)["'`]?/i);if(b){let a=b[2].toLowerCase();if(k.SYSTEM_TABLES.includes(a))return`Cannot modify system table: ${a}`}let c=a.match(/^INSERT\s+INTO\s+["'`]?(\w+)["'`]?/i);if(c){let a=c[1].toLowerCase();if(k.SYSTEM_TABLES.includes(a))return`Cannot insert into system table: ${a}`}let d=a.match(/^UPDATE\s+["'`]?(\w+)["'`]?/i);if(d){let a=d[1].toLowerCase();if(k.SYSTEM_TABLES.includes(a))return`Cannot update system table: ${a}`}let e=a.match(/^DELETE\s+FROM\s+["'`]?(\w+)["'`]?/i);if(e){let a=e[1].toLowerCase();if(k.SYSTEM_TABLES.includes(a))return`Cannot delete from system table: ${a}`}return null}getSchemaForExport(){let a=this.getTableSchema().filter(a=>!a.isSystemTable);if(0===a.length)return"-- No user tables defined\n-- Create tables using the SQL Editor or edge functions\n";let b="-- Database Schema\n";for(let c of(b+=`-- ${a.length} user table(s) + +`,a))b+=`-- Table: ${c.name} (${c.rowCount} rows) +`,b+=`CREATE TABLE ${c.name} ( +`,b+=c.columns.map(a=>{let b=` ${a.name} ${a.type}`;return a.primaryKey&&(b+=" PRIMARY KEY"),a.nullable||(b+=" NOT NULL"),void 0!==a.defaultValue&&(b+=` DEFAULT ${a.defaultValue}`),b}).join(",\n"),b+="\n);\n\n";return b}}let l={enabled:!1,provider:"builtin",privacyMode:!0},m={enabled:!1,bannerPosition:"bottom",bannerStyle:"bar",message:"This site uses cookies to improve your experience.",acceptButtonText:"Accept",declineButtonText:"Decline",mode:"opt-in",blockAnalytics:!0},n={},o=[{id:"initial_schema_v1",up:a=>{a.exec(` + CREATE TABLE IF NOT EXISTS _migrations ( + id TEXT PRIMARY KEY, + applied_at TEXT NOT NULL DEFAULT (datetime('now')) + ) + `),a.exec(` + CREATE TABLE IF NOT EXISTS projects ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL, + description TEXT, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL, + last_saved_at TEXT, + last_saved_checkpoint_id TEXT, + settings TEXT DEFAULT '{}', + cost_tracking TEXT DEFAULT '{}', + preview_image TEXT, + last_synced_at TEXT, + server_updated_at TEXT + ) + `),a.exec(` + CREATE TABLE IF NOT EXISTS custom_templates ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL, + description TEXT, + version TEXT, + files TEXT DEFAULT '[]', + directories TEXT DEFAULT '[]', + assets TEXT DEFAULT '[]', + metadata TEXT DEFAULT '{}', + imported_at TEXT NOT NULL + ) + `),a.exec(` + CREATE TABLE IF NOT EXISTS skills ( + id TEXT PRIMARY KEY, + name TEXT NOT NULL, + description TEXT NOT NULL, + content TEXT NOT NULL, + markdown TEXT NOT NULL, + is_built_in INTEGER DEFAULT 0, + created_at TEXT NOT NULL, + updated_at TEXT NOT NULL + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_skills_is_built_in ON skills(is_built_in) + `)}},{id:"add_files_and_tree_v2",up:a=>{a.exec(` + CREATE TABLE IF NOT EXISTS files ( + id TEXT PRIMARY KEY, + project_id TEXT NOT NULL, + path TEXT NOT NULL, + name TEXT NOT NULL, + type TEXT NOT NULL CHECK(type IN ('html', 'css', 'js', 'json', 'text', 'template', 'image', 'video', 'binary')), + content TEXT, + mime_type TEXT, + size INTEGER DEFAULT 0, + created_at TEXT NOT NULL DEFAULT (datetime('now')), + updated_at TEXT NOT NULL DEFAULT (datetime('now')), + metadata TEXT DEFAULT '{}', + UNIQUE(project_id, path), + FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_files_project_id ON files(project_id) + `),a.exec(` + CREATE TABLE IF NOT EXISTS file_tree_nodes ( + id TEXT PRIMARY KEY, + project_id TEXT NOT NULL, + path TEXT NOT NULL, + name TEXT NOT NULL, + type TEXT NOT NULL CHECK(type IN ('file', 'directory')), + parent_path TEXT, + is_expanded INTEGER DEFAULT 0, + metadata TEXT DEFAULT '{}', + UNIQUE(project_id, path), + FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_tree_nodes_project_id ON file_tree_nodes(project_id) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_tree_nodes_parent ON file_tree_nodes(project_id, parent_path) + `),a.exec(` + CREATE TABLE IF NOT EXISTS sites ( + id TEXT PRIMARY KEY, + project_id TEXT NOT NULL, + name TEXT NOT NULL, + slug TEXT, + enabled INTEGER DEFAULT 1, + under_construction INTEGER DEFAULT 0, + custom_domain TEXT, + head_scripts TEXT DEFAULT '[]', + body_scripts TEXT DEFAULT '[]', + cdn_links TEXT DEFAULT '[]', + analytics TEXT DEFAULT '{}', + seo TEXT DEFAULT '{}', + compliance TEXT DEFAULT '{}', + settings_version INTEGER DEFAULT 1, + last_published_version INTEGER, + preview_image TEXT, + preview_updated_at TEXT, + database_enabled INTEGER DEFAULT 0, + created_at TEXT NOT NULL DEFAULT (datetime('now')), + updated_at TEXT NOT NULL DEFAULT (datetime('now')), + published_at TEXT, + FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_sites_project_id ON sites(project_id) + `)}},{id:"add_request_log_v3",up:a=>{a.exec(` + CREATE TABLE IF NOT EXISTS request_log ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + site_id TEXT NOT NULL, + path TEXT NOT NULL, + status_code INTEGER NOT NULL, + ip_hash TEXT, + user_agent TEXT, + timestamp TEXT NOT NULL DEFAULT (datetime('now')) + ) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_request_log_timestamp ON request_log(timestamp) + `),a.exec(` + CREATE INDEX IF NOT EXISTS idx_request_log_site_id ON request_log(site_id) + `)}}];function p(a,b){if(!a)return b;try{return JSON.parse(a)}catch{return b}}function q(a){return a?new Date(a):new Date}function r(a){return a?"string"==typeof a?a:a.toISOString():null}function s(a){return"string"==typeof a?a:a.toISOString()}class t{async init(){this.initialized||(this.db=(0,d.getCoreDatabase)(),await this.runMigrations(),this.initialized=!0)}async close(){for(let[,a]of this.siteDatabases)a.close();this.siteDatabases.clear(),(0,d.closeAllConnections)(),this.db=null,this.initialized=!1}getDB(){if(!this.db)throw Error("SQLiteAdapter not initialized. Call init() first.");return this.db}getOrCreateSiteDB(a){let b=this.siteDatabases.get(a);return b||((b=new k(a)).init(),this.siteDatabases.set(a,b)),b}async enableSiteDatabase(a){this.getDB().prepare("UPDATE sites SET database_enabled = 1 WHERE id = ?").run(a),this.getOrCreateSiteDB(a)}async disableSiteDatabase(a){this.getDB().prepare("UPDATE sites SET database_enabled = 0 WHERE id = ?").run(a);let b=this.siteDatabases.get(a);b&&(b.close(),this.siteDatabases.delete(a)),(0,d.siteExists)(a)&&(0,d.deleteSiteDatabase)(a)}async runMigrations(){let a=this.getDB();a.exec(` + CREATE TABLE IF NOT EXISTS _migrations ( + id TEXT PRIMARY KEY, + applied_at TEXT NOT NULL DEFAULT (datetime('now')) + ) + `);let b=new Set(a.prepare("SELECT id FROM _migrations").all().map(a=>a.id)),c=a.transaction(c=>{b.has(c.id)||(c.up(a),a.prepare("INSERT INTO _migrations (id) VALUES (?)").run(c.id))});for(let a of o)c(a)}async createProject(a){this.getDB().prepare(` + INSERT INTO projects ( + id, name, description, created_at, updated_at, + last_saved_at, last_saved_checkpoint_id, settings, + cost_tracking, preview_image, last_synced_at, server_updated_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.name,a.description??null,s(a.createdAt),s(a.updatedAt),r(a.lastSavedAt),a.lastSavedCheckpointId??null,JSON.stringify(a.settings??{}),JSON.stringify(a.costTracking??{}),a.previewImage??null,r(a.lastSyncedAt),r(a.serverUpdatedAt))}async getProject(a){let b=this.getDB().prepare("SELECT * FROM projects WHERE id = ?").get(a);return b?this.rowToProject(b):null}async updateProject(a){this.getDB().prepare(` + UPDATE projects SET + name = ?, + description = ?, + updated_at = ?, + last_saved_at = ?, + last_saved_checkpoint_id = ?, + settings = ?, + cost_tracking = ?, + preview_image = ?, + last_synced_at = ?, + server_updated_at = ? + WHERE id = ? + `).run(a.name,a.description??null,s(a.updatedAt),r(a.lastSavedAt),a.lastSavedCheckpointId??null,JSON.stringify(a.settings??{}),JSON.stringify(a.costTracking??{}),a.previewImage??null,r(a.lastSyncedAt),r(a.serverUpdatedAt),a.id)}async deleteProject(a){this.getDB().prepare("DELETE FROM projects WHERE id = ?").run(a),(0,d.siteExists)(a)&&(this.siteDatabases.delete(a),(0,d.deleteSiteDatabase)(a))}async listProjects(a){return this.getDB().prepare("SELECT * FROM projects ORDER BY updated_at DESC").all().map(a=>this.rowToProject(a))}rowToProject(a){return{id:a.id,name:a.name,description:a.description,createdAt:q(a.created_at),updatedAt:q(a.updated_at),lastSavedAt:a.last_saved_at?q(a.last_saved_at):void 0,lastSavedCheckpointId:a.last_saved_checkpoint_id,settings:p(a.settings,{}),costTracking:p(a.cost_tracking,void 0),previewImage:a.preview_image,lastSyncedAt:a.last_synced_at?q(a.last_synced_at):void 0,serverUpdatedAt:a.server_updated_at?q(a.server_updated_at):void 0}}async createFile(a){let b,c=this.getDB();b=a.content instanceof ArrayBuffer?Buffer.from(a.content).toString("base64"):"string"==typeof a.content?a.content:"",c.prepare(` + INSERT INTO files ( + id, project_id, path, name, type, content, + mime_type, size, created_at, updated_at, metadata + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.projectId,a.path,a.name,a.type,b,a.mimeType??null,a.size??0,s(a.createdAt),s(a.updatedAt),JSON.stringify(a.metadata??{}))}async getFile(a,b){let c=this.getDB().prepare("SELECT * FROM files WHERE project_id = ? AND path = ?").get(a,b);return c?this.rowToFile(c,a):null}async updateFile(a){let b,c=this.getDB();b=a.content instanceof ArrayBuffer?Buffer.from(a.content).toString("base64"):"string"==typeof a.content?a.content:"",c.prepare(` + UPDATE files SET + name = ?, type = ?, content = ?, mime_type = ?, + size = ?, updated_at = ?, metadata = ? + WHERE project_id = ? AND path = ? + `).run(a.name,a.type,b,a.mimeType??null,a.size??0,s(a.updatedAt),JSON.stringify(a.metadata??{}),a.projectId,a.path)}async deleteFile(a,b){this.getDB().prepare("DELETE FROM files WHERE project_id = ? AND path = ?").run(a,b)}async listFiles(a){return this.getDB().prepare("SELECT * FROM files WHERE project_id = ? ORDER BY path").all(a).map(b=>this.rowToFile(b,a))}async deleteProjectFiles(a){this.getDB().prepare("DELETE FROM files WHERE project_id = ?").run(a)}rowToFile(a,b){return{id:a.id,projectId:b,path:a.path,name:a.name,type:a.type,content:a.content,mimeType:a.mime_type,size:a.size,createdAt:q(a.created_at),updatedAt:q(a.updated_at),metadata:p(a.metadata,{})}}async createTreeNode(a){this.getDB().prepare(` + INSERT INTO file_tree_nodes ( + id, project_id, path, name, type, parent_path, is_expanded, metadata + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.projectId,a.path,a.name,a.type,a.parentPath??null,+!!a.isExpanded,JSON.stringify(a.metadata??{}))}async getTreeNode(a,b){let c=this.getDB().prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND path = ?").get(a,b);return c?this.rowToTreeNode(c,a):null}async updateTreeNode(a){this.getDB().prepare(` + UPDATE file_tree_nodes SET + name = ?, type = ?, parent_path = ?, is_expanded = ?, metadata = ? + WHERE project_id = ? AND path = ? + `).run(a.name,a.type,a.parentPath??null,+!!a.isExpanded,JSON.stringify(a.metadata??{}),a.projectId,a.path)}async deleteTreeNode(a,b){this.getDB().prepare("DELETE FROM file_tree_nodes WHERE project_id = ? AND path = ?").run(a,b)}async getChildNodes(a,b){let c=this.getDB();return(null===b?c.prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND parent_path IS NULL ORDER BY type DESC, name").all(a):c.prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? AND parent_path = ? ORDER BY type DESC, name").all(a,b)).map(b=>this.rowToTreeNode(b,a))}async getAllTreeNodes(a){return this.getDB().prepare("SELECT * FROM file_tree_nodes WHERE project_id = ? ORDER BY path").all(a).map(b=>this.rowToTreeNode(b,a))}rowToTreeNode(a,b){return{id:a.id,projectId:b,path:a.path,name:a.name,type:a.type,parentPath:a.parent_path,isExpanded:!!a.is_expanded,metadata:p(a.metadata,{})}}async saveCustomTemplate(a){let b=this.getDB();b.prepare("SELECT id FROM custom_templates WHERE id = ?").get(a.id)?b.prepare(` + UPDATE custom_templates SET + name = ?, description = ?, version = ?, + files = ?, directories = ?, assets = ?, + metadata = ? + WHERE id = ? + `).run(a.name,a.description,a.version,JSON.stringify(a.files??[]),JSON.stringify(a.directories??[]),JSON.stringify(a.assets??[]),JSON.stringify(a.metadata??{}),a.id):b.prepare(` + INSERT INTO custom_templates ( + id, name, description, version, + files, directories, assets, metadata, imported_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.name,a.description,a.version,JSON.stringify(a.files??[]),JSON.stringify(a.directories??[]),JSON.stringify(a.assets??[]),JSON.stringify(a.metadata??{}),s(a.importedAt))}async getCustomTemplate(a){let b=this.getDB().prepare("SELECT * FROM custom_templates WHERE id = ?").get(a);return b?this.rowToTemplate(b):null}async getAllCustomTemplates(){return this.getDB().prepare("SELECT * FROM custom_templates ORDER BY imported_at DESC").all().map(a=>this.rowToTemplate(a))}async deleteCustomTemplate(a){this.getDB().prepare("DELETE FROM custom_templates WHERE id = ?").run(a)}rowToTemplate(a){return{id:a.id,name:a.name,description:a.description,version:a.version,files:p(a.files,[]),directories:p(a.directories,[]),assets:p(a.assets,[]),metadata:p(a.metadata,{license:"personal"}),importedAt:q(a.imported_at)}}async createSkill(a){this.getDB().prepare(` + INSERT INTO skills ( + id, name, description, content, markdown, + is_built_in, created_at, updated_at + ) VALUES (?, ?, ?, ?, ?, 0, ?, ?) + `).run(a.id,a.name,a.description,a.content,a.markdown,s(a.createdAt),s(a.updatedAt))}async getSkill(a){let b=this.getDB().prepare("SELECT * FROM skills WHERE id = ?").get(a);return b?this.rowToSkill(b):null}async updateSkill(a){this.getDB().prepare(` + UPDATE skills SET + name = ?, description = ?, content = ?, + markdown = ?, updated_at = ? + WHERE id = ? AND is_built_in = 0 + `).run(a.name,a.description,a.content,a.markdown,s(a.updatedAt),a.id)}async deleteSkill(a){this.getDB().prepare("DELETE FROM skills WHERE id = ? AND is_built_in = 0").run(a)}async getAllSkills(){return this.getDB().prepare("SELECT * FROM skills ORDER BY name").all().map(a=>this.rowToSkill(a))}rowToSkill(a){return{id:a.id,name:a.name,description:a.description,content:a.content,markdown:a.markdown,isBuiltIn:!!a.is_built_in,createdAt:q(a.created_at),updatedAt:q(a.updated_at)}}async createSite(a){this.getDB().prepare(` + INSERT INTO sites ( + id, project_id, name, slug, enabled, under_construction, + custom_domain, head_scripts, body_scripts, cdn_links, + analytics, seo, compliance, settings_version, + last_published_version, preview_image, preview_updated_at, + database_enabled, created_at, updated_at, published_at + ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) + `).run(a.id,a.projectId,a.name,a.slug??null,+!!a.enabled,+!!a.underConstruction,a.customDomain??null,JSON.stringify(a.headScripts??[]),JSON.stringify(a.bodyScripts??[]),JSON.stringify(a.cdnLinks??[]),JSON.stringify(a.analytics??l),JSON.stringify(a.seo??n),JSON.stringify(a.compliance??m),a.settingsVersion??1,a.lastPublishedVersion??null,a.previewImage??null,r(a.previewUpdatedAt),+!!a.databaseEnabled,s(a.createdAt),s(a.updatedAt),r(a.publishedAt))}async getSite(a){let b=this.getDB().prepare("SELECT * FROM sites WHERE id = ?").get(a);return b?this.rowToSite(b):null}async listSites(){return this.getDB().prepare("SELECT * FROM sites ORDER BY updated_at DESC").all().map(a=>this.rowToSite(a))}async listSitesByProject(a){return this.getDB().prepare("SELECT * FROM sites WHERE project_id = ? ORDER BY created_at").all(a).map(a=>this.rowToSite(a))}async updateSite(a){this.getDB().prepare(` + UPDATE sites SET + name = ?, slug = ?, enabled = ?, under_construction = ?, + custom_domain = ?, head_scripts = ?, body_scripts = ?, cdn_links = ?, + analytics = ?, seo = ?, compliance = ?, settings_version = ?, + last_published_version = ?, preview_image = ?, preview_updated_at = ?, + database_enabled = ?, updated_at = ?, published_at = ? + WHERE id = ? + `).run(a.name,a.slug??null,+!!a.enabled,+!!a.underConstruction,a.customDomain??null,JSON.stringify(a.headScripts??[]),JSON.stringify(a.bodyScripts??[]),JSON.stringify(a.cdnLinks??[]),JSON.stringify(a.analytics??l),JSON.stringify(a.seo??n),JSON.stringify(a.compliance??m),a.settingsVersion??1,a.lastPublishedVersion??null,a.previewImage??null,r(a.previewUpdatedAt),+!!a.databaseEnabled,s(a.updatedAt),r(a.publishedAt),a.id)}async deleteSite(a){this.getDB().prepare("DELETE FROM sites WHERE id = ?").run(a);let b=this.siteDatabases.get(a);b&&(b.close(),this.siteDatabases.delete(a)),(0,d.siteExists)(a)&&(0,d.deleteSiteDatabase)(a)}rowToSite(a){return{id:a.id,projectId:a.project_id,name:a.name,slug:a.slug,enabled:!!a.enabled,underConstruction:!!a.under_construction,customDomain:a.custom_domain,headScripts:p(a.head_scripts,[]),bodyScripts:p(a.body_scripts,[]),cdnLinks:p(a.cdn_links,[]),analytics:p(a.analytics,l),seo:p(a.seo,n),compliance:p(a.compliance,m),settingsVersion:a.settings_version??1,lastPublishedVersion:a.last_published_version,previewImage:a.preview_image,previewUpdatedAt:a.preview_updated_at?q(a.preview_updated_at):void 0,databaseEnabled:!!a.database_enabled,createdAt:q(a.created_at),updatedAt:q(a.updated_at),publishedAt:a.published_at?q(a.published_at):void 0}}getSiteDatabaseForAnalytics(a){let b=this.getSiteSync(a);return b&&b.databaseEnabled?this.getOrCreateSiteDB(a):null}getSiteSync(a){let b=this.getDB().prepare("SELECT * FROM sites WHERE id = ?").get(a);return b?this.rowToSite(b):null}constructor(){this.db=null,this.initialized=!1,this.siteDatabases=new Map}}let u=null;async function v(){return u||(u=new t),u}function w(){return u||(u=new t),u}}}; \ No newline at end of file diff --git a/.next/server/chunks/740.js b/.next/server/chunks/740.js new file mode 100644 index 0000000000000000000000000000000000000000..b4c989c35c5ec5454e0946b45afc8c18b671c673 --- /dev/null +++ b/.next/server/chunks/740.js @@ -0,0 +1 @@ +"use strict";exports.id=740,exports.ids=[740],exports.modules={70740:(a,b,c)=>{async function d(a){}async function e(){return{serverProjectCount:0,serverSiteCount:0,serverLastUpdated:null,localProjectCount:0,isUninitialized:!1,needsSync:!1,loading:!1,error:"Server mode not enabled"}}c.d(b,{autoSyncProject:()=>d,jP:()=>e}),c(11482),c(15514),c(42830)}}; \ No newline at end of file diff --git a/.next/server/chunks/774.js b/.next/server/chunks/774.js new file mode 100644 index 0000000000000000000000000000000000000000..37d09f576b7b7c02a1294d562bf459d87343d96c --- /dev/null +++ b/.next/server/chunks/774.js @@ -0,0 +1 @@ +exports.id=774,exports.ids=[774],exports.modules={810:(a,b,c)=>{"use strict";c.d(b,{UC:()=>T,ZL:()=>S,bL:()=>Q,l9:()=>R});var d=c(38301),e=c(87868),f=c(92808),g=c(2332),h=c(7412),i=c(70904),j=c(69998),k=c(75656),l=c(25122),m=c(61611),n=c(29988),o=c(6406),p=c(96425),q=c(11720),r=c(61225),s=c(36409),t=c(21124),u="Popover",[v,w]=(0,g.A)(u,[l.Bk]),x=(0,l.Bk)(),[y,z]=v(u),A=a=>{let{__scopePopover:b,children:c,open:e,defaultOpen:f,onOpenChange:g,modal:h=!1}=a,i=x(b),j=d.useRef(null),[m,n]=d.useState(!1),[o,p]=(0,q.i)({prop:e,defaultProp:f??!1,onChange:g,caller:u});return(0,t.jsx)(l.bL,{...i,children:(0,t.jsx)(y,{scope:b,contentId:(0,k.B)(),triggerRef:j,open:o,onOpenChange:p,onOpenToggle:d.useCallback(()=>p(a=>!a),[p]),hasCustomAnchor:m,onCustomAnchorAdd:d.useCallback(()=>n(!0),[]),onCustomAnchorRemove:d.useCallback(()=>n(!1),[]),modal:h,children:c})})};A.displayName=u;var B="PopoverAnchor";d.forwardRef((a,b)=>{let{__scopePopover:c,...e}=a,f=z(B,c),g=x(c),{onCustomAnchorAdd:h,onCustomAnchorRemove:i}=f;return d.useEffect(()=>(h(),()=>i()),[h,i]),(0,t.jsx)(l.Mz,{...g,...e,ref:b})}).displayName=B;var C="PopoverTrigger",D=d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,g=z(C,c),h=x(c),i=(0,f.s)(b,g.triggerRef),j=(0,t.jsx)(o.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":g.open,"aria-controls":g.contentId,"data-state":P(g.open),...d,ref:i,onClick:(0,e.mK)(a.onClick,g.onOpenToggle)});return g.hasCustomAnchor?j:(0,t.jsx)(l.Mz,{asChild:!0,...h,children:j})});D.displayName=C;var E="PopoverPortal",[F,G]=v(E,{forceMount:void 0}),H=a=>{let{__scopePopover:b,forceMount:c,children:d,container:e}=a,f=z(E,b);return(0,t.jsx)(F,{scope:b,forceMount:c,children:(0,t.jsx)(n.C,{present:c||f.open,children:(0,t.jsx)(m.Z,{asChild:!0,container:e,children:d})})})};H.displayName=E;var I="PopoverContent",J=d.forwardRef((a,b)=>{let c=G(I,a.__scopePopover),{forceMount:d=c.forceMount,...e}=a,f=z(I,a.__scopePopover);return(0,t.jsx)(n.C,{present:d||f.open,children:f.modal?(0,t.jsx)(L,{...e,ref:b}):(0,t.jsx)(M,{...e,ref:b})})});J.displayName=I;var K=(0,p.TL)("PopoverContent.RemoveScroll"),L=d.forwardRef((a,b)=>{let c=z(I,a.__scopePopover),g=d.useRef(null),h=(0,f.s)(b,g),i=d.useRef(!1);return d.useEffect(()=>{let a=g.current;if(a)return(0,r.Eq)(a)},[]),(0,t.jsx)(s.A,{as:K,allowPinchZoom:!0,children:(0,t.jsx)(N,{...a,ref:h,trapFocus:c.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,e.mK)(a.onCloseAutoFocus,a=>{a.preventDefault(),i.current||c.triggerRef.current?.focus()}),onPointerDownOutside:(0,e.mK)(a.onPointerDownOutside,a=>{let b=a.detail.originalEvent,c=0===b.button&&!0===b.ctrlKey;i.current=2===b.button||c},{checkForDefaultPrevented:!1}),onFocusOutside:(0,e.mK)(a.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})})}),M=d.forwardRef((a,b)=>{let c=z(I,a.__scopePopover),e=d.useRef(!1),f=d.useRef(!1);return(0,t.jsx)(N,{...a,ref:b,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:b=>{a.onCloseAutoFocus?.(b),b.defaultPrevented||(e.current||c.triggerRef.current?.focus(),b.preventDefault()),e.current=!1,f.current=!1},onInteractOutside:b=>{a.onInteractOutside?.(b),b.defaultPrevented||(e.current=!0,"pointerdown"===b.detail.originalEvent.type&&(f.current=!0));let d=b.target;c.triggerRef.current?.contains(d)&&b.preventDefault(),"focusin"===b.detail.originalEvent.type&&f.current&&b.preventDefault()}})}),N=d.forwardRef((a,b)=>{let{__scopePopover:c,trapFocus:d,onOpenAutoFocus:e,onCloseAutoFocus:f,disableOutsidePointerEvents:g,onEscapeKeyDown:k,onPointerDownOutside:m,onFocusOutside:n,onInteractOutside:o,...p}=a,q=z(I,c),r=x(c);return(0,i.Oh)(),(0,t.jsx)(j.n,{asChild:!0,loop:!0,trapped:d,onMountAutoFocus:e,onUnmountAutoFocus:f,children:(0,t.jsx)(h.qW,{asChild:!0,disableOutsidePointerEvents:g,onInteractOutside:o,onEscapeKeyDown:k,onPointerDownOutside:m,onFocusOutside:n,onDismiss:()=>q.onOpenChange(!1),children:(0,t.jsx)(l.UC,{"data-state":P(q.open),role:"dialog",id:q.contentId,...r,...p,ref:b,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),O="PopoverClose";function P(a){return a?"open":"closed"}d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,f=z(O,c);return(0,t.jsx)(o.sG.button,{type:"button",...d,ref:b,onClick:(0,e.mK)(a.onClick,()=>f.onOpenChange(!1))})}).displayName=O,d.forwardRef((a,b)=>{let{__scopePopover:c,...d}=a,e=x(c);return(0,t.jsx)(l.i3,{...e,...d,ref:b})}).displayName="PopoverArrow";var Q=A,R=D,S=H,T=J},825:(a,b,c)=>{"use strict";c.d(b,{N:()=>i});var d=c(38301),e=c(2332),f=c(92808),g=c(96425),h=c(21124);function i(a){let b=a+"CollectionProvider",[c,i]=(0,e.A)(b),[j,k]=c(b,{collectionRef:{current:null},itemMap:new Map}),l=a=>{let{scope:b,children:c}=a,e=d.useRef(null),f=d.useRef(new Map).current;return(0,h.jsx)(j,{scope:b,itemMap:f,collectionRef:e,children:c})};l.displayName=b;let m=a+"CollectionSlot",n=(0,g.TL)(m),o=d.forwardRef((a,b)=>{let{scope:c,children:d}=a,e=k(m,c),g=(0,f.s)(b,e.collectionRef);return(0,h.jsx)(n,{ref:g,children:d})});o.displayName=m;let p=a+"CollectionItemSlot",q="data-radix-collection-item",r=(0,g.TL)(p),s=d.forwardRef((a,b)=>{let{scope:c,children:e,...g}=a,i=d.useRef(null),j=(0,f.s)(b,i),l=k(p,c);return d.useEffect(()=>(l.itemMap.set(i,{ref:i,...g}),()=>void l.itemMap.delete(i))),(0,h.jsx)(r,{...{[q]:""},ref:j,children:e})});return s.displayName=p,[{Provider:l,Slot:o,ItemSlot:s},function(b){let c=k(a+"CollectionConsumer",b);return d.useCallback(()=>{let a=c.collectionRef.current;if(!a)return[];let b=Array.from(a.querySelectorAll(`[${q}]`));return Array.from(c.itemMap.values()).sort((a,c)=>b.indexOf(a.ref.current)-b.indexOf(c.ref.current))},[c.collectionRef,c.itemMap])},i]}var j=new WeakMap;function k(a,b){if("at"in Array.prototype)return Array.prototype.at.call(a,b);let c=function(a,b){let c=a.length,d=l(b),e=d>=0?d:c+d;return e<0||e>=c?-1:e}(a,b);return -1===c?void 0:a[c]}function l(a){return a!=a||0===a?0:Math.trunc(a)}(class a extends Map{#a;constructor(a){super(a),this.#a=[...super.keys()],j.set(this,!0)}set(a,b){return j.get(this)&&(this.has(a)?this.#a[this.#a.indexOf(a)]=a:this.#a.push(a)),super.set(a,b),this}insert(a,b,c){let d,e=this.has(b),f=this.#a.length,g=l(a),h=g>=0?g:f+g,i=h<0||h>=f?-1:h;if(i===this.size||e&&i===this.size-1||-1===i)return this.set(b,c),this;let j=this.size+ +!e;g<0&&h++;let k=[...this.#a],m=!1;for(let a=h;a=this.size&&(d=this.size-1),this.at(d)}keyFrom(a,b){let c=this.indexOf(a);if(-1===c)return;let d=c+b;return d<0&&(d=0),d>=this.size&&(d=this.size-1),this.keyAt(d)}find(a,b){let c=0;for(let d of this){if(Reflect.apply(a,b,[d,c,this]))return d;c++}}findIndex(a,b){let c=0;for(let d of this){if(Reflect.apply(a,b,[d,c,this]))return c;c++}return -1}filter(b,c){let d=[],e=0;for(let a of this)Reflect.apply(b,c,[a,e,this])&&d.push(a),e++;return new a(d)}map(b,c){let d=[],e=0;for(let a of this)d.push([a[0],Reflect.apply(b,c,[a,e,this])]),e++;return new a(d)}reduce(...a){let[b,c]=a,d=0,e=c??this.at(0);for(let c of this)e=0===d&&1===a.length?c:Reflect.apply(b,this,[e,c,d,this]),d++;return e}reduceRight(...a){let[b,c]=a,d=c??this.at(-1);for(let c=this.size-1;c>=0;c--){let e=this.at(c);d=c===this.size-1&&1===a.length?e:Reflect.apply(b,this,[d,e,c,this])}return d}toSorted(b){return new a([...this.entries()].sort(b))}toReversed(){let b=new a;for(let a=this.size-1;a>=0;a--){let c=this.keyAt(a),d=this.get(c);b.set(c,d)}return b}toSpliced(...b){let c=[...this.entries()];return c.splice(...b),new a(c)}slice(b,c){let d=new a,e=this.size-1;if(void 0===b)return d;b<0&&(b+=this.size),void 0!==c&&c>0&&(e=c-1);for(let a=b;a<=e;a++){let b=this.keyAt(a),c=this.get(b);d.set(b,c)}return d}every(a,b){let c=0;for(let d of this){if(!Reflect.apply(a,b,[d,c,this]))return!1;c++}return!0}some(a,b){let c=0;for(let d of this){if(Reflect.apply(a,b,[d,c,this]))return!0;c++}return!1}})},1094:a=>{"use strict";a.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},1793:(a,b)=>{"use strict";b.__esModule=!0;var c=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function d(a,b){var e=b&&b.loc,f=void 0,g=void 0,h=void 0,i=void 0;e&&(f=e.start.line,g=e.end.line,h=e.start.column,i=e.end.column,a+=" - "+f+":"+h);for(var j=Error.prototype.constructor.call(this,a),k=0;k{"use strict";c.d(b,{A:()=>i});var d=c(55511);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length,h=[];for(let a=0;a<256;++a)h.push((a+256).toString(16).slice(1));let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();let i=(a=a||{}).random??a.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,b){if((c=c||0)<0||c+16>b.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[c+a]=i[a];return b}return function(a,b=0){return(h[a[b+0]]+h[a[b+1]]+h[a[b+2]]+h[a[b+3]]+"-"+h[a[b+4]]+h[a[b+5]]+"-"+h[a[b+6]]+h[a[b+7]]+"-"+h[a[b+8]]+h[a[b+9]]+"-"+h[a[b+10]]+h[a[b+11]]+h[a[b+12]]+h[a[b+13]]+h[a[b+14]]+h[a[b+15]]).toLowerCase()}(i)}},2229:(a,b,c)=>{"use strict";var d=c(20452),e=c(51238),f=c(75074),g=c(2276),h=c(4699),i=c(8153);a.exports=function(a,b){var c=this;return(b=d.extend(b||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:f.utf8decode}),i.isNode&&i.isStream(a))?e.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):d.prepareContent("the loaded zip file",a,!0,b.optimizedBinaryString,b.base64).then(function(a){var c=new g(b);return c.load(a),c}).then(function(a){var c=[e.Promise.resolve(a)],d=a.files;if(b.checkCRC32)for(var f=0;f{"use strict";var d=c(38111),e=c(20452),f=c(80451),g=c(35652),h=c(9926);function i(a){this.files=[],this.loadOptions=a}i.prototype={checkSignature:function(a){if(!this.reader.readAndCheckSignature(a)){this.reader.index-=4;var b=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+e.pretty(b)+", expected "+e.pretty(a)+")")}},isSignature:function(a,b){var c=this.reader.index;this.reader.setIndex(a);var d=this.reader.readString(4);return this.reader.setIndex(c),d===b},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var a=this.reader.readData(this.zipCommentLength),b=h.uint8array?"uint8array":"array",c=e.transformTo(b,a);this.zipComment=this.loadOptions.decodeFileName(c)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var a,b,c,d=this.zip64EndOfCentralSize-44;01)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var a,b;for(a=0;a0)this.isSignature(b,f.CENTRAL_FILE_HEADER)||(this.reader.zero=d);else if(d<0)throw Error("Corrupted zip: missing "+Math.abs(d)+" bytes.")},prepareReader:function(a){this.reader=d(a)},load:function(a){this.prepareReader(a),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},a.exports=i},2332:(a,b,c)=>{"use strict";c.d(b,{A:()=>g,q:()=>f});var d=c(38301),e=c(21124);function f(a,b){let c=d.createContext(b),f=a=>{let{children:b,...f}=a,g=d.useMemo(()=>f,Object.values(f));return(0,e.jsx)(c.Provider,{value:g,children:b})};return f.displayName=a+"Provider",[f,function(e){let f=d.useContext(c);if(f)return f;if(void 0!==b)return b;throw Error(`\`${e}\` must be used within \`${a}\``)}]}function g(a,b=[]){let c=[],f=()=>{let b=c.map(a=>d.createContext(a));return function(c){let e=c?.[a]||b;return d.useMemo(()=>({[`__scope${a}`]:{...c,[a]:e}}),[c,e])}};return f.scopeName=a,[function(b,f){let g=d.createContext(f),h=c.length;c=[...c,f];let i=b=>{let{scope:c,children:f,...i}=b,j=c?.[a]?.[h]||g,k=d.useMemo(()=>i,Object.values(i));return(0,e.jsx)(j.Provider,{value:k,children:f})};return i.displayName=b+"Provider",[i,function(c,e){let i=e?.[a]?.[h]||g,j=d.useContext(i);if(j)return j;if(void 0!==f)return f;throw Error(`\`${c}\` must be used within \`${b}\``)}]},function(...a){let b=a[0];if(1===a.length)return b;let c=()=>{let c=a.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let e=c.reduce((b,{useScope:c,scopeName:d})=>{let e=c(a)[`__scope${d}`];return{...b,...e}},{});return d.useMemo(()=>({[`__scope${b.scopeName}`]:e}),[e])}};return c.scopeName=b.scopeName,c}(f,...b)]}},2733:(a,b,c)=>{var d=c(30923).default,e=c(13544);d.PrintVisitor=e.PrintVisitor,d.print=e.print,a.exports=d},3368:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},4699:(a,b,c)=>{"use strict";var d=c(65353),e=c(35310);function f(){d.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}c(20452).inherits(f,d),f.prototype.processChunk=function(a){this.streamInfo.crc32=e(a.data,this.streamInfo.crc32||0),this.push(a)},a.exports=f},5887:(a,b)=>{"use strict";b.base64=!1,b.binary=!1,b.dir=!1,b.createFolders=!0,b.date=null,b.compression=null,b.compressionOptions=null,b.comment=null,b.unixPermissions=null,b.dosPermissions=null},5987:(a,b,c)=>{"use strict";var d=c(38590);function e(a){d.call(this,a);for(var b=0;b=0;--f)if(this.data[f]===b&&this.data[f+1]===c&&this.data[f+2]===d&&this.data[f+3]===e)return f-this.zero;return -1},e.prototype.readAndCheckSignature=function(a){var b=a.charCodeAt(0),c=a.charCodeAt(1),d=a.charCodeAt(2),e=a.charCodeAt(3),f=this.readData(4);return b===f[0]&&c===f[1]&&d===f[2]&&e===f[3]},e.prototype.readData=function(a){if(this.checkOffset(a),0===a)return[];var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},a.exports=e},6130:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]])},6401:(a,b,c)=>{"use strict";var d=c(20452),e=c(65353);function f(a,b){e.call(this,"Nodejs stream input adapter for "+a),this._upstreamEnded=!1,this._bindStream(b)}d.inherits(f,e),f.prototype._bindStream=function(a){var b=this;this._stream=a,a.pause(),a.on("data",function(a){b.push({data:a,meta:{percent:0}})}).on("error",function(a){b.isPaused?this.generatedError=a:b.error(a)}).on("end",function(){b.isPaused?b._upstreamEnded=!0:b.end()})},f.prototype.pause=function(){return!!e.prototype.pause.call(this)&&(this._stream.pause(),!0)},f.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},a.exports=f},6406:(a,b,c)=>{"use strict";c.d(b,{hO:()=>i,sG:()=>h});var d=c(38301),e=c(23312),f=c(96425),g=c(21124),h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((a,b)=>{let c=(0,f.TL)(`Primitive.${b}`),e=d.forwardRef((a,d)=>{let{asChild:e,...f}=a;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,g.jsx)(e?c:b,{...f,ref:d})});return e.displayName=`Primitive.${b}`,{...a,[b]:e}},{});function i(a,b){a&&e.flushSync(()=>a.dispatchEvent(b))}},6725:(a,b,c)=>{"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}b.__esModule=!0;var f=e(c(25139)),g=d(c(64685)),h=d(c(1793)),i=e(c(50281)),j=e(c(76824)),k=d(c(59156));function l(){var a=new f.HandlebarsEnvironment;return i.extend(a,f),a.SafeString=g.default,a.Exception=h.default,a.Utils=i,a.escapeExpression=i.escapeExpression,a.VM=j,a.template=function(b){return j.template(b,a)},a}var m=l();m.create=l,k.default(m),m.default=m,b.default=m,a.exports=b.default},7225:(a,b,c)=>{"use strict";var d,e,f,g=c(43613);function h(a){for(var b=a.length;--b>=0;)a[b]=0}var i=573,j=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],k=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],l=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],m=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],n=Array(576);h(n);var o=Array(60);h(o);var p=Array(512);h(p);var q=Array(256);h(q);var r=Array(29);h(r);var s=Array(30);function t(a,b,c,d,e){this.static_tree=a,this.extra_bits=b,this.extra_base=c,this.elems=d,this.max_length=e,this.has_stree=a&&a.length}function u(a,b){this.dyn_tree=a,this.max_code=0,this.stat_desc=b}function v(a){return a<256?p[a]:p[256+(a>>>7)]}function w(a,b){a.pending_buf[a.pending++]=255&b,a.pending_buf[a.pending++]=b>>>8&255}function x(a,b,c){a.bi_valid>16-c?(a.bi_buf|=b<>16-a.bi_valid,a.bi_valid+=c-16):(a.bi_buf|=b<>>=1,c<<=1;while(--b>0);return c>>>1}function A(a,b,c){var d,e,f=Array(16),g=0;for(d=1;d<=15;d++)f[d]=g=g+c[d-1]<<1;for(e=0;e<=b;e++){var h=a[2*e+1];0!==h&&(a[2*e]=z(f[h]++,h))}}function B(a){var b;for(b=0;b<286;b++)a.dyn_ltree[2*b]=0;for(b=0;b<30;b++)a.dyn_dtree[2*b]=0;for(b=0;b<19;b++)a.bl_tree[2*b]=0;a.dyn_ltree[512]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function C(a){a.bi_valid>8?w(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function D(a,b,c,d){var e=2*b,f=2*c;return a[e]>1;c>=1;c--)E(a,f,c);e=j;do c=a.heap[1],a.heap[1]=a.heap[a.heap_len--],E(a,f,1),d=a.heap[1],a.heap[--a.heap_max]=c,a.heap[--a.heap_max]=d,f[2*e]=f[2*c]+f[2*d],a.depth[e]=(a.depth[c]>=a.depth[d]?a.depth[c]:a.depth[d])+1,f[2*c+1]=f[2*d+1]=e,a.heap[1]=e++,E(a,f,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],function(a,b){var c,d,e,f,g,h,j=b.dyn_tree,k=b.max_code,l=b.stat_desc.static_tree,m=b.stat_desc.has_stree,n=b.stat_desc.extra_bits,o=b.stat_desc.extra_base,p=b.stat_desc.max_length,q=0;for(f=0;f<=15;f++)a.bl_count[f]=0;for(j[2*a.heap[a.heap_max]+1]=0,c=a.heap_max+1;cp&&(f=p,q++),j[2*d+1]=f,!(d>k)&&(a.bl_count[f]++,g=0,d>=o&&(g=n[d-o]),h=j[2*d],a.opt_len+=h*(f+g),m&&(a.static_len+=h*(l[2*d+1]+g)));if(0!==q){do{for(f=p-1;0===a.bl_count[f];)f--;a.bl_count[f]--,a.bl_count[f+1]+=2,a.bl_count[p]--,q-=2}while(q>0);for(f=p;0!==f;f--)for(d=a.bl_count[f];0!==d;)!((e=a.heap[--c])>k)&&(j[2*e+1]!==f&&(a.opt_len+=(f-j[2*e+1])*j[2*e],j[2*e+1]=f),d--)}}(a,b),A(f,k,a.bl_count)}function H(a,b,c){var d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),b[(c+1)*2+1]=65535,d=0;d<=c;d++)e=g,g=b[(d+1)*2+1],++h>=7;g<30;g++)for(a=0,s[g]=h<<7;a<1<0?(2===a.strm.data_type&&(a.strm.data_type=function(a){var b,c=0xf3ffc07f;for(b=0;b<=31;b++,c>>>=1)if(1&c&&0!==a.dyn_ltree[2*b])return 0;if(0!==a.dyn_ltree[18]||0!==a.dyn_ltree[20]||0!==a.dyn_ltree[26])return 1;for(b=32;b<256;b++)if(0!==a.dyn_ltree[2*b])return 1;return 0}(a)),G(a,a.l_desc),G(a,a.d_desc),g=function(a){var b;for(H(a,a.dyn_ltree,a.l_desc.max_code),H(a,a.dyn_dtree,a.d_desc.max_code),G(a,a.bl_desc),b=18;b>=3&&0===a.bl_tree[2*m[b]+1];b--);return a.opt_len+=3*(b+1)+5+5+4,b}(a),e=a.opt_len+3+7>>>3,(f=a.static_len+3+7>>>3)<=e&&(e=f)):e=f=c+5,c+4<=e&&-1!==b?K(a,b,c,d):4===a.strategy||f===e?(x(a,2+ +!!d,3),F(a,n,o)):(x(a,4+ +!!d,3),function(a,b,c,d){var e;for(x(a,b-257,5),x(a,c-1,5),x(a,d-4,4),e=0;e>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&b,a.pending_buf[a.l_buf+a.last_lit]=255&c,a.last_lit++,0===b?a.dyn_ltree[2*c]++:(a.matches++,b--,a.dyn_ltree[(q[c]+256+1)*2]++,a.dyn_dtree[2*v(b)]++),a.last_lit===a.lit_bufsize-1},b._tr_align=function(a){x(a,2,3),y(a,256,n),16===a.bi_valid?(w(a,a.bi_buf),a.bi_buf=0,a.bi_valid=0):a.bi_valid>=8&&(a.pending_buf[a.pending++]=255&a.bi_buf,a.bi_buf>>=8,a.bi_valid-=8)}},7412:(a,b,c)=>{"use strict";c.d(b,{qW:()=>m});var d,e=c(38301),f=c(87868),g=c(6406),h=c(92808),i=c(71700),j=c(21124),k="dismissableLayer.update",l=e.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),m=e.forwardRef((a,b)=>{let{disableOutsidePointerEvents:c=!1,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:q,onInteractOutside:r,onDismiss:s,...t}=a,u=e.useContext(l),[v,w]=e.useState(null),x=v?.ownerDocument??globalThis?.document,[,y]=e.useState({}),z=(0,h.s)(b,a=>w(a)),A=Array.from(u.layers),[B]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),C=A.indexOf(B),D=v?A.indexOf(v):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,F=D>=C,G=function(a,b=globalThis?.document){let c=(0,i.c)(a),d=e.useRef(!1),f=e.useRef(()=>{});return e.useEffect(()=>{let a=a=>{if(a.target&&!d.current){let d=function(){o("dismissableLayer.pointerDownOutside",c,e,{discrete:!0})},e={originalEvent:a};"touch"===a.pointerType?(b.removeEventListener("click",f.current),f.current=d,b.addEventListener("click",f.current,{once:!0})):d()}else b.removeEventListener("click",f.current);d.current=!1},e=window.setTimeout(()=>{b.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(e),b.removeEventListener("pointerdown",a),b.removeEventListener("click",f.current)}},[b,c]),{onPointerDownCapture:()=>d.current=!0}}(a=>{let b=a.target,c=[...u.branches].some(a=>a.contains(b));F&&!c&&(p?.(a),r?.(a),a.defaultPrevented||s?.())},x),H=function(a,b=globalThis?.document){let c=(0,i.c)(a),d=e.useRef(!1);return e.useEffect(()=>{let a=a=>{a.target&&!d.current&&o("dismissableLayer.focusOutside",c,{originalEvent:a},{discrete:!1})};return b.addEventListener("focusin",a),()=>b.removeEventListener("focusin",a)},[b,c]),{onFocusCapture:()=>d.current=!0,onBlurCapture:()=>d.current=!1}}(a=>{let b=a.target;![...u.branches].some(a=>a.contains(b))&&(q?.(a),r?.(a),a.defaultPrevented||s?.())},x);return!function(a,b=globalThis?.document){let c=(0,i.c)(a);e.useEffect(()=>{let a=a=>{"Escape"===a.key&&c(a)};return b.addEventListener("keydown",a,{capture:!0}),()=>b.removeEventListener("keydown",a,{capture:!0})},[c,b])}(a=>{D===u.layers.size-1&&(m?.(a),!a.defaultPrevented&&s&&(a.preventDefault(),s()))},x),e.useEffect(()=>{if(v)return c&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(d=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(v)),u.layers.add(v),n(),()=>{c&&1===u.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=d)}},[v,x,c,u]),e.useEffect(()=>()=>{v&&(u.layers.delete(v),u.layersWithOutsidePointerEventsDisabled.delete(v),n())},[v,u]),e.useEffect(()=>{let a=()=>y({});return document.addEventListener(k,a),()=>document.removeEventListener(k,a)},[]),(0,j.jsx)(g.sG.div,{...t,ref:z,style:{pointerEvents:E?F?"auto":"none":void 0,...a.style},onFocusCapture:(0,f.mK)(a.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,f.mK)(a.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,f.mK)(a.onPointerDownCapture,G.onPointerDownCapture)})});function n(){let a=new CustomEvent(k);document.dispatchEvent(a)}function o(a,b,c,{discrete:d}){let e=c.originalEvent.target,f=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:c});b&&e.addEventListener(a,b,{once:!0}),d?(0,g.hO)(e,f):e.dispatchEvent(f)}m.displayName="DismissableLayer",e.forwardRef((a,b)=>{let c=e.useContext(l),d=e.useRef(null),f=(0,h.s)(b,d);return e.useEffect(()=>{let a=d.current;if(a)return c.branches.add(a),()=>{c.branches.delete(a)}},[c.branches]),(0,j.jsx)(g.sG.div,{...a,ref:f})}).displayName="DismissableLayerBranch"},7932:(a,b,c)=>{"use strict";var d,e,f=c(39265);function g(a){var b=this;this.next=null,this.entry=null,this.finish=function(){var c=b,d=a,e=c.entry;for(c.entry=null;e;){var f=e.callback;d.pendingcb--,f(void 0),e=e.next}d.corkedRequestsFree.next=c}}a.exports=q;var h=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:f.nextTick;q.WritableState=p;var i=Object.create(c(69082));i.inherits=c(48985);var j={deprecate:c(33403)},k=c(69720),l=c(62253).Buffer,m=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},n=c(15016);function o(){}function p(a,b){d=d||c(47482),a=a||{};var e=b instanceof d;this.objectMode=!!a.objectMode,e&&(this.objectMode=this.objectMode||!!a.writableObjectMode);var i=a.highWaterMark,j=a.writableHighWaterMark,k=this.objectMode?16:16384;i||0===i?this.highWaterMark=i:e&&(j||0===j)?this.highWaterMark=j:this.highWaterMark=k,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===a.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=a.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){!function(a,b){var c=a._writableState,d=c.sync,e=c.writecb;if(c.writing=!1,c.writecb=null,c.length-=c.writelen,c.writelen=0,b)--c.pendingcb,d?(f.nextTick(e,b),f.nextTick(w,a,c),a._writableState.errorEmitted=!0,a.emit("error",b)):(e(b),a._writableState.errorEmitted=!0,a.emit("error",b),w(a,c));else{var g=u(c);g||c.corked||c.bufferProcessing||!c.bufferedRequest||t(a,c),d?h(s,a,c,g,e):s(a,c,g,e)}}(b,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new g(this)}i.inherits(q,k),p.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b};try{Object.defineProperty(p.prototype,"buffer",{get:j.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(a){}function q(a){if(d=d||c(47482),!e.call(q,this)&&!(this instanceof d))return new q(a);this._writableState=new p(a,this),this.writable=!0,a&&("function"==typeof a.write&&(this._write=a.write),"function"==typeof a.writev&&(this._writev=a.writev),"function"==typeof a.destroy&&(this._destroy=a.destroy),"function"==typeof a.final&&(this._final=a.final)),k.call(this)}function r(a,b,c,d,e,f,g){b.writelen=d,b.writecb=g,b.writing=!0,b.sync=!0,c?a._writev(e,b.onwrite):a._write(e,f,b.onwrite),b.sync=!1}function s(a,b,c,d){var e,f;c||(e=a,0===(f=b).length&&f.needDrain&&(f.needDrain=!1,e.emit("drain"))),b.pendingcb--,d(),w(a,b)}function t(a,b){b.bufferProcessing=!0;var c=b.bufferedRequest;if(a._writev&&c&&c.next){var d=Array(b.bufferedRequestCount),e=b.corkedRequestsFree;e.entry=c;for(var f=0,h=!0;c;)d[f]=c,c.isBuf||(h=!1),c=c.next,f+=1;d.allBuffers=h,r(a,b,!0,b.length,d,"",e.finish),b.pendingcb++,b.lastBufferedRequest=null,e.next?(b.corkedRequestsFree=e.next,e.next=null):b.corkedRequestsFree=new g(b),b.bufferedRequestCount=0}else{for(;c;){var i=c.chunk,j=c.encoding,k=c.callback,l=b.objectMode?1:i.length;if(r(a,b,!1,l,i,j,k),c=c.next,b.bufferedRequestCount--,b.writing)break}null===c&&(b.lastBufferedRequest=null)}b.bufferedRequest=c,b.bufferProcessing=!1}function u(a){return a.ending&&0===a.length&&null===a.bufferedRequest&&!a.finished&&!a.writing}function v(a,b){a._final(function(c){b.pendingcb--,c&&a.emit("error",c),b.prefinished=!0,a.emit("prefinish"),w(a,b)})}function w(a,b){var c=u(b);return c&&(b.prefinished||b.finalCalled||("function"==typeof a._final?(b.pendingcb++,b.finalCalled=!0,f.nextTick(v,a,b)):(b.prefinished=!0,a.emit("prefinish"))),0===b.pendingcb&&(b.finished=!0,a.emit("finish"))),c}"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(e=Function.prototype[Symbol.hasInstance],Object.defineProperty(q,Symbol.hasInstance,{value:function(a){return!!e.call(this,a)||this===q&&a&&a._writableState instanceof p}})):e=function(a){return a instanceof this},q.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))},q.prototype.write=function(a,b,c){var d,e,g,h,i,j,k,n,p=this._writableState,q=!1,s=!p.objectMode&&(d=a,l.isBuffer(d)||d instanceof m);return(s&&!l.isBuffer(a)&&(e=a,a=l.from(e)),"function"==typeof b&&(c=b,b=null),s?b="buffer":b||(b=p.defaultEncoding),"function"!=typeof c&&(c=o),p.ended)?(g=c,h=Error("write after end"),this.emit("error",h),f.nextTick(g,h)):(s||(i=a,j=c,k=!0,n=!1,null===i?n=TypeError("May not write null values to stream"):"string"==typeof i||void 0===i||p.objectMode||(n=TypeError("Invalid non-string/buffer chunk")),n&&(this.emit("error",n),f.nextTick(j,n),k=!1),k))&&(p.pendingcb++,q=function(a,b,c,d,e,f){if(!c){var g,h,i=(g=d,h=e,b.objectMode||!1===b.decodeStrings||"string"!=typeof g||(g=l.from(g,h)),g);d!==i&&(c=!0,e="buffer",d=i)}var j=b.objectMode?1:d.length;b.length+=j;var k=b.length-1))throw TypeError("Unknown encoding: "+a);return this._writableState.defaultEncoding=a,this},Object.defineProperty(q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),q.prototype._write=function(a,b,c){c(Error("_write() is not implemented"))},q.prototype._writev=null,q.prototype.end=function(a,b,c){var d,e,g,h=this._writableState;"function"==typeof a?(c=a,a=null,b=null):"function"==typeof b&&(c=b,b=null),null!=a&&this.write(a,b),h.corked&&(h.corked=1,this.uncork()),h.ending||(d=this,e=h,g=c,e.ending=!0,w(d,e),g&&(e.finished?f.nextTick(g):d.once("finish",g)),e.ended=!0,d.writable=!1)},Object.defineProperty(q.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(a){this._writableState&&(this._writableState.destroyed=a)}}),q.prototype.destroy=n.destroy,q.prototype._undestroy=n.undestroy,q.prototype._destroy=function(a,b){this.end(),b(a)}},7975:(a,b,c)=>{"use strict";function d(){var a=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=a}function e(a,b,c){void 0===b&&(b=a.length);var d=a[b-1],e=a[b-2];return d?"ContentStatement"===d.type?(e||!c?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(d.original):void 0:c}function f(a,b,c){void 0===b&&(b=-1);var d=a[b+1],e=a[b+2];return d?"ContentStatement"===d.type?(e||!c?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(d.original):void 0:c}function g(a,b,c){var d=a[null==b?0:b+1];if(d&&"ContentStatement"===d.type&&(c||!d.rightStripped)){var e=d.value;d.value=d.value.replace(c?/^\s+/:/^[ \t]*\r?\n?/,""),d.rightStripped=d.value!==e}}function h(a,b,c){var d=a[null==b?a.length-1:b-1];if(d&&"ContentStatement"===d.type&&(c||!d.leftStripped)){var e=d.value;return d.value=d.value.replace(c?/\s+$/:/[ \t]+$/,""),d.leftStripped=d.value!==e,d.leftStripped}}b.__esModule=!0,d.prototype=new(function(a){return a&&a.__esModule?a:{default:a}}(c(25258))).default,d.prototype.Program=function(a){var b=!this.options.ignoreStandalone,c=!this.isRootSeen;this.isRootSeen=!0;for(var d=a.body,i=0,j=d.length;i{"use strict";a.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(a,b){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,b);if("number"==typeof a)throw Error('The "data" argument must not be a number');return new Buffer(a,b)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var b=new Buffer(a);return b.fill(0),b},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&"function"==typeof a.on&&"function"==typeof a.pause&&"function"==typeof a.resume}}},9251:a=>{"use strict";var b=function(){for(var a,b=[],c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?0xedb88320^a>>>1:a>>>1;b[c]=a}return b}();a.exports=function(a,c,d,e){var f=e+d;a^=-1;for(var g=e;g>>8^b[(a^c[g])&255];return -1^a}},9926:(a,b,c)=>{"use strict";if(b.base64=!0,b.array=!0,b.string=!0,b.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,b.nodebuffer="undefined"!=typeof Buffer,b.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)b.blob=!1;else{var d=new ArrayBuffer(0);try{b.blob=0===new Blob([d],{type:"application/zip"}).size}catch(a){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);e.append(d),b.blob=0===e.getBlob("application/zip").size}catch(a){b.blob=!1}}}try{b.nodestream=!!c(12778).Readable}catch(a){b.nodestream=!1}},9991:(a,b,c)=>{"use strict";function d(a){return a&&a.__esModule?a:{default:a}}b.__esModule=!0,b.parseWithoutProcessing=j,b.parse=function(a,b){var c=j(a,b);return new f.default(b).accept(c)};var e=d(c(67025)),f=d(c(7975)),g=function(a){if(a&&a.__esModule)return a;var b={};if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b.default=a,b}(c(33585)),h=c(50281);b.parser=e.default;var i={};function j(a,b){return"Program"===a.type?a:(e.default.yy=i,i.locInfo=function(a){return new i.SourceLocation(b&&b.srcName,a)},e.default.parse(a))}h.extend(i,g)},10350:(a,b,c)=>{"use strict";c.d(b,{Z:()=>e});var d=c(38301);function e(a){let b=d.useRef({value:a,previous:a});return d.useMemo(()=>(b.current.value!==a&&(b.current.previous=b.current.value,b.current.value=a),b.current.previous),[a])}},10498:(a,b,c)=>{"use strict";c.d(b,{jH:()=>f});var d=c(38301);c(21124);var e=d.createContext(void 0);function f(a){let b=d.useContext(e);return a||b||"ltr"}},11082:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]])},11251:(a,b,c)=>{"use strict";var d,e,f=c(43613),g=c(90421),h=c(9251),i=c(36365),j=c(16466);function k(a){return(a>>>24&255)+(a>>>8&65280)+((65280&a)<<8)+((255&a)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new f.Buf16(320),this.work=new f.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function m(a){var b;return a&&a.state?(b=a.state,a.total_in=a.total_out=b.total=0,a.msg="",b.wrap&&(a.adler=1&b.wrap),b.mode=1,b.last=0,b.havedict=0,b.dmax=32768,b.head=null,b.hold=0,b.bits=0,b.lencode=b.lendyn=new f.Buf32(852),b.distcode=b.distdyn=new f.Buf32(592),b.sane=1,b.back=-1,0):-2}function n(a){var b;return a&&a.state?((b=a.state).wsize=0,b.whave=0,b.wnext=0,m(a)):-2}function o(a,b){var c,d;return a&&a.state?(d=a.state,b<0?(c=0,b=-b):(c=(b>>4)+1,b<48&&(b&=15)),b&&(b<8||b>15))?-2:(null!==d.window&&d.wbits!==b&&(d.window=null),d.wrap=c,d.wbits=b,n(a)):-2}function p(a,b){var c,d;return a?(a.state=d=new l,d.window=null,0!==(c=o(a,b))&&(a.state=null),c):-2}var q=!0;function r(a,b,c,d){var e,g=a.state;return null===g.window&&(g.wsize=1<=g.wsize?(f.arraySet(g.window,b,c-g.wsize,g.wsize,0),g.wnext=0,g.whave=g.wsize):((e=g.wsize-g.wnext)>d&&(e=d),f.arraySet(g.window,b,c-d,e,g.wnext),(d-=e)?(f.arraySet(g.window,b,c-d,d,0),g.wnext=d,g.whave=g.wsize):(g.wnext+=e,g.wnext===g.wsize&&(g.wnext=0),g.whave>>8&255,c.check=h(c.check,L,2,0),t=0,u=0,c.mode=2;break}if(c.flags=0,c.head&&(c.head.done=!1),!(1&c.wrap)||(((255&t)<<8)+(t>>8))%31){a.msg="incorrect header check",c.mode=30;break}if((15&t)!=8){a.msg="unknown compression method",c.mode=30;break}if(t>>>=4,u-=4,G=(15&t)+8,0===c.wbits)c.wbits=G;else if(G>c.wbits){a.msg="invalid window size",c.mode=30;break}c.dmax=1<>8&1),512&c.flags&&(L[0]=255&t,L[1]=t>>>8&255,c.check=h(c.check,L,2,0)),t=0,u=0,c.mode=3;case 3:for(;u<32;){if(0===p)break a;p--,t+=l[n++]<>>8&255,L[2]=t>>>16&255,L[3]=t>>>24&255,c.check=h(c.check,L,4,0)),t=0,u=0,c.mode=4;case 4:for(;u<16;){if(0===p)break a;p--,t+=l[n++]<>8),512&c.flags&&(L[0]=255&t,L[1]=t>>>8&255,c.check=h(c.check,L,2,0)),t=0,u=0,c.mode=5;case 5:if(1024&c.flags){for(;u<16;){if(0===p)break a;p--,t+=l[n++]<>>8&255,c.check=h(c.check,L,2,0)),t=0,u=0}else c.head&&(c.head.extra=null);c.mode=6;case 6:if(1024&c.flags&&((x=c.length)>p&&(x=p),x&&(c.head&&(G=c.head.extra_len-c.length,c.head.extra||(c.head.extra=Array(c.head.extra_len)),f.arraySet(c.head.extra,l,n,x,G)),512&c.flags&&(c.check=h(c.check,l,x,n)),p-=x,n+=x,c.length-=x),c.length))break a;c.length=0,c.mode=7;case 7:if(2048&c.flags){if(0===p)break a;x=0;do G=l[n+x++],c.head&&G&&c.length<65536&&(c.head.name+=String.fromCharCode(G));while(G&&x>9&1,c.head.done=!0),a.adler=c.check=0,c.mode=12;break;case 10:for(;u<32;){if(0===p)break a;p--,t+=l[n++]<>>=7&u,u-=7&u,c.mode=27;break}for(;u<3;){if(0===p)break a;p--,t+=l[n++]<>>=1)){case 0:c.mode=14;break;case 1:if(!function(a){if(q){var b;for(d=new f.Buf32(512),e=new f.Buf32(32),b=0;b<144;)a.lens[b++]=8;for(;b<256;)a.lens[b++]=9;for(;b<280;)a.lens[b++]=7;for(;b<288;)a.lens[b++]=8;for(j(1,a.lens,0,288,d,0,a.work,{bits:9}),b=0;b<32;)a.lens[b++]=5;j(2,a.lens,0,32,e,0,a.work,{bits:5}),q=!1}a.lencode=d,a.lenbits=9,a.distcode=e,a.distbits=5}(c),c.mode=20,6===b){t>>>=2,u-=2;break a}break;case 2:c.mode=17;break;case 3:a.msg="invalid block type",c.mode=30}t>>>=2,u-=2;break;case 14:for(t>>>=7&u,u-=7&u;u<32;){if(0===p)break a;p--,t+=l[n++]<>>16^65535)){a.msg="invalid stored block lengths",c.mode=30;break}if(c.length=65535&t,t=0,u=0,c.mode=15,6===b)break a;case 15:c.mode=16;case 16:if(x=c.length){if(x>p&&(x=p),x>s&&(x=s),0===x)break a;f.arraySet(m,l,n,x,o),p-=x,n+=x,s-=x,o+=x,c.length-=x;break}c.mode=12;break;case 17:for(;u<14;){if(0===p)break a;p--,t+=l[n++]<>>=5))+1,u-=5,c.ncode=(15&(t>>>=5))+4,t>>>=4,u-=4,c.nlen>286||c.ndist>30){a.msg="too many length or distance symbols",c.mode=30;break}c.have=0,c.mode=18;case 18:for(;c.have>>=3,u-=3}for(;c.have<19;)c.lens[M[c.have++]]=0;if(c.lencode=c.lendyn,c.lenbits=7,I={bits:c.lenbits},H=j(0,c.lens,0,19,c.lencode,0,c.work,I),c.lenbits=I.bits,H){a.msg="invalid code lengths set",c.mode=30;break}c.have=0,c.mode=19;case 19:for(;c.have>>24,B=K>>>16&255,C=65535&K,!(A<=u);){if(0===p)break a;p--,t+=l[n++]<>>=A,u-=A,c.lens[c.have++]=C;else{if(16===C){for(J=A+2;u>>=A,u-=A,0===c.have){a.msg="invalid bit length repeat",c.mode=30;break}G=c.lens[c.have-1],x=3+(3&t),t>>>=2,u-=2}else if(17===C){for(J=A+3;u>>=A,u-=A,G=0,x=3+(7&t),t>>>=3,u-=3}else{for(J=A+7;u>>=A,u-=A,G=0,x=11+(127&t),t>>>=7,u-=7}if(c.have+x>c.nlen+c.ndist){a.msg="invalid bit length repeat",c.mode=30;break}for(;x--;)c.lens[c.have++]=G}}if(30===c.mode)break;if(0===c.lens[256]){a.msg="invalid code -- missing end-of-block",c.mode=30;break}if(c.lenbits=9,I={bits:c.lenbits},H=j(1,c.lens,0,c.nlen,c.lencode,0,c.work,I),c.lenbits=I.bits,H){a.msg="invalid literal/lengths set",c.mode=30;break}if(c.distbits=6,c.distcode=c.distdyn,I={bits:c.distbits},H=j(2,c.lens,c.nlen,c.ndist,c.distcode,0,c.work,I),c.distbits=I.bits,H){a.msg="invalid distances set",c.mode=30;break}if(c.mode=20,6===b)break a;case 20:c.mode=21;case 21:if(p>=6&&s>=258){a.next_out=o,a.avail_out=s,a.next_in=n,a.avail_in=p,c.hold=t,c.bits=u,i(a,w),o=a.next_out,m=a.output,s=a.avail_out,n=a.next_in,l=a.input,p=a.avail_in,t=c.hold,u=c.bits,12===c.mode&&(c.back=-1);break}for(c.back=0;A=(K=c.lencode[t&(1<>>24,B=K>>>16&255,C=65535&K,!(A<=u);){if(0===p)break a;p--,t+=l[n++]<>D)])>>>24,B=K>>>16&255,C=65535&K,!(D+A<=u);){if(0===p)break a;p--,t+=l[n++]<>>=D,u-=D,c.back+=D}if(t>>>=A,u-=A,c.back+=A,c.length=C,0===B){c.mode=26;break}if(32&B){c.back=-1,c.mode=12;break}if(64&B){a.msg="invalid literal/length code",c.mode=30;break}c.extra=15&B,c.mode=22;case 22:if(c.extra){for(J=c.extra;u>>=c.extra,u-=c.extra,c.back+=c.extra}c.was=c.length,c.mode=23;case 23:for(;A=(K=c.distcode[t&(1<>>24,B=K>>>16&255,C=65535&K,!(A<=u);){if(0===p)break a;p--,t+=l[n++]<>D)])>>>24,B=K>>>16&255,C=65535&K,!(D+A<=u);){if(0===p)break a;p--,t+=l[n++]<>>=D,u-=D,c.back+=D}if(t>>>=A,u-=A,c.back+=A,64&B){a.msg="invalid distance code",c.mode=30;break}c.offset=C,c.extra=15&B,c.mode=24;case 24:if(c.extra){for(J=c.extra;u>>=c.extra,u-=c.extra,c.back+=c.extra}if(c.offset>c.dmax){a.msg="invalid distance too far back",c.mode=30;break}c.mode=25;case 25:if(0===s)break a;if(x=w-s,c.offset>x){if((x=c.offset-x)>c.whave&&c.sane){a.msg="invalid distance too far back",c.mode=30;break}x>c.wnext?(x-=c.wnext,y=c.wsize-x):y=c.wnext-x,x>c.length&&(x=c.length),z=c.window}else z=m,y=o-c.offset,x=c.length;x>s&&(x=s),s-=x,c.length-=x;do m[o++]=z[y++];while(--x);0===c.length&&(c.mode=21);break;case 26:if(0===s)break a;m[o++]=c.length,s--,c.mode=21;break;case 27:if(c.wrap){for(;u<32;){if(0===p)break a;p--,t|=l[n++]<{"use strict";c.d(b,{i:()=>h});var d,e=c(38301),f=c(68829),g=(d||(d=c.t(e,2)))[" useInsertionEffect ".trim().toString()]||f.N;function h({prop:a,defaultProp:b,onChange:c=()=>{},caller:d}){let[f,h,i]=function({defaultProp:a,onChange:b}){let[c,d]=e.useState(a),f=e.useRef(c),h=e.useRef(b);return g(()=>{h.current=b},[b]),e.useEffect(()=>{f.current!==c&&(h.current?.(c),f.current=c)},[c,f]),[c,d,h]}({defaultProp:b,onChange:c}),j=void 0!==a,k=j?a:f;{let b=e.useRef(void 0!==a);e.useEffect(()=>{let a=b.current;if(a!==j){let b=j?"controlled":"uncontrolled";console.warn(`${d} is changing from ${a?"controlled":"uncontrolled"} to ${b}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}b.current=j},[j,d])}return[k,e.useCallback(b=>{if(j){let c="function"==typeof b?b(a):b;c!==a&&i.current?.(c)}else h(b)},[j,a,h,i])]}Symbol("RADIX:SYNC_STATE")},12778:(a,b,c)=>{var d=c(27910);"disable"===process.env.READABLE_STREAM&&d?(a.exports=d,(b=a.exports=d.Readable).Readable=d.Readable,b.Writable=d.Writable,b.Duplex=d.Duplex,b.Transform=d.Transform,b.PassThrough=d.PassThrough,b.Stream=d):((b=a.exports=c(45948)).Stream=d||b,b.Readable=b,b.Writable=c(7932),b.Duplex=c(47482),b.Transform=c(99438),b.PassThrough=c(93872))},12803:(a,b,c)=>{"use strict";function d(a){return a&&a.__esModule?a:{default:a}}b.__esModule=!0;var e=c(25139),f=d(c(1793)),g=c(50281),h=d(c(89872));function i(a){this.value=a}function j(){}j.prototype={nameLookup:function(a,b){return this.internalNameLookup(a,b)},depthedLookup:function(a){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(a),")"]},compilerInfo:function(){var a=e.COMPILER_REVISION,b=e.REVISION_CHANGES[a];return[a,b]},appendToBuffer:function(a,b,c){return(g.isArray(a)||(a=[a]),a=this.source.wrap(a,b),this.environment.isSimple)?["return ",a,";"]:c?["buffer += ",a,";"]:(a.appendToBuffer=!0,a)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(a,b){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",a,",",JSON.stringify(b),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(a,b,c,d){this.environment=a,this.options=b,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!d,this.name=this.environment.name,this.isChild=!!c,this.context=c||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(a,b),this.useDepths=this.useDepths||a.useDepths||a.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||a.useBlockParams;var e=a.opcodes,g=void 0,h=void 0,i=void 0,j=void 0;for(i=0,j=e.length;i0&&(c+=", "+d.join(", "));var e=0;Object.keys(this.aliases).forEach(function(a){var d=b.aliases[a];d.children&&d.referenceCount>1&&(c+=", alias"+ ++e+"="+a,d.children[0]="alias"+e)}),this.lookupPropertyFunctionIsUsed&&(c+=", "+this.lookupPropertyFunctionVarDeclaration());var f=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&f.push("blockParams"),this.useDepths&&f.push("depths");var g=this.mergeSource(c);return a?(f.push(g),Function.apply(this,f)):this.source.wrap(["function(",f.join(","),") {\n ",g,"}"])},mergeSource:function(a){var b=this.environment.isSimple,c=!this.forceBuffer,d=void 0,e=void 0,f=void 0,g=void 0;return this.source.each(function(a){a.appendToBuffer?(f?a.prepend(" + "):f=a,g=a):(f&&(e?f.prepend("buffer += "):d=!0,g.add(";"),f=g=void 0),e=!0,b||(c=!1))}),c?f?(f.prepend("return "),g.add(";")):e||this.source.push('return "";'):(a+=", buffer = "+(d?"":this.initializeBuffer()),f?(f.prepend("return buffer + "),g.add(";")):this.source.push("return buffer;")),a&&this.source.prepend("var "+a.substring(2)+(d?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(a){var b=this.aliasable("container.hooks.blockHelperMissing"),c=[this.contextName(0)];this.setupHelperArgs(a,0,c);var d=this.popStack();c.splice(1,0,d),this.push(this.source.functionCall(b,"call",c))},ambiguousBlockValue:function(){var a=this.aliasable("container.hooks.blockHelperMissing"),b=[this.contextName(0)];this.setupHelperArgs("",0,b,!0),this.flushInline();var c=this.topStack();b.splice(1,0,c),this.pushSource(["if (!",this.lastHelper,") { ",c," = ",this.source.functionCall(a,"call",b),"}"])},appendContent:function(a){this.pendingContent?a=this.pendingContent+a:this.pendingLocation=this.source.currentLocation,this.pendingContent=a},append:function(){if(this.isInline())this.replaceStack(function(a){return[" != null ? ",a,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var a=this.popStack();this.pushSource(["if (",a," != null) { ",this.appendToBuffer(a,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(a){this.lastContext=a},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(a,b,c,d){var e=0;d||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(a[e++])),this.resolvePath("context",a,e,b,c)},lookupBlockParam:function(a,b){this.useBlockParams=!0,this.push(["blockParams[",a[0],"][",a[1],"]"]),this.resolvePath("context",b,1)},lookupData:function(a,b,c){a?this.pushStackLiteral("container.data(data, "+a+")"):this.pushStackLiteral("data"),this.resolvePath("data",b,0,!0,c)},resolvePath:function(a,b,c,d,e){var f=this;if(this.options.strict||this.options.assumeObjects)return void this.push(function(a,b,c,d,e){var f=b.popStack(),g=c.length;for(a&&g--;dthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var a=this.inlineStack;this.inlineStack=[];for(var b=0,c=a.length;b{"use strict";function d(){this.padding=0}b.__esModule=!0,b.print=function(a){return new d().accept(a)},b.PrintVisitor=d,d.prototype=new(function(a){return a&&a.__esModule?a:{default:a}}(c(25258))).default,d.prototype.pad=function(a){for(var b="",c=0,d=this.padding;c "+b+" }}")},d.prototype.PartialBlockStatement=function(a){var b="PARTIAL BLOCK:"+a.name.original;return a.params[0]&&(b+=" "+this.accept(a.params[0])),a.hash&&(b+=" "+this.accept(a.hash)),b+=" "+this.pad("PROGRAM:"),this.padding++,b+=this.accept(a.program),this.padding--,this.pad("{{> "+b+" }}")},d.prototype.ContentStatement=function(a){return this.pad("CONTENT[ '"+a.value+"' ]")},d.prototype.CommentStatement=function(a){return this.pad("{{! '"+a.value+"' }}")},d.prototype.SubExpression=function(a){for(var b=a.params,c=[],d=void 0,e=0,f=b.length;ed});let d=(0,c(23339).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},15016:(a,b,c)=>{"use strict";var d=c(39265);function e(a,b){a.emit("error",b)}a.exports={destroy:function(a,b){var c=this,f=this._readableState&&this._readableState.destroyed,g=this._writableState&&this._writableState.destroyed;return f||g?b?b(a):a&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,d.nextTick(e,this,a)):d.nextTick(e,this,a)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!b&&a?c._writableState?c._writableState.errorEmitted||(c._writableState.errorEmitted=!0,d.nextTick(e,c,a)):d.nextTick(e,c,a):b&&b(a)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},15303:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},16466:(a,b,c)=>{"use strict";var d=c(43613),e=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],f=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],g=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],h=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];a.exports=function(a,b,c,i,j,k,l,m){var n,o,p,q,r,s,t,u,v,w=m.bits,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=null,I=0,J=new d.Buf16(16),K=new d.Buf16(16),L=null,M=0;for(x=0;x<=15;x++)J[x]=0;for(y=0;y=1&&0===J[A];A--);if(B>A&&(B=A),0===A)return j[k++]=0x1400000,j[k++]=0x1400000,m.bits=1,0;for(z=1;z0&&(0===a||1!==A))return -1;for(x=1,K[1]=0;x<15;x++)K[x+1]=K[x]+J[x];for(y=0;y852||2===a&&F>592)return 1;for(;;){t=x-D,l[y]s?(u=L[M+l[y]],v=H[I+l[y]]):(u=96,v=0),n=1<>D)+(o-=n)]=t<<24|u<<16|v;while(0!==o);for(n=1<>=1;if(0!==n?(G&=n-1,G+=n):G=0,y++,0==--J[x]){if(x===A)break;x=b[c+l[y]]}if(x>B&&(G&q)!==p){for(0===D&&(D=B),r+=z,E=1<<(C=x-D);C+D852||2===a&&F>592)return 1;j[p=G&q]=B<<24|C<<16|r-k}}return 0!==G&&(j[r+G]=x-D<<24|4194304),m.bits=B,0}},18310:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},18659:(a,b,c)=>{"use strict";function d(a){return a&&a.__esModule?a:{default:a}}b.__esModule=!0,b.Compiler=i,b.precompile=function(a,b,c){if(null==a||"string"!=typeof a&&"Program"!==a.type)throw new e.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+a);"data"in(b=b||{})||(b.data=!0),b.compat&&(b.useDepths=!0);var d=c.parse(a,b),f=new c.Compiler().compile(d,b);return new c.JavaScriptCompiler().compile(f,b)},b.compile=function(a,b,c){if(void 0===b&&(b={}),null==a||"string"!=typeof a&&"Program"!==a.type)throw new e.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+a);"data"in(b=f.extend({},b))||(b.data=!0),b.compat&&(b.useDepths=!0);var d=void 0;function g(){var d=c.parse(a,b),e=new c.Compiler().compile(d,b),f=new c.JavaScriptCompiler().compile(e,b,void 0,!0);return c.template(f)}function h(a,b){return d||(d=g()),d.call(this,a,b)}return h._setup=function(a){return d||(d=g()),d._setup(a)},h._child=function(a,b,c,e){return d||(d=g()),d._child(a,b,c,e)},h};var e=d(c(1793)),f=c(50281),g=d(c(87732)),h=[].slice;function i(){}function j(a){if(!a.path.parts){var b=a.path;a.path={type:"PathExpression",data:!1,depth:0,parts:[b.original+""],original:b.original+"",loc:b.loc}}}i.prototype={compiler:i,equals:function(a){var b=this.opcodes.length;if(a.opcodes.length!==b)return!1;for(var c=0;c1)throw new e.default("Unsupported number of partial arguments: "+c.length,a);c.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):c.push({type:"PathExpression",parts:[],depth:0}));var d=a.name.original,f="SubExpression"===a.name.type;f&&this.accept(a.name),this.setupFullMustacheParams(a,b,void 0,!0);var g=a.indent||"";this.options.preventIndent&&g&&(this.opcode("appendContent",g),g=""),this.opcode("invokePartial",f,d,g),this.opcode("append")},PartialBlockStatement:function(a){this.PartialStatement(a)},MustacheStatement:function(a){this.SubExpression(a),a.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(a){this.DecoratorBlock(a)},ContentStatement:function(a){a.value&&this.opcode("appendContent",a.value)},CommentStatement:function(){},SubExpression:function(a){j(a);var b=this.classifySexpr(a);"simple"===b?this.simpleSexpr(a):"helper"===b?this.helperSexpr(a):this.ambiguousSexpr(a)},ambiguousSexpr:function(a,b,c){var d=a.path,e=d.parts[0];this.opcode("getContext",d.depth),this.opcode("pushProgram",b),this.opcode("pushProgram",c),d.strict=!0,this.accept(d),this.opcode("invokeAmbiguous",e,null!=b||null!=c)},simpleSexpr:function(a){var b=a.path;b.strict=!0,this.accept(b),this.opcode("resolvePossibleLambda")},helperSexpr:function(a,b,c){var d=this.setupFullMustacheParams(a,b,c),f=a.path,h=f.parts[0];if(this.options.knownHelpers[h])this.opcode("invokeKnownHelper",d.length,h);else if(this.options.knownHelpersOnly)throw new e.default("You specified knownHelpersOnly, but used the unknown helper "+h,a);else f.strict=!0,f.falsy=!0,this.accept(f),this.opcode("invokeHelper",d.length,f.original,g.default.helpers.simpleId(f))},PathExpression:function(a){this.addDepth(a.depth),this.opcode("getContext",a.depth);var b=a.parts[0],c=g.default.helpers.scopedId(a),d=!a.depth&&!c&&this.blockParamIndex(b);d?this.opcode("lookupBlockParam",d,a.parts):b?a.data?(this.options.data=!0,this.opcode("lookupData",a.depth,a.parts,a.strict)):this.opcode("lookupOnContext",a.parts,a.falsy,a.strict,c):this.opcode("pushContext")},StringLiteral:function(a){this.opcode("pushString",a.value)},NumberLiteral:function(a){this.opcode("pushLiteral",a.value)},BooleanLiteral:function(a){this.opcode("pushLiteral",a.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(a){var b=a.pairs,c=0,d=b.length;for(this.opcode("pushHash");c=0)return[b,e]}}}},19802:a=>{"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/"),({189:function(){!function(a,b){"use strict";if(!a.setImmediate){var c,d,e,f,g,h=1,i={},j=!1,k=a.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(a);l=l&&l.setTimeout?l:a,"[object process]"===({}).toString.call(a.process)?g=function(a){process.nextTick(function(){n(a)})}:function(){if(a.postMessage&&!a.importScripts){var b=!0,c=a.onmessage;return a.onmessage=function(){b=!1},a.postMessage("","*"),a.onmessage=c,b}}()?(c="setImmediate$"+Math.random()+"$",d=function(b){b.source===a&&"string"==typeof b.data&&0===b.data.indexOf(c)&&n(+b.data.slice(c.length))},a.addEventListener?a.addEventListener("message",d,!1):a.attachEvent("onmessage",d),g=function(b){a.postMessage(c+b,"*")}):a.MessageChannel?((e=new MessageChannel).port1.onmessage=function(a){n(a.data)},g=function(a){e.port2.postMessage(a)}):k&&"onreadystatechange"in k.createElement("script")?(f=k.documentElement,g=function(a){var b=k.createElement("script");b.onreadystatechange=function(){n(a),b.onreadystatechange=null,f.removeChild(b),b=null},f.appendChild(b)}):g=function(a){setTimeout(n,0,a)},l.setImmediate=function(a){"function"!=typeof a&&(a=Function(""+a));for(var b=Array(arguments.length-1),c=0;c{"use strict";var d=c(9926),e=c(50266),f=c(8153),g=c(51238);function h(a){return a}function i(a,b){for(var c=0;c1;)try{return j.stringifyByChunk(a,d,c)}catch(a){c=Math.floor(c/2)}return j.stringifyByChar(a)}function l(a,b){for(var c=0;c{"use strict";var d="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,e=c(56780),f=c(20452),g=c(65353),h=d?"uint8array":"array";function i(a,b){g.call(this,"FlateWorker/"+a),this._pako=null,this._pakoAction=a,this._pakoOptions=b,this.meta={}}b.magic="\b\0",f.inherits(i,g),i.prototype.processChunk=function(a){this.meta=a.meta,null===this._pako&&this._createPako(),this._pako.push(f.transformTo(h,a.data),!1)},i.prototype.flush=function(){g.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},i.prototype.cleanUp=function(){g.prototype.cleanUp.call(this),this._pako=null},i.prototype._createPako=function(){this._pako=new e[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var a=this;this._pako.onData=function(b){a.push({data:b,meta:a.meta})}},b.compressWorker=function(a){return new i("Deflate",a)},b.uncompressWorker=function(){return new i("Inflate",{})}},21843:(a,b,c)=>{"use strict";var d=c(51238),e=c(32970),f=c(4699),g=c(92592);function h(a,b,c,d,e){this.compressedSize=a,this.uncompressedSize=b,this.crc32=c,this.compression=d,this.compressedContent=e}h.prototype={getContentWorker:function(){var a=new e(d.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),b=this;return a.on("end",function(){if(this.streamInfo.data_length!==b.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),a},getCompressedWorker:function(){return new e(d.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},h.createWorkerFrom=function(a,b,c){return a.pipe(new f).pipe(new g("uncompressedSize")).pipe(b.compressWorker(c)).pipe(new g("compressedSize")).withStreamInfo("compression",b)},a.exports=h},23339:(a,b,c)=>{"use strict";c.d(b,{A:()=>i});var d=c(38301);let e=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)},f=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim();var g={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let h=(0,d.forwardRef)(({color:a="currentColor",size:b=24,strokeWidth:c=2,absoluteStrokeWidth:e,className:h="",children:i,iconNode:j,...k},l)=>(0,d.createElement)("svg",{ref:l,...g,width:b,height:b,stroke:a,strokeWidth:e?24*Number(c)/Number(b):c,className:f("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,b])=>(0,d.createElement)(a,b)),...Array.isArray(i)?i:[i]])),i=(a,b)=>{let c=(0,d.forwardRef)(({className:c,...g},i)=>(0,d.createElement)(h,{ref:i,iconNode:b,className:f(`lucide-${e(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,c),...g}));return c.displayName=e(a),c}},25122:(a,b,c)=>{"use strict";c.d(b,{Mz:()=>a1,i3:()=>a3,UC:()=>a2,bL:()=>a0,Bk:()=>aM});var d=c(38301);let e=["top","right","bottom","left"],f=Math.min,g=Math.max,h=Math.round,i=Math.floor,j=a=>({x:a,y:a}),k={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function m(a,b){return"function"==typeof a?a(b):a}function n(a){return a.split("-")[0]}function o(a){return a.split("-")[1]}function p(a){return"x"===a?"y":"x"}function q(a){return"y"===a?"height":"width"}let r=new Set(["top","bottom"]);function s(a){return r.has(n(a))?"y":"x"}function t(a){return a.replace(/start|end/g,a=>l[a])}let u=["left","right"],v=["right","left"],w=["top","bottom"],x=["bottom","top"];function y(a){return a.replace(/left|right|bottom|top/g,a=>k[a])}function z(a){return"number"!=typeof a?{top:0,right:0,bottom:0,left:0,...a}:{top:a,right:a,bottom:a,left:a}}function A(a){let{x:b,y:c,width:d,height:e}=a;return{width:d,height:e,top:c,left:b,right:b+d,bottom:c+e,x:b,y:c}}function B(a,b,c){let d,{reference:e,floating:f}=a,g=s(b),h=p(s(b)),i=q(h),j=n(b),k="y"===g,l=e.x+e.width/2-f.width/2,m=e.y+e.height/2-f.height/2,r=e[i]/2-f[i]/2;switch(j){case"top":d={x:l,y:e.y-f.height};break;case"bottom":d={x:l,y:e.y+e.height};break;case"right":d={x:e.x+e.width,y:m};break;case"left":d={x:e.x-f.width,y:m};break;default:d={x:e.x,y:e.y}}switch(o(b)){case"start":d[h]-=r*(c&&k?-1:1);break;case"end":d[h]+=r*(c&&k?-1:1)}return d}let C=async(a,b,c)=>{let{placement:d="bottom",strategy:e="absolute",middleware:f=[],platform:g}=c,h=f.filter(Boolean),i=await (null==g.isRTL?void 0:g.isRTL(b)),j=await g.getElementRects({reference:a,floating:b,strategy:e}),{x:k,y:l}=B(j,d,i),m=d,n={},o=0;for(let c=0;ca[b]>=0)}let G=new Set(["left","top"]);async function H(a,b){let{placement:c,platform:d,elements:e}=a,f=await (null==d.isRTL?void 0:d.isRTL(e.floating)),g=n(c),h=o(c),i="y"===s(c),j=G.has(g)?-1:1,k=f&&i?-1:1,l=m(b,a),{mainAxis:p,crossAxis:q,alignmentAxis:r}="number"==typeof l?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return h&&"number"==typeof r&&(q="end"===h?-1*r:r),i?{x:q*k,y:p*j}:{x:p*j,y:q*k}}function I(){return"undefined"!=typeof window}function J(a){return M(a)?(a.nodeName||"").toLowerCase():"#document"}function K(a){var b;return(null==a||null==(b=a.ownerDocument)?void 0:b.defaultView)||window}function L(a){var b;return null==(b=(M(a)?a.ownerDocument:a.document)||window.document)?void 0:b.documentElement}function M(a){return!!I()&&(a instanceof Node||a instanceof K(a).Node)}function N(a){return!!I()&&(a instanceof Element||a instanceof K(a).Element)}function O(a){return!!I()&&(a instanceof HTMLElement||a instanceof K(a).HTMLElement)}function P(a){return!!I()&&"undefined"!=typeof ShadowRoot&&(a instanceof ShadowRoot||a instanceof K(a).ShadowRoot)}let Q=new Set(["inline","contents"]);function R(a){let{overflow:b,overflowX:c,overflowY:d,display:e}=aa(a);return/auto|scroll|overlay|hidden|clip/.test(b+d+c)&&!Q.has(e)}let S=new Set(["table","td","th"]),T=[":popover-open",":modal"];function U(a){return T.some(b=>{try{return a.matches(b)}catch(a){return!1}})}let V=["transform","translate","scale","rotate","perspective"],W=["transform","translate","scale","rotate","perspective","filter"],X=["paint","layout","strict","content"];function Y(a){let b=Z(),c=N(a)?aa(a):a;return V.some(a=>!!c[a]&&"none"!==c[a])||!!c.containerType&&"normal"!==c.containerType||!b&&!!c.backdropFilter&&"none"!==c.backdropFilter||!b&&!!c.filter&&"none"!==c.filter||W.some(a=>(c.willChange||"").includes(a))||X.some(a=>(c.contain||"").includes(a))}function Z(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let $=new Set(["html","body","#document"]);function _(a){return $.has(J(a))}function aa(a){return K(a).getComputedStyle(a)}function ab(a){return N(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function ac(a){if("html"===J(a))return a;let b=a.assignedSlot||a.parentNode||P(a)&&a.host||L(a);return P(b)?b.host:b}function ad(a,b,c){var d;void 0===b&&(b=[]),void 0===c&&(c=!0);let e=function a(b){let c=ac(b);return _(c)?b.ownerDocument?b.ownerDocument.body:b.body:O(c)&&R(c)?c:a(c)}(a),f=e===(null==(d=a.ownerDocument)?void 0:d.body),g=K(e);if(f){let a=ae(g);return b.concat(g,g.visualViewport||[],R(e)?e:[],a&&c?ad(a):[])}return b.concat(e,ad(e,[],c))}function ae(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function af(a){let b=aa(a),c=parseFloat(b.width)||0,d=parseFloat(b.height)||0,e=O(a),f=e?a.offsetWidth:c,g=e?a.offsetHeight:d,i=h(c)!==f||h(d)!==g;return i&&(c=f,d=g),{width:c,height:d,$:i}}function ag(a){return N(a)?a:a.contextElement}function ah(a){let b=ag(a);if(!O(b))return j(1);let c=b.getBoundingClientRect(),{width:d,height:e,$:f}=af(b),g=(f?h(c.width):c.width)/d,i=(f?h(c.height):c.height)/e;return g&&Number.isFinite(g)||(g=1),i&&Number.isFinite(i)||(i=1),{x:g,y:i}}let ai=j(0);function aj(a){let b=K(a);return Z()&&b.visualViewport?{x:b.visualViewport.offsetLeft,y:b.visualViewport.offsetTop}:ai}function ak(a,b,c,d){var e;void 0===b&&(b=!1),void 0===c&&(c=!1);let f=a.getBoundingClientRect(),g=ag(a),h=j(1);b&&(d?N(d)&&(h=ah(d)):h=ah(a));let i=(void 0===(e=c)&&(e=!1),d&&(!e||d===K(g))&&e)?aj(g):j(0),k=(f.left+i.x)/h.x,l=(f.top+i.y)/h.y,m=f.width/h.x,n=f.height/h.y;if(g){let a=K(g),b=d&&N(d)?K(d):d,c=a,e=ae(c);for(;e&&d&&b!==c;){let a=ah(e),b=e.getBoundingClientRect(),d=aa(e),f=b.left+(e.clientLeft+parseFloat(d.paddingLeft))*a.x,g=b.top+(e.clientTop+parseFloat(d.paddingTop))*a.y;k*=a.x,l*=a.y,m*=a.x,n*=a.y,k+=f,l+=g,e=ae(c=K(e))}}return A({width:m,height:n,x:k,y:l})}function al(a,b){let c=ab(a).scrollLeft;return b?b.left+c:ak(L(a)).left+c}function am(a,b){let c=a.getBoundingClientRect();return{x:c.left+b.scrollLeft-al(a,c),y:c.top+b.scrollTop}}let an=new Set(["absolute","fixed"]);function ao(a,b,c){let d;if("viewport"===b)d=function(a,b){let c=K(a),d=L(a),e=c.visualViewport,f=d.clientWidth,g=d.clientHeight,h=0,i=0;if(e){f=e.width,g=e.height;let a=Z();(!a||a&&"fixed"===b)&&(h=e.offsetLeft,i=e.offsetTop)}let j=al(d);if(j<=0){let a=d.ownerDocument,b=a.body,c=getComputedStyle(b),e="CSS1Compat"===a.compatMode&&parseFloat(c.marginLeft)+parseFloat(c.marginRight)||0,g=Math.abs(d.clientWidth-b.clientWidth-e);g<=25&&(f-=g)}else j<=25&&(f+=j);return{width:f,height:g,x:h,y:i}}(a,c);else if("document"===b)d=function(a){let b=L(a),c=ab(a),d=a.ownerDocument.body,e=g(b.scrollWidth,b.clientWidth,d.scrollWidth,d.clientWidth),f=g(b.scrollHeight,b.clientHeight,d.scrollHeight,d.clientHeight),h=-c.scrollLeft+al(a),i=-c.scrollTop;return"rtl"===aa(d).direction&&(h+=g(b.clientWidth,d.clientWidth)-e),{width:e,height:f,x:h,y:i}}(L(a));else if(N(b))d=function(a,b){let c=ak(a,!0,"fixed"===b),d=c.top+a.clientTop,e=c.left+a.clientLeft,f=O(a)?ah(a):j(1),g=a.clientWidth*f.x,h=a.clientHeight*f.y;return{width:g,height:h,x:e*f.x,y:d*f.y}}(b,c);else{let c=aj(a);d={x:b.x-c.x,y:b.y-c.y,width:b.width,height:b.height}}return A(d)}function ap(a){return"static"===aa(a).position}function aq(a,b){if(!O(a)||"fixed"===aa(a).position)return null;if(b)return b(a);let c=a.offsetParent;return L(a)===c&&(c=c.ownerDocument.body),c}function ar(a,b){var c;let d=K(a);if(U(a))return d;if(!O(a)){let b=ac(a);for(;b&&!_(b);){if(N(b)&&!ap(b))return b;b=ac(b)}return d}let e=aq(a,b);for(;e&&(c=e,S.has(J(c)))&&ap(e);)e=aq(e,b);return e&&_(e)&&ap(e)&&!Y(e)?d:e||function(a){let b=ac(a);for(;O(b)&&!_(b);){if(Y(b))return b;if(U(b))break;b=ac(b)}return null}(a)||d}let as=async function(a){let b=this.getOffsetParent||ar,c=this.getDimensions,d=await c(a.floating);return{reference:function(a,b,c){let d=O(b),e=L(b),f="fixed"===c,g=ak(a,!0,f,b),h={scrollLeft:0,scrollTop:0},i=j(0);if(d||!d&&!f)if(("body"!==J(b)||R(e))&&(h=ab(b)),d){let a=ak(b,!0,f,b);i.x=a.x+b.clientLeft,i.y=a.y+b.clientTop}else e&&(i.x=al(e));f&&!d&&e&&(i.x=al(e));let k=!e||d||f?j(0):am(e,h);return{x:g.left+h.scrollLeft-i.x-k.x,y:g.top+h.scrollTop-i.y-k.y,width:g.width,height:g.height}}(a.reference,await b(a.floating),a.strategy),floating:{x:0,y:0,width:d.width,height:d.height}}},at={convertOffsetParentRelativeRectToViewportRelativeRect:function(a){let{elements:b,rect:c,offsetParent:d,strategy:e}=a,f="fixed"===e,g=L(d),h=!!b&&U(b.floating);if(d===g||h&&f)return c;let i={scrollLeft:0,scrollTop:0},k=j(1),l=j(0),m=O(d);if((m||!m&&!f)&&(("body"!==J(d)||R(g))&&(i=ab(d)),O(d))){let a=ak(d);k=ah(d),l.x=a.x+d.clientLeft,l.y=a.y+d.clientTop}let n=!g||m||f?j(0):am(g,i);return{width:c.width*k.x,height:c.height*k.y,x:c.x*k.x-i.scrollLeft*k.x+l.x+n.x,y:c.y*k.y-i.scrollTop*k.y+l.y+n.y}},getDocumentElement:L,getClippingRect:function(a){let{element:b,boundary:c,rootBoundary:d,strategy:e}=a,h=[..."clippingAncestors"===c?U(b)?[]:function(a,b){let c=b.get(a);if(c)return c;let d=ad(a,[],!1).filter(a=>N(a)&&"body"!==J(a)),e=null,f="fixed"===aa(a).position,g=f?ac(a):a;for(;N(g)&&!_(g);){let b=aa(g),c=Y(g);c||"fixed"!==b.position||(e=null),(f?!c&&!e:!c&&"static"===b.position&&!!e&&an.has(e.position)||R(g)&&!c&&function a(b,c){let d=ac(b);return!(d===c||!N(d)||_(d))&&("fixed"===aa(d).position||a(d,c))}(a,g))?d=d.filter(a=>a!==g):e=b,g=ac(g)}return b.set(a,d),d}(b,this._c):[].concat(c),d],i=h[0],j=h.reduce((a,c)=>{let d=ao(b,c,e);return a.top=g(d.top,a.top),a.right=f(d.right,a.right),a.bottom=f(d.bottom,a.bottom),a.left=g(d.left,a.left),a},ao(b,i,e));return{width:j.right-j.left,height:j.bottom-j.top,x:j.left,y:j.top}},getOffsetParent:ar,getElementRects:as,getClientRects:function(a){return Array.from(a.getClientRects())},getDimensions:function(a){let{width:b,height:c}=af(a);return{width:b,height:c}},getScale:ah,isElement:N,isRTL:function(a){return"rtl"===aa(a).direction}};function au(a,b){return a.x===b.x&&a.y===b.y&&a.width===b.width&&a.height===b.height}let av=a=>({name:"arrow",options:a,async fn(b){let{x:c,y:d,placement:e,rects:h,platform:i,elements:j,middlewareData:k}=b,{element:l,padding:n=0}=m(a,b)||{};if(null==l)return{};let r=z(n),t={x:c,y:d},u=p(s(e)),v=q(u),w=await i.getDimensions(l),x="y"===u,y=x?"clientHeight":"clientWidth",A=h.reference[v]+h.reference[u]-t[u]-h.floating[v],B=t[u]-h.reference[u],C=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l)),D=C?C[y]:0;D&&await (null==i.isElement?void 0:i.isElement(C))||(D=j.floating[y]||h.floating[v]);let E=D/2-w[v]/2-1,F=f(r[x?"top":"left"],E),G=f(r[x?"bottom":"right"],E),H=D-w[v]-G,I=D/2-w[v]/2+(A/2-B/2),J=g(F,f(I,H)),K=!k.arrow&&null!=o(e)&&I!==J&&h.reference[v]/2-(I{b.current=a}),b}var aC=c(6406),aD=c(21124),aE=d.forwardRef((a,b)=>{let{children:c,width:d=10,height:e=5,...f}=a;return(0,aD.jsx)(aC.sG.svg,{...f,ref:b,width:d,height:e,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?c:(0,aD.jsx)("polygon",{points:"0,0 30,0 15,10"})})});aE.displayName="Arrow";var aF=c(92808),aG=c(2332),aH=c(71700),aI=c(68829),aJ=c(96386),aK="Popper",[aL,aM]=(0,aG.A)(aK),[aN,aO]=aL(aK),aP=a=>{let{__scopePopper:b,children:c}=a,[e,f]=d.useState(null);return(0,aD.jsx)(aN,{scope:b,anchor:e,onAnchorChange:f,children:c})};aP.displayName=aK;var aQ="PopperAnchor",aR=d.forwardRef((a,b)=>{let{__scopePopper:c,virtualRef:e,...f}=a,g=aO(aQ,c),h=d.useRef(null),i=(0,aF.s)(b,h),j=d.useRef(null);return d.useEffect(()=>{let a=j.current;j.current=e?.current||h.current,a!==j.current&&g.onAnchorChange(j.current)}),e?null:(0,aD.jsx)(aC.sG.div,{...f,ref:i})});aR.displayName=aQ;var aS="PopperContent",[aT,aU]=aL(aS),aV=d.forwardRef((a,b)=>{let{__scopePopper:c,side:e="bottom",sideOffset:h=0,align:j="center",alignOffset:k=0,arrowPadding:l=0,avoidCollisions:r=!0,collisionBoundary:z=[],collisionPadding:A=0,sticky:B="partial",hideWhenDetached:I=!1,updatePositionStrategy:J="optimized",onPlaced:K,...M}=a,N=aO(aS,c),[O,P]=d.useState(null),Q=(0,aF.s)(b,a=>P(a)),[R,S]=d.useState(null),T=(0,aJ.X)(R),U=T?.width??0,V=T?.height??0,W="number"==typeof A?A:{top:0,right:0,bottom:0,left:0,...A},X=Array.isArray(z)?z:[z],Y=X.length>0,Z={padding:W,boundary:X.filter(aZ),altBoundary:Y},{refs:$,floatingStyles:_,placement:aa,isPositioned:ab,middlewareData:ac}=function(a){void 0===a&&(a={});let{placement:b="bottom",strategy:c="absolute",middleware:e=[],platform:f,elements:{reference:g,floating:h}={},transform:i=!0,whileElementsMounted:j,open:k}=a,[l,m]=d.useState({x:0,y:0,strategy:c,placement:b,middlewareData:{},isPositioned:!1}),[n,o]=d.useState(e);ay(n,e)||o(e);let[p,q]=d.useState(null),[r,s]=d.useState(null),t=d.useCallback(a=>{a!==x.current&&(x.current=a,q(a))},[]),u=d.useCallback(a=>{a!==y.current&&(y.current=a,s(a))},[]),v=g||p,w=h||r,x=d.useRef(null),y=d.useRef(null),z=d.useRef(l),A=null!=j,B=aB(j),D=aB(f),E=aB(k),F=d.useCallback(()=>{if(!x.current||!y.current)return;let a={placement:b,strategy:c,middleware:n};D.current&&(a.platform=D.current),((a,b,c)=>{let d=new Map,e={platform:at,...c},f={...e.platform,_c:d};return C(a,b,{...e,platform:f})})(x.current,y.current,a).then(a=>{let b={...a,isPositioned:!1!==E.current};G.current&&!ay(z.current,b)&&(z.current=b,aw.flushSync(()=>{m(b)}))})},[n,b,c,D,E]);ax(()=>{!1===k&&z.current.isPositioned&&(z.current.isPositioned=!1,m(a=>({...a,isPositioned:!1})))},[k]);let G=d.useRef(!1);ax(()=>(G.current=!0,()=>{G.current=!1}),[]),ax(()=>{if(v&&(x.current=v),w&&(y.current=w),v&&w){if(B.current)return B.current(v,w,F);F()}},[v,w,F,B,A]);let H=d.useMemo(()=>({reference:x,floating:y,setReference:t,setFloating:u}),[t,u]),I=d.useMemo(()=>({reference:v,floating:w}),[v,w]),J=d.useMemo(()=>{let a={position:c,left:0,top:0};if(!I.floating)return a;let b=aA(I.floating,l.x),d=aA(I.floating,l.y);return i?{...a,transform:"translate("+b+"px, "+d+"px)",...az(I.floating)>=1.5&&{willChange:"transform"}}:{position:c,left:b,top:d}},[c,i,I.floating,l.x,l.y]);return d.useMemo(()=>({...l,update:F,refs:H,elements:I,floatingStyles:J}),[l,F,H,I,J])}({strategy:"fixed",placement:e+("center"!==j?"-"+j:""),whileElementsMounted:(...a)=>(function(a,b,c,d){let e;void 0===d&&(d={});let{ancestorScroll:h=!0,ancestorResize:j=!0,elementResize:k="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:m=!1}=d,n=ag(a),o=h||j?[...n?ad(n):[],...ad(b)]:[];o.forEach(a=>{h&&a.addEventListener("scroll",c,{passive:!0}),j&&a.addEventListener("resize",c)});let p=n&&l?function(a,b){let c,d=null,e=L(a);function h(){var a;clearTimeout(c),null==(a=d)||a.disconnect(),d=null}return!function j(k,l){void 0===k&&(k=!1),void 0===l&&(l=1),h();let m=a.getBoundingClientRect(),{left:n,top:o,width:p,height:q}=m;if(k||b(),!p||!q)return;let r=i(o),s=i(e.clientWidth-(n+p)),t={rootMargin:-r+"px "+-s+"px "+-i(e.clientHeight-(o+q))+"px "+-i(n)+"px",threshold:g(0,f(1,l))||1},u=!0;function v(b){let d=b[0].intersectionRatio;if(d!==l){if(!u)return j();d?j(!1,d):c=setTimeout(()=>{j(!1,1e-7)},1e3)}1!==d||au(m,a.getBoundingClientRect())||j(),u=!1}try{d=new IntersectionObserver(v,{...t,root:e.ownerDocument})}catch(a){d=new IntersectionObserver(v,t)}d.observe(a)}(!0),h}(n,c):null,q=-1,r=null;k&&(r=new ResizeObserver(a=>{let[d]=a;d&&d.target===n&&r&&(r.unobserve(b),cancelAnimationFrame(q),q=requestAnimationFrame(()=>{var a;null==(a=r)||a.observe(b)})),c()}),n&&!m&&r.observe(n),r.observe(b));let s=m?ak(a):null;return m&&function b(){let d=ak(a);s&&!au(s,d)&&c(),s=d,e=requestAnimationFrame(b)}(),c(),()=>{var a;o.forEach(a=>{h&&a.removeEventListener("scroll",c),j&&a.removeEventListener("resize",c)}),null==p||p(),null==(a=r)||a.disconnect(),r=null,m&&cancelAnimationFrame(e)}})(...a,{animationFrame:"always"===J}),elements:{reference:N.anchor},middleware:[((a,b)=>({...function(a){return void 0===a&&(a=0),{name:"offset",options:a,async fn(b){var c,d;let{x:e,y:f,placement:g,middlewareData:h}=b,i=await H(b,a);return g===(null==(c=h.offset)?void 0:c.placement)&&null!=(d=h.arrow)&&d.alignmentOffset?{}:{x:e+i.x,y:f+i.y,data:{...i,placement:g}}}}}(a),options:[a,b]}))({mainAxis:h+V,alignmentAxis:k}),r&&((a,b)=>({...function(a){return void 0===a&&(a={}),{name:"shift",options:a,async fn(b){let{x:c,y:d,placement:e}=b,{mainAxis:h=!0,crossAxis:i=!1,limiter:j={fn:a=>{let{x:b,y:c}=a;return{x:b,y:c}}},...k}=m(a,b),l={x:c,y:d},o=await D(b,k),q=s(n(e)),r=p(q),t=l[r],u=l[q];if(h){let a="y"===r?"top":"left",b="y"===r?"bottom":"right",c=t+o[a],d=t-o[b];t=g(c,f(t,d))}if(i){let a="y"===q?"top":"left",b="y"===q?"bottom":"right",c=u+o[a],d=u-o[b];u=g(c,f(u,d))}let v=j.fn({...b,[r]:t,[q]:u});return{...v,data:{x:v.x-c,y:v.y-d,enabled:{[r]:h,[q]:i}}}}}}(a),options:[a,b]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===B?((a,b)=>({...function(a){return void 0===a&&(a={}),{options:a,fn(b){let{x:c,y:d,placement:e,rects:f,middlewareData:g}=b,{offset:h=0,mainAxis:i=!0,crossAxis:j=!0}=m(a,b),k={x:c,y:d},l=s(e),o=p(l),q=k[o],r=k[l],t=m(h,b),u="number"==typeof t?{mainAxis:t,crossAxis:0}:{mainAxis:0,crossAxis:0,...t};if(i){let a="y"===o?"height":"width",b=f.reference[o]-f.floating[a]+u.mainAxis,c=f.reference[o]+f.reference[a]-u.mainAxis;qc&&(q=c)}if(j){var v,w;let a="y"===o?"width":"height",b=G.has(n(e)),c=f.reference[l]-f.floating[a]+(b&&(null==(v=g.offset)?void 0:v[l])||0)+(b?0:u.crossAxis),d=f.reference[l]+f.reference[a]+(b?0:(null==(w=g.offset)?void 0:w[l])||0)-(b?u.crossAxis:0);rd&&(r=d)}return{[o]:q,[l]:r}}}}(a),options:[a,b]}))():void 0,...Z}),r&&((a,b)=>({...function(a){return void 0===a&&(a={}),{name:"flip",options:a,async fn(b){var c,d,e,f,g;let{placement:h,middlewareData:i,rects:j,initialPlacement:k,platform:l,elements:r}=b,{mainAxis:z=!0,crossAxis:A=!0,fallbackPlacements:B,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:F=!0,...G}=m(a,b);if(null!=(c=i.arrow)&&c.alignmentOffset)return{};let H=n(h),I=s(k),J=n(k)===k,K=await (null==l.isRTL?void 0:l.isRTL(r.floating)),L=B||(J||!F?[y(k)]:function(a){let b=y(a);return[t(a),b,t(b)]}(k)),M="none"!==E;!B&&M&&L.push(...function(a,b,c,d){let e=o(a),f=function(a,b,c){switch(a){case"top":case"bottom":if(c)return b?v:u;return b?u:v;case"left":case"right":return b?w:x;default:return[]}}(n(a),"start"===c,d);return e&&(f=f.map(a=>a+"-"+e),b&&(f=f.concat(f.map(t)))),f}(k,F,E,K));let N=[k,...L],O=await D(b,G),P=[],Q=(null==(d=i.flip)?void 0:d.overflows)||[];if(z&&P.push(O[H]),A){let a=function(a,b,c){void 0===c&&(c=!1);let d=o(a),e=p(s(a)),f=q(e),g="x"===e?d===(c?"end":"start")?"right":"left":"start"===d?"bottom":"top";return b.reference[f]>b.floating[f]&&(g=y(g)),[g,y(g)]}(h,j,K);P.push(O[a[0]],O[a[1]])}if(Q=[...Q,{placement:h,overflows:P}],!P.every(a=>a<=0)){let a=((null==(e=i.flip)?void 0:e.index)||0)+1,b=N[a];if(b&&("alignment"!==A||I===s(b)||Q.every(a=>s(a.placement)!==I||a.overflows[0]>0)))return{data:{index:a,overflows:Q},reset:{placement:b}};let c=null==(f=Q.filter(a=>a.overflows[0]<=0).sort((a,b)=>a.overflows[1]-b.overflows[1])[0])?void 0:f.placement;if(!c)switch(C){case"bestFit":{let a=null==(g=Q.filter(a=>{if(M){let b=s(a.placement);return b===I||"y"===b}return!0}).map(a=>[a.placement,a.overflows.filter(a=>a>0).reduce((a,b)=>a+b,0)]).sort((a,b)=>a[1]-b[1])[0])?void 0:g[0];a&&(c=a);break}case"initialPlacement":c=k}if(h!==c)return{reset:{placement:c}}}return{}}}}(a),options:[a,b]}))({...Z}),((a,b)=>({...function(a){return void 0===a&&(a={}),{name:"size",options:a,async fn(b){var c,d;let e,h,{placement:i,rects:j,platform:k,elements:l}=b,{apply:p=()=>{},...q}=m(a,b),r=await D(b,q),t=n(i),u=o(i),v="y"===s(i),{width:w,height:x}=j.floating;"top"===t||"bottom"===t?(e=t,h=u===(await (null==k.isRTL?void 0:k.isRTL(l.floating))?"start":"end")?"left":"right"):(h=t,e="end"===u?"top":"bottom");let y=x-r.top-r.bottom,z=w-r.left-r.right,A=f(x-r[e],y),B=f(w-r[h],z),C=!b.middlewareData.shift,E=A,F=B;if(null!=(c=b.middlewareData.shift)&&c.enabled.x&&(F=z),null!=(d=b.middlewareData.shift)&&d.enabled.y&&(E=y),C&&!u){let a=g(r.left,0),b=g(r.right,0),c=g(r.top,0),d=g(r.bottom,0);v?F=w-2*(0!==a||0!==b?a+b:g(r.left,r.right)):E=x-2*(0!==c||0!==d?c+d:g(r.top,r.bottom))}await p({...b,availableWidth:F,availableHeight:E});let G=await k.getDimensions(l.floating);return w!==G.width||x!==G.height?{reset:{rects:!0}}:{}}}}(a),options:[a,b]}))({...Z,apply:({elements:a,rects:b,availableWidth:c,availableHeight:d})=>{let{width:e,height:f}=b.reference,g=a.floating.style;g.setProperty("--radix-popper-available-width",`${c}px`),g.setProperty("--radix-popper-available-height",`${d}px`),g.setProperty("--radix-popper-anchor-width",`${e}px`),g.setProperty("--radix-popper-anchor-height",`${f}px`)}}),R&&((a,b)=>({...(a=>({name:"arrow",options:a,fn(b){let{element:c,padding:d}="function"==typeof a?a(b):a;return c&&({}).hasOwnProperty.call(c,"current")?null!=c.current?av({element:c.current,padding:d}).fn(b):{}:c?av({element:c,padding:d}).fn(b):{}}}))(a),options:[a,b]}))({element:R,padding:l}),a$({arrowWidth:U,arrowHeight:V}),I&&((a,b)=>({...function(a){return void 0===a&&(a={}),{name:"hide",options:a,async fn(b){let{rects:c}=b,{strategy:d="referenceHidden",...e}=m(a,b);switch(d){case"referenceHidden":{let a=E(await D(b,{...e,elementContext:"reference"}),c.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:F(a)}}}case"escaped":{let a=E(await D(b,{...e,altBoundary:!0}),c.floating);return{data:{escapedOffsets:a,escaped:F(a)}}}default:return{}}}}}(a),options:[a,b]}))({strategy:"referenceHidden",...Z})]}),[ae,af]=a_(aa),ah=(0,aH.c)(K);(0,aI.N)(()=>{ab&&ah?.()},[ab,ah]);let ai=ac.arrow?.x,aj=ac.arrow?.y,al=ac.arrow?.centerOffset!==0,[am,an]=d.useState();return(0,aI.N)(()=>{O&&an(window.getComputedStyle(O).zIndex)},[O]),(0,aD.jsx)("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{..._,transform:ab?_.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:am,"--radix-popper-transform-origin":[ac.transformOrigin?.x,ac.transformOrigin?.y].join(" "),...ac.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:(0,aD.jsx)(aT,{scope:c,placedSide:ae,onArrowChange:S,arrowX:ai,arrowY:aj,shouldHideArrow:al,children:(0,aD.jsx)(aC.sG.div,{"data-side":ae,"data-align":af,...M,ref:Q,style:{...M.style,animation:ab?void 0:"none"}})})})});aV.displayName=aS;var aW="PopperArrow",aX={top:"bottom",right:"left",bottom:"top",left:"right"},aY=d.forwardRef(function(a,b){let{__scopePopper:c,...d}=a,e=aU(aW,c),f=aX[e.placedSide];return(0,aD.jsx)("span",{ref:e.onArrowChange,style:{position:"absolute",left:e.arrowX,top:e.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[e.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[e.placedSide],visibility:e.shouldHideArrow?"hidden":void 0},children:(0,aD.jsx)(aE,{...d,ref:b,style:{...d.style,display:"block"}})})});function aZ(a){return null!==a}aY.displayName=aW;var a$=a=>({name:"transformOrigin",options:a,fn(b){let{placement:c,rects:d,middlewareData:e}=b,f=e.arrow?.centerOffset!==0,g=f?0:a.arrowWidth,h=f?0:a.arrowHeight,[i,j]=a_(c),k={start:"0%",center:"50%",end:"100%"}[j],l=(e.arrow?.x??0)+g/2,m=(e.arrow?.y??0)+h/2,n="",o="";return"bottom"===i?(n=f?k:`${l}px`,o=`${-h}px`):"top"===i?(n=f?k:`${l}px`,o=`${d.floating.height+h}px`):"right"===i?(n=`${-h}px`,o=f?k:`${m}px`):"left"===i&&(n=`${d.floating.width+h}px`,o=f?k:`${m}px`),{data:{x:n,y:o}}}});function a_(a){let[b,c="center"]=a.split("-");return[b,c]}var a0=aP,a1=aR,a2=aV,a3=aY},25139:(a,b,c)=>{"use strict";function d(a){return a&&a.__esModule?a:{default:a}}b.__esModule=!0,b.HandlebarsEnvironment=l;var e=c(50281),f=d(c(1793)),g=c(88293),h=c(32860),i=d(c(95050)),j=c(89777);b.VERSION="4.7.8",b.COMPILER_REVISION=8,b.LAST_COMPATIBLE_COMPILER_REVISION=7,b.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var k="[object Object]";function l(a,b,c){this.helpers=a||{},this.partials=b||{},this.decorators=c||{},g.registerDefaultHelpers(this),h.registerDefaultDecorators(this)}l.prototype={constructor:l,logger:i.default,log:i.default.log,registerHelper:function(a,b){if(e.toString.call(a)===k){if(b)throw new f.default("Arg not supported with multiple helpers");e.extend(this.helpers,a)}else this.helpers[a]=b},unregisterHelper:function(a){delete this.helpers[a]},registerPartial:function(a,b){if(e.toString.call(a)===k)e.extend(this.partials,a);else{if(void 0===b)throw new f.default('Attempting to register a partial called "'+a+'" as undefined');this.partials[a]=b}},unregisterPartial:function(a){delete this.partials[a]},registerDecorator:function(a,b){if(e.toString.call(a)===k){if(b)throw new f.default("Arg not supported with multiple decorators");e.extend(this.decorators,a)}else this.decorators[a]=b},unregisterDecorator:function(a){delete this.decorators[a]},resetLoggedPropertyAccesses:function(){j.resetLoggedProperties()}},b.log=i.default.log,b.createFrame=e.createFrame,b.logger=i.default},25258:(a,b,c)=>{"use strict";b.__esModule=!0;var d=function(a){return a&&a.__esModule?a:{default:a}}(c(1793));function e(){this.parents=[]}function f(a){this.acceptRequired(a,"path"),this.acceptArray(a.params),this.acceptKey(a,"hash")}function g(a){f.call(this,a),this.acceptKey(a,"program"),this.acceptKey(a,"inverse")}function h(a){this.acceptRequired(a,"name"),this.acceptArray(a.params),this.acceptKey(a,"hash")}e.prototype={constructor:e,mutating:!1,acceptKey:function(a,b){var c=this.accept(a[b]);if(this.mutating){if(c&&!e.prototype[c.type])throw new d.default('Unexpected node type "'+c.type+'" found when accepting '+b+" on "+a.type);a[b]=c}},acceptRequired:function(a,b){if(this.acceptKey(a,b),!a[b])throw new d.default(a.type+" requires "+b)},acceptArray:function(a){for(var b=0,c=a.length;b{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},26691:(a,b,c)=>{"use strict";c.d(b,{F:()=>g});var d=c(43249);let e=a=>"boolean"==typeof a?`${a}`:0===a?"0":a,f=d.$,g=(a,b)=>c=>{var d;if((null==b?void 0:b.variants)==null)return f(a,null==c?void 0:c.class,null==c?void 0:c.className);let{variants:g,defaultVariants:h}=b,i=Object.keys(g).map(a=>{let b=null==c?void 0:c[a],d=null==h?void 0:h[a];if(null===b)return null;let f=e(b)||e(d);return g[a][f]}),j=c&&Object.entries(c).reduce((a,b)=>{let[c,d]=b;return void 0===d||(a[c]=d),a},{});return f(a,i,null==b||null==(d=b.compoundVariants)?void 0:d.reduce((a,b)=>{let{class:c,className:d,...e}=b;return Object.entries(e).every(a=>{let[b,c]=a;return Array.isArray(c)?c.includes({...h,...j}[b]):({...h,...j})[b]===c})?[...a,c,d]:a},[]),null==c?void 0:c.class,null==c?void 0:c.className)}},27139:(a,b,c)=>{"use strict";var d=c(53247),e=c(43613),f=c(98164),g=c(78094),h=c(1094),i=Object.prototype.toString;function j(a){if(!(this instanceof j))return new j(a);this.options=e.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},a||{});var b,c=this.options;c.raw&&c.windowBits>0?c.windowBits=-c.windowBits:c.gzip&&c.windowBits>0&&c.windowBits<16&&(c.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var k=d.deflateInit2(this.strm,c.level,c.method,c.windowBits,c.memLevel,c.strategy);if(0!==k)throw Error(g[k]);if(c.header&&d.deflateSetHeader(this.strm,c.header),c.dictionary){if(b="string"==typeof c.dictionary?f.string2buf(c.dictionary):"[object ArrayBuffer]"===i.call(c.dictionary)?new Uint8Array(c.dictionary):c.dictionary,0!==(k=d.deflateSetDictionary(this.strm,b)))throw Error(g[k]);this._dict_set=!0}}function k(a,b){var c=new j(b);if(c.push(a,!0),c.err)throw c.msg||g[c.err];return c.result}j.prototype.push=function(a,b){var c,g,h=this.strm,j=this.options.chunkSize;if(this.ended)return!1;g=b===~~b?b:4*(!0===b),"string"==typeof a?h.input=f.string2buf(a):"[object ArrayBuffer]"===i.call(a)?h.input=new Uint8Array(a):h.input=a,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new e.Buf8(j),h.next_out=0,h.avail_out=j),1!==(c=d.deflate(h,g))&&0!==c)return this.onEnd(c),this.ended=!0,!1;(0===h.avail_out||0===h.avail_in&&(4===g||2===g))&&("string"===this.options.to?this.onData(f.buf2binstring(e.shrinkBuf(h.output,h.next_out))):this.onData(e.shrinkBuf(h.output,h.next_out)))}while((h.avail_in>0||0===h.avail_out)&&1!==c);return 4===g?(c=d.deflateEnd(this.strm),this.onEnd(c),this.ended=!0,0===c):(2===g&&(this.onEnd(0),h.avail_out=0),!0)},j.prototype.onData=function(a){this.chunks.push(a)},j.prototype.onEnd=function(a){0===a&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=e.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},b.Deflate=j,b.deflate=k,b.deflateRaw=function(a,b){return(b=b||{}).raw=!0,k(a,b)},b.gzip=function(a,b){return(b=b||{}).gzip=!0,k(a,b)}},29562:(a,b)=>{"use strict";b.__esModule=!0,b.wrapHelper=function(a,b){return"function"!=typeof a?a:function(){var c=arguments[arguments.length-1];return arguments[arguments.length-1]=b(c),a.apply(this,arguments)}}},29988:(a,b,c)=>{"use strict";c.d(b,{C:()=>g});var d=c(38301),e=c(92808),f=c(68829),g=a=>{let{present:b,children:c}=a,g=function(a){var b,c;let[e,g]=d.useState(),i=d.useRef(null),j=d.useRef(a),k=d.useRef("none"),[l,m]=(b=a?"mounted":"unmounted",c={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},d.useReducer((a,b)=>c[a][b]??a,b));return d.useEffect(()=>{let a=h(i.current);k.current="mounted"===l?a:"none"},[l]),(0,f.N)(()=>{let b=i.current,c=j.current;if(c!==a){let d=k.current,e=h(b);a?m("MOUNT"):"none"===e||b?.display==="none"?m("UNMOUNT"):c&&d!==e?m("ANIMATION_OUT"):m("UNMOUNT"),j.current=a}},[a,m]),(0,f.N)(()=>{if(e){let a,b=e.ownerDocument.defaultView??window,c=c=>{let d=h(i.current).includes(CSS.escape(c.animationName));if(c.target===e&&d&&(m("ANIMATION_END"),!j.current)){let c=e.style.animationFillMode;e.style.animationFillMode="forwards",a=b.setTimeout(()=>{"forwards"===e.style.animationFillMode&&(e.style.animationFillMode=c)})}},d=a=>{a.target===e&&(k.current=h(i.current))};return e.addEventListener("animationstart",d),e.addEventListener("animationcancel",c),e.addEventListener("animationend",c),()=>{b.clearTimeout(a),e.removeEventListener("animationstart",d),e.removeEventListener("animationcancel",c),e.removeEventListener("animationend",c)}}m("ANIMATION_END")},[e,m]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:d.useCallback(a=>{i.current=a?getComputedStyle(a):null,g(a)},[])}}(b),i="function"==typeof c?c({present:g.isPresent}):d.Children.only(c),j=(0,e.s)(g.ref,function(a){let b=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,c=b&&"isReactWarning"in b&&b.isReactWarning;return c?a.ref:(c=(b=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in b&&b.isReactWarning)?a.props.ref:a.props.ref||a.ref}(i));return"function"==typeof c||g.isPresent?d.cloneElement(i,{ref:j}):null};function h(a){return a?.animationName||"none"}g.displayName="Presence"},30298:(a,b,c)=>{"use strict";var d=c(65353);b.STORE={magic:"\0\0",compressWorker:function(){return new d("STORE compression")},uncompressWorker:function(){return new d("STORE decompression")}},b.DEFLATE=c(21379)},30887:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},30923:(a,b,c)=>{"use strict";function d(a){return a&&a.__esModule?a:{default:a}}b.__esModule=!0;var e=d(c(6725)),f=d(c(87732)),g=c(9991),h=c(18659),i=d(c(12803)),j=d(c(25258)),k=d(c(59156)),l=e.default.create;function m(){var a=l();return a.compile=function(b,c){return h.compile(b,c,a)},a.precompile=function(b,c){return h.precompile(b,c,a)},a.AST=f.default,a.Compiler=h.Compiler,a.JavaScriptCompiler=i.default,a.Parser=g.parser,a.parse=g.parse,a.parseWithoutProcessing=g.parseWithoutProcessing,a}var n=m();n.create=m,k.default(n),n.Visitor=j.default,n.default=n,b.default=n,a.exports=b.default},31506:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},32677:(a,b,c)=>{"use strict";var d=c(62253).Buffer,e=d.isEncoding||function(a){switch((a=""+a)&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function f(a){var b;switch(this.encoding=function(a){var b=function(a){var b;if(!a)return"utf8";for(;;)switch(a){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return a;default:if(b)return;a=(""+a).toLowerCase(),b=!0}}(a);if("string"!=typeof b&&(d.isEncoding===e||!e(a)))throw Error("Unknown encoding: "+a);return b||a}(a),this.encoding){case"utf16le":this.text=i,this.end=j,b=4;break;case"utf8":this.fillLast=h,b=4;break;case"base64":this.text=k,this.end=l,b=3;break;default:this.write=m,this.end=n;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=d.allocUnsafe(b)}function g(a){return a<=127?0:a>>5==6?2:a>>4==14?3:a>>3==30?4:a>>6==2?-1:-2}function h(a){var b=this.lastTotal-this.lastNeed,c=function(a,b,c){if((192&b[0])!=128)return a.lastNeed=0,"�";if(a.lastNeed>1&&b.length>1){if((192&b[1])!=128)return a.lastNeed=1,"�";if(a.lastNeed>2&&b.length>2&&(192&b[2])!=128)return a.lastNeed=2,"�"}}(this,a,0);return void 0!==c?c:this.lastNeed<=a.length?(a.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(a.copy(this.lastChar,b,0,a.length),this.lastNeed-=a.length)}function i(a,b){if((a.length-b)%2==0){var c=a.toString("utf16le",b);if(c){var d=c.charCodeAt(c.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],c.slice(0,-1)}return c}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=a[a.length-1],a.toString("utf16le",b,a.length-1)}function j(a){var b=a&&a.length?this.write(a):"";if(this.lastNeed){var c=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,c)}return b}function k(a,b){var c=(a.length-b)%3;return 0===c?a.toString("base64",b):(this.lastNeed=3-c,this.lastTotal=3,1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]),a.toString("base64",b,a.length-c))}function l(a){var b=a&&a.length?this.write(a):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function m(a){return a.toString(this.encoding)}function n(a){return a&&a.length?this.write(a):""}b.I=f,f.prototype.write=function(a){var b,c;if(0===a.length)return"";if(this.lastNeed){if(void 0===(b=this.fillLast(a)))return"";c=this.lastNeed,this.lastNeed=0}else c=0;return c=0?(e>0&&(a.lastNeed=e-1),e):--d=0?(e>0&&(a.lastNeed=e-2),e):--d=0?(e>0&&(2===e?e=0:a.lastNeed=e-3),e):0}(this,a,b);if(!this.lastNeed)return a.toString("utf8",b);this.lastTotal=c;var d=a.length-(c-this.lastNeed);return a.copy(this.lastChar,0,d),a.toString("utf8",b,d)},f.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length),this.lastNeed-=a.length}},32860:(a,b,c)=>{"use strict";b.__esModule=!0,b.registerDefaultDecorators=function(a){d.default(a)};var d=function(a){return a&&a.__esModule?a:{default:a}}(c(47210))},32970:(a,b,c)=>{"use strict";var d=c(20452),e=c(65353);function f(a){e.call(this,"DataWorker");var b=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,a.then(function(a){b.dataIsReady=!0,b.data=a,b.max=a&&a.length||0,b.type=d.getTypeOf(a),b.isPaused||b._tickAndRepeat()},function(a){b.error(a)})}d.inherits(f,e),f.prototype.cleanUp=function(){e.prototype.cleanUp.call(this),this.data=null},f.prototype.resume=function(){return!!e.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,d.delay(this._tickAndRepeat,[],this)),!0)},f.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(d.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},f.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var a=null,b=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":a=this.data.substring(this.index,b);break;case"uint8array":a=this.data.subarray(this.index,b);break;case"array":case"nodebuffer":a=this.data.slice(this.index,b)}return this.index=b,this.push({data:a,meta:{percent:this.max?this.index/this.max*100:0}})},a.exports=f},33018:a=>{"use strict";a.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},33403:(a,b,c)=>{a.exports=c(28354).deprecate},33585:(a,b,c)=>{"use strict";b.__esModule=!0,b.SourceLocation=function(a,b){this.source=a,this.start={line:b.first_line,column:b.first_column},this.end={line:b.last_line,column:b.last_column}},b.id=function(a){return/^\[.*\]$/.test(a)?a.substring(1,a.length-1):a},b.stripFlags=function(a,b){return{open:"~"===a.charAt(2),close:"~"===b.charAt(b.length-3)}},b.stripComment=function(a){return a.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},b.preparePath=function(a,b,c){c=this.locInfo(c);for(var e=a?"@":"",f=[],g=0,h=0,i=b.length;h0)throw new d.default("Invalid path: "+e,{loc:c});else".."===j&&g++}return{type:"PathExpression",data:a,depth:g,parts:f,original:e,loc:c}},b.prepareMustache=function(a,b,c,d,e,f){var g=d.charAt(3)||d.charAt(2);return{type:/\*/.test(d)?"Decorator":"MustacheStatement",path:a,params:b,hash:c,escaped:"{"!==g&&"&"!==g,strip:e,loc:this.locInfo(f)}},b.prepareRawBlock=function(a,b,c,d){e(a,c);var f={type:"Program",body:b,strip:{},loc:d=this.locInfo(d)};return{type:"BlockStatement",path:a.path,params:a.params,hash:a.hash,program:f,openStrip:{},inverseStrip:{},closeStrip:{},loc:d}},b.prepareBlock=function(a,b,c,f,g,h){f&&f.path&&e(a,f);var i=/\*/.test(a.open);b.blockParams=a.blockParams;var j=void 0,k=void 0;if(c){if(i)throw new d.default("Unexpected inverse block on decorator",c);c.chain&&(c.program.body[0].closeStrip=f.strip),k=c.strip,j=c.program}return g&&(g=j,j=b,b=g),{type:i?"DecoratorBlock":"BlockStatement",path:a.path,params:a.params,hash:a.hash,program:b,inverse:j,openStrip:a.strip,inverseStrip:k,closeStrip:f&&f.strip,loc:this.locInfo(h)}},b.prepareProgram=function(a,b){if(!b&&a.length){var c=a[0].loc,d=a[a.length-1].loc;c&&d&&(b={source:c.source,start:{line:c.start.line,column:c.start.column},end:{line:d.end.line,column:d.end.column}})}return{type:"Program",body:a,strip:{},loc:b}},b.preparePartialBlock=function(a,b,c,d){return e(a,c),{type:"PartialBlockStatement",name:a.path,params:a.params,hash:a.hash,program:b,openStrip:a.strip,closeStrip:c&&c.strip,loc:this.locInfo(d)}};var d=function(a){return a&&a.__esModule?a:{default:a}}(c(1793));function e(a,b){if(b=b.path?b.path.original:b,a.path.original!==b){var c={loc:a.path.loc};throw new d.default(a.path.original+" doesn't match "+b,c)}}},34072:(a,b,c)=>{"use strict";var d=c(20452),e=c(67055),f=c(65353),g=c(50266),h=c(9926),i=c(51238),j=null;if(h.nodestream)try{j=c(96172)}catch(a){}function k(a,b,c){var g=b;switch(b){case"blob":case"arraybuffer":g="uint8array";break;case"base64":g="string"}try{this._internalType=g,this._outputType=b,this._mimeType=c,d.checkSupport(g),this._worker=a.pipe(new e(g)),a.lock()}catch(a){this._worker=new f("error"),this._worker.error(a)}}k.prototype={accumulate:function(a){var b;return b=this,new i.Promise(function(c,e){var f=[],h=b._internalType,i=b._outputType,j=b._mimeType;b.on("data",function(b,c){f.push(b),a&&a(c)}).on("error",function(a){f=[],e(a)}).on("end",function(){try{var a=function(a,b,c){switch(a){case"blob":return d.newBlob(d.transformTo("arraybuffer",b),c);case"base64":return g.encode(b);default:return d.transformTo(a,b)}}(i,function(a,b){var c,d=0,e=null,f=0;for(c=0;c{"use strict";var d=c(20452),e=function(){for(var a,b=[],c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?0xedb88320^a>>>1:a>>>1;b[c]=a}return b}();a.exports=function(a,b){return void 0!==a&&a.length?"string"!==d.getTypeOf(a)?function(a,b,c,d){var f=0+c;a^=-1;for(var g=0;g>>8^e[(a^b[g])&255];return -1^a}(0|b,a,a.length,0):function(a,b,c,d){var f=0+c;a^=-1;for(var g=0;g>>8^e[(a^b.charCodeAt(g))&255];return -1^a}(0|b,a,a.length,0):0}},35652:(a,b,c)=>{"use strict";var d=c(38111),e=c(20452),f=c(21843),g=c(35310),h=c(75074),i=c(30298),j=c(9926),k=function(a){for(var b in i)if(Object.prototype.hasOwnProperty.call(i,b)&&i[b].magic===a)return i[b];return null};function l(a,b){this.options=a,this.loadOptions=b}l.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(a){var b,c;if(a.skip(22),this.fileNameLength=a.readInt(2),c=a.readInt(2),this.fileName=a.readData(this.fileNameLength),a.skip(c),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(b=k(this.compressionMethod)))throw Error("Corrupted zip : compression "+e.pretty(this.compressionMethod)+" unknown (inner file : "+e.transformTo("string",this.fileName)+")");this.decompressed=new f(this.compressedSize,this.uncompressedSize,this.crc32,b,a.readData(this.compressedSize))},readCentralPart:function(a){this.versionMadeBy=a.readInt(2),a.skip(2),this.bitFlag=a.readInt(2),this.compressionMethod=a.readString(2),this.date=a.readDate(),this.crc32=a.readInt(4),this.compressedSize=a.readInt(4),this.uncompressedSize=a.readInt(4);var b=a.readInt(2);if(this.extraFieldsLength=a.readInt(2),this.fileCommentLength=a.readInt(2),this.diskNumberStart=a.readInt(2),this.internalFileAttributes=a.readInt(2),this.externalFileAttributes=a.readInt(4),this.localHeaderOffset=a.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");a.skip(b),this.readExtraFields(a),this.parseZIP64ExtraField(a),this.fileComment=a.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var a=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===a&&(this.dosPermissions=63&this.externalFileAttributes),3===a&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var a=d(this.extraFields[1].value);this.uncompressedSize===e.MAX_VALUE_32BITS&&(this.uncompressedSize=a.readInt(8)),this.compressedSize===e.MAX_VALUE_32BITS&&(this.compressedSize=a.readInt(8)),this.localHeaderOffset===e.MAX_VALUE_32BITS&&(this.localHeaderOffset=a.readInt(8)),this.diskNumberStart===e.MAX_VALUE_32BITS&&(this.diskNumberStart=a.readInt(4))}},readExtraFields:function(a){var b,c,d,e=a.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});a.index+4{"use strict";a.exports=function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A;c=a.state,d=a.next_in,z=a.input,e=d+(a.avail_in-5),f=a.next_out,A=a.output,g=f-(b-a.avail_out),h=f+(a.avail_out-257),i=c.dmax,j=c.wsize,k=c.whave,l=c.wnext,m=c.window,n=c.hold,o=c.bits,p=c.lencode,q=c.distcode,r=(1<>>=u=t>>>24,o-=u,0==(u=t>>>16&255))A[f++]=65535&t;else if(16&u)for(v=65535&t,(u&=15)&&(o>>=u,o-=u),o<15&&(n+=z[d++]<>>=u=t>>>24,o-=u,16&(u=t>>>16&255)){if(w=65535&t,o<(u&=15)&&(n+=z[d++]<i){a.msg="invalid distance too far back",c.mode=30;break b}if(n>>>=u,o-=u,w>(u=f-g)){if((u=w-u)>k&&c.sane){a.msg="invalid distance too far back",c.mode=30;break b}if(x=0,y=m,0===l){if(x+=j-u,u2;)A[f++]=y[x++],A[f++]=y[x++],A[f++]=y[x++],v-=3;v&&(A[f++]=y[x++],v>1&&(A[f++]=y[x++]))}else{x=f-w;do A[f++]=A[x++],A[f++]=A[x++],A[f++]=A[x++],v-=3;while(v>2);v&&(A[f++]=A[x++],v>1&&(A[f++]=A[x++]))}}else if((64&u)==0){t=q[(65535&t)+(n&(1<>3,o-=v<<3,n&=(1<{"use strict";c.d(b,{A:()=>U});var d,e,f=function(){return(f=Object.assign||function(a){for(var b,c=1,d=arguments.length;cb.indexOf(d)&&(c[d]=a[d]);if(null!=a&&"function"==typeof Object.getOwnPropertySymbols)for(var e=0,d=Object.getOwnPropertySymbols(a);eb.indexOf(d[e])&&Object.prototype.propertyIsEnumerable.call(a,d[e])&&(c[d[e]]=a[d[e]]);return c}Object.create;Object.create;var h=("function"==typeof SuppressedError&&SuppressedError,c(38301)),i="right-scroll-bar-position",j="width-before-scroll-bar";function k(a,b){return"function"==typeof a?a(b):a&&(a.current=b),a}var l="undefined"!=typeof window?h.useLayoutEffect:h.useEffect,m=new WeakMap;function n(a){return a}var o=function(a){void 0===a&&(a={});var b,c,d,e=(void 0===b&&(b=n),c=[],d=!1,{read:function(){if(d)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return c.length?c[c.length-1]:null},useMedium:function(a){var e=b(a,d);return c.push(e),function(){c=c.filter(function(a){return a!==e})}},assignSyncMedium:function(a){for(d=!0;c.length;){var b=c;c=[],b.forEach(a)}c={push:function(b){return a(b)},filter:function(){return c}}},assignMedium:function(a){d=!0;var b=[];if(c.length){var e=c;c=[],e.forEach(a),b=c}var f=function(){var c=b;b=[],c.forEach(a)},g=function(){return Promise.resolve().then(f)};g(),c={push:function(a){b.push(a),g()},filter:function(a){return b=b.filter(a),c}}}});return e.options=f({async:!0,ssr:!1},a),e}(),p=function(){},q=h.forwardRef(function(a,b){var c,d,e,i,j=h.useRef(null),n=h.useState({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:p}),q=n[0],r=n[1],s=a.forwardProps,t=a.children,u=a.className,v=a.removeScrollBar,w=a.enabled,x=a.shards,y=a.sideCar,z=a.noRelative,A=a.noIsolation,B=a.inert,C=a.allowPinchZoom,D=a.as,E=a.gapMode,F=g(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),G=(c=[j,b],d=function(a){return c.forEach(function(b){return k(b,a)})},(e=(0,h.useState)(function(){return{value:null,callback:d,facade:{get current(){return e.value},set current(value){var a=e.value;a!==value&&(e.value=value,e.callback(value,a))}}}})[0]).callback=d,i=e.facade,l(function(){var a=m.get(i);if(a){var b=new Set(a),d=new Set(c),e=i.current;b.forEach(function(a){d.has(a)||k(a,null)}),d.forEach(function(a){b.has(a)||k(a,e)})}m.set(i,c)},[c]),i),H=f(f({},F),q);return h.createElement(h.Fragment,null,w&&h.createElement(y,{sideCar:o,removeScrollBar:v,shards:x,noRelative:z,noIsolation:A,inert:B,setCallbacks:r,allowPinchZoom:!!C,lockRef:j,gapMode:E}),s?h.cloneElement(h.Children.only(t),f(f({},H),{ref:G})):h.createElement(void 0===D?"div":D,f({},H,{className:u,ref:G}),t))});q.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},q.classNames={fullWidth:j,zeroRight:i};var r=function(a){var b=a.sideCar,c=g(a,["sideCar"]);if(!b)throw Error("Sidecar: please provide `sideCar` property to import the right car");var d=b.read();if(!d)throw Error("Sidecar medium not found");return h.createElement(d,f({},c))};r.isSideCarExport=!0;var s=function(){var a=0,b=null;return{add:function(d){if(0==a&&(b=function(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var b=e||c.nc;return b&&a.setAttribute("nonce",b),a}())){var f,g;(f=b).styleSheet?f.styleSheet.cssText=d:f.appendChild(document.createTextNode(d)),g=b,(document.head||document.getElementsByTagName("head")[0]).appendChild(g)}a++},remove:function(){--a||!b||(b.parentNode&&b.parentNode.removeChild(b),b=null)}}},t=function(){var a=s();return function(b,c){h.useEffect(function(){return a.add(b),function(){a.remove()}},[b&&c])}},u=function(){var a=t();return function(b){return a(b.styles,b.dynamic),null}},v={left:0,top:0,right:0,gap:0},w=function(a){return parseInt(a||"",10)||0},x=function(a){var b=window.getComputedStyle(document.body),c=b["padding"===a?"paddingLeft":"marginLeft"],d=b["padding"===a?"paddingTop":"marginTop"],e=b["padding"===a?"paddingRight":"marginRight"];return[w(c),w(d),w(e)]},y=function(a){if(void 0===a&&(a="margin"),"undefined"==typeof window)return v;var b=x(a),c=document.documentElement.clientWidth,d=window.innerWidth;return{left:b[0],top:b[1],right:b[2],gap:Math.max(0,d-c+b[2]-b[0])}},z=u(),A="data-scroll-locked",B=function(a,b,c,d){var e=a.left,f=a.top,g=a.right,h=a.gap;return void 0===c&&(c="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(d,";\n padding-right: ").concat(h,"px ").concat(d,";\n }\n body[").concat(A,"] {\n overflow: hidden ").concat(d,";\n overscroll-behavior: contain;\n ").concat([b&&"position: relative ".concat(d,";"),"margin"===c&&"\n padding-left: ".concat(e,"px;\n padding-top: ").concat(f,"px;\n padding-right: ").concat(g,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(h,"px ").concat(d,";\n "),"padding"===c&&"padding-right: ".concat(h,"px ").concat(d,";")].filter(Boolean).join(""),"\n }\n \n .").concat(i," {\n right: ").concat(h,"px ").concat(d,";\n }\n \n .").concat(j," {\n margin-right: ").concat(h,"px ").concat(d,";\n }\n \n .").concat(i," .").concat(i," {\n right: 0 ").concat(d,";\n }\n \n .").concat(j," .").concat(j," {\n margin-right: 0 ").concat(d,";\n }\n \n body[").concat(A,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(h,"px;\n }\n")},C=function(){var a=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(a)?a:0},D=function(){h.useEffect(function(){return document.body.setAttribute(A,(C()+1).toString()),function(){var a=C()-1;a<=0?document.body.removeAttribute(A):document.body.setAttribute(A,a.toString())}},[])},E=function(a){var b=a.noRelative,c=a.noImportant,d=a.gapMode,e=void 0===d?"margin":d;D();var f=h.useMemo(function(){return y(e)},[e]);return h.createElement(z,{styles:B(f,!b,e,c?"":"!important")})},F=!1;if("undefined"!=typeof window)try{var G=Object.defineProperty({},"passive",{get:function(){return F=!0,!0}});window.addEventListener("test",G,G),window.removeEventListener("test",G,G)}catch(a){F=!1}var H=!!F&&{passive:!1},I=function(a,b){if(!(a instanceof Element))return!1;var c=window.getComputedStyle(a);return"hidden"!==c[b]&&(c.overflowY!==c.overflowX||"TEXTAREA"===a.tagName||"visible"!==c[b])},J=function(a,b){var c=b.ownerDocument,d=b;do{if("undefined"!=typeof ShadowRoot&&d instanceof ShadowRoot&&(d=d.host),K(a,d)){var e=L(a,d);if(e[1]>e[2])return!0}d=d.parentNode}while(d&&d!==c.body);return!1},K=function(a,b){return"v"===a?I(b,"overflowY"):I(b,"overflowX")},L=function(a,b){return"v"===a?[b.scrollTop,b.scrollHeight,b.clientHeight]:[b.scrollLeft,b.scrollWidth,b.clientWidth]},M=function(a,b,c,d,e){var f,g=(f=window.getComputedStyle(b).direction,"h"===a&&"rtl"===f?-1:1),h=g*d,i=c.target,j=b.contains(i),k=!1,l=h>0,m=0,n=0;do{if(!i)break;var o=L(a,i),p=o[0],q=o[1]-o[2]-g*p;(p||q)&&K(a,i)&&(m+=q,n+=p);var r=i.parentNode;i=r&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?r.host:r}while(!j&&i!==document.body||j&&(b.contains(i)||b===i));return l&&(e&&1>Math.abs(m)||!e&&h>m)?k=!0:!l&&(e&&1>Math.abs(n)||!e&&-h>n)&&(k=!0),k},N=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},O=function(a){return[a.deltaX,a.deltaY]},P=function(a){return a&&"current"in a?a.current:a},Q=0,R=[];let S=(d=function(a){var b=h.useRef([]),c=h.useRef([0,0]),d=h.useRef(),e=h.useState(Q++)[0],f=h.useState(u)[0],g=h.useRef(a);h.useEffect(function(){g.current=a},[a]),h.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(e));var b=(function(a,b,c){if(c||2==arguments.length)for(var d,e=0,f=b.length;eMath.abs(j)?"h":"v";if("touches"in a&&"h"===l&&"range"===k.type)return!1;var m=J(l,k);if(!m)return!0;if(m?e=l:(e="v"===l?"h":"v",m=J(l,k)),!m)return!1;if(!d.current&&"changedTouches"in a&&(i||j)&&(d.current=e),!e)return!0;var n=d.current||e;return M(n,b,a,"h"===n?i:j,!0)},[]),j=h.useCallback(function(a){if(R.length&&R[R.length-1]===f){var c="deltaY"in a?O(a):N(a),d=b.current.filter(function(b){var d;return b.name===a.type&&(b.target===a.target||a.target===b.shadowParent)&&(d=b.delta,d[0]===c[0]&&d[1]===c[1])})[0];if(d&&d.should){a.cancelable&&a.preventDefault();return}if(!d){var e=(g.current.shards||[]).map(P).filter(Boolean).filter(function(b){return b.contains(a.target)});(e.length>0?i(a,e[0]):!g.current.noIsolation)&&a.cancelable&&a.preventDefault()}}},[]),k=h.useCallback(function(a,c,d,e){var f={name:a,delta:c,target:d,should:e,shadowParent:function(a){for(var b=null;null!==a;)a instanceof ShadowRoot&&(b=a.host,a=a.host),a=a.parentNode;return b}(d)};b.current.push(f),setTimeout(function(){b.current=b.current.filter(function(a){return a!==f})},1)},[]),l=h.useCallback(function(a){c.current=N(a),d.current=void 0},[]),m=h.useCallback(function(b){k(b.type,O(b),b.target,i(b,a.lockRef.current))},[]),n=h.useCallback(function(b){k(b.type,N(b),b.target,i(b,a.lockRef.current))},[]);h.useEffect(function(){return R.push(f),a.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:n}),document.addEventListener("wheel",j,H),document.addEventListener("touchmove",j,H),document.addEventListener("touchstart",l,H),function(){R=R.filter(function(a){return a!==f}),document.removeEventListener("wheel",j,H),document.removeEventListener("touchmove",j,H),document.removeEventListener("touchstart",l,H)}},[]);var o=a.removeScrollBar,p=a.inert;return h.createElement(h.Fragment,null,p?h.createElement(f,{styles:"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")}):null,o?h.createElement(E,{noRelative:a.noRelative,gapMode:a.gapMode}):null)},o.useMedium(d),r);var T=h.forwardRef(function(a,b){return h.createElement(q,f({},a,{ref:b,sideCar:S}))});T.classNames=q.classNames;let U=T},36867:(a,b,c)=>{"use strict";var d=c(5987);function e(a){d.call(this,a)}c(20452).inherits(e,d),e.prototype.readData=function(a){if(this.checkOffset(a),0===a)return new Uint8Array(0);var b=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},a.exports=e},38111:(a,b,c)=>{"use strict";var d=c(20452),e=c(9926),f=c(5987),g=c(82955),h=c(48204),i=c(36867);a.exports=function(a){var b=d.getTypeOf(a);return(d.checkSupport(b),"string"!==b||e.uint8array)?"nodebuffer"===b?new h(a):e.uint8array?new i(d.transformTo("uint8array",a)):new f(d.transformTo("array",a)):new g(a)}},38590:(a,b,c)=>{"use strict";var d=c(20452);function e(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}e.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length=this.index;b--)c=(c<<8)+this.byteAt(b);return this.index+=a,c},readString:function(a){return d.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC((a>>25&127)+1980,(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},a.exports=e},39193:(a,b,c)=>{"use strict";function d(){if(!(this instanceof d))return new d;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var a=new d;for(var b in this)"function"!=typeof this[b]&&(a[b]=this[b]);return a}}d.prototype=c(61494),d.prototype.loadAsync=c(2229),d.support=c(9926),d.defaults=c(5887),d.version="3.10.1",d.loadAsync=function(a,b){return new d().loadAsync(a,b)},d.external=c(51238),a.exports=d},39265:a=>{"use strict";"undefined"!=typeof process&&process.version&&0!==process.version.indexOf("v0.")&&(0!==process.version.indexOf("v1.")||0===process.version.indexOf("v1.8."))?a.exports=process:a.exports={nextTick:function(a,b,c,d){if("function"!=typeof a)throw TypeError('"callback" argument must be a function');var e,f,g=arguments.length;switch(g){case 0:case 1:return process.nextTick(a);case 2:return process.nextTick(function(){a.call(null,b)});case 3:return process.nextTick(function(){a.call(null,b,c)});case 4:return process.nextTick(function(){a.call(null,b,c,d)});default:for(e=Array(g-1),f=0;f{"use strict";c.d(b,{UC:()=>aI,YJ:()=>aK,In:()=>aG,q7:()=>aM,VF:()=>aO,p4:()=>aN,JU:()=>aL,ZL:()=>aH,bL:()=>aD,wn:()=>aQ,PP:()=>aP,l9:()=>aE,WT:()=>aF,LM:()=>aJ});var d=c(38301),e=c(23312);function f(a,[b,c]){return Math.min(c,Math.max(b,a))}var g=c(87868),h=c(825),i=c(92808),j=c(2332),k=c(10498),l=c(7412),m=c(70904),n=c(69998),o=c(75656),p=c(25122),q=c(61611),r=c(6406),s=c(96425),t=c(71700),u=c(11720),v=c(68829),w=c(10350),x=c(85009),y=c(61225),z=c(36409),A=c(21124),B=[" ","Enter","ArrowUp","ArrowDown"],C=[" ","Enter"],D="Select",[E,F,G]=(0,h.N)(D),[H,I]=(0,j.A)(D,[G,p.Bk]),J=(0,p.Bk)(),[K,L]=H(D),[M,N]=H(D),O=a=>{let{__scopeSelect:b,children:c,open:e,defaultOpen:f,onOpenChange:g,value:h,defaultValue:i,onValueChange:j,dir:l,name:m,autoComplete:n,disabled:q,required:r,form:s}=a,t=J(b),[v,w]=d.useState(null),[x,y]=d.useState(null),[z,B]=d.useState(!1),C=(0,k.jH)(l),[F,G]=(0,u.i)({prop:e,defaultProp:f??!1,onChange:g,caller:D}),[H,I]=(0,u.i)({prop:h,defaultProp:i,onChange:j,caller:D}),L=d.useRef(null),N=!v||s||!!v.closest("form"),[O,P]=d.useState(new Set),Q=Array.from(O).map(a=>a.props.value).join(";");return(0,A.jsx)(p.bL,{...t,children:(0,A.jsxs)(K,{required:r,scope:b,trigger:v,onTriggerChange:w,valueNode:x,onValueNodeChange:y,valueNodeHasChildren:z,onValueNodeHasChildrenChange:B,contentId:(0,o.B)(),value:H,onValueChange:I,open:F,onOpenChange:G,dir:C,triggerPointerDownPosRef:L,disabled:q,children:[(0,A.jsx)(E.Provider,{scope:b,children:(0,A.jsx)(M,{scope:a.__scopeSelect,onNativeOptionAdd:d.useCallback(a=>{P(b=>new Set(b).add(a))},[]),onNativeOptionRemove:d.useCallback(a=>{P(b=>{let c=new Set(b);return c.delete(a),c})},[]),children:c})}),N?(0,A.jsxs)(az,{"aria-hidden":!0,required:r,tabIndex:-1,name:m,autoComplete:n,value:H,onChange:a=>I(a.target.value),disabled:q,form:s,children:[void 0===H?(0,A.jsx)("option",{value:""}):null,Array.from(O)]},Q):null]})})};O.displayName=D;var P="SelectTrigger",Q=d.forwardRef((a,b)=>{let{__scopeSelect:c,disabled:e=!1,...f}=a,h=J(c),j=L(P,c),k=j.disabled||e,l=(0,i.s)(b,j.onTriggerChange),m=F(c),n=d.useRef("touch"),[o,q,s]=aB(a=>{let b=m().filter(a=>!a.disabled),c=b.find(a=>a.value===j.value),d=aC(b,a,c);void 0!==d&&j.onValueChange(d.value)}),t=a=>{k||(j.onOpenChange(!0),s()),a&&(j.triggerPointerDownPosRef.current={x:Math.round(a.pageX),y:Math.round(a.pageY)})};return(0,A.jsx)(p.Mz,{asChild:!0,...h,children:(0,A.jsx)(r.sG.button,{type:"button",role:"combobox","aria-controls":j.contentId,"aria-expanded":j.open,"aria-required":j.required,"aria-autocomplete":"none",dir:j.dir,"data-state":j.open?"open":"closed",disabled:k,"data-disabled":k?"":void 0,"data-placeholder":aA(j.value)?"":void 0,...f,ref:l,onClick:(0,g.mK)(f.onClick,a=>{a.currentTarget.focus(),"mouse"!==n.current&&t(a)}),onPointerDown:(0,g.mK)(f.onPointerDown,a=>{n.current=a.pointerType;let b=a.target;b.hasPointerCapture(a.pointerId)&&b.releasePointerCapture(a.pointerId),0===a.button&&!1===a.ctrlKey&&"mouse"===a.pointerType&&(t(a),a.preventDefault())}),onKeyDown:(0,g.mK)(f.onKeyDown,a=>{let b=""!==o.current;a.ctrlKey||a.altKey||a.metaKey||1!==a.key.length||q(a.key),(!b||" "!==a.key)&&B.includes(a.key)&&(t(),a.preventDefault())})})})});Q.displayName=P;var R="SelectValue",S=d.forwardRef((a,b)=>{let{__scopeSelect:c,className:d,style:e,children:f,placeholder:g="",...h}=a,j=L(R,c),{onValueNodeHasChildrenChange:k}=j,l=void 0!==f,m=(0,i.s)(b,j.onValueNodeChange);return(0,v.N)(()=>{k(l)},[k,l]),(0,A.jsx)(r.sG.span,{...h,ref:m,style:{pointerEvents:"none"},children:aA(j.value)?(0,A.jsx)(A.Fragment,{children:g}):f})});S.displayName=R;var T=d.forwardRef((a,b)=>{let{__scopeSelect:c,children:d,...e}=a;return(0,A.jsx)(r.sG.span,{"aria-hidden":!0,...e,ref:b,children:d||"▼"})});T.displayName="SelectIcon";var U=a=>(0,A.jsx)(q.Z,{asChild:!0,...a});U.displayName="SelectPortal";var V="SelectContent",W=d.forwardRef((a,b)=>{let c=L(V,a.__scopeSelect),[f,g]=d.useState();return((0,v.N)(()=>{g(new DocumentFragment)},[]),c.open)?(0,A.jsx)($,{...a,ref:b}):f?e.createPortal((0,A.jsx)(X,{scope:a.__scopeSelect,children:(0,A.jsx)(E.Slot,{scope:a.__scopeSelect,children:(0,A.jsx)("div",{children:a.children})})}),f):null});W.displayName=V;var[X,Y]=H(V),Z=(0,s.TL)("SelectContent.RemoveScroll"),$=d.forwardRef((a,b)=>{let{__scopeSelect:c,position:e="item-aligned",onCloseAutoFocus:f,onEscapeKeyDown:h,onPointerDownOutside:j,side:k,sideOffset:o,align:p,alignOffset:q,arrowPadding:r,collisionBoundary:s,collisionPadding:t,sticky:u,hideWhenDetached:v,avoidCollisions:w,...x}=a,B=L(V,c),[C,D]=d.useState(null),[E,G]=d.useState(null),H=(0,i.s)(b,a=>D(a)),[I,J]=d.useState(null),[K,M]=d.useState(null),N=F(c),[O,P]=d.useState(!1),Q=d.useRef(!1);d.useEffect(()=>{if(C)return(0,y.Eq)(C)},[C]),(0,m.Oh)();let R=d.useCallback(a=>{let[b,...c]=N().map(a=>a.ref.current),[d]=c.slice(-1),e=document.activeElement;for(let c of a)if(c===e||(c?.scrollIntoView({block:"nearest"}),c===b&&E&&(E.scrollTop=0),c===d&&E&&(E.scrollTop=E.scrollHeight),c?.focus(),document.activeElement!==e))return},[N,E]),S=d.useCallback(()=>R([I,C]),[R,I,C]);d.useEffect(()=>{O&&S()},[O,S]);let{onOpenChange:T,triggerPointerDownPosRef:U}=B;d.useEffect(()=>{if(C){let a={x:0,y:0},b=b=>{a={x:Math.abs(Math.round(b.pageX)-(U.current?.x??0)),y:Math.abs(Math.round(b.pageY)-(U.current?.y??0))}},c=c=>{a.x<=10&&a.y<=10?c.preventDefault():C.contains(c.target)||T(!1),document.removeEventListener("pointermove",b),U.current=null};return null!==U.current&&(document.addEventListener("pointermove",b),document.addEventListener("pointerup",c,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",c,{capture:!0})}}},[C,T,U]),d.useEffect(()=>{let a=()=>T(!1);return window.addEventListener("blur",a),window.addEventListener("resize",a),()=>{window.removeEventListener("blur",a),window.removeEventListener("resize",a)}},[T]);let[W,Y]=aB(a=>{let b=N().filter(a=>!a.disabled),c=b.find(a=>a.ref.current===document.activeElement),d=aC(b,a,c);d&&setTimeout(()=>d.ref.current.focus())}),$=d.useCallback((a,b,c)=>{let d=!Q.current&&!c;(void 0!==B.value&&B.value===b||d)&&(J(a),d&&(Q.current=!0))},[B.value]),ab=d.useCallback(()=>C?.focus(),[C]),ac=d.useCallback((a,b,c)=>{let d=!Q.current&&!c;(void 0!==B.value&&B.value===b||d)&&M(a)},[B.value]),ad="popper"===e?aa:_,ae=ad===aa?{side:k,sideOffset:o,align:p,alignOffset:q,arrowPadding:r,collisionBoundary:s,collisionPadding:t,sticky:u,hideWhenDetached:v,avoidCollisions:w}:{};return(0,A.jsx)(X,{scope:c,content:C,viewport:E,onViewportChange:G,itemRefCallback:$,selectedItem:I,onItemLeave:ab,itemTextRefCallback:ac,focusSelectedItem:S,selectedItemText:K,position:e,isPositioned:O,searchRef:W,children:(0,A.jsx)(z.A,{as:Z,allowPinchZoom:!0,children:(0,A.jsx)(n.n,{asChild:!0,trapped:B.open,onMountAutoFocus:a=>{a.preventDefault()},onUnmountAutoFocus:(0,g.mK)(f,a=>{B.trigger?.focus({preventScroll:!0}),a.preventDefault()}),children:(0,A.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:h,onPointerDownOutside:j,onFocusOutside:a=>a.preventDefault(),onDismiss:()=>B.onOpenChange(!1),children:(0,A.jsx)(ad,{role:"listbox",id:B.contentId,"data-state":B.open?"open":"closed",dir:B.dir,onContextMenu:a=>a.preventDefault(),...x,...ae,onPlaced:()=>P(!0),ref:H,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:(0,g.mK)(x.onKeyDown,a=>{let b=a.ctrlKey||a.altKey||a.metaKey;if("Tab"===a.key&&a.preventDefault(),b||1!==a.key.length||Y(a.key),["ArrowUp","ArrowDown","Home","End"].includes(a.key)){let b=N().filter(a=>!a.disabled).map(a=>a.ref.current);if(["ArrowUp","End"].includes(a.key)&&(b=b.slice().reverse()),["ArrowUp","ArrowDown"].includes(a.key)){let c=a.target,d=b.indexOf(c);b=b.slice(d+1)}setTimeout(()=>R(b)),a.preventDefault()}})})})})})})});$.displayName="SelectContentImpl";var _=d.forwardRef((a,b)=>{let{__scopeSelect:c,onPlaced:e,...g}=a,h=L(V,c),j=Y(V,c),[k,l]=d.useState(null),[m,n]=d.useState(null),o=(0,i.s)(b,a=>n(a)),p=F(c),q=d.useRef(!1),s=d.useRef(!0),{viewport:t,selectedItem:u,selectedItemText:w,focusSelectedItem:x}=j,y=d.useCallback(()=>{if(h.trigger&&h.valueNode&&k&&m&&t&&u&&w){let a=h.trigger.getBoundingClientRect(),b=m.getBoundingClientRect(),c=h.valueNode.getBoundingClientRect(),d=w.getBoundingClientRect();if("rtl"!==h.dir){let e=d.left-b.left,g=c.left-e,h=a.left-g,i=a.width+h,j=Math.max(i,b.width),l=f(g,[10,Math.max(10,window.innerWidth-10-j)]);k.style.minWidth=i+"px",k.style.left=l+"px"}else{let e=b.right-d.right,g=window.innerWidth-c.right-e,h=window.innerWidth-a.right-g,i=a.width+h,j=Math.max(i,b.width),l=f(g,[10,Math.max(10,window.innerWidth-10-j)]);k.style.minWidth=i+"px",k.style.right=l+"px"}let g=p(),i=window.innerHeight-20,j=t.scrollHeight,l=window.getComputedStyle(m),n=parseInt(l.borderTopWidth,10),o=parseInt(l.paddingTop,10),r=parseInt(l.borderBottomWidth,10),s=n+o+j+parseInt(l.paddingBottom,10)+r,v=Math.min(5*u.offsetHeight,s),x=window.getComputedStyle(t),y=parseInt(x.paddingTop,10),z=parseInt(x.paddingBottom,10),A=a.top+a.height/2-10,B=u.offsetHeight/2,C=n+o+(u.offsetTop+B);if(C<=A){let a=g.length>0&&u===g[g.length-1].ref.current;k.style.bottom="0px";let b=Math.max(i-A,B+(a?z:0)+(m.clientHeight-t.offsetTop-t.offsetHeight)+r);k.style.height=C+b+"px"}else{let a=g.length>0&&u===g[0].ref.current;k.style.top="0px";let b=Math.max(A,n+t.offsetTop+(a?y:0)+B);k.style.height=b+(s-C)+"px",t.scrollTop=C-A+t.offsetTop}k.style.margin="10px 0",k.style.minHeight=v+"px",k.style.maxHeight=i+"px",e?.(),requestAnimationFrame(()=>q.current=!0)}},[p,h.trigger,h.valueNode,k,m,t,u,w,h.dir,e]);(0,v.N)(()=>y(),[y]);let[z,B]=d.useState();(0,v.N)(()=>{m&&B(window.getComputedStyle(m).zIndex)},[m]);let C=d.useCallback(a=>{a&&!0===s.current&&(y(),x?.(),s.current=!1)},[y,x]);return(0,A.jsx)(ab,{scope:c,contentWrapper:k,shouldExpandOnScrollRef:q,onScrollButtonChange:C,children:(0,A.jsx)("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:z},children:(0,A.jsx)(r.sG.div,{...g,ref:o,style:{boxSizing:"border-box",maxHeight:"100%",...g.style}})})})});_.displayName="SelectItemAlignedPosition";var aa=d.forwardRef((a,b)=>{let{__scopeSelect:c,align:d="start",collisionPadding:e=10,...f}=a,g=J(c);return(0,A.jsx)(p.UC,{...g,...f,ref:b,align:d,collisionPadding:e,style:{boxSizing:"border-box",...f.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});aa.displayName="SelectPopperPosition";var[ab,ac]=H(V,{}),ad="SelectViewport",ae=d.forwardRef((a,b)=>{let{__scopeSelect:c,nonce:e,...f}=a,h=Y(ad,c),j=ac(ad,c),k=(0,i.s)(b,h.onViewportChange),l=d.useRef(0);return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:e}),(0,A.jsx)(E.Slot,{scope:c,children:(0,A.jsx)(r.sG.div,{"data-radix-select-viewport":"",role:"presentation",...f,ref:k,style:{position:"relative",flex:1,overflow:"hidden auto",...f.style},onScroll:(0,g.mK)(f.onScroll,a=>{let b=a.currentTarget,{contentWrapper:c,shouldExpandOnScrollRef:d}=j;if(d?.current&&c){let a=Math.abs(l.current-b.scrollTop);if(a>0){let d=window.innerHeight-20,e=Math.max(parseFloat(c.style.minHeight),parseFloat(c.style.height));if(e0?h:0,c.style.justifyContent="flex-end")}}}l.current=b.scrollTop})})})]})});ae.displayName=ad;var af="SelectGroup",[ag,ah]=H(af),ai=d.forwardRef((a,b)=>{let{__scopeSelect:c,...d}=a,e=(0,o.B)();return(0,A.jsx)(ag,{scope:c,id:e,children:(0,A.jsx)(r.sG.div,{role:"group","aria-labelledby":e,...d,ref:b})})});ai.displayName=af;var aj="SelectLabel",ak=d.forwardRef((a,b)=>{let{__scopeSelect:c,...d}=a,e=ah(aj,c);return(0,A.jsx)(r.sG.div,{id:e.id,...d,ref:b})});ak.displayName=aj;var al="SelectItem",[am,an]=H(al),ao=d.forwardRef((a,b)=>{let{__scopeSelect:c,value:e,disabled:f=!1,textValue:h,...j}=a,k=L(al,c),l=Y(al,c),m=k.value===e,[n,p]=d.useState(h??""),[q,s]=d.useState(!1),t=(0,i.s)(b,a=>l.itemRefCallback?.(a,e,f)),u=(0,o.B)(),v=d.useRef("touch"),w=()=>{f||(k.onValueChange(e),k.onOpenChange(!1))};if(""===e)throw Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,A.jsx)(am,{scope:c,value:e,disabled:f,textId:u,isSelected:m,onItemTextChange:d.useCallback(a=>{p(b=>b||(a?.textContent??"").trim())},[]),children:(0,A.jsx)(E.ItemSlot,{scope:c,value:e,disabled:f,textValue:n,children:(0,A.jsx)(r.sG.div,{role:"option","aria-labelledby":u,"data-highlighted":q?"":void 0,"aria-selected":m&&q,"data-state":m?"checked":"unchecked","aria-disabled":f||void 0,"data-disabled":f?"":void 0,tabIndex:f?void 0:-1,...j,ref:t,onFocus:(0,g.mK)(j.onFocus,()=>s(!0)),onBlur:(0,g.mK)(j.onBlur,()=>s(!1)),onClick:(0,g.mK)(j.onClick,()=>{"mouse"!==v.current&&w()}),onPointerUp:(0,g.mK)(j.onPointerUp,()=>{"mouse"===v.current&&w()}),onPointerDown:(0,g.mK)(j.onPointerDown,a=>{v.current=a.pointerType}),onPointerMove:(0,g.mK)(j.onPointerMove,a=>{v.current=a.pointerType,f?l.onItemLeave?.():"mouse"===v.current&&a.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,g.mK)(j.onPointerLeave,a=>{a.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:(0,g.mK)(j.onKeyDown,a=>{(l.searchRef?.current===""||" "!==a.key)&&(C.includes(a.key)&&w()," "===a.key&&a.preventDefault())})})})})});ao.displayName=al;var ap="SelectItemText",aq=d.forwardRef((a,b)=>{let{__scopeSelect:c,className:f,style:g,...h}=a,j=L(ap,c),k=Y(ap,c),l=an(ap,c),m=N(ap,c),[n,o]=d.useState(null),p=(0,i.s)(b,a=>o(a),l.onItemTextChange,a=>k.itemTextRefCallback?.(a,l.value,l.disabled)),q=n?.textContent,s=d.useMemo(()=>(0,A.jsx)("option",{value:l.value,disabled:l.disabled,children:q},l.value),[l.disabled,l.value,q]),{onNativeOptionAdd:t,onNativeOptionRemove:u}=m;return(0,v.N)(()=>(t(s),()=>u(s)),[t,u,s]),(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(r.sG.span,{id:l.textId,...h,ref:p}),l.isSelected&&j.valueNode&&!j.valueNodeHasChildren?e.createPortal(h.children,j.valueNode):null]})});aq.displayName=ap;var ar="SelectItemIndicator",as=d.forwardRef((a,b)=>{let{__scopeSelect:c,...d}=a;return an(ar,c).isSelected?(0,A.jsx)(r.sG.span,{"aria-hidden":!0,...d,ref:b}):null});as.displayName=ar;var at="SelectScrollUpButton",au=d.forwardRef((a,b)=>{let c=Y(at,a.__scopeSelect),e=ac(at,a.__scopeSelect),[f,g]=d.useState(!1),h=(0,i.s)(b,e.onScrollButtonChange);return(0,v.N)(()=>{if(c.viewport&&c.isPositioned){let a=function(){g(b.scrollTop>0)},b=c.viewport;return a(),b.addEventListener("scroll",a),()=>b.removeEventListener("scroll",a)}},[c.viewport,c.isPositioned]),f?(0,A.jsx)(ax,{...a,ref:h,onAutoScroll:()=>{let{viewport:a,selectedItem:b}=c;a&&b&&(a.scrollTop=a.scrollTop-b.offsetHeight)}}):null});au.displayName=at;var av="SelectScrollDownButton",aw=d.forwardRef((a,b)=>{let c=Y(av,a.__scopeSelect),e=ac(av,a.__scopeSelect),[f,g]=d.useState(!1),h=(0,i.s)(b,e.onScrollButtonChange);return(0,v.N)(()=>{if(c.viewport&&c.isPositioned){let a=function(){let a=b.scrollHeight-b.clientHeight;g(Math.ceil(b.scrollTop)b.removeEventListener("scroll",a)}},[c.viewport,c.isPositioned]),f?(0,A.jsx)(ax,{...a,ref:h,onAutoScroll:()=>{let{viewport:a,selectedItem:b}=c;a&&b&&(a.scrollTop=a.scrollTop+b.offsetHeight)}}):null});aw.displayName=av;var ax=d.forwardRef((a,b)=>{let{__scopeSelect:c,onAutoScroll:e,...f}=a,h=Y("SelectScrollButton",c),i=d.useRef(null),j=F(c),k=d.useCallback(()=>{null!==i.current&&(window.clearInterval(i.current),i.current=null)},[]);return d.useEffect(()=>()=>k(),[k]),(0,v.N)(()=>{let a=j().find(a=>a.ref.current===document.activeElement);a?.ref.current?.scrollIntoView({block:"nearest"})},[j]),(0,A.jsx)(r.sG.div,{"aria-hidden":!0,...f,ref:b,style:{flexShrink:0,...f.style},onPointerDown:(0,g.mK)(f.onPointerDown,()=>{null===i.current&&(i.current=window.setInterval(e,50))}),onPointerMove:(0,g.mK)(f.onPointerMove,()=>{h.onItemLeave?.(),null===i.current&&(i.current=window.setInterval(e,50))}),onPointerLeave:(0,g.mK)(f.onPointerLeave,()=>{k()})})});d.forwardRef((a,b)=>{let{__scopeSelect:c,...d}=a;return(0,A.jsx)(r.sG.div,{"aria-hidden":!0,...d,ref:b})}).displayName="SelectSeparator";var ay="SelectArrow";d.forwardRef((a,b)=>{let{__scopeSelect:c,...d}=a,e=J(c),f=L(ay,c),g=Y(ay,c);return f.open&&"popper"===g.position?(0,A.jsx)(p.i3,{...e,...d,ref:b}):null}).displayName=ay;var az=d.forwardRef(({__scopeSelect:a,value:b,...c},e)=>{let f=d.useRef(null),g=(0,i.s)(e,f),h=(0,w.Z)(b);return d.useEffect(()=>{let a=f.current;if(!a)return;let c=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(h!==b&&c){let d=new Event("change",{bubbles:!0});c.call(a,b),a.dispatchEvent(d)}},[h,b]),(0,A.jsx)(r.sG.select,{...c,style:{...x.Qg,...c.style},ref:g,defaultValue:b})});function aA(a){return""===a||void 0===a}function aB(a){let b=(0,t.c)(a),c=d.useRef(""),e=d.useRef(0),f=d.useCallback(a=>{let d=c.current+a;b(d),function a(b){c.current=b,window.clearTimeout(e.current),""!==b&&(e.current=window.setTimeout(()=>a(""),1e3))}(d)},[b]),g=d.useCallback(()=>{c.current="",window.clearTimeout(e.current)},[]);return d.useEffect(()=>()=>window.clearTimeout(e.current),[]),[c,f,g]}function aC(a,b,c){var d,e;let f=b.length>1&&Array.from(b).every(a=>a===b[0])?b[0]:b,g=c?a.indexOf(c):-1,h=(d=a,e=Math.max(g,0),d.map((a,b)=>d[(e+b)%d.length]));1===f.length&&(h=h.filter(a=>a!==c));let i=h.find(a=>a.textValue.toLowerCase().startsWith(f.toLowerCase()));return i!==c?i:void 0}az.displayName="SelectBubbleInput";var aD=O,aE=Q,aF=S,aG=T,aH=U,aI=W,aJ=ae,aK=ai,aL=ak,aM=ao,aN=aq,aO=as,aP=au,aQ=aw},42378:(a,b,c)=>{"use strict";var d=c(91330);c.o(d,"useRouter")&&c.d(b,{useRouter:function(){return d.useRouter}}),c.o(d,"useSearchParams")&&c.d(b,{useSearchParams:function(){return d.useSearchParams}})},43249:(a,b,c)=>{"use strict";function d(){for(var a,b,c=0,d="",e=arguments.length;cd})},43613:(a,b)=>{"use strict";var c="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;b.assign=function(a){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var c=b.shift();if(c){if("object"!=typeof c)throw TypeError(c+"must be non-object");for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}return a},b.shrinkBuf=function(a,b){return a.length===b?a:a.subarray?a.subarray(0,b):(a.length=b,a)};var d={arraySet:function(a,b,c,d,e){if(b.subarray&&a.subarray)return void a.set(b.subarray(c,c+d),e);for(var f=0;f{"use strict";var d,e,f=c(39265);a.exports=s;var g=c(63046);s.ReadableState=r,c(94735).EventEmitter;var h=function(a,b){return a.listeners(b).length},i=c(69720),j=c(62253).Buffer,k=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},l=Object.create(c(69082));l.inherits=c(48985);var m=c(28354),n=void 0;n=m&&m.debuglog?m.debuglog("stream"):function(){};var o=c(54442),p=c(15016);l.inherits(s,i);var q=["error","close","destroy","pause","resume"];function r(a,b){d=d||c(47482),a=a||{};var f=b instanceof d;this.objectMode=!!a.objectMode,f&&(this.objectMode=this.objectMode||!!a.readableObjectMode);var g=a.highWaterMark,h=a.readableHighWaterMark,i=this.objectMode?16:16384;g||0===g?this.highWaterMark=g:f&&(h||0===h)?this.highWaterMark=h:this.highWaterMark=i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new o,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=a.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,a.encoding&&(e||(e=c(32677).I),this.decoder=new e(a.encoding),this.encoding=a.encoding)}function s(a){if(d=d||c(47482),!(this instanceof s))return new s(a);this._readableState=new r(a,this),this.readable=!0,a&&("function"==typeof a.read&&(this._read=a.read),"function"==typeof a.destroy&&(this._destroy=a.destroy)),i.call(this)}function t(a,b,c,d,e){var f,g,h,i=a._readableState;return null===b?(i.reading=!1,function(a,b){if(!b.ended){if(b.decoder){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,w(a)}}(a,i)):(e||(h=function(a,b){var c;return j.isBuffer(b)||b instanceof k||"string"==typeof b||void 0===b||a.objectMode||(c=TypeError("Invalid non-string/buffer chunk")),c}(i,b)),h)?a.emit("error",h):i.objectMode||b&&b.length>0?("string"==typeof b||i.objectMode||Object.getPrototypeOf(b)===j.prototype||(g=b,b=j.from(g)),d?i.endEmitted?a.emit("error",Error("stream.unshift() after end event")):u(a,i,b,!0):i.ended?a.emit("error",Error("stream.push() after EOF")):(i.reading=!1,i.decoder&&!c?(b=i.decoder.write(b),i.objectMode||0!==b.length?u(a,i,b,!1):y(a,i)):u(a,i,b,!1))):d||(i.reading=!1),!(f=i).ended&&(f.needReadable||f.lengthb.highWaterMark&&((c=a)>=8388608?c=8388608:(c--,c|=c>>>1,c|=c>>>2,c|=c>>>4,c|=c>>>8,c|=c>>>16,c++),b.highWaterMark=c),a<=b.length)?a:b.ended?b.length:(b.needReadable=!0,0)}function w(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(n("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?f.nextTick(x,a):x(a))}function x(a){n("emit readable"),a.emit("readable"),C(a)}function y(a,b){b.readingMore||(b.readingMore=!0,f.nextTick(z,a,b))}function z(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length=b.length?(c=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),b.buffer.clear()):(d=a,e=b.buffer,f=b.decoder,df.length?f.length:a;if(g===f.length?e+=f:e+=f.slice(0,a),0==(a-=g)){g===f.length?(++d,c.next?b.head=c.next:b.head=b.tail=null):(b.head=c,c.data=f.slice(g));break}++d}return b.length-=d,e}(d,e):function(a,b){var c=j.allocUnsafe(a),d=b.head,e=1;for(d.data.copy(c),a-=d.data.length;d=d.next;){var f=d.data,g=a>f.length?f.length:a;if(f.copy(c,c.length-a,0,g),0==(a-=g)){g===f.length?(++e,d.next?b.head=d.next:b.head=b.tail=null):(b.head=d,d.data=f.slice(g));break}++e}return b.length-=e,c}(d,e),c=g),c)}function E(a){var b=a._readableState;if(b.length>0)throw Error('"endReadable()" called on non-empty stream');b.endEmitted||(b.ended=!0,f.nextTick(F,b,a))}function F(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function G(a,b){for(var c=0,d=a.length;c=c.highWaterMark||c.ended))return n("read: emitReadable",c.length,c.ended),0===c.length&&c.ended?E(this):w(this),null;if(0===(a=v(a,c))&&c.ended)return 0===c.length&&E(this),null;var e=c.needReadable;return n("need readable",e),(0===c.length||c.length-a0?D(a,c):null)?(c.needReadable=!0,a=0):c.length-=a,0===c.length&&(c.ended||(c.needReadable=!0),d!==a&&c.ended&&E(this)),null!==b&&this.emit("data",b),b},s.prototype._read=function(a){this.emit("error",Error("_read() is not implemented"))},s.prototype.pipe=function(a,b){var c,d=this,e=this._readableState;switch(e.pipesCount){case 0:e.pipes=a;break;case 1:e.pipes=[e.pipes,a];break;default:e.pipes.push(a)}e.pipesCount+=1,n("pipe count=%d opts=%j",e.pipesCount,b);var i=b&&!1===b.end||a===process.stdout||a===process.stderr?s:j;function j(){n("onend"),a.end()}e.endEmitted?f.nextTick(i):d.once("end",i),a.on("unpipe",function b(c,f){n("onunpipe"),c===d&&f&&!1===f.hasUnpiped&&(f.hasUnpiped=!0,n("cleanup"),a.removeListener("close",q),a.removeListener("finish",r),a.removeListener("drain",k),a.removeListener("error",p),a.removeListener("unpipe",b),d.removeListener("end",j),d.removeListener("end",s),d.removeListener("data",o),l=!0,e.awaitDrain&&(!a._writableState||a._writableState.needDrain)&&k())});var k=(c=d,function(){var a=c._readableState;n("pipeOnDrain",a.awaitDrain),a.awaitDrain&&a.awaitDrain--,0===a.awaitDrain&&h(c,"data")&&(a.flowing=!0,C(c))});a.on("drain",k);var l=!1,m=!1;function o(b){n("ondata"),m=!1,!1!==a.write(b)||m||((1===e.pipesCount&&e.pipes===a||e.pipesCount>1&&-1!==G(e.pipes,a))&&!l&&(n("false write response, pause",e.awaitDrain),e.awaitDrain++,m=!0),d.pause())}function p(b){n("onerror",b),s(),a.removeListener("error",p),0===h(a,"error")&&a.emit("error",b)}function q(){a.removeListener("finish",r),s()}function r(){n("onfinish"),a.removeListener("close",q),s()}function s(){n("unpipe"),d.unpipe(a)}return d.on("data",o),!function(a,b,c){if("function"==typeof a.prependListener)return a.prependListener(b,c);a._events&&a._events[b]?g(a._events[b])?a._events[b].unshift(c):a._events[b]=[c,a._events[b]]:a.on(b,c)}(a,"error",p),a.once("close",q),a.once("finish",r),a.emit("pipe",d),e.flowing||(n("pipe resume"),d.resume()),a},s.prototype.unpipe=function(a){var b=this._readableState,c={hasUnpiped:!1};if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes||(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this,c)),this;if(!a){var d=b.pipes,e=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var f=0;f{"use strict";c.d(b,{b:()=>h});var d=c(38301),e=c(6406),f=c(21124),g=d.forwardRef((a,b)=>(0,f.jsx)(e.sG.label,{...a,ref:b,onMouseDown:b=>{b.target.closest("button, input, select, textarea")||(a.onMouseDown?.(b),!b.defaultPrevented&&b.detail>1&&b.preventDefault())}}));g.displayName="Label";var h=g},46422:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},47089:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},47210:(a,b,c)=>{"use strict";b.__esModule=!0;var d=c(50281);b.default=function(a){a.registerDecorator("inline",function(a,b,c,e){var f=a;return b.partials||(b.partials={},f=function(e,f){var g=c.partials;c.partials=d.extend({},g,b.partials);var h=a(e,f);return c.partials=g,h}),b.partials[e.args[0]]=e.fn,f})},a.exports=b.default},47482:(a,b,c)=>{"use strict";var d=c(39265),e=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b};a.exports=l;var f=Object.create(c(69082));f.inherits=c(48985);var g=c(45948),h=c(7932);f.inherits(l,g);for(var i=e(h.prototype),j=0;j{"use strict";var d=c(36867);function e(a){d.call(this,a)}c(20452).inherits(e,d),e.prototype.readData=function(a){this.checkOffset(a);var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},a.exports=e},48985:(a,b,c)=>{try{var d=c(28354);if("function"!=typeof d.inherits)throw"";a.exports=d.inherits}catch(b){a.exports=c(53510)}},49241:(a,b,c)=>{"use strict";b.__esModule=!0;var d=function(a){return a&&a.__esModule?a:{default:a}}(c(1793));b.default=function(a){a.registerHelper("helperMissing",function(){if(1!=arguments.length)throw new d.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},a.exports=b.default},50266:(a,b,c)=>{"use strict";var d=c(20452),e=c(9926),f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";b.encode=function(a){for(var b,c,e,g,h,i,j,k=[],l=0,m=a.length,n=m,o="string"!==d.getTypeOf(a);l>2,h=(3&b)<<4|c>>4,i=n>1?(15&c)<<2|e>>6:64,j=n>2?63&e:64,k.push(f.charAt(g)+f.charAt(h)+f.charAt(i)+f.charAt(j));return k.join("")},b.decode=function(a){var b,c,d,g,h,i,j,k,l=0,m=0,n="data:";if(a.substr(0,n.length)===n)throw Error("Invalid base64 input, it looks like a data url.");var o=3*(a=a.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(a.charAt(a.length-1)===f.charAt(64)&&o--,a.charAt(a.length-2)===f.charAt(64)&&o--,o%1!=0)throw Error("Invalid base64 input, bad content length.");for(k=e.uint8array?new Uint8Array(0|o):Array(0|o);l>4,c=(15&h)<<4|i>>2,d=(3&i)<<6|j,k[m++]=b,64!==i&&(k[m++]=c),64!==j&&(k[m++]=d);return k}},50281:(a,b)=>{"use strict";b.__esModule=!0,b.extend=g,b.indexOf=function(a,b){for(var c=0,d=a.length;c":">",'"':""","'":"'","`":"`","=":"="},d=/[&<>"'`=]/g,e=/[&<>"'`=]/;function f(a){return c[a]}function g(a){for(var b=1;b{"use strict";a.exports={Promise:"undefined"!=typeof Promise?Promise:c(55233)}},53247:(a,b,c)=>{"use strict";var d,e=c(43613),f=c(7225),g=c(90421),h=c(9251),i=c(78094),j=573;function k(a,b){return a.msg=i[b],b}function l(a){return(a<<1)-9*(a>4)}function m(a){for(var b=a.length;--b>=0;)a[b]=0}function n(a){var b=a.state,c=b.pending;c>a.avail_out&&(c=a.avail_out),0!==c&&(e.arraySet(a.output,b.pending_buf,b.pending_out,c,a.next_out),a.next_out+=c,b.pending_out+=c,a.total_out+=c,a.avail_out-=c,b.pending-=c,0===b.pending&&(b.pending_out=0))}function o(a,b){f._tr_flush_block(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,b),a.block_start=a.strstart,n(a.strm)}function p(a,b){a.pending_buf[a.pending++]=b}function q(a,b){a.pending_buf[a.pending++]=b>>>8&255,a.pending_buf[a.pending++]=255&b}function r(a,b){var c,d,e=a.max_chain_length,f=a.strstart,g=a.prev_length,h=a.nice_match,i=a.strstart>a.w_size-262?a.strstart-(a.w_size-262):0,j=a.window,k=a.w_mask,l=a.prev,m=a.strstart+258,n=j[f+g-1],o=j[f+g];a.prev_length>=a.good_match&&(e>>=2),h>a.lookahead&&(h=a.lookahead);do{if(j[(c=b)+g]!==o||j[c+g-1]!==n||j[c]!==j[f]||j[++c]!==j[f+1])continue;f+=2,c++;do;while(j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&fg){if(a.match_start=b,g=d,d>=h)break;n=j[f+g-1],o=j[f+g]}}while((b=l[b&k])>i&&0!=--e);return g<=a.lookahead?g:a.lookahead}function s(a){var b,c,d,f,i,j=a.w_size;do{if(f=a.window_size-a.lookahead-a.strstart,a.strstart>=j+(j-262)){e.arraySet(a.window,a.window,j,j,0),a.match_start-=j,a.strstart-=j,a.block_start-=j,b=c=a.hash_size;do d=a.head[--b],a.head[b]=d>=j?d-j:0;while(--c);b=c=j;do d=a.prev[--b],a.prev[b]=d>=j?d-j:0;while(--c);f+=j}if(0===a.strm.avail_in)break;if(c=function(a,b,c,d){var f=a.avail_in;return(f>d&&(f=d),0===f)?0:(a.avail_in-=f,e.arraySet(b,a.input,a.next_in,f,c),1===a.state.wrap?a.adler=g(a.adler,b,f,c):2===a.state.wrap&&(a.adler=h(a.adler,b,f,c)),a.next_in+=f,a.total_in+=f,f)}(a.strm,a.window,a.strstart+a.lookahead,f),a.lookahead+=c,a.lookahead+a.insert>=3)for(i=a.strstart-a.insert,a.ins_h=a.window[i],a.ins_h=(a.ins_h<=3&&(a.ins_h=(a.ins_h<=3)if(d=f._tr_tally(a,a.strstart-a.match_start,a.match_length-3),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=3){a.match_length--;do a.strstart++,a.ins_h=(a.ins_h<=3&&(a.ins_h=(a.ins_h<4096)&&(a.match_length=2)),a.prev_length>=3&&a.match_length<=a.prev_length){e=a.strstart+a.lookahead-3,d=f._tr_tally(a,a.strstart-1-a.prev_match,a.prev_length-3),a.lookahead-=a.prev_length-1,a.prev_length-=2;do++a.strstart<=e&&(a.ins_h=(a.ins_h<15&&(h=2,d-=16),f<1||f>9||8!==c||d<8||d>15||b<0||b>9||g<0||g>4)return k(a,-2);8===d&&(d=9);var i=new w;return a.state=i,i.strm=a,i.wrap=h,i.gzhead=null,i.w_bits=d,i.w_size=1<a.pending_buf_size-5&&(c=a.pending_buf_size-5);;){if(a.lookahead<=1){if(s(a),0===a.lookahead&&0===b)return 1;if(0===a.lookahead)break}a.strstart+=a.lookahead,a.lookahead=0;var d=a.block_start+c;if((0===a.strstart||a.strstart>=d)&&(a.lookahead=a.strstart-d,a.strstart=d,o(a,!1),0===a.strm.avail_out)||a.strstart-a.block_start>=a.w_size-262&&(o(a,!1),0===a.strm.avail_out))return 1}return(a.insert=0,4===b)?(o(a,!0),0===a.strm.avail_out)?3:4:(a.strstart>a.block_start&&(o(a,!1),a.strm.avail_out),1)}),new v(4,4,8,4,t),new v(4,5,16,8,t),new v(4,6,32,32,t),new v(4,4,16,16,u),new v(8,16,32,32,u),new v(8,16,128,128,u),new v(8,32,128,256,u),new v(32,128,258,1024,u),new v(32,258,258,4096,u)],b.deflateInit=function(a,b){return z(a,b,8,15,8,0)},b.deflateInit2=z,b.deflateReset=y,b.deflateResetKeep=x,b.deflateSetHeader=function(a,b){return a&&a.state&&2===a.state.wrap?(a.state.gzhead=b,0):-2},b.deflate=function(a,b){if(!a||!a.state||b>5||b<0)return a?k(a,-2):-2;if(e=a.state,!a.output||!a.input&&0!==a.avail_in||666===e.status&&4!==b)return k(a,0===a.avail_out?-5:-2);if(e.strm=a,c=e.last_flush,e.last_flush=b,42===e.status)if(2===e.wrap)a.adler=0,p(e,31),p(e,139),p(e,8),e.gzhead?(p(e,+!!e.gzhead.text+2*!!e.gzhead.hcrc+4*!!e.gzhead.extra+8*!!e.gzhead.name+16*!!e.gzhead.comment),p(e,255&e.gzhead.time),p(e,e.gzhead.time>>8&255),p(e,e.gzhead.time>>16&255),p(e,e.gzhead.time>>24&255),p(e,9===e.level?2:4*(e.strategy>=2||e.level<2)),p(e,255&e.gzhead.os),e.gzhead.extra&&e.gzhead.extra.length&&(p(e,255&e.gzhead.extra.length),p(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(a.adler=h(a.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=69):(p(e,0),p(e,0),p(e,0),p(e,0),p(e,0),p(e,9===e.level?2:4*(e.strategy>=2||e.level<2)),p(e,3),e.status=113);else{var c,e,g,i,j=8+(e.w_bits-8<<4)<<8;j|=(e.strategy>=2||e.level<2?0:e.level<6?1:6===e.level?2:3)<<6,0!==e.strstart&&(j|=32),j+=31-j%31,e.status=113,q(e,j),0!==e.strstart&&(q(e,a.adler>>>16),q(e,65535&a.adler)),a.adler=1}if(69===e.status)if(e.gzhead.extra){for(g=e.pending;e.gzindex<(65535&e.gzhead.extra.length)&&(e.pending!==e.pending_buf_size||(e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),n(a),g=e.pending,e.pending!==e.pending_buf_size));)p(e,255&e.gzhead.extra[e.gzindex]),e.gzindex++;e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),e.gzindex===e.gzhead.extra.length&&(e.gzindex=0,e.status=73)}else e.status=73;if(73===e.status)if(e.gzhead.name){g=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),n(a),g=e.pending,e.pending===e.pending_buf_size)){i=1;break}i=e.gzindexg&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),0===i&&(e.gzindex=0,e.status=91)}else e.status=91;if(91===e.status)if(e.gzhead.comment){g=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>g&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),n(a),g=e.pending,e.pending===e.pending_buf_size)){i=1;break}i=e.gzindexg&&(a.adler=h(a.adler,e.pending_buf,e.pending-g,g)),0===i&&(e.status=103)}else e.status=103;if(103===e.status&&(e.gzhead.hcrc?(e.pending+2>e.pending_buf_size&&n(a),e.pending+2<=e.pending_buf_size&&(p(e,255&a.adler),p(e,a.adler>>8&255),a.adler=0,e.status=113)):e.status=113),0!==e.pending){if(n(a),0===a.avail_out)return e.last_flush=-1,0}else if(0===a.avail_in&&l(b)<=l(c)&&4!==b)return k(a,-5);if(666===e.status&&0!==a.avail_in)return k(a,-5);if(0!==a.avail_in||0!==e.lookahead||0!==b&&666!==e.status){var r=2===e.strategy?function(a,b){for(var c;;){if(0===a.lookahead&&(s(a),0===a.lookahead)){if(0===b)return 1;break}if(a.match_length=0,c=f._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++,c&&(o(a,!1),0===a.strm.avail_out))return 1}return(a.insert=0,4===b)?(o(a,!0),0===a.strm.avail_out)?3:4:a.last_lit&&(o(a,!1),0===a.strm.avail_out)?1:2}(e,b):3===e.strategy?function(a,b){for(var c,d,e,g,h=a.window;;){if(a.lookahead<=258){if(s(a),a.lookahead<=258&&0===b)return 1;if(0===a.lookahead)break}if(a.match_length=0,a.lookahead>=3&&a.strstart>0&&(d=h[e=a.strstart-1])===h[++e]&&d===h[++e]&&d===h[++e]){g=a.strstart+258;do;while(d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&d===h[++e]&&ea.lookahead&&(a.match_length=a.lookahead)}if(a.match_length>=3?(c=f._tr_tally(a,1,a.match_length-3),a.lookahead-=a.match_length,a.strstart+=a.match_length,a.match_length=0):(c=f._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++),c&&(o(a,!1),0===a.strm.avail_out))return 1}return(a.insert=0,4===b)?(o(a,!0),0===a.strm.avail_out)?3:4:a.last_lit&&(o(a,!1),0===a.strm.avail_out)?1:2}(e,b):d[e.level].func(e,b);if((3===r||4===r)&&(e.status=666),1===r||3===r)return 0===a.avail_out&&(e.last_flush=-1),0;if(2===r&&(1===b?f._tr_align(e):5!==b&&(f._tr_stored_block(e,0,0,!1),3===b&&(m(e.head),0===e.lookahead&&(e.strstart=0,e.block_start=0,e.insert=0))),n(a),0===a.avail_out))return e.last_flush=-1,0}return 4!==b?0:e.wrap<=0?1:(2===e.wrap?(p(e,255&a.adler),p(e,a.adler>>8&255),p(e,a.adler>>16&255),p(e,a.adler>>24&255),p(e,255&a.total_in),p(e,a.total_in>>8&255),p(e,a.total_in>>16&255),p(e,a.total_in>>24&255)):(q(e,a.adler>>>16),q(e,65535&a.adler)),n(a),e.wrap>0&&(e.wrap=-e.wrap),+(0===e.pending))},b.deflateEnd=function(a){var b;return a&&a.state?42!==(b=a.state.status)&&69!==b&&73!==b&&91!==b&&103!==b&&113!==b&&666!==b?k(a,-2):(a.state=null,113===b?k(a,-3):0):-2},b.deflateSetDictionary=function(a,b){var c,d,f,h,i,j,k,l,n=b.length;if(!a||!a.state||2===(h=(c=a.state).wrap)||1===h&&42!==c.status||c.lookahead)return -2;for(1===h&&(a.adler=g(a.adler,b,n,0)),c.wrap=0,n>=c.w_size&&(0===h&&(m(c.head),c.strstart=0,c.block_start=0,c.insert=0),l=new e.Buf8(c.w_size),e.arraySet(l,b,n-c.w_size,c.w_size,0),b=l,n=c.w_size),i=a.avail_in,j=a.next_in,k=a.input,a.avail_in=n,a.next_in=0,a.input=b,s(c);c.lookahead>=3;){d=c.strstart,f=c.lookahead-2;do c.ins_h=(c.ins_h<{"function"==typeof Object.create?a.exports=function(a,b){b&&(a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}))}:a.exports=function(a,b){if(b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}}},54442:(a,b,c)=>{"use strict";var d=c(62253).Buffer,e=c(28354);a.exports=function(){function a(){if(!(this instanceof a))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return a.prototype.push=function(a){var b={data:a,next:null};this.length>0?this.tail.next=b:this.head=b,this.tail=b,++this.length},a.prototype.unshift=function(a){var b={data:a,next:this.head};0===this.length&&(this.tail=b),this.head=b,++this.length},a.prototype.shift=function(){if(0!==this.length){var a=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},a.prototype.clear=function(){this.head=this.tail=null,this.length=0},a.prototype.join=function(a){if(0===this.length)return"";for(var b=this.head,c=""+b.data;b=b.next;)c+=a+b.data;return c},a.prototype.concat=function(a){if(0===this.length)return d.alloc(0);for(var b,c,e=d.allocUnsafe(a>>>0),f=this.head,g=0;f;)b=f.data,c=g,b.copy(e,c),g+=f.data.length,f=f.next;return e},a}(),e&&e.inspect&&e.inspect.custom&&(a.exports.prototype[e.inspect.custom]=function(){var a=e.inspect({length:this.length});return this.constructor.name+" "+a})},54453:(a,b,c)=>{"use strict";var d=c(30298),e=c(93918),f=function(a,b){var c=a||b,e=d[c];if(!e)throw Error(c+" is not a valid compression method !");return e};b.generateWorker=function(a,b,c){var d=new e(b.streamFiles,c,b.platform,b.encodeFileName),g=0;try{a.forEach(function(a,c){g++;var e=f(c.options.compression,b.compression),h=c.options.compressionOptions||b.compressionOptions||{},i=c.dir,j=c.date;c._compressWorker(e,h).withStreamInfo("file",{name:a,dir:i,date:j,comment:c.comment||"",unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions}).pipe(d)}),d.entriesCount=g}catch(a){d.error(a)}return d}},55233:(a,b,c)=>{"use strict";var d=c(78406);function e(){}var f={},g=["REJECTED"],h=["FULFILLED"],i=["PENDING"],j=["UNHANDLED"];function k(a){if("function"!=typeof a)throw TypeError("resolver must be a function");this.state=i,this.queue=[],this.outcome=void 0,this.handled=j,a!==e&&o(this,a)}function l(a,b,c){this.promise=a,"function"==typeof b&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),"function"==typeof c&&(this.onRejected=c,this.callRejected=this.otherCallRejected)}function m(a,b,c){d(function(){var d;try{d=b(c)}catch(b){return f.reject(a,b)}d===a?f.reject(a,TypeError("Cannot resolve promise with itself")):f.resolve(a,d)})}function n(a){var b=a&&a.then;if(a&&("object"==typeof a||"function"==typeof a)&&"function"==typeof b)return function(){b.apply(a,arguments)}}function o(a,b){var c=!1;function d(b){c||(c=!0,f.reject(a,b))}function e(b){c||(c=!0,f.resolve(a,b))}var g=p(function(){b(e,d)});"error"===g.status&&d(g.value)}function p(a,b){var c={};try{c.value=a(b),c.status="success"}catch(a){c.status="error",c.value=a}return c}a.exports=k,k.prototype.finally=function(a){if("function"!=typeof a)return this;var b=this.constructor;return this.then(function(c){return b.resolve(a()).then(function(){return c})},function(c){return b.resolve(a()).then(function(){throw c})})},k.prototype.catch=function(a){return this.then(null,a)},k.prototype.then=function(a,b){if("function"!=typeof a&&this.state===h||"function"!=typeof b&&this.state===g)return this;var c=new this.constructor(e);return this.handled===j&&(this.handled=null),this.state!==i?m(c,this.state===h?a:b,this.outcome):this.queue.push(new l(c,a,b)),c},l.prototype.callFulfilled=function(a){f.resolve(this.promise,a)},l.prototype.otherCallFulfilled=function(a){m(this.promise,this.onFulfilled,a)},l.prototype.callRejected=function(a){f.reject(this.promise,a)},l.prototype.otherCallRejected=function(a){m(this.promise,this.onRejected,a)},f.resolve=function(a,b){var c=p(n,b);if("error"===c.status)return f.reject(a,c.value);var d=c.value;if(d)o(a,d);else{a.state=h,a.outcome=b;for(var e=-1,g=a.queue.length;++e{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]])},56780:(a,b,c)=>{"use strict";var d=c(43613).assign,e=c(27139),f=c(58815),g=c(76137),h={};d(h,e,f,g),a.exports=h},56898:(a,b,c)=>{"use strict";b.__esModule=!0,b.createNewLookupObject=function(){for(var a=arguments.length,b=Array(a),c=0;c{"use strict";b.__esModule=!0;var d=c(50281),e=function(a){return a&&a.__esModule?a:{default:a}}(c(1793));b.default=function(a){a.registerHelper("if",function(a,b){if(2!=arguments.length)throw new e.default("#if requires exactly one argument");return(d.isFunction(a)&&(a=a.call(this)),!b.hash.includeZero&&!a||d.isEmpty(a))?b.inverse(this):b.fn(this)}),a.registerHelper("unless",function(b,c){if(2!=arguments.length)throw new e.default("#unless requires exactly one argument");return a.helpers.if.call(this,b,{fn:c.inverse,inverse:c.fn,hash:c.hash})})},a.exports=b.default},58815:(a,b,c)=>{"use strict";var d=c(11251),e=c(43613),f=c(98164),g=c(76137),h=c(78094),i=c(1094),j=c(33018),k=Object.prototype.toString;function l(a){if(!(this instanceof l))return new l(a);this.options=e.assign({chunkSize:16384,windowBits:0,to:""},a||{});var b=this.options;b.raw&&b.windowBits>=0&&b.windowBits<16&&(b.windowBits=-b.windowBits,0===b.windowBits&&(b.windowBits=-15)),b.windowBits>=0&&b.windowBits<16&&!(a&&a.windowBits)&&(b.windowBits+=32),b.windowBits>15&&b.windowBits<48&&(15&b.windowBits)==0&&(b.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new i,this.strm.avail_out=0;var c=d.inflateInit2(this.strm,b.windowBits);if(c!==g.Z_OK||(this.header=new j,d.inflateGetHeader(this.strm,this.header),b.dictionary&&("string"==typeof b.dictionary?b.dictionary=f.string2buf(b.dictionary):"[object ArrayBuffer]"===k.call(b.dictionary)&&(b.dictionary=new Uint8Array(b.dictionary)),b.raw)&&(c=d.inflateSetDictionary(this.strm,b.dictionary))!==g.Z_OK))throw Error(h[c])}function m(a,b){var c=new l(b);if(c.push(a,!0),c.err)throw c.msg||h[c.err];return c.result}l.prototype.push=function(a,b){var c,h,i,j,l,m=this.strm,n=this.options.chunkSize,o=this.options.dictionary,p=!1;if(this.ended)return!1;h=b===~~b?b:!0===b?g.Z_FINISH:g.Z_NO_FLUSH,"string"==typeof a?m.input=f.binstring2buf(a):"[object ArrayBuffer]"===k.call(a)?m.input=new Uint8Array(a):m.input=a,m.next_in=0,m.avail_in=m.input.length;do{if(0===m.avail_out&&(m.output=new e.Buf8(n),m.next_out=0,m.avail_out=n),(c=d.inflate(m,g.Z_NO_FLUSH))===g.Z_NEED_DICT&&o&&(c=d.inflateSetDictionary(this.strm,o)),c===g.Z_BUF_ERROR&&!0===p&&(c=g.Z_OK,p=!1),c!==g.Z_STREAM_END&&c!==g.Z_OK)return this.onEnd(c),this.ended=!0,!1;m.next_out&&(0===m.avail_out||c===g.Z_STREAM_END||0===m.avail_in&&(h===g.Z_FINISH||h===g.Z_SYNC_FLUSH))&&("string"===this.options.to?(i=f.utf8border(m.output,m.next_out),j=m.next_out-i,l=f.buf2string(m.output,i),m.next_out=j,m.avail_out=n-j,j&&e.arraySet(m.output,m.output,i,j,0),this.onData(l)):this.onData(e.shrinkBuf(m.output,m.next_out))),0===m.avail_in&&0===m.avail_out&&(p=!0)}while((m.avail_in>0||0===m.avail_out)&&c!==g.Z_STREAM_END);return(c===g.Z_STREAM_END&&(h=g.Z_FINISH),h===g.Z_FINISH)?(c=d.inflateEnd(this.strm),this.onEnd(c),this.ended=!0,c===g.Z_OK):(h===g.Z_SYNC_FLUSH&&(this.onEnd(g.Z_OK),m.avail_out=0),!0)},l.prototype.onData=function(a){this.chunks.push(a)},l.prototype.onEnd=function(a){a===g.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=e.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},b.Inflate=l,b.inflate=m,b.inflateRaw=function(a,b){return(b=b||{}).raw=!0,m(a,b)},b.ungzip=m},58829:(a,b,c)=>{"use strict";c.d(b,{QP:()=>aa});let d=(a,b)=>{if(0===a.length)return b.classGroupId;let c=a[0],e=b.nextPart.get(c),f=e?d(a.slice(1),e):void 0;if(f)return f;if(0===b.validators.length)return;let g=a.join("-");return b.validators.find(({validator:a})=>a(g))?.classGroupId},e=/^\[(.+)\]$/,f=(a,b,c,d)=>{a.forEach(a=>{if("string"==typeof a){(""===a?b:g(b,a)).classGroupId=c;return}if("function"==typeof a)return h(a)?void f(a(d),b,c,d):void b.validators.push({validator:a,classGroupId:c});Object.entries(a).forEach(([a,e])=>{f(e,g(b,a),c,d)})})},g=(a,b)=>{let c=a;return b.split("-").forEach(a=>{c.nextPart.has(a)||c.nextPart.set(a,{nextPart:new Map,validators:[]}),c=c.nextPart.get(a)}),c},h=a=>a.isThemeGetter,i=/\s+/;function j(){let a,b,c=0,d="";for(;c{let b;if("string"==typeof a)return a;let c="";for(let d=0;d{let b=b=>b[a]||[];return b.isThemeGetter=!0,b},m=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,n=/^\((?:(\w[\w-]*):)?(.+)\)$/i,o=/^\d+\/\d+$/,p=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,q=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,s=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,u=a=>o.test(a),v=a=>!!a&&!Number.isNaN(Number(a)),w=a=>!!a&&Number.isInteger(Number(a)),x=a=>a.endsWith("%")&&v(a.slice(0,-1)),y=a=>p.test(a),z=()=>!0,A=a=>q.test(a)&&!r.test(a),B=()=>!1,C=a=>s.test(a),D=a=>t.test(a),E=a=>!G(a)&&!M(a),F=a=>T(a,X,B),G=a=>m.test(a),H=a=>T(a,Y,A),I=a=>T(a,Z,v),J=a=>T(a,V,B),K=a=>T(a,W,D),L=a=>T(a,_,C),M=a=>n.test(a),N=a=>U(a,Y),O=a=>U(a,$),P=a=>U(a,V),Q=a=>U(a,X),R=a=>U(a,W),S=a=>U(a,_,!0),T=(a,b,c)=>{let d=m.exec(a);return!!d&&(d[1]?b(d[1]):c(d[2]))},U=(a,b,c=!1)=>{let d=n.exec(a);return!!d&&(d[1]?b(d[1]):c)},V=a=>"position"===a||"percentage"===a,W=a=>"image"===a||"url"===a,X=a=>"length"===a||"size"===a||"bg-size"===a,Y=a=>"length"===a,Z=a=>"number"===a,$=a=>"family-name"===a,_=a=>"shadow"===a;Symbol.toStringTag;let aa=function(a,...b){let c,g,h,k=function(i){let j;return g=(c={cache:(a=>{if(a<1)return{get:()=>void 0,set:()=>{}};let b=0,c=new Map,d=new Map,e=(e,f)=>{c.set(e,f),++b>a&&(b=0,d=c,c=new Map)};return{get(a){let b=c.get(a);return void 0!==b?b:void 0!==(b=d.get(a))?(e(a,b),b):void 0},set(a,b){c.has(a)?c.set(a,b):e(a,b)}}})((j=b.reduce((a,b)=>b(a),a())).cacheSize),parseClassName:(a=>{let{prefix:b,experimentalParseClassName:c}=a,d=a=>{let b,c,d=[],e=0,f=0,g=0;for(let c=0;cg?b-g:void 0}};if(b){let a=b+":",c=d;d=b=>b.startsWith(a)?c(b.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:b,maybePostfixModifierPosition:void 0}}if(c){let a=d;d=b=>c({className:b,parseClassName:a})}return d})(j),sortModifiers:(a=>{let b=Object.fromEntries(a.orderSensitiveModifiers.map(a=>[a,!0]));return a=>{if(a.length<=1)return a;let c=[],d=[];return a.forEach(a=>{"["===a[0]||b[a]?(c.push(...d.sort(),a),d=[]):d.push(a)}),c.push(...d.sort()),c}})(j),...(a=>{let b=(a=>{let{theme:b,classGroups:c}=a,d={nextPart:new Map,validators:[]};for(let a in c)f(c[a],d,a,b);return d})(a),{conflictingClassGroups:c,conflictingClassGroupModifiers:g}=a;return{getClassGroupId:a=>{let c=a.split("-");return""===c[0]&&1!==c.length&&c.shift(),d(c,b)||(a=>{if(e.test(a)){let b=e.exec(a)[1],c=b?.substring(0,b.indexOf(":"));if(c)return"arbitrary.."+c}})(a)},getConflictingClassGroupIds:(a,b)=>{let d=c[a]||[];return b&&g[a]?[...d,...g[a]]:d}}})(j)}).cache.get,h=c.cache.set,k=l,l(i)};function l(a){let b=g(a);if(b)return b;let d=((a,b)=>{let{parseClassName:c,getClassGroupId:d,getConflictingClassGroupIds:e,sortModifiers:f}=b,g=[],h=a.trim().split(i),j="";for(let a=h.length-1;a>=0;a-=1){let b=h[a],{isExternal:i,modifiers:k,hasImportantModifier:l,baseClassName:m,maybePostfixModifierPosition:n}=c(b);if(i){j=b+(j.length>0?" "+j:j);continue}let o=!!n,p=d(o?m.substring(0,n):m);if(!p){if(!o||!(p=d(m))){j=b+(j.length>0?" "+j:j);continue}o=!1}let q=f(k).join(":"),r=l?q+"!":q,s=r+p;if(g.includes(s))continue;g.push(s);let t=e(p,o);for(let a=0;a0?" "+j:j)}return j})(a,c);return h(a,d),d}return function(){return k(j.apply(null,arguments))}}(()=>{let a=l("color"),b=l("font"),c=l("text"),d=l("font-weight"),e=l("tracking"),f=l("leading"),g=l("breakpoint"),h=l("container"),i=l("spacing"),j=l("radius"),k=l("shadow"),m=l("inset-shadow"),n=l("text-shadow"),o=l("drop-shadow"),p=l("blur"),q=l("perspective"),r=l("aspect"),s=l("ease"),t=l("animate"),A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...B(),M,G],D=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],U=()=>[M,G,i],V=()=>[u,"full","auto",...U()],W=()=>[w,"none","subgrid",M,G],X=()=>["auto",{span:["full",w,M,G]},w,M,G],Y=()=>[w,"auto",M,G],Z=()=>["auto","min","max","fr",M,G],$=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],_=()=>["start","end","center","stretch","center-safe","end-safe"],aa=()=>["auto",...U()],ab=()=>[u,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...U()],ac=()=>[a,M,G],ad=()=>[...B(),P,J,{position:[M,G]}],ae=()=>["no-repeat",{repeat:["","x","y","space","round"]}],af=()=>["auto","cover","contain",Q,F,{size:[M,G]}],ag=()=>[x,N,H],ah=()=>["","none","full",j,M,G],ai=()=>["",v,N,H],aj=()=>["solid","dashed","dotted","double"],ak=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],al=()=>[v,x,P,J],am=()=>["","none",p,M,G],an=()=>["none",v,M,G],ao=()=>["none",v,M,G],ap=()=>[v,M,G],aq=()=>[u,"full",...U()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[y],breakpoint:[y],color:[z],container:[y],"drop-shadow":[y],ease:["in","out","in-out"],font:[E],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[y],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[y],shadow:[y],spacing:["px",v],text:[y],"text-shadow":[y],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",u,G,M,r]}],container:["container"],columns:[{columns:[v,G,M,h]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[w,"auto",M,G]}],basis:[{basis:[u,"full","auto",h,...U()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[v,u,"auto","initial","none",G]}],grow:[{grow:["",v,M,G]}],shrink:[{shrink:["",v,M,G]}],order:[{order:[w,"first","last","none",M,G]}],"grid-cols":[{"grid-cols":W()}],"col-start-end":[{col:X()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":W()}],"row-start-end":[{row:X()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Z()}],"auto-rows":[{"auto-rows":Z()}],gap:[{gap:U()}],"gap-x":[{"gap-x":U()}],"gap-y":[{"gap-y":U()}],"justify-content":[{justify:[...$(),"normal"]}],"justify-items":[{"justify-items":[..._(),"normal"]}],"justify-self":[{"justify-self":["auto",..._()]}],"align-content":[{content:["normal",...$()]}],"align-items":[{items:[..._(),{baseline:["","last"]}]}],"align-self":[{self:["auto",..._(),{baseline:["","last"]}]}],"place-content":[{"place-content":$()}],"place-items":[{"place-items":[..._(),"baseline"]}],"place-self":[{"place-self":["auto",..._()]}],p:[{p:U()}],px:[{px:U()}],py:[{py:U()}],ps:[{ps:U()}],pe:[{pe:U()}],pt:[{pt:U()}],pr:[{pr:U()}],pb:[{pb:U()}],pl:[{pl:U()}],m:[{m:aa()}],mx:[{mx:aa()}],my:[{my:aa()}],ms:[{ms:aa()}],me:[{me:aa()}],mt:[{mt:aa()}],mr:[{mr:aa()}],mb:[{mb:aa()}],ml:[{ml:aa()}],"space-x":[{"space-x":U()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":U()}],"space-y-reverse":["space-y-reverse"],size:[{size:ab()}],w:[{w:[h,"screen",...ab()]}],"min-w":[{"min-w":[h,"screen","none",...ab()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[g]},...ab()]}],h:[{h:["screen","lh",...ab()]}],"min-h":[{"min-h":["screen","lh","none",...ab()]}],"max-h":[{"max-h":["screen","lh",...ab()]}],"font-size":[{text:["base",c,N,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[d,M,I]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",x,G]}],"font-family":[{font:[O,G,b]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[e,M,G]}],"line-clamp":[{"line-clamp":[v,"none",M,I]}],leading:[{leading:[f,...U()]}],"list-image":[{"list-image":["none",M,G]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",M,G]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ac()}],"text-color":[{text:ac()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...aj(),"wavy"]}],"text-decoration-thickness":[{decoration:[v,"from-font","auto",M,H]}],"text-decoration-color":[{decoration:ac()}],"underline-offset":[{"underline-offset":[v,"auto",M,G]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M,G]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",M,G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ad()}],"bg-repeat":[{bg:ae()}],"bg-size":[{bg:af()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},w,M,G],radial:["",M,G],conic:[w,M,G]},R,K]}],"bg-color":[{bg:ac()}],"gradient-from-pos":[{from:ag()}],"gradient-via-pos":[{via:ag()}],"gradient-to-pos":[{to:ag()}],"gradient-from":[{from:ac()}],"gradient-via":[{via:ac()}],"gradient-to":[{to:ac()}],rounded:[{rounded:ah()}],"rounded-s":[{"rounded-s":ah()}],"rounded-e":[{"rounded-e":ah()}],"rounded-t":[{"rounded-t":ah()}],"rounded-r":[{"rounded-r":ah()}],"rounded-b":[{"rounded-b":ah()}],"rounded-l":[{"rounded-l":ah()}],"rounded-ss":[{"rounded-ss":ah()}],"rounded-se":[{"rounded-se":ah()}],"rounded-ee":[{"rounded-ee":ah()}],"rounded-es":[{"rounded-es":ah()}],"rounded-tl":[{"rounded-tl":ah()}],"rounded-tr":[{"rounded-tr":ah()}],"rounded-br":[{"rounded-br":ah()}],"rounded-bl":[{"rounded-bl":ah()}],"border-w":[{border:ai()}],"border-w-x":[{"border-x":ai()}],"border-w-y":[{"border-y":ai()}],"border-w-s":[{"border-s":ai()}],"border-w-e":[{"border-e":ai()}],"border-w-t":[{"border-t":ai()}],"border-w-r":[{"border-r":ai()}],"border-w-b":[{"border-b":ai()}],"border-w-l":[{"border-l":ai()}],"divide-x":[{"divide-x":ai()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ai()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...aj(),"hidden","none"]}],"divide-style":[{divide:[...aj(),"hidden","none"]}],"border-color":[{border:ac()}],"border-color-x":[{"border-x":ac()}],"border-color-y":[{"border-y":ac()}],"border-color-s":[{"border-s":ac()}],"border-color-e":[{"border-e":ac()}],"border-color-t":[{"border-t":ac()}],"border-color-r":[{"border-r":ac()}],"border-color-b":[{"border-b":ac()}],"border-color-l":[{"border-l":ac()}],"divide-color":[{divide:ac()}],"outline-style":[{outline:[...aj(),"none","hidden"]}],"outline-offset":[{"outline-offset":[v,M,G]}],"outline-w":[{outline:["",v,N,H]}],"outline-color":[{outline:ac()}],shadow:[{shadow:["","none",k,S,L]}],"shadow-color":[{shadow:ac()}],"inset-shadow":[{"inset-shadow":["none",m,S,L]}],"inset-shadow-color":[{"inset-shadow":ac()}],"ring-w":[{ring:ai()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ac()}],"ring-offset-w":[{"ring-offset":[v,H]}],"ring-offset-color":[{"ring-offset":ac()}],"inset-ring-w":[{"inset-ring":ai()}],"inset-ring-color":[{"inset-ring":ac()}],"text-shadow":[{"text-shadow":["none",n,S,L]}],"text-shadow-color":[{"text-shadow":ac()}],opacity:[{opacity:[v,M,G]}],"mix-blend":[{"mix-blend":[...ak(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ak()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[v]}],"mask-image-linear-from-pos":[{"mask-linear-from":al()}],"mask-image-linear-to-pos":[{"mask-linear-to":al()}],"mask-image-linear-from-color":[{"mask-linear-from":ac()}],"mask-image-linear-to-color":[{"mask-linear-to":ac()}],"mask-image-t-from-pos":[{"mask-t-from":al()}],"mask-image-t-to-pos":[{"mask-t-to":al()}],"mask-image-t-from-color":[{"mask-t-from":ac()}],"mask-image-t-to-color":[{"mask-t-to":ac()}],"mask-image-r-from-pos":[{"mask-r-from":al()}],"mask-image-r-to-pos":[{"mask-r-to":al()}],"mask-image-r-from-color":[{"mask-r-from":ac()}],"mask-image-r-to-color":[{"mask-r-to":ac()}],"mask-image-b-from-pos":[{"mask-b-from":al()}],"mask-image-b-to-pos":[{"mask-b-to":al()}],"mask-image-b-from-color":[{"mask-b-from":ac()}],"mask-image-b-to-color":[{"mask-b-to":ac()}],"mask-image-l-from-pos":[{"mask-l-from":al()}],"mask-image-l-to-pos":[{"mask-l-to":al()}],"mask-image-l-from-color":[{"mask-l-from":ac()}],"mask-image-l-to-color":[{"mask-l-to":ac()}],"mask-image-x-from-pos":[{"mask-x-from":al()}],"mask-image-x-to-pos":[{"mask-x-to":al()}],"mask-image-x-from-color":[{"mask-x-from":ac()}],"mask-image-x-to-color":[{"mask-x-to":ac()}],"mask-image-y-from-pos":[{"mask-y-from":al()}],"mask-image-y-to-pos":[{"mask-y-to":al()}],"mask-image-y-from-color":[{"mask-y-from":ac()}],"mask-image-y-to-color":[{"mask-y-to":ac()}],"mask-image-radial":[{"mask-radial":[M,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":al()}],"mask-image-radial-to-pos":[{"mask-radial-to":al()}],"mask-image-radial-from-color":[{"mask-radial-from":ac()}],"mask-image-radial-to-color":[{"mask-radial-to":ac()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":B()}],"mask-image-conic-pos":[{"mask-conic":[v]}],"mask-image-conic-from-pos":[{"mask-conic-from":al()}],"mask-image-conic-to-pos":[{"mask-conic-to":al()}],"mask-image-conic-from-color":[{"mask-conic-from":ac()}],"mask-image-conic-to-color":[{"mask-conic-to":ac()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ad()}],"mask-repeat":[{mask:ae()}],"mask-size":[{mask:af()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",M,G]}],filter:[{filter:["","none",M,G]}],blur:[{blur:am()}],brightness:[{brightness:[v,M,G]}],contrast:[{contrast:[v,M,G]}],"drop-shadow":[{"drop-shadow":["","none",o,S,L]}],"drop-shadow-color":[{"drop-shadow":ac()}],grayscale:[{grayscale:["",v,M,G]}],"hue-rotate":[{"hue-rotate":[v,M,G]}],invert:[{invert:["",v,M,G]}],saturate:[{saturate:[v,M,G]}],sepia:[{sepia:["",v,M,G]}],"backdrop-filter":[{"backdrop-filter":["","none",M,G]}],"backdrop-blur":[{"backdrop-blur":am()}],"backdrop-brightness":[{"backdrop-brightness":[v,M,G]}],"backdrop-contrast":[{"backdrop-contrast":[v,M,G]}],"backdrop-grayscale":[{"backdrop-grayscale":["",v,M,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v,M,G]}],"backdrop-invert":[{"backdrop-invert":["",v,M,G]}],"backdrop-opacity":[{"backdrop-opacity":[v,M,G]}],"backdrop-saturate":[{"backdrop-saturate":[v,M,G]}],"backdrop-sepia":[{"backdrop-sepia":["",v,M,G]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":U()}],"border-spacing-x":[{"border-spacing-x":U()}],"border-spacing-y":[{"border-spacing-y":U()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",M,G]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[v,"initial",M,G]}],ease:[{ease:["linear","initial",s,M,G]}],delay:[{delay:[v,M,G]}],animate:[{animate:["none",t,M,G]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[q,M,G]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:an()}],"rotate-x":[{"rotate-x":an()}],"rotate-y":[{"rotate-y":an()}],"rotate-z":[{"rotate-z":an()}],scale:[{scale:ao()}],"scale-x":[{"scale-x":ao()}],"scale-y":[{"scale-y":ao()}],"scale-z":[{"scale-z":ao()}],"scale-3d":["scale-3d"],skew:[{skew:ap()}],"skew-x":[{"skew-x":ap()}],"skew-y":[{"skew-y":ap()}],transform:[{transform:[M,G,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:aq()}],"translate-x":[{"translate-x":aq()}],"translate-y":[{"translate-y":aq()}],"translate-z":[{"translate-z":aq()}],"translate-none":["translate-none"],accent:[{accent:ac()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ac()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",M,G]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",M,G]}],fill:[{fill:["none",...ac()]}],"stroke-w":[{stroke:[v,N,H,I]}],stroke:[{stroke:["none",...ac()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},59156:(a,b)=>{"use strict";b.__esModule=!0,b.default=function(a){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var b=globalThis.Handlebars;a.noConflict=function(){return globalThis.Handlebars===a&&(globalThis.Handlebars=b),a}},a.exports=b.default},60073:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]])},61225:(a,b,c)=>{"use strict";c.d(b,{Eq:()=>j});var d=new WeakMap,e=new WeakMap,f={},g=0,h=function(a){return a&&(a.host||h(a.parentNode))},i=function(a,b,c,i){var j=(Array.isArray(a)?a:[a]).map(function(a){if(b.contains(a))return a;var c=h(a);return c&&b.contains(c)?c:(console.error("aria-hidden",a,"in not contained inside",b,". Doing nothing"),null)}).filter(function(a){return!!a});f[c]||(f[c]=new WeakMap);var k=f[c],l=[],m=new Set,n=new Set(j),o=function(a){!a||m.has(a)||(m.add(a),o(a.parentNode))};j.forEach(o);var p=function(a){!a||n.has(a)||Array.prototype.forEach.call(a.children,function(a){if(m.has(a))p(a);else try{var b=a.getAttribute(i),f=null!==b&&"false"!==b,g=(d.get(a)||0)+1,h=(k.get(a)||0)+1;d.set(a,g),k.set(a,h),l.push(a),1===g&&f&&e.set(a,!0),1===h&&a.setAttribute(c,"true"),f||a.setAttribute(i,"true")}catch(b){console.error("aria-hidden: cannot operate on ",a,b)}})};return p(b),m.clear(),g++,function(){l.forEach(function(a){var b=d.get(a)-1,f=k.get(a)-1;d.set(a,b),k.set(a,f),b||(e.has(a)||a.removeAttribute(i),e.delete(a)),f||a.removeAttribute(c)}),--g||(d=new WeakMap,d=new WeakMap,e=new WeakMap,f={})}},j=function(a,b,c){void 0===c&&(c="data-aria-hidden");var d=Array.from(Array.isArray(a)?a:[a]),e=b||("undefined"==typeof document?null:(Array.isArray(a)?a[0]:a).ownerDocument.body);return e?(d.push.apply(d,Array.from(e.querySelectorAll("[aria-live], script"))),i(d,e,c,"aria-hidden")):function(){return null}}},61494:(a,b,c)=>{"use strict";var d=c(75074),e=c(20452),f=c(65353),g=c(34072),h=c(5887),i=c(21843),j=c(82601),k=c(54453),l=c(8153),m=c(6401),n=function(a,b,c){var d,g=e.getTypeOf(b),k=e.extend(c||{},h);k.date=k.date||new Date,null!==k.compression&&(k.compression=k.compression.toUpperCase()),"string"==typeof k.unixPermissions&&(k.unixPermissions=parseInt(k.unixPermissions,8)),k.unixPermissions&&16384&k.unixPermissions&&(k.dir=!0),k.dosPermissions&&16&k.dosPermissions&&(k.dir=!0),k.dir&&(a=p(a)),k.createFolders&&(d=o(a))&&q.call(this,d,!0);var n="string"===g&&!1===k.binary&&!1===k.base64;c&&void 0!==c.binary||(k.binary=!n),(b instanceof i&&0===b.uncompressedSize||k.dir||!b||0===b.length)&&(k.base64=!1,k.binary=!0,b="",k.compression="STORE",g="string");var r=null;r=b instanceof i||b instanceof f?b:l.isNode&&l.isStream(b)?new m(a,b):e.prepareContent(a,b,k.binary,k.optimizedBinaryString,k.base64);var s=new j(a,r,k);this.files[a]=s},o=function(a){"/"===a.slice(-1)&&(a=a.substring(0,a.length-1));var b=a.lastIndexOf("/");return b>0?a.substring(0,b):""},p=function(a){return"/"!==a.slice(-1)&&(a+="/"),a},q=function(a,b){return b=void 0!==b?b:h.createFolders,a=p(a),this.files[a]||n.call(this,a,null,{dir:!0,createFolders:b}),this.files[a]};function r(a){return"[object RegExp]"===Object.prototype.toString.call(a)}a.exports={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(a){var b,c,d;for(b in this.files)d=this.files[b],(c=b.slice(this.root.length,b.length))&&b.slice(0,this.root.length)===this.root&&a(c,d)},filter:function(a){var b=[];return this.forEach(function(c,d){a(c,d)&&b.push(d)}),b},file:function(a,b,c){if(1==arguments.length)if(r(a)){var d=a;return this.filter(function(a,b){return!b.dir&&d.test(a)})}else{var e=this.files[this.root+a];return e&&!e.dir?e:null}return a=this.root+a,n.call(this,a,b,c),this},folder:function(a){if(!a)return this;if(r(a))return this.filter(function(b,c){return c.dir&&a.test(b)});var b=this.root+a,c=q.call(this,b),d=this.clone();return d.root=c.name,d},remove:function(a){a=this.root+a;var b=this.files[a];if(b||("/"!==a.slice(-1)&&(a+="/"),b=this.files[a]),b&&!b.dir)delete this.files[a];else for(var c=this.filter(function(b,c){return c.name.slice(0,a.length)===a}),d=0;d{"use strict";c.d(b,{Z:()=>i});var d=c(38301),e=c(23312),f=c(6406),g=c(68829),h=c(21124),i=d.forwardRef((a,b)=>{let{container:c,...i}=a,[j,k]=d.useState(!1);(0,g.N)(()=>k(!0),[]);let l=c||j&&globalThis?.document?.body;return l?e.createPortal((0,h.jsx)(f.sG.div,{...i,ref:b}),l):null});i.displayName="Portal"},62253:(a,b,c)=>{var d=c(79428),e=d.Buffer;function f(a,b){for(var c in a)b[c]=a[c]}function g(a,b,c){return e(a,b,c)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?a.exports=d:(f(d,b),b.Buffer=g),f(e,g),g.from=function(a,b,c){if("number"==typeof a)throw TypeError("Argument must not be a number");return e(a,b,c)},g.alloc=function(a,b,c){if("number"!=typeof a)throw TypeError("Argument must be a number");var d=e(a);return void 0!==b?"string"==typeof c?d.fill(b,c):d.fill(b):d.fill(0),d},g.allocUnsafe=function(a){if("number"!=typeof a)throw TypeError("Argument must be a number");return e(a)},g.allocUnsafeSlow=function(a){if("number"!=typeof a)throw TypeError("Argument must be a number");return d.SlowBuffer(a)}},63046:a=>{var b={}.toString;a.exports=Array.isArray||function(a){return"[object Array]"==b.call(a)}},64685:(a,b)=>{"use strict";function c(a){this.string=a}b.__esModule=!0,c.prototype.toString=c.prototype.toHTML=function(){return""+this.string},b.default=c,a.exports=b.default},65353:a=>{"use strict";function b(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}b.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,b){return this._listeners[a].push(b),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,b){if(this._listeners[a])for(var c=0;c "+a:a}},a.exports=b},67025:(a,b)=>{"use strict";b.__esModule=!0,b.default=function(){var a,b={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 1:return f[h-1];case 2:this.$=d.prepareProgram(f[h]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=f[h];break;case 9:this.$={type:"CommentStatement",value:d.stripComment(f[h]),strip:d.stripFlags(f[h],f[h]),loc:d.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:f[h],value:f[h],loc:d.locInfo(this._$)};break;case 11:this.$=d.prepareRawBlock(f[h-2],f[h-1],f[h],this._$);break;case 12:this.$={path:f[h-3],params:f[h-2],hash:f[h-1]};break;case 13:this.$=d.prepareBlock(f[h-3],f[h-2],f[h-1],f[h],!1,this._$);break;case 14:this.$=d.prepareBlock(f[h-3],f[h-2],f[h-1],f[h],!0,this._$);break;case 15:this.$={open:f[h-5],path:f[h-4],params:f[h-3],hash:f[h-2],blockParams:f[h-1],strip:d.stripFlags(f[h-5],f[h])};break;case 16:case 17:this.$={path:f[h-4],params:f[h-3],hash:f[h-2],blockParams:f[h-1],strip:d.stripFlags(f[h-5],f[h])};break;case 18:this.$={strip:d.stripFlags(f[h-1],f[h-1]),program:f[h]};break;case 19:var i=d.prepareBlock(f[h-2],f[h-1],f[h],f[h],!1,this._$),j=d.prepareProgram([i],f[h-1].loc);j.chained=!0,this.$={strip:f[h-2].strip,program:j,chain:!0};break;case 21:this.$={path:f[h-1],strip:d.stripFlags(f[h-2],f[h])};break;case 22:case 23:this.$=d.prepareMustache(f[h-3],f[h-2],f[h-1],f[h-4],d.stripFlags(f[h-4],f[h]),this._$);break;case 24:this.$={type:"PartialStatement",name:f[h-3],params:f[h-2],hash:f[h-1],indent:"",strip:d.stripFlags(f[h-4],f[h]),loc:d.locInfo(this._$)};break;case 25:this.$=d.preparePartialBlock(f[h-2],f[h-1],f[h],this._$);break;case 26:this.$={path:f[h-3],params:f[h-2],hash:f[h-1],strip:d.stripFlags(f[h-4],f[h])};break;case 29:this.$={type:"SubExpression",path:f[h-3],params:f[h-2],hash:f[h-1],loc:d.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:f[h],loc:d.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:d.id(f[h-2]),value:f[h],loc:d.locInfo(this._$)};break;case 32:this.$=d.id(f[h-1]);break;case 35:this.$={type:"StringLiteral",value:f[h],original:f[h],loc:d.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(f[h]),original:Number(f[h]),loc:d.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===f[h],original:"true"===f[h],loc:d.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:d.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:d.locInfo(this._$)};break;case 42:this.$=d.preparePath(!0,f[h],this._$);break;case 43:this.$=d.preparePath(!1,f[h],this._$);break;case 44:f[h-2].push({part:d.id(f[h]),original:f[h],separator:f[h-1]}),this.$=f[h-2];break;case 45:this.$=[{part:d.id(f[h]),original:f[h]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:f[h-1].push(f[h]);break;case 98:case 100:this.$=[f[h]]}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(a,b){throw Error(a)},parse:function(a){var b=this,c=[0],d=[null],e=[],f=this.table,g="",h=0,i=0,j=0;this.lexer.setInput(a),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var k=this.lexer.yylloc;e.push(k);var l=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var m,n,o,p,q,r,s,t,u,v={};;){if(o=c[c.length-1],this.defaultActions[o]?p=this.defaultActions[o]:(null==m&&(m=function(){var a;return"number"!=typeof(a=b.lexer.lex()||1)&&(a=b.symbols_[a]||a),a}()),p=f[o]&&f[o][m]),void 0===p||!p.length||!p[0]){var w="";if(!j){for(r in u=[],f[o])this.terminals_[r]&&r>2&&u.push("'"+this.terminals_[r]+"'");w=this.lexer.showPosition?"Parse error on line "+(h+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+u.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(w,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:k,expected:u})}}if(p[0]instanceof Array&&p.length>1)throw Error("Parse Error: multiple actions possible at state: "+o+", token: "+m);switch(p[0]){case 1:c.push(m),d.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(p[1]),m=null,n?(m=n,n=null):(i=this.lexer.yyleng,g=this.lexer.yytext,h=this.lexer.yylineno,k=this.lexer.yylloc,j>0&&j--);break;case 2:if(s=this.productions_[p[1]][1],v.$=d[d.length-s],v._$={first_line:e[e.length-(s||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(s||1)].first_column,last_column:e[e.length-1].last_column},l&&(v._$.range=[e[e.length-(s||1)].range[0],e[e.length-1].range[1]]),void 0!==(q=this.performAction.call(v,g,i,h,this.yy,p[1],d,e)))return q;s&&(c=c.slice(0,-1*s*2),d=d.slice(0,-1*s),e=e.slice(0,-1*s)),c.push(this.productions_[p[1]][0]),d.push(v.$),e.push(v._$),t=f[c[c.length-2]][c[c.length-1]],c.push(t);break;case 3:return!0}}return!0}};function c(){this.yy={}}return(a={EOF:1,parseError:function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b-1),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this},more:function(){return this._more=!0,this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e,f=this._currentRules(),g=0;gb[0].length)||(b=c,d=g,this.options.flex));g++);return b?((e=b[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-e[e.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],a=this.performAction.call(this,this.yy,this,f[d],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)?a:void 0:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return void 0!==a?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)}}).options={},a.performAction=function(a,b,c,d){function e(a,c){return b.yytext=b.yytext.substring(a,b.yyleng-c+a)}switch(c){case 0:if("\\\\"===b.yytext.slice(-2)?(e(0,1),this.begin("mu")):"\\"===b.yytext.slice(-1)?(e(0,1),this.begin("emu")):this.begin("mu"),b.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:if(this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1])return 15;return e(5,9),"END_RAW_BLOCK";case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(b.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return b.yytext=e(1,2).replace(/\\"/g,'"'),80;case 32:return b.yytext=e(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return b.yytext=b.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},a.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],a.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},b.lexer=a,c.prototype=b,b.Parser=c,new c}(),a.exports=b.default},67055:(a,b,c)=>{"use strict";var d=c(65353),e=c(20452);function f(a){d.call(this,"ConvertWorker to "+a),this.destType=a}e.inherits(f,d),f.prototype.processChunk=function(a){this.push({data:e.transformTo(this.destType,a.data),meta:a.meta})},a.exports=f},68829:(a,b,c)=>{"use strict";c.d(b,{N:()=>e});var d=c(38301),e=globalThis?.document?d.useLayoutEffect:()=>{}},69082:(a,b,c)=>{function d(a){return Object.prototype.toString.call(a)}b.isArray=function(a){return Array.isArray?Array.isArray(a):"[object Array]"===d(a)},b.isBoolean=function(a){return"boolean"==typeof a},b.isNull=function(a){return null===a},b.isNullOrUndefined=function(a){return null==a},b.isNumber=function(a){return"number"==typeof a},b.isString=function(a){return"string"==typeof a},b.isSymbol=function(a){return"symbol"==typeof a},b.isUndefined=function(a){return void 0===a},b.isRegExp=function(a){return"[object RegExp]"===d(a)},b.isObject=function(a){return"object"==typeof a&&null!==a},b.isDate=function(a){return"[object Date]"===d(a)},b.isError=function(a){return"[object Error]"===d(a)||a instanceof Error},b.isFunction=function(a){return"function"==typeof a},b.isPrimitive=function(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||void 0===a},b.isBuffer=c(79428).Buffer.isBuffer},69720:(a,b,c)=>{a.exports=c(27910)},69998:(a,b,c)=>{"use strict";c.d(b,{n:()=>l});var d=c(38301),e=c(92808),f=c(6406),g=c(71700),h=c(21124),i="focusScope.autoFocusOnMount",j="focusScope.autoFocusOnUnmount",k={bubbles:!1,cancelable:!0},l=d.forwardRef((a,b)=>{let{loop:c=!1,trapped:l=!1,onMountAutoFocus:q,onUnmountAutoFocus:r,...s}=a,[t,u]=d.useState(null),v=(0,g.c)(q),w=(0,g.c)(r),x=d.useRef(null),y=(0,e.s)(b,a=>u(a)),z=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(l){let a=function(a){if(z.paused||!t)return;let b=a.target;t.contains(b)?x.current=b:o(x.current,{select:!0})},b=function(a){if(z.paused||!t)return;let b=a.relatedTarget;null!==b&&(t.contains(b)||o(x.current,{select:!0}))};document.addEventListener("focusin",a),document.addEventListener("focusout",b);let c=new MutationObserver(function(a){if(document.activeElement===document.body)for(let b of a)b.removedNodes.length>0&&o(t)});return t&&c.observe(t,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",a),document.removeEventListener("focusout",b),c.disconnect()}}},[l,t,z.paused]),d.useEffect(()=>{if(t){p.add(z);let a=document.activeElement;if(!t.contains(a)){let b=new CustomEvent(i,k);t.addEventListener(i,v),t.dispatchEvent(b),b.defaultPrevented||(function(a,{select:b=!1}={}){let c=document.activeElement;for(let d of a)if(o(d,{select:b}),document.activeElement!==c)return}(m(t).filter(a=>"A"!==a.tagName),{select:!0}),document.activeElement===a&&o(t))}return()=>{t.removeEventListener(i,v),setTimeout(()=>{let b=new CustomEvent(j,k);t.addEventListener(j,w),t.dispatchEvent(b),b.defaultPrevented||o(a??document.body,{select:!0}),t.removeEventListener(j,w),p.remove(z)},0)}}},[t,v,w,z]);let A=d.useCallback(a=>{if(!c&&!l||z.paused)return;let b="Tab"===a.key&&!a.altKey&&!a.ctrlKey&&!a.metaKey,d=document.activeElement;if(b&&d){let b=a.currentTarget,[e,f]=function(a){let b=m(a);return[n(b,a),n(b.reverse(),a)]}(b);e&&f?a.shiftKey||d!==f?a.shiftKey&&d===e&&(a.preventDefault(),c&&o(f,{select:!0})):(a.preventDefault(),c&&o(e,{select:!0})):d===b&&a.preventDefault()}},[c,l,z.paused]);return(0,h.jsx)(f.sG.div,{tabIndex:-1,...s,ref:y,onKeyDown:A})});function m(a){let b=[],c=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{let b="INPUT"===a.tagName&&"hidden"===a.type;return a.disabled||a.hidden||b?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;c.nextNode();)b.push(c.currentNode);return b}function n(a,b){for(let c of a)if(!function(a,{upTo:b}){if("hidden"===getComputedStyle(a).visibility)return!0;for(;a&&(void 0===b||a!==b);){if("none"===getComputedStyle(a).display)return!0;a=a.parentElement}return!1}(c,{upTo:b}))return c}function o(a,{select:b=!1}={}){if(a&&a.focus){var c;let d=document.activeElement;a.focus({preventScroll:!0}),a!==d&&(c=a)instanceof HTMLInputElement&&"select"in c&&b&&a.select()}}l.displayName="FocusScope";var p=function(){let a=[];return{add(b){let c=a[0];b!==c&&c?.pause(),(a=q(a,b)).unshift(b)},remove(b){a=q(a,b),a[0]?.resume()}}}();function q(a,b){let c=[...a],d=c.indexOf(b);return -1!==d&&c.splice(d,1),c}},70904:(a,b,c)=>{"use strict";c.d(b,{Oh:()=>f});var d=c(38301),e=0;function f(){d.useEffect(()=>{let a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??g()),document.body.insertAdjacentElement("beforeend",a[1]??g()),e++,()=>{1===e&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),e--}},[])}function g(){let a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}},71613:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},71700:(a,b,c)=>{"use strict";c.d(b,{c:()=>e});var d=c(38301);function e(a){let b=d.useRef(a);return d.useEffect(()=>{b.current=a}),d.useMemo(()=>(...a)=>b.current?.(...a),[])}},72380:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},74758:(a,b)=>{"use strict";b.__esModule=!0,b.default=function(a){a.registerHelper("lookup",function(a,b,c){return a?c.lookupProperty(a,b):a})},a.exports=b.default},75074:(a,b,c)=>{"use strict";for(var d=c(20452),e=c(9926),f=c(8153),g=c(65353),h=Array(256),i=0;i<256;i++)h[i]=i>=252?6:i>=248?5:i>=240?4:i>=224?3:i>=192?2:1;h[254]=h[254]=1;var j=function(a){var b,c,d,f,g,h=a.length,i=0;for(f=0;f>>6:(c<65536?b[g++]=224|c>>>12:(b[g++]=240|c>>>18,b[g++]=128|c>>>12&63),b[g++]=128|c>>>6&63),b[g++]=128|63&c);return b},k=function(a,b){var c;for((b=b||a.length)>a.length&&(b=a.length),c=b-1;c>=0&&(192&a[c])==128;)c--;return c<0||0===c?b:c+h[a[c]]>b?c:b},l=function(a){var b,c,e,f,g=a.length,i=Array(2*g);for(c=0,b=0;b4){i[c++]=65533,b+=f-1;continue}for(e&=2===f?31:3===f?15:7;f>1&&b1){i[c++]=65533;continue}e<65536?i[c++]=e:(e-=65536,i[c++]=55296|e>>10&1023,i[c++]=56320|1023&e)}return i.length!==c&&(i.subarray?i=i.subarray(0,c):i.length=c),d.applyFromCharCode(i)};function m(){g.call(this,"utf-8 decode"),this.leftOver=null}function n(){g.call(this,"utf-8 encode")}b.utf8encode=function(a){return e.nodebuffer?f.newBufferFrom(a,"utf-8"):j(a)},b.utf8decode=function(a){return e.nodebuffer?d.transformTo("nodebuffer",a).toString("utf-8"):l(a=d.transformTo(e.uint8array?"uint8array":"array",a))},d.inherits(m,g),m.prototype.processChunk=function(a){var c=d.transformTo(e.uint8array?"uint8array":"array",a.data);if(this.leftOver&&this.leftOver.length){if(e.uint8array){var f=c;(c=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),c.set(f,this.leftOver.length)}else c=this.leftOver.concat(c);this.leftOver=null}var g=k(c),h=c;g!==c.length&&(e.uint8array?(h=c.subarray(0,g),this.leftOver=c.subarray(g,c.length)):(h=c.slice(0,g),this.leftOver=c.slice(g,c.length))),this.push({data:b.utf8decode(h),meta:a.meta})},m.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:b.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},b.Utf8DecodeWorker=m,d.inherits(n,g),n.prototype.processChunk=function(a){this.push({data:b.utf8encode(a.data),meta:a.meta})},b.Utf8EncodeWorker=n},75219:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},75234:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},75441:(a,b,c)=>{"use strict";c.d(b,{bL:()=>w,zi:()=>x});var d=c(38301),e=c(87868),f=c(92808),g=c(2332),h=c(11720),i=c(10350),j=c(96386),k=c(6406),l=c(21124),m="Switch",[n,o]=(0,g.A)(m),[p,q]=n(m),r=d.forwardRef((a,b)=>{let{__scopeSwitch:c,name:g,checked:i,defaultChecked:j,required:n,disabled:o,value:q="on",onCheckedChange:r,form:s,...t}=a,[w,x]=d.useState(null),y=(0,f.s)(b,a=>x(a)),z=d.useRef(!1),A=!w||s||!!w.closest("form"),[B,C]=(0,h.i)({prop:i,defaultProp:j??!1,onChange:r,caller:m});return(0,l.jsxs)(p,{scope:c,checked:B,disabled:o,children:[(0,l.jsx)(k.sG.button,{type:"button",role:"switch","aria-checked":B,"aria-required":n,"data-state":v(B),"data-disabled":o?"":void 0,disabled:o,value:q,...t,ref:y,onClick:(0,e.mK)(a.onClick,a=>{C(a=>!a),A&&(z.current=a.isPropagationStopped(),z.current||a.stopPropagation())})}),A&&(0,l.jsx)(u,{control:w,bubbles:!z.current,name:g,value:q,checked:B,required:n,disabled:o,form:s,style:{transform:"translateX(-100%)"}})]})});r.displayName=m;var s="SwitchThumb",t=d.forwardRef((a,b)=>{let{__scopeSwitch:c,...d}=a,e=q(s,c);return(0,l.jsx)(k.sG.span,{"data-state":v(e.checked),"data-disabled":e.disabled?"":void 0,...d,ref:b})});t.displayName=s;var u=d.forwardRef(({__scopeSwitch:a,control:b,checked:c,bubbles:e=!0,...g},h)=>{let k=d.useRef(null),m=(0,f.s)(k,h),n=(0,i.Z)(c),o=(0,j.X)(b);return d.useEffect(()=>{let a=k.current;if(!a)return;let b=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(n!==c&&b){let d=new Event("click",{bubbles:e});b.call(a,c),a.dispatchEvent(d)}},[n,c,e]),(0,l.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:c,...g,tabIndex:-1,ref:m,style:{...g.style,...o,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function v(a){return a?"checked":"unchecked"}u.displayName="SwitchBubbleInput";var w=r,x=t},75465:(a,b,c)=>{"use strict";b.__esModule=!0;var d=c(50281),e=function(a){return a&&a.__esModule?a:{default:a}}(c(1793));b.default=function(a){a.registerHelper("each",function(a,b){if(!b)throw new e.default("Must pass iterator to #each");var c,f=b.fn,g=b.inverse,h=0,i="",j=void 0,k=void 0;function l(b,c,e){j&&(j.key=b,j.index=c,j.first=0===c,j.last=!!e,k&&(j.contextPath=k+b)),i+=f(a[b],{data:j,blockParams:d.blockParams([a[b],b],[k+b,null])})}if(b.data&&b.ids&&(k=d.appendContextPath(b.data.contextPath,b.ids[0])+"."),d.isFunction(a)&&(a=a.call(this)),b.data&&(j=d.createFrame(b.data)),a&&"object"==typeof a)if(d.isArray(a))for(var m=a.length;h{"use strict";c.d(b,{B:()=>i});var d,e=c(38301),f=c(68829),g=(d||(d=c.t(e,2)))[" useId ".trim().toString()]||(()=>void 0),h=0;function i(a){let[b,c]=e.useState(g());return(0,f.N)(()=>{a||c(a=>a??String(h++))},[a]),a||(b?`radix-${b}`:"")}},76137:a=>{"use strict";a.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},76824:(a,b,c)=>{"use strict";b.__esModule=!0,b.checkRevision=function(a){var b=a&&a[0]||1,c=f.COMPILER_REVISION;if(!(b>=f.LAST_COMPATIBLE_COMPILER_REVISION)||!(b<=f.COMPILER_REVISION))if(b{"use strict";a.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},78406:a=>{"use strict";global.MutationObserver||global.WebKitMutationObserver;var b,c=function(){process.nextTick(e)},d=[];function e(){b=!0;for(var a,c,e=d.length;e;){for(c=d,d=[],a=-1;++a{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},79944:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},80451:(a,b)=>{"use strict";b.LOCAL_FILE_HEADER="PK\x03\x04",b.CENTRAL_FILE_HEADER="PK\x01\x02",b.CENTRAL_DIRECTORY_END="PK\x05\x06",b.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",b.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",b.DATA_DESCRIPTOR="PK\x07\b"},82042:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},82601:(a,b,c)=>{"use strict";var d=c(34072),e=c(32970),f=c(75074),g=c(21843),h=c(65353),i=function(a,b,c){this.name=a,this.dir=c.dir,this.date=c.date,this.comment=c.comment,this.unixPermissions=c.unixPermissions,this.dosPermissions=c.dosPermissions,this._data=b,this._dataBinary=c.binary,this.options={compression:c.compression,compressionOptions:c.compressionOptions}};i.prototype={internalStream:function(a){var b=null,c="string";try{if(!a)throw Error("No output type specified.");c=a.toLowerCase();var e="string"===c||"text"===c;("binarystring"===c||"text"===c)&&(c="string"),b=this._decompressWorker();var g=!this._dataBinary;g&&!e&&(b=b.pipe(new f.Utf8EncodeWorker)),!g&&e&&(b=b.pipe(new f.Utf8DecodeWorker))}catch(a){(b=new h("error")).error(a)}return new d(b,c,"")},async:function(a,b){return this.internalStream(a).accumulate(b)},nodeStream:function(a,b){return this.internalStream(a||"nodebuffer").toNodejsStream(b)},_compressWorker:function(a,b){if(this._data instanceof g&&this._data.compression.magic===a.magic)return this._data.getCompressedWorker();var c=this._decompressWorker();return this._dataBinary||(c=c.pipe(new f.Utf8EncodeWorker)),g.createWorkerFrom(c,a,b)},_decompressWorker:function(){return this._data instanceof g?this._data.getContentWorker():this._data instanceof h?this._data:new e(this._data)}};for(var j=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],k=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},l=0;l{"use strict";var d=c(38590);function e(a){d.call(this,a)}c(20452).inherits(e,d),e.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},e.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},e.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},e.prototype.readData=function(a){this.checkOffset(a);var b=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,b},a.exports=e},84220:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]])},85009:(a,b,c)=>{"use strict";c.d(b,{Qg:()=>g,bL:()=>i});var d=c(38301),e=c(6406),f=c(21124),g=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),h=d.forwardRef((a,b)=>(0,f.jsx)(e.sG.span,{...a,ref:b,style:{...g,...a.style}}));h.displayName="VisuallyHidden";var i=h},85351:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},87732:(a,b)=>{"use strict";b.__esModule=!0;var c={helpers:{helperExpression:function(a){return"SubExpression"===a.type||("MustacheStatement"===a.type||"BlockStatement"===a.type)&&!!(a.params&&a.params.length||a.hash)},scopedId:function(a){return/^\.|this\b/.test(a.original)},simpleId:function(a){return 1===a.parts.length&&!c.helpers.scopedId(a)&&!a.depth}}};b.default=c,a.exports=b.default},87868:(a,b,c)=>{"use strict";function d(a,b,{checkForDefaultPrevented:c=!0}={}){return function(d){if(a?.(d),!1===c||!d.defaultPrevented)return b?.(d)}}c.d(b,{mK:()=>d}),"undefined"!=typeof window&&window.document&&window.document.createElement},88285:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},88293:(a,b,c)=>{"use strict";function d(a){return a&&a.__esModule?a:{default:a}}b.__esModule=!0,b.registerDefaultHelpers=function(a){e.default(a),f.default(a),g.default(a),h.default(a),i.default(a),j.default(a),k.default(a)},b.moveHelperToHooks=function(a,b,c){a.helpers[b]&&(a.hooks[b]=a.helpers[b],c||delete a.helpers[b])};var e=d(c(89113)),f=d(c(75465)),g=d(c(49241)),h=d(c(57623)),i=d(c(89580)),j=d(c(74758)),k=d(c(93540))},89113:(a,b,c)=>{"use strict";b.__esModule=!0;var d=c(50281);b.default=function(a){a.registerHelper("blockHelperMissing",function(b,c){var e=c.inverse,f=c.fn;if(!0===b)return f(this);if(!1===b||null==b)return e(this);if(d.isArray(b))if(b.length>0)return c.ids&&(c.ids=[c.name]),a.helpers.each(b,c);else return e(this);if(c.data&&c.ids){var g=d.createFrame(c.data);g.contextPath=d.appendContextPath(c.data.contextPath,c.name),c={data:g}}return f(b,c)})},a.exports=b.default},89339:(a,b,c)=>{"use strict";c.d(b,{C1:()=>x,bL:()=>v});var d=c(38301),e=c(92808),f=c(2332),g=c(87868),h=c(11720),i=c(10350),j=c(96386),k=c(29988),l=c(6406),m=c(21124),n="Checkbox",[o,p]=(0,f.A)(n),[q,r]=o(n);function s(a){let{__scopeCheckbox:b,checked:c,children:e,defaultChecked:f,disabled:g,form:i,name:j,onCheckedChange:k,required:l,value:o="on",internal_do_not_use_render:p}=a,[r,s]=(0,h.i)({prop:c,defaultProp:f??!1,onChange:k,caller:n}),[t,u]=d.useState(null),[v,w]=d.useState(null),x=d.useRef(!1),y=!t||!!i||!!t.closest("form"),z={checked:r,disabled:g,setChecked:s,control:t,setControl:u,name:j,form:i,value:o,hasConsumerStoppedPropagationRef:x,required:l,defaultChecked:!A(f)&&f,isFormControl:y,bubbleInput:v,setBubbleInput:w};return(0,m.jsx)(q,{scope:b,...z,children:"function"==typeof p?p(z):e})}var t="CheckboxTrigger",u=d.forwardRef(({__scopeCheckbox:a,onKeyDown:b,onClick:c,...f},h)=>{let{control:i,value:j,disabled:k,checked:n,required:o,setControl:p,setChecked:q,hasConsumerStoppedPropagationRef:s,isFormControl:u,bubbleInput:v}=r(t,a),w=(0,e.s)(h,p),x=d.useRef(n);return d.useEffect(()=>{let a=i?.form;if(a){let b=()=>q(x.current);return a.addEventListener("reset",b),()=>a.removeEventListener("reset",b)}},[i,q]),(0,m.jsx)(l.sG.button,{type:"button",role:"checkbox","aria-checked":A(n)?"mixed":n,"aria-required":o,"data-state":B(n),"data-disabled":k?"":void 0,disabled:k,value:j,...f,ref:w,onKeyDown:(0,g.mK)(b,a=>{"Enter"===a.key&&a.preventDefault()}),onClick:(0,g.mK)(c,a=>{q(a=>!!A(a)||!a),v&&u&&(s.current=a.isPropagationStopped(),s.current||a.stopPropagation())})})});u.displayName=t;var v=d.forwardRef((a,b)=>{let{__scopeCheckbox:c,name:d,checked:e,defaultChecked:f,required:g,disabled:h,value:i,onCheckedChange:j,form:k,...l}=a;return(0,m.jsx)(s,{__scopeCheckbox:c,checked:e,defaultChecked:f,disabled:h,required:g,onCheckedChange:j,name:d,form:k,value:i,internal_do_not_use_render:({isFormControl:a})=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(u,{...l,ref:b,__scopeCheckbox:c}),a&&(0,m.jsx)(z,{__scopeCheckbox:c})]})})});v.displayName=n;var w="CheckboxIndicator",x=d.forwardRef((a,b)=>{let{__scopeCheckbox:c,forceMount:d,...e}=a,f=r(w,c);return(0,m.jsx)(k.C,{present:d||A(f.checked)||!0===f.checked,children:(0,m.jsx)(l.sG.span,{"data-state":B(f.checked),"data-disabled":f.disabled?"":void 0,...e,ref:b,style:{pointerEvents:"none",...a.style}})})});x.displayName=w;var y="CheckboxBubbleInput",z=d.forwardRef(({__scopeCheckbox:a,...b},c)=>{let{control:f,hasConsumerStoppedPropagationRef:g,checked:h,defaultChecked:k,required:n,disabled:o,name:p,value:q,form:s,bubbleInput:t,setBubbleInput:u}=r(y,a),v=(0,e.s)(c,u),w=(0,i.Z)(h),x=(0,j.X)(f);d.useEffect(()=>{if(!t)return;let a=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,b=!g.current;if(w!==h&&a){let c=new Event("click",{bubbles:b});t.indeterminate=A(h),a.call(t,!A(h)&&h),t.dispatchEvent(c)}},[t,w,h,g]);let z=d.useRef(!A(h)&&h);return(0,m.jsx)(l.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:k??z.current,required:n,disabled:o,name:p,value:q,form:s,...b,tabIndex:-1,ref:v,style:{...b.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function A(a){return"indeterminate"===a}function B(a){return A(a)?"indeterminate":a?"checked":"unchecked"}z.displayName=y},89580:(a,b)=>{"use strict";b.__esModule=!0,b.default=function(a){a.registerHelper("log",function(){for(var b=[void 0],c=arguments[arguments.length-1],d=0;d{"use strict";b.__esModule=!0,b.createProtoAccessControl=function(a){var b=Object.create(null);b.constructor=!1,b.__defineGetter__=!1,b.__defineSetter__=!1,b.__lookupGetter__=!1;var c=Object.create(null);return c.__proto__=!1,{properties:{whitelist:d.createNewLookupObject(c,a.allowedProtoProperties),defaultValue:a.allowProtoPropertiesByDefault},methods:{whitelist:d.createNewLookupObject(b,a.allowedProtoMethods),defaultValue:a.allowProtoMethodsByDefault}}},b.resultIsAllowed=function(a,b,c){return"function"==typeof a?g(b.methods,c):g(b.properties,c)},b.resetLoggedProperties=function(){Object.keys(f).forEach(function(a){delete f[a]})};var d=c(56898),e=function(a){return a&&a.__esModule?a:{default:a}}(c(95050)),f=Object.create(null);function g(a,b){var c;return void 0!==a.whitelist[b]?!0===a.whitelist[b]:void 0!==a.defaultValue?a.defaultValue:(!0!==f[c=b]&&(f[c]=!0,e.default.log("error",'Handlebars: Access has been denied to resolve the property "'+c+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details')),!1)}},89872:(a,b,c)=>{"use strict";b.__esModule=!0;var d=c(50281),e=void 0;function f(a,b,c){if(d.isArray(a)){for(var e=[],f=0,g=a.length;f{"use strict";a.exports=function(a,b,c,d){for(var e=65535&a,f=a>>>16&65535,g=0;0!==c;){g=c>2e3?2e3:c,c-=g;do f=f+(e=e+b[d++]|0)|0;while(--g);e%=65521,f%=65521}return e|f<<16}},91292:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(23339).A)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},92592:(a,b,c)=>{"use strict";var d=c(20452),e=c(65353);function f(a){e.call(this,"DataLengthProbe for "+a),this.propName=a,this.withStreamInfo(a,0)}d.inherits(f,e),f.prototype.processChunk=function(a){if(a){var b=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=b+a.data.length}e.prototype.processChunk.call(this,a)},a.exports=f},92808:(a,b,c)=>{"use strict";c.d(b,{s:()=>g,t:()=>f});var d=c(38301);function e(a,b){if("function"==typeof a)return a(b);null!=a&&(a.current=b)}function f(...a){return b=>{let c=!1,d=a.map(a=>{let d=e(a,b);return c||"function"!=typeof d||(c=!0),d});if(c)return()=>{for(let b=0;b{"use strict";b.__esModule=!0;var d=c(50281),e=function(a){return a&&a.__esModule?a:{default:a}}(c(1793));b.default=function(a){a.registerHelper("with",function(a,b){if(2!=arguments.length)throw new e.default("#with requires exactly one argument");d.isFunction(a)&&(a=a.call(this));var c=b.fn;if(d.isEmpty(a))return b.inverse(this);var f=b.data;return b.data&&b.ids&&((f=d.createFrame(b.data)).contextPath=d.appendContextPath(b.data.contextPath,b.ids[0])),c(a,{data:f,blockParams:d.blockParams([a],[f&&f.contextPath])})})},a.exports=b.default},93872:(a,b,c)=>{"use strict";a.exports=f;var d=c(99438),e=Object.create(c(69082));function f(a){if(!(this instanceof f))return new f(a);d.call(this,a)}e.inherits=c(48985),e.inherits(f,d),f.prototype._transform=function(a,b,c){c(null,a)}},93918:(a,b,c)=>{"use strict";var d=c(20452),e=c(65353),f=c(75074),g=c(35310),h=c(80451),i=function(a,b){var c,d="";for(c=0;c>>=8;return d},j=function(a,b){var c=a;return a||(c=b?16893:33204),(65535&c)<<16},k=function(a,b,c,e,k,l){var m,n,o=a.file,p=a.compression,q=l!==f.utf8encode,r=d.transformTo("string",l(o.name)),s=d.transformTo("string",f.utf8encode(o.name)),t=o.comment,u=d.transformTo("string",l(t)),v=d.transformTo("string",f.utf8encode(t)),w=s.length!==o.name.length,x=v.length!==t.length,y="",z="",A="",B=o.dir,C=o.date,D={crc32:0,compressedSize:0,uncompressedSize:0};(!b||c)&&(D.crc32=a.crc32,D.compressedSize=a.compressedSize,D.uncompressedSize=a.uncompressedSize);var E=0;b&&(E|=8),!q&&(w||x)&&(E|=2048);var F=0,G=0;(B&&(F|=16),"UNIX"===k)?(G=798,F|=j(o.unixPermissions,B)):(G=20,F|=63&(o.dosPermissions||0)),m=(C.getUTCHours()<<6|C.getUTCMinutes())<<5|C.getUTCSeconds()/2,n=(C.getUTCFullYear()-1980<<4|C.getUTCMonth()+1)<<5|C.getUTCDate(),w&&(z=i(1,1)+i(g(r),4)+s,y+="up"+i(z.length,2)+z),x&&(A=i(1,1)+i(g(u),4)+v,y+="uc"+i(A.length,2)+A);var H="";return H+="\n\0",H+=i(E,2),H+=p.magic,H+=i(m,2),H+=i(n,2),H+=i(D.crc32,4),H+=i(D.compressedSize,4),H+=i(D.uncompressedSize,4),H+=i(r.length,2),H+=i(y.length,2),{fileRecord:h.LOCAL_FILE_HEADER+H+r+y,dirRecord:h.CENTRAL_FILE_HEADER+i(G,2)+H+i(u.length,2)+"\0\0\0\0"+i(F,4)+i(e,4)+r+y+u}},l=function(a,b,c,e,f){var g=d.transformTo("string",f(e));return h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(a,2)+i(a,2)+i(b,4)+i(c,4)+i(g.length,2)+g},m=function(a){return h.DATA_DESCRIPTOR+i(a.crc32,4)+i(a.compressedSize,4)+i(a.uncompressedSize,4)};function n(a,b,c,d){e.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=b,this.zipPlatform=c,this.encodeFileName=d,this.streamFiles=a,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}d.inherits(n,e),n.prototype.push=function(a){var b=a.meta.percent||0,c=this.entriesCount,d=this._sources.length;this.accumulate?this.contentBuffer.push(a):(this.bytesWritten+=a.data.length,e.prototype.push.call(this,{data:a.data,meta:{currentFile:this.currentFile,percent:c?(b+100*(c-d-1))/c:100}}))},n.prototype.openedSource=function(a){this.currentSourceOffset=this.bytesWritten,this.currentFile=a.file.name;var b=this.streamFiles&&!a.file.dir;if(b){var c=k(a,b,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:c.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(a){this.accumulate=!1;var b=this.streamFiles&&!a.file.dir,c=k(a,b,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(c.dirRecord),b)this.push({data:m(a),meta:{percent:100}});else for(this.push({data:c.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var a=this.bytesWritten,b=0;b{"use strict";b.__esModule=!0;var d=c(50281),e={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(a){if("string"==typeof a){var b=d.indexOf(e.methodMap,a.toLowerCase());a=b>=0?b:parseInt(a,10)}return a},log:function(a){if(a=e.lookupLevel(a),"undefined"!=typeof console&&e.lookupLevel(e.level)<=a){var b=e.methodMap[a];console[b]||(b="log");for(var c=arguments.length,d=Array(c>1?c-1:0),f=1;f{"use strict";var d=c(12778).Readable;function e(a,b,c){d.call(this,b),this._helper=a;var e=this;a.on("data",function(a,b){e.push(a)||e._helper.pause(),c&&c(b)}).on("error",function(a){e.emit("error",a)}).on("end",function(){e.push(null)})}c(20452).inherits(e,d),e.prototype._read=function(){this._helper.resume()},a.exports=e},96386:(a,b,c)=>{"use strict";c.d(b,{X:()=>f});var d=c(38301),e=c(68829);function f(a){let[b,c]=d.useState(void 0);return(0,e.N)(()=>{if(a){c({width:a.offsetWidth,height:a.offsetHeight});let b=new ResizeObserver(b=>{let d,e;if(!Array.isArray(b)||!b.length)return;let f=b[0];if("borderBoxSize"in f){let a=f.borderBoxSize,b=Array.isArray(a)?a[0]:a;d=b.inlineSize,e=b.blockSize}else d=a.offsetWidth,e=a.offsetHeight;c({width:d,height:e})});return b.observe(a,{box:"border-box"}),()=>b.unobserve(a)}c(void 0)},[a]),b}},96425:(a,b,c)=>{"use strict";c.d(b,{DX:()=>h,Dc:()=>j,TL:()=>g});var d=c(38301),e=c(92808),f=c(21124);function g(a){let b=function(a){let b=d.forwardRef((a,b)=>{let{children:c,...f}=a;if(d.isValidElement(c)){var g;let a,h,i=(g=c,(h=(a=Object.getOwnPropertyDescriptor(g.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?g.ref:(h=(a=Object.getOwnPropertyDescriptor(g,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?g.props.ref:g.props.ref||g.ref),j=function(a,b){let c={...b};for(let d in b){let e=a[d],f=b[d];/^on[A-Z]/.test(d)?e&&f?c[d]=(...a)=>{let b=f(...a);return e(...a),b}:e&&(c[d]=e):"style"===d?c[d]={...e,...f}:"className"===d&&(c[d]=[e,f].filter(Boolean).join(" "))}return{...a,...c}}(f,c.props);return c.type!==d.Fragment&&(j.ref=b?(0,e.t)(b,i):i),d.cloneElement(c,j)}return d.Children.count(c)>1?d.Children.only(null):null});return b.displayName=`${a}.SlotClone`,b}(a),c=d.forwardRef((a,c)=>{let{children:e,...g}=a,h=d.Children.toArray(e),i=h.find(k);if(i){let a=i.props.children,e=h.map(b=>b!==i?b:d.Children.count(a)>1?d.Children.only(null):d.isValidElement(a)?a.props.children:null);return(0,f.jsx)(b,{...g,ref:c,children:d.isValidElement(a)?d.cloneElement(a,void 0,e):null})}return(0,f.jsx)(b,{...g,ref:c,children:e})});return c.displayName=`${a}.Slot`,c}var h=g("Slot"),i=Symbol("radix.slottable");function j(a){let b=({children:a})=>(0,f.jsx)(f.Fragment,{children:a});return b.displayName=`${a}.Slottable`,b.__radixId=i,b}function k(a){return d.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===i}},98164:(a,b,c)=>{"use strict";var d=c(43613),e=!0,f=!0;try{String.fromCharCode.apply(null,[0])}catch(a){e=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(a){f=!1}for(var g=new d.Buf8(256),h=0;h<256;h++)g[h]=h>=252?6:h>=248?5:h>=240?4:h>=224?3:h>=192?2:1;function i(a,b){if(b<65534&&(a.subarray&&f||!a.subarray&&e))return String.fromCharCode.apply(null,d.shrinkBuf(a,b));for(var c="",g=0;g>>6:(c<65536?b[g++]=224|c>>>12:(b[g++]=240|c>>>18,b[g++]=128|c>>>12&63),b[g++]=128|c>>>6&63),b[g++]=128|63&c);return b},b.buf2binstring=function(a){return i(a,a.length)},b.binstring2buf=function(a){for(var b=new d.Buf8(a.length),c=0,e=b.length;c4){j[d++]=65533,c+=f-1;continue}for(e&=2===f?31:3===f?15:7;f>1&&c1){j[d++]=65533;continue}e<65536?j[d++]=e:(e-=65536,j[d++]=55296|e>>10&1023,j[d++]=56320|1023&e)}return i(j,d)},b.utf8border=function(a,b){var c;for((b=b||a.length)>a.length&&(b=a.length),c=b-1;c>=0&&(192&a[c])==128;)c--;return c<0||0===c?b:c+g[a[c]]>b?c:b}},99438:(a,b,c)=>{"use strict";a.exports=g;var d=c(47482),e=Object.create(c(69082));function f(a,b){var c=this._transformState;c.transforming=!1;var d=c.writecb;if(!d)return this.emit("error",Error("write callback called multiple times"));c.writechunk=null,c.writecb=null,null!=b&&this.push(b),d(a);var e=this._readableState;e.reading=!1,(e.needReadable||e.length{function i(e){return JSON.stringify({name:e.name,method:e.method,description:e.description,enabled:e.enabled,timeoutMs:e.timeoutMs||5e3,code:e.code},null,2)}function s(e){return JSON.stringify({name:e.name,description:e.description,enabled:e.enabled,code:e.code},null,2)}function a(e){return JSON.stringify({name:e.name,description:e.description||void 0,hasValue:e.hasValue},null,2)}n.d(t,{generateEdgeFunctionFile:()=>i,generateSecretFile:()=>a,generateServerFunctionFile:()=>s,validateEdgeFunctionData:()=>r,validateSecretData:()=>l,validateServerFunctionData:()=>d});let o=["db","fetch","console","args","request","Response","server","secrets","atob","btoa"];function r(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};e.name&&"string"==typeof e.name?/^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$/.test(e.name)||t.push('Name must be lowercase letters, numbers, and hyphens only (e.g., "get-users")'):t.push('Missing or invalid "name" field');let n=["GET","POST","PUT","DELETE","ANY"];if(e.method&&"string"==typeof e.method?n.includes(e.method)||t.push(`Method must be one of: ${n.join(", ")}`):t.push('Missing or invalid "method" field'),e.code&&"string"==typeof e.code)try{Function(e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),void 0!==e.timeoutMs&&("number"!=typeof e.timeoutMs?t.push('"timeoutMs" must be a number'):(e.timeoutMs<1e3||e.timeoutMs>3e4)&&t.push("Timeout must be between 1000 and 30000 ms")),{valid:0===t.length,errors:t}}function d(e){let t=[];if(!e||"object"!=typeof e)return{valid:!1,errors:["Invalid JSON: expected an object"]};if(e.name&&"string"==typeof e.name?/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e.name)?o.includes(e.name)&&t.push(`Cannot use reserved name: ${e.name}`):t.push('Name must be a valid JavaScript identifier (e.g., "validateAuth", "formatPrice")'):t.push('Missing or invalid "name" field'),e.code&&"string"==typeof e.code)try{Function("args","db","fetch","console",e.code)}catch(n){let e=n instanceof Error?n.message:String(n);t.push(`JavaScript syntax error: ${e}`)}else t.push('Missing or invalid "code" field');return void 0!==e.enabled&&"boolean"!=typeof e.enabled&&t.push('"enabled" must be a boolean'),{valid:0===t.length,errors:t}}function l(e){let t=[];return e&&"object"==typeof e?(e.name&&"string"==typeof e.name?/^[A-Z][A-Z0-9_]*$/.test(e.name)?e.name.length>64&&t.push("Name must be 64 characters or less"):t.push("Name must be SCREAMING_SNAKE_CASE (e.g., MY_API_KEY, SMTP_PASSWORD)"):t.push('Missing or invalid "name" field'),void 0!==e.description&&"string"!=typeof e.description&&t.push('"description" must be a string'),{valid:0===t.length,errors:t}):{valid:!1,errors:["Invalid JSON: expected an object"]}}}}; \ No newline at end of file diff --git a/.next/server/chunks/7811.js b/.next/server/chunks/7811.js new file mode 100644 index 0000000000000000000000000000000000000000..a25566e4b1a0c89332d318976f04cf092f340ffc --- /dev/null +++ b/.next/server/chunks/7811.js @@ -0,0 +1,4211 @@ +exports.id=7811,exports.ids=[7811],exports.modules={6636:(a,b,c)=>{"use strict";c.d(b,{skillsService:()=>d._}),c(15857);var d=c(7143)},7143:(a,b,c)=>{"use strict";c.d(b,{_:()=>l});var d=c(12897),e=c(15857),f=c(15514),g=c(39193),h=c.n(g);let i="osw_custom_skills",j="osw_skills_enabled_state";class k{async init(){if(!this.initialized)try{let a=localStorage.getItem(i);a&&JSON.parse(a).forEach(a=>{a.createdAt=new Date(a.createdAt),a.updatedAt=new Date(a.updatedAt),this.customSkills.set(a.id,a)});let b=localStorage.getItem(j);if(b){let a=JSON.parse(b);this.enabledState={globalEnabled:a.globalEnabled??!0,disabledSkills:new Set(a.disabledSkills||[])}}this.initialized=!0,f.v.info(`[SkillsService] Loaded ${this.customSkills.size} custom skills`)}catch(a){f.v.error("[SkillsService] Failed to load custom skills",a)}}saveCustomSkills(){try{let a=Array.from(this.customSkills.values());localStorage.setItem(i,JSON.stringify(a))}catch(a){throw f.v.error("[SkillsService] Failed to save custom skills",a),Error("Failed to save skills")}}saveEnabledState(){try{let a={globalEnabled:this.enabledState.globalEnabled,disabledSkills:Array.from(this.enabledState.disabledSkills)};localStorage.setItem(j,JSON.stringify(a))}catch(a){f.v.error("[SkillsService] Failed to save enabled state",a)}}async getAllSkills(){await this.init();let a=[];for(let b of e.Sj)try{let{frontmatter:c,markdown:e}=(0,d.N1)(b.content);a.push({id:b.id,name:c.name,description:c.description,content:b.content,markdown:e,isBuiltIn:!0,createdAt:new Date("2025-01-01"),updatedAt:new Date("2025-01-01")})}catch(a){f.v.error(`[SkillsService] Failed to parse built-in skill: ${b.id}`,a)}return a.push(...Array.from(this.customSkills.values())),a}async getSkillsMetadata(){return(await this.getAllSkills()).map(a=>({id:a.id,name:a.name,description:a.description,path:`/.skills/${a.id}.md`,isBuiltIn:a.isBuiltIn}))}async getSkill(a){await this.init();let b=this.customSkills.get(a);if(b)return b;let c=e.Sj.find(b=>b.id===a);if(c)try{let{frontmatter:a,markdown:b}=(0,d.N1)(c.content);return{id:c.id,name:a.name,description:a.description,content:c.content,markdown:b,isBuiltIn:!0,createdAt:new Date("2025-01-01"),updatedAt:new Date("2025-01-01")}}catch(b){f.v.error(`[SkillsService] Failed to parse built-in skill: ${a}`,b)}return null}async createSkill(a){await this.init();try{let{frontmatter:b,markdown:c}=(0,d.N1)(a),g=b.name;if(this.customSkills.has(g)||e.Sj.some(a=>a.id===g))throw Error(`Skill with name "${g}" already exists`);let h={id:g,name:b.name,description:b.description,content:a,markdown:c,isBuiltIn:!1,createdAt:new Date,updatedAt:new Date};return this.customSkills.set(g,h),this.saveCustomSkills(),f.v.info(`[SkillsService] Created skill: ${g}`),h}catch(a){if(a instanceof Error)throw a;throw Error("Failed to create skill")}}async updateSkill(a,b){await this.init();let c=this.customSkills.get(a);if(!c)throw Error(`Skill "${a}" not found`);if(c.isBuiltIn)throw Error("Cannot update built-in skills");try{let{frontmatter:e,markdown:g}=(0,d.N1)(b);if(e.name!==a)throw Error("Skill name cannot be changed. Create a new skill instead.");let h={...c,name:e.name,description:e.description,content:b,markdown:g,updatedAt:new Date};return this.customSkills.set(a,h),this.saveCustomSkills(),f.v.info(`[SkillsService] Updated skill: ${a}`),h}catch(a){if(a instanceof Error)throw a;throw Error("Failed to update skill")}}async deleteSkill(a){await this.init();let b=this.customSkills.get(a);if(!b)throw Error(`Skill "${a}" not found`);if(b.isBuiltIn)throw Error("Cannot delete built-in skills");this.customSkills.delete(a),this.saveCustomSkills(),f.v.info(`[SkillsService] Deleted skill: ${a}`)}async importSkills(a){await this.init();let b=[];try{let c=await h().loadAsync(a);for(let[a,d]of Object.entries(c.files)){if(d.dir||!a.endsWith(".md"))continue;let c=await d.async("string");try{let a=await this.createSkill(c);b.push(a)}catch(b){f.v.warn(`[SkillsService] Failed to import ${a}:`,b)}}return f.v.info(`[SkillsService] Imported ${b.length} skills`),b}catch(a){throw f.v.error("[SkillsService] Failed to import skills",a),Error("Failed to import skills")}}async importSkillFile(a){let b=await a.text();return this.createSkill(b)}async exportSkills(a){await this.init();let b=new(h());for(let c of a){let a=await this.getSkill(c);if(!a){f.v.warn(`[SkillsService] Skill not found for export: ${c}`);continue}b.file(`${a.id}.md`,a.content)}return f.v.info(`[SkillsService] Exported ${a.length} skills`),await b.generateAsync({type:"blob"})}async clearCustomSkills(){this.customSkills.clear(),localStorage.removeItem(i),f.v.info("[SkillsService] Cleared all custom skills")}async isGloballyEnabled(){return await this.init(),this.enabledState.globalEnabled}async setGlobalEnabled(a){await this.init(),this.enabledState.globalEnabled=a,this.saveEnabledState(),f.v.info(`[SkillsService] Global enabled set to: ${a}`)}async isSkillEnabled(a){return await this.init(),!!this.enabledState.globalEnabled&&!this.enabledState.disabledSkills.has(a)}async enableSkill(a){await this.init(),this.enabledState.disabledSkills.delete(a),this.saveEnabledState(),f.v.info(`[SkillsService] Enabled skill: ${a}`)}async disableSkill(a){await this.init(),this.enabledState.disabledSkills.add(a),this.saveEnabledState(),f.v.info(`[SkillsService] Disabled skill: ${a}`)}async getEnabledSkills(){return(await this.init(),this.enabledState.globalEnabled)?(await this.getAllSkills()).filter(a=>!this.enabledState.disabledSkills.has(a.id)):[]}async getEnabledSkillsMetadata(){return(await this.getEnabledSkills()).map(a=>({id:a.id,name:a.name,description:a.description,path:`/.skills/${a.id}.md`,isBuiltIn:a.isBuiltIn}))}async getCustomSkills(){return await this.init(),Array.from(this.customSkills.values())}async updateSyncMetadata(a,b,c){await this.init();let d=this.customSkills.get(a);if(!d||d.isBuiltIn)return;let e={...d,lastSyncedAt:b,serverUpdatedAt:c};this.customSkills.set(a,e),this.saveCustomSkills(),f.v.info(`[SkillsService] Updated sync metadata for skill: ${a}`)}async importFromServer(a){await this.init();let b={...a,createdAt:new Date(a.createdAt),updatedAt:new Date(a.updatedAt),lastSyncedAt:new Date,serverUpdatedAt:new Date(a.updatedAt),isBuiltIn:!1};this.customSkills.set(b.id,b),this.saveCustomSkills(),f.v.info(`[SkillsService] Imported skill from server: ${b.id}`)}async hasSkill(a){return await this.init(),this.customSkills.has(a)||e.Sj.some(b=>b.id===a)}constructor(){this.customSkills=new Map,this.initialized=!1,this.enabledState={globalEnabled:!0,disabledSkills:new Set}}}let l=new k},7246:(a,b,c)=>{"use strict";c.d(b,{S:()=>i});var d=c(21124),e=c(38301),f=c(89339),g=c(71613),h=c(15514);let i=e.forwardRef(({className:a,...b},c)=>(0,d.jsx)(f.bL,{ref:c,className:(0,h.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...b,children:(0,d.jsx)(f.C1,{className:(0,h.cn)("flex items-center justify-center text-current"),children:(0,d.jsx)(g.A,{className:"h-4 w-4"})})}));i.displayName=f.bL.displayName},7629:(a,b,c)=>{"use strict";c.d(b,{p:()=>f});var d=c(21124);c(38301);var e=c(15514);function f({className:a,type:b,...c}){return(0,d.jsx)("input",{type:b,"data-slot":"input",className:(0,e.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",a),...c})}},11482:(a,b,c)=>{"use strict";c.d(b,{r8:()=>m,vfs:()=>n});var d=c(2117),e=c(39193),f=c.n(e),g=c(15514),h=c(96352),i=c(49186),j=c(13531),k=c(6636);class l{async init(){return new Promise((a,b)=>{let c=indexedDB.open("osw-studio-db",4);c.onerror=()=>b(c.error),c.onsuccess=()=>{this.db=c.result,a()},c.onupgradeneeded=a=>{let b=a.target.result;if(!b.objectStoreNames.contains("projects")){let a=b.createObjectStore("projects",{keyPath:"id"});a.createIndex("name","name",{unique:!1}),a.createIndex("createdAt","createdAt",{unique:!1})}if(!b.objectStoreNames.contains("files")){let a=b.createObjectStore("files",{keyPath:"id"});a.createIndex("projectId","projectId",{unique:!1}),a.createIndex("path",["projectId","path"],{unique:!0}),a.createIndex("type","type",{unique:!1})}if(!b.objectStoreNames.contains("fileTree")){let a=b.createObjectStore("fileTree",{keyPath:"id"});a.createIndex("projectId","projectId",{unique:!1}),a.createIndex("path",["projectId","path"],{unique:!0}),a.createIndex("parentPath",["projectId","parentPath"],{unique:!1})}if(!b.objectStoreNames.contains("conversations")){let a=b.createObjectStore("conversations",{keyPath:"id"});a.createIndex("projectId","projectId",{unique:!1}),a.createIndex("lastUpdated","lastUpdated",{unique:!1})}if(!b.objectStoreNames.contains("checkpoints")){let a=b.createObjectStore("checkpoints",{keyPath:"id"});a.createIndex("projectId","projectId",{unique:!1}),a.createIndex("timestamp","timestamp",{unique:!1})}if(!b.objectStoreNames.contains("customTemplates")){let a=b.createObjectStore("customTemplates",{keyPath:"id"});a.createIndex("name","name",{unique:!1}),a.createIndex("importedAt","importedAt",{unique:!1})}if(!b.objectStoreNames.contains("skills")){let a=b.createObjectStore("skills",{keyPath:"id"});a.createIndex("name","name",{unique:!1}),a.createIndex("isBuiltIn","isBuiltIn",{unique:!1})}if(!b.objectStoreNames.contains("debugEvents")){let a=b.createObjectStore("debugEvents",{keyPath:"id"});a.createIndex("projectId","projectId",{unique:!1}),a.createIndex("timestamp","timestamp",{unique:!1})}}})}async close(){this.db&&(this.db.close(),this.db=null)}getDB(){if(!this.db)throw Error("IndexedDB not initialized. Call init() first.");return this.db}getDatabase(){return this.getDB()}async createProject(a){let b=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(b.add(a))}async getProject(a){let b=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),c=await this.promisify(b.get(a));return c?this.hydrateProject(c):null}async updateProject(a){let b=this.getDB().transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(b.put(a))}async deleteProject(a){let b=this.getDB();await this.deleteProjectFiles(a);let c=b.transaction(["projects"],"readwrite").objectStore("projects");await this.promisify(c.delete(a))}async listProjects(a){let b=this.getDB().transaction(["projects"],"readonly").objectStore("projects"),c=await this.promisify(b.getAll()),d=c?.map(a=>this.hydrateProject(a))||[];return a&&a.length>0?d.map(b=>{let c={};return a.forEach(a=>{a in b&&(c[a]=b[a])}),c}):d}async createFile(a){let b=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(b.add(a))}async getFile(a,b){let c=this.getDB().transaction(["files"],"readonly").objectStore("files").index("path");return await this.promisify(c.get([a,b]))||null}async updateFile(a){let b=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(b.put(a))}async deleteFile(a,b){let c=await this.getFile(a,b);if(c){let a=this.getDB().transaction(["files"],"readwrite").objectStore("files");await this.promisify(a.delete(c.id))}}async listFiles(a){let b=this.getDB().transaction(["files"],"readonly").objectStore("files").index("projectId");return await this.promisify(b.getAll(a))||[]}async deleteProjectFiles(a){let b=await this.listFiles(a),c=this.getDB().transaction(["files"],"readwrite").objectStore("files");for(let a of b)await this.promisify(c.delete(a.id))}async createTreeNode(a){let b=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(b.add(a))}async getTreeNode(a,b){let c=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("path");return await this.promisify(c.get([a,b]))||null}async updateTreeNode(a){let b=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(b.put(a))}async deleteTreeNode(a,b){let c=await this.getTreeNode(a,b);if(c){let a=this.getDB().transaction(["fileTree"],"readwrite").objectStore("fileTree");await this.promisify(a.delete(c.id))}}async getChildNodes(a,b){let c=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("parentPath");return await this.promisify(c.getAll(null===b?[a]:[a,b]))||[]}async getAllTreeNodes(a){let b=this.getDB().transaction(["fileTree"],"readonly").objectStore("fileTree").index("projectId");return await this.promisify(b.getAll(a))||[]}async saveCustomTemplate(a){let b=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(b.put(a))}async getCustomTemplate(a){let b=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates"),c=await this.promisify(b.get(a));return c?this.hydrateCustomTemplate(c):null}async getAllCustomTemplates(){let a=this.getDB().transaction(["customTemplates"],"readonly").objectStore("customTemplates");return(await this.promisify(a.getAll())).map(a=>this.hydrateCustomTemplate(a))}async deleteCustomTemplate(a){let b=this.getDB().transaction(["customTemplates"],"readwrite").objectStore("customTemplates");await this.promisify(b.delete(a))}async createSkill(a){let b=this.getDB().transaction(["skills"],"readwrite").objectStore("skills"),c={...a,isBuiltIn:!1};await this.promisify(b.add(c))}async getSkill(a){let b=this.getDB().transaction(["skills"],"readonly").objectStore("skills"),c=await this.promisify(b.get(a));return c?this.hydrateSkill(c):null}async updateSkill(a){let b=this.getDB().transaction(["skills"],"readwrite").objectStore("skills"),c={...a,isBuiltIn:!1};await this.promisify(b.put(c))}async deleteSkill(a){let b=this.getDB().transaction(["skills"],"readwrite").objectStore("skills");await this.promisify(b.delete(a))}async getAllSkills(){let a=this.getDB().transaction(["skills"],"readonly").objectStore("skills");return(await this.promisify(a.getAll())).filter(a=>!a.isBuiltIn).map(a=>this.hydrateSkill(a))}promisify(a){return new Promise((b,c)=>{a.onsuccess=()=>b(a.result),a.onerror=()=>c(a.error)})}hydrateProject(a){return{...a,createdAt:a.createdAt?new Date(a.createdAt):new Date,updatedAt:a.updatedAt?new Date(a.updatedAt):new Date,lastSavedAt:a.lastSavedAt?new Date(a.lastSavedAt):null}}hydrateCustomTemplate(a){return{...a,importedAt:a.importedAt?new Date(a.importedAt):new Date}}hydrateSkill(a){return{...a,createdAt:a.createdAt?new Date(a.createdAt):new Date,updatedAt:a.updatedAt?new Date(a.updatedAt):new Date}}constructor(){this.db=null}}class m{constructor(){this.initialized=!1,this.transientFiles=new Map,this.syncTimeouts=new Map,this.serverContextSiteId=null,this.serverContextMetadata=null,this.adapter=new l}async init(){this.initialized||(await this.adapter.init(),await this.mountTransientSkills(),this.initialized=!0)}getDatabase(){if(!(this.adapter instanceof l))throw Error("Direct database access only available with IndexedDBAdapter");return this.adapter.getDatabase()}async mountTransientSkills(){try{for(let a of(await k.skillsService.getEnabledSkills())){let b=`/.skills/${a.id}.md`,c={id:`transient-skill-${a.id}`,projectId:"transient",path:b,name:`${a.id}.md`,type:"text",content:a.content,mimeType:"text/markdown",size:new Blob([a.content]).size,createdAt:a.createdAt,updatedAt:a.updatedAt,metadata:{isTransient:!0,isBuiltIn:a.isBuiltIn}};this.transientFiles.set(b,c)}g.v.info(`[VFS] Mounted ${this.transientFiles.size} transient skill files`)}catch(a){g.v.error("[VFS] Failed to mount transient skills",a)}}isTransientPath(a){return a.startsWith("/.")}async reloadTransientSkills(){let a=new Map;for(let[b,c]of this.transientFiles)b.startsWith("/.server/")&&a.set(b,c);for(let[b,c]of(this.transientFiles.clear(),await this.mountTransientSkills(),a))this.transientFiles.set(b,c)}getServerContextSiteId(){return this.serverContextSiteId}hasServerContext(){return null!==this.serverContextSiteId}getServerContextMetadata(){return this.serverContextMetadata}async mountServerContext(a,b){g.v.warn("[VFS] Server context only available in Server Mode")}async fetchServerContextFromAPI(a,b){try{this.unmountServerContext();let c=await fetch(`/api/admin/sites/${a}/server-context`);if(!c.ok){let a=await c.json().catch(()=>({error:"Failed to fetch server context"}));throw Error(a.error||"Failed to fetch server context")}let d=await c.json();for(let a of d.files){let b={id:`transient-server-${a.path.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:a.path,name:a.path.split("/").pop()||"",type:"text",content:a.content,mimeType:a.path.endsWith(".sql")?"text/sql":a.path.endsWith(".json")?"application/json":a.path.endsWith(".js")?"application/javascript":"text/markdown",size:new Blob([a.content]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:a.isReadOnly}};this.transientFiles.set(a.path,b)}this.serverContextSiteId=a,this.serverContextMetadata=d.metadata,"undefined"!=typeof sessionStorage&&sessionStorage.setItem("vfs_serverContextSiteId",a),g.v.info(`[VFS] Mounted server context for site ${a} (${b}) via API`),window.dispatchEvent(new Event("filesChanged"))}catch(a){g.v.error("[VFS] Failed to fetch server context from API",a)}}unmountServerContext(){let a=[];for(let b of this.transientFiles.keys())b.startsWith("/.server/")&&(this.transientFiles.delete(b),a.push(b));this.serverContextSiteId&&(g.v.info(`[VFS] Unmounted server context (${a.length} files)`),this.serverContextSiteId=null,this.serverContextMetadata=null,"undefined"!=typeof sessionStorage&&sessionStorage.removeItem("vfs_serverContextSiteId"))}getTransientFilesInDirectory(a){let b=a.endsWith("/")?a:a+"/",c=[];for(let[a,d]of this.transientFiles)a.startsWith(b)&&c.push(d);return c}mountTransientFile(a,b,c=!0){let d={id:`transient-server-${a.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:a,name:a.split("/").pop()||"",type:"text",content:b,mimeType:a.endsWith(".sql")?"text/sql":a.endsWith(".json")?"application/json":a.endsWith(".js")?"application/javascript":"text/markdown",size:new Blob([b]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:c}};this.transientFiles.set(a,d)}async updateServerContextFile(a,b){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let a=sessionStorage.getItem("vfs_serverContextSiteId");a&&(g.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${a}`),this.serverContextSiteId=a)}if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");if("/.server/db/schema.sql"===a)throw Error(`Cannot modify ${a} - read-only file`);if(a.startsWith("/.server/secrets/")&&a.endsWith(".json"))return await this.updateSecretFromFile(a,b);if(a.startsWith("/.server/edge-functions/")&&a.endsWith(".json"))return await this.updateEdgeFunctionFromFile(a,b);if(a.startsWith("/.server/server-functions/")&&a.endsWith(".json"))return await this.updateServerFunctionFromFile(a,b);throw Error(`Cannot modify ${a} - unrecognized server context path`)}async mutateServerContextViaAPI(a,b,c){if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");let d=await fetch(`/api/admin/sites/${this.serverContextSiteId}/server-context/mutate`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({operation:a,path:b,content:c})}),e=await d.json();if(!e.success)throw Error(e.error||"Mutation failed");if("delete"===a)return this.transientFiles.delete(b),window.dispatchEvent(new Event("filesChanged")),{id:"deleted",projectId:"transient",path:b,name:b.split("/").pop()||"",type:"text",content:"",mimeType:"text/plain",size:0,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:!1}};if(e.file){let a=e.file.path;b!==a&&this.transientFiles.delete(b);let c={id:`transient-server-${a.replace(/[^a-z0-9]/gi,"-")}`,projectId:"transient",path:a,name:a.split("/").pop()||"",type:"text",content:e.file.content,mimeType:a.endsWith(".json")?"application/json":a.endsWith(".sql")?"text/sql":"text/markdown",size:new Blob([e.file.content]).size,createdAt:new Date,updatedAt:new Date,metadata:{isTransient:!0,isServerContext:!0,isReadOnly:e.file.isReadOnly}};return this.transientFiles.set(a,c),window.dispatchEvent(new Event("filesChanged")),c}throw Error("No file returned from mutation")}async updateEdgeFunctionFromFile(a,b){let d,{getSQLiteAdapter:e}=await import("./adapters/server"),{validateEdgeFunctionData:f,generateEdgeFunctionFile:g}=await c.e(9975).then(c.bind(c,19975));try{d=JSON.parse(b)}catch(b){let a=b instanceof Error?b.message:String(b);throw Error(`Invalid JSON: ${a}`)}let h=f(d);if(!h.valid)throw Error(`Validation failed: ${h.errors.join("; ")}`);let i=d,j=e();await j.init();let k=j.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!k)throw Error("Site database not available");let l=a.split("/").pop().replace(".json",""),m=k.getFunctionByName(l);if(m){if(k.updateFunction(m.id,{name:i.name,code:i.code,method:i.method,description:i.description,enabled:i.enabled??!0,timeoutMs:i.timeoutMs??5e3}),i.name!==l){this.transientFiles.delete(a);let b=`/.server/edge-functions/${i.name}.json`,c=k.getFunctionByName(i.name);return this.mountTransientFile(b,g(c),!1),this.transientFiles.get(b)}}else k.createFunction({name:i.name,code:i.code,method:i.method,description:i.description,enabled:i.enabled??!0,timeoutMs:i.timeoutMs??5e3});let n=k.getFunctionByName(i.name);return this.mountTransientFile(a,g(n),!1),this.transientFiles.get(a)}async updateServerFunctionFromFile(a,b){let d,{getSQLiteAdapter:e}=await import("./adapters/server"),{validateServerFunctionData:f,generateServerFunctionFile:g}=await c.e(9975).then(c.bind(c,19975));try{d=JSON.parse(b)}catch(b){let a=b instanceof Error?b.message:String(b);throw Error(`Invalid JSON: ${a}`)}let h=f(d);if(!h.valid)throw Error(`Validation failed: ${h.errors.join("; ")}`);let i=d,j=e();await j.init();let k=j.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!k)throw Error("Site database not available");let l=a.split("/").pop().replace(".json",""),m=k.getServerFunctionByName(l);if(m){if(k.updateServerFunction(m.id,{name:i.name,code:i.code,description:i.description,enabled:i.enabled??!0}),i.name!==l){this.transientFiles.delete(a);let b=`/.server/server-functions/${i.name}.json`,c=k.getServerFunctionByName(i.name);return this.mountTransientFile(b,g(c),!1),this.transientFiles.get(b)}}else k.createServerFunction({name:i.name,code:i.code,description:i.description,enabled:i.enabled??!0});let n=k.getServerFunctionByName(i.name);return this.mountTransientFile(a,g(n),!1),this.transientFiles.get(a)}async updateSecretFromFile(a,b){let d,{getSQLiteAdapter:e}=await import("./adapters/server"),{validateSecretData:f,generateSecretFile:g}=await c.e(9975).then(c.bind(c,19975));try{d=JSON.parse(b)}catch(b){let a=b instanceof Error?b.message:String(b);throw Error(`Invalid JSON: ${a}`)}let h=f(d);if(!h.valid)throw Error(`Validation failed: ${h.errors.join("; ")}`);let i=d,j=e();await j.init();let k=j.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!k)throw Error("Site database not available");let l=a.split("/").pop().replace(".json",""),m=k.getSecretByName(l);if(m){if(k.updateSecretMetadata(m.id,{name:i.name,description:i.description||""}),i.name!==l){this.transientFiles.delete(a);let b=`/.server/secrets/${i.name}.json`,c=k.getSecretByName(i.name);return this.mountTransientFile(b,g(c),!1),this.transientFiles.get(b)}}else k.createSecretPlaceholder(i.name,i.description||"");let n=k.getSecretByName(i.name);return this.mountTransientFile(a,g(n),!1),this.transientFiles.get(a)}async createServerContextFile(a,b){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let a=sessionStorage.getItem("vfs_serverContextSiteId");a&&(g.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${a}`),this.serverContextSiteId=a)}if(!this.serverContextSiteId)throw Error("No site selected. Select a site from the Site Selector.");if(this.transientFiles.has(a))throw Error(`File already exists: ${a}`);if(a.startsWith("/.server/secrets/")&&a.endsWith(".json"))return await this.updateSecretFromFile(a,b);if(a.startsWith("/.server/edge-functions/")&&a.endsWith(".json"))return await this.updateEdgeFunctionFromFile(a,b);if(a.startsWith("/.server/server-functions/")&&a.endsWith(".json"))return await this.updateServerFunctionFromFile(a,b);throw Error(`Cannot create ${a} - only secrets, edge functions, and server functions (.json) can be created`)}async deleteServerContextFile(a){if(!this.serverContextSiteId&&"undefined"!=typeof sessionStorage){let a=sessionStorage.getItem("vfs_serverContextSiteId");a&&(g.v.info(`[VFS] Recovered serverContextSiteId from sessionStorage: ${a}`),this.serverContextSiteId=a)}if(!this.serverContextSiteId)throw Error("No site selected");if("/.server/db/schema.sql"===a)throw Error(`Cannot delete ${a} - read-only file`);if(a.startsWith("/.server/secrets/")&&a.endsWith(".json")){let{getSQLiteAdapter:b}=await import("./adapters/server"),c=b();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let e=a.split("/").pop().replace(".json",""),f=d.getSecretByName(e);if(!f)throw Error(`Secret not found: ${e}`);d.deleteSecret(f.id),this.transientFiles.delete(a);return}if(a.startsWith("/.server/edge-functions/")&&a.endsWith(".json")){let{getSQLiteAdapter:b}=await import("./adapters/server"),c=b();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let e=a.split("/").pop().replace(".json",""),f=d.getFunctionByName(e);if(!f)throw Error(`Edge function not found: ${e}`);d.deleteFunction(f.id),this.transientFiles.delete(a);return}if(a.startsWith("/.server/server-functions/")&&a.endsWith(".json")){let{getSQLiteAdapter:b}=await import("./adapters/server"),c=b();await c.init();let d=c.getSiteDatabaseForAnalytics(this.serverContextSiteId);if(!d)throw Error("Site database not available");let e=a.split("/").pop().replace(".json",""),f=d.getServerFunctionByName(e);if(!f)throw Error(`Server function not found: ${e}`);d.deleteServerFunction(f.id),this.transientFiles.delete(a);return}throw Error(`Cannot delete ${a} - read-only file`)}ensureInitialized(){if(!this.initialized)throw Error("VirtualFileSystem not initialized. Call init() first.")}triggerAutoSync(a){}clearSyncTimeout(a){let b=this.syncTimeouts.get(a);b&&(clearTimeout(b),this.syncTimeouts.delete(a),g.v.debug(`[VFS] Cleared sync timeout for project ${a}`))}async createFile(a,b,c){this.ensureInitialized();try{if((b=b.replace(/\\n$|\\r$|\n$|\r$/,"").trim()).startsWith("/.server/"))return await this.createServerContextFile(b,c);if(await this.adapter.getFile(a,b))throw g.v.error("VFS: File already exists",{projectId:a,path:b}),Error(`File already exists: ${b}`);if(!(0,h.fu)(b))throw Error(`Unsupported file type: ${b}`);let e=(0,h.Gr)(b),f=c instanceof ArrayBuffer?c.byteLength:new Blob([c]).size,j=h.Q6[e];if(f>j)throw Error(`File too large. Maximum size for ${e} files is ${Math.round(j/1024/1024)}MB`);let k={id:(0,d.A)(),projectId:a,path:b,name:b.split("/").pop()||"",type:e,content:c,mimeType:(0,h.N$)(b),size:f,createdAt:new Date,updatedAt:new Date,metadata:{isEntry:"/index.html"===b}};return await this.adapter.createFile(k),await this.updateFileTree(a,b,"create"),i.$.markDirty(a),k}catch(a){throw a}}async readFile(a,b){if(this.ensureInitialized(),!a||"string"!=typeof a)throw g.v.error("VFS: Invalid projectId for readFile",{projectId:a,path:b}),Error("Invalid projectId provided");if(!b||"string"!=typeof b)throw g.v.error("VFS: Invalid path for readFile",{projectId:a,path:b}),Error("Invalid file path provided");let c=b.replace(/\\n$|\\r$|\n$|\r$/,"").trim();if(!c)throw g.v.error("VFS: Empty path after cleaning for readFile",{projectId:a,originalPath:b,cleanPath:c}),Error("Empty file path after cleaning");if(this.isTransientPath(c)){let a=this.transientFiles.get(c);if(a)return a;throw Error(`Transient file not found: ${c}`)}let d=await this.adapter.getFile(a,c);if(!d)throw g.v.error("VFS: File not found for read",{projectId:a,path:c,originalPath:b}),Error(`File not found: ${c}`);return d}async fileExists(a,b){this.ensureInitialized();try{if(this.isTransientPath(b))return this.transientFiles.has(b);return!!await this.adapter.getFile(a,b)}catch{return!1}}async updateFile(a,b,c){this.ensureInitialized();try{let d=b.replace(/\\n$|\\r$|\n$|\r$/,"").trim();if(d.includes("\n")||d.includes("@@")||d.includes("\\n")||d.length>200)throw g.v.error("VFS: Invalid path detected",{projectId:a,path:b.slice(0,100)+"..."}),Error(`Invalid file path: ${b.slice(0,50)}...`);if((b=d).startsWith("/.server/"))return await this.updateServerContextFile(b,c);let e=await this.adapter.getFile(a,b);if(!e)throw g.v.error("VFS: File not found for update",{projectId:a,path:b}),Error(`File not found: ${b}`);return e.content=c,e.size=c instanceof ArrayBuffer?c.byteLength:new Blob([c]).size,e.updatedAt=new Date,await this.adapter.updateFile(e),i.$.markDirty(a),e}catch(a){throw a}}async patchFile(a,b,c){this.ensureInitialized();let d=(await this.readFile(a,b)).content;for(let a of c){if(!d.includes(a.search))throw g.v.error("VFS: Pattern not found in file",{path:b,searchPattern:a.search.substring(0,100),contentSnippet:d.substring(0,300)}),Error(`Pattern not found in file: ${a.search.substring(0,50)}...`);d=d.replace(a.search,a.replace)}return await this.updateFile(a,b,d)}async deleteFile(a,b){this.ensureInitialized();try{await this.adapter.deleteFile(a,b),await this.updateFileTree(a,b,"delete"),i.$.markDirty(a)}catch(a){throw a}}async renameFile(a,b,c){this.ensureInitialized();let d=await this.readFile(a,b);return await this.deleteFile(a,b),await this.createFile(a,c,d.content)}async createDirectory(a,b){if(this.ensureInitialized(),await this.adapter.getTreeNode(a,b))return;let c=b.split("/").pop()||b,e={id:(0,d.A)(),projectId:a,path:b,name:c,type:"directory",parentPath:this.getParentPath(b),children:[]};await this.adapter.createTreeNode(e),i.$.markDirty(a)}async listDirectory(a,b,c){let d;this.ensureInitialized();let e=await this.adapter.listFiles(a);if(d="/"===b?e:e.filter(a=>{let c=a.path,d=b.endsWith("/")?b:b+"/";return c.startsWith(d)&&-1===c.slice(d.length).indexOf("/")}),c?.includeTransient){let a=Array.from(this.transientFiles.values());if("/"===b)d=[...d,...a];else{let c=b.endsWith("/")?b:b+"/";d=[...d,...a.filter(a=>a.path.startsWith(c)&&-1===a.path.slice(c.length).indexOf("/"))]}}return d}async getAllFilesAndDirectories(a,b){this.ensureInitialized();let c=[...await this.adapter.listFiles(a),...(await this.adapter.getAllTreeNodes(a)).filter(a=>"directory"===a.type).map(a=>({path:a.path,name:a.path.split("/").filter(Boolean).pop()||a.path,type:"directory"}))];return b?.includeTransient&&(c=[...c,...Array.from(this.transientFiles.values())]),c}async deleteDirectory(a,b){this.ensureInitialized();let c=await this.adapter.listFiles(a),d=b.endsWith("/")?b:b+"/";for(let b of c)b.path.startsWith(d)&&await this.deleteFile(a,b.path);await this.adapter.deleteTreeNode(a,b),i.$.markDirty(a)}async renameDirectory(a,b,c){this.ensureInitialized();let e=await this.adapter.getTreeNode(a,b);if(e){await this.adapter.deleteTreeNode(a,b);let f={id:(0,d.A)(),projectId:a,path:c,name:c.split("/").pop()||c,type:"directory",parentPath:this.getParentPath(c),children:e.children};await this.adapter.createTreeNode(f),i.$.markDirty(a)}let f=b.endsWith("/")?b:b+"/",g=c.endsWith("/")?c:c+"/";for(let b of(await this.adapter.listFiles(a)).filter(a=>a.path.startsWith(f))){let c=g+b.path.substring(f.length);await this.renameFile(a,b.path,c)}for(let c of(await this.adapter.getAllTreeNodes(a)).filter(a=>"directory"===a.type&&a.path.startsWith(f)&&a.path!==b)){let b=g+c.path.substring(f.length);await this.adapter.deleteTreeNode(a,c.path);let e={id:(0,d.A)(),projectId:a,path:b,name:b.split("/").pop()||b,type:"directory",parentPath:this.getParentPath(b),children:c.children};await this.adapter.createTreeNode(e)}}async moveFile(a,b,c){if(this.ensureInitialized(),await this.adapter.getFile(a,c))throw Error(`File already exists at destination: ${c}`);let d=await this.readFile(a,b),e=await this.createFile(a,c,d.content);return await this.deleteFile(a,b),e}async moveDirectory(a,b,c){this.ensureInitialized();let d=c.endsWith("/")?c:c+"/",e=b.endsWith("/")?b:b+"/";if(d.startsWith(e))throw Error("Cannot move a directory into itself");await this.renameDirectory(a,b,c)}async createProject(a,b){this.ensureInitialized();try{let c={id:(0,d.A)(),name:a,description:b,createdAt:new Date,updatedAt:new Date,settings:{},lastSavedCheckpointId:null,lastSavedAt:null,costTracking:{totalCost:0,providerBreakdown:{},sessionHistory:[]}};await this.adapter.createProject(c);let e={id:(0,d.A)(),projectId:c.id,path:"/",name:"/",type:"directory",parentPath:null,children:[]};return await this.adapter.createTreeNode(e),c}catch(a){throw a}}async getProject(a){this.ensureInitialized();let b=await this.adapter.getProject(a);if(!b)throw Error(`Project not found: ${a}`);return b}async updateProject(a,b){this.ensureInitialized(),b?.preserveUpdatedAt||(a.updatedAt=new Date),await this.adapter.updateProject(a)}async updateProjectCost(a,b){this.ensureInitialized();let c=await this.getProject(a);if(!c)throw Error(`Project not found: ${a}`);c.costTracking||(c.costTracking={totalCost:0,providerBreakdown:{},sessionHistory:[]}),c.costTracking.totalCost+=b.cost,c.costTracking.providerBreakdown[b.provider]||(c.costTracking.providerBreakdown[b.provider]={totalCost:0,tokenUsage:{input:0,output:0},requestCount:0,lastUpdated:new Date});let d=c.costTracking.providerBreakdown[b.provider];d.totalCost+=b.cost,"delta"!==b.mode&&(d.requestCount+=1),d.lastUpdated=new Date,b.tokenUsage&&(d.tokenUsage.input+=b.tokenUsage.input,d.tokenUsage.output+=b.tokenUsage.output),b.sessionId&&"delta"!==b.mode&&(c.costTracking.sessionHistory||(c.costTracking.sessionHistory=[]),c.costTracking.sessionHistory.push({sessionId:b.sessionId,cost:b.cost,provider:b.provider,timestamp:new Date,tokenUsage:b.tokenUsage}),c.costTracking.sessionHistory.length>100&&(c.costTracking.sessionHistory=c.costTracking.sessionHistory.slice(-100))),await this.updateProject(c)}async applyProjectCostDelta(a,b){this.ensureInitialized();let c=await this.getProject(a);if(!c)throw Error(`Project not found: ${a}`);c.costTracking||(c.costTracking={totalCost:0,providerBreakdown:{},sessionHistory:[]}),c.costTracking.totalCost+=b.costDelta,c.costTracking.providerBreakdown[b.provider]||(c.costTracking.providerBreakdown[b.provider]={totalCost:0,tokenUsage:{input:0,output:0},requestCount:0,lastUpdated:new Date});let d=c.costTracking.providerBreakdown[b.provider];d.totalCost+=b.costDelta,d.lastUpdated=new Date,b.tokenUsageDelta&&(d.tokenUsage.input+=b.tokenUsageDelta.input,d.tokenUsage.output+=b.tokenUsageDelta.output),b.sessionId&&(c.costTracking.sessionHistory||(c.costTracking.sessionHistory=[]),c.costTracking.sessionHistory.push({sessionId:b.sessionId,cost:b.costDelta,provider:b.provider,timestamp:new Date,tokenUsage:b.tokenUsageDelta,correction:!0}),c.costTracking.sessionHistory.length>100&&(c.costTracking.sessionHistory=c.costTracking.sessionHistory.slice(-100))),await this.updateProject(c)}async deleteProject(a){this.ensureInitialized(),await this.adapter.deleteProject(a)}async listProjects(){return this.ensureInitialized(),await this.adapter.listProjects()}async listFiles(a){return this.ensureInitialized(),await this.adapter.listFiles(a)}async getFileTree(a){return this.ensureInitialized(),await this.adapter.getTreeNode(a,"/")}async searchFiles(a,b,c){this.ensureInitialized();let d=await this.adapter.listFiles(a),{regex:e=!1,fileType:f,limit:g=20,searchIn:h="both"}=c||{},i=d;if(f){let a=f.startsWith(".")?f:`.${f}`;i=d.filter(b=>b.path.endsWith(a))}let j=e?a=>{try{return RegExp(b,"i").test(a)}catch{return a.toLowerCase().includes(b.toLowerCase())}}:a=>a.toLowerCase().includes(b.toLowerCase());return i.filter(a=>"filename"===h?j(a.name)||j(a.path):"content"===h?"string"==typeof a.content&&j(a.content):j(a.name)||j(a.path)||"string"==typeof a.content&&j(a.content)).slice(0,g)}async findReferences(a,b,c="any"){this.ensureInitialized();let d=await this.adapter.listFiles(a),e=[],f=[];switch(c){case"class":f.push(RegExp(`class=["'][^"']*\\b${b}\\b[^"']*["']`,"gi")),f.push(RegExp(`\\.${b}\\b`,"g")),f.push(RegExp(`classList\\.(add|remove|toggle|contains)\\(['"\`]${b}['"\`]`,"g"));break;case"id":f.push(RegExp(`id=["']${b}["']`,"gi")),f.push(RegExp(`#${b}\\b`,"g")),f.push(RegExp(`getElementById\\(['"\`]${b}['"\`]`,"g")),f.push(RegExp(`querySelector\\(['"\`]#${b}['"\`]`,"g"));break;case"function":f.push(RegExp(`function\\s+${b}\\s*\\(`,"g")),f.push(RegExp(`(?:const|let|var)\\s+${b}\\s*=\\s*(?:\\([^)]*\\)|[^=])\\s*=>`,"g")),f.push(RegExp(`${b}\\s*\\(`,"g"));break;case"variable":f.push(RegExp(`(?:const|let|var)\\s+${b}\\b`,"g")),f.push(RegExp(`\\b${b}\\b`,"g"));break;default:f.push(RegExp(`\\b${b}\\b`,"gi"))}for(let a of d){if("string"!=typeof a.content)continue;let b=[];a.content.split("\n").forEach((a,c)=>{for(let d of f)if(d.test(a)){b.push({line:c+1,text:a.trim()});break}}),b.length>0&&e.push({file:a,matches:b})}return e}async getFileStats(a,b){this.ensureInitialized();let c=await this.adapter.getFile(a,b);if(!c)throw Error(`File not found: ${b}`);let d=("string"==typeof c.content?c.content:"").split("\n");return{path:c.path,size:c.size,lines:d.length,type:c.type,preview:d.slice(0,10),lastModified:c.updatedAt}}async getProjectSize(a){return this.ensureInitialized(),(await this.adapter.listFiles(a)).reduce((a,b)=>a+b.size,0)}async getProjectStats(a){let b;this.ensureInitialized();let c=await this.adapter.listFiles(a),d=0,e={};for(let a of c){d+=a.size;let b=a.path.split(".").pop()?.toUpperCase()||"OTHER";e[b]=(e[b]||0)+1}return b=d<1024?`${d} B`:d<1048576?`${(d/1024).toFixed(1)} KB`:`${(d/1048576).toFixed(2)} MB`,{fileCount:c.length,totalSize:d,fileTypes:e,formattedSize:b}}async exportProject(a){return this.ensureInitialized(),{project:await this.getProject(a),files:await this.adapter.listFiles(a)}}async exportProjectAsZip(a){this.ensureInitialized();let b=new(f());try{let c=new j.B(this,a);for(let a of(await c.compileProject()).files){let c=a.path.startsWith("/")?a.path.slice(1):a.path;this.shouldExcludeFromExport(a.path)||(a.content,b.file(c,a.content))}c.cleanupBlobUrls()}catch(c){for(let d of(g.v.warn("Failed to compile Handlebars templates during export, falling back to raw files:",c),await this.adapter.listFiles(a))){let a=d.path.startsWith("/")?d.path.slice(1):d.path;this.shouldExcludeFromExport(d.path)||(d.content,b.file(a,d.content))}}return await b.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}})}shouldExcludeFromExport(a){return!!(a.endsWith(".hbs")||a.endsWith(".handlebars")||a.startsWith("/templates/"))||"/data.json"===a}async duplicateProject(a){this.ensureInitialized();let b=await this.getProject(a),c=await this.adapter.listFiles(a),d=`${b.name} (Copy)`.slice(0,50),e=await this.createProject(d,b.description);return await i.$.runWithSuppressedDirty(e.id,async()=>{for(let a of c)await this.createFile(e.id,a.path,a.content)}),e}async importProject(a){this.ensureInitialized();let b=await this.createProject(a.project.name,a.project.description);return await i.$.runWithSuppressedDirty(b.id,async()=>{for(let c of a.files)await this.createFile(b.id,c.path,c.content)}),b}getParentPath(a){if("/"===a)return null;let b=a.split("/").filter(Boolean);return 1===b.length?"/":(b.pop(),"/"+b.join("/"))}async updateFileTree(a,b,c){let d=this.getParentPath(b);if(null===d)return;let e=await this.adapter.getTreeNode(a,d);if(e||"create"!==c||(await this.createDirectory(a,d),e=await this.adapter.getTreeNode(a,d)),e){let a=e.children||[];if("create"!==c||a.includes(b)){if("delete"===c){let c=a.indexOf(b);c>-1&&a.splice(c,1)}}else a.push(b);e.children=a,await this.adapter.updateTreeNode(e)}}}let n=new m},12897:(a,b,c)=>{"use strict";c.d(b,{$7:()=>f,In:()=>g,N1:()=>e});let d=/^---\s*\n([\s\S]*?)\n---\s*\n([\s\S]*)$/;function e(a){let b=a.match(d);if(!b)throw Error("Invalid SKILL.md format: Missing YAML frontmatter");let[,c,e]=b;try{let a=function(a){let b=a.split("\n"),c={};for(let a of b){let b=a.trim();if(!b||b.startsWith("#"))continue;let d=b.indexOf(":");if(-1===d)continue;let e=b.slice(0,d).trim(),f=b.slice(d+1).trim();(f.startsWith('"')&&f.endsWith('"')||f.startsWith("'")&&f.endsWith("'"))&&(f=f.slice(1,-1)),"true"===f?f=!0:"false"===f?f=!1:isNaN(Number(f))||""===f||(f=Number(f)),c[e]=f}return c}(c);return function(a){if(!a.name||"string"!=typeof a.name)throw Error('Missing or invalid "name" field in frontmatter');if(!a.description||"string"!=typeof a.description)throw Error('Missing or invalid "description" field in frontmatter');if(!/^[a-z0-9-]+$/.test(a.name))throw Error('Skill name must be lowercase with hyphens only (e.g., "my-skill-name")');if(a.description.length>500)throw Error("Description must be 500 characters or less")}(a),{frontmatter:a,markdown:e.trim()}}catch(a){throw Error(`Failed to parse SKILL.md: ${a instanceof Error?a.message:"Unknown error"}`)}}function f(a,b){let c=[];for(let[b,d]of Object.entries(a))null!=d&&("string"==typeof d&&(d.includes(":")||d.includes("\n"))?c.push(`${b}: "${d}"`):c.push(`${b}: ${d}`));return`--- +${c.join("\n")} +--- + +${b.trim()} +`}function g(a,b){return f({name:a.toLowerCase().replace(/\s+/g,"-"),description:b},`# ${a} + +## Purpose +[Describe what this skill helps with] + +## Guidelines +- Guideline 1 +- Guideline 2 +- Guideline 3 + +## Examples +[Provide code examples or usage patterns] + +## Best Practices +[List best practices and recommendations] +`)}},13531:(a,b,c)=>{"use strict";c.d(b,{B:()=>f});var d=c(2733),e=c.n(d);class f{constructor(a,b,c,d){this.blobUrls=new Map,this.fileHashes=new Map,this.templateCache=new Map,this.partialsRegistered=!1,this.vfs=a,this.projectId=b,this.siteId=d,this.baseUrl="",c&&(this.blobUrls=new Map(c)),this.handlebars=e().create(),this.registerHelpers()}registerHelpers(){this.handlebars.registerHelper("eq",(a,b)=>a===b),this.handlebars.registerHelper("ne",(a,b)=>a!==b),this.handlebars.registerHelper("lt",(a,b)=>aa>b),this.handlebars.registerHelper("lte",(a,b)=>a<=b),this.handlebars.registerHelper("gte",(a,b)=>a>=b),this.handlebars.registerHelper("and",function(){let a=Array.prototype.slice.call(arguments,0,-1);return a.every(a=>a)}),this.handlebars.registerHelper("or",function(){let a=Array.prototype.slice.call(arguments,0,-1);return a.some(a=>a)}),this.handlebars.registerHelper("not",a=>!a),this.handlebars.registerHelper("add",(a,b)=>a+b),this.handlebars.registerHelper("subtract",(a,b)=>a-b),this.handlebars.registerHelper("multiply",(a,b)=>a*b),this.handlebars.registerHelper("divide",(a,b)=>a/b),this.handlebars.registerHelper("uppercase",a=>a?.toUpperCase()),this.handlebars.registerHelper("lowercase",a=>a?.toLowerCase()),this.handlebars.registerHelper("concat",function(){let a=Array.prototype.slice.call(arguments,0,-1);return a.join("")}),this.handlebars.registerHelper("json",a=>JSON.stringify(a,null,2)),this.handlebars.registerHelper("formatDate",a=>new Date(a).toLocaleDateString()),this.handlebars.registerHelper("limit",(a,b)=>a?.slice(0,b))}async registerPartials(){if(!this.partialsRegistered)try{for(let a of(await this.vfs.getAllFilesAndDirectories(this.projectId)).filter(a=>"content"in a&&a.path.startsWith("/templates/")&&(a.path.endsWith(".hbs")||a.path.endsWith(".handlebars")))){let b=a.content,c=a.path.replace(/^\/templates\//,"").replace(/\.hbs$/,"").replace(/\.handlebars$/,"");this.handlebars.registerPartial(c,b);let d=c.split("/").pop();if(d&&this.handlebars.registerPartial(d,b),c.includes("/")){let a=c.replace(/\//g,"-");this.handlebars.registerPartial(a,b)}}this.partialsRegistered=!0}catch(a){}}async compileTemplate(a,b={}){let c=this.templateCache.get(a);if(!c)try{let b=(await this.vfs.readFile(this.projectId,a)).content;c=this.handlebars.compile(b),this.templateCache.set(a,c)}catch(b){return console.error(`Failed to compile template ${a}:`,b),""}return c(b)}async compileProject(a=!1){await this.registerPartials();let b=await this.vfs.listDirectory(this.projectId,"/"),c=new Map(this.blobUrls),d=new Map,e=[];for(let f of b){let b;if("template"===f.type||"html"===f.type||"css"===f.type)continue;b="image"===f.type||"video"===f.type?{path:f.path,content:f.content,mimeType:f.mimeType}:"js"===f.type?await this.processJS(f):{path:f.path,content:f.content,mimeType:f.mimeType};let g=this.hashContent(b.content),h=this.fileHashes.get(b.path);if(a&&h===g&&c.has(b.path)){let a=c.get(b.path);d.set(b.path,a),b.blobUrl=a,c.delete(b.path)}else{let a=new Blob([b.content],{type:b.mimeType}),c=URL.createObjectURL(a);d.set(b.path,c),b.blobUrl=c,this.fileHashes.set(b.path,g)}e.push(b)}for(let f of b){if("html"!==f.type)continue;let b=await this.processHTML(f,d),g=this.hashContent(b.content),h=this.fileHashes.get(b.path);if(a&&h===g&&c.has(b.path)){let a=c.get(b.path);d.set(b.path,a),b.blobUrl=a,c.delete(b.path)}else{let a=new Blob([b.content],{type:b.mimeType}),c=URL.createObjectURL(a);d.set(b.path,c),b.blobUrl=c,this.fileHashes.set(b.path,g)}e.push(b)}let f=[...e];for(let e of b)if("css"===e.type){let b=await this.processCSS(e,d),g=this.hashContent(b.content),h=this.fileHashes.get(b.path);if(a&&h===g&&c.has(b.path)){let a=c.get(b.path);d.set(b.path,a),b.blobUrl=a,c.delete(b.path)}else{let a=new Blob([b.content],{type:b.mimeType}),c=URL.createObjectURL(a);d.set(b.path,c),b.blobUrl=c,this.fileHashes.set(b.path,g)}f.push(b)}let g=this.generateRoutes(b);if(a)for(let[,a]of c)URL.revokeObjectURL(a);else a||this.cleanupBlobUrls();return this.blobUrls=d,{entryPoint:"/index.html",files:f,routes:g,blobUrls:this.blobUrls}}hashContent(a){let b=0;if(a instanceof ArrayBuffer){let c=new Uint8Array(a);for(let a=0;a +// VFS Asset Interceptor - Auto-injected by OSW Studio +(function() { + const vfsBlobUrls = ${JSON.stringify(d)}; + const siteId = ${JSON.stringify(e)}; + + // Helper function to resolve VFS paths to blob URLs + function resolveVfsUrl(url) { + if (!url || typeof url !== 'string') return url; + if (url.startsWith('/assets/') && vfsBlobUrls[url]) { + return vfsBlobUrls[url]; + } + return url; + } + + // Helper function to check if a URL looks like an edge function call + function isEdgeFunctionUrl(url) { + if (!url || typeof url !== 'string' || !siteId) return false; + // Skip external URLs, blob URLs, data URLs, and hash-only URLs + if (url.startsWith('http://') || url.startsWith('https://') || + url.startsWith('blob:') || url.startsWith('data:') || + url.startsWith('//') || url.startsWith('#')) { + return false; + } + // Skip if already an API path + if (url.startsWith('/api/')) return false; + // Skip if it has a file extension (likely an asset) + const pathWithoutQuery = url.split('?')[0].split('#')[0]; + const lastSegment = pathWithoutQuery.split('/').pop() || ''; + if (lastSegment.includes('.')) return false; + // This looks like an edge function path + return true; + } + + // Helper function to convert an edge function URL to the API endpoint + function toEdgeFunctionApiUrl(url) { + if (!siteId) return url; + // Normalize the path + let path = url; + if (!path.startsWith('/')) path = '/' + path; + // Remove leading slash for the function name + const functionPath = path.substring(1); + // Return the API endpoint URL + return '/api/sites/' + siteId + '/functions/' + functionPath; + } + + // Intercept Image src setter to handle ALL image loading + const originalSrcDescriptor = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src'); + Object.defineProperty(HTMLImageElement.prototype, 'src', { + get: function() { + return originalSrcDescriptor.get.call(this); + }, + set: function(value) { + const resolvedUrl = resolveVfsUrl(value); + return originalSrcDescriptor.set.call(this, resolvedUrl); + }, + enumerable: true, + configurable: true + }); + + // Intercept setAttribute for src attributes + const originalSetAttribute = Element.prototype.setAttribute; + Element.prototype.setAttribute = function(name, value) { + if ((name === 'src' || name === 'href') && this instanceof HTMLImageElement) { + value = resolveVfsUrl(value); + } + return originalSetAttribute.call(this, name, value); + }; + + // Intercept innerHTML to catch template-generated images + const originalInnerHTMLDescriptor = Object.getOwnPropertyDescriptor(Element.prototype, 'innerHTML'); + Object.defineProperty(Element.prototype, 'innerHTML', { + get: function() { + return originalInnerHTMLDescriptor.get.call(this); + }, + set: function(value) { + if (typeof value === 'string' && value.includes('/assets/')) { + // Replace asset URLs in the HTML string before setting + const srcRegex = new RegExp('src=["\\']([^"\\']*/assets/[^"\\']*)["\\']', 'g'); + value = value.replace(srcRegex, function(match, url) { + const resolvedUrl = resolveVfsUrl(url); + if (resolvedUrl !== url) { + return match.replace(url, resolvedUrl); + } + return match; + }); + } + return originalInnerHTMLDescriptor.set.call(this, value); + }, + enumerable: true, + configurable: true + }); + + // Intercept Image constructor + const OriginalImage = window.Image; + window.Image = function(...args) { + const img = new OriginalImage(...args); + // Override src setter for this instance too + const descriptor = Object.getOwnPropertyDescriptor(img, 'src') || + Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src'); + if (descriptor) { + Object.defineProperty(img, 'src', { + get: descriptor.get, + set: function(value) { + const resolvedUrl = resolveVfsUrl(value); + return originalSrcDescriptor.set.call(this, resolvedUrl); + }, + enumerable: true, + configurable: true + }); + } + return img; + }; + // Preserve original Image properties + Object.setPrototypeOf(window.Image, OriginalImage); + window.Image.prototype = OriginalImage.prototype; + + // Intercept createElement for img elements + const originalCreateElement = document.createElement; + document.createElement = function(tagName, options) { + const element = originalCreateElement.call(this, tagName, options); + if (tagName.toLowerCase() === 'img') { + const originalSrcDescriptor = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src'); + Object.defineProperty(element, 'src', { + get: function() { + return originalSrcDescriptor.get.call(this); + }, + set: function(value) { + const resolvedUrl = resolveVfsUrl(value); + return originalSrcDescriptor.set.call(this, resolvedUrl); + }, + enumerable: true, + configurable: true + }); + } + return element; + }; + + // Intercept fetch requests to VFS assets and edge functions + const originalFetch = window.fetch; + window.fetch = function(input, init) { + const url = typeof input === 'string' ? input : input.url; + + // First check if this is an edge function call + if (isEdgeFunctionUrl(url)) { + const apiUrl = toEdgeFunctionApiUrl(url); + // Use the parent window's origin for the API call + const fullApiUrl = window.parent ? window.parent.location.origin + apiUrl : apiUrl; + return originalFetch(fullApiUrl, init); + } + + // Then check for VFS asset resolution + const resolvedUrl = resolveVfsUrl(url); + if (resolvedUrl !== url) { + return originalFetch(resolvedUrl, init); + } + + return originalFetch(input, init); + }; + + // Intercept XMLHttpRequest for older code and edge functions + const OriginalXHR = window.XMLHttpRequest; + window.XMLHttpRequest = function() { + const xhr = new OriginalXHR(); + const originalOpen = xhr.open; + + xhr.open = function(method, url, ...args) { + let finalUrl = url; + + // Check for edge function first + if (isEdgeFunctionUrl(url)) { + const apiUrl = toEdgeFunctionApiUrl(url); + finalUrl = window.parent ? window.parent.location.origin + apiUrl : apiUrl; + } else { + finalUrl = resolveVfsUrl(url); + } + + return originalOpen.call(this, method, finalUrl, ...args); + }; + + return xhr; + }; + + // Intercept form submissions for edge functions + if (siteId) { + document.addEventListener('submit', function(e) { + const form = e.target; + if (!(form instanceof HTMLFormElement)) return; + + const action = form.getAttribute('action') || ''; + if (isEdgeFunctionUrl(action)) { + e.preventDefault(); + e.stopPropagation(); + + const apiUrl = toEdgeFunctionApiUrl(action); + const fullApiUrl = window.parent ? window.parent.location.origin + apiUrl : apiUrl; + const method = (form.method || 'GET').toUpperCase(); + + // Collect form data + const formData = new FormData(form); + + // Convert to JSON for edge functions + const data = {}; + formData.forEach(function(value, key) { + data[key] = value; + }); + + // Make the fetch request + fetch(fullApiUrl, { + method: method, + headers: { + 'Content-Type': 'application/json' + }, + body: method !== 'GET' ? JSON.stringify(data) : undefined + }) + .then(function(response) { + return response.json().catch(function() { + return response.text(); + }); + }) + .then(function(result) { + // Dispatch custom event with the result + const event = new CustomEvent('edge-function-response', { + detail: { action: action, result: result } + }); + form.dispatchEvent(event); + document.dispatchEvent(event); + + // Result available for custom event handlers if needed + void result; + }) + .catch(function(error) { + console.error('[Edge Function] Error:', error); + const event = new CustomEvent('edge-function-error', { + detail: { action: action, error: error.message } + }); + form.dispatchEvent(event); + document.dispatchEvent(event); + }); + } + }, true); + } + + // Process any existing images in the DOM when ready + function processExistingImages() { + const images = document.querySelectorAll('img[src*="/assets/"]'); + images.forEach(img => { + const currentSrc = img.src; + const resolvedSrc = resolveVfsUrl(currentSrc); + if (resolvedSrc !== currentSrc) { + img.src = resolvedSrc; + } + }); + } + + // Use MutationObserver to catch dynamically added images + function setupMutationObserver() { + if (typeof MutationObserver !== 'undefined') { + const observer = new MutationObserver(function(mutations) { + mutations.forEach(function(mutation) { + mutation.addedNodes.forEach(function(node) { + if (node.nodeType === 1) { // Element node + if (node.tagName === 'IMG' && node.src && node.src.includes('/assets/')) { + const resolvedSrc = resolveVfsUrl(node.src); + if (resolvedSrc !== node.src) { + node.src = resolvedSrc; + } + } + // Also check children + const childImages = node.querySelectorAll && node.querySelectorAll('img[src*="/assets/"]'); + if (childImages) { + childImages.forEach(img => { + const resolvedSrc = resolveVfsUrl(img.src); + if (resolvedSrc !== img.src) { + img.src = resolvedSrc; + } + }); + } + } + }); + }); + }); + + observer.observe(document.body || document.documentElement, { + childList: true, + subtree: true + }); + } + } + + // Setup everything when DOM is ready + if (document.readyState === 'loading') { + document.addEventListener('DOMContentLoaded', function() { + processExistingImages(); + setupMutationObserver(); + }); + } else { + processExistingImages(); + setupMutationObserver(); + } +})(); +`;return c=c.includes("")?c.replace("",f+"\n"):c.includes("")?c.replace("",f+"\n"):f+"\n"+c,{path:a.path,content:c,mimeType:a.mimeType}}extractPartialReferences(a){let b,c=/\{\{>\s*([\w-]+)\s*(?:\s+[^}]*)?\}\}/g,d=new Set;for(;null!==(b=c.exec(a));)d.add(b[1]);return Array.from(d)}registerErrorStubsForMissingPartials(a){for(let b of a)if(!this.handlebars.partials[b]){let a=`
+ ⚠️ Missing partial: "${b}" +

Create file in /templates/ directory (e.g., /templates/${b}.hbs or /templates/components/${b}.hbs)

+
`;this.handlebars.registerPartial(b,a)}}async processHandlebarsTemplates(a){await this.registerPartials();try{let b=this.detectInvalidHandlebarsPatterns(a);if(b.length>0){let c=b.map(a=>`❌ ${a.error} +💡 ${a.suggestion}`).join("\n\n");return` +
+

⚠️ Handlebars Template Error

+
${c}
+
+`}let c=this.extractPartialReferences(a);this.registerErrorStubsForMissingPartials(c);let d={};try{let a=await this.vfs.readFile(this.projectId,"/data.json");d=JSON.parse(a.content)}catch{}return this.handlebars.compile(a)(d)}catch(c){console.error("VirtualServer: Error processing Handlebars templates:",c);let b=c instanceof Error?c.message:String(c);return` +
+

⚠️ Handlebars Template Error

+

Error: ${b}

+

Common fixes:

+
    +
  • Check for typos in helper names and partial references
  • +
  • Ensure all opening tags have matching closing tags
  • +
  • Verify partial names exist in /templates/ directory
  • +
  • Use {{> partialName}} syntax, not (> partialName)
  • +
+
+`}}detectInvalidHandlebarsPatterns(a){let b=[];return/\w+\s*=\s*\(\s*>\s*[\w-]+\s*\)/g.test(a)&&b.push({error:"Invalid syntax: Using (> partial) as parameter value",suggestion:"Use string-based dynamic partials: content=\"partial-name\" then {{> (lookup this 'content')}}"}),/\{\{\s*>\s*\(\s*>\s*[\w-]+\s*\)\s*\}\}/g.test(a)&&b.push({error:"Invalid syntax: Double partial reference {{> (> partial)}}",suggestion:"Use {{> partialName}} for static partials or {{> (lookup data 'partialName')}} for dynamic"}),/\{\{\s*>\s*[\w-]+\s+\w+\s*=\s*[^"'\s}][^}]*\s[^}]*(?:\s|}})/g.test(a)&&b.push({error:"Missing quotes in parameter values",suggestion:'Wrap parameter values in quotes: title="My Title" not title=My Title'}),b}async processCSS(a,b){let c=a.content;return c=await this.processUrlReferences(c,b),{path:a.path,content:c,mimeType:a.mimeType}}async processJS(a){let b=a.content;return{path:a.path,content:b,mimeType:a.mimeType}}isAssetReference(a){let b=a.split("?")[0].split("#")[0];return[".css",".js",".jsx",".ts",".tsx",".png",".jpg",".jpeg",".gif",".svg",".ico",".webp",".woff",".woff2",".ttf",".otf",".eot",".mp4",".webm",".ogg",".mp3",".wav",".pdf",".zip",".json",".xml"].includes(b.substring(b.lastIndexOf(".")).toLowerCase())}async processInternalReferences(a,b){let c=await this.vfs.listDirectory(this.projectId,"/"),d=b||this.blobUrls,e=a;for(let a of[/href="([^"]+)"/g,/src="([^"]+)"/g,/href='([^']+)'/g,/src='([^']+)'/g])e=e.replace(a,(a,b)=>{if(b.startsWith("http")||b.startsWith("data:")||b.startsWith("//")||b.startsWith("blob:")||b.startsWith("#")||a.includes("href=")&&!this.isAssetReference(b))return a;let e=this.normalizePath(b);if(c.some(a=>a.path===e)){let c=d.get(e);if(c)return a.replace(b,c)}return a});return e}async processUrlReferences(a,b){return a.replace(/url\(['"]?([^'")]+)['"]?\)/g,(a,c)=>{if(c.startsWith("http")||c.startsWith("data:")||c.startsWith("//")||c.startsWith("blob:"))return a;let d=this.normalizePath(c),e=b.get(d);return e?`url('${e}')`:a})}normalizePath(a){return(a.startsWith("./")&&(a=a.slice(2)),a.startsWith("/")||(a="/"+a),a.endsWith("/"))?a+"index.html":a.includes(".")?a:a+".html"}generateRoutes(a){return a.filter(a=>"html"===a.type).map(a=>{let b=a.content.match(/([^<]+)<\/title>/i),c=b?b[1]:a.name.replace(".html",""),d=a.path.replace(".html","")||"/";return{path:"/index"===d?"/":d,file:a.path,title:c}})}extractTitle(a){let b=a.match(/<title>([^<]+)<\/title>/i);return b?b[1]:"Untitled Page"}cleanupBlobUrls(){for(let a of this.blobUrls.values())URL.revokeObjectURL(a);this.blobUrls.clear(),this.templateCache.clear(),this.partialsRegistered=!1}async getCompiledFile(a){try{let b=await this.vfs.readFile(this.projectId,a);if("html"===b.type)return await this.processHTML(b,this.blobUrls);if("css"===b.type)return await this.processCSS(b,new Map);if("js"===b.type)return await this.processJS(b);else return{path:b.path,content:b.content,mimeType:b.mimeType}}catch{return null}}}},15514:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f,v:()=>j});var d=c(43249),e=c(58829);function f(...a){return(0,e.QP)((0,d.$)(a))}let g={debug:10,info:20,warn:30,error:40,silent:50},h="undefined"!=typeof process&&"warn"||"warn";function i(a){return g[h]<=g[a]}let j={debug:(...a)=>{i("debug")&&console.debug(...a)},info:(...a)=>{i("info")&&console.info(...a)},warn:(...a)=>{i("warn")&&console.warn(...a)},error:(...a)=>{i("error")&&console.error(...a)}}},15857:(a,b,c)=>{"use strict";c.d(b,{Sj:()=>d});let d=[{id:"osw-planning",content:String.raw`--- +name: osw-planning +description: Read when starting new projects. Covers PLAN.md workflow, JAMstack-compatible tech stack options, and project structure. +--- + +# OSW Studio Project Planning + +## Purpose +This skill helps you plan new website projects in OSW Studio. Use it at the start of any new project to establish structure, choose technologies, and create a roadmap. + +## Step 1: Create PLAN.md First + +**Always start by creating \`/PLAN.md\`** - this is your project roadmap: + +\`\`\`markdown +# Project Plan + +## Overview +[Brief description of the website and its purpose] + +## Pages +- index.html - Homepage with hero, features, CTA +- about.html - About page with team/company info +- contact.html - Contact form and details + +## Tech Stack +- CSS Framework: [Tailwind/Bootstrap/Bulma/Vanilla] +- Icons: [FontAwesome/Heroicons/Feather/Lucide] +- Fonts: [Google Fonts selection] +- Images: [Picsum/Unsplash/User-provided] +- Animation: [AOS/Animate.css/CSS only] +- Forms: [Netlify Forms/Formspree/Basin] + +## Color Palette +- Primary: #3B82F6 +- Secondary: #8B5CF6 +- Accent: #F59E0B +- Neutral: #F9FAFB / #111827 + +## Component Structure +- /templates/components/nav.hbs +- /templates/components/footer.hbs +- /templates/partials/[other partials] + +## Execution Order +1. Create Handlebars components (nav, footer) +2. Build index.html first (visible progress!) +3. Build remaining pages +4. Add interactivity/animations +5. Test and refine +\`\`\` + +## JAMstack Tech Stack Options + +### CSS Frameworks (pick one) + +**Tailwind CSS** - Utility-first, highly customizable +\`\`\`html +<script src="https://cdn.tailwindcss.com"></script> +<script> + tailwind.config = { + theme: { + extend: { + colors: { + primary: '#3B82F6', + secondary: '#8B5CF6', + } + } + } + } +</script> +\`\`\` + +**Bootstrap 5** - Component-rich, quick prototyping +\`\`\`html +<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"> +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script> +\`\`\` + +**Bulma** - Modern, flexbox-based +\`\`\`html +<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"> +\`\`\` + +**Vanilla CSS** - Full control, no dependencies +\`\`\`html +<link rel="stylesheet" href="/styles.css"> +\`\`\` + +### Icon Libraries (pick one) + +**FontAwesome** - Largest collection +\`\`\`html +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> +<!-- Usage: <i class="fa-solid fa-check"></i> --> +\`\`\` + +**Heroicons** - By Tailwind team, inline SVG +\`\`\`html +<!-- Copy SVG directly from heroicons.com --> +<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">...</svg> +\`\`\` + +**Feather Icons** - Minimal, clean +\`\`\`html +<script src="https://unpkg.com/feather-icons"></script> +<script>feather.replace()</script> +<!-- Usage: <i data-feather="check"></i> --> +\`\`\` + +**Lucide Icons** - Feather fork, more icons +\`\`\`html +<script src="https://unpkg.com/lucide@latest"></script> +<script>lucide.createIcons();</script> +<!-- Usage: <i data-lucide="check"></i> --> +\`\`\` + +### Animation Libraries (optional) + +**AOS (Animate On Scroll)** +\`\`\`html +<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css"> +<script src="https://unpkg.com/aos@next/dist/aos.js"></script> +<script>AOS.init();</script> +<!-- Usage: <div data-aos="fade-up">Content</div> --> +\`\`\` + +**Animate.css** +\`\`\`html +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"> +<!-- Usage: <div class="animate__animated animate__fadeIn">Content</div> --> +\`\`\` + +**CSS Transitions** - No library needed +\`\`\`css +.element { + transition: transform 0.3s ease, opacity 0.3s ease; +} +.element:hover { + transform: translateY(-4px); + opacity: 0.9; +} +\`\`\` + +### Placeholder Images + +**Picsum Photos** +\`\`\`html +<img src="https://picsum.photos/800/600" alt="Random image"> +<img src="https://picsum.photos/800/600?random=1" alt="Specific random"> +<img src="https://picsum.photos/800/600?grayscale" alt="Grayscale"> +\`\`\` + +**Unsplash Source** +\`\`\`html +<img src="https://source.unsplash.com/800x600/?nature" alt="Nature image"> +<img src="https://source.unsplash.com/800x600/?office" alt="Office image"> +\`\`\` + +### Web Fonts + +**Google Fonts** +\`\`\`html +<link rel="preconnect" href="https://fonts.googleapis.com"> +<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> +<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Playfair+Display:wght@700&display=swap" rel="stylesheet"> +<style> + body { font-family: 'Inter', sans-serif; } + h1, h2, h3 { font-family: 'Playfair Display', serif; } +</style> +\`\`\` + +**System Font Stack** - No external request +\`\`\`css +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; +} +\`\`\` + +### Form Handling (for static hosting) + +**Netlify Forms** +\`\`\`html +<form name="contact" method="POST" data-netlify="true"> + <input type="hidden" name="form-name" value="contact"> + <input type="email" name="email" required> + <textarea name="message" required></textarea> + <button type="submit">Send</button> +</form> +\`\`\` + +**Formspree** +\`\`\`html +<form action="https://formspree.io/f/YOUR_ID" method="POST"> + <input type="email" name="email" required> + <textarea name="message" required></textarea> + <button type="submit">Send</button> +</form> +\`\`\` + +**Basin** +\`\`\`html +<form action="https://usebasin.com/f/YOUR_ID" method="POST"> + <input type="email" name="email" required> + <textarea name="message" required></textarea> + <button type="submit">Send</button> +</form> +\`\`\` + +## Project Structure + +\`\`\` +/ +├── PLAN.md # Project roadmap (create first!) +├── index.html # Homepage +├── about.html # About page +├── contact.html # Contact page +├── templates/ +│ ├── components/ +│ │ ├── nav.hbs # Navigation component +│ │ └── footer.hbs # Footer component +│ └── partials/ +│ ├── hero.hbs # Reusable hero section +│ └── cta.hbs # Call-to-action section +├── styles.css # Custom styles (if needed) +└── scripts/ + └── main.js # Custom JavaScript (if needed) +\`\`\` + +## Color Palette Guidelines + +Choose accessible, professional color schemes: + +\`\`\`javascript +// Example palettes + +// Professional Blue +{ primary: '#2563EB', secondary: '#3B82F6', accent: '#F59E0B' } + +// Modern Purple +{ primary: '#7C3AED', secondary: '#8B5CF6', accent: '#10B981' } + +// Clean Teal +{ primary: '#0D9488', secondary: '#14B8A6', accent: '#F97316' } + +// Warm Orange +{ primary: '#EA580C', secondary: '#F97316', accent: '#0EA5E9' } +\`\`\` + +**Tools for color selection:** +- coolors.co - Generate palettes +- tailwindcss.com/docs/customizing-colors - Tailwind palette +- contrast-ratio.com - Check WCAG accessibility + +## Planning Do's and Don'ts + +### Do's +✅ Create PLAN.md before writing any code +✅ Choose ONE CSS framework and stick with it +✅ Plan all pages upfront +✅ Use CDN links for all external assets +✅ Consider mobile-first design +✅ Ensure color contrast meets WCAG AA (4.5:1 for text) +✅ Plan component reuse (nav, footer, cards) + +### Don'ts +❌ Don't skip PLAN.md - it saves time later +❌ Don't mix multiple CSS frameworks +❌ Don't use emojis for icons (use icon libraries) +❌ Don't plan for backend features (static sites only) +❌ Don't use npm/build tools (CDN only) +❌ Don't over-engineer - start simple +❌ Don't forget responsive breakpoints in your plan +`},{id:"osw-one-shot",content:String.raw`--- +name: osw-one-shot +description: Read when building landing pages, page layouts, or complete sites. Covers execution order, Handlebars components, CDN resources, and efficient page structure. +--- + +# OSW Studio One-Shot Site Building + +## Purpose +This skill helps you build complete multi-page websites efficiently in a single session. Focus on visible progress and systematic execution. + +## Core Principle: Visible Progress First + +Users want to see results quickly. The execution order matters: + +1. **Reusable components first** - nav.hbs, footer.hbs +2. **Homepage second** - index.html shows immediate progress +3. **Other pages third** - about, contact, etc. +4. **Polish last** - animations, mobile menu, refinements + +## Execution Order + +### Step 1: Create Components (5 min) + +\`\`\`bash +mkdir -p /templates/components +\`\`\` + +**Navigation Component** (/templates/components/nav.hbs): +\`\`\`handlebars +<nav class="bg-white shadow-sm sticky top-0 z-50"> + <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> + <div class="flex justify-between items-center h-16"> + <a href="/" class="font-bold text-xl text-primary">Brand</a> + <div class="hidden md:flex space-x-8"> + <a href="/" class="text-gray-700 hover:text-primary transition-colors">Home</a> + <a href="/about.html" class="text-gray-700 hover:text-primary transition-colors">About</a> + <a href="/contact.html" class="text-gray-700 hover:text-primary transition-colors">Contact</a> + </div> + <button class="md:hidden p-2" id="mobile-menu-btn" aria-label="Toggle menu"> + <i class="fa-solid fa-bars text-xl"></i> + </button> + </div> + <!-- Mobile menu --> + <div class="hidden md:hidden pb-4" id="mobile-menu"> + <a href="/" class="block py-2 text-gray-700">Home</a> + <a href="/about.html" class="block py-2 text-gray-700">About</a> + <a href="/contact.html" class="block py-2 text-gray-700">Contact</a> + </div> + </div> +</nav> +\`\`\` + +**Footer Component** (/templates/components/footer.hbs): +\`\`\`handlebars +<footer class="bg-gray-900 text-white py-12"> + <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> + <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> + <div> + <h3 class="font-bold text-lg mb-4">Brand</h3> + <p class="text-gray-400">Your tagline or description here.</p> + </div> + <div> + <h4 class="font-semibold mb-4">Quick Links</h4> + <ul class="space-y-2"> + <li><a href="/" class="text-gray-400 hover:text-white transition-colors">Home</a></li> + <li><a href="/about.html" class="text-gray-400 hover:text-white transition-colors">About</a></li> + <li><a href="/contact.html" class="text-gray-400 hover:text-white transition-colors">Contact</a></li> + </ul> + </div> + <div> + <h4 class="font-semibold mb-4">Connect</h4> + <div class="flex space-x-4"> + <a href="#" class="text-gray-400 hover:text-white transition-colors" aria-label="Twitter"> + <i class="fa-brands fa-twitter text-xl"></i> + </a> + <a href="#" class="text-gray-400 hover:text-white transition-colors" aria-label="GitHub"> + <i class="fa-brands fa-github text-xl"></i> + </a> + <a href="#" class="text-gray-400 hover:text-white transition-colors" aria-label="LinkedIn"> + <i class="fa-brands fa-linkedin text-xl"></i> + </a> + </div> + </div> + </div> + <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400"> + <p>© 2025 Brand. All rights reserved.</p> + </div> + </div> +</footer> +\`\`\` + +### Step 2: Build Homepage (index.html) + +This is where users see progress. Build it complete before moving on. + +\`\`\`html +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Site Title + + + + + + + + + + + + + + + + + + + {{> components/nav}} + + +
+
+

+ Your Headline Here +

+

+ A compelling subheadline that explains your value proposition. +

+ +
+
+ + +
+
+

Features

+
+
+
+ +
+

Feature One

+

Description of this amazing feature and its benefits.

+
+
+
+ +
+

Feature Two

+

Description of this amazing feature and its benefits.

+
+
+
+ +
+

Feature Three

+

Description of this amazing feature and its benefits.

+
+
+
+
+ + +
+
+

Ready to Get Started?

+

Join thousands of satisfied customers today.

+ + Contact Us + +
+
+ + {{> components/footer}} + + + + + + +\`\`\` + +### Step 3: Build Remaining Pages + +Use the same structure - just change the main content: + +**Page Template:** +\`\`\`html + + + + + + + {{> components/nav}} + + + + {{> components/footer}} + + + + +\`\`\` + +### Step 4: Add Interactivity (if needed) + +Common patterns: + +**Mobile Menu Toggle:** +\`\`\`javascript +const menuBtn = document.getElementById('mobile-menu-btn'); +const mobileMenu = document.getElementById('mobile-menu'); +menuBtn?.addEventListener('click', () => mobileMenu?.classList.toggle('hidden')); +\`\`\` + +**Smooth Scroll:** +\`\`\`html + +\`\`\` + +**Form Validation:** +\`\`\`javascript +document.querySelector('form')?.addEventListener('submit', (e) => { + const email = document.querySelector('input[type="email"]'); + if (!email?.value.includes('@')) { + e.preventDefault(); + alert('Please enter a valid email'); + } +}); +\`\`\` + +## Mobile-First Approach + +Always design for mobile first, then add tablet/desktop overrides: + +\`\`\`html + +
+ +
+ +
+ Content +
+
+
+\`\`\` + +**Common Breakpoints (Tailwind):** +- \`sm:\` - 640px (large phones) +- \`md:\` - 768px (tablets) +- \`lg:\` - 1024px (laptops) +- \`xl:\` - 1280px (desktops) + +## Quick CDN Reference + +\`\`\`html + + + + + + + + + + + + + + + +\`\`\` + +## Execution Do's and Don'ts + +### Do's +✅ Build components before pages +✅ Complete index.html before other pages +✅ Test in preview after each major section +✅ Use consistent spacing (Tailwind: py-20 for sections) +✅ Add aria-labels to icon-only buttons +✅ Include mobile menu from the start +✅ Use transition-colors for hover effects + +### Don'ts +❌ Don't build pages in random order +❌ Don't skip the mobile menu +❌ Don't forget to initialize AOS if using it +❌ Don't use fixed heights (use min-h instead) +❌ Don't forget responsive classes +❌ Don't leave placeholder text in final version + +## Quality Checklist + +Before considering complete: + +- [ ] All pages use nav/footer components +- [ ] Mobile responsive (test at 375px width) +- [ ] Mobile menu works +- [ ] All links work +- [ ] No console errors +- [ ] Images have alt text +- [ ] Forms have proper labels +- [ ] Animations initialized (if using AOS) +- [ ] Hover states on interactive elements +- [ ] Footer has current year + +## Performance Tips + +- **Lazy load images below fold:** \`loading="lazy"\` +- **Preconnect to font servers:** Already in template +- **Use CDN versions:** Cached globally +- **Minimize custom JS:** Use CSS transitions when possible +- **Compress images:** Use Picsum size parameters + +## Summary + +**One-Shot Execution:** +1. 🧩 Components (nav.hbs, footer.hbs) +2. 🏠 index.html (complete with hero, features, CTA) +3. 📄 Other pages (about, contact) +4. ✨ Polish (animations, mobile menu) +5. ✅ Test in preview + +**Speed Tips:** +- Copy the full page template, modify content +- Reuse section patterns across pages +- Keep styles consistent with Tailwind utilities +- Test early, test often +`},{id:"handlebars-advanced",content:String.raw`--- +name: handlebars-advanced +description: Read when using Handlebars templates, partials, or data.json. Covers helpers, loops, conditionals, and advanced data patterns. +--- + +# Advanced Handlebars Patterns + +## Purpose +Deep dive into Handlebars features available in OSW Studio for building maintainable, data-driven static websites with reusable templates. + +## Key Concept: Build-Time Compilation + +**CRITICAL**: In OSW Studio, Handlebars templates are compiled automatically when the preview loads. You do NOT write JavaScript code to compile or render templates. + +- \`.hbs\` files in \`/templates/\` are auto-registered as partials +- \`data.json\` provides global context for all templates +- NO \`Handlebars.compile()\` or manual registration needed +- Templates compile at BUILD-TIME, not runtime + +## Complex Data Structures + +### Nested Objects in data.json +\`\`\`json +{ + "site": { + "title": "My Website", + "author": { + "name": "John Doe", + "email": "john@example.com", + "social": { + "twitter": "@johndoe", + "github": "johndoe" + } + } + }, + "pages": [ + { + "title": "Home", + "path": "/", + "featured": true + } + ] +} +\`\`\` + +### Accessing Nested Data +\`\`\`handlebars +

{{site.title}}

+

By {{site.author.name}}

+Twitter + +{{#each pages}} + {{#if featured}} + {{title}} + {{/if}} +{{/each}} +\`\`\` + +## Conditional Helpers + +### Comparison Helpers +\`\`\`handlebars +{{! Equality }} +{{#if (eq status "active")}} + Active +{{/if}} + +{{! Greater than }} +{{#if (gt price 100)}} + Premium Product +{{/if}} + +{{! Less than or equal }} +{{#if (lte stock 5)}} + Only {{stock}} left! +{{/if}} +\`\`\` + +### Logical Helpers +\`\`\`handlebars +{{! AND logic }} +{{#if (and featured (gt price 50))}} + Featured Premium Item +{{/if}} + +{{! OR logic }} +{{#if (or onSale newArrival)}} + Special +{{/if}} + +{{! NOT logic }} +{{#if (not soldOut)}} + +{{/if}} +\`\`\` + +## Array Helpers + +### Limit Helper +\`\`\`handlebars +{{! Show only first 5 items }} +{{#each (limit products 5)}} +
{{name}}
+{{/each}} +\`\`\` + +### Accessing Array Indices +\`\`\`handlebars +{{#each items}} +
+ {{! @index is 0-based }} + Item #{{add @index 1}}: {{this.name}} + + {{#if @first}} + First + {{/if}} + + {{#if @last}} + Last + {{/if}} +
+{{/each}} +\`\`\` + +## String Helpers + +### Case Transformation +\`\`\`handlebars +

{{uppercase title}}

+

{{lowercase tagline}}

+\`\`\` + +### String Concatenation +\`\`\`handlebars +

{{concat firstName " " lastName}}

+Contact +\`\`\` + +## Math Helpers + +\`\`\`handlebars +{{! Calculate discounted price }} +

Was: \${{price}}

+

Now: \${{subtract price discount}}

+ +{{! Display total }} +

Subtotal: \${{multiply quantity price}}

+ +{{! Show percentage }} +

{{multiply (divide sold total) 100}}% sold

+\`\`\` + +## Partial Composition + +### Basic Partial Usage +\`\`\`handlebars +{{! In index.html }} +{{> header}} +{{> product-card}} +{{> footer}} +\`\`\` + +### Passing Data to Partials +\`\`\`handlebars +{{! Inline parameters }} +{{> card title="Featured Product" price=99 featured=true}} + +{{! From data context }} +{{#each products}} + {{> product-card}} {{! Inherits product data }} +{{/each}} + +{{! With explicit context }} +{{#with featuredProduct}} + {{> card}} {{! Uses featuredProduct as context }} +{{/with}} +\`\`\` + +### Dynamic Partial Selection +\`\`\`handlebars +{{! In data.json }} +{ + "widgets": [ + {"type": "text-widget", "content": "..."}, + {"type": "image-widget", "src": "..."} + ] +} + +{{! In template }} +{{#each widgets}} + {{> (lookup this 'type')}} +{{/each}} +\`\`\` + +## Advanced Patterns + +### Filtering and Querying +\`\`\`handlebars +{{! Show only active products in electronics category }} +{{#each products}} + {{#if (and (eq category "electronics") (eq status "active"))}} +
+

{{name}}

+

\${{price}}

+
+ {{/if}} +{{/each}} +\`\`\` + +### Complex Conditionals +\`\`\`handlebars +{{#if (or (and featured (gt rating 4)) (eq badge "bestseller"))}} + +{{/if}} +\`\`\` + +### Nested Partials with Context +\`\`\`handlebars +{{! templates/page-layout.hbs }} + + {{pageTitle}} + + {{> header siteTitle=../site.title}} + {{> content}} + {{> footer}} + + + +{{! Use ../ to access parent context from nested scope }} +\`\`\` + +## Data.json Best Practices + +### Organize by Concern +\`\`\`json +{ + "meta": { + "title": "Site Title", + "description": "..." + }, + "navigation": [ + {"label": "Home", "path": "/"} + ], + "products": [...], + "testimonials": [...], + "settings": { + "theme": "light", + "currency": "USD" + } +} +\`\`\` + +### Use Arrays for Repeating Data +\`\`\`json +{ + "features": [ + { + "icon": "🚀", + "title": "Fast", + "description": "Lightning quick performance" + }, + { + "icon": "🔒", + "title": "Secure", + "description": "Bank-level security" + } + ] +} +\`\`\` + +## Debugging Templates + +### JSON Helper for Inspection +\`\`\`handlebars +{{! View entire data structure }} +
{{json this}}
+ +{{! View specific object }} +
{{json product}}
+\`\`\` + +### Checking Variable Values +\`\`\`handlebars +{{! Use comments to debug }} +{{! Variable value: {{myVariable}} }} + +{{#if myVariable}} +

Variable exists: {{myVariable}}

+{{else}} +

Variable is undefined/false/null/empty

+{{/if}} +\`\`\` + +## Common Patterns + +### Navigation Menu +\`\`\`json +{ + "navigation": [ + {"label": "Home", "path": "/", "active": true}, + {"label": "About", "path": "/about.html", "active": false} + ] +} +\`\`\` + +\`\`\`handlebars + +\`\`\` + +### Product Grid with Filtering +\`\`\`handlebars +
+ {{#each products}} + {{#if (and (gte price minPrice) (lte price maxPrice))}} +
+

{{name}}

+

\${{price}}

+ {{#if (lt stock 10)}} + Limited Stock + {{/if}} +
+ {{/if}} + {{/each}} +
+\`\`\` + +## Performance Tips + +- Keep \`data.json\` under 100KB for best performance +- Use partials to avoid duplication, not for tiny snippets +- Limit nested loops (max 2-3 levels deep) +- Pre-process complex data transformations outside templates + +## Common Mistakes to Avoid + +- ❌ Writing JavaScript to compile templates (auto-compiled!) +- ❌ Trying to use template strings or ES6 in Handlebars +- ❌ Forgetting that Handlebars is logic-less (complex logic → data.json) +- ❌ Not escaping HTML when needed (\`{{{triple}}}\` for unescaped) +- ❌ Deeply nested data structures (keep it flat when possible) +`},{id:"accessibility",content:String.raw`--- +name: accessibility +description: Read when user mentions accessibility, a11y, WCAG, or when building forms and navigation. Covers semantic HTML, ARIA, and focus management. +--- + +# Web Accessibility Best Practices + +## Purpose +Ensure static websites meet WCAG 2.1 Level AA accessibility standards. Make your sites usable by everyone, including people using assistive technologies. + +## Semantic HTML + +### Proper Heading Hierarchy +\`\`\`html + +

Page Title

+

Section

+

Subsection

+

Another Subsection

+

Another Section

+ + +

Page Title

+

Section

+\`\`\` + +**Rules:** +- One \`

\` per page +- Don't skip heading levels +- Use headings for structure, not styling + +### Landmark Regions +\`\`\`html +
+ +
+ +
+
+ +
+ + +
+ +
+ +
+\`\`\` + +### Lists for Navigation +\`\`\`html + + + + + +\`\`\` + +### Buttons vs Links +\`\`\`html + +Learn More + + + + + + +Click Me +\`\`\` + +## ARIA Attributes + +### When to Use ARIA +**ARIA First Rule**: Don't use ARIA if you can use native HTML instead. + +\`\`\`html + + + + +
Click Me
+\`\`\` + +### Common ARIA Patterns + +**aria-label and aria-labelledby** +\`\`\`html + + + + +

Contact Information

+
+ +
+\`\`\` + +**aria-describedby** +\`\`\`html + + + + Password must be at least 8 characters + +\`\`\` + +**aria-hidden** +\`\`\`html + + + + + +\`\`\` + +### Live Regions +\`\`\`html + +
+ +
+ +
+ +
+ + + +\`\`\` + +## Keyboard Navigation + +### Focusable Elements +\`\`\`css +/* Visible focus indicators */ +*:focus { + outline: 2px solid #005fcc; + outline-offset: 2px; +} + +/* Never remove focus styles without replacement */ +/* ❌ Bad */ +*:focus { + outline: none; +} + +/* ✅ Better: Custom focus style */ +button:focus { + outline: none; + box-shadow: 0 0 0 3px rgba(0,95,204,0.5); +} +\`\`\` + +### Tab Order +\`\`\`html + + + + + + + + + + + + + + +\`\`\` + +### Keyboard Event Handlers +\`\`\`javascript +// Handle both click and keyboard events +button.addEventListener('click', handleAction); +button.addEventListener('keydown', (e) => { + if (e.key === 'Enter' || e.key === ' ') { + e.preventDefault(); + handleAction(); + } +}); + +// Close dialogs on Escape +document.addEventListener('keydown', (e) => { + if (e.key === 'Escape' && dialogOpen) { + closeDialog(); + } +}); +\`\`\` + +### Skip Links +\`\`\`html + + + + + +
+ +
+\`\`\` + +\`\`\`css +.skip-link { + position: absolute; + top: -40px; + left: 0; + background: #000; + color: #fff; + padding: 8px; + z-index: 100; +} + +.skip-link:focus { + top: 0; +} +\`\`\` + +## Color and Contrast + +### WCAG Contrast Ratios +- **Normal text**: 4.5:1 minimum +- **Large text** (18pt+ or 14pt+ bold): 3:1 minimum +- **UI components**: 3:1 minimum + +\`\`\`css +/* ✅ Good contrast (7:1) */ +.text { + color: #333; + background: #fff; +} + +/* ❌ Poor contrast (2.1:1) */ +.text-bad { + color: #ccc; + background: #fff; +} +\`\`\` + +**Tools**: Use contrast checkers (WebAIM, Chrome DevTools) + +### Don't Rely on Color Alone +\`\`\`html + +

Error: Invalid input

+

Success!

+ + +

+ + Error: Invalid input +

+

+ + Success! +

+\`\`\` + +## Form Accessibility + +### Labels for Inputs +\`\`\`html + + + + + + + + + +\`\`\` + +### Required Fields +\`\`\`html + + +\`\`\` + +### Error Messaging +\`\`\`html + + + + Password must be at least 8 characters + +\`\`\` + +### Fieldset and Legend +\`\`\`html +
+ Shipping Method + + +
+\`\`\` + +## Images and Media + +### Alt Text Best Practices +\`\`\`html + +Golden retriever playing with a ball in the park + + + + + + + Search + + + +Image of a photo + + +IMG_1234 +\`\`\` + +### Video Captions +\`\`\`html + +\`\`\` + +## Modal Dialogs + +### Accessible Modal Pattern +\`\`\`javascript +function openModal(modalId) { + const modal = document.getElementById(modalId); + const trigger = document.activeElement; // Remember trigger + + modal.setAttribute('aria-hidden', 'false'); + modal.classList.add('is-open'); + + // Focus first interactive element + const firstFocusable = modal.querySelector('button, [href], input, select'); + firstFocusable?.focus(); + + // Trap focus + modal.addEventListener('keydown', (e) => { + if (e.key === 'Tab') { + trapFocus(e, modal); + } + }); + + // Return focus on close + modal.addEventListener('close', () => { + trigger.focus(); + }); +} +\`\`\` + +## Testing Checklist + +### Automated Testing +- Run axe DevTools or WAVE +- Check contrast ratios +- Validate HTML + +### Manual Testing +- [ ] Navigate entire site using only keyboard (Tab, Enter, Arrows, Escape) +- [ ] Test with screen reader (NVDA, JAWS, VoiceOver) +- [ ] Zoom to 200% - content still readable and usable +- [ ] Disable CSS - content still makes sense +- [ ] Use site in grayscale mode +- [ ] Test forms with different input methods + +### Screen Reader Testing +**Windows**: NVDA (free) +**Mac**: VoiceOver (built-in, Cmd+F5) +**Mobile**: iOS VoiceOver, Android TalkBack + +## Common Mistakes to Avoid + +- Removing focus indicators +- Using \`
\` and \`\` for everything +- Missing form labels +- Non-descriptive link text ("click here") +- Images without alt text +- Keyboard traps (can't navigate away) +- Auto-playing videos without controls +- Time limits without warnings +- Content only accessible on hover +- Poor color contrast + +## Quick Wins + +1. Add alt text to all images +2. Use semantic HTML (\`