@karan171996/metricflow 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/next-server.js.nft.json +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +6 -6
- package/.next/server/app/_not-found.segments/_full.segment.rsc +6 -6
- package/.next/server/app/_not-found.segments/_index.segment.rsc +6 -6
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/analyze/route.js +2 -2
- package/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/connect/route.js +2 -2
- package/.next/server/app/api/connect/route.js.nft.json +1 -1
- package/.next/server/app/api/health/route.js.nft.json +1 -1
- package/.next/server/app/api/metrics/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/route.js +1 -1
- package/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/ai/route.js +1 -1
- package/.next/server/app/api/setup/ai/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/route.js +1 -1
- package/.next/server/app/api/setup/route.js.nft.json +1 -1
- package/.next/server/app/connect/page.js.nft.json +1 -1
- package/.next/server/app/connect/page_client-reference-manifest.js +1 -1
- package/.next/server/app/connect.html +2 -2
- package/.next/server/app/connect.rsc +8 -8
- package/.next/server/app/connect.segments/_full.segment.rsc +8 -8
- package/.next/server/app/connect.segments/_index.segment.rsc +6 -6
- package/.next/server/app/connect.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/connect.segments/connect/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/icon.svg/route.js +1 -1
- package/.next/server/app/icon.svg/route.js.nft.json +1 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +8 -8
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +8 -8
- package/.next/server/app/index.segments/_index.segment.rsc +6 -6
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance/[slug]/page.js +1 -1
- package/.next/server/app/performance/[slug]/page.js.nft.json +1 -1
- package/.next/server/app/performance/[slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance/page.js.nft.json +1 -1
- package/.next/server/app/performance/page_client-reference-manifest.js +1 -1
- package/.next/server/app/performance.html +2 -2
- package/.next/server/app/performance.rsc +9 -9
- package/.next/server/app/performance.segments/_full.segment.rsc +9 -9
- package/.next/server/app/performance.segments/_index.segment.rsc +6 -6
- package/.next/server/app/performance.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/performance.segments/performance/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings.html +2 -2
- package/.next/server/app/settings.rsc +17 -17
- package/.next/server/app/settings.segments/_full.segment.rsc +17 -17
- package/.next/server/app/settings.segments/_index.segment.rsc +6 -6
- package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +16 -16
- package/.next/server/app/setup/page.js.nft.json +1 -1
- package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup.html +2 -2
- package/.next/server/app/setup.rsc +9 -9
- package/.next/server/app/setup.segments/_full.segment.rsc +9 -9
- package/.next/server/app/setup.segments/_index.segment.rsc +6 -6
- package/.next/server/app/setup.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +7 -7
- package/.next/server/app/tools/[tool]/page.js +1 -1
- package/.next/server/app/tools/[tool]/page.js.nft.json +1 -1
- package/.next/server/app/tools/[tool]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/[externals]__0k9wda_._.js +3 -0
- package/.next/server/chunks/{[externals]__1o8qm3w._.js → [externals]__0lanngu._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__0fkj1-q._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__12h8r83._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__18s35pf._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__19yigji._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1f_fo0j._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1o9k4jf._.js +10 -0
- package/.next/server/chunks/[root-of-the-server]__1sf143y._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1zlr3w0._.js +3 -0
- package/.next/server/chunks/_0w8wvdn._.js +1 -1
- package/.next/server/chunks/_0wct7-r._.js +1 -1
- package/.next/server/chunks/ssr/0x0c_next_dist_1icgwks._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__1s_ikmb._.js → [root-of-the-server]__0ryyli3._.js} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1jr0qvs._.js +3 -0
- package/.next/server/chunks/ssr/_0_02db6._.js +1 -1
- package/.next/server/chunks/ssr/_0bxxvzb._.js +1 -1
- package/.next/server/chunks/ssr/_0htqt7_._.js +1 -1
- package/.next/server/chunks/ssr/_0ompurr._.js +2 -2
- package/.next/server/chunks/ssr/_0un641_._.js +1 -1
- package/.next/server/chunks/ssr/_13m9nev._.js +1 -1
- package/.next/server/chunks/ssr/_14aoqb2._.js +1 -1
- package/.next/server/functions-config-manifest.json +11 -1
- package/.next/server/middleware/middleware-manifest.json +6 -0
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/middleware.js +5 -0
- package/.next/server/middleware.js.nft.json +1 -0
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/static/chunks/0_xh0vh4uh0vk.js +1 -0
- package/.next/static/chunks/19qbz8dh8aqt6.js +1 -0
- package/.next/static/chunks/2-az50vi0iboz.js +5 -0
- package/.next/static/chunks/2wmat901j6po0.js +1 -0
- package/.next/static/chunks/{2p8myet8kmrgx.js → 332-owz6utwp5.js} +1 -1
- package/.next/static/chunks/3ab7oxjuh1asy.js +1 -0
- package/.next/static/fn1O5hprdyzrIbY1gapbZ/_clientMiddlewareManifest.js +6 -0
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/package.json +1 -1
- package/.next/server/chunks/[root-of-the-server]__00bbqkl._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0rfr72x._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__186pj_c._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1igrw77._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1xo4bin._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0o_fd5z._.js +0 -3
- package/.next/static/chunks/0798_gs3g5aja.js +0 -1
- package/.next/static/chunks/1_dhsu7ouiell.js +0 -5
- package/.next/static/chunks/268zd4cpgc5jh.js +0 -1
- package/.next/static/chunks/3ah6umj9qtdhc.js +0 -1
- package/.next/static/chunks/3wwhtfj-3akyd.js +0 -1
- package/.next/static/ucaTykj_MXE8yhAPTYNl7/_clientMiddlewareManifest.js +0 -1
- /package/.next/static/{ucaTykj_MXE8yhAPTYNl7 → fn1O5hprdyzrIbY1gapbZ}/_buildManifest.js +0 -0
- /package/.next/static/{ucaTykj_MXE8yhAPTYNl7 → fn1O5hprdyzrIbY1gapbZ}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
self.__MIDDLEWARE_MATCHERS = [
|
|
2
|
+
{
|
|
3
|
+
"regexp": "^(?:\\/(_next\\/data\\/[^/]{1,}))?\\/api(?:\\/((?:[^\\/#\\?]+?)(?:\\/(?:[^\\/#\\?]+?))*))?(\\.json|\\.rsc|\\.segments\\/.+\\.segment\\.rsc)?[\\/#\\?]?$",
|
|
4
|
+
"originalSource": "/api/:path*"
|
|
5
|
+
}
|
|
6
|
+
];self.__MIDDLEWARE_MATCHERS_CB && self.__MIDDLEWARE_MATCHERS_CB()
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":204,"timestamp":193623907071,"id":4,"parentId":1,"tags":{},"startTime":1791456660203,"traceId":"f6fa64ef3f79a610"},{"name":"load-custom-routes","duration":395,"timestamp":193623907378,"id":5,"parentId":1,"tags":{},"startTime":1791456660203,"traceId":"f6fa64ef3f79a610"},{"name":"create-dist-dir","duration":195,"timestamp":193623907795,"id":6,"parentId":1,"tags":{},"startTime":1791456660203,"traceId":"f6fa64ef3f79a610"},{"name":"clean","duration":69899,"timestamp":193623908658,"id":7,"parentId":1,"tags":{},"startTime":1791456660204,"traceId":"f6fa64ef3f79a610"},{"name":"discover-routes","duration":7379,"timestamp":193623988481,"id":8,"parentId":1,"tags":{},"startTime":1791456660284,"traceId":"f6fa64ef3f79a610"},{"name":"create-root-mapping","duration":62,"timestamp":193623995905,"id":9,"parentId":1,"tags":{},"startTime":1791456660291,"traceId":"f6fa64ef3f79a610"},{"name":"generate-route-types","duration":17796,"timestamp":193623997448,"id":10,"parentId":1,"tags":{},"startTime":1791456660293,"traceId":"f6fa64ef3f79a610"},{"name":"public-dir-conflict-check","duration":85,"timestamp":193624015307,"id":11,"parentId":1,"tags":{},"startTime":1791456660311,"traceId":"f6fa64ef3f79a610"},{"name":"generate-routes-manifest","duration":2593,"timestamp":193624015499,"id":12,"parentId":1,"tags":{},"startTime":1791456660311,"traceId":"f6fa64ef3f79a610"},{"name":"run-turbopack","duration":2495840,"timestamp":193624023259,"id":14,"parentId":1,"tags":{},"startTime":1791456660319,"traceId":"f6fa64ef3f79a610"},{"name":"turbopack-build-events","duration":70,"timestamp":193624394229,"id":15,"parentId":1,"tags":{},"startTime":1791456660690,"traceId":"f6fa64ef3f79a610"},{"name":"turbopack-persistence","duration":126000,"timestamp":193625981910,"id":16,"parentId":15,"tags":{"reason":"stop","snapshot_duration_ms":2.968842,"persist_duration_ms":122.177614,"task_count":991,"bytes_written":973617,"bytes_deleted":0},"startTime":1791456662405,"traceId":"f6fa64ef3f79a610"},{"name":"run-typescript","duration":2984298,"timestamp":193626522554,"id":18,"parentId":1,"tags":{},"startTime":1791456662818,"traceId":"f6fa64ef3f79a610"},{"name":"generate-required-server-files","duration":1018,"timestamp":193629507540,"id":20,"parentId":1,"tags":{},"startTime":1791456665803,"traceId":"f6fa64ef3f79a610"},{"name":"check-static-error-page","duration":18163,"timestamp":193629531729,"id":22,"parentId":21,"tags":{},"startTime":1791456665827,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":950187,"timestamp":193629551690,"id":42,"parentId":24,"tags":{},"startTime":1791456665847,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":965534,"timestamp":193629536466,"id":24,"parentId":21,"tags":{"page":"/_global-error"},"startTime":1791456665832,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1338806,"timestamp":193629566092,"id":52,"parentId":33,"tags":{},"startTime":1791456665862,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1367172,"timestamp":193629537771,"id":33,"parentId":21,"tags":{"page":"/connect"},"startTime":1791456665834,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1343690,"timestamp":193629566117,"id":53,"parentId":35,"tags":{},"startTime":1791456665862,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1371834,"timestamp":193629538019,"id":35,"parentId":21,"tags":{"page":"/"},"startTime":1791456665834,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1359590,"timestamp":193629551384,"id":41,"parentId":23,"tags":{},"startTime":1791456665847,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1376340,"timestamp":193629534672,"id":23,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1791456665830,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1348114,"timestamp":193629566128,"id":54,"parentId":37,"tags":{},"startTime":1791456665862,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1365033,"timestamp":193629549261,"id":37,"parentId":21,"tags":{"page":"/performance"},"startTime":1791456665845,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1351830,"timestamp":193629566143,"id":56,"parentId":39,"tags":{},"startTime":1791456665862,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1368435,"timestamp":193629549583,"id":39,"parentId":21,"tags":{"page":"/setup"},"startTime":1791456665845,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1368259,"timestamp":193629566136,"id":55,"parentId":38,"tags":{},"startTime":1791456665862,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1384977,"timestamp":193629549463,"id":38,"parentId":21,"tags":{"page":"/settings"},"startTime":1791456665845,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1390778,"timestamp":193629552024,"id":47,"parentId":29,"tags":{},"startTime":1791456665848,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1405534,"timestamp":193629537311,"id":29,"parentId":21,"tags":{"page":"/api/settings"},"startTime":1791456665833,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1396528,"timestamp":193629551913,"id":45,"parentId":27,"tags":{},"startTime":1791456665848,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1411446,"timestamp":193629537057,"id":27,"parentId":21,"tags":{"page":"/api/health"},"startTime":1791456665833,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1409299,"timestamp":193629551966,"id":46,"parentId":28,"tags":{},"startTime":1791456665848,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1424134,"timestamp":193629537187,"id":28,"parentId":21,"tags":{"page":"/api/metrics"},"startTime":1791456665833,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1415957,"timestamp":193629552274,"id":50,"parentId":32,"tags":{},"startTime":1791456665848,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1430603,"timestamp":193629537660,"id":32,"parentId":21,"tags":{"page":"/api/timings"},"startTime":1791456665833,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1416537,"timestamp":193629552334,"id":51,"parentId":34,"tags":{},"startTime":1791456665848,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1430982,"timestamp":193629537913,"id":34,"parentId":21,"tags":{"page":"/icon.svg"},"startTime":1791456665834,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1404798,"timestamp":193629566149,"id":57,"parentId":40,"tags":{},"startTime":1791456665862,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1421299,"timestamp":193629549675,"id":40,"parentId":21,"tags":{"page":"/tools/[tool]"},"startTime":1791456665845,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1424350,"timestamp":193629551755,"id":43,"parentId":25,"tags":{},"startTime":1791456665847,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1439353,"timestamp":193629536779,"id":25,"parentId":21,"tags":{"page":"/api/analyze"},"startTime":1791456665833,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1429819,"timestamp":193629566156,"id":58,"parentId":36,"tags":{},"startTime":1791456665862,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1457858,"timestamp":193629538143,"id":36,"parentId":21,"tags":{"page":"/performance/[slug]"},"startTime":1791456665834,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1451647,"timestamp":193629552188,"id":49,"parentId":31,"tags":{},"startTime":1791456665848,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1466336,"timestamp":193629537527,"id":31,"parentId":21,"tags":{"page":"/api/setup"},"startTime":1791456665833,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1455174,"timestamp":193629552117,"id":48,"parentId":30,"tags":{},"startTime":1791456665848,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1469906,"timestamp":193629537419,"id":30,"parentId":21,"tags":{"page":"/api/setup/ai"},"startTime":1791456665833,"traceId":"f6fa64ef3f79a610"},{"name":"is-page-static","duration":1457000,"timestamp":193629551813,"id":44,"parentId":26,"tags":{},"startTime":1791456665848,"traceId":"f6fa64ef3f79a610"},{"name":"check-page","duration":1471917,"timestamp":193629536915,"id":26,"parentId":21,"tags":{"page":"/api/connect"},"startTime":1791456665833,"traceId":"f6fa64ef3f79a610"},{"name":"static-check","duration":1477672,"timestamp":193629531185,"id":21,"parentId":1,"tags":{},"startTime":1791456665827,"traceId":"f6fa64ef3f79a610"},{"name":"write-routes-manifest","duration":635,"timestamp":193631009593,"id":60,"parentId":1,"tags":{},"startTime":1791456667305,"traceId":"f6fa64ef3f79a610"},{"name":"load-dotenv","duration":36,"timestamp":193631020063,"id":63,"parentId":62,"tags":{},"startTime":1791456667316,"traceId":"f6fa64ef3f79a610"},{"name":"run-export-path-map","duration":456,"timestamp":193631021671,"id":64,"parentId":62,"tags":{},"startTime":1791456667317,"traceId":"f6fa64ef3f79a610"},{"name":"next-export","duration":543898,"timestamp":193631019125,"id":62,"parentId":1,"tags":{},"startTime":1791456667315,"traceId":"f6fa64ef3f79a610"},{"name":"move-exported-app-not-found-","duration":780,"timestamp":193631565346,"id":65,"parentId":61,"tags":{},"startTime":1791456667861,"traceId":"f6fa64ef3f79a610"},{"name":"move-exported-app-global-error-","duration":681,"timestamp":193631566193,"id":66,"parentId":61,"tags":{},"startTime":1791456667862,"traceId":"f6fa64ef3f79a610"},{"name":"static-generation","duration":555072,"timestamp":193631012130,"id":61,"parentId":1,"tags":{},"startTime":1791456667308,"traceId":"f6fa64ef3f79a610"},{"name":"write-routes-manifest","duration":315,"timestamp":193631567411,"id":67,"parentId":1,"tags":{},"startTime":1791456667863,"traceId":"f6fa64ef3f79a610"},{"name":"print-tree-view","duration":2865,"timestamp":193631633696,"id":68,"parentId":1,"tags":{},"startTime":1791456667929,"traceId":"f6fa64ef3f79a610"},{"name":"write-route-bundle-stats","duration":6619,"timestamp":193631636578,"id":69,"parentId":1,"tags":{},"startTime":1791456667932,"traceId":"f6fa64ef3f79a610"},{"name":"telemetry-flush","duration":429467,"timestamp":193631643211,"id":70,"parentId":1,"tags":{},"startTime":1791456667939,"traceId":"f6fa64ef3f79a610"},{"name":"next-build","duration":8282344,"timestamp":193623790365,"id":1,"tags":{"buildMode":"default","version":"16.3.8","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1791456660086,"traceId":"f6fa64ef3f79a610"}]
|
|
1
|
+
[{"name":"generate-buildid","duration":235,"timestamp":195875944125,"id":4,"parentId":1,"tags":{},"startTime":1791458912349,"traceId":"ccd7353a27ddd017"},{"name":"load-custom-routes","duration":378,"timestamp":195875944473,"id":5,"parentId":1,"tags":{},"startTime":1791458912349,"traceId":"ccd7353a27ddd017"},{"name":"create-dist-dir","duration":202,"timestamp":195875944873,"id":6,"parentId":1,"tags":{},"startTime":1791458912349,"traceId":"ccd7353a27ddd017"},{"name":"clean","duration":89620,"timestamp":195875946532,"id":7,"parentId":1,"tags":{},"startTime":1791458912351,"traceId":"ccd7353a27ddd017"},{"name":"discover-routes","duration":8620,"timestamp":195876049310,"id":8,"parentId":1,"tags":{},"startTime":1791458912454,"traceId":"ccd7353a27ddd017"},{"name":"create-root-mapping","duration":98,"timestamp":195876057969,"id":9,"parentId":1,"tags":{},"startTime":1791458912462,"traceId":"ccd7353a27ddd017"},{"name":"generate-route-types","duration":17375,"timestamp":195876059403,"id":10,"parentId":1,"tags":{},"startTime":1791458912464,"traceId":"ccd7353a27ddd017"},{"name":"public-dir-conflict-check","duration":90,"timestamp":195876076845,"id":11,"parentId":1,"tags":{},"startTime":1791458912481,"traceId":"ccd7353a27ddd017"},{"name":"generate-routes-manifest","duration":2441,"timestamp":195876077027,"id":12,"parentId":1,"tags":{},"startTime":1791458912481,"traceId":"ccd7353a27ddd017"},{"name":"run-turbopack","duration":4612388,"timestamp":195876091520,"id":14,"parentId":1,"tags":{},"startTime":1791458912496,"traceId":"ccd7353a27ddd017"},{"name":"turbopack-build-events","duration":78,"timestamp":195876584860,"id":15,"parentId":1,"tags":{},"startTime":1791458912989,"traceId":"ccd7353a27ddd017"},{"name":"turbopack-persistence","duration":514000,"timestamp":195880111518,"id":16,"parentId":15,"tags":{"reason":"stop","snapshot_duration_ms":11.285798999999999,"persist_duration_ms":502.00348699999995,"task_count":4096,"bytes_written":27777509,"bytes_deleted":15437900},"startTime":1791458917030,"traceId":"ccd7353a27ddd017"},{"name":"run-typescript","duration":3915607,"timestamp":195880707970,"id":16,"parentId":1,"tags":{},"startTime":1791458917113,"traceId":"ccd7353a27ddd017"},{"name":"generate-required-server-files","duration":1056,"timestamp":195884624563,"id":18,"parentId":1,"tags":{},"startTime":1791458921029,"traceId":"ccd7353a27ddd017"},{"name":"check-static-error-page","duration":15103,"timestamp":195884658339,"id":20,"parentId":19,"tags":{},"startTime":1791458921063,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":1439909,"timestamp":195884675705,"id":40,"parentId":22,"tags":{},"startTime":1791458921080,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":1452540,"timestamp":195884663251,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1791458921068,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2035434,"timestamp":195884675902,"id":43,"parentId":25,"tags":{},"startTime":1791458921081,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2046027,"timestamp":195884665375,"id":25,"parentId":19,"tags":{"page":"/api/health"},"startTime":1791458921070,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2066547,"timestamp":195884676025,"id":45,"parentId":27,"tags":{},"startTime":1791458921081,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2076951,"timestamp":195884665672,"id":27,"parentId":19,"tags":{"page":"/api/settings"},"startTime":1791458921070,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2103429,"timestamp":195884675381,"id":39,"parentId":21,"tags":{},"startTime":1791458921080,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2119297,"timestamp":195884659578,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1791458921064,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2106495,"timestamp":195884676246,"id":48,"parentId":30,"tags":{},"startTime":1791458921081,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2116347,"timestamp":195884666458,"id":30,"parentId":19,"tags":{"page":"/api/timings"},"startTime":1791458921071,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2131224,"timestamp":195884682260,"id":50,"parentId":31,"tags":{},"startTime":1791458921087,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2146878,"timestamp":195884666669,"id":31,"parentId":19,"tags":{"page":"/connect"},"startTime":1791458921071,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2162613,"timestamp":195884682309,"id":53,"parentId":36,"tags":{},"startTime":1791458921087,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2174125,"timestamp":195884670859,"id":36,"parentId":19,"tags":{"page":"/settings"},"startTime":1791458921076,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2287506,"timestamp":195884682300,"id":52,"parentId":35,"tags":{},"startTime":1791458921087,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2299594,"timestamp":195884670288,"id":35,"parentId":19,"tags":{"page":"/performance"},"startTime":1791458921075,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2304175,"timestamp":195884675782,"id":41,"parentId":23,"tags":{},"startTime":1791458921080,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2315342,"timestamp":195884664690,"id":23,"parentId":19,"tags":{"page":"/api/analyze"},"startTime":1791458921069,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2311156,"timestamp":195884682332,"id":56,"parentId":38,"tags":{},"startTime":1791458921087,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2321838,"timestamp":195884671716,"id":38,"parentId":19,"tags":{"page":"/tools/[tool]"},"startTime":1791458921076,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2320209,"timestamp":195884675955,"id":44,"parentId":26,"tags":{},"startTime":1791458921081,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2330709,"timestamp":195884665534,"id":26,"parentId":19,"tags":{"page":"/api/metrics"},"startTime":1791458921070,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2342219,"timestamp":195884675845,"id":42,"parentId":24,"tags":{},"startTime":1791458921081,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2352960,"timestamp":195884665144,"id":24,"parentId":19,"tags":{"page":"/api/connect"},"startTime":1791458921070,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2337515,"timestamp":195884682289,"id":51,"parentId":33,"tags":{},"startTime":1791458921087,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2352788,"timestamp":195884667054,"id":33,"parentId":19,"tags":{"page":"/"},"startTime":1791458921072,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2347370,"timestamp":195884682317,"id":54,"parentId":37,"tags":{},"startTime":1791458921087,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2358433,"timestamp":195884671303,"id":37,"parentId":19,"tags":{"page":"/setup"},"startTime":1791458921076,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2358389,"timestamp":195884676100,"id":46,"parentId":28,"tags":{},"startTime":1791458921081,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2368735,"timestamp":195884665795,"id":28,"parentId":19,"tags":{"page":"/api/setup/ai"},"startTime":1791458921071,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2389486,"timestamp":195884676179,"id":47,"parentId":29,"tags":{},"startTime":1791458921081,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2399791,"timestamp":195884665918,"id":29,"parentId":19,"tags":{"page":"/api/setup"},"startTime":1791458921071,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2389715,"timestamp":195884682325,"id":55,"parentId":34,"tags":{},"startTime":1791458921087,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2404805,"timestamp":195884667307,"id":34,"parentId":19,"tags":{"page":"/performance/[slug]"},"startTime":1791458921072,"traceId":"ccd7353a27ddd017"},{"name":"is-page-static","duration":2395883,"timestamp":195884676308,"id":49,"parentId":32,"tags":{},"startTime":1791458921081,"traceId":"ccd7353a27ddd017"},{"name":"check-page","duration":2405327,"timestamp":195884666882,"id":32,"parentId":19,"tags":{"page":"/icon.svg"},"startTime":1791458921072,"traceId":"ccd7353a27ddd017"},{"name":"static-check","duration":2414654,"timestamp":195884657581,"id":19,"parentId":1,"tags":{},"startTime":1791458921062,"traceId":"ccd7353a27ddd017"},{"name":"write-routes-manifest","duration":641,"timestamp":195887077521,"id":58,"parentId":1,"tags":{},"startTime":1791458923482,"traceId":"ccd7353a27ddd017"},{"name":"load-dotenv","duration":75,"timestamp":195887095391,"id":61,"parentId":60,"tags":{},"startTime":1791458923500,"traceId":"ccd7353a27ddd017"},{"name":"run-export-path-map","duration":635,"timestamp":195887097682,"id":62,"parentId":60,"tags":{},"startTime":1791458923502,"traceId":"ccd7353a27ddd017"},{"name":"next-export","duration":781031,"timestamp":195887094073,"id":60,"parentId":1,"tags":{},"startTime":1791458923499,"traceId":"ccd7353a27ddd017"},{"name":"move-exported-app-not-found-","duration":4769,"timestamp":195887877661,"id":63,"parentId":59,"tags":{},"startTime":1791458924282,"traceId":"ccd7353a27ddd017"},{"name":"move-exported-app-global-error-","duration":1023,"timestamp":195887882575,"id":64,"parentId":59,"tags":{},"startTime":1791458924287,"traceId":"ccd7353a27ddd017"},{"name":"static-generation","duration":803187,"timestamp":195887080865,"id":59,"parentId":1,"tags":{},"startTime":1791458923486,"traceId":"ccd7353a27ddd017"},{"name":"write-routes-manifest","duration":692,"timestamp":195887884316,"id":65,"parentId":1,"tags":{},"startTime":1791458924289,"traceId":"ccd7353a27ddd017"},{"name":"print-tree-view","duration":6196,"timestamp":195887949662,"id":66,"parentId":1,"tags":{},"startTime":1791458924354,"traceId":"ccd7353a27ddd017"},{"name":"write-route-bundle-stats","duration":9974,"timestamp":195887955918,"id":67,"parentId":1,"tags":{},"startTime":1791458924361,"traceId":"ccd7353a27ddd017"},{"name":"telemetry-flush","duration":449231,"timestamp":195887965916,"id":68,"parentId":1,"tags":{},"startTime":1791458924371,"traceId":"ccd7353a27ddd017"},{"name":"next-build","duration":12602693,"timestamp":195875812497,"id":1,"tags":{"buildMode":"default","version":"16.3.8","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1791458912217,"traceId":"ccd7353a27ddd017"}]
|
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-turbopack","duration":
|
|
1
|
+
[{"name":"run-turbopack","duration":4612388,"timestamp":195876091520,"id":14,"parentId":1,"tags":{},"startTime":1791458912496,"traceId":"ccd7353a27ddd017"},{"name":"turbopack-build-events","duration":78,"timestamp":195876584860,"id":15,"parentId":1,"tags":{},"startTime":1791458912989,"traceId":"ccd7353a27ddd017"},{"name":"turbopack-persistence","duration":514000,"timestamp":195880111518,"id":16,"parentId":15,"tags":{"reason":"stop","snapshot_duration_ms":11.285798999999999,"persist_duration_ms":502.00348699999995,"task_count":4096,"bytes_written":27777509,"bytes_deleted":15437900},"startTime":1791458917030,"traceId":"ccd7353a27ddd017"},{"name":"run-typescript","duration":3915607,"timestamp":195880707970,"id":16,"parentId":1,"tags":{},"startTime":1791458917113,"traceId":"ccd7353a27ddd017"},{"name":"static-check","duration":2414654,"timestamp":195884657581,"id":19,"parentId":1,"tags":{},"startTime":1791458921062,"traceId":"ccd7353a27ddd017"},{"name":"static-generation","duration":803187,"timestamp":195887080865,"id":59,"parentId":1,"tags":{},"startTime":1791458923486,"traceId":"ccd7353a27ddd017"},{"name":"telemetry-flush","duration":449231,"timestamp":195887965916,"id":68,"parentId":1,"tags":{},"startTime":1791458924371,"traceId":"ccd7353a27ddd017"},{"name":"next-build","duration":12602693,"timestamp":195875812497,"id":1,"tags":{"buildMode":"default","version":"16.3.8","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1791458912217,"traceId":"ccd7353a27ddd017"}]
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[49719,(e,r,t)=>{r.exports=e.x("assert",()=>require("assert"))},54799,(e,r,t)=>{r.exports=e.x("crypto",()=>require("crypto"))},27699,(e,r,t)=>{r.exports=e.x("events",()=>require("events"))},22734,(e,r,t)=>{r.exports=e.x("fs",()=>require("fs"))},21517,(e,r,t)=>{r.exports=e.x("http",()=>require("http"))},25328,(e,r,t)=>{r.exports=e.x("http2",()=>require("http2"))},24836,(e,r,t)=>{r.exports=e.x("https",()=>require("https"))},4446,(e,r,t)=>{r.exports=e.x("net",()=>require("net"))},18622,(e,r,t)=>{r.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,r,t)=>{r.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,r,t)=>{r.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2157,(e,r,t)=>{r.exports=e.x("node:fs",()=>require("node:fs"))},50227,(e,r,t)=>{r.exports=e.x("node:path",()=>require("node:path"))},81111,(e,r,t)=>{r.exports=e.x("node:stream",()=>require("node:stream"))},46786,(e,r,t)=>{r.exports=e.x("os",()=>require("os"))},14747,(e,r,t)=>{r.exports=e.x("path",()=>require("path"))},88947,(e,r,t)=>{r.exports=e.x("stream",()=>require("stream"))},55004,(e,r,t)=>{r.exports=e.x("tls",()=>require("tls"))},70722,(e,r,t)=>{r.exports=e.x("tty",()=>require("tty"))},92509,(e,r,t)=>{r.exports=e.x("url",()=>require("url"))},24361,(e,r,t)=>{r.exports=e.x("util",()=>require("util"))},6461,(e,r,t)=>{r.exports=e.x("zlib",()=>require("zlib"))},12892,67119,e=>{"use strict";var r=e.i(2157),t=e.i(50227),o=e.i(39151),n=e.i(19374);function s(e,r=[],t=[]){let a,i="string"==typeof e?function(e,r,t=[]){if(null==r)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:r,...t.length>0?{aliases:t}:{}}}(e,r,t):e,l=(0,o.forwardRef)(({className:e,...r},t)=>(0,o.createElement)(n.default,{ref:t,icon:i,className:e,...r}));return i.name&&(l.displayName=(a=(e=>{let r="",t=!1;for(let o of e){if("-"===o||"_"===o||o<=" "){t=r.length>0;continue}0===r.length?r+=o.toLowerCase():r+=t?o.toUpperCase():o,t=!1}return r})(i.name)).charAt(0).toUpperCase()+a.slice(1)),l}let a={name:"activity",size:24,node:[["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"}]]};a.node;let i=s(a),l={name:"bug",size:24,node:[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]};l.node;let c=s(l);function p(e){if(!Number.isFinite(e))return"—";let r=Math.abs(Math.round(e));if(r<1e3)return`${Math.round(e)}ms`;if(r<59950)return`${+(e/1e3).toFixed(1)}s`;let t=Math.round(r/1e3),o=e<0?"-":"";return t<3600?`${o}${Math.floor(t/60)}m ${t%60}s`:`${o}${Math.floor(t/3600)}h ${Math.floor(t%3600/60)}m`}let u=e=>e.length?e.reduce((e,r)=>e+r,0)/e.length:0,d={"new-relic":{label:"New Relic",icon:i,description:"Real-user performance per page: load time, Core Web Vitals, throughput and Apdex.",keys:{required:["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID"],optional:["NEWRELIC_INSERT_KEY"]},stats:e=>[{label:"Avg Load Time",value:p(u(e.map(e=>e.newRelic.loadTime)))},{label:"Avg LCP",value:p(u(e.map(e=>e.newRelic.lcp)))},{label:"Avg TTFB",value:p(u(e.map(e=>e.newRelic.ttfb)))},{label:"Avg Apdex",value:u(e.map(e=>e.newRelic.apdexScore)).toFixed(2)}],columns:[{header:"Load",cell:e=>p(e.newRelic.loadTime)},{header:"LCP",cell:e=>p(e.newRelic.lcp)},{header:"TTFB",cell:e=>p(e.newRelic.ttfb)},{header:"CLS",cell:e=>e.newRelic.cls.toFixed(2)},{header:"INP",cell:e=>void 0===e.newRelic.inp?"—":p(e.newRelic.inp)},{header:"Error Rate",cell:e=>`${e.newRelic.errorRate.toFixed(2)}%`},{header:"Throughput",cell:e=>e.newRelic.throughput.toLocaleString()},{header:"Apdex",cell:e=>e.newRelic.apdexScore.toFixed(2)}]},sentry:{label:"Sentry",icon:c,description:"Errors captured per page over the last 24 hours.",keys:{required:["SENTRY_API_KEY","SENTRY_DSN"],optional:[]},stats:e=>{let r=e.reduce((e,r)=>(r.sentry?.errorCount??0)>(e?.sentry?.errorCount??0)?r:e,null);return[{label:"Total Errors",value:String(e.map(e=>e.sentry?.errorCount??0).reduce((e,r)=>e+r,0))},{label:"Pages With Errors",value:`${e.filter(e=>(e.sentry?.errorCount??0)>0).length} of ${e.length}`},{label:"Noisiest Page",value:r?.name??"None"}]},columns:[{header:"Errors",cell:e=>String(e.sentry?.errorCount??0)},{header:"Latest Error",cell:e=>e.sentry?.latestErrors[0]?.title??"—"},{header:"Last Seen",cell:e=>{let r=Date.parse(e.sentry?.latestErrors[0]?.lastSeen??"");return Number.isNaN(r)?"—":new Date(r).toLocaleString()}}]}},h=Object.keys(d);e.s(["KEY_LABELS",0,{NEWRELIC_API_KEY:"New Relic User API key",NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID:"New Relic account ID",SENTRY_API_KEY:"Sentry auth token",SENTRY_DSN:"Sentry DSN"},"TOOLS",0,d,"TOOL_IDS",0,h],67119);let x="NEWRELIC_REGION",E={us:{graphql:"https://api.newrelic.com/graphql",ingest:"https://insights-collector.newrelic.com"},eu:{graphql:"https://api.eu.newrelic.com/graphql",ingest:"https://insights-collector.eu01.nr-data.net"}},f={gemini:{label:"Google Gemini",key:"GEMINI_API_KEY"},claude:{label:"Anthropic Claude",key:"CLAUDE_API_KEY"},openai:{label:"OpenAI",key:"OPENAI_API_KEY"}},m="AI_PROVIDER";function g(e){return process.env[e]??""}let y=e=>d[e].keys.required.every(e=>g(e));function _(){return process.env.METRICFLOW_PROJECT_DIR||process.cwd()}e.s(["AI_PROVIDERS",0,f,"AI_PROVIDER_KEY",0,m,"INSERT_KEY",0,"NEWRELIC_INSERT_KEY","REGION_KEY",0,x,"SETUP_KEYS",0,["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID","SENTRY_API_KEY","SENTRY_DSN"],"activeAi",0,function(){let e=process.env[m];for(let r of(e&&e in f?[e]:[]).concat(Object.keys(f))){let e=process.env[f[r].key];if(e)return{provider:r,key:e}}return null},"connectedTools",0,()=>h.filter(y),"env",0,g,"isToolConnected",0,y,"nrHosts",0,(e="eu"===process.env[x]?"eu":"us")=>E[e],"projectDir",0,_,"writeEnvLocal",0,function(e,o=process.env.METRICFLOW_ENV_FILE||(0,t.join)(_(),".env.local")){let n=(0,r.existsSync)(o)?(0,r.readFileSync)(o,"utf8").split("\n"):[],s=new Map(Object.entries(e)),a=n.map(e=>{let r=e.match(/^\s*([A-Z0-9_]+)\s*=/)?.[1];if(r&&s.has(r)){let e=s.get(r);return s.delete(r),`${r}=${e}`}return e});for(;a.length&&""===a[a.length-1];)a.pop();for(let[e,r]of s)a.push(`${e}=${r}`);let i=`${o}.tmp`;for(let[t,n]of((0,r.writeFileSync)(i,a.join("\n")+"\n",{mode:384}),(0,r.renameSync)(i,o),Object.entries(e)))process.env[t]=n}],12892)},24514,e=>{"use strict";let r=new Set(["localhost","127.0.0.1","[::1]"]),t=new Set(["127.0.0.1","::1","::ffff:127.0.0.1"]);e.s(["REFUSAL_MESSAGE",0,()=>"1"===process.env.METRICFLOW_EXPOSED?"Setup and Connect are disabled because the dashboard is exposed on the network (--host). Restart without --host to use them.":"Setup is only available from localhost.","isLocalRequest",0,function(e){if("1"===process.env.METRICFLOW_EXPOSED)return!1;let o=e.headers.get("x-forwarded-for");if(o&&!o.split(",").every(e=>t.has(e.trim().replace(/^\[|\]$/g,""))))return!1;let n=(e.headers.get("host")??"").replace(/:\d+$/,"");if(!r.has(n))return!1;let s=e.headers.get("origin");try{return!s||r.has(new URL(s).hostname)}catch{return!1}}])},83808,e=>{"use strict";var r=e.i(60756);async function t(e,t){let o={Authorization:`Bearer ${e}`},n=t.orgId?await r.default.get(`${t.apiBase}/organizations/`,{headers:o,timeout:8e3}):await r.default.get(`${t.apiBase}/projects/`,{headers:o,timeout:8e3}),s=Array.isArray(n.data)?n.data:[];return(t.orgId?s.find(e=>String(e.id)===t.orgId)?.slug:s.find(e=>String(e.id)===t.projectId)?.organization?.slug)??null}e.s(["orgSlugForDsn",0,t,"parseSentryDsn",0,function(e){let r;try{r=new URL(e)}catch{return{ok:!1,error:"Sentry DSN is not a valid URL."}}if("https:"!==r.protocol&&"http:"!==r.protocol)return{ok:!1,error:"Sentry DSN must be an http(s) URL."};if(!r.username)return{ok:!1,error:"Sentry DSN is missing its public key."};let t=r.pathname.replace(/^\/|\/$/g,"");if(!/^\d+$/.test(t))return{ok:!1,error:"Sentry DSN is missing a numeric project id."};let o=r.host.match(/^o(\d+)\.ingest\.(.+)$/i),n=o?o[2]:r.host;return{ok:!0,projectId:t,orgId:o?o[1]:null,apiBase:`${r.protocol}//${n}/api/0`}}])},27252,e=>{"use strict";e.s(["default",()=>r]);let r=(0,e.i(18286).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs 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.")},"[project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},19374,e=>{"use strict";var r=e.i(27252);e.n(r)},18286,(e,r,t)=>{"use strict";r.exports=e.r(99403).vendored["react-rsc"].ReactServerDOMTurbopackServer}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__00bbqkl._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},60780,e=>{"use strict";var t=e.i(2157),r=e.i(50227),n=e.i(24514),a=e.i(12892);let o={loadSeconds:1.5,errorPercent:2,uptimeSLA:99.9},s=()=>process.env.METRICFLOW_SETTINGS_FILE||(0,r.join)((0,a.projectDir)(),".metricflow-settings.json"),i={loadSeconds:[.1,30],errorPercent:[.1,100],uptimeSLA:[90,100]};function l(){try{return{...o,...JSON.parse((0,t.readFileSync)(s(),"utf8"))}}catch{return o}}async function u(){return Response.json(l())}async function c(e){let r;if(!(0,n.isLocalRequest)(e))return Response.json({error:(0,n.REFUSAL_MESSAGE)()},{status:403});try{r=await e.json()}catch{return Response.json({error:"Invalid request body."},{status:400})}let a=l();for(let[e,[t,n]]of Object.entries(i)){if(void 0===r[e])continue;let o=r[e];if("number"!=typeof o||!Number.isFinite(o)||o<t||o>n)return Response.json({error:`${e} must be a number between ${t} and ${n}.`},{status:400});a[e]=o}try{let e=`${s()}.tmp`;(0,t.writeFileSync)(e,JSON.stringify(a,null,2)),(0,t.renameSync)(e,s())}catch{return Response.json({error:"Settings could not be written. Check folder permissions."},{status:500})}return Response.json(a)}e.s(["GET",0,u,"PUT",0,c],60780)},30229,e=>{"use strict";var t=e.i(12425),r=e.i(83353),n=e.i(47902),a=e.i(37892),o=e.i(54261),s=e.i(39548),i=e.i(68187),l=e.i(63984),u=e.i(88743),c=e.i(24698),d=e.i(13487),p=e.i(48776),h=e.i(29398),R=e.i(31610),E=e.i(45919),f=e.i(93695),m=e.i(12741);e.i(95315);var v=e.i(98732);let g=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/settings/route",pathname:"/api/settings",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/settings/route.ts",nextConfigOutput:"",userland:()=>e.r(60780),...{}}),{workAsyncStorage:x,workUnitAsyncStorage:y,serverHooks:w}=g;async function C(e,t,n){n.requestMeta&&(0,a.setRequestMeta)(e,n.requestMeta),g.isDev&&(0,a.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let x="/api/settings/route";x=x.replace(/\/index$/,"")||"/";let y=await g.prepare(e,t,{srcPage:x,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:w,deploymentId:C,params:S,nextConfig:_,parsedUrl:I,isDraftMode:N,prerenderManifest:A,routerServerContext:b,isOnDemandRevalidate:T,revalidateOnlyGenerated:P,resolvedPathname:O,clientReferenceManifest:L,serverActionsManifest:k}=y,M=(0,i.normalizeAppPath)(x),j=!!A.routes[O]&&(g.isDev||(0,m.isRouteCacheOwner)(O,g.cacheOwner,A.routes[O])),q=!!(A.dynamicRoutes[M]||j),D=async()=>((null==b?void 0:b.render404)?await b.render404(e,t,I,!1):t.end("This page could not be found"),null);if(q&&!N){let e=A.dynamicRoutes[M];if(e&&!1===e.fallback&&!j){if(_.adapterPath)return await D();throw new f.NoFallbackError}}let $=null;!q||g.isDev||N||($="/index"===($=O)?"/":$);let F=!0===g.isDev||!q,U=q&&!F;k&&L&&(0,s.setManifestsSingleton)({page:x,clientReferenceManifest:L,serverActionsManifest:k});let K=e.method||"GET",H=(0,o.getTracer)(),Y=H.getActiveScopeSpan(),W=!!(null==b?void 0:b.isWrappedByNextServer),G=!!(0,a.getRequestMeta)(e,"minimalMode"),B=(0,a.getRequestMeta)(e,"incrementalCache")||await g.getIncrementalCache(e,_,A,G);null==B||B.resetRequestCache(),globalThis.__incrementalCache=B;let z={params:S,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!_.experimental.authInterrupts,useCacheTimeout:_.experimental.useCacheTimeout},cacheComponents:!!_.cacheComponents,validationLevel:_.experimental.instantInsights.validationLevel,isDraftMode:N,supportsDynamicResponse:F,incrementalCache:B,hmrRefreshHash:(0,a.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:_.cacheLife,staticPageGenerationTimeout:_.staticPageGenerationTimeout,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n,a)=>g.onRequestError(e,t,n,a,b)},sharedContext:{buildId:w,deploymentId:C}},V=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),J=u.NextRequestAdapter.fromNodeNextRequest(V,(0,u.signalFromNodeResponse)(t)),Z=async({previousCacheEntry:r})=>{try{if(!G&&T&&P&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let a=await g.handle(J,z);e.fetchMetrics=z.renderOpts.fetchMetrics;let o=z.renderOpts.pendingWaitUntil;o&&n.waitUntil&&(n.waitUntil(o),o=void 0);let s=z.renderOpts.collectedTags;if(!q)return await (0,p.sendResponse)(V,X,a,o),null;{let e=await a.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(a.headers);s&&(t[E.NEXT_CACHE_TAGS_HEADER]=s),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==z.renderOpts.collectedRevalidate&&!(z.renderOpts.collectedRevalidate>=E.INFINITE_CACHE)&&z.renderOpts.collectedRevalidate,n=void 0===z.renderOpts.collectedExpire||z.renderOpts.collectedExpire>=E.INFINITE_CACHE?!1!==r&&r>0?_.expireTime:void 0:z.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:a.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==r?void 0:r.isStale)&&await g.onRequestError(e,t,{routerKind:"App Router",routePath:x,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:T})},!1,b),t}},Q=async(a,s)=>{try{var i,l;let a=await g.handleResponse({req:e,nextConfig:_,cacheKey:$,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:T,revalidateOnlyGenerated:P,responseGenerator:Z,waitUntil:n.waitUntil,isMinimalMode:G});if(!q)return;if((null==a||null==(i=a.value)?void 0:i.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==a||null==(l=a.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});G||t.setHeader("x-nextjs-cache",T?"REVALIDATED":a.isMiss?"MISS":a.isStale?"STALE":"HIT"),N&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let o=(0,h.fromNodeOutgoingHttpHeaders)(a.value.headers);G&&q||o.delete(E.NEXT_CACHE_TAGS_HEADER),!a.cacheControl||t.getHeader("Cache-Control")||o.get("Cache-Control")||o.set("Cache-Control",(0,R.getCacheControlHeader)(a.cacheControl)),await (0,p.sendResponse)(V,X,new Response(a.value.body,{headers:o,status:a.value.status||200}));return}catch(t){if(t instanceof f.NoFallbackError||await g.onRequestError(e,t,{routerKind:"App Router",routePath:M,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:T})},!1,b),q)throw t;await (0,p.sendResponse)(V,X,new Response(null,{status:500}));return}finally{(()=>{if(!a)return;let e=t.statusCode;a.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(a.setStatus({code:o.SpanStatusCode.ERROR}),a.setAttribute("error.type",e.toString()));let r=H.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==c.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=r.get("next.route")||M,i=`${K} ${n}`;a.setAttributes({"next.route":n,"http.route":n,"next.span_name":i}),a.updateName(i),s&&s!==a&&(s.setAttribute("http.route",n),s.updateName(i))})()}};if(W&&Y)await Q(Y,void 0);else{let t=H.getActiveScopeSpan();await H.withPropagatedContext(e.headers,()=>H.trace(c.BaseServerSpan.handleRequest,{spanName:`${K} ${x}`,kind:o.SpanKind.SERVER,attributes:{"http.method":K,"http.target":e.url}},e=>Q(e,t)),void 0,!W)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,n.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:y})},"routeModule",0,g,"serverHooks",0,w,"workAsyncStorage",0,x,"workUnitAsyncStorage",0,y])},12892,67119,e=>{"use strict";var t=e.i(2157),r=e.i(50227),n=e.i(39151),a=e.i(19374);function o(e,t=[],r=[]){let s,i="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,t,r):e,l=(0,n.forwardRef)(({className:e,...t},r)=>(0,n.createElement)(a.default,{ref:r,icon:i,className:e,...t}));return i.name&&(l.displayName=(s=(e=>{let t="",r=!1;for(let n of e){if("-"===n||"_"===n||n<=" "){r=t.length>0;continue}0===t.length?t+=n.toLowerCase():t+=r?n.toUpperCase():n,r=!1}return t})(i.name)).charAt(0).toUpperCase()+s.slice(1)),l}let s={name:"activity",size:24,node:[["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"}]]};s.node;let i=o(s),l={name:"bug",size:24,node:[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]};l.node;let u=o(l);function c(e){if(!Number.isFinite(e))return"—";let t=Math.abs(Math.round(e));if(t<1e3)return`${Math.round(e)}ms`;if(t<59950)return`${+(e/1e3).toFixed(1)}s`;let r=Math.round(t/1e3),n=e<0?"-":"";return r<3600?`${n}${Math.floor(r/60)}m ${r%60}s`:`${n}${Math.floor(r/3600)}h ${Math.floor(r%3600/60)}m`}let d=e=>e.length?e.reduce((e,t)=>e+t,0)/e.length:0,p={"new-relic":{label:"New Relic",icon:i,description:"Real-user performance per page: load time, Core Web Vitals, throughput and Apdex.",keys:{required:["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID"],optional:["NEWRELIC_INSERT_KEY"]},stats:e=>[{label:"Avg Load Time",value:c(d(e.map(e=>e.newRelic.loadTime)))},{label:"Avg LCP",value:c(d(e.map(e=>e.newRelic.lcp)))},{label:"Avg TTFB",value:c(d(e.map(e=>e.newRelic.ttfb)))},{label:"Avg Apdex",value:d(e.map(e=>e.newRelic.apdexScore)).toFixed(2)}],columns:[{header:"Load",cell:e=>c(e.newRelic.loadTime)},{header:"LCP",cell:e=>c(e.newRelic.lcp)},{header:"TTFB",cell:e=>c(e.newRelic.ttfb)},{header:"CLS",cell:e=>e.newRelic.cls.toFixed(2)},{header:"INP",cell:e=>void 0===e.newRelic.inp?"—":c(e.newRelic.inp)},{header:"Error Rate",cell:e=>`${e.newRelic.errorRate.toFixed(2)}%`},{header:"Throughput",cell:e=>e.newRelic.throughput.toLocaleString()},{header:"Apdex",cell:e=>e.newRelic.apdexScore.toFixed(2)}]},sentry:{label:"Sentry",icon:u,description:"Errors captured per page over the last 24 hours.",keys:{required:["SENTRY_API_KEY","SENTRY_DSN"],optional:[]},stats:e=>{let t=e.reduce((e,t)=>(t.sentry?.errorCount??0)>(e?.sentry?.errorCount??0)?t:e,null);return[{label:"Total Errors",value:String(e.map(e=>e.sentry?.errorCount??0).reduce((e,t)=>e+t,0))},{label:"Pages With Errors",value:`${e.filter(e=>(e.sentry?.errorCount??0)>0).length} of ${e.length}`},{label:"Noisiest Page",value:t?.name??"None"}]},columns:[{header:"Errors",cell:e=>String(e.sentry?.errorCount??0)},{header:"Latest Error",cell:e=>e.sentry?.latestErrors[0]?.title??"—"},{header:"Last Seen",cell:e=>{let t=Date.parse(e.sentry?.latestErrors[0]?.lastSeen??"");return Number.isNaN(t)?"—":new Date(t).toLocaleString()}}]}},h=Object.keys(p);e.s(["KEY_LABELS",0,{NEWRELIC_API_KEY:"New Relic User API key",NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID:"New Relic account ID",SENTRY_API_KEY:"Sentry auth token",SENTRY_DSN:"Sentry DSN"},"TOOLS",0,p,"TOOL_IDS",0,h],67119);let R="NEWRELIC_REGION",E={us:{graphql:"https://api.newrelic.com/graphql",ingest:"https://insights-collector.newrelic.com"},eu:{graphql:"https://api.eu.newrelic.com/graphql",ingest:"https://insights-collector.eu01.nr-data.net"}},f={gemini:{label:"Google Gemini",key:"GEMINI_API_KEY"},claude:{label:"Anthropic Claude",key:"CLAUDE_API_KEY"},openai:{label:"OpenAI",key:"OPENAI_API_KEY"}},m="AI_PROVIDER";function v(e){return process.env[e]??""}let g=e=>p[e].keys.required.every(e=>v(e));function x(){return process.env.METRICFLOW_PROJECT_DIR||process.cwd()}e.s(["AI_PROVIDERS",0,f,"AI_PROVIDER_KEY",0,m,"INSERT_KEY",0,"NEWRELIC_INSERT_KEY","REGION_KEY",0,R,"SETUP_KEYS",0,["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID","SENTRY_API_KEY","SENTRY_DSN"],"activeAi",0,function(){let e=process.env[m];for(let t of(e&&e in f?[e]:[]).concat(Object.keys(f))){let e=process.env[f[t].key];if(e)return{provider:t,key:e}}return null},"connectedTools",0,()=>h.filter(g),"env",0,v,"isToolConnected",0,g,"nrHosts",0,(e="eu"===process.env[R]?"eu":"us")=>E[e],"projectDir",0,x,"writeEnvLocal",0,function(e,n=process.env.METRICFLOW_ENV_FILE||(0,r.join)(x(),".env.local")){let a=(0,t.existsSync)(n)?(0,t.readFileSync)(n,"utf8").split("\n"):[],o=new Map(Object.entries(e)),s=a.map(e=>{let t=e.match(/^\s*([A-Z0-9_]+)\s*=/)?.[1];if(t&&o.has(t)){let e=o.get(t);return o.delete(t),`${t}=${e}`}return e});for(;s.length&&""===s[s.length-1];)s.pop();for(let[e,t]of o)s.push(`${e}=${t}`);let i=`${n}.tmp`;for(let[r,a]of((0,t.writeFileSync)(i,s.join("\n")+"\n",{mode:384}),(0,t.renameSync)(i,n),Object.entries(e)))process.env[r]=a}],12892)},24514,e=>{"use strict";let t=new Set(["localhost","127.0.0.1","[::1]"]),r=new Set(["127.0.0.1","::1","::ffff:127.0.0.1"]);e.s(["REFUSAL_MESSAGE",0,()=>"1"===process.env.METRICFLOW_EXPOSED?"Setup and Connect are disabled because the dashboard is exposed on the network (--host). Restart without --host to use them.":"Setup is only available from localhost.","isLocalRequest",0,function(e){if("1"===process.env.METRICFLOW_EXPOSED)return!1;let n=e.headers.get("x-forwarded-for");if(n&&!n.split(",").every(e=>r.has(e.trim().replace(/^\[|\]$/g,""))))return!1;let a=(e.headers.get("host")??"").replace(/:\d+$/,"");if(!t.has(a))return!1;let o=e.headers.get("origin");try{return!o||t.has(new URL(o).hostname)}catch{return!1}}])},27252,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(18286).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs 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.")},"[project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},19374,e=>{"use strict";var t=e.i(27252);e.n(t)},18286,(e,t,r)=>{"use strict";t.exports=e.r(99403).vendored["react-rsc"].ReactServerDOMTurbopackServer}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__0rfr72x._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[49719,(e,r,t)=>{r.exports=e.x("assert",()=>require("assert"))},54799,(e,r,t)=>{r.exports=e.x("crypto",()=>require("crypto"))},27699,(e,r,t)=>{r.exports=e.x("events",()=>require("events"))},22734,(e,r,t)=>{r.exports=e.x("fs",()=>require("fs"))},21517,(e,r,t)=>{r.exports=e.x("http",()=>require("http"))},25328,(e,r,t)=>{r.exports=e.x("http2",()=>require("http2"))},24836,(e,r,t)=>{r.exports=e.x("https",()=>require("https"))},4446,(e,r,t)=>{r.exports=e.x("net",()=>require("net"))},18622,(e,r,t)=>{r.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,r,t)=>{r.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,r,t)=>{r.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2157,(e,r,t)=>{r.exports=e.x("node:fs",()=>require("node:fs"))},50227,(e,r,t)=>{r.exports=e.x("node:path",()=>require("node:path"))},81111,(e,r,t)=>{r.exports=e.x("node:stream",()=>require("node:stream"))},46786,(e,r,t)=>{r.exports=e.x("os",()=>require("os"))},14747,(e,r,t)=>{r.exports=e.x("path",()=>require("path"))},88947,(e,r,t)=>{r.exports=e.x("stream",()=>require("stream"))},55004,(e,r,t)=>{r.exports=e.x("tls",()=>require("tls"))},70722,(e,r,t)=>{r.exports=e.x("tty",()=>require("tty"))},92509,(e,r,t)=>{r.exports=e.x("url",()=>require("url"))},24361,(e,r,t)=>{r.exports=e.x("util",()=>require("util"))},6461,(e,r,t)=>{r.exports=e.x("zlib",()=>require("zlib"))},90770,e=>{"use strict";let r=new Map;e.s(["getTimings",0,function(){return Array.from(r.entries()).map(([e,r])=>({name:e,value:r})).sort((e,r)=>r.value-e.value)},"recordTiming",0,function(e,t){r.set(e,Math.round(t))}])},12892,67119,e=>{"use strict";var r=e.i(2157),t=e.i(50227),n=e.i(39151),o=e.i(19374);function s(e,r=[],t=[]){let a,l="string"==typeof e?function(e,r,t=[]){if(null==r)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:r,...t.length>0?{aliases:t}:{}}}(e,r,t):e,i=(0,n.forwardRef)(({className:e,...r},t)=>(0,n.createElement)(o.default,{ref:t,icon:l,className:e,...r}));return l.name&&(i.displayName=(a=(e=>{let r="",t=!1;for(let n of e){if("-"===n||"_"===n||n<=" "){t=r.length>0;continue}0===r.length?r+=n.toLowerCase():r+=t?n.toUpperCase():n,t=!1}return r})(l.name)).charAt(0).toUpperCase()+a.slice(1)),i}let a={name:"activity",size:24,node:[["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"}]]};a.node;let l=s(a),i={name:"bug",size:24,node:[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]};i.node;let c=s(i);function p(e){if(!Number.isFinite(e))return"—";let r=Math.abs(Math.round(e));if(r<1e3)return`${Math.round(e)}ms`;if(r<59950)return`${+(e/1e3).toFixed(1)}s`;let t=Math.round(r/1e3),n=e<0?"-":"";return t<3600?`${n}${Math.floor(t/60)}m ${t%60}s`:`${n}${Math.floor(t/3600)}h ${Math.floor(t%3600/60)}m`}let u=e=>e.length?e.reduce((e,r)=>e+r,0)/e.length:0,d={"new-relic":{label:"New Relic",icon:l,description:"Real-user performance per page: load time, Core Web Vitals, throughput and Apdex.",keys:{required:["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID"],optional:["NEWRELIC_INSERT_KEY"]},stats:e=>[{label:"Avg Load Time",value:p(u(e.map(e=>e.newRelic.loadTime)))},{label:"Avg LCP",value:p(u(e.map(e=>e.newRelic.lcp)))},{label:"Avg TTFB",value:p(u(e.map(e=>e.newRelic.ttfb)))},{label:"Avg Apdex",value:u(e.map(e=>e.newRelic.apdexScore)).toFixed(2)}],columns:[{header:"Load",cell:e=>p(e.newRelic.loadTime)},{header:"LCP",cell:e=>p(e.newRelic.lcp)},{header:"TTFB",cell:e=>p(e.newRelic.ttfb)},{header:"CLS",cell:e=>e.newRelic.cls.toFixed(2)},{header:"INP",cell:e=>void 0===e.newRelic.inp?"—":p(e.newRelic.inp)},{header:"Error Rate",cell:e=>`${e.newRelic.errorRate.toFixed(2)}%`},{header:"Throughput",cell:e=>e.newRelic.throughput.toLocaleString()},{header:"Apdex",cell:e=>e.newRelic.apdexScore.toFixed(2)}]},sentry:{label:"Sentry",icon:c,description:"Errors captured per page over the last 24 hours.",keys:{required:["SENTRY_API_KEY","SENTRY_DSN"],optional:[]},stats:e=>{let r=e.reduce((e,r)=>(r.sentry?.errorCount??0)>(e?.sentry?.errorCount??0)?r:e,null);return[{label:"Total Errors",value:String(e.map(e=>e.sentry?.errorCount??0).reduce((e,r)=>e+r,0))},{label:"Pages With Errors",value:`${e.filter(e=>(e.sentry?.errorCount??0)>0).length} of ${e.length}`},{label:"Noisiest Page",value:r?.name??"None"}]},columns:[{header:"Errors",cell:e=>String(e.sentry?.errorCount??0)},{header:"Latest Error",cell:e=>e.sentry?.latestErrors[0]?.title??"—"},{header:"Last Seen",cell:e=>{let r=Date.parse(e.sentry?.latestErrors[0]?.lastSeen??"");return Number.isNaN(r)?"—":new Date(r).toLocaleString()}}]}},h=Object.keys(d);e.s(["KEY_LABELS",0,{NEWRELIC_API_KEY:"New Relic User API key",NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID:"New Relic account ID",SENTRY_API_KEY:"Sentry auth token",SENTRY_DSN:"Sentry DSN"},"TOOLS",0,d,"TOOL_IDS",0,h],67119);let x="NEWRELIC_REGION",E={us:{graphql:"https://api.newrelic.com/graphql",ingest:"https://insights-collector.newrelic.com"},eu:{graphql:"https://api.eu.newrelic.com/graphql",ingest:"https://insights-collector.eu01.nr-data.net"}},m={gemini:{label:"Google Gemini",key:"GEMINI_API_KEY"},claude:{label:"Anthropic Claude",key:"CLAUDE_API_KEY"},openai:{label:"OpenAI",key:"OPENAI_API_KEY"}},f="AI_PROVIDER";function _(e){return process.env[e]??""}let v=e=>d[e].keys.required.every(e=>_(e));function y(){return process.env.METRICFLOW_PROJECT_DIR||process.cwd()}e.s(["AI_PROVIDERS",0,m,"AI_PROVIDER_KEY",0,f,"INSERT_KEY",0,"NEWRELIC_INSERT_KEY","REGION_KEY",0,x,"SETUP_KEYS",0,["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID","SENTRY_API_KEY","SENTRY_DSN"],"activeAi",0,function(){let e=process.env[f];for(let r of(e&&e in m?[e]:[]).concat(Object.keys(m))){let e=process.env[m[r].key];if(e)return{provider:r,key:e}}return null},"connectedTools",0,()=>h.filter(v),"env",0,_,"isToolConnected",0,v,"nrHosts",0,(e="eu"===process.env[x]?"eu":"us")=>E[e],"projectDir",0,y,"writeEnvLocal",0,function(e,n=process.env.METRICFLOW_ENV_FILE||(0,t.join)(y(),".env.local")){let o=(0,r.existsSync)(n)?(0,r.readFileSync)(n,"utf8").split("\n"):[],s=new Map(Object.entries(e)),a=o.map(e=>{let r=e.match(/^\s*([A-Z0-9_]+)\s*=/)?.[1];if(r&&s.has(r)){let e=s.get(r);return s.delete(r),`${r}=${e}`}return e});for(;a.length&&""===a[a.length-1];)a.pop();for(let[e,r]of s)a.push(`${e}=${r}`);let l=`${n}.tmp`;for(let[t,o]of((0,r.writeFileSync)(l,a.join("\n")+"\n",{mode:384}),(0,r.renameSync)(l,n),Object.entries(e)))process.env[t]=o}],12892)},27252,e=>{"use strict";e.s(["default",()=>r]);let r=(0,e.i(18286).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs 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.")},"[project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},19374,e=>{"use strict";var r=e.i(27252);e.n(r)},18286,(e,r,t)=>{"use strict";r.exports=e.r(99403).vendored["react-rsc"].ReactServerDOMTurbopackServer}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__186pj_c._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[49719,(e,t,r)=>{t.exports=e.x("assert",()=>require("assert"))},54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},27699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},21517,(e,t,r)=>{t.exports=e.x("http",()=>require("http"))},25328,(e,t,r)=>{t.exports=e.x("http2",()=>require("http2"))},24836,(e,t,r)=>{t.exports=e.x("https",()=>require("https"))},4446,(e,t,r)=>{t.exports=e.x("net",()=>require("net"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},88947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},55004,(e,t,r)=>{t.exports=e.x("tls",()=>require("tls"))},70722,(e,t,r)=>{t.exports=e.x("tty",()=>require("tty"))},92509,(e,t,r)=>{t.exports=e.x("url",()=>require("url"))},24361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},6461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},83464,e=>{"use strict";var t=e.i(60756),r=e.i(12892),a=e.i(24514);let n=/[\s\0#"'`\\$]/,s=()=>Response.json({error:(0,a.REFUSAL_MESSAGE)()},{status:403}),o={gemini:e=>t.default.get("https://generativelanguage.googleapis.com/v1beta/models",{params:{key:e},timeout:8e3}),claude:e=>t.default.get("https://api.anthropic.com/v1/models",{headers:{"x-api-key":e,"anthropic-version":"2023-06-01"},timeout:8e3}),openai:e=>t.default.get("https://api.openai.com/v1/models",{headers:{Authorization:`Bearer ${e}`},timeout:8e3})};async function i(e){return(0,a.isLocalRequest)(e)?Response.json({provider:(0,r.activeAi)()?.provider??null,keys:Object.fromEntries(Object.entries(r.AI_PROVIDERS).map(([e,t])=>[e,!!process.env[t.key]]))}):s()}async function l(e){let i;if(!(0,a.isLocalRequest)(e))return s();try{i=await e.json()}catch{return Response.json({error:"Invalid request body."},{status:400})}let l=i.provider;if(!("string"==typeof l&&l in r.AI_PROVIDERS))return Response.json({saved:!1,error:"Choose a provider."},{status:400});let u="string"==typeof i.key?i.key.trim():"";if(!u)return Response.json({saved:!1,error:"Required."},{status:400});if(n.test(u))return Response.json({saved:!1,error:"Contains spaces or special characters. Paste the key without them."},{status:400});try{await o[l](u)}catch(n){let e=t.default.isAxiosError(n)?n.response?.status:void 0,a=400===e||401===e||403===e?`${r.AI_PROVIDERS[l].label} rejected this key.`:`Could not reach ${r.AI_PROVIDERS[l].label} to check the key.`;return Response.json({saved:!1,error:a},{status:422})}try{(0,r.writeEnvLocal)({[r.AI_PROVIDER_KEY]:l,[r.AI_PROVIDERS[l].key]:u})}catch{return Response.json({saved:!1,error:"Key is valid but .env.local could not be written. Check folder permissions."},{status:500})}return Response.json({saved:!0,provider:l})}e.s(["GET",0,i,"POST",0,l])},9001,e=>{"use strict";var t=e.i(12425),r=e.i(83353),a=e.i(47902),n=e.i(37892),s=e.i(54261),o=e.i(39548),i=e.i(68187),l=e.i(63984),u=e.i(88743),c=e.i(24698),p=e.i(13487),d=e.i(48776),h=e.i(29398),R=e.i(31610),E=e.i(45919),v=e.i(93695),m=e.i(12741);e.i(95315);var f=e.i(98732);let x=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/setup/ai/route",pathname:"/api/setup/ai",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/setup/ai/route.ts",nextConfigOutput:"",userland:()=>e.r(83464),...{}}),{workAsyncStorage:g,workUnitAsyncStorage:y,serverHooks:_}=x;async function C(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),x.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/setup/ai/route";g=g.replace(/\/index$/,"")||"/";let y=await x.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!y)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:_,deploymentId:C,params:w,nextConfig:I,parsedUrl:S,isDraftMode:A,prerenderManifest:b,routerServerContext:N,isOnDemandRevalidate:T,revalidateOnlyGenerated:P,resolvedPathname:q,clientReferenceManifest:O,serverActionsManifest:k}=y,L=(0,i.normalizeAppPath)(g),j=!!b.routes[q]&&(x.isDev||(0,m.isRouteCacheOwner)(q,x.cacheOwner,b.routes[q])),M=!!(b.dynamicRoutes[L]||j),D=async()=>((null==N?void 0:N.render404)?await N.render404(e,t,S,!1):t.end("This page could not be found"),null);if(M&&!A){let e=b.dynamicRoutes[L];if(e&&!1===e.fallback&&!j){if(I.adapterPath)return await D();throw new v.NoFallbackError}}let $=null;!M||x.isDev||A||($="/index"===($=q)?"/":$);let U=!0===x.isDev||!M,K=M&&!U;k&&O&&(0,o.setManifestsSingleton)({page:g,clientReferenceManifest:O,serverActionsManifest:k});let F=e.method||"GET",Y=(0,s.getTracer)(),H=Y.getActiveScopeSpan(),W=!!(null==N?void 0:N.isWrappedByNextServer),V=!!(0,n.getRequestMeta)(e,"minimalMode"),B=(0,n.getRequestMeta)(e,"incrementalCache")||await x.getIncrementalCache(e,I,b,V);null==B||B.resetRequestCache(),globalThis.__incrementalCache=B;let G={params:w,previewProps:b.preview,renderOpts:{experimental:{authInterrupts:!!I.experimental.authInterrupts,useCacheTimeout:I.experimental.useCacheTimeout},cacheComponents:!!I.cacheComponents,validationLevel:I.experimental.instantInsights.validationLevel,isDraftMode:A,supportsDynamicResponse:U,incrementalCache:B,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:I.cacheLife,staticPageGenerationTimeout:I.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>x.onRequestError(e,t,a,n,N)},sharedContext:{buildId:_,deploymentId:C}},z=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),Z=u.NextRequestAdapter.fromNodeNextRequest(z,(0,u.signalFromNodeResponse)(t)),J=async({previousCacheEntry:r})=>{try{if(!V&&T&&P&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await x.handle(Z,G);e.fetchMetrics=G.renderOpts.fetchMetrics;let s=G.renderOpts.pendingWaitUntil;s&&a.waitUntil&&(a.waitUntil(s),s=void 0);let o=G.renderOpts.collectedTags;if(!M)return await (0,d.sendResponse)(z,X,n,s),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);o&&(t[E.NEXT_CACHE_TAGS_HEADER]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==G.renderOpts.collectedRevalidate&&!(G.renderOpts.collectedRevalidate>=E.INFINITE_CACHE)&&G.renderOpts.collectedRevalidate,a=void 0===G.renderOpts.collectedExpire||G.renderOpts.collectedExpire>=E.INFINITE_CACHE?!1!==r&&r>0?I.expireTime:void 0:G.renderOpts.collectedExpire;return{value:{kind:f.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:a}}}}catch(t){throw(null==r?void 0:r.isStale)&&await x.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:K,isOnDemandRevalidate:T})},!1,N),t}},Q=async(n,o)=>{try{var i,l;let n=await x.handleResponse({req:e,nextConfig:I,cacheKey:$,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:b,isRoutePPREnabled:!1,isOnDemandRevalidate:T,revalidateOnlyGenerated:P,responseGenerator:J,waitUntil:a.waitUntil,isMinimalMode:V});if(!M)return;if((null==n||null==(i=n.value)?void 0:i.kind)!==f.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});V||t.setHeader("x-nextjs-cache",T?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let s=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);V&&M||s.delete(E.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,R.getCacheControlHeader)(n.cacheControl)),await (0,d.sendResponse)(z,X,new Response(n.value.body,{headers:s,status:n.value.status||200}));return}catch(t){if(t instanceof v.NoFallbackError||await x.onRequestError(e,t,{routerKind:"App Router",routePath:L,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:K,isOnDemandRevalidate:T})},!1,N),M)throw t;await (0,d.sendResponse)(z,X,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:s.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let r=Y.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==c.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route")||L,i=`${F} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":i}),n.updateName(i),o&&o!==n&&(o.setAttribute("http.route",a),o.updateName(i))})()}};if(W&&H)await Q(H,void 0);else{let t=Y.getActiveScopeSpan();await Y.withPropagatedContext(e.headers,()=>Y.trace(c.BaseServerSpan.handleRequest,{spanName:`${F} ${g}`,kind:s.SpanKind.SERVER,attributes:{"http.method":F,"http.target":e.url}},e=>Q(e,t)),void 0,!W)}}e.s(["handler",0,C,"patchFetch",0,function(){return(0,a.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:y})},"routeModule",0,x,"serverHooks",0,_,"workAsyncStorage",0,g,"workUnitAsyncStorage",0,y])},12892,67119,e=>{"use strict";var t=e.i(2157),r=e.i(50227),a=e.i(39151),n=e.i(19374);function s(e,t=[],r=[]){let o,i="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,t,r):e,l=(0,a.forwardRef)(({className:e,...t},r)=>(0,a.createElement)(n.default,{ref:r,icon:i,className:e,...t}));return i.name&&(l.displayName=(o=(e=>{let t="",r=!1;for(let a of e){if("-"===a||"_"===a||a<=" "){r=t.length>0;continue}0===t.length?t+=a.toLowerCase():t+=r?a.toUpperCase():a,r=!1}return t})(i.name)).charAt(0).toUpperCase()+o.slice(1)),l}let o={name:"activity",size:24,node:[["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"}]]};o.node;let i=s(o),l={name:"bug",size:24,node:[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]};l.node;let u=s(l);function c(e){if(!Number.isFinite(e))return"—";let t=Math.abs(Math.round(e));if(t<1e3)return`${Math.round(e)}ms`;if(t<59950)return`${+(e/1e3).toFixed(1)}s`;let r=Math.round(t/1e3),a=e<0?"-":"";return r<3600?`${a}${Math.floor(r/60)}m ${r%60}s`:`${a}${Math.floor(r/3600)}h ${Math.floor(r%3600/60)}m`}let p=e=>e.length?e.reduce((e,t)=>e+t,0)/e.length:0,d={"new-relic":{label:"New Relic",icon:i,description:"Real-user performance per page: load time, Core Web Vitals, throughput and Apdex.",keys:{required:["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID"],optional:["NEWRELIC_INSERT_KEY"]},stats:e=>[{label:"Avg Load Time",value:c(p(e.map(e=>e.newRelic.loadTime)))},{label:"Avg LCP",value:c(p(e.map(e=>e.newRelic.lcp)))},{label:"Avg TTFB",value:c(p(e.map(e=>e.newRelic.ttfb)))},{label:"Avg Apdex",value:p(e.map(e=>e.newRelic.apdexScore)).toFixed(2)}],columns:[{header:"Load",cell:e=>c(e.newRelic.loadTime)},{header:"LCP",cell:e=>c(e.newRelic.lcp)},{header:"TTFB",cell:e=>c(e.newRelic.ttfb)},{header:"CLS",cell:e=>e.newRelic.cls.toFixed(2)},{header:"INP",cell:e=>void 0===e.newRelic.inp?"—":c(e.newRelic.inp)},{header:"Error Rate",cell:e=>`${e.newRelic.errorRate.toFixed(2)}%`},{header:"Throughput",cell:e=>e.newRelic.throughput.toLocaleString()},{header:"Apdex",cell:e=>e.newRelic.apdexScore.toFixed(2)}]},sentry:{label:"Sentry",icon:u,description:"Errors captured per page over the last 24 hours.",keys:{required:["SENTRY_API_KEY","SENTRY_DSN"],optional:[]},stats:e=>{let t=e.reduce((e,t)=>(t.sentry?.errorCount??0)>(e?.sentry?.errorCount??0)?t:e,null);return[{label:"Total Errors",value:String(e.map(e=>e.sentry?.errorCount??0).reduce((e,t)=>e+t,0))},{label:"Pages With Errors",value:`${e.filter(e=>(e.sentry?.errorCount??0)>0).length} of ${e.length}`},{label:"Noisiest Page",value:t?.name??"None"}]},columns:[{header:"Errors",cell:e=>String(e.sentry?.errorCount??0)},{header:"Latest Error",cell:e=>e.sentry?.latestErrors[0]?.title??"—"},{header:"Last Seen",cell:e=>{let t=Date.parse(e.sentry?.latestErrors[0]?.lastSeen??"");return Number.isNaN(t)?"—":new Date(t).toLocaleString()}}]}},h=Object.keys(d);e.s(["KEY_LABELS",0,{NEWRELIC_API_KEY:"New Relic User API key",NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID:"New Relic account ID",SENTRY_API_KEY:"Sentry auth token",SENTRY_DSN:"Sentry DSN"},"TOOLS",0,d,"TOOL_IDS",0,h],67119);let R="NEWRELIC_REGION",E={us:{graphql:"https://api.newrelic.com/graphql",ingest:"https://insights-collector.newrelic.com"},eu:{graphql:"https://api.eu.newrelic.com/graphql",ingest:"https://insights-collector.eu01.nr-data.net"}},v={gemini:{label:"Google Gemini",key:"GEMINI_API_KEY"},claude:{label:"Anthropic Claude",key:"CLAUDE_API_KEY"},openai:{label:"OpenAI",key:"OPENAI_API_KEY"}},m="AI_PROVIDER";function f(e){return process.env[e]??""}let x=e=>d[e].keys.required.every(e=>f(e));function g(){return process.env.METRICFLOW_PROJECT_DIR||process.cwd()}e.s(["AI_PROVIDERS",0,v,"AI_PROVIDER_KEY",0,m,"INSERT_KEY",0,"NEWRELIC_INSERT_KEY","REGION_KEY",0,R,"SETUP_KEYS",0,["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID","SENTRY_API_KEY","SENTRY_DSN"],"activeAi",0,function(){let e=process.env[m];for(let t of(e&&e in v?[e]:[]).concat(Object.keys(v))){let e=process.env[v[t].key];if(e)return{provider:t,key:e}}return null},"connectedTools",0,()=>h.filter(x),"env",0,f,"isToolConnected",0,x,"nrHosts",0,(e="eu"===process.env[R]?"eu":"us")=>E[e],"projectDir",0,g,"writeEnvLocal",0,function(e,a=process.env.METRICFLOW_ENV_FILE||(0,r.join)(g(),".env.local")){let n=(0,t.existsSync)(a)?(0,t.readFileSync)(a,"utf8").split("\n"):[],s=new Map(Object.entries(e)),o=n.map(e=>{let t=e.match(/^\s*([A-Z0-9_]+)\s*=/)?.[1];if(t&&s.has(t)){let e=s.get(t);return s.delete(t),`${t}=${e}`}return e});for(;o.length&&""===o[o.length-1];)o.pop();for(let[e,t]of s)o.push(`${e}=${t}`);let i=`${a}.tmp`;for(let[r,n]of((0,t.writeFileSync)(i,o.join("\n")+"\n",{mode:384}),(0,t.renameSync)(i,a),Object.entries(e)))process.env[r]=n}],12892)},24514,e=>{"use strict";let t=new Set(["localhost","127.0.0.1","[::1]"]),r=new Set(["127.0.0.1","::1","::ffff:127.0.0.1"]);e.s(["REFUSAL_MESSAGE",0,()=>"1"===process.env.METRICFLOW_EXPOSED?"Setup and Connect are disabled because the dashboard is exposed on the network (--host). Restart without --host to use them.":"Setup is only available from localhost.","isLocalRequest",0,function(e){if("1"===process.env.METRICFLOW_EXPOSED)return!1;let a=e.headers.get("x-forwarded-for");if(a&&!a.split(",").every(e=>r.has(e.trim().replace(/^\[|\]$/g,""))))return!1;let n=(e.headers.get("host")??"").replace(/:\d+$/,"");if(!t.has(n))return!1;let s=e.headers.get("origin");try{return!s||t.has(new URL(s).hostname)}catch{return!1}}])},27252,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(18286).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs 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.")},"[project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},19374,e=>{"use strict";var t=e.i(27252);e.n(t)},18286,(e,t,r)=>{"use strict";t.exports=e.r(99403).vendored["react-rsc"].ReactServerDOMTurbopackServer}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__1igrw77._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[49719,(e,t,r)=>{t.exports=e.x("assert",()=>require("assert"))},54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},27699,(e,t,r)=>{t.exports=e.x("events",()=>require("events"))},22734,(e,t,r)=>{t.exports=e.x("fs",()=>require("fs"))},21517,(e,t,r)=>{t.exports=e.x("http",()=>require("http"))},25328,(e,t,r)=>{t.exports=e.x("http2",()=>require("http2"))},24836,(e,t,r)=>{t.exports=e.x("https",()=>require("https"))},4446,(e,t,r)=>{t.exports=e.x("net",()=>require("net"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},50227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},46786,(e,t,r)=>{t.exports=e.x("os",()=>require("os"))},14747,(e,t,r)=>{t.exports=e.x("path",()=>require("path"))},88947,(e,t,r)=>{t.exports=e.x("stream",()=>require("stream"))},55004,(e,t,r)=>{t.exports=e.x("tls",()=>require("tls"))},70722,(e,t,r)=>{t.exports=e.x("tty",()=>require("tty"))},92509,(e,t,r)=>{t.exports=e.x("url",()=>require("url"))},24361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},6461,(e,t,r)=>{t.exports=e.x("zlib",()=>require("zlib"))},12892,67119,e=>{"use strict";var t=e.i(2157),r=e.i(50227),n=e.i(39151),o=e.i(19374);function s(e,t=[],r=[]){let a,i="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,t,r):e,l=(0,n.forwardRef)(({className:e,...t},r)=>(0,n.createElement)(o.default,{ref:r,icon:i,className:e,...t}));return i.name&&(l.displayName=(a=(e=>{let t="",r=!1;for(let n of e){if("-"===n||"_"===n||n<=" "){r=t.length>0;continue}0===t.length?t+=n.toLowerCase():t+=r?n.toUpperCase():n,r=!1}return t})(i.name)).charAt(0).toUpperCase()+a.slice(1)),l}let a={name:"activity",size:24,node:[["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"}]]};a.node;let i=s(a),l={name:"bug",size:24,node:[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]};l.node;let c=s(l);function u(e){if(!Number.isFinite(e))return"—";let t=Math.abs(Math.round(e));if(t<1e3)return`${Math.round(e)}ms`;if(t<59950)return`${+(e/1e3).toFixed(1)}s`;let r=Math.round(t/1e3),n=e<0?"-":"";return r<3600?`${n}${Math.floor(r/60)}m ${r%60}s`:`${n}${Math.floor(r/3600)}h ${Math.floor(r%3600/60)}m`}let p=e=>e.length?e.reduce((e,t)=>e+t,0)/e.length:0,d={"new-relic":{label:"New Relic",icon:i,description:"Real-user performance per page: load time, Core Web Vitals, throughput and Apdex.",keys:{required:["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID"],optional:["NEWRELIC_INSERT_KEY"]},stats:e=>[{label:"Avg Load Time",value:u(p(e.map(e=>e.newRelic.loadTime)))},{label:"Avg LCP",value:u(p(e.map(e=>e.newRelic.lcp)))},{label:"Avg TTFB",value:u(p(e.map(e=>e.newRelic.ttfb)))},{label:"Avg Apdex",value:p(e.map(e=>e.newRelic.apdexScore)).toFixed(2)}],columns:[{header:"Load",cell:e=>u(e.newRelic.loadTime)},{header:"LCP",cell:e=>u(e.newRelic.lcp)},{header:"TTFB",cell:e=>u(e.newRelic.ttfb)},{header:"CLS",cell:e=>e.newRelic.cls.toFixed(2)},{header:"INP",cell:e=>void 0===e.newRelic.inp?"—":u(e.newRelic.inp)},{header:"Error Rate",cell:e=>`${e.newRelic.errorRate.toFixed(2)}%`},{header:"Throughput",cell:e=>e.newRelic.throughput.toLocaleString()},{header:"Apdex",cell:e=>e.newRelic.apdexScore.toFixed(2)}]},sentry:{label:"Sentry",icon:c,description:"Errors captured per page over the last 24 hours.",keys:{required:["SENTRY_API_KEY","SENTRY_DSN"],optional:[]},stats:e=>{let t=e.reduce((e,t)=>(t.sentry?.errorCount??0)>(e?.sentry?.errorCount??0)?t:e,null);return[{label:"Total Errors",value:String(e.map(e=>e.sentry?.errorCount??0).reduce((e,t)=>e+t,0))},{label:"Pages With Errors",value:`${e.filter(e=>(e.sentry?.errorCount??0)>0).length} of ${e.length}`},{label:"Noisiest Page",value:t?.name??"None"}]},columns:[{header:"Errors",cell:e=>String(e.sentry?.errorCount??0)},{header:"Latest Error",cell:e=>e.sentry?.latestErrors[0]?.title??"—"},{header:"Last Seen",cell:e=>{let t=Date.parse(e.sentry?.latestErrors[0]?.lastSeen??"");return Number.isNaN(t)?"—":new Date(t).toLocaleString()}}]}},h=Object.keys(d);e.s(["KEY_LABELS",0,{NEWRELIC_API_KEY:"New Relic User API key",NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID:"New Relic account ID",SENTRY_API_KEY:"Sentry auth token",SENTRY_DSN:"Sentry DSN"},"TOOLS",0,d,"TOOL_IDS",0,h],67119);let E="NEWRELIC_REGION",f={us:{graphql:"https://api.newrelic.com/graphql",ingest:"https://insights-collector.newrelic.com"},eu:{graphql:"https://api.eu.newrelic.com/graphql",ingest:"https://insights-collector.eu01.nr-data.net"}},x={gemini:{label:"Google Gemini",key:"GEMINI_API_KEY"},claude:{label:"Anthropic Claude",key:"CLAUDE_API_KEY"},openai:{label:"OpenAI",key:"OPENAI_API_KEY"}},m="AI_PROVIDER";function g(e){return process.env[e]??""}let y=e=>d[e].keys.required.every(e=>g(e));function R(){return process.env.METRICFLOW_PROJECT_DIR||process.cwd()}e.s(["AI_PROVIDERS",0,x,"AI_PROVIDER_KEY",0,m,"INSERT_KEY",0,"NEWRELIC_INSERT_KEY","REGION_KEY",0,E,"SETUP_KEYS",0,["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID","SENTRY_API_KEY","SENTRY_DSN"],"activeAi",0,function(){let e=process.env[m];for(let t of(e&&e in x?[e]:[]).concat(Object.keys(x))){let e=process.env[x[t].key];if(e)return{provider:t,key:e}}return null},"connectedTools",0,()=>h.filter(y),"env",0,g,"isToolConnected",0,y,"nrHosts",0,(e="eu"===process.env[E]?"eu":"us")=>f[e],"projectDir",0,R,"writeEnvLocal",0,function(e,n=process.env.METRICFLOW_ENV_FILE||(0,r.join)(R(),".env.local")){let o=(0,t.existsSync)(n)?(0,t.readFileSync)(n,"utf8").split("\n"):[],s=new Map(Object.entries(e)),a=o.map(e=>{let t=e.match(/^\s*([A-Z0-9_]+)\s*=/)?.[1];if(t&&s.has(t)){let e=s.get(t);return s.delete(t),`${t}=${e}`}return e});for(;a.length&&""===a[a.length-1];)a.pop();for(let[e,t]of s)a.push(`${e}=${t}`);let i=`${n}.tmp`;for(let[r,o]of((0,t.writeFileSync)(i,a.join("\n")+"\n",{mode:384}),(0,t.renameSync)(i,n),Object.entries(e)))process.env[r]=o}],12892)},24514,e=>{"use strict";let t=new Set(["localhost","127.0.0.1","[::1]"]),r=new Set(["127.0.0.1","::1","::ffff:127.0.0.1"]);e.s(["REFUSAL_MESSAGE",0,()=>"1"===process.env.METRICFLOW_EXPOSED?"Setup and Connect are disabled because the dashboard is exposed on the network (--host). Restart without --host to use them.":"Setup is only available from localhost.","isLocalRequest",0,function(e){if("1"===process.env.METRICFLOW_EXPOSED)return!1;let n=e.headers.get("x-forwarded-for");if(n&&!n.split(",").every(e=>r.has(e.trim().replace(/^\[|\]$/g,""))))return!1;let o=(e.headers.get("host")??"").replace(/:\d+$/,"");if(!t.has(o))return!1;let s=e.headers.get("origin");try{return!s||t.has(new URL(s).hostname)}catch{return!1}}])},84594,e=>{"use strict";var t=e.i(60756),r=e.i(12892);async function n(e,o=()=>!1){let s,a;if(process.env[r.REGION_KEY])return e((0,r.nrHosts)());try{if(s=await e((0,r.nrHosts)("us")),!o(s))return s}catch(r){let e=t.default.isAxiosError(r)?r.response?.status:void 0;if(401!==e&&403!==e)throw r;a=r}try{let t=await e((0,r.nrHosts)("eu"));if(!o(t))return process.env[r.REGION_KEY]="eu",t}catch{}if(a)throw a;return s}async function o(e,r,o){return(await n(n=>t.default.post(n.graphql,{query:r},{headers:{"API-Key":e,"Content-Type":"application/json"},timeout:o}),e=>!e.data?.data?.actor)).data}e.s(["nrGraphql",0,o,"withRegion",0,n])},83808,e=>{"use strict";var t=e.i(60756);async function r(e,r){let n={Authorization:`Bearer ${e}`},o=r.orgId?await t.default.get(`${r.apiBase}/organizations/`,{headers:n,timeout:8e3}):await t.default.get(`${r.apiBase}/projects/`,{headers:n,timeout:8e3}),s=Array.isArray(o.data)?o.data:[];return(r.orgId?s.find(e=>String(e.id)===r.orgId)?.slug:s.find(e=>String(e.id)===r.projectId)?.organization?.slug)??null}e.s(["orgSlugForDsn",0,r,"parseSentryDsn",0,function(e){let t;try{t=new URL(e)}catch{return{ok:!1,error:"Sentry DSN is not a valid URL."}}if("https:"!==t.protocol&&"http:"!==t.protocol)return{ok:!1,error:"Sentry DSN must be an http(s) URL."};if(!t.username)return{ok:!1,error:"Sentry DSN is missing its public key."};let r=t.pathname.replace(/^\/|\/$/g,"");if(!/^\d+$/.test(r))return{ok:!1,error:"Sentry DSN is missing a numeric project id."};let n=t.host.match(/^o(\d+)\.ingest\.(.+)$/i),o=n?n[2]:t.host;return{ok:!0,projectId:r,orgId:n?n[1]:null,apiBase:`${t.protocol}//${o}/api/0`}}])},27252,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(18286).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs 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.")},"[project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},19374,e=>{"use strict";var t=e.i(27252);e.n(t)},18286,(e,t,r)=>{"use strict";t.exports=e.r(99403).vendored["react-rsc"].ReactServerDOMTurbopackServer}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__1xo4bin._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},71385,a=>{a.v("/_next/static/media/icon.23mz8iwcatff2.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},48760,a=>{"use strict";let b={src:a.i(71385).default,width:32,height:32};a.s(["default",0,b])},83138,a=>{"use strict";var b=a.i(91396);a.i(52040);var c=a.i(19973);a.i(90103);var d=a.i(24084),e=a.i(97728);a.i(59682);var f=a.i(22381),g=a.i(30358),h=a.i(1730),i=a.i(7779),j=a.i(78720),k=a.i(29171),l=a.i(43917);function m({title:a="No data yet",reason:c="Keys work, but no page events have arrived.",href:d="/connect",cta:e="Send your first events",onRetry:f}){return(0,b.jsx)(k.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(k.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,b.jsx)("h3",{className:"text-lg font-semibold text-white",children:a}),(0,b.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:c}),(0,b.jsxs)("div",{className:"flex gap-3",children:[(0,b.jsx)(j.default,{href:d,className:(0,l.buttonVariants)(),children:e}),f&&(0,b.jsx)(l.Button,{variant:"outline",onClick:f,children:"Retry"})]})]})})}let n={"new-relic":"Add your New Relic keys to see load time and Core Web Vitals for each page.",sentry:"Add your Sentry keys to see the errors on each page."};async function o({params:a}){let{tool:j}=await a;return(0,h.isToolId)(j)||(0,c.notFound)(),(0,b.jsxs)(e.SidebarProvider,{children:[(0,b.jsx)(d.AppSidebar,{}),(0,b.jsxs)(e.SidebarInset,{className:"bg-dash-surface",children:[(0,b.jsx)(f.Header,{}),(0,b.jsxs)("div",{className:"flex flex-1 flex-col p-6 md:p-8 max-w-[1600px] mx-auto w-full",children:[(0,b.jsx)("h1",{className:"text-2xl font-bold text-white tracking-tight mb-2",children:h.TOOLS[j].label}),(0,b.jsx)("p",{className:"text-sm text-gray-400",children:h.TOOLS[j].description}),(0,i.isToolConnected)(j)?(0,b.jsx)(g.ToolInsights,{tool:j}):(0,b.jsx)("div",{className:"mt-6",children:(0,b.jsx)(m,{title:`Connect ${h.TOOLS[j].label}`,reason:n[j],href:`/setup#${j}`,cta:`Add ${h.TOOLS[j].label} keys`})})]})]})]})}a.s(["default",0,o,"dynamic",0,"force-dynamic"],83138)},58839,function(a){a.n(a.i(83138))},57784,a=>{"use strict";a.s(["ToolInsights",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call ToolInsights() from the server but ToolInsights 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.")},"[project]/components/ToolInsights/ToolInsights.tsx","ToolInsights")},30358,a=>{"use strict";var b=a.i(57784);a.n(b)},43917,a=>{"use strict";let b,c;var d=a.i(91396),e=a.i(38182);let f=a=>"boolean"==typeof a?`${a}`:0===a?"0":a,g=function(){for(var a,b,c=0,d="",e=arguments.length;c<e;c++)(a=arguments[c])&&(b=function a(b){var c,d,e="";if("string"==typeof b||"number"==typeof b)e+=b;else if("object"==typeof b)if(Array.isArray(b)){var f=b.length;for(c=0;c<f;c++)b[c]&&(d=a(b[c]))&&(e&&(e+=" "),e+=d)}else for(d in b)b[d]&&(e&&(e+=" "),e+=d);return e}(a))&&(d&&(d+=" "),d+=b);return d};var h=a.i(67913);let i=(b="group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",c={variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}},a=>{var d;if((null==c?void 0:c.variants)==null)return g(b,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:e,defaultVariants:h}=c,i=Object.keys(e).map(b=>{let c=null==a?void 0:a[b],d=null==h?void 0:h[b];if(null===c)return null;let g=f(c)||f(d);return e[b][g]}),j=a&&Object.entries(a).reduce((a,b)=>{let[c,d]=b;return void 0===d||(a[c]=d),a},{});return g(b,i,null==c||null==(d=c.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==a?void 0:a.class,null==a?void 0:a.className)});a.s(["Button",0,function({className:a,variant:b="default",size:c="default",...f}){return(0,d.jsx)(e.Button,{"data-slot":"button",className:(0,h.cn)(i({variant:b,size:c,className:a})),...f})},"buttonVariants",0,i],43917)},45603,a=>{"use strict";a.s(["Button",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call Button() from the server but Button 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.")},"[project]/node_modules/.pnpm/@base-ui+react@1.8.0_@types+react@19.3.0_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/@base-ui/react/button/Button.mjs","Button")},38182,a=>{"use strict";var b=a.i(45603);a.n(b)},25809,(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)}c._=function(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}},33951,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(18060).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs 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.")},"[project]/node_modules/.pnpm/lucide-react@1.47.0_react@19.2.8/node_modules/lucide-react/dist/esm/Icon.mjs","default")},50254,a=>{"use strict";var b=a.i(33951);a.n(b)},7969,a=>{"use strict";var b=a.i(56149),c=a.i(50254);a.s(["default",0,function(a,d=[],e=[]){let f,g="string"==typeof a?function(a,b,c=[]){if(null==b)throw Error("[lucide]: iconNode is required when icon name is used");return{name:a?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:b,...c.length>0?{aliases:c}:{}}}(a,d,e):a,h=(0,b.forwardRef)(({className:a,...d},e)=>(0,b.createElement)(c.default,{ref:e,icon:g,className:a,...d}));return g.name&&(h.displayName=(f=(a=>{let b="",c=!1;for(let d of a){if("-"===d||"_"===d||d<=" "){c=b.length>0;continue}0===b.length?b+=d.toLowerCase():b+=c?d.toUpperCase():d,c=!1}return b})(g.name)).charAt(0).toUpperCase()+f.slice(1)),h}],7969)},40950,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(18060);a.n(d("[project]/node_modules/.pnpm/next@16.3.8_@babel+core@7.29.7_supports-color@8.1.1__@opentelemetry+api@1.9.1_@types+no_c2c791d25241ae4161c9f48ecf186c77/node_modules/next/dist/client/app-dir/link.js"))},53824,a=>{"use strict";var b=a.i(40950);a.n(b)},78720,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return i},useLinkStatus:function(){return h.useLinkStatus}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(25809),g=a.r(91396),h=f._(a.r(53824));function i(a){let b=a.legacyBehavior,c="string"==typeof a.children||"number"==typeof a.children||"string"==typeof a.children?.type,d=a.children?.type?.$$typeof===Symbol.for("react.client.reference");return!b||c||d||(a.children?.type?.$$typeof===Symbol.for("react.lazy")?console.error("Using a Lazy Component as a direct child of `<Link legacyBehavior>` from a Server Component is not supported. If you need legacyBehavior, wrap your Lazy Component in a Client Component that renders the Link's `<a>` tag."):console.error("Using a Server Component as a direct child of `<Link legacyBehavior>` is not supported. If you need legacyBehavior, wrap your Server Component in a Client Component that renders the Link's `<a>` tag.")),(0,g.jsx)(h.default,{...a})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},36256,a=>{"use strict";var b=a.i(46797),c=a.i(282),d=a.i(89196);a.i(60796);let e=(0,b.instrumentModuleGetter)(()=>a.r(48760)),f=(0,b.instrumentModuleGetter)(()=>a.r(70864)),g=(0,b.instrumentModuleGetter)(()=>a.r(45538)),h=(0,b.instrumentModuleGetter)(()=>a.r(54254)),i=(0,b.instrumentModuleGetter)(()=>a.r(73833)),j=(0,b.instrumentModuleGetter)(()=>a.r(35191)),k=(0,b.instrumentModuleGetter)(()=>a.r(68119)),l=["",{children:["tools",{children:["[tool]",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(58839)),"[project]/app/tools/[tool]/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{}},[]]},{metadata:{icon:[async()=>{let a=(0,d.interopDefault)(await e());return[{url:`/icon.svg?${a.src.split("/").splice(-1)[0]}`,sizes:"any",type:"image/svg+xml"}]}]},layout:[f,"[project]/app/layout.tsx"],loading:[g,"[project]/app/loading.tsx"],"not-found":[h,"[project]/node_modules/.pnpm/next@16.3.8_@babel+core@7.29.7_supports-color@8.1.1__@opentelemetry+api@1.9.1_@types+no_c2c791d25241ae4161c9f48ecf186c77/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[i,"[project]/node_modules/.pnpm/next@16.3.8_@babel+core@7.29.7_supports-color@8.1.1__@opentelemetry+api@1.9.1_@types+no_c2c791d25241ae4161c9f48ecf186c77/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[j,"[project]/node_modules/.pnpm/next@16.3.8_@babel+core@7.29.7_supports-color@8.1.1__@opentelemetry+api@1.9.1_@types+no_c2c791d25241ae4161c9f48ecf186c77/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[k,"[project]/node_modules/.pnpm/next@16.3.8_@babel+core@7.29.7_supports-color@8.1.1__@opentelemetry+api@1.9.1_@types+no_c2c791d25241ae4161c9f48ecf186c77/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],m=a.r.bind(a),n=a.l.bind(a),o=(0,c.createAppPageEntrypoint)({tree:l,page:"/tools/[tool]/page",pathname:"/tools/[tool]",require:m,loadChunk:n,interopDefault:d.interopDefault}),p=o.__next_app__,q=o.routeModule,r=o.handler;a.s(["__next_app__",0,p,"handler",0,r,"routeModule",0,q],52931),a.i(52931);var s=a.i(25948);a.s(["ClientPageRoot",()=>s.ClientPageRoot,"ClientSegmentRoot",()=>s.ClientSegmentRoot,"Fragment",()=>s.Fragment,"HTTPAccessFallbackBoundary",()=>s.HTTPAccessFallbackBoundary,"InstantValidation",()=>s.InstantValidation,"LayoutRouter",()=>s.LayoutRouter,"LoadingBoundaryProvider",()=>s.LoadingBoundaryProvider,"Postpone",()=>s.Postpone,"RenderFromTemplateContext",()=>s.RenderFromTemplateContext,"RootLayoutBoundary",()=>s.RootLayoutBoundary,"SegmentViewNode",()=>s.SegmentViewNode,"SegmentViewStateNode",()=>s.SegmentViewStateNode,"__next_app__",0,p,"captureOwnerStack",()=>s.captureOwnerStack,"collectPrefetchHints",()=>s.collectPrefetchHints,"collectSegmentData",()=>s.collectSegmentData,"createElement",()=>s.createElement,"createMetadataComponents",()=>s.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>s.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>s.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>s.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>s.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>s.createTemporaryReferenceSet,"decodeAction",()=>s.decodeAction,"decodeFormState",()=>s.decodeFormState,"decodeReply",()=>s.decodeReply,"handler",0,r,"isEmptyHTMLPrelude",()=>s.isEmptyHTMLPrelude,"patchFetch",()=>s.patchFetch,"preconnect",()=>s.preconnect,"preloadFont",()=>s.preloadFont,"preloadStyle",()=>s.preloadStyle,"prerender",()=>s.prerender,"prerenderToNodeStream",()=>s.prerenderToNodeStream,"renderToPipeableStream",()=>s.renderToPipeableStream,"renderToReadableStream",()=>s.renderToReadableStream,"routeModule",0,q,"serverHooks",()=>s.serverHooks,"taintObjectReference",()=>s.taintObjectReference],36256)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__0o_fd5z._.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96098,e=>{"use strict";var t=e.i(40798),r=e.i(46987),a=e.i(10063),s=e.i(28603),i=e.i(69948);let n={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};n.node;let l=(0,i.default)(n);function c({className:e,...r}){return(0,t.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:(0,s.cn)(e),...r})}function o({className:e,...r}){return(0,t.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,s.cn)("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",e),...r})}function d({className:e,...r}){return(0,t.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,s.cn)("inline-flex items-center gap-1",e),...r})}function u({className:e,render:t,...i}){return(0,a.useRender)({defaultTagName:"a",props:(0,r.mergeProps)({className:(0,s.cn)("transition-colors hover:text-foreground",e)},i),render:t,state:{slot:"breadcrumb-link"}})}function m({className:e,...r}){return(0,t.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,s.cn)("font-normal text-foreground",e),...r})}function h({children:e,className:r,...a}){return(0,t.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,s.cn)("[&>svg]:size-3.5",r),...a,children:e??(0,t.jsx)(l,{})})}e.i(62677),e.s(["PerformanceBreadcrumb",0,function({pageName:e="Homepage"}){return(0,t.jsx)(c,{className:"mb-6",children:(0,t.jsxs)(o,{children:[(0,t.jsx)(d,{children:(0,t.jsx)(u,{href:"/performance",className:"text-gray-400 hover:text-white",children:"Performance"})}),(0,t.jsx)(h,{}),(0,t.jsx)(d,{children:(0,t.jsx)(m,{className:"text-white font-medium",children:e})})]})})}],96098)},29672,e=>{"use strict";var t=e.i(40798),r=e.i(19085),a=e.i(24851),s=e.i(71428),i=e.i(78320),n=e.i(96098),l=e.i(5080),c=e.i(97920);e.s(["PerformanceDetail",0,function({slug:e}){let{state:o,retry:d}=(0,i.useMetrics)();if("loading"===o.status)return(0,t.jsx)(s.Skeleton,{className:"h-64 w-full bg-[#2d3748]"});if("error"===o.status)return(0,t.jsx)(a.EmptyState,{title:"Could not load metrics",reason:o.message,onRetry:d});if(!o.configured)return(0,t.jsx)(a.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(!o.tools.includes("new-relic"))return(0,t.jsx)(a.EmptyState,{...i.NEEDS_NEW_RELIC});if(0===o.pages.length)return(0,t.jsx)(a.EmptyState,{});let u=o.pages.find(t=>t.slug===e);return u||(0,r.notFound)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.PerformanceBreadcrumb,{pageName:u.name}),(0,i.hasData)(u)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.PerformanceKPIs,{page:u}),u.sentry&&(0,t.jsx)(c.RelatedErrorsList,{errors:u.sentry.latestErrors})]}):(0,t.jsx)(a.EmptyState,{reason:`${u.name} (${u.url}): keys work, but no page events have arrived.`})]})}])},5080,e=>{"use strict";var t=e.i(40798),r=e.i(70065),a=e.i(42145),s=e.i(77051),i=e.i(71255),n=e.i(93961);e.s(["PerformanceKPIs",0,function({page:e}){let{newRelic:l}=e,c=[{label:"Average Load Time",value:(0,n.formatDuration)(l.loadTime),icon:(0,t.jsx)(s.Clock,{className:"h-4 w-4 text-[#3ee0a1]"})},{label:"Error Rate",value:`${l.errorRate.toFixed(2)}%`,icon:(0,t.jsx)(a.Activity,{className:"h-4 w-4 text-[#ef4444]"})},{label:"Traffic Volume",value:e.visitors,icon:(0,t.jsx)(i.Zap,{className:"h-4 w-4 text-[#06b6d4]"})}];return(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-3 mb-8",children:c.map(e=>(0,t.jsx)(r.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,t.jsxs)(r.CardContent,{className:"p-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-gray-400",children:e.label}),(0,t.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:e.icon})]}),(0,t.jsx)("span",{className:"text-3xl font-bold text-white tracking-tight",children:e.value})]})},e.label))})}])},97920,e=>{"use strict";var t=e.i(40798),r=e.i(70065),a=e.i(69948);let s={name:"circle-alert",size:24,node:[["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"}]],aliases:["alert-circle"]};s.node;let i=(0,a.default)(s);var n=e.i(77051);e.s(["RelatedErrorsList",0,function({errors:e}){return(0,t.jsxs)(r.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md w-full lg:w-[400px]",children:[(0,t.jsx)(r.CardHeader,{children:(0,t.jsxs)(r.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight flex items-center gap-2",children:[(0,t.jsx)(i,{className:"h-5 w-5 text-[#ef4444]"}),"Related Errors"]})}),(0,t.jsx)(r.CardContent,{children:0===e.length?(0,t.jsx)("p",{className:"text-sm text-gray-400",children:"No errors reported for this page."}):(0,t.jsx)("div",{className:"flex flex-col gap-3",children:e.map(e=>(0,t.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-[#2d3748] bg-[#0f1419] p-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-between",children:(0,t.jsxs)("span",{className:"text-xs font-mono text-gray-500",children:[e.count," events"]})}),(0,t.jsx)("p",{className:"text-sm font-medium text-gray-200 line-clamp-2",children:e.title}),(0,t.jsxs)("div",{className:"flex items-center gap-1 mt-1 text-xs text-gray-500",children:[(0,t.jsx)(n.Clock,{className:"h-3 w-3"}),(0,t.jsx)("span",{children:new Date(e.lastSeen).toLocaleString()})]})]},e.title))})})]})}],97920)},24851,e=>{"use strict";var t=e.i(40798),r=e.i(3547),a=e.i(70065),s=e.i(67881);e.s(["EmptyState",0,function({title:e="No data yet",reason:i="Keys work, but no page events have arrived.",href:n="/connect",cta:l="Send your first events",onRetry:c}){return(0,t.jsx)(a.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,t.jsxs)(a.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-white",children:e}),(0,t.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:i}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)(r.default,{href:n,className:(0,s.buttonVariants)(),children:l}),c&&(0,t.jsx)(s.Button,{variant:"outline",onClick:c,children:"Retry"})]})]})})}])},70065,e=>{"use strict";var t=e.i(40798),r=e.i(28603);e.s(["Card",0,function({className:e,size:a="default",...s}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...s})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])},91153,e=>{"use strict";var t=e.i(96341);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},s=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:n,height:l,strokeWidth:c,absoluteStrokeWidth:o,nonScalingStroke:d,className:u="",children:m,iconNode:h=[],icon:x={node:h,aliases:[],size:24},...f},g)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:j=!1,nonScalingStroke:y=!1,color:N="currentColor",className:w=""}=(0,t.useContext)(s)??{},v=!!m||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(f),[k,C,z=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},i=e=>s[e]??e,n=e.size??e.width??a.width,l=e.size??e.height??a.height,c=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],o=[...e.name?[`lucide-${e.name}`]:[],...c],d=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?r(...d):r("lucide",...o,...d),m=t.absoluteStrokeWidth?Number(t.strokeWidth??a["stroke-width"])*Number(e.size??e.width??a.width)/Number(t.size??t.width??a.width):t.strokeWidth??a["stroke-width"];return["svg",{...Object.entries(a).reduce((e,[t,r])=>(e[i(t)]=r,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:m,...u&&{[i("class")]:u},[i("viewBox")]:`0 0 ${n} ${l}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,a,s]=e,n=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...a}:a;return s?[r,n,s]:[r,n]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(x,{color:e??N,width:n??i??p,height:l??i??p,strokeWidth:c??b,absoluteStrokeWidth:o??j,nonScalingStroke:d??y,className:r(w,u),hasA11yProp:v,attributes:f});return(0,t.createElement)(k,{ref:g,...C},[...z.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(m)?m:[m]])});e.s(["default",0,i],91153)},77051,e=>{"use strict";var t=e.i(69948);let r={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};r.node;let a=(0,t.default)(r);e.s(["Clock",0,a],77051)},62677,e=>{"use strict";var t=e.i(69948);let r={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};r.node;let a=(0,t.default)(r);e.s(["default",0,a])},71255,e=>{"use strict";var t=e.i(69948);let r={name:"zap",size:24,node:[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]]};r.node;let a=(0,t.default)(r);e.s(["Zap",0,a],71255)}]);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24851,e=>{"use strict";var t=e.i(40798),a=e.i(3547),r=e.i(70065),s=e.i(67881);e.s(["EmptyState",0,function({title:e="No data yet",reason:i="Keys work, but no page events have arrived.",href:n="/connect",cta:l="Send your first events",onRetry:d}){return(0,t.jsx)(r.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,t.jsxs)(r.CardContent,{className:"flex flex-col items-center gap-3 p-10 text-center",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-white",children:e}),(0,t.jsx)("p",{className:"max-w-md text-sm text-gray-400",children:i}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)(a.default,{href:n,className:(0,s.buttonVariants)(),children:l}),d&&(0,t.jsx)(s.Button,{variant:"outline",onClick:d,children:"Retry"})]})]})})}])},28175,e=>{"use strict";var t=e.i(40798),a=e.i(70065),r=e.i(69948);let s={name:"globe",size:24,node:[["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"}]]};s.node;let i=(0,r.default)(s);var n=e.i(77051),l=e.i(44222),d=e.i(78320),o=e.i(93961);e.s(["HubMetrics",0,function({pages:e,showSentry:r}){let s=e.filter(d.hasData),c=s.length?s.reduce((e,t)=>e+t.newRelic.loadTime,0)/s.length:null,u=e.reduce((e,t)=>e+(t.sentry?.errorCount??0),0),h=[{label:"Pages Reporting",value:`${s.length} of ${e.length}`,icon:(0,t.jsx)(i,{className:"h-4 w-4 text-[#3ee0a1]"})},{label:"Avg Load Time",value:null===c?"No data yet":(0,o.formatDuration)(c),icon:(0,t.jsx)(n.Clock,{className:"h-4 w-4 text-[#06b6d4]"})},...r?[{label:"Open Errors",value:s.length||u?String(u):"No data yet",icon:(0,t.jsx)(l.AlertTriangle,{className:"h-4 w-4 text-[#ef4444]"})}]:[]];return(0,t.jsx)("div",{className:`grid gap-6 mb-8 mt-4 ${r?"md:grid-cols-3":"md:grid-cols-2"}`,children:h.map((e,r)=>(0,t.jsx)(a.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,t.jsxs)(a.CardContent,{className:"p-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-gray-400",children:e.label}),(0,t.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:e.icon})]}),(0,t.jsx)("div",{className:"flex items-baseline gap-3",children:(0,t.jsx)("span",{className:"text-3xl font-bold text-white tracking-tight",children:e.value})})]})},r))})}],28175)},7848,e=>{"use strict";var t=e.i(40798),a=e.i(19085),r=e.i(47627),s=e.i(70065),i=e.i(94179),n=e.i(78320),l=e.i(93961);e.s(["HubTable",0,function({pages:e,showSentry:d}){let o=(0,a.useRouter)();return(0,t.jsxs)(s.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md flex-1",children:[(0,t.jsx)(s.CardHeader,{children:(0,t.jsx)(s.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight",children:"Tracked Pages Overview"})}),(0,t.jsx)(s.CardContent,{children:(0,t.jsx)("div",{className:"rounded-md border border-[#2d3748] overflow-hidden",children:(0,t.jsxs)(r.Table,{children:[(0,t.jsx)(r.TableHeader,{className:"bg-[#0f1419]",children:(0,t.jsxs)(r.TableRow,{className:"border-[#2d3748] hover:bg-transparent",children:[(0,t.jsx)(r.TableHead,{className:"text-gray-400",children:"Page Name"}),(0,t.jsx)(r.TableHead,{className:"text-gray-400",children:"Path"}),(0,t.jsx)(r.TableHead,{className:"text-gray-400",children:"Visitors (24h)"}),(0,t.jsx)(r.TableHead,{className:"text-gray-400",children:"Avg Load"}),d&&(0,t.jsx)(r.TableHead,{className:"text-gray-400",children:"Errors"}),(0,t.jsx)(r.TableHead,{className:"text-right text-gray-400",children:"Status"})]})}),(0,t.jsx)(r.TableBody,{children:e.map(e=>{let a=(0,n.hasData)(e);return(0,t.jsxs)(r.TableRow,{className:"border-[#2d3748] hover:bg-white/5 transition-colors cursor-pointer",onClick:()=>o.push(`/performance/${e.slug}`),children:[(0,t.jsx)(r.TableCell,{className:"font-medium text-white",children:e.name}),(0,t.jsx)(r.TableCell,{className:"text-gray-500 font-mono text-xs",children:e.url}),(0,t.jsx)(r.TableCell,{className:"text-gray-400",children:a?e.visitors:"—"}),(0,t.jsx)(r.TableCell,{className:"text-gray-400",children:a?(0,l.formatDuration)(e.newRelic.loadTime):"—"}),d&&(0,t.jsx)(r.TableCell,{className:"text-gray-400",children:a?e.sentry?.errorCount:"—"}),(0,t.jsx)(r.TableCell,{className:"text-right",children:a?(0,t.jsx)(i.Badge,{variant:"outline",className:`
|
|
2
|
-
${"Healthy"===e.status?"border-[#3ee0a1] text-[#3ee0a1] bg-[#3ee0a1]/10":""}
|
|
3
|
-
${"Warning"===e.status?"border-[#f59e0b] text-[#f59e0b] bg-[#f59e0b]/10":""}
|
|
4
|
-
${"Critical"===e.status?"border-[#ef4444] text-[#ef4444] bg-[#ef4444]/10":""}
|
|
5
|
-
`,children:e.status}):(0,t.jsx)(i.Badge,{variant:"outline",className:"border-[#4a5568] text-gray-400",children:"No data yet"})})]},e.slug)})})]})})})]})}])},11777,e=>{"use strict";var t=e.i(40798),a=e.i(24851),r=e.i(71428),s=e.i(78320),i=e.i(28175),n=e.i(7848);e.s(["PerformanceHub",0,function(){let{state:e,retry:l}=(0,s.useMetrics)();return"loading"===e.status?(0,t.jsx)(r.Skeleton,{className:"mt-6 h-64 w-full bg-[#2d3748]"}):"error"===e.status?(0,t.jsx)(a.EmptyState,{title:"Could not load metrics",reason:e.message,onRetry:l}):e.configured?e.tools.includes("new-relic")?e.pages.length&&e.pages.some(s.hasData)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.HubMetrics,{pages:e.pages,showSentry:(0,s.showsSentry)(e)}),(0,t.jsx)(n.HubTable,{pages:e.pages,showSentry:(0,s.showsSentry)(e)})]}):(0,t.jsx)(a.EmptyState,{}):(0,t.jsx)(a.EmptyState,{...s.NEEDS_NEW_RELIC}):(0,t.jsx)(a.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"})}])},94179,e=>{"use strict";var t=e.i(46987),a=e.i(10063),r=e.i(94237),s=e.i(28603);let i=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",render:n,...l}){return(0,a.useRender)({defaultTagName:"span",props:(0,t.mergeProps)({className:(0,s.cn)(i({variant:r}),e)},l),render:n,state:{slot:"badge",variant:r}})}])},70065,e=>{"use strict";var t=e.i(40798),a=e.i(28603);e.s(["Card",0,function({className:e,size:r="default",...s}){return(0,t.jsx)("div",{"data-slot":"card","data-size":r,className:(0,a.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...s})},"CardContent",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-(--card-spacing)",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-sm text-muted-foreground",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)",e),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...r})}])},47627,e=>{"use strict";var t=e.i(40798),a=e.i(28603);e.s(["Table",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,t.jsx)("table",{"data-slot":"table",className:(0,a.cn)("w-full caption-bottom text-sm",e),...r})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{"data-slot":"table-body",className:(0,a.cn)("[&_tr:last-child]:border-0",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{"data-slot":"table-cell",className:(0,a.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{"data-slot":"table-head",className:(0,a.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{"data-slot":"table-header",className:(0,a.cn)("[&_tr]:border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{"data-slot":"table-row",className:(0,a.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",e),...r})}])},91153,e=>{"use strict";var t=e.i(96341);let a=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim(),r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},s=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:n,height:l,strokeWidth:d,absoluteStrokeWidth:o,nonScalingStroke:c,className:u="",children:h,iconNode:m=[],icon:g={node:m,aliases:[],size:24},...x},b)=>{let{size:f=24,strokeWidth:p=2,absoluteStrokeWidth:v=!1,nonScalingStroke:y=!1,color:j="currentColor",className:w=""}=(0,t.useContext)(s)??{},N=!!h||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(x),[k,C,T=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},i=e=>s[e]??e,n=e.size??e.width??r.width,l=e.size??e.height??r.height,d=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],o=[...e.name?[`lucide-${e.name}`]:[],...d],c=t.className?.split(" ").filter(Boolean)??[],u=!1===t.includeDefaultClasses?a(...c):a("lucide",...o,...c),h=t.absoluteStrokeWidth?Number(t.strokeWidth??r["stroke-width"])*Number(e.size??e.width??r.width)/Number(t.size??t.width??r.width):t.strokeWidth??r["stroke-width"];return["svg",{...Object.entries(r).reduce((e,[t,a])=>(e[i(t)]=a,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:h,...u&&{[i("class")]:u},[i("viewBox")]:`0 0 ${n} ${l}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[a,r,s]=e,n=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...r}:r;return s?[a,n,s]:[a,n]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??j,width:n??i??f,height:l??i??f,strokeWidth:d??p,absoluteStrokeWidth:o??v,nonScalingStroke:c??y,className:a(w,u),hasA11yProp:N,attributes:x});return(0,t.createElement)(k,{ref:b,...C},[...T.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(h)?h:[h]])});e.s(["default",0,i],91153)},77051,e=>{"use strict";var t=e.i(69948);let a={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};a.node;let r=(0,t.default)(a);e.s(["Clock",0,r],77051)}]);
|