@karan171996/metricflow 0.9.0 → 0.10.0
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/prerender-manifest.json +5 -33
- 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 +38 -43
- package/.next/server/app/_not-found.segments/_full.segment.rsc +38 -43
- package/.next/server/app/_not-found.segments/_index.segment.rsc +29 -34
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/analyze/route.js.nft.json +1 -1
- 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 +2 -1
- package/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/ai/route.js.nft.json +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 +39 -44
- package/.next/server/app/connect.segments/_full.segment.rsc +39 -44
- package/.next/server/app/connect.segments/_index.segment.rsc +29 -34
- package/.next/server/app/connect.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/connect.segments/connect/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +39 -44
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +39 -44
- package/.next/server/app/index.segments/_index.segment.rsc +29 -34
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- 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.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 +46 -57
- package/.next/server/app/performance.segments/_full.segment.rsc +46 -57
- package/.next/server/app/performance.segments/_index.segment.rsc +29 -34
- package/.next/server/app/performance.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/performance.segments/performance/__PAGE__.segment.rsc +11 -17
- 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/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 +40 -45
- package/.next/server/app/setup.segments/_full.segment.rsc +40 -45
- package/.next/server/app/setup.segments/_index.segment.rsc +29 -34
- package/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +7 -7
- 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/[root-of-the-server]__0fkj1-q._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0o2ceqr._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0pil1g6._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__17ksca-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1f_fo0j._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1naf7j4._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__1rx5s6r._.js +1 -1
- package/.next/server/chunks/_0j7t8f9._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__02c3m72._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1jr0qvs._.js +1 -1
- package/.next/server/chunks/ssr/_02_o-ya._.js +1 -1
- package/.next/server/chunks/ssr/_045bvlq._.js +1 -1
- package/.next/server/chunks/ssr/_0loqsig._.js +3 -0
- package/.next/server/chunks/ssr/_0un641_._.js +1 -1
- package/.next/server/chunks/ssr/_0x78uxx._.js +3 -0
- package/.next/server/chunks/ssr/_13m9nev._.js +1 -1
- package/.next/server/chunks/ssr/{_1n6rdd2._.js → _1e2kw7_._.js} +2 -2
- package/.next/server/chunks/ssr/_1my0v50._.js +3 -0
- package/.next/server/chunks/ssr/_1t-coe_._.js +151 -0
- package/.next/server/chunks/ssr/_1te3xjw._.js +3 -0
- package/.next/server/chunks/ssr/_1yayvr-._.js +3 -0
- package/.next/server/chunks/ssr/components_1_8btz1._.js +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/prefetch-hints.json +0 -14
- package/.next/static/chunks/04gu7yw10i4rc.js +1 -0
- package/.next/static/chunks/2a13xlyo2-he7.js +1 -0
- package/.next/static/chunks/{2ts5849lckpvw.js → 2gixnay4u3hoe.js} +1 -1
- package/.next/static/chunks/{036zzfotyi252.js → 2r1mqyk-y9ywu.js} +1 -1
- package/.next/static/chunks/2sh7680ti_qkv.js +1 -0
- package/.next/static/chunks/32qkw4q4c_gv1.css +1 -0
- package/.next/static/chunks/32w6d6b9f9xks.js +1 -0
- package/.next/static/chunks/3mkpnj4abn9jb.js +1 -0
- package/.next/static/chunks/3zxdkbf-vu5l4.js +1 -0
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/package.json +1 -1
- package/.next/server/app/settings.html +0 -2
- package/.next/server/app/settings.meta +0 -35
- package/.next/server/app/settings.rsc +0 -60
- package/.next/server/app/settings.segments/_full.segment.rsc +0 -60
- package/.next/server/app/settings.segments/_index.segment.rsc +0 -35
- package/.next/server/app/settings.segments/_tree.segment.rsc +0 -2
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +0 -43
- package/.next/server/chunks/[root-of-the-server]__18s35pf._.js +0 -3
- package/.next/server/chunks/ssr/_0_02db6._.js +0 -3
- package/.next/server/chunks/ssr/_0ompurr._.js +0 -7
- package/.next/server/chunks/ssr/_10-bhov._.js +0 -151
- package/.next/server/chunks/ssr/_19s4g71._.js +0 -3
- package/.next/static/chunks/18thq9ido-jej.js +0 -5
- package/.next/static/chunks/190rvtbj8tqbw.js +0 -1
- package/.next/static/chunks/1kqzgl2gb6ily.js +0 -1
- package/.next/static/chunks/2k0i-ii_d9i1v.js +0 -1
- package/.next/static/chunks/31od3fbrskb5_.js +0 -1
- package/.next/static/chunks/342os69xzg5nr.js +0 -1
- package/.next/static/chunks/41hd4j26grz8n.css +0 -1
- /package/.next/static/{tLjq-FpU0cC-ZxNdszo7D → xbaKdc39wmsvYFMLT0pcf}/_buildManifest.js +0 -0
- /package/.next/static/{tLjq-FpU0cC-ZxNdszo7D → xbaKdc39wmsvYFMLT0pcf}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{tLjq-FpU0cC-ZxNdszo7D → xbaKdc39wmsvYFMLT0pcf}/_ssgManifest.js +0 -0
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
1:"$Sreact.fragment"
|
|
2
|
-
2:I[11522,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"SidebarProvider"]
|
|
3
|
-
3:I[67097,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"AppSidebar"]
|
|
4
|
-
4:I[11522,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"SidebarInset"]
|
|
5
|
-
5:I[17792,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"Header"]
|
|
6
|
-
6:I[27341,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"Tabs"]
|
|
7
|
-
7:I[27341,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"TabsList"]
|
|
8
|
-
8:I[27341,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"TabsTrigger"]
|
|
9
|
-
9:I[27341,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"TabsContent"]
|
|
10
|
-
a:I[91153,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"default"]
|
|
11
|
-
b:I[3547,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],""]
|
|
12
|
-
14:X
|
|
13
|
-
19:X
|
|
14
|
-
19:C
|
|
15
|
-
0:{"buildId":"tLjq-FpU0cC-ZxNdszo7D","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"children":[["$","$L3",null,{}],["$","$L4",null,{"className":"bg-dash-surface","children":[["$","$L5",null,{}],["$","div",null,{"className":"flex flex-1 flex-col p-6 md:p-8 max-w-[1200px] mx-auto w-full","children":[["$","div",null,{"className":"mb-8","children":[["$","h1",null,{"className":"title-enter text-2xl font-bold text-white tracking-tight","children":"Settings"}],["$","p",null,{"className":"text-sm text-gray-400","children":"Manage your account, team, and dashboard preferences."}]]}],["$","$L6",null,{"defaultValue":"general","className":"w-full","children":[["$","$L7",null,{"className":"bg-[#0f1419] border border-[#2d3748] mb-8 p-1 h-auto","children":[["$","$L8",null,{"value":"general","className":"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400","children":"General & API"}],["$","$L8",null,{"value":"thresholds","className":"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400","children":"Performance Thresholds"}],["$","$L8",null,{"value":"team","className":"data-[state=active]:bg-[#1a202c] data-[state=active]:text-white text-gray-400","children":"Notifications & Team"}]]}],["$","$L9",null,{"value":"general","className":"space-y-6 mt-0","children":[["$","div",null,{"data-slot":"card","data-size":"default","className":"group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl 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 border-[#2d3748] bg-[#1a202c] shadow-md","children":[["$","div",null,{"data-slot":"card-header","className":"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)","children":[["$","div",null,{"data-slot":"card-title","className":"title-enter font-heading group-data-[size=sm]/card:text-sm text-[18px] font-bold text-white tracking-tight flex items-center gap-2","children":[["$","$La",null,{"icon":{"name":"key","size":24,"node":[["path",{"d":"m2 21 9.6-9.6","key":"9l79m3"}],["path",{"d":"m7.5 15.5 2.3 2.3a1 1 0 0 1 0 1.4l-2.1 2.1a1 1 0 0 1-1.4 0L4 19","key":"fw8biw"}],["circle",{"cx":"15.5","cy":"7.5","r":"5.5","key":"4wxmhb"}]]},"className":"h-5 w-5 text-gray-400"}],"API Keys"]}],["$","div",null,{"data-slot":"card-description","className":"text-sm text-gray-400","children":"Your New Relic and Sentry keys are stored in .env.local on this machine and are never shown here."}]]}],["$","div",null,{"data-slot":"card-content","className":"px-(--card-spacing)","children":["$","$Lb",null,{"href":"/setup","className":"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 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 h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2","children":"Manage keys"}]}]]}],"$Lc"]}],"$Ld","$Le"]}]]}]]}]]}],["$Lf","$L10","$L11"],"$L12"]}],"isPartial":"$@13","staleTime":"$14","varyParams":null},{"rsc":"$L15","isPartial":"$@16","staleTime":"$14","varyParams":null},{"rsc":"$L17","isPartial":"$@18","staleTime":"$14","varyParams":"$19"}],"isUpgradeableISRFallback":false,"a":"$@1a","rootVaryParams":null,"needsRuntimeRequest":"$@1b"}
|
|
16
|
-
1c:I[84007,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"ExportSettings"]
|
|
17
|
-
1d:I[99802,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"ThresholdSettings"]
|
|
18
|
-
1e:I[82952,["/_next/static/chunks/2dpz7gbtyu5go.js","/_next/static/chunks/036zzfotyi252.js","/_next/static/chunks/2k0i-ii_d9i1v.js","/_next/static/chunks/2ts5849lckpvw.js"],"NotificationPrefs"]
|
|
19
|
-
1f:I[43120,["/_next/static/chunks/2dpz7gbtyu5go.js"],"OutletBoundary"]
|
|
20
|
-
20:"$Sreact.suspense"
|
|
21
|
-
22:I[43120,["/_next/static/chunks/2dpz7gbtyu5go.js"],"ViewportBoundary"]
|
|
22
|
-
23:I[43120,["/_next/static/chunks/2dpz7gbtyu5go.js"],"MetadataBoundary"]
|
|
23
|
-
24:I[27499,["/_next/static/chunks/2dpz7gbtyu5go.js"],"IconMark"]
|
|
24
|
-
25:I[46495,["/_next/static/chunks/2dpz7gbtyu5go.js"],"LoadingBoundaryProvider"]
|
|
25
|
-
26:I[46495,["/_next/static/chunks/2dpz7gbtyu5go.js"],"default"]
|
|
26
|
-
27:I[90434,["/_next/static/chunks/2dpz7gbtyu5go.js"],"default"]
|
|
27
|
-
c:["$","$L1c",null,{}]
|
|
28
|
-
d:["$","$L9",null,{"value":"thresholds","className":"mt-0","children":["$","$L1d",null,{}]}]
|
|
29
|
-
e:["$","$L9",null,{"value":"team","className":"space-y-6 mt-0","children":["$","$L1e",null,{}]}]
|
|
30
|
-
f:["$","script","script-0",{"src":"/_next/static/chunks/036zzfotyi252.js","async":true}]
|
|
31
|
-
10:["$","script","script-1",{"src":"/_next/static/chunks/2k0i-ii_d9i1v.js","async":true}]
|
|
32
|
-
11:["$","script","script-2",{"src":"/_next/static/chunks/2ts5849lckpvw.js","async":true}]
|
|
33
|
-
12:["$","$L1f",null,{"children":["$","$20",null,{"name":"Next.MetadataOutlet","children":"$@21"}]}]
|
|
34
|
-
15:["$","$1","h",{"children":[null,["$","$L22",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L23",null,{"children":["$","$20",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"MetricFlow"}],["$","meta","1",{"name":"description","content":"Local performance dashboard for your site: New Relic metrics and Sentry errors per page."}],["$","link","2",{"rel":"icon","href":"/icon.svg?icon.23mz8iwcatff2.svg","sizes":"any","type":"image/svg+xml"}],["$","$L24","3",{}]]}]}]}],null]}]
|
|
35
|
-
17:["$","$L25",null,{"loading":[["$","$L2","l",{"children":[["$","$L3",null,{}],["$","$L4",null,{"className":"bg-dash-surface","children":[["$","div",null,{"className":"fixed top-0 left-0 right-0 z-50 h-[3px]","children":["$","div",null,{"className":"h-full bg-gradient-to-r from-[#3ee0a1] via-[#06b6d4] to-[#8b5cf6] animate-[shimmer_1.5s_ease-in-out_infinite] bg-[length:200%_100%]"}]}],["$","$L5",null,{}],["$","div",null,{"className":"flex flex-1 flex-col p-6 md:p-8 max-w-[1200px] mx-auto w-full","children":[["$","div",null,{"className":"mb-8 space-y-2","children":[["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-8 w-32 rounded-md bg-[#2d3748]"}],["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-4 w-64 rounded-full bg-[#2d3748]"}]]}],["$","div",null,{"className":"flex gap-2 mb-8","children":[["$","div","0",{"data-slot":"skeleton","className":"animate-pulse h-9 rounded-md bg-[#2d3748]","style":{"width":120}}],["$","div","1",{"data-slot":"skeleton","className":"animate-pulse h-9 rounded-md bg-[#2d3748]","style":{"width":180}}],["$","div","2",{"data-slot":"skeleton","className":"animate-pulse h-9 rounded-md bg-[#2d3748]","style":{"width":160}}]]}],["$","div",null,{"className":"space-y-6","children":[["$","div",null,{"className":"rounded-xl border border-[#2d3748] bg-[#1a202c] p-6 space-y-4","children":[["$","div",null,{"className":"flex items-center gap-2","children":[["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-5 w-5 rounded-full bg-[#2d3748]"}],["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-5 w-40 rounded-md bg-[#2d3748]"}]]}],["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-3 w-64 rounded-full bg-[#2d3748]"}],["$","div",null,{"className":"space-y-3 pt-2","children":[["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-10 w-full max-w-md rounded-lg bg-[#2d3748]"}],["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-9 w-32 rounded-lg bg-[#2d3748]"}]]}]]}],["$","div",null,{"className":"rounded-xl border border-[#2d3748] bg-[#1a202c] p-6 space-y-4","children":[["$","div",null,{"className":"flex items-center gap-2","children":[["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-5 w-5 rounded-full bg-[#2d3748]"}],["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-5 w-40 rounded-md bg-[#2d3748]"}]]}],["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-3 w-64 rounded-full bg-[#2d3748]"}],["$","div",null,{"className":"space-y-3 pt-2","children":[["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-10 w-full max-w-md rounded-lg bg-[#2d3748]"}],["$","div",null,{"data-slot":"skeleton","className":"animate-pulse h-9 w-32 rounded-lg bg-[#2d3748]"}]]}]]}]]}]]}]]}]]}],[],[["$","script","script-0",{"src":"/_next/static/chunks/1habrj18124lo.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/2k0i-ii_d9i1v.js","async":true}]]],"children":["$","$1","c",{"children":[null,["$","$L26",null,{"parallelRouterKey":"children","template":["$","$L27",null,{}]}]]}]}]
|
|
36
|
-
1b:true
|
|
37
|
-
21:null
|
|
38
|
-
14:300
|
|
39
|
-
14:C
|
|
40
|
-
1a:0
|
|
41
|
-
16:"$undefined"
|
|
42
|
-
18:"$undefined"
|
|
43
|
-
13:"$undefined"
|
|
@@ -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 s={loadSeconds:1.5,errorPercent:2,apdexMin:.9,uptimeSLA:99.9},o=()=>process.env.METRICFLOW_SETTINGS_FILE||(0,r.join)((0,a.projectDir)(),".metricflow-settings.json"),i={loadSeconds:[.1,30],errorPercent:[.1,100],apdexMin:[0,1],uptimeSLA:[90,100]};function l(){try{return{...s,...JSON.parse((0,t.readFileSync)(o(),"utf8"))}}catch{return s}}async function c(){return Response.json(l())}async function d(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=(0,n.requireJson)(e);if(a)return a;let s=l();for(let[e,[t,n]]of Object.entries(i)){if(void 0===r[e])continue;let a=r[e];if("number"!=typeof a||!Number.isFinite(a)||a<t||a>n)return Response.json({error:`${e} must be a number between ${t} and ${n}.`},{status:400});s[e]=a}try{let e=`${o()}.tmp`;(0,t.writeFileSync)(e,JSON.stringify(s,null,2)),(0,t.renameSync)(e,o())}catch{return Response.json({error:"Settings could not be written. Check folder permissions."},{status:500})}return Response.json(s)}e.s(["GET",0,c,"PUT",0,d],60780)},30229,e=>{"use strict";var t=e.i(12425),r=e.i(83353),n=e.i(47902),a=e.i(37892),s=e.i(54261),o=e.i(39548),i=e.i(68187),l=e.i(63984),c=e.i(88743),d=e.i(24698),u=e.i(13487),p=e.i(48776),h=e.i(29398),f=e.i(31610),R=e.i(45919),v=e.i(93695),m=e.i(12741);e.i(95315);var E=e.i(98732);let y=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:g,workUnitAsyncStorage:w,serverHooks:x}=y;async function b(e,t,n){n.requestMeta&&(0,a.setRequestMeta)(e,n.requestMeta),y.isDev&&(0,a.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/settings/route";g=g.replace(/\/index$/,"")||"/";let w=await y.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:x,deploymentId:b,params:S,nextConfig:C,parsedUrl:T,isDraftMode:_,prerenderManifest:A,routerServerContext:N,isOnDemandRevalidate:I,revalidateOnlyGenerated:O,resolvedPathname:k,clientReferenceManifest:P,serverActionsManifest:j}=w,L=(0,i.normalizeAppPath)(g),M=!!A.routes[k]&&(y.isDev||(0,m.isRouteCacheOwner)(k,y.cacheOwner,A.routes[k])),q=!!(A.dynamicRoutes[L]||M),D=async()=>((null==N?void 0:N.render404)?await N.render404(e,t,T,!1):t.end("This page could not be found"),null);if(q&&!_){let e=A.dynamicRoutes[L];if(e&&!1===e.fallback&&!M){if(C.adapterPath)return await D();throw new v.NoFallbackError}}let F=null;!q||y.isDev||_||(F="/index"===(F=k)?"/":F);let $=!0===y.isDev||!q,U=q&&!$;j&&P&&(0,o.setManifestsSingleton)({page:g,clientReferenceManifest:P,serverActionsManifest:j});let K=e.method||"GET",H=(0,s.getTracer)(),W=H.getActiveScopeSpan(),Y=!!(null==N?void 0:N.isWrappedByNextServer),G=!!(0,a.getRequestMeta)(e,"minimalMode"),B=(0,a.getRequestMeta)(e,"incrementalCache")||await y.getIncrementalCache(e,C,A,G);null==B||B.resetRequestCache(),globalThis.__incrementalCache=B;let V={params:S,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!C.experimental.authInterrupts,useCacheTimeout:C.experimental.useCacheTimeout},cacheComponents:!!C.cacheComponents,validationLevel:C.experimental.instantInsights.validationLevel,isDraftMode:_,supportsDynamicResponse:$,incrementalCache:B,hmrRefreshHash:(0,a.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:C.cacheLife,staticPageGenerationTimeout:C.staticPageGenerationTimeout,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n,a)=>y.onRequestError(e,t,n,a,N)},sharedContext:{buildId:x,deploymentId:b}},z=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),J=c.NextRequestAdapter.fromNodeNextRequest(z,(0,c.signalFromNodeResponse)(t)),Z=async({previousCacheEntry:r})=>{try{if(!G&&I&&O&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let a=await y.handle(J,V);e.fetchMetrics=V.renderOpts.fetchMetrics;let s=V.renderOpts.pendingWaitUntil;s&&n.waitUntil&&(n.waitUntil(s),s=void 0);let o=V.renderOpts.collectedTags;if(!q)return await (0,p.sendResponse)(z,X,a,s),null;{let e=await a.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(a.headers);o&&(t[R.NEXT_CACHE_TAGS_HEADER]=o),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=R.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,n=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=R.INFINITE_CACHE?!1!==r&&r>0?C.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:E.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 y.onRequestError(e,t,{routerKind:"App Router",routePath:g,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:I})},!1,N),t}},Q=async(a,o)=>{try{var i,l;let a=await y.handleResponse({req:e,nextConfig:C,cacheKey:F,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:I,revalidateOnlyGenerated:O,responseGenerator:Z,waitUntil:n.waitUntil,isMinimalMode:G});if(!q)return;if((null==a||null==(i=a.value)?void 0:i.kind)!==E.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",I?"REVALIDATED":a.isMiss?"MISS":a.isStale?"STALE":"HIT"),_&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let s=(0,h.fromNodeOutgoingHttpHeaders)(a.value.headers);G&&q||s.delete(R.NEXT_CACHE_TAGS_HEADER),!a.cacheControl||t.getHeader("Cache-Control")||s.get("Cache-Control")||s.set("Cache-Control",(0,f.getCacheControlHeader)(a.cacheControl)),await (0,p.sendResponse)(z,X,new Response(a.value.body,{headers:s,status:a.value.status||200}));return}catch(t){if(t instanceof v.NoFallbackError||await y.onRequestError(e,t,{routerKind:"App Router",routePath:L,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:U,isOnDemandRevalidate:I})},!1,N),q)throw t;await (0,p.sendResponse)(z,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:s.SpanStatusCode.ERROR}),a.setAttribute("error.type",e.toString()));let r=H.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==d.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")||L,i=`${K} ${n}`;a.setAttributes({"next.route":n,"http.route":n,"next.span_name":i}),a.updateName(i),o&&o!==a&&(o.setAttribute("http.route",n),o.updateName(i))})()}};if(Y&&W)await Q(W,void 0);else{let t=H.getActiveScopeSpan();await H.withPropagatedContext(e.headers,()=>H.trace(d.BaseServerSpan.handleRequest,{spanName:`${K} ${g}`,kind:s.SpanKind.SERVER,attributes:{"http.method":K,"http.target":e.url}},e=>Q(e,t)),void 0,!Y)}}e.s(["handler",0,b,"patchFetch",0,function(){return(0,n.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:w})},"routeModule",0,y,"serverHooks",0,x,"workAsyncStorage",0,g,"workUnitAsyncStorage",0,w])},12892,67119,e=>{"use strict";var t=e.i(2157),r=e.i(50227),n=e.i(39151),a=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,n.forwardRef)(({className:e,...t},r)=>(0,n.createElement)(a.default,{ref:r,icon:i,className:e,...t}));return i.name&&(l.displayName=(o=(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()+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 c=s(l);function d(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 u=["pages","traffic","loadTime","apdex","vitals","ajax","errorRate","errors"],p=e=>e.length?e.reduce((e,t)=>e+t,0)/e.length:0,h=e=>void 0===e?"—":d(e),f=e=>e.byTool?.sentry?.errors??(e.sentry&&{count:e.sentry.errorCount,latest:e.sentry.latestErrors}),R=e=>f(e)?.count??0,v={"new-relic":{label:"New Relic",icon:i,description:"Real-user performance per page: load time, Core Web Vitals, throughput and Apdex.",connectReason:"Add your New Relic keys to see load time and Core Web Vitals for each page.",setupNote:"The key that sends events (Ingest - License) is separate and is added later on the Connect page.",keys:{required:["NEWRELIC_API_KEY","NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID"],optional:["NEWRELIC_INSERT_KEY"],derived:["NEWRELIC_REGION"]},capabilities:["pages","traffic","loadTime","apdex","vitals","ajax","errorRate"],stats:e=>[{label:"Avg Load Time",value:d(p(e.map(e=>e.newRelic.loadTime)))},{label:"Avg LCP",value:d(p(e.map(e=>e.newRelic.lcp)))},{label:"Avg TTFB",value:d(p(e.map(e=>e.newRelic.ttfb)))},{label:"Avg Apdex",value:p(e.map(e=>e.newRelic.apdexScore)).toFixed(2)}],columns:[{needs:"loadTime",header:"Load",cell:e=>d(e.newRelic.loadTime)},{needs:"vitals",header:"LCP",cell:e=>d(e.newRelic.lcp)},{needs:"vitals",header:"TTFB",cell:e=>d(e.newRelic.ttfb)},{needs:"vitals",header:"CLS",cell:e=>e.newRelic.cls.toFixed(2)},{needs:"vitals",header:"INP",cell:e=>{let t=e.newRelic.inp;return void 0===t?"—":d(t)}},{needs:"errorRate",header:"Error Rate",cell:e=>`${e.newRelic.errorRate.toFixed(2)}%`},{needs:"traffic",header:"Throughput",cell:e=>e.newRelic.throughput.toLocaleString()},{needs:"apdex",header:"Apdex",cell:e=>e.newRelic.apdexScore.toFixed(2)}]},sentry:{label:"Sentry",icon:c,description:"Errors per page over the last 24 hours, with page loads and web vitals when your site sends traces.",connectReason:"Add your Sentry keys to see the errors on each page.",keys:{required:["SENTRY_API_KEY","SENTRY_DSN"],optional:[]},capabilities:["pages","traffic","vitals","errors"],stats:e=>{let t=e.reduce((e,t)=>R(t)>(e?R(e):0)?t:e,null);return[{label:"Total Errors",value:String(e.map(R).reduce((e,t)=>e+t,0))},{label:"Pages With Errors",value:`${e.filter(e=>R(e)>0).length} of ${e.length}`},{label:"Noisiest Page",value:t?.name??"None"}]},columns:[{needs:"errors",header:"Errors",cell:e=>String(R(e))},{needs:"errors",header:"Latest Error",cell:e=>f(e)?.latest[0]?.title??"—"},{needs:"errors",header:"Last Seen",cell:e=>{let t=Date.parse(f(e)?.latest[0]?.lastSeen??"");return Number.isNaN(t)?"—":new Date(t).toLocaleString()}},{needs:"traffic",header:"Page loads (sampled)",cell:e=>e.byTool?.sentry?.traffic?.count.toLocaleString()??"—"},{needs:"vitals",header:"LCP",cell:e=>h(e.byTool?.sentry?.vitals?.lcp)},{needs:"vitals",header:"TTFB",cell:e=>h(e.byTool?.sentry?.vitals?.ttfb)},{needs:"vitals",header:"CLS",cell:e=>e.byTool?.sentry?.vitals?.cls?.toFixed(2)??"—"},{needs:"vitals",header:"INP",cell:e=>h(e.byTool?.sentry?.vitals?.inp)}]}},m=Object.fromEntries(Object.entries({NEWRELIC_API_KEY:{label:"New Relic User API key",secret:!0,help:'READS your data (starts NRAK-). Create it under API keys > key type "User".'},NEXT_PUBLIC_NEWRELIC_ACCOUNT_ID:{label:"New Relic account ID",secret:!1,help:"A plain number, shown next to your keys in New Relic."},SENTRY_API_KEY:{label:"Sentry auth token",secret:!0,help:"Lets the dashboard read issues (scopes: project:read, event:read)."},SENTRY_DSN:{label:"Sentry DSN",secret:!1,help:"Project settings, then Client Keys (DSN). The project and host are read from it."}}).map(([e,t])=>[e,t.label])),E=Object.keys(v);e.s(["KEY_LABELS",0,m,"TOOLS",0,v,"TOOL_IDS",0,E,"mergeMetrics",0,function(e,t,r){let n={};for(let[a,s]of Object.entries(t)){let t=r.includes(s)?void 0:e[s]?.[a];void 0!==t&&(n[a]=t)}return n},"sourcesFor",0,function(e){let t={};for(let r of u){let n=E.find(t=>e.includes(t)&&v[t].capabilities.includes(r));n&&(t[r]=n)}return t}],67119);let y=E.flatMap(e=>v[e].keys.required),g="NEWRELIC_REGION",w={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"}},b="AI_PROVIDER";function S(e){return process.env[e]??""}let C=e=>v[e].keys.required.every(e=>S(e));function T(){return process.env.METRICFLOW_PROJECT_DIR||process.cwd()}let _=/[\s\0#"'`\\$]/;class A extends Error{}e.s(["AI_PROVIDERS",0,x,"AI_PROVIDER_KEY",0,b,"EnvWriteRefused",0,A,"INSERT_KEY",0,"NEWRELIC_INSERT_KEY","REGION_KEY",0,g,"SETUP_KEYS",0,y,"UNSAFE",0,_,"activeAi",0,function(){let e=process.env[b];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,()=>E.filter(C),"env",0,S,"isToolConnected",0,C,"nrHosts",0,(e="eu"===process.env[g]?"eu":"us")=>w[e],"projectDir",0,T,"writeEnvLocal",0,function(e,n=process.env.METRICFLOW_ENV_FILE||(0,r.join)(T(),".env.local")){let a=new Set([...Object.values(v).flatMap(e=>[...e.keys.required,...e.keys.optional,...e.keys.derived??[]]),...Object.values(x).map(e=>e.key),b]);for(let[t,r]of Object.entries(e)){if(!a.has(t))throw new A("Refused to write a key name no tool declares.");if(_.test(r))throw new A("Refused to write a value with unsafe characters.")}let s=(0,t.existsSync)(n)?(0,t.readFileSync)(n,"utf8").split("\n"):[],o=new Map(Object.entries(e)),i=s.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(;i.length&&""===i[i.length-1];)i.pop();for(let[e,t]of o)i.push(`${e}=${t}`);let l=`${n}.tmp`;for(let[r,a]of((0,t.writeFileSync)(l,i.join("\n")+"\n",{mode:384}),(0,t.renameSync)(l,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,"")))||"cross-site"===e.headers.get("sec-fetch-site"))return!1;let a=(e.headers.get("host")??"").replace(/:\d+$/,"");if(!t.has(a))return!1;let s=e.headers.get("origin");try{return!s||t.has(new URL(s).hostname)}catch{return!1}},"requireJson",0,function(e){return/^application\/json\s*(;|$)/i.test(e.headers.get("content-type")??"")?null:Response.json({error:"Send the request as application/json."},{status:415})}])},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__18s35pf._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[92994,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(3130),e=a.i(40695);a.s(["EmptyState",0,function({title:a="No data yet",reason:f="Keys work, but no page events have arrived.",href:g="/connect",cta:h="Send your first events",onRetry:i}){return(0,b.jsx)(d.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(d.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:f}),(0,b.jsxs)("div",{className:"flex gap-3",children:[(0,b.jsx)(c.default,{href:g,className:(0,e.buttonVariants)(),children:h}),i&&(0,b.jsx)(e.Button,{variant:"outline",onClick:i,children:"Retry"})]})]})})}])},13392,a=>{"use strict";var b=a.i(47350),c=a.i(53840),d=a.i(88237),e=a.i(3130),f=a.i(50463),g=a.i(92994),h=a.i(62191),i=a.i(93673);a.s(["ToolInsights",0,function({tool:a}){let{state:j,retry:k}=(0,h.useMetrics)(),l=(0,c.useRouter)(),{label:m,stats:n}=i.TOOLS[a],o=(0,i.toolColumns)(a);if("loading"===j.status)return(0,b.jsx)(f.Skeleton,{className:"mt-6 h-64 w-full bg-[#2d3748]"});if("error"===j.status)return(0,b.jsx)(g.EmptyState,{title:"Could not load metrics",reason:j.message,onRetry:k});if(!j.configured)return(0,b.jsx)(g.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(j.failed.includes(a))return(0,b.jsx)(g.EmptyState,{title:`Could not load ${m} data`,reason:"The request failed. Your other data is unaffected.",onRetry:k});let p=j.pages.filter(h.hasData);return p.length?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-4 mb-8 mt-4",children:n(p).map(a=>(0,b.jsx)(e.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(e.CardContent,{className:"p-6",children:[(0,b.jsx)("span",{className:"text-sm font-medium text-gray-400",children:a.label}),(0,b.jsx)("div",{className:"mt-4 truncate text-3xl font-bold text-white tracking-tight",children:a.value})]})},a.label))}),(0,b.jsxs)(e.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md flex-1",children:[(0,b.jsx)(e.CardHeader,{children:(0,b.jsxs)(e.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight",children:[m," by Page"]})}),(0,b.jsx)(e.CardContent,{children:(0,b.jsx)("div",{className:"rounded-md border border-[#2d3748] overflow-hidden",children:(0,b.jsxs)(d.Table,{children:[(0,b.jsx)(d.TableHeader,{className:"bg-[#0f1419]",children:(0,b.jsxs)(d.TableRow,{className:"border-[#2d3748] hover:bg-transparent",children:[(0,b.jsx)(d.TableHead,{className:"text-gray-400",children:"Page Name"}),(0,b.jsx)(d.TableHead,{className:"text-gray-400",children:"Path"}),o.map(a=>(0,b.jsx)(d.TableHead,{className:"text-gray-400",children:a.header},a.header))]})}),(0,b.jsx)(d.TableBody,{children:j.pages.map(a=>(0,b.jsxs)(d.TableRow,{className:"border-[#2d3748] hover:bg-white/5 transition-colors cursor-pointer",onClick:()=>l.push(`/performance/${a.slug}`),children:[(0,b.jsx)(d.TableCell,{className:"font-medium text-white",children:a.name}),(0,b.jsx)(d.TableCell,{className:"text-gray-500 font-mono text-xs",children:a.url}),o.map(c=>(0,b.jsx)(d.TableCell,{className:"max-w-[320px] truncate text-gray-400",children:(0,h.hasData)(a)?c.cell(a):"—"},c.header))]},a.slug))})]})})})]})]}):(0,b.jsx)(g.EmptyState,{})}])},3130,a=>{"use strict";var b=a.i(47350),c=a.i(85198);a.s(["Card",0,function({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.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",a),...e})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-(--card-spacing)",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.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)",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",a),...d})}])},88237,a=>{"use strict";var b=a.i(47350),c=a.i(85198);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},39848,a=>{"use strict";var b=a.i(75086);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d={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"},e=(0,b.createContext)({}),f=(0,b.forwardRef)(({color:a,size:f,width:g,height:h,strokeWidth:i,absoluteStrokeWidth:j,nonScalingStroke:k,className:l="",children:m,iconNode:n=[],icon:o={node:n,aliases:[],size:24},...p},q)=>{let{size:r=24,strokeWidth:s=2,absoluteStrokeWidth:t=!1,nonScalingStroke:u=!1,color:v="currentColor",className:w=""}=(0,b.useContext)(e)??{},x=!!m||(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(p),[y,z,A=[]]=function(a,b={}){return function(a,b={}){let e=b.attributeNames??{},f=a=>e[a]??a,g=a.size??a.width??d.width,h=a.size??a.height??d.height,i=a.aliases?.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>`lucide-${a}`)??[],j=[...a.name?[`lucide-${a.name}`]:[],...i],k=b.className?.split(" ").filter(Boolean)??[],l=!1===b.includeDefaultClasses?c(...k):c("lucide",...j,...k),m=b.absoluteStrokeWidth?Number(b.strokeWidth??d["stroke-width"])*Number(a.size??a.width??d.width)/Number(b.size??b.width??d.width):b.strokeWidth??d["stroke-width"];return["svg",{...Object.entries(d).reduce((a,[b,c])=>(a[f(b)]=c,a),{}),..."color"in b&&b.color&&{[f("stroke")]:b.color},..."size"in b&&null!=b.size&&{[f("width")]:b.size,[f("height")]:b.size},..."width"in b&&null!=b.width&&{[f("width")]:b.width},..."height"in b&&null!=b.height&&{[f("height")]:b.height},[f("stroke-width")]:m,...l&&{[f("class")]:l},[f("viewBox")]:`0 0 ${g} ${h}`,...!1===b.hasA11yProp?{[f("aria-hidden")]:"true"}:{},..."attributes"in b&&b.attributes},a.node.map(a=>{let[c,d,e]=a,g=b.nonScalingStroke?{[f("vector-effect")]:"non-scaling-stroke",...d}:d;return e?[c,g,e]:[c,g]})]}(a,{...b,attributeNames:{...b.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(o,{color:a??v,width:g??f??r,height:h??f??r,strokeWidth:i??s,absoluteStrokeWidth:j??t,nonScalingStroke:k??u,className:c(w,l),hasA11yProp:x,attributes:p});return(0,b.createElement)(y,{ref:q,...z},[...A.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(m)?m:[m]])});a.s(["default",0,f],39848)},23904,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20635),g=a.r(56704),h=a.r(32319);("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)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_0_02db6._.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
module.exports=[92994,a=>{"use strict";var b=a.i(47350),c=a.i(56561),d=a.i(3130),e=a.i(40695);a.s(["EmptyState",0,function({title:a="No data yet",reason:f="Keys work, but no page events have arrived.",href:g="/connect",cta:h="Send your first events",onRetry:i}){return(0,b.jsx)(d.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(d.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:f}),(0,b.jsxs)("div",{className:"flex gap-3",children:[(0,b.jsx)(c.default,{href:g,className:(0,e.buttonVariants)(),children:h}),i&&(0,b.jsx)(e.Button,{variant:"outline",onClick:i,children:"Retry"})]})]})})}])},77083,a=>{"use strict";var b=a.i(47350),c=a.i(3130),d=a.i(98485);let e={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"}]]};e.node;let f=(0,d.default)(e);var g=a.i(88595),h=a.i(78021),i=a.i(62191),j=a.i(77790);a.s(["HubMetrics",0,function({pages:a,has:d}){let e=a.filter(i.hasData),k=e.length?e.reduce((a,b)=>a+(b.metrics.loadTime??0),0)/e.length:null,l=a.reduce((a,b)=>a+(b.metrics.errors?.count??0),0),m=[{needs:"pages",label:"Pages Reporting",value:`${e.length} of ${a.length}`,icon:(0,b.jsx)(f,{className:"h-4 w-4 text-[#3ee0a1]"})},{needs:"loadTime",label:"Avg Load Time",value:null===k?"No data yet":(0,j.formatDuration)(k),icon:(0,b.jsx)(g.Clock,{className:"h-4 w-4 text-[#06b6d4]"})},{needs:"errors",label:"Open Errors",value:e.length||l?String(l):"No data yet",icon:(0,b.jsx)(h.AlertTriangle,{className:"h-4 w-4 text-[#ef4444]"})}].filter(a=>d(a.needs));return(0,b.jsx)("div",{className:`grid gap-6 mb-8 mt-4 ${3===m.length?"md:grid-cols-3":"md:grid-cols-2"}`,children:m.map((a,d)=>(0,b.jsx)(c.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md",children:(0,b.jsxs)(c.CardContent,{className:"p-6",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,b.jsx)("span",{className:"text-sm font-medium text-gray-400",children:a.label}),(0,b.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#0f1419] border border-[#2d3748]",children:a.icon})]}),(0,b.jsx)("div",{className:"flex items-baseline gap-3",children:(0,b.jsx)("span",{className:"text-3xl font-bold text-white tracking-tight",children:a.value})})]})},d))})}],77083)},28185,a=>{"use strict";var b=a.i(47350),c=a.i(53840),d=a.i(88237),e=a.i(3130),f=a.i(54161),g=a.i(62191),h=a.i(85608),i=a.i(77790);a.s(["HubTable",0,function({pages:a,has:j}){let k=(0,c.useRouter)(),l=a.some(a=>a.status);return(0,b.jsxs)(e.Card,{className:"border-[#2d3748] bg-[#1a202c] shadow-md flex-1",children:[(0,b.jsx)(e.CardHeader,{children:(0,b.jsx)(e.CardTitle,{className:"text-[18px] font-bold text-white tracking-tight",children:"Tracked Pages Overview"})}),(0,b.jsx)(e.CardContent,{children:(0,b.jsx)("div",{className:"rounded-md border border-[#2d3748] overflow-hidden",children:(0,b.jsxs)(d.Table,{children:[(0,b.jsx)(d.TableHeader,{className:"bg-[#0f1419]",children:(0,b.jsxs)(d.TableRow,{className:"border-[#2d3748] hover:bg-transparent",children:[(0,b.jsx)(d.TableHead,{className:"text-gray-400",children:"Page Name"}),(0,b.jsx)(d.TableHead,{className:"text-gray-400",children:"Path"}),j("traffic")&&(0,b.jsx)(d.TableHead,{className:"text-gray-400",children:(0,h.isSampled)(a)?"Page loads (sampled)":"Visitors (24h)"}),j("loadTime")&&(0,b.jsx)(d.TableHead,{className:"text-gray-400",children:"Avg Load"}),j("errors")&&(0,b.jsx)(d.TableHead,{className:"text-gray-400",children:"Errors"}),l&&(0,b.jsx)(d.TableHead,{className:"text-right text-gray-400",children:"Status"})]})}),(0,b.jsx)(d.TableBody,{children:a.map(a=>{let c=(0,g.hasData)(a);return(0,b.jsxs)(d.TableRow,{className:"border-[#2d3748] hover:bg-white/5 transition-colors cursor-pointer",onClick:()=>k.push(`/performance/${a.slug}`),children:[(0,b.jsx)(d.TableCell,{className:"font-medium text-white",children:a.name}),(0,b.jsx)(d.TableCell,{className:"text-gray-500 font-mono text-xs",children:a.url}),j("traffic")&&(0,b.jsx)(d.TableCell,{className:"text-gray-400",children:c&&a.metrics.traffic?a.visitors:"—"}),j("loadTime")&&(0,b.jsx)(d.TableCell,{className:"text-gray-400",children:c&&void 0!==a.metrics.loadTime?(0,i.formatDuration)(a.metrics.loadTime):"—"}),j("errors")&&(0,b.jsx)(d.TableCell,{className:"text-gray-400",children:c?a.metrics.errors?.count:"—"}),l&&(0,b.jsx)(d.TableCell,{className:"text-right",children:c?(0,b.jsx)(f.Badge,{variant:"outline",className:`
|
|
2
|
-
${"Healthy"===a.status?"border-[#3ee0a1] text-[#3ee0a1] bg-[#3ee0a1]/10":""}
|
|
3
|
-
${"Warning"===a.status?"border-[#f59e0b] text-[#f59e0b] bg-[#f59e0b]/10":""}
|
|
4
|
-
${"Critical"===a.status?"border-[#ef4444] text-[#ef4444] bg-[#ef4444]/10":""}
|
|
5
|
-
`,children:a.status}):(0,b.jsx)(f.Badge,{variant:"outline",className:"border-[#4a5568] text-gray-400",children:"No data yet"})})]},a.slug)})})]})})})]})}])},48097,a=>{"use strict";var b=a.i(47350),c=a.i(92994),d=a.i(50463),e=a.i(62191),f=a.i(77083),g=a.i(28185);a.s(["PerformanceHub",0,function(){let{state:a,retry:h}=(0,e.useMetrics)();if("loading"===a.status)return(0,b.jsx)(d.Skeleton,{className:"mt-6 h-64 w-full bg-[#2d3748]"});if("error"===a.status)return(0,b.jsx)(c.EmptyState,{title:"Could not load metrics",reason:a.message,onRetry:h});if(!a.configured)return(0,b.jsx)(c.EmptyState,{title:"Connect your data",reason:"Add your New Relic or Sentry keys to see real numbers.",href:"/setup",cta:"Set up keys"});if(!a.pages.length||!a.pages.some(e.hasData))return(0,b.jsx)(c.EmptyState,{});let i=b=>(0,e.provides)(a,b);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(f.HubMetrics,{pages:a.pages,has:i}),(0,b.jsx)(g.HubTable,{pages:a.pages,has:i})]})}])},54161,a=>{"use strict";var b=a.i(18915),c=a.i(68228),d=a.i(42261),e=a.i(85198);let f=(0,d.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"}});a.s(["Badge",0,function({className:a,variant:d="default",render:g,...h}){return(0,c.useRender)({defaultTagName:"span",props:(0,b.mergeProps)({className:(0,e.cn)(f({variant:d}),a)},h),render:g,state:{slot:"badge",variant:d}})}])},3130,a=>{"use strict";var b=a.i(47350),c=a.i(85198);a.s(["Card",0,function({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.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",a),...e})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-(--card-spacing)",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.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)",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("title-enter font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",a),...d})}])},88237,a=>{"use strict";var b=a.i(47350),c=a.i(85198);a.s(["Table",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,b.jsx)("table",{"data-slot":"table",className:(0,c.cn)("w-full caption-bottom text-sm",a),...d})})},"TableBody",0,function({className:a,...d}){return(0,b.jsx)("tbody",{"data-slot":"table-body",className:(0,c.cn)("[&_tr:last-child]:border-0",a),...d})},"TableCell",0,function({className:a,...d}){return(0,b.jsx)("td",{"data-slot":"table-cell",className:(0,c.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",a),...d})},"TableHead",0,function({className:a,...d}){return(0,b.jsx)("th",{"data-slot":"table-head",className:(0,c.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",a),...d})},"TableHeader",0,function({className:a,...d}){return(0,b.jsx)("thead",{"data-slot":"table-header",className:(0,c.cn)("[&_tr]:border-b",a),...d})},"TableRow",0,function({className:a,...d}){return(0,b.jsx)("tr",{"data-slot":"table-row",className:(0,c.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",a),...d})}])},39848,a=>{"use strict";var b=a.i(75086);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d={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"},e=(0,b.createContext)({}),f=(0,b.forwardRef)(({color:a,size:f,width:g,height:h,strokeWidth:i,absoluteStrokeWidth:j,nonScalingStroke:k,className:l="",children:m,iconNode:n=[],icon:o={node:n,aliases:[],size:24},...p},q)=>{let{size:r=24,strokeWidth:s=2,absoluteStrokeWidth:t=!1,nonScalingStroke:u=!1,color:v="currentColor",className:w=""}=(0,b.useContext)(e)??{},x=!!m||(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(p),[y,z,A=[]]=function(a,b={}){return function(a,b={}){let e=b.attributeNames??{},f=a=>e[a]??a,g=a.size??a.width??d.width,h=a.size??a.height??d.height,i=a.aliases?.filter(a=>"string"==typeof a&&""!==a.trim()).map(a=>`lucide-${a}`)??[],j=[...a.name?[`lucide-${a.name}`]:[],...i],k=b.className?.split(" ").filter(Boolean)??[],l=!1===b.includeDefaultClasses?c(...k):c("lucide",...j,...k),m=b.absoluteStrokeWidth?Number(b.strokeWidth??d["stroke-width"])*Number(a.size??a.width??d.width)/Number(b.size??b.width??d.width):b.strokeWidth??d["stroke-width"];return["svg",{...Object.entries(d).reduce((a,[b,c])=>(a[f(b)]=c,a),{}),..."color"in b&&b.color&&{[f("stroke")]:b.color},..."size"in b&&null!=b.size&&{[f("width")]:b.size,[f("height")]:b.size},..."width"in b&&null!=b.width&&{[f("width")]:b.width},..."height"in b&&null!=b.height&&{[f("height")]:b.height},[f("stroke-width")]:m,...l&&{[f("class")]:l},[f("viewBox")]:`0 0 ${g} ${h}`,...!1===b.hasA11yProp?{[f("aria-hidden")]:"true"}:{},..."attributes"in b&&b.attributes},a.node.map(a=>{let[c,d,e]=a,g=b.nonScalingStroke?{[f("vector-effect")]:"non-scaling-stroke",...d}:d;return e?[c,g,e]:[c,g]})]}(a,{...b,attributeNames:{...b.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(o,{color:a??v,width:g??f??r,height:h??f??r,strokeWidth:i??s,absoluteStrokeWidth:j??t,nonScalingStroke:k??u,className:c(w,l),hasA11yProp:x,attributes:p});return(0,b.createElement)(y,{ref:q,...z},[...A.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(m)?m:[m]])});a.s(["default",0,f],39848)},88595,a=>{"use strict";var b=a.i(98485);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let d=(0,b.default)(c);a.s(["Clock",0,d],88595)},23904,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20635),g=a.r(56704),h=a.r(32319);("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)}];
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=_0ompurr._.js.map
|