@workflow/web 4.0.1-beta.13 → 4.0.1-beta.15
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/app-path-routes-manifest.json +1 -2
- package/.next/build-manifest.json +4 -4
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +0 -9
- package/.next/server/app/_global-error/page/build-manifest.json +2 -2
- package/.next/server/app/_global-error.html +2 -2
- 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/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page/build-manifest.json +2 -2
- package/.next/server/app/_not-found/page/server-reference-manifest.json +184 -4
- package/.next/server/app/_not-found/page.js +3 -2
- 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/page/build-manifest.json +2 -2
- package/.next/server/app/page/server-reference-manifest.json +67 -52
- package/.next/server/app/page.js +3 -3
- 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/run/[runId]/page/build-manifest.json +2 -2
- package/.next/server/app/run/[runId]/page/server-reference-manifest.json +67 -52
- package/.next/server/app/run/[runId]/page.js +3 -3
- package/.next/server/app/run/[runId]/page.js.nft.json +1 -1
- package/.next/server/app/run/[runId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +1 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__357a9046._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__357a9046._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__747eb15e._.js +72 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__747eb15e._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__c8f35667._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__c8f35667._.js.map +1 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__5601d14d._.js → [root-of-the-server]__d67ccd55._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__5601d14d._.js.map → [root-of-the-server]__d67ccd55._.js.map} +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__ef8720b3._.js → [root-of-the-server]__e8641565._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__e8641565._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__ef9c7ec7._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__ef9c7ec7._.js.map +1 -0
- package/.next/server/chunks/ssr/_2d77ccc1._.js +3 -0
- package/.next/server/chunks/ssr/_2d77ccc1._.js.map +1 -0
- package/.next/server/chunks/ssr/_30abd234._.js +8 -0
- package/.next/server/chunks/ssr/_30abd234._.js.map +1 -0
- package/.next/server/chunks/ssr/_6e6035a6._.js +3 -0
- package/.next/server/chunks/ssr/_6e6035a6._.js.map +1 -0
- package/.next/server/chunks/ssr/_b3bb46c8._.js +3 -0
- package/.next/server/chunks/ssr/_b3bb46c8._.js.map +1 -0
- package/.next/server/chunks/ssr/packages_web_src_app_page_tsx_cd282e82._.js +1 -1
- package/.next/server/chunks/ssr/packages_web_src_app_page_tsx_cd282e82._.js.map +1 -1
- package/.next/server/chunks/ssr/packages_web_src_app_run_[runId]_page_tsx_c7d0b139._.js +6 -6
- package/.next/server/chunks/ssr/packages_web_src_app_run_[runId]_page_tsx_c7d0b139._.js.map +1 -1
- package/.next/server/chunks/ssr/packages_web_src_components_ui_dropdown-menu_tsx_5a66d33b._.js +3 -0
- package/.next/server/chunks/ssr/packages_web_src_components_ui_dropdown-menu_tsx_5a66d33b._.js.map +1 -0
- package/.next/server/middleware-build-manifest.js +2 -2
- package/.next/server/next-font-manifest.js +1 -1
- package/.next/server/next-font-manifest.json +0 -4
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +185 -170
- package/.next/static/chunks/4cd756ce08329aa0.js +1 -0
- package/.next/static/chunks/9413ec2d2c03a23f.js +1 -0
- package/.next/static/chunks/a085c02be6d1c0fa.js +1 -0
- package/.next/static/chunks/{22122fa69a524cdf.js → b7c7c49bc91f0883.js} +1 -1
- package/.next/static/chunks/cac98b3aeb18c389.css +3 -0
- package/.next/static/chunks/cb2a4b461d8e3581.js +1 -0
- package/.next/static/chunks/cf77de8f2f364dfe.js +3 -0
- package/.next/static/chunks/e5fe8b0871852c0c.js +1 -0
- package/.next/static/chunks/e815e2c1cb31fa75.css +1 -0
- package/.next/static/chunks/eca703efa10d6b73.js +1 -0
- package/.next/static/chunks/f6b74fa7a23429f6.js +14 -0
- package/.next/static/chunks/fa8d0e694695293d.js +1 -0
- package/.next/static/chunks/turbopack-3e37ac8ac11d9492.js +3 -0
- package/.next/static/chunks/{turbopack-453c53e2accaa935.js → turbopack-c46db9a9d9103ea9.js} +1 -1
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/.next/types/routes.d.ts +1 -2
- package/.next/types/validator.ts +0 -9
- package/package.json +10 -5
- package/.next/server/app/run/[runId]/streams/[streamId]/page/app-paths-manifest.json +0 -3
- package/.next/server/app/run/[runId]/streams/[streamId]/page/build-manifest.json +0 -17
- package/.next/server/app/run/[runId]/streams/[streamId]/page/next-font-manifest.json +0 -11
- package/.next/server/app/run/[runId]/streams/[streamId]/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/run/[runId]/streams/[streamId]/page/server-reference-manifest.json +0 -200
- package/.next/server/app/run/[runId]/streams/[streamId]/page.js +0 -22
- package/.next/server/app/run/[runId]/streams/[streamId]/page.js.map +0 -5
- package/.next/server/app/run/[runId]/streams/[streamId]/page.js.nft.json +0 -1
- package/.next/server/app/run/[runId]/streams/[streamId]/page_client-reference-manifest.js +0 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__072d3021._.js +0 -70
- package/.next/server/chunks/ssr/[root-of-the-server]__072d3021._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0e8b8fa9._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0e8b8fa9._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__6e56cd25._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__6e56cd25._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__cd719c14._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__cd719c14._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d4909843._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__d4909843._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__ef8720b3._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__fb5d0d13._.js +0 -4
- package/.next/server/chunks/ssr/[root-of-the-server]__fb5d0d13._.js.map +0 -1
- package/.next/server/chunks/ssr/_631c662c._.js +0 -4
- package/.next/server/chunks/ssr/_631c662c._.js.map +0 -1
- package/.next/server/chunks/ssr/_65c9c827._.js +0 -6
- package/.next/server/chunks/ssr/_65c9c827._.js.map +0 -1
- package/.next/server/chunks/ssr/_e9cd0664._.js +0 -3
- package/.next/server/chunks/ssr/_e9cd0664._.js.map +0 -1
- package/.next/server/chunks/ssr/packages_30c0733e._.js +0 -4
- package/.next/server/chunks/ssr/packages_30c0733e._.js.map +0 -1
- package/.next/server/chunks/ssr/packages_906ab70b._.js +0 -3
- package/.next/server/chunks/ssr/packages_906ab70b._.js.map +0 -1
- package/.next/server/chunks/ssr/packages_9f053af5._.js +0 -3
- package/.next/server/chunks/ssr/packages_9f053af5._.js.map +0 -1
- package/.next/server/chunks/ssr/packages_web-shared_dist_trace-viewer_worker_f98ba72c.js +0 -3
- package/.next/server/chunks/ssr/packages_web-shared_dist_trace-viewer_worker_f98ba72c.js.map +0 -1
- package/.next/server/chunks/ssr/packages_web_src_app_layout-client_tsx_7f30673c._.js +0 -3
- package/.next/server/chunks/ssr/packages_web_src_app_layout-client_tsx_7f30673c._.js.map +0 -1
- package/.next/server/chunks/ssr/packages_web_src_components_5b4f203e._.js +0 -3
- package/.next/server/chunks/ssr/packages_web_src_components_5b4f203e._.js.map +0 -1
- package/.next/server/chunks/ssr/packages_web_src_components_d1065930._.js +0 -3
- package/.next/server/chunks/ssr/packages_web_src_components_d1065930._.js.map +0 -1
- package/.next/server/chunks/ssr/packages_web_src_components_ui_select_tsx_7c5238ef._.js +0 -3
- package/.next/server/chunks/ssr/packages_web_src_components_ui_select_tsx_7c5238ef._.js.map +0 -1
- package/.next/static/chunks/125dc6396d8c7614.js +0 -1
- package/.next/static/chunks/12738c56605f94bd.js +0 -1
- package/.next/static/chunks/1b2c32764beea8c6.js +0 -1
- package/.next/static/chunks/2677e69032fce46e.js +0 -1
- package/.next/static/chunks/33539167f963017b.js +0 -14
- package/.next/static/chunks/46d8d17fb5e804aa.js +0 -1
- package/.next/static/chunks/5bfebbf730bb3cdc.js +0 -1
- package/.next/static/chunks/7d15ec806ba18b85.css +0 -3
- package/.next/static/chunks/8f0576d510d06c4c.js +0 -1
- package/.next/static/chunks/971151b2a72b5f24.css +0 -1
- package/.next/static/chunks/d5f104e0113bd49b.js +0 -2
- package/.next/static/chunks/e5b69a828ea58204.js +0 -1
- package/.next/static/chunks/turbopack-511fe75cd918d1a5.js +0 -3
- /package/.next/static/{dqfnmYEq_BK3Cb_-i5jnc → 8L07V3BgO4DySkjO3mfTV}/_buildManifest.js +0 -0
- /package/.next/static/{dqfnmYEq_BK3Cb_-i5jnc → 8L07V3BgO4DySkjO3mfTV}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{dqfnmYEq_BK3Cb_-i5jnc → 8L07V3BgO4DySkjO3mfTV}/_ssgManifest.js +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.8e0177b5.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.b97b3418.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.853070df.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist","Geist Fallback"}
|
|
2
|
-
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.c1fdd6c2.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.799d8ef8.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.dbea232f.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono","Geist Mono Fallback"}
|
|
3
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:#ff6568;--color-red-500:#fb2c36;--color-red-600:#e40014;--color-orange-400:#ff8b1a;--color-orange-600:#f05100;--color-amber-400:#fcbb00;--color-amber-500:#f99c00;--color-amber-600:#dd7400;--color-yellow-400:#fac800;--color-yellow-600:#cd8900;--color-green-400:#05df72;--color-green-500:#00c758;--color-green-600:#00a544;--color-blue-400:#54a2ff;--color-blue-600:#155dfc;--color-gray-400:#99a1af;--color-gray-500:#6a7282;--color-gray-600:#4a5565;--color-neutral-400:#a1a1a1;--color-neutral-600:#525252;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--leading-relaxed:1.625;--radius-sm:.375rem;--radius-md:calc(var(--radius));--radius-lg:.75rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:calc(var(--radius));--color-background:hsl(var(--background));--color-foreground:hsl(var(--foreground));--color-card:hsl(var(--card));--color-card-foreground:hsl(var(--card-foreground));--color-popover:hsl(var(--popover));--color-popover-foreground:hsl(var(--popover-foreground));--color-primary:hsl(var(--primary));--color-primary-foreground:hsl(var(--primary-foreground));--color-secondary:hsl(var(--secondary));--color-secondary-foreground:hsl(var(--secondary-foreground));--color-muted:hsl(var(--muted));--color-muted-foreground:hsl(var(--muted-foreground));--color-accent:hsl(var(--accent));--color-accent-foreground:hsl(var(--accent-foreground));--color-destructive:hsl(var(--destructive));--color-destructive-foreground:hsl(var(--destructive-foreground));--color-border:hsl(var(--border));--color-input:hsl(var(--input));--color-ring:hsl(var(--ring))}@supports (color:lab(0% 0 0)){:root,:host{--color-red-400:lab(63.7053% 60.745 31.3109);--color-red-500:lab(55.4814% 75.0732 48.8528);--color-red-600:lab(48.4493% 77.4328 61.5452);--color-orange-400:lab(70.0429% 42.5156 75.8207);--color-orange-600:lab(57.1026% 64.2584 89.8886);--color-amber-400:lab(80.1641% 16.6016 99.2089);--color-amber-500:lab(72.7183% 31.8672 97.9407);--color-amber-600:lab(60.3514% 40.5624 87.1228);--color-yellow-400:lab(83.2664% 8.65132 106.895);--color-yellow-600:lab(62.7799% 22.4197 86.1544);--color-green-400:lab(78.503% -64.9265 39.7492);--color-green-500:lab(70.5521% -66.5147 45.8073);--color-green-600:lab(59.0978% -58.6621 41.2579);--color-blue-400:lab(65.0361% -1.42065 -56.9802);--color-blue-600:lab(44.0605% 29.0279 -86.0352);--color-gray-400:lab(65.9269% -.832707 -8.17473);--color-gray-500:lab(47.7841% -.393182 -10.0268);--color-gray-600:lab(35.6337% -1.58697 -10.8425);--color-neutral-400:lab(66.128% -.0000298023 .0000119209);--color-neutral-600:lab(34.924% 0 0)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-9{top:calc(var(--spacing)*9)}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-4{bottom:calc(var(--spacing)*4)}.left-2{left:calc(var(--spacing)*2)}.left-4{left:calc(var(--spacing)*4)}.left-\[50\%\]{left:50%}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-4{margin:calc(var(--spacing)*4)}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.my-2{margin-block:calc(var(--spacing)*2)}.my-4{margin-block:calc(var(--spacing)*4)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-12{margin-left:calc(var(--spacing)*12)}.ml-16{margin-left:calc(var(--spacing)*16)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.size-1\.5{width:calc(var(--spacing)*1.5);height:calc(var(--spacing)*1.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-11{height:calc(var(--spacing)*11)}.h-12{height:calc(var(--spacing)*12)}.h-\[20px\]{height:20px}.h-\[24px\]{height:24px}.h-\[32px\]{height:32px}.h-\[40px\]{height:40px}.h-\[56px\]{height:56px}.h-\[600px\]{height:600px}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.max-h-48{max-height:calc(var(--spacing)*48)}.max-h-96{max-height:calc(var(--spacing)*96)}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-screen{min-height:100vh}.w-1\/4{width:25%}.w-1\/6{width:16.6667%}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-11{width:calc(var(--spacing)*11)}.w-12{width:calc(var(--spacing)*12)}.w-96{width:calc(var(--spacing)*96)}.w-\[10\%\]{width:10%}.w-\[20\%\]{width:20%}.w-\[55px\]{width:55px}.w-\[110px\]{width:110px}.w-\[140px\]{width:140px}.w-\[180px\]{width:180px}.w-\[260px\]{width:260px}.w-\[280px\]{width:280px}.w-auto{width:auto}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-md{max-width:var(--container-md)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-help{cursor:help}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0{gap:calc(var(--spacing)*0)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--radius)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-amber-500\/20{border-color:#f99c0033}@supports (color:color-mix(in lab, red, red)){.border-amber-500\/20{border-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.border-destructive{border-color:var(--color-destructive)}.border-destructive\/50{border-color:color-mix(in srgb,hsl(var(--destructive))50%,transparent)}@supports (color:color-mix(in lab, red, red)){.border-destructive\/50{border-color:color-mix(in oklab,var(--color-destructive)50%,transparent)}}.border-input{border-color:var(--color-input)}.border-transparent{border-color:#0000}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-background{background-color:var(--color-background)}.bg-black{background-color:var(--color-black)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-card{background-color:var(--color-card)}.bg-destructive{background-color:var(--color-destructive)}.bg-destructive\/5{background-color:color-mix(in srgb,hsl(var(--destructive))5%,transparent)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\/5{background-color:color-mix(in oklab,var(--color-destructive)5%,transparent)}}.bg-gray-600{background-color:var(--color-gray-600)}.bg-green-500{background-color:var(--color-green-500)}.bg-green-600{background-color:var(--color-green-600)}.bg-muted{background-color:var(--color-muted)}.bg-muted\/50{background-color:color-mix(in srgb,hsl(var(--muted))50%,transparent)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--color-muted)50%,transparent)}}.bg-neutral-600{background-color:var(--color-neutral-600)}.bg-popover{background-color:var(--color-popover)}.bg-primary{background-color:var(--color-primary)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-600{background-color:var(--color-red-600)}.bg-secondary{background-color:var(--color-secondary)}.bg-yellow-600{background-color:var(--color-yellow-600)}.fill-foreground{fill:var(--color-foreground)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-8{padding-top:calc(var(--spacing)*8)}.pr-2{padding-right:calc(var(--spacing)*2)}.pb-6{padding-bottom:calc(var(--spacing)*6)}.pl-8{padding-left:calc(var(--spacing)*8)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-600{color:var(--color-amber-600)}.text-blue-600{color:var(--color-blue-600)}.text-card-foreground{color:var(--color-card-foreground)}.text-destructive{color:var(--color-destructive)}.text-destructive-foreground{color:var(--color-destructive-foreground)}.text-foreground{color:var(--color-foreground)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-green-400{color:var(--color-green-400)}.text-green-600{color:var(--color-green-600)}.text-muted-foreground{color:var(--color-muted-foreground)}.text-orange-600{color:var(--color-orange-600)}.text-popover-foreground{color:var(--color-popover-foreground)}.text-primary{color:var(--color-primary)}.text-primary-foreground{color:var(--color-primary-foreground)}.text-red-400{color:var(--color-red-400)}.text-red-600{color:var(--color-red-600)}.text-secondary-foreground{color:var(--color-secondary-foreground)}.text-yellow-600{color:var(--color-yellow-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-offset-background{--tw-ring-offset-color:var(--color-background)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-\[\.toast\]\:bg-muted:is(:where(.group).toast *){background-color:var(--color-muted)}.group-\[\.toast\]\:bg-primary:is(:where(.group).toast *){background-color:var(--color-primary)}.group-\[\.toast\]\:text-muted-foreground:is(:where(.group).toast *){color:var(--color-muted-foreground)}.group-\[\.toast\]\:text-primary-foreground:is(:where(.group).toast *){color:var(--color-primary-foreground)}.group-\[\.toaster\]\:border-border:is(:where(.group).toaster *){border-color:var(--color-border)}.group-\[\.toaster\]\:border-destructive:is(:where(.group).toaster *){border-color:var(--color-destructive)}.group-\[\.toaster\]\:border-green-600:is(:where(.group).toaster *){border-color:var(--color-green-600)}.group-\[\.toaster\]\:bg-background:is(:where(.group).toaster *){background-color:var(--color-background)}.group-\[\.toaster\]\:bg-destructive:is(:where(.group).toaster *){background-color:var(--color-destructive)}.group-\[\.toaster\]\:bg-green-600:is(:where(.group).toaster *){background-color:var(--color-green-600)}.group-\[\.toaster\]\:text-destructive-foreground:is(:where(.group).toaster *){color:var(--color-destructive-foreground)}.group-\[\.toaster\]\:text-foreground:is(:where(.group).toaster *){color:var(--color-foreground)}.group-\[\.toaster\]\:text-white:is(:where(.group).toaster *){color:var(--color-white)}.group-\[\.toaster\]\:shadow-lg:is(:where(.group).toaster *){--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--color-foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--color-muted-foreground)}@media (hover:hover){.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-destructive\/90:hover{background-color:color-mix(in srgb,hsl(var(--destructive))90%,transparent)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--color-destructive)90%,transparent)}}.hover\:bg-muted\/50:hover{background-color:color-mix(in srgb,hsl(var(--muted))50%,transparent)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab,var(--color-muted)50%,transparent)}}.hover\:bg-primary\/90:hover{background-color:color-mix(in srgb,hsl(var(--primary))90%,transparent)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--color-primary)90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:color-mix(in srgb,hsl(var(--secondary))80%,transparent)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--color-secondary)80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}.hover\:text-foreground:hover{color:var(--color-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:brightness-95:hover{--tw-brightness:brightness(95%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.focus\:bg-accent:focus{background-color:var(--color-accent)}.focus\:text-accent-foreground:focus{color:var(--color-accent-foreground)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-ring:focus{--tw-ring-color:var(--color-ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color:var(--color-background)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x:calc(var(--spacing)*5);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:var(--color-primary)}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:var(--color-muted)}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:var(--color-input)}@media (min-width:40rem){.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media (min-width:48rem){.md\:w-2\/3{width:66.6667%}}@media (min-width:64rem){.lg\:w-1\/2{width:50%}}@media (prefers-color-scheme:dark){.dark\:border-destructive{border-color:var(--color-destructive)}.dark\:bg-blue-400{background-color:var(--color-blue-400)}.dark\:bg-gray-400{background-color:var(--color-gray-400)}.dark\:bg-green-400{background-color:var(--color-green-400)}.dark\:bg-neutral-400{background-color:var(--color-neutral-400)}.dark\:bg-red-400{background-color:var(--color-red-400)}.dark\:bg-yellow-400{background-color:var(--color-yellow-400)}.dark\:text-amber-400{color:var(--color-amber-400)}.dark\:text-blue-400{color:var(--color-blue-400)}.dark\:text-gray-400{color:var(--color-gray-400)}.dark\:text-green-400{color:var(--color-green-400)}.dark\:text-orange-400{color:var(--color-orange-400)}.dark\:text-red-400{color:var(--color-red-400)}.dark\:text-yellow-400{color:var(--color-yellow-400)}}.\[\&_p\]\:leading-relaxed p{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:top-4>svg{top:calc(var(--spacing)*4)}.\[\&\>svg\]\:left-4>svg{left:calc(var(--spacing)*4)}.\[\&\>svg\]\:text-destructive>svg{color:var(--color-destructive)}.\[\&\>svg\]\:text-foreground>svg{color:var(--color-foreground)}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y:-3px;translate:var(--tw-translate-x)var(--tw-translate-y)}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:calc(var(--spacing)*7)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}:root{--background:0 0% 100%;--foreground:0 0% 3.9%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--radius:.5rem;--ds-background-100:#fff;--ds-background-200:#fafafa;--ds-gray-100:#fafafa;--ds-gray-200:#f5f5f5;--ds-gray-300:#e5e5e5;--ds-gray-400:#d4d4d4;--ds-gray-500:#a3a3a3;--ds-gray-600:#737373;--ds-gray-700:#525252;--ds-gray-800:#404040;--ds-gray-900:#171717;--ds-gray-1000:#000;--ds-gray-alpha-100:#00000005;--ds-gray-alpha-200:#0000000a;--ds-gray-alpha-300:#00000014;--ds-gray-alpha-400:#0000001f;--ds-gray-alpha-500:#0000004d;--ds-gray-alpha-600:#00000080;--ds-gray-alpha-700:#0009;--ds-gray-alpha-800:#000000b3;--ds-gray-alpha-900:#000000e6;--ds-blue-100:#e0f2fe;--ds-blue-200:#bae6fd;--ds-blue-300:#7dd3fc;--ds-blue-400:#38bdf8;--ds-blue-500:#0ea5e9;--ds-blue-600:#0284c7;--ds-blue-700:#0369a1;--ds-blue-800:#075985;--ds-blue-900:#0c4a6e;--ds-blue-1000:#082f49;--ds-red-100:#fee2e2;--ds-red-200:#fecaca;--ds-red-300:#fca5a5;--ds-red-400:#f87171;--ds-red-500:#ef4444;--ds-red-600:#dc2626;--ds-red-700:#b91c1c;--ds-red-800:#991b1b;--ds-red-900:#7f1d1d;--ds-red-1000:#450a0a;--ds-amber-100:#fef3c7;--ds-amber-200:#fde68a;--ds-amber-300:#fcd34d;--ds-amber-400:#fbbf24;--ds-amber-500:#f59e0b;--ds-amber-600:#d97706;--ds-amber-700:#b45309;--ds-amber-800:#92400e;--ds-amber-900:#78350f;--ds-amber-1000:#451a03;--ds-green-100:#dcfce7;--ds-green-200:#bbf7d0;--ds-green-300:#86efac;--ds-green-400:#4ade80;--ds-green-500:#22c55e;--ds-green-600:#16a34a;--ds-green-700:#15803d;--ds-green-800:#166534;--ds-green-900:#14532d;--ds-green-1000:#052e16;--ds-teal-100:#ccfbf1;--ds-teal-200:#99f6e4;--ds-teal-300:#5eead4;--ds-teal-400:#2dd4bf;--ds-teal-500:#14b8a6;--ds-teal-600:#0d9488;--ds-teal-700:#0f766e;--ds-teal-800:#115e59;--ds-teal-900:#134e4a;--ds-teal-1000:#042f2e;--ds-purple-100:#f3e8ff;--ds-purple-200:#e9d5ff;--ds-purple-300:#d8b4fe;--ds-purple-400:#c084fc;--ds-purple-500:#a855f7;--ds-purple-600:#9333ea;--ds-purple-700:#7e22ce;--ds-purple-800:#6b21a8;--ds-purple-900:#581c87;--ds-purple-1000:#3b0764;--ds-pink-100:#fce7f3;--ds-pink-200:#fbcfe8;--ds-pink-300:#f9a8d4;--ds-pink-400:#f472b6;--ds-pink-500:#ec4899;--ds-pink-600:#db2777;--ds-pink-700:#be185d;--ds-pink-800:#9d174d;--ds-pink-900:#831843;--ds-pink-1000:#500724;--ds-shadow-small:0 0 0 1px #00000012,0 2px 4px #0000000d,0 12px 24px #0000000d;--ds-shadow-medium:0 0 0 1px #00000012,0 4px 8px #00000012,0 24px 48px #00000012;--ds-shadow-large:0 0 0 1px #00000012,0 8px 16px #0000001a,0 48px 96px #0000001a}@media (prefers-color-scheme:dark){:root:not(.light){--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--ds-background-100:#000;--ds-background-200:#0a0a0a;--ds-gray-100:#111;--ds-gray-200:#171717;--ds-gray-300:#292929;--ds-gray-400:#404040;--ds-gray-500:#737373;--ds-gray-600:#a3a3a3;--ds-gray-700:#d4d4d4;--ds-gray-800:#e5e5e5;--ds-gray-900:#f5f5f5;--ds-gray-1000:#fff;--ds-gray-alpha-100:#ffffff05;--ds-gray-alpha-200:#ffffff0a;--ds-gray-alpha-300:#ffffff14;--ds-gray-alpha-400:#ffffff1f;--ds-gray-alpha-500:#ffffff4d;--ds-gray-alpha-600:#ffffff80;--ds-gray-alpha-700:#fff9;--ds-gray-alpha-800:#ffffffb3;--ds-gray-alpha-900:#ffffffe6;--ds-blue-100:#082f49;--ds-blue-200:#0c4a6e;--ds-blue-300:#075985;--ds-blue-400:#0369a1;--ds-blue-500:#0284c7;--ds-blue-600:#0ea5e9;--ds-blue-700:#38bdf8;--ds-blue-800:#7dd3fc;--ds-blue-900:#bae6fd;--ds-blue-1000:#e0f2fe;--ds-red-100:#450a0a;--ds-red-200:#7f1d1d;--ds-red-300:#991b1b;--ds-red-400:#b91c1c;--ds-red-500:#dc2626;--ds-red-600:#ef4444;--ds-red-700:#f87171;--ds-red-800:#fca5a5;--ds-red-900:#fecaca;--ds-red-1000:#fee2e2;--ds-amber-100:#451a03;--ds-amber-200:#78350f;--ds-amber-300:#92400e;--ds-amber-400:#b45309;--ds-amber-500:#d97706;--ds-amber-600:#f59e0b;--ds-amber-700:#fbbf24;--ds-amber-800:#fcd34d;--ds-amber-900:#fde68a;--ds-amber-1000:#fef3c7;--ds-green-100:#052e16;--ds-green-200:#14532d;--ds-green-300:#166534;--ds-green-400:#15803d;--ds-green-500:#16a34a;--ds-green-600:#22c55e;--ds-green-700:#4ade80;--ds-green-800:#86efac;--ds-green-900:#bbf7d0;--ds-green-1000:#dcfce7;--ds-teal-100:#042f2e;--ds-teal-200:#134e4a;--ds-teal-300:#115e59;--ds-teal-400:#0f766e;--ds-teal-500:#0d9488;--ds-teal-600:#14b8a6;--ds-teal-700:#2dd4bf;--ds-teal-800:#5eead4;--ds-teal-900:#99f6e4;--ds-teal-1000:#ccfbf1;--ds-purple-100:#3b0764;--ds-purple-200:#581c87;--ds-purple-300:#6b21a8;--ds-purple-400:#7e22ce;--ds-purple-500:#9333ea;--ds-purple-600:#a855f7;--ds-purple-700:#c084fc;--ds-purple-800:#d8b4fe;--ds-purple-900:#e9d5ff;--ds-purple-1000:#f3e8ff;--ds-pink-100:#500724;--ds-pink-200:#831843;--ds-pink-300:#9d174d;--ds-pink-400:#be185d;--ds-pink-500:#db2777;--ds-pink-600:#ec4899;--ds-pink-700:#f472b6;--ds-pink-800:#f9a8d4;--ds-pink-900:#fbcfe8;--ds-pink-1000:#fce7f3;--ds-shadow-small:0 0 0 1px #ffffff12,0 2px 4px #0000004d,0 12px 24px #0000004d;--ds-shadow-medium:0 0 0 1px #ffffff12,0 4px 8px #0006,0 24px 48px #0006;--ds-shadow-large:0 0 0 1px #ffffff12,0 8px 16px #00000080,0 48px 96px #00000080}}.dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--ds-background-100:#000;--ds-background-200:#0a0a0a;--ds-gray-100:#111;--ds-gray-200:#171717;--ds-gray-300:#292929;--ds-gray-400:#404040;--ds-gray-500:#737373;--ds-gray-600:#a3a3a3;--ds-gray-700:#d4d4d4;--ds-gray-800:#e5e5e5;--ds-gray-900:#f5f5f5;--ds-gray-1000:#fff;--ds-gray-alpha-100:#ffffff05;--ds-gray-alpha-200:#ffffff0a;--ds-gray-alpha-300:#ffffff14;--ds-gray-alpha-400:#ffffff1f;--ds-gray-alpha-500:#ffffff4d;--ds-gray-alpha-600:#ffffff80;--ds-gray-alpha-700:#fff9;--ds-gray-alpha-800:#ffffffb3;--ds-gray-alpha-900:#ffffffe6;--ds-blue-100:#082f49;--ds-blue-200:#0c4a6e;--ds-blue-300:#075985;--ds-blue-400:#0369a1;--ds-blue-500:#0284c7;--ds-blue-600:#0ea5e9;--ds-blue-700:#38bdf8;--ds-blue-800:#7dd3fc;--ds-blue-900:#bae6fd;--ds-blue-1000:#e0f2fe;--ds-red-100:#450a0a;--ds-red-200:#7f1d1d;--ds-red-300:#991b1b;--ds-red-400:#b91c1c;--ds-red-500:#dc2626;--ds-red-600:#ef4444;--ds-red-700:#f87171;--ds-red-800:#fca5a5;--ds-red-900:#fecaca;--ds-red-1000:#fee2e2;--ds-amber-100:#451a03;--ds-amber-200:#78350f;--ds-amber-300:#92400e;--ds-amber-400:#b45309;--ds-amber-500:#d97706;--ds-amber-600:#f59e0b;--ds-amber-700:#fbbf24;--ds-amber-800:#fcd34d;--ds-amber-900:#fde68a;--ds-amber-1000:#fef3c7;--ds-green-100:#052e16;--ds-green-200:#14532d;--ds-green-300:#166534;--ds-green-400:#15803d;--ds-green-500:#16a34a;--ds-green-600:#22c55e;--ds-green-700:#4ade80;--ds-green-800:#86efac;--ds-green-900:#bbf7d0;--ds-green-1000:#dcfce7;--ds-teal-100:#042f2e;--ds-teal-200:#134e4a;--ds-teal-300:#115e59;--ds-teal-400:#0f766e;--ds-teal-500:#0d9488;--ds-teal-600:#14b8a6;--ds-teal-700:#2dd4bf;--ds-teal-800:#5eead4;--ds-teal-900:#99f6e4;--ds-teal-1000:#ccfbf1;--ds-purple-100:#3b0764;--ds-purple-200:#581c87;--ds-purple-300:#6b21a8;--ds-purple-400:#7e22ce;--ds-purple-500:#9333ea;--ds-purple-600:#a855f7;--ds-purple-700:#c084fc;--ds-purple-800:#d8b4fe;--ds-purple-900:#e9d5ff;--ds-purple-1000:#f3e8ff;--ds-pink-100:#500724;--ds-pink-200:#831843;--ds-pink-300:#9d174d;--ds-pink-400:#be185d;--ds-pink-500:#db2777;--ds-pink-600:#ec4899;--ds-pink-700:#f472b6;--ds-pink-800:#f9a8d4;--ds-pink-900:#fbcfe8;--ds-pink-1000:#fce7f3;--ds-shadow-small:0 0 0 1px #ffffff12,0 2px 4px #0000004d,0 12px 24px #0000004d;--ds-shadow-medium:0 0 0 1px #ffffff12,0 4px 8px #0006,0 24px 48px #0006;--ds-shadow-large:0 0 0 1px #ffffff12,0 8px 16px #00000080,0 48px 96px #00000080}*{border-color:hsl(var(--border))}body{background:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,9737,e=>{e.v("/_next/static/media/worker.e575ad4f.js")},25311,64511,e=>{"use strict";function t([e,t]){return 1e3*e+t/1e6}function r(e){return[Math.floor(e/1e3),e%1e3*1e3]}e.i(51433);let n=new Intl.NumberFormat(void 0,{maximumFractionDigits:2});function a(e){return 0===e?"0":e>=1e3?`${n.format(e/1e3)}s`:`${n.format(e)}ms`}let s=new Intl.NumberFormat(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});function i(e){return e>=1e3?`${s.format(e/1e3)}s`:`${s.format(e)}ms`}e.s(["formatDuration",()=>a,"formatTimeSelection",()=>i,"getHighResInMs",()=>t,"getMsInHighRes",()=>r],64511);let o=e=>{if(!e.events.length)return;let r=`${e.spanId}:ev`;return e.events.map((e,n)=>({key:`${r}${n}`,timestamp:t(e.timestamp),event:e})).sort((e,t)=>e.timestamp-t.timestamp)};e.s(["addToRow",0,(e,t,r)=>{let n=t.parent;for(let a=(n?.row||-1)+1;;++a){let n=e[a];if(n){if(!n.every(({startTime:e,endTime:n})=>e+r>t.endTime||n-r<t.startTime))continue}else n=[],e.push(n);t.row=a,n.push(t);break}},"adjustSpanVisibility",0,(e,t)=>(e.isVisible=!0,e.isHovered=!1,e.isVisible),"parseTrace",0,e=>{let{spans:n}=e,a={startTime:0,endTime:0,duration:0,depth:0,children:[]},s={},i=new Map,l=e=>{let t=i.get(e);if(t)return t;let r=i.size+1;return i.set(e,r),r},d=!1;for(let e of n){let r,n=t(e.startTime),i=t(e.endTime),c=t(e.duration);i>a.endTime&&(a.endTime=i,a.duration=i-a.startTime),(0===a.startTime||n<a.startTime)&&(a.startTime=n,a.duration=a.endTime-n);let u=e.resource.startsWith("vercel.");u||(d=!0);let h=u&&("vercel.serverless-runtime"!==e.resource||!("http.method"in e.attributes)),m=h?0:l(e.resource);h&&(r=`▲ ${e.name}`),s[e.spanId]={parent:null,startTime:n,endTime:i,duration:c,span:e,depth:0,label:r,events:o(e),isVercel:h,children:[],resourceIndex:m}}let c=(e,t)=>{let r;t&&(r=s[t])||(r=a),e.parent=r,r.children.push(e)},u=e=>{for(let t of("parent"in e&&(e.depth=e.parent.depth+1),e.children))u(t)},h=1,m=(e,t)=>{if("parent"in e&&e.span.name===t){let t=e.endTime,n=e=>e.children.length?e.children.map(n).sort((e,t)=>e.duration-t.duration)[0]||e:"waitUntil"===e.span.name?(t=e.startTime,e.parent):e,a=n(e),i=`instrumentation-hint-${h++}`,o=.05*e.duration,l=e.startTime+o,d=Math.max(l+o,Math.min(t-.01*e.duration,e.endTime-o)),c=d-l,u={parent:a,startTime:l,endTime:d,duration:c,span:{spanId:i,name:"Add your spans here",resource:"",kind:0,library:{name:""},status:{code:200},traceFlags:0,attributes:{},links:[],events:[],startTime:r(l),endTime:r(d),duration:r(c)},depth:e.depth+1,isVercel:!1,isInstrumentationHint:!0,children:[],resourceIndex:1};return a.children.push(u),s[i]=u,!0}for(let r of e.children)if(m(r,t))return!0;return!1};for(let e of Object.values(s))c(e,e.span.parentSpanId);if(u(a),!d){for(let e of["Invoke Function","Invoke Middleware","Vercel Runtime"])if(m(a,e))break}return{root:a,map:s}}],25311)},44619,e=>{"use strict";var t=e.i(3334),r=e.i(87122),n=e.i(48869),a=e.i(38153),s=e.i(92421),i=e.i(39392),o=e.i(32713),l=e.i(11518),d=e.i(16467);function c(e,t){let r=(0,d.toDate)(e,t?.in);return r.setHours(0,0,0,0),r}function u(e,t,r){let[n,a]=(0,i.normalizeDates)(r?.in,e,t),s=c(n),d=c(a);return Math.round((s-(0,o.getTimezoneOffsetInMilliseconds)(s)-(d-(0,o.getTimezoneOffsetInMilliseconds)(d)))/l.millisecondsInDay)}function h(e,t){let r=(0,s.getDefaultOptions)(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=(0,d.toDate)(e,t?.in),i=a.getDay();return a.setDate(a.getDate()-(7*(i<n)+i-n)),a.setHours(0,0,0,0),a}function m(e,t){return h(e,{...t,weekStartsOn:1})}function f(e,t){let n=(0,d.toDate)(e,t?.in),a=n.getFullYear(),s=(0,r.constructFrom)(n,0);s.setFullYear(a+1,0,4),s.setHours(0,0,0,0);let i=m(s),o=(0,r.constructFrom)(n,0);o.setFullYear(a,0,4),o.setHours(0,0,0,0);let l=m(o);return n.getTime()>=i.getTime()?a+1:n.getTime()>=l.getTime()?a:a-1}function g(e,t){let n=(0,d.toDate)(e,t?.in),a=n.getFullYear(),i=(0,s.getDefaultOptions)(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,l=(0,r.constructFrom)(t?.in||e,0);l.setFullYear(a+1,0,o),l.setHours(0,0,0,0);let c=h(l,t),u=(0,r.constructFrom)(t?.in||e,0);u.setFullYear(a,0,o),u.setHours(0,0,0,0);let m=h(u,t);return+n>=+c?a+1:+n>=+m?a:a-1}function x(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}let w={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return x("yy"===t?n%100:n,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):x(r+1,2)},d:(e,t)=>x(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>x(e.getHours()%12||12,t.length),H:(e,t)=>x(e.getHours(),t.length),m:(e,t)=>x(e.getMinutes(),t.length),s:(e,t)=>x(e.getSeconds(),t.length),S(e,t){let r=t.length;return x(Math.trunc(e.getMilliseconds()*Math.pow(10,r-3)),t.length)}},p={G:function(e,t,r){let n=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear();return r.ordinalNumber(t>0?t:1-t,{unit:"year"})}return w.y(e,t)},Y:function(e,t,r,n){let a=g(e,n),s=a>0?a:1-a;return"YY"===t?x(s%100,2):"Yo"===t?r.ordinalNumber(s,{unit:"year"}):x(s,t.length)},R:function(e,t){return x(f(e),t.length)},u:function(e,t){return x(e.getFullYear(),t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return x(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return x(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return w.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return x(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){let i,o,c,u,m,f=Math.round((h(i=(0,d.toDate)(e,a?.in),a)-(o=(0,s.getDefaultOptions)(),c=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,u=g(i,a),(m=(0,r.constructFrom)(a?.in||i,0)).setFullYear(u,0,c),m.setHours(0,0,0,0),h(m,a)))/l.millisecondsInWeek)+1;return"wo"===t?n.ordinalNumber(f,{unit:"week"}):x(f,t.length)},I:function(e,t,n){let a,s,i,o=Math.round((m(a=(0,d.toDate)(e,void 0))-(s=f(a,void 0),(i=(0,r.constructFrom)(a,0)).setFullYear(s,0,4),i.setHours(0,0,0,0),m(i)))/l.millisecondsInWeek)+1;return"Io"===t?n.ordinalNumber(o,{unit:"week"}):x(o,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):w.d(e,t)},D:function(e,t,r){let n,a,s=u(n=(0,d.toDate)(e,void 0),((a=(0,d.toDate)(n,void 0)).setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a))+1;return"Do"===t?r.ordinalNumber(s,{unit:"dayOfYear"}):x(s,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),s=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return x(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),s=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return x(s,t.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return x(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n,a=e.getHours();switch(n=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n,a=e.getHours();switch(n=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return w.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):w.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):x(n,t.length)},k:function(e,t,r){let n=e.getHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):x(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):w.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):w.s(e,t)},S:function(e,t){return w.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return j(n);case"XXXX":case"XX":return k(n);default:return k(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return j(n);case"xxxx":case"xx":return k(n);default:return k(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+b(n,":");default:return"GMT"+k(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+b(n,":");default:return"GMT"+k(n,":")}},t:function(e,t,r){return x(Math.trunc(e/1e3),t.length)},T:function(e,t,r){return x(+e,t.length)}};function b(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),s=n%60;return 0===s?r+String(a):r+String(a)+t+x(s,2)}function j(e,t){return e%60==0?(e>0?"-":"+")+x(Math.abs(e)/60,2):k(e,t)}function k(e,t=""){let r=Math.abs(e);return(e>0?"-":"+")+x(Math.trunc(r/60),2)+t+x(r%60,2)}let v=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},y=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},N={p:y,P:(e,t)=>{let r,n=e.match(/(P+)(p+)?/)||[],a=n[1],s=n[2];if(!s)return v(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",v(a,t)).replace("{{time}}",y(s,t))}},T=/^D+$/,S=/^Y+$/,M=["D","DD","YY","YYYY"],D=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,C=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,I=/^'([^]*?)'?$/,P=/''/g,R=/[a-zA-Z]/;var E=e.i(84705),O=e.i(38322);function $({date:e,className:o="",type:l="relative"}){var c,h;let[,m]=(0,E.useState)(Date.now());"string"==typeof e&&(e=new Date(e));let f="relative"===l?function(e,t,r){let n,[o,l]=(0,i.normalizeDates)(void 0,e,t),c=(0,s.getDefaultOptions)(),h=(void 0)??c.locale??a.defaultLocale,m=(void 0)??void 0??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,f=u(o,l);if(isNaN(f))throw RangeError("Invalid time value");n=f<-6?"other":f<-1?"lastWeek":f<0?"yesterday":f<1?"today":f<2?"tomorrow":f<7?"nextWeek":"other";let g=h.formatRelative(n,o,l,{locale:h,weekStartsOn:m});return function(e,t,r){let n=(0,s.getDefaultOptions)(),i=r?.locale??n.locale??a.defaultLocale,o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,l=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,c=(0,d.toDate)(e,r?.in);if(!(c instanceof Date||"object"==typeof c&&"[object Date]"===Object.prototype.toString.call(c))&&"number"!=typeof c||isNaN(+(0,d.toDate)(c)))throw RangeError("Invalid time value");let u=t.match(C).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,N[t])(e,i.formatLong):e}).join("").match(D).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var r;let t;return{isToken:!1,value:(t=(r=e).match(I))?t[1].replace(P,"'"):r}}if(p[t])return{isToken:!0,value:e};if(t.match(R))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});i.localize.preprocessor&&(u=i.localize.preprocessor(c,u));let h={firstWeekContainsDate:o,weekStartsOn:l,locale:i};return u.map(n=>{if(!n.isToken)return n.value;let a=n.value;return(!r?.useAdditionalWeekYearTokens&&S.test(a)||!r?.useAdditionalDayOfYearTokens&&T.test(a))&&function(e,t,r){var n,a,s;let i,o=(n=e,a=t,s=r,i="Y"===n[0]?"years":"days of the month",`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${a}\`) for formatting ${i} to the input \`${s}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(o),M.includes(e))throw RangeError(o)}(a,t,String(e)),(0,p[a[0]])(c,a,i.localize,h)}).join("")}(o,g,{locale:h,weekStartsOn:m})}(new Date(e),new Date):(c=new Date(e),h={addSuffix:!0},(0,n.formatDistanceStrict)(c,(0,r.constructFrom)(c,Date.now()),h)),g=new Date(e).toLocaleString(void 0,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"});return(0,E.useEffect)(()=>{let e=setInterval(()=>{m(Date.now())},1e3);return()=>clearInterval(e)},[]),(0,t.jsxs)(O.Tooltip,{children:[(0,t.jsx)(O.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("span",{className:`${o} cursor-help border-b border-dotted`,children:f})}),(0,t.jsx)(O.TooltipContent,{children:(0,t.jsx)("p",{children:g})})]})}e.s(["RelativeTime",()=>$],44619)},13087,e=>{"use strict";var t=e.i(3334),r=e.i(65458);function n({className:e,...n}){return(0,t.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-muted",e),...n})}e.s(["Skeleton",()=>n])},51675,e=>{"use strict";var t=e.i(3334),r=e.i(38322);function n({status:e,context:n,className:a}){let s=()=>{switch(e){case"running":return"text-blue-600 dark:text-blue-400";case"completed":return"text-green-600 dark:text-green-400";case"failed":return"text-red-600 dark:text-red-400";case"cancelled":return"text-yellow-600 dark:text-yellow-400";case"pending":return"text-gray-600 dark:text-gray-400";case"paused":return"text-orange-600 dark:text-orange-400";default:return"text-gray-500 dark:text-gray-400"}};if("failed"===e&&n?.error){let i="string"==typeof n.error?n.error:n.error instanceof Error?n.error.message:JSON.stringify(n.error);return(0,t.jsxs)(r.Tooltip,{children:[(0,t.jsx)(r.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("span",{className:`${a} border-b border-dotted cursor-help ${s()}`,children:e})}),(0,t.jsx)(r.TooltipContent,{className:"max-w-md",children:(0,t.jsx)("p",{className:"text-xs whitespace-pre-wrap break-words",children:i})})]})}return(0,t.jsx)("span",{className:`${a} ${s()}`,children:e})}e.s(["StatusBadge",()=>n])},30997,e=>{"use strict";var t=e.i(3334),r=e.i(16028),n=e.i(19303);e.i(69764);var a=e.i(31875),s=e.i(6886),i=e.i(3614),o=e.i(86288);let l=(0,o.default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),d=(0,o.default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);var c=e.i(25449),u=e.i(84705),h=e.i(56944),m=e.i(60218),f=e.i(2718),g=e.i(65458);let x=u.forwardRef(({className:e,href:r,children:n,...a},s)=>{let i=r.startsWith("http")?r:`https://useworkflow.dev/docs/${r.replace(/^\//,"")}`;return(0,t.jsx)(f.default,{href:i,className:(0,g.cn)("font-medium underline underline-offset-4 transition-colors",e),style:{color:"var(--ds-blue-600)"},target:"_blank",rel:"noopener noreferrer",ref:s,...a,children:n})});x.displayName="DocsLink";let w=u.forwardRef(({className:e,...r},n)=>(0,t.jsx)("div",{className:"relative w-full overflow-auto",children:(0,t.jsx)("table",{ref:n,className:(0,g.cn)("w-full caption-bottom text-sm",e),...r})}));w.displayName="Table";let p=u.forwardRef(({className:e,...r},n)=>(0,t.jsx)("thead",{ref:n,className:(0,g.cn)("[&_tr]:border-b",e),...r}));p.displayName="TableHeader";let b=u.forwardRef(({className:e,...r},n)=>(0,t.jsx)("tbody",{ref:n,className:(0,g.cn)("[&_tr:last-child]:border-0",e),...r}));b.displayName="TableBody",u.forwardRef(({className:e,...r},n)=>(0,t.jsx)("tfoot",{ref:n,className:(0,g.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...r})).displayName="TableFooter";let j=u.forwardRef(({className:e,...r},n)=>(0,t.jsx)("tr",{ref:n,className:(0,g.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...r}));j.displayName="TableRow";let k=u.forwardRef(({className:e,...r},n)=>(0,t.jsx)("th",{ref:n,className:(0,g.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...r}));k.displayName="TableHead";let v=u.forwardRef(({className:e,...r},n)=>(0,t.jsx)("td",{ref:n,className:(0,g.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...r}));v.displayName="TableCell",u.forwardRef(({className:e,...r},n)=>(0,t.jsx)("caption",{ref:n,className:(0,g.cn)("mt-4 text-sm text-muted-foreground",e),...r})).displayName="TableCaption";var y=e.i(38322),N=e.i(20486),T=e.i(44619),S=e.i(13087);function M({rows:e=g.DEFAULT_PAGE_SIZE}){return(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)("div",{className:"space-y-3",style:{minHeight:"512px"},children:[(0,t.jsx)(S.Skeleton,{className:"h-[40px] p-1 w-full"}),(0,t.jsx)("div",{className:"border-b border-gray-alpha-400 w-full"}),Array.from({length:e},(e,r)=>(0,t.jsxs)("div",{className:"flex gap-4 py-3",children:[(0,t.jsx)(S.Skeleton,{className:"h-4 w-1/4"}),(0,t.jsx)(S.Skeleton,{className:"h-4 w-1/4"}),(0,t.jsx)(S.Skeleton,{className:"h-4 w-1/6"}),(0,t.jsx)(S.Skeleton,{className:"h-4 w-1/6"}),(0,t.jsx)(S.Skeleton,{className:"h-4 w-1/6"})]},`skeleton-row-${r}`)),(0,t.jsxs)("div",{className:"mt-6 flex w-full justify-between",children:[(0,t.jsx)(S.Skeleton,{className:"h-4 w-12"}),(0,t.jsx)(S.Skeleton,{className:"h-8 w-1/6"})]})]})})}function D({config:e,runId:r,onHookClick:n,selectedHookId:o}){let[f,g]=(0,u.useState)(()=>new Date),S=(0,u.useMemo)(()=>(0,N.worldConfigToEnvMap)(e),[e]),{data:D,error:C,nextPage:I,previousPage:P,hasNextPage:R,hasPreviousPage:E,reload:O,pageInfo:$}=(0,a.useWorkflowHooks)(S,{runId:r,sortOrder:"desc"}),F=D.isLoading,H=D.data??[],[L,A]=(0,u.useState)(new Map);return(0,u.useEffect)(()=>{H.length&&(async()=>{let e=new Map;for(let t of H)e.set(t.hookId,{count:0,hasMore:!1,loading:!0});A(e);let t=await Promise.allSettled(H.map(async e=>{try{let t=await (0,s.fetchEventsByCorrelationId)(S,e.hookId,{sortOrder:"asc",limit:100});if(!t.success)return{hookId:e.hookId,count:Error(t.error?.message||"Failed to fetch events"),hasMore:!1};let r=t.data,n=r.data.filter(e=>"hook_received"===e.eventType).length;return{hookId:e.hookId,count:n,hasMore:r.hasMore}}catch(t){return{hookId:e.hookId,count:t,hasMore:!1}}}));A(e=>{let r=new Map(e);for(let e=0;e<t.length;e++){let n=t[e],a=H[e].hookId;"fulfilled"===n.status?r.set(n.value.hookId,{count:n.value.count,hasMore:n.value.hasMore,loading:!1}):r.set(a,{count:0,hasMore:!1,loading:!1})}return r})})()},[H,S]),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between my-4",children:[(0,t.jsx)("h2",{className:"text-2xl my-2 font-semibold leading-none tracking-tight",children:"Hooks"}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[f&&(0,t.jsx)(T.RelativeTime,{date:f,className:"text-sm text-muted-foreground",type:"distance"}),(0,t.jsxs)(y.Tooltip,{children:[(0,t.jsx)(y.TooltipTrigger,{asChild:!0,children:(0,t.jsxs)(m.Button,{variant:"outline",size:"sm",onClick:()=>{g(()=>new Date),O()},disabled:F,children:[(0,t.jsx)(c.RefreshCw,{className:F?"animate-spin":""}),"Refresh"]})}),(0,t.jsx)(y.TooltipContent,{children:"Note that this resets pages"})]})]})]}),C?(0,t.jsxs)(h.Alert,{variant:"destructive",children:[(0,t.jsx)(i.AlertCircle,{className:"h-4 w-4"}),(0,t.jsx)(h.AlertTitle,{children:"Error loading hooks"}),(0,t.jsx)(h.AlertDescription,{children:(0,a.getErrorMessage)(C)})]}):F||H&&0!==H.length?F&&!D?.data?(0,t.jsx)(M,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(w,{children:[(0,t.jsx)(p,{children:(0,t.jsxs)(j,{children:[(0,t.jsx)(k,{children:"Hook ID"}),(0,t.jsx)(k,{children:"Run ID"}),(0,t.jsx)(k,{children:"Token"}),(0,t.jsx)(k,{children:"Created"}),(0,t.jsx)(k,{children:"Invocations"})]})}),(0,t.jsx)(b,{children:H.map(e=>(0,t.jsxs)(j,{className:"cursor-pointer group relative",onClick:()=>n(e.hookId,e.runId),"data-selected":e.hookId===o,children:[(0,t.jsx)(v,{className:"font-mono text-xs",children:e.hookId}),(0,t.jsx)(v,{className:"font-mono text-xs",children:e.runId}),(0,t.jsxs)(v,{className:"font-mono text-xs",children:[e.token.substring(0,12),"..."]}),(0,t.jsx)(v,{children:e.createdAt?(0,t.jsx)(T.RelativeTime,{date:e.createdAt}):"-"}),(0,t.jsx)(v,{children:(e=>{let r=L.get(e.hookId);if(!r||r.loading)return(0,t.jsx)("span",{className:"text-muted-foreground text-xs",children:"..."});if(r.count instanceof Error)return(0,t.jsx)("span",{className:"text-muted-foreground",children:"Error"});if(0===r.count)return(0,t.jsx)("span",{className:"text-muted-foreground",children:"0"});let n=r.hasMore?`${r.count}+`:`${r.count}`;return r.hasMore?(0,t.jsxs)(y.Tooltip,{children:[(0,t.jsx)(y.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("span",{className:"font-semibold cursor-help",children:n})}),(0,t.jsx)(y.TooltipContent,{children:(0,t.jsx)("div",{className:"text-xs",children:"Showing first 100 invocations. There may be more."})})]}):(0,t.jsx)("span",{className:"font-semibold",children:n})})(e)})]},e.hookId))})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-4",children:[(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:$}),(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,t.jsxs)(m.Button,{variant:"outline",size:"sm",onClick:P,disabled:!E,children:[(0,t.jsx)(l,{}),"Previous"]}),(0,t.jsxs)(m.Button,{variant:"outline",size:"sm",onClick:I,disabled:!R,children:["Next",(0,t.jsx)(d,{})]})]})]})]}):(0,t.jsxs)("div",{className:"text-center py-8 text-muted-foreground",children:["No active hooks found."," ",(0,t.jsx)(x,{href:"https://useworkflow.dev/docs/api-reference/workflow/create-hook",children:"Learn how to create a hook"})]})]})}var C=e.i(60088);let I=(0,o.default)("ArrowDownAZ",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]]),P=(0,o.default)("ArrowUpAZ",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]]);var R=e.i(46131),E=e.i(51675);let O={pending:{label:"Pending",color:"bg-neutral-600 dark:bg-neutral-400"},running:{label:"Running",color:"bg-blue-600 dark:bg-blue-400"},completed:{label:"Completed",color:"bg-green-600 dark:bg-green-400"},failed:{label:"Failed",color:"bg-red-600 dark:bg-red-400"},paused:{label:"Paused",color:"bg-yellow-600 dark:bg-yellow-400"},cancelled:{label:"Cancelled",color:"bg-gray-600 dark:bg-gray-400"}};function $({config:e,onRunClick:n}){let s=(0,r.useRouter)(),o=(0,r.usePathname)(),f=(0,r.useSearchParams)(),g=f.get("status"),S=Object.keys(O),D="all"===g||g&&S.includes(g)?g:void 0,$=f.get("workflow"),[F,H]=(0,u.useState)("desc"),[L,A]=(0,u.useState)(()=>new Date),Y=(0,u.useMemo)(()=>(0,N.worldConfigToEnvMap)(e),[e]),W=e.backend?.includes("vercel"),[z,B]=(0,u.useState)(new Set),{data:q,error:G,nextPage:Q,previousPage:U,hasNextPage:V,hasPreviousPage:X,reload:_,pageInfo:Z}=(0,a.useWorkflowRuns)(Y,{sortOrder:F,workflowName:"all"===$?void 0:$,status:"all"===D?void 0:D});(0,u.useEffect)(()=>{if(q.data&&q.data.length>0){let e=new Set(q.data.map(e=>e.workflowName));B(t=>{let r=new Set(t);for(let t of e)r.add(t);return r})}},[q.data]);let K=q.isLoading,J=(0,u.useCallback)((e,t)=>{let r=new URLSearchParams(f.toString());return r.set(e,t),r.toString()},[f]);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between my-4",children:[(0,t.jsxs)("h2",{className:"text-2xl my-2 font-semibold leading-none tracking-tight flex gap-4 items-end",children:[(0,t.jsx)("span",{className:"flex items-center gap-2",children:"Runs"}),L&&(0,t.jsx)(T.RelativeTime,{date:L,className:"text-sm text-muted-foreground",type:"distance"})]}),(0,t.jsx)("div",{className:"flex items-center gap-4",children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(R.Select,{value:$??"all",onValueChange:e=>{if("all"===e){let e=new URLSearchParams(f.toString());e.delete("workflow"),e.delete("status"),s.push(`${o}?${e.toString()}`)}else s.push(`${o}?${J("workflow",e)}`)},disabled:K,children:[(0,t.jsx)(R.SelectTrigger,{className:"w-[180px] h-9",children:(0,t.jsx)(R.SelectValue,{placeholder:"Filter by workflow"})}),(0,t.jsxs)(R.SelectContent,{children:[(0,t.jsx)(R.SelectItem,{value:"all",children:"All Workflows"}),Array.from(z).sort().map(e=>(0,t.jsx)(R.SelectItem,{value:e,children:(0,C.parseWorkflowName)(e)?.shortName||e},e))]})]}),(0,t.jsxs)(y.Tooltip,{children:[(0,t.jsx)(y.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("div",{children:(0,t.jsxs)(R.Select,{value:D||"all",onValueChange:e=>{if("all"===e){let e=new URLSearchParams(f.toString());e.delete("status"),s.push(`${o}?${e.toString()}`)}else s.push(`${o}?${J("status",e)}`)},disabled:K||W&&!$,children:[(0,t.jsx)(R.SelectTrigger,{className:"w-[140px] h-9",children:(0,t.jsx)(R.SelectValue,{placeholder:"Filter by status"})}),(0,t.jsxs)(R.SelectContent,{children:[(0,t.jsx)(R.SelectItem,{value:"all",children:"Any status"}),Object.entries(O).map(([e,{label:r,color:n}])=>(0,t.jsx)(R.SelectItem,{value:e,children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("span",{className:`${n} size-1.5 rounded-full mr-2`}),r]})},e))]})]})})}),(0,t.jsx)(y.TooltipContent,{children:W&&"all"===$?"Select a workflow first to filter by status":"Filter runs by status"})]}),(0,t.jsxs)(y.Tooltip,{children:[(0,t.jsx)(y.TooltipTrigger,{asChild:!0,children:(0,t.jsxs)(m.Button,{variant:"outline",size:"sm",onClick:()=>{H(e=>"desc"===e?"asc":"desc")},disabled:K,children:["desc"===F?(0,t.jsx)(I,{className:"h-4 w-4"}):(0,t.jsx)(P,{className:"h-4 w-4"}),"desc"===F?"Newest":"Oldest"]})}),(0,t.jsx)(y.TooltipContent,{children:"desc"===F?"Showing newest first":"Showing oldest first"})]}),(0,t.jsxs)(y.Tooltip,{children:[(0,t.jsx)(y.TooltipTrigger,{asChild:!0,children:(0,t.jsxs)(m.Button,{variant:"outline",size:"sm",onClick:()=>{A(()=>new Date),_()},disabled:K,children:[(0,t.jsx)(c.RefreshCw,{className:K?"animate-spin":""}),"Refresh"]})}),(0,t.jsx)(y.TooltipContent,{children:"Note that this resets pages"})]})]})})]}),G?(0,t.jsxs)(h.Alert,{variant:"destructive",children:[(0,t.jsx)(i.AlertCircle,{className:"h-4 w-4"}),(0,t.jsx)(h.AlertTitle,{children:"Error loading runs"}),(0,t.jsx)(h.AlertDescription,{children:(0,a.getErrorMessage)(G)})]}):K&&!q?.data?(0,t.jsx)(M,{}):K||q.data&&0!==q.data.length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(w,{children:[(0,t.jsx)(p,{children:(0,t.jsxs)(j,{children:[(0,t.jsx)(k,{children:"Workflow"}),(0,t.jsx)(k,{children:"Run ID"}),(0,t.jsx)(k,{children:"Status"}),(0,t.jsx)(k,{children:"Started"}),(0,t.jsx)(k,{children:"Completed"})]})}),(0,t.jsx)(b,{children:q.data?.map(e=>(0,t.jsxs)(j,{className:"cursor-pointer group relative",onClick:()=>n(e.runId),children:[(0,t.jsx)(v,{children:(0,C.parseWorkflowName)(e.workflowName)?.shortName||"?"}),(0,t.jsx)(v,{className:"font-mono text-xs",children:e.runId}),(0,t.jsx)(v,{children:(0,t.jsx)(E.StatusBadge,{status:e.status,context:e})}),(0,t.jsx)(v,{children:e.startedAt?(0,t.jsx)(T.RelativeTime,{date:e.startedAt}):"-"}),(0,t.jsx)(v,{children:e.completedAt?(0,t.jsx)(T.RelativeTime,{date:e.completedAt}):"-"})]},e.runId))})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-4",children:[(0,t.jsx)("div",{className:"text-sm text-muted-foreground",children:Z}),(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,t.jsxs)(m.Button,{variant:"outline",size:"sm",onClick:U,disabled:!X,children:[(0,t.jsx)(l,{}),"Previous"]}),(0,t.jsxs)(m.Button,{variant:"outline",size:"sm",onClick:Q,disabled:!V,children:["Next",(0,t.jsx)(d,{})]})]})]})]}):(0,t.jsxs)("div",{className:"text-center py-8 text-muted-foreground",children:["No workflow runs found."," ",(0,t.jsx)(x,{href:"https://useworkflow.dev/docs/foundations/workflows-and-steps",children:"Learn how to create a workflow"})]})]})}function F(){let e=(0,r.useRouter)(),a=(0,r.useSearchParams)(),s=(0,N.useQueryParamConfig)(),i=a.get("sidebar"),o=a.get("hookId")||a.get("hook");return(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsx)(n.ErrorBoundary,{title:"Runs Error",description:"Failed to load workflow runs. Please try refreshing the page.",children:(0,t.jsx)($,{config:s,onRunClick:(t,r)=>{r?e.push((0,N.buildUrlWithConfig)(`/run/${t}/streams/${r}`,s)):e.push((0,N.buildUrlWithConfig)(`/run/${t}`,s))}})}),(0,t.jsx)(n.ErrorBoundary,{title:"Hooks Error",description:"Failed to load hooks. Please try refreshing the page.",children:(0,t.jsx)(D,{config:s,onHookClick:(t,r)=>{t?e.push((0,N.buildUrlWithConfig)(`/run/${r}`,s,{sidebar:"hook",hookId:t})):e.push((0,N.buildUrlWithConfig)(`/run/${r}`,s))},selectedHookId:"hook"===i&&o?o:void 0})})]})}e.s(["default",()=>F],30997)}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.trace-viewer-module__m4L2Da__traceNode{position:relative}.trace-viewer-module__m4L2Da__childRow{flex-direction:row;align-items:flex-start;display:flex}.trace-viewer-module__m4L2Da__spanNode{background-color:var(--span-background);color:var(--span-text);border:1px solid var(--span-border);text-overflow:ellipsis;white-space:nowrap;box-shadow:var(--ds-shadow-small);content-visibility:auto;cursor:pointer;-webkit-user-select:none;user-select:none;z-index:2;border-radius:8px;flex-direction:row;align-items:center;padding:0;display:flex;position:absolute;overflow:hidden}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__huge{overflow:visible}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__huge .trace-viewer-module__m4L2Da__spanName{flex:0 auto;position:sticky;left:0}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__huge .trace-viewer-module__m4L2Da__spanSpacer{flex:1 0 0}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__huge .trace-viewer-module__m4L2Da__spanDuration{background-color:var(--span-background);box-shadow:-8px 0 16px 8px var(--span-background);padding-left:6px;position:sticky;right:0}.trace-viewer-module__m4L2Da__spanNode:after{width:var(--span-width);height:var(--row-height);content:"";position:absolute;top:-1px;left:-1px}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__small:not(.trace-viewer-module__m4L2Da__xHover):after{top:-7px}.trace-viewer-module__m4L2Da__spanNode:hover:not(.trace-viewer-module__m4L2Da__selected){filter:brightness(.95)}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__xHover{z-index:3;min-width:var(--span-width);background:linear-gradient(90deg,var(--span-background)calc(var(--span-width) - 1px),var(--span-line),var(--geist-background)calc(var(--span-width) + 1px));max-width:75%}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__xHover[data-right-side=true]{background:linear-gradient(270deg,var(--span-background)calc(var(--span-width) - 1px),var(--span-line),var(--geist-background)calc(var(--span-width) + 1px))}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__xHover .trace-viewer-module__m4L2Da__spanName{max-width:max(var(--span-width),40vw)}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__xHover .trace-viewer-module__m4L2Da__spanDuration{box-shadow:none;background:0 0}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__small:not(.trace-viewer-module__m4L2Da__xHover){background-color:var(--span-background);border-color:var(--span-border);border-radius:4px}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__selected{outline:2px solid var(--span-border);outline-offset:-1px;border-width:2px}.trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__selected:hover{filter:brightness(.95)}.trace-viewer-module__m4L2Da__spanNodeEvent{height:var(--row-height);pointer-events:none;z-index:4;position:absolute}.trace-viewer-module__m4L2Da__spanNodeEvent .trace-viewer-module__m4L2Da__eventDiamond{--size:7px;--offset:-4px;left:var(--offset);bottom:calc(var(--offset) + 1px);width:var(--size);height:var(--size);border:1px solid var(--span-secondary);background:var(--span-background);transform-origin:50% 50% 0;border-radius:2px;position:absolute;transform:rotate(45deg)}.trace-viewer-module__m4L2Da__spanNodeEvent.trace-viewer-module__m4L2Da__customEventColor .trace-viewer-module__m4L2Da__eventDiamond{border-color:var(--event-color,var(--span-border));background:var(--event-color,var(--span-background));opacity:.8}.trace-viewer-module__m4L2Da__spanNodeEvent.trace-viewer-module__m4L2Da__customEventColor .trace-viewer-module__m4L2Da__hoverInfo{border-color:var(--span-border);background:var(--span-background)}.trace-viewer-module__m4L2Da__spanNodeEvent.trace-viewer-module__m4L2Da__customEventColor .trace-viewer-module__m4L2Da__hoverInfo .trace-viewer-module__m4L2Da__eventName{color:var(--span-text);font-weight:500}.trace-viewer-module__m4L2Da__spanNodeEvent.trace-viewer-module__m4L2Da__customEventColor .trace-viewer-module__m4L2Da__hoverInfo .trace-viewer-module__m4L2Da__eventTimestamp{color:var(--span-secondary)}.trace-viewer-module__m4L2Da__spanNodeEvent .trace-viewer-module__m4L2Da__hoverInfo{background:var(--span-background);border:1px solid var(--span-border);box-shadow:var(--ds-shadow-small);border-radius:6px;flex-direction:row;align-items:center;gap:6px;margin-top:-1px;padding:3px 6px;font-size:12px;line-height:1;display:none;position:absolute;top:100%;transform:translateY(-50%)}.trace-viewer-module__m4L2Da__spanNodeEvent .trace-viewer-module__m4L2Da__hoverInfo.trace-viewer-module__m4L2Da__alignStart{padding-left:18px;left:-10px}.trace-viewer-module__m4L2Da__spanNodeEvent .trace-viewer-module__m4L2Da__hoverInfo.trace-viewer-module__m4L2Da__alignEnd{padding-right:18px;right:-10px}.trace-viewer-module__m4L2Da__spanNodeEvent .trace-viewer-module__m4L2Da__hoverInfo .trace-viewer-module__m4L2Da__eventName{color:var(--span-text)}.trace-viewer-module__m4L2Da__spanNodeEvent .trace-viewer-module__m4L2Da__hoverInfo .trace-viewer-module__m4L2Da__eventTimestamp{color:var(--span-secondary);font-variant-numeric:tabular-nums}.trace-viewer-module__m4L2Da__spanNodeEvent[data-hovered=true]{z-index:4}.trace-viewer-module__m4L2Da__spanNodeEvent[data-hovered=true] .trace-viewer-module__m4L2Da__eventDiamond{background:var(--span-text);border-color:var(--span-text)}.trace-viewer-module__m4L2Da__spanNodeEvent[data-hovered=true] .trace-viewer-module__m4L2Da__hoverInfo{display:flex}.trace-viewer-module__m4L2Da__colorVercel{--span-background:var(--ds-background-100);--span-border:var(--ds-gray-500);--span-line:var(--ds-gray-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-gray-900);--geist-background:var(--ds-gray-100)}.trace-viewer-module__m4L2Da__color0{--span-background:var(--ds-teal-200);--span-border:var(--ds-teal-500);--span-line:var(--ds-teal-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-teal-900)}.trace-viewer-module__m4L2Da__color1{--span-background:var(--ds-blue-200);--span-border:var(--ds-blue-500);--span-line:var(--ds-blue-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-blue-900)}.trace-viewer-module__m4L2Da__color2{--span-background:var(--ds-green-200);--span-border:var(--ds-green-500);--span-line:var(--ds-green-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-green-900)}.trace-viewer-module__m4L2Da__color3{--span-background:var(--ds-purple-200);--span-border:var(--ds-purple-500);--span-line:var(--ds-purple-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-purple-900)}.trace-viewer-module__m4L2Da__color4{--span-background:var(--ds-pink-200);--span-border:var(--ds-pink-500);--span-line:var(--ds-pink-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-pink-900)}.trace-viewer-module__m4L2Da__colorHighlight{--span-background:var(--ds-amber-200);--span-border:var(--ds-amber-500);--span-line:var(--ds-amber-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-amber-900)}.trace-viewer-module__m4L2Da__unlit{opacity:.3}:is(.dark-theme,.dark) .trace-viewer-module__m4L2Da__mapContainer canvas{filter:invert()}:is(:is(.dark-theme,.dark) .trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__small.trace-viewer-module__m4L2Da__xHover,:is(.dark-theme,.dark) .trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__small:focus-visible):before{text-shadow:0 1px #000}:is(.dark-theme,.dark) .trace-viewer-module__m4L2Da__spanNode:hover:not(.trace-viewer-module__m4L2Da__selected),:is(.dark-theme,.dark) .trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__selected:hover{filter:brightness(1.05)}@media (prefers-color-scheme:dark){:root:not(.light) .trace-viewer-module__m4L2Da__mapContainer canvas{filter:invert()}:is(:root:not(.light) .trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__small.trace-viewer-module__m4L2Da__xHover,:root:not(.light) .trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__small:focus-visible):before{text-shadow:0 1px #000}:root:not(.light) .trace-viewer-module__m4L2Da__spanNode:hover:not(.trace-viewer-module__m4L2Da__selected),:root:not(.light) .trace-viewer-module__m4L2Da__spanNode.trace-viewer-module__m4L2Da__selected:hover{filter:brightness(1.05)}}.trace-viewer-module__m4L2Da__spanName{text-align:left;text-overflow:ellipsis;flex:auto;padding-inline:6px;overflow:hidden}.trace-viewer-module__m4L2Da__spanDuration{font-variant-numeric:tabular-nums;color:var(--span-secondary,var(--ds-gray-alpha-700));flex:none;padding-right:6px}.trace-viewer-module__m4L2Da__spanDetailPanel{height:var(--panel-height);flex-direction:column;flex:0 auto;justify-content:flex-start;align-items:stretch;display:flex}.trace-viewer-module__m4L2Da__spanDetailPanelResizer{cursor:col-resize;z-index:1;width:20px;height:100%;display:none;position:absolute;top:0;left:0}@media (hover:hover){.trace-viewer-module__m4L2Da__spanDetailPanelResizer{display:block}}.trace-viewer-module__m4L2Da__spanDetailPanelTop{flex-direction:row;flex:0 auto;justify-content:space-between;align-items:stretch;display:flex;position:relative}.trace-viewer-module__m4L2Da__spanDetailPanelBody{flex-direction:column;flex:0 100%;justify-content:flex-start;align-items:stretch;gap:12px;padding:16px 12px 24px;display:flex;overflow:hidden auto}.trace-viewer-module__m4L2Da__spanDetailPanelTopInfo{--row-height:40px;border-bottom:1px solid var(--border-color);flex-direction:row;flex:0 auto;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 16px;font-size:14px;display:flex}.trace-viewer-module__m4L2Da__spanNameDetailPanel{font-size:inherit;color:var(--ds-gray-1000);word-break:break-word}.trace-viewer-module__m4L2Da__spanDetailPanelTruncatedHeading{flex-direction:row;flex:0 100%;justify-content:flex-start;align-items:center;gap:12px;display:flex;overflow:hidden}.trace-viewer-module__m4L2Da__spanDetailPanelName{text-overflow:ellipsis;white-space:nowrap;flex:0 100%;min-width:0;font-size:14px;overflow:hidden}.trace-viewer-module__m4L2Da__spanDetailPanelDuration{font-family:var(--font-mono);font-variant-numeric:tabular-nums;color:var(--ds-gray-900);font-size:13px}.trace-viewer-module__m4L2Da__spanDetailPanelCorner{height:var(--row-height);flex-direction:row;flex:none;justify-content:flex-start;align-items:center;gap:8px;display:flex}.trace-viewer-module__m4L2Da__spanDetailPanelCornerInner{flex-direction:row;flex:0 auto;justify-content:flex-start;align-items:stretch;display:flex}.trace-viewer-module__m4L2Da__spanDetailPanelCloseVerticalRule{border-left:1px solid var(--accents-2);height:var(--geist-space-gap)}.trace-viewer-module__m4L2Da__spanDetailPanelClose{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.trace-viewer-module__m4L2Da__spanDetailPanelClose:hover,.trace-viewer-module__m4L2Da__spanDetailPanelClose:focus-visible{background-color:var(--ds-gray-200)}.trace-viewer-module__m4L2Da__spanDetailPanelAttribute{border-bottom:1px solid var(--border-color);flex-direction:row;justify-content:space-between;align-items:center;gap:16px;margin:0;padding-block:8px;font-size:14px;line-height:1.4;display:flex}.trace-viewer-module__m4L2Da__spanDetailPanelAttribute:last-child{border-bottom:none}.trace-viewer-module__m4L2Da__spanDetailPanelAttributeKey{font-size:inherit;color:var(--ds-gray-900);flex:none;margin:0;padding-left:8px}.trace-viewer-module__m4L2Da__spanDetailPanelAttributeValue{font-family:var(--font-mono);white-space:nowrap;text-overflow:ellipsis;flex:0 auto;margin:0;padding-right:8px;font-size:13px;overflow-x:hidden}.trace-viewer-module__m4L2Da__spanDetailPanelQuickLink{color:inherit;text-decoration:none}.trace-viewer-module__m4L2Da__spanDetailPanelQuickLink:hover .trace-viewer-module__m4L2Da__spanDetailPanelQuickLinkLabel{text-decoration:underline}.trace-viewer-module__m4L2Da__spanDetailPanelQuickLinkLabel{font:inherit;flex-direction:row;align-items:center;gap:8px;display:flex}.trace-viewer-module__m4L2Da__detailGroup{flex-direction:column;flex:0 auto;justify-content:flex-start;align-items:stretch;display:flex}.trace-viewer-module__m4L2Da__detailGroup:after{background:var(--border-color);content:"";height:1px;margin:12px -12px 0}.trace-viewer-module__m4L2Da__detailHeading{color:var(--ds-gray-1000);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;border-radius:6px;flex-direction:row;justify-content:space-between;align-items:center;padding:8px;font-family:inherit;font-size:14px;font-weight:500;display:flex}.trace-viewer-module__m4L2Da__detailHeading:hover,.trace-viewer-module__m4L2Da__detailHeading:focus-visible{background-color:var(--ds-gray-100)}.trace-viewer-module__m4L2Da__buttonLink{color:var(--ds-gray-1000);background-color:var(--ds-background-100);border:1px solid var(--accents-2);border-radius:6px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;line-height:1;text-decoration:none;display:inline-flex}.trace-viewer-module__m4L2Da__buttonLink:hover,.trace-viewer-module__m4L2Da__buttonLink:focus-visible{background-color:var(--ds-gray-100)}.trace-viewer-module__m4L2Da__note{color:var(--ds-gray-900);background-color:var(--ds-background-100);border:1px solid var(--ds-gray-300);border-radius:6px;padding:8px 10px}.trace-viewer-module__m4L2Da__skeleton{background-color:var(--ds-gray-200);border-radius:4px;display:inline-block}.trace-viewer-module__m4L2Da__skeletonRounded{border-radius:50%}.trace-viewer-module__m4L2Da__detailGroup.trace-viewer-module__m4L2Da__collapsed .trace-viewer-module__m4L2Da__detailHeadingIcon{transform:rotate(-90deg)}.trace-viewer-module__m4L2Da__infraSpanDescription{color:var(--ds-gray-900);flex-direction:column;gap:16px;padding:8px;font-size:14px;line-height:1.4;display:flex}.trace-viewer-module__m4L2Da__ancestorNode{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;border-radius:6px;padding:8px;font-family:inherit;font-size:13px}.trace-viewer-module__m4L2Da__ancestorNode:hover,.trace-viewer-module__m4L2Da__ancestorNode:focus-visible{background:var(--ds-gray-100)}.trace-viewer-module__m4L2Da__ancestorText{color:var(--ds-gray-900);white-space:nowrap;flex-direction:row;justify-content:space-between;align-items:center;gap:4px;display:flex}.trace-viewer-module__m4L2Da__ancestorName{text-overflow:ellipsis;overflow:hidden}.trace-viewer-module__m4L2Da__ancestorDuration{font-variant-numeric:tabular-nums}.trace-viewer-module__m4L2Da__ancestorLineContainer{background-color:var(--ds-gray-alpha-400);width:100%;height:1px;margin-top:6px;display:block;position:relative}.trace-viewer-module__m4L2Da__ancestorLineContainer:before,.trace-viewer-module__m4L2Da__ancestorLineContainer:after{background-color:inherit;content:"";width:1px;height:5px;position:absolute;top:-2px}.trace-viewer-module__m4L2Da__ancestorLineContainer:before{left:0}.trace-viewer-module__m4L2Da__ancestorLineContainer:after{right:0}.trace-viewer-module__m4L2Da__ancestorLine{background-color:var(--span-background);border:1px solid var(--span-line);border-radius:1px;height:5px;position:absolute;top:-2px}:is(.trace-viewer-module__m4L2Da__ancestorNode:hover,.trace-viewer-module__m4L2Da__ancestorNode:focus-visible,.trace-viewer-module__m4L2Da__ancestorNode:last-of-type) .trace-viewer-module__m4L2Da__ancestorName{color:var(--ds-gray-1000)}:is(.trace-viewer-module__m4L2Da__ancestorNode:hover,.trace-viewer-module__m4L2Da__ancestorNode:focus-visible,.trace-viewer-module__m4L2Da__ancestorNode:last-of-type) .trace-viewer-module__m4L2Da__ancestorLine{background-color:var(--span-line);border-color:var(--span-border)}.trace-viewer-module__m4L2Da__zoomButtonGroup{background-color:var(--geist-background);box-shadow:var(--ds-shadow-small);border:1px solid var(--accents-2);border-radius:10ex;flex-direction:row;flex:0 auto;justify-content:flex-start;align-items:stretch;animation:.3s .3s backwards trace-viewer-module__m4L2Da__zoom-buttons-fade-in;display:inline-flex}@keyframes trace-viewer-module__m4L2Da__zoom-buttons-fade-in{0%{opacity:0}to{opacity:1}}.trace-viewer-module__m4L2Da__zoomButton{width:38px;height:32px;color:var(--accents-5);cursor:pointer;background-color:#0000;border:none;justify-content:center;align-items:center;padding:6px;display:flex;box-shadow:none!important}.trace-viewer-module__m4L2Da__zoomButton:hover,.trace-viewer-module__m4L2Da__zoomButton:focus-visible{color:var(--accents-7)}.trace-viewer-module__m4L2Da__zoomButton:hover{color:var(--accents-7);background-color:#0000}.trace-viewer-module__m4L2Da__divider{background-color:var(--accents-2);width:1px;margin:-1px}.trace-viewer-module__m4L2Da__markersContainer{width:100%;height:calc(100% - var(--scrollbar-width));z-index:4;pointer-events:none;line-height:1;position:absolute;top:-8px;left:-8px}.trace-viewer-module__m4L2Da__markers{gap:calc(var(--marker-width) - 1px);height:var(--marker-height);background:var(--ds-background-200);box-shadow:0 4px 8px 0 var(--ds-background-200);border-bottom:1px solid var(--marker-color);flex-direction:row;padding-left:8px;display:flex;position:sticky;top:0;overflow:hidden}.trace-viewer-module__m4L2Da__marker{border-left:1px solid var(--marker-color);font-variant-numeric:tabular-nums;color:var(--ds-gray-900);height:var(--marker-height);flex:0 0 1px;font-size:10px;position:relative}.trace-viewer-module__m4L2Da__marker.trace-viewer-module__m4L2Da__notch{top:calc(var(--marker-height) - var(--marker-notch-height));height:var(--marker-notch-height)}.trace-viewer-module__m4L2Da__markerLabel{color:var(--ds-gray-900);-webkit-user-select:none;user-select:none;position:absolute;bottom:6px;left:2px}.trace-viewer-module__m4L2Da__eventMarkersContainer{width:var(--timeline-scroll-width);height:calc(100% - var(--scrollbar-width));z-index:1;pointer-events:none;line-height:1;position:absolute;top:-8px}.trace-viewer-module__m4L2Da__eventMarkers{height:calc(100% + 2*var(--timeline-padding));position:sticky;top:0;overflow:hidden}.trace-viewer-module__m4L2Da__eventMarker{border-left:1px dotted var(--ds-gray-500);height:100%;position:absolute}.trace-viewer-module__m4L2Da__cursorMarkerStickyParent{width:var(--timeline-scroll-width);height:calc(100% + 2*var(--timeline-padding));pointer-events:none;position:absolute;top:-8px;left:0}.trace-viewer-module__m4L2Da__cursorMarkerLabelContainer{z-index:5;pointer-events:none;width:1px;height:100%;display:none;position:sticky;top:0;left:0}.trace-viewer-module__m4L2Da__cursorMarkerLabel{width:1px;height:var(--marker-height);background-color:var(--marker-color);position:sticky;top:4px}.trace-viewer-module__m4L2Da__cursorMarkerLabel[data-text]:before{font-variant-numeric:tabular-nums;background-color:var(--ds-background-100);height:18px;color:var(--ds-gray-900);border:1px solid var(--ds-gray-500);box-shadow:var(--ds-shadow-small);content:attr(data-text);border-radius:10ex;margin:0;padding:0 6px;font-size:10px;font-weight:500;line-height:16px;position:absolute;top:0;left:0;transform:translate(-50%)}.trace-viewer-module__m4L2Da__cursorMarkerLabel[data-align=left]:before{transform:unset;left:-6px}.trace-viewer-module__m4L2Da__cursorMarkerLabel[data-align=right]:before{left:unset;transform:unset;right:-6px}.trace-viewer-module__m4L2Da__cursorMarkerContainer{pointer-events:none;width:1px;height:100%;position:sticky;top:0}.trace-viewer-module__m4L2Da__cursorMarker{background-color:var(--marker-color);z-index:1;width:1px;height:100%;display:none;position:sticky;top:0}.trace-viewer-module__m4L2Da__cursorSelection{background-color:var(--ds-gray-100);border-inline:1px solid var(--ds-gray-300);flex-direction:row;justify-content:space-between;align-items:flex-end;gap:8px;height:100%;display:none;position:absolute;top:0}.trace-viewer-module__m4L2Da__cursorSelection:before,.trace-viewer-module__m4L2Da__cursorSelection:after{font-variant-numeric:tabular-nums;background-color:var(--ds-background-100);height:18px;color:var(--ds-gray-900);border:1px solid var(--ds-gray-500);box-shadow:var(--ds-shadow-small);white-space:nowrap;border-radius:10ex;padding:0 6px;font-size:10px;font-weight:500;line-height:16px;position:sticky;bottom:8px}.trace-viewer-module__m4L2Da__cursorSelection:before{content:attr(data-range);margin-left:8px}.trace-viewer-module__m4L2Da__cursorSelection:after{content:attr(data-duration);margin-right:8px}@keyframes trace-viewer-module__m4L2Da__span-skeleton{0%{opacity:.6}to{opacity:.3}}.trace-viewer-module__m4L2Da__traceViewer.trace-viewer-module__m4L2Da__skeleton *{pointer-events:none!important}.trace-viewer-module__m4L2Da__traceViewer.trace-viewer-module__m4L2Da__skeleton .trace-viewer-module__m4L2Da__mapCanvas,.trace-viewer-module__m4L2Da__traceViewer.trace-viewer-module__m4L2Da__skeleton .trace-viewer-module__m4L2Da__markerLabel{display:none}.trace-viewer-module__m4L2Da__traceViewer.trace-viewer-module__m4L2Da__skeleton .trace-viewer-module__m4L2Da__spanNode{animation:1s infinite alternate trace-viewer-module__m4L2Da__span-skeleton}.trace-viewer-module__m4L2Da__traceViewer.trace-viewer-module__m4L2Da__skeleton .trace-viewer-module__m4L2Da__spanNode *{display:none}.trace-viewer-module__m4L2Da__traceViewer.trace-viewer-module__m4L2Da__skeleton .trace-viewer-module__m4L2Da__zoomButtonTraceViewer{display:none}.trace-viewer-module__m4L2Da__traceViewer .trace-viewer-module__m4L2Da__markers{border-top:1px solid var(--marker-color);border-bottom:none}.trace-viewer-module__m4L2Da__traceViewer .trace-viewer-module__m4L2Da__marker.trace-viewer-module__m4L2Da__notch{top:0}.trace-viewer-module__m4L2Da__traceViewer .trace-viewer-module__m4L2Da__markerLabel{bottom:3px}.trace-viewer-module__m4L2Da__traceViewer .trace-viewer-module__m4L2Da__cursorMarkerLabel{top:8px}.trace-viewer-module__m4L2Da__timeline:hover .trace-viewer-module__m4L2Da__cursorMarkerLabelContainer,.trace-viewer-module__m4L2Da__timeline:hover .trace-viewer-module__m4L2Da__cursorMarker{display:block}.trace-viewer-module__m4L2Da__searchBar{left:0;top:var(--search-gap);gap:var(--search-gap);width:100%;padding-inline:var(--search-gap);height:var(--search-height);flex-direction:row;display:flex;position:absolute}.trace-viewer-module__m4L2Da__searchInput{height:var(--search-height);background:var(--ds-background-100);flex:0 100%;position:relative}.trace-viewer-module__m4L2Da__searchInputLabel{box-shadow:0 0 0 1px var(--border-color,var(--ds-gray-alpha-400));border-radius:6px;justify-content:center;align-items:center;display:flex}.trace-viewer-module__m4L2Da__searchInputLabel input{background:0 0;border:none;outline:none;margin-left:-16px;padding-inline:12px;font-family:inherit;font-size:14px}.trace-viewer-module__m4L2Da__searchInputLabel input::-webkit-search-decoration{display:none}.trace-viewer-module__m4L2Da__searchInputLabel input::-webkit-search-cancel-button{display:none}.trace-viewer-module__m4L2Da__searchInputLabel input::-webkit-search-results-button{display:none}.trace-viewer-module__m4L2Da__searchInputLabel input::-webkit-search-results-decoration{display:none}.trace-viewer-module__m4L2Da__searchInputPrefix{width:var(--search-height);height:var(--search-height);color:var(--ds-gray-800);justify-content:center;align-items:center;display:flex}.trace-viewer-module__m4L2Da__mapContainer{left:0;top:calc(var(--search-height) + 2*var(--search-gap));cursor:move;position:absolute}.trace-viewer-module__m4L2Da__mapCanvas{z-index:1;pointer-events:none;mix-blend-mode:multiply;position:absolute;top:0;left:0}:is(.dark-theme .trace-viewer-module__m4L2Da__mapCanvas,.dark .trace-viewer-module__m4L2Da__mapCanvas){mix-blend-mode:screen}@media (prefers-color-scheme:dark){:root:not(.light) .trace-viewer-module__m4L2Da__mapCanvas{mix-blend-mode:screen}}.trace-viewer-module__m4L2Da__mapThumb{height:var(--map-height);background:var(--ds-gray-alpha-200);border:1px solid var(--ds-gray-alpha-400);box-shadow:var(--ds-shadow-small);transform:translateX(var(--timeline-padding));pointer-events:none;border-radius:3px;position:absolute;top:0}.trace-viewer-module__m4L2Da__traceViewer,.trace-viewer-module__m4L2Da__spanDetailPanelTraceViewer{--border-color:var(--ds-gray-300);--marker-color:var(--ds-gray-300)}.trace-viewer-module__m4L2Da__traceViewer{--scrollbar-width:0;font-family:var(--font-sans);text-rendering:optimizeLegibility;-moz-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ds-background-200);display:flex;position:relative}.trace-viewer-module__m4L2Da__traceViewer button{font-family:inherit}.trace-viewer-module__m4L2Da__traceViewerContent{left:0;top:calc(var(--search-height) + 3*var(--search-gap) + var(--map-height));width:calc(var(--timeline-width) + 2*var(--timeline-padding));height:calc(var(--timeline-height) - 2*var(--timeline-padding) - var(--scrollbar-width) - var(--marker-height) - var(--search-height));position:absolute}.trace-viewer-module__m4L2Da__traceViewerContent.trace-viewer-module__m4L2Da__inert{display:none}.trace-viewer-module__m4L2Da__timeline{width:calc(var(--timeline-width) + 2*var(--timeline-padding));height:var(--timeline-height);-webkit-overflow-scrolling:touch;font-size:13px;position:relative;overflow:scroll}.trace-viewer-module__m4L2Da__zoomButtonTraceViewer{bottom:calc(-12px - var(--search-height) - var(--scrollbar-width));right:calc(var(--scrollbar-width) + 12px);z-index:10;position:absolute}.trace-viewer-module__m4L2Da__spanDetailPanelTraceViewer{right:0;top:calc(var(--search-height) + 2*var(--search-gap) + var(--map-height) + 9px);width:var(--panel-width);height:var(--panel-height);border-top:1px solid var(--ds-gray-200);border-left:1px solid var(--ds-gray-200);background-color:var(--geist-background);z-index:10;margin-top:-1px;position:absolute}.trace-viewer-module__m4L2Da__spanDetailPanelTraceViewer.trace-viewer-module__m4L2Da__hidden{display:none}.trace-viewer-module__m4L2Da__spanDetailPanelTraceViewer.trace-viewer-module__m4L2Da__mobile{--panel-width:calc(var(--timeline-width) + 2*var(--timeline-padding));--panel-height:var(--height);border-left:none;top:0}.trace-viewer-module__m4L2Da__spanRunning,.trace-viewer-module__m4L2Da__spanPending{--span-background:var(--ds-blue-200);--span-border:var(--ds-blue-500);--span-line:var(--ds-blue-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-blue-900)}.trace-viewer-module__m4L2Da__spanCompleted{--span-background:var(--ds-green-200);--span-border:var(--ds-green-500);--span-line:var(--ds-green-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-green-900)}.trace-viewer-module__m4L2Da__spanCancelled,.trace-viewer-module__m4L2Da__spanPaused{--span-background:var(--ds-amber-200);--span-border:var(--ds-amber-500);--span-line:var(--ds-amber-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-amber-900)}.trace-viewer-module__m4L2Da__spanFailed{--span-background:var(--ds-red-200);--span-border:var(--ds-red-500);--span-line:var(--ds-red-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-red-900)}.trace-viewer-module__m4L2Da__spanPendingStriped{--span-background:repeating-linear-gradient(45deg,var(--ds-blue-200),var(--ds-blue-200)10px,color-mix(in srgb,var(--ds-blue-200)70%,white)10px,color-mix(in srgb,var(--ds-blue-200)70%,white)20px);--span-border:var(--ds-blue-500);--span-line:var(--ds-blue-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-blue-900)}.trace-viewer-module__m4L2Da__spanSleep{--span-background:var(--ds-amber-200);--span-border:var(--ds-amber-500);--span-line:var(--ds-amber-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-amber-900)}.trace-viewer-module__m4L2Da__spanHook{--span-background:var(--ds-gray-200);--span-border:var(--ds-gray-500);--span-line:var(--ds-gray-400);--span-text:var(--ds-gray-1000);--span-secondary:var(--ds-gray-900)}.trace-viewer-module__m4L2Da__eventFailed{--event-color:var(--ds-red-600);--span-background:var(--ds-red-100);--span-border:var(--ds-red-500);--span-text:var(--ds-red-900);--span-secondary:var(--ds-red-700)}.trace-viewer-module__m4L2Da__eventRetrying{--event-color:var(--ds-amber-600);--span-background:var(--ds-amber-100);--span-border:var(--ds-amber-500);--span-text:var(--ds-amber-900);--span-secondary:var(--ds-amber-700)}.trace-viewer-module__m4L2Da__eventHook{--event-color:var(--ds-purple-600);--span-background:var(--ds-purple-100);--span-border:var(--ds-purple-500);--span-text:var(--ds-purple-900);--span-secondary:var(--ds-purple-700)}.trace-viewer-module__m4L2Da__eventDefault{--event-color:var(--ds-blue-600);--span-background:var(--ds-blue-100);--span-border:var(--ds-blue-500);--span-text:var(--ds-blue-900);--span-secondary:var(--ds-blue-700)}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,45342,e=>{e.v({alignEnd:"trace-viewer-module__m4L2Da__alignEnd",alignStart:"trace-viewer-module__m4L2Da__alignStart",ancestorDuration:"trace-viewer-module__m4L2Da__ancestorDuration",ancestorLine:"trace-viewer-module__m4L2Da__ancestorLine",ancestorLineContainer:"trace-viewer-module__m4L2Da__ancestorLineContainer",ancestorName:"trace-viewer-module__m4L2Da__ancestorName",ancestorNode:"trace-viewer-module__m4L2Da__ancestorNode",ancestorText:"trace-viewer-module__m4L2Da__ancestorText",buttonLink:"trace-viewer-module__m4L2Da__buttonLink",childRow:"trace-viewer-module__m4L2Da__childRow",collapsed:"trace-viewer-module__m4L2Da__collapsed",color0:"trace-viewer-module__m4L2Da__color0",color1:"trace-viewer-module__m4L2Da__color1",color2:"trace-viewer-module__m4L2Da__color2",color3:"trace-viewer-module__m4L2Da__color3",color4:"trace-viewer-module__m4L2Da__color4",colorHighlight:"trace-viewer-module__m4L2Da__colorHighlight",colorVercel:"trace-viewer-module__m4L2Da__colorVercel",cursorMarker:"trace-viewer-module__m4L2Da__cursorMarker",cursorMarkerContainer:"trace-viewer-module__m4L2Da__cursorMarkerContainer",cursorMarkerLabel:"trace-viewer-module__m4L2Da__cursorMarkerLabel",cursorMarkerLabelContainer:"trace-viewer-module__m4L2Da__cursorMarkerLabelContainer",cursorMarkerStickyParent:"trace-viewer-module__m4L2Da__cursorMarkerStickyParent",cursorSelection:"trace-viewer-module__m4L2Da__cursorSelection",customEventColor:"trace-viewer-module__m4L2Da__customEventColor",detailGroup:"trace-viewer-module__m4L2Da__detailGroup",detailHeading:"trace-viewer-module__m4L2Da__detailHeading",detailHeadingIcon:"trace-viewer-module__m4L2Da__detailHeadingIcon",divider:"trace-viewer-module__m4L2Da__divider",eventDefault:"trace-viewer-module__m4L2Da__eventDefault",eventDiamond:"trace-viewer-module__m4L2Da__eventDiamond",eventFailed:"trace-viewer-module__m4L2Da__eventFailed",eventHook:"trace-viewer-module__m4L2Da__eventHook",eventMarker:"trace-viewer-module__m4L2Da__eventMarker",eventMarkers:"trace-viewer-module__m4L2Da__eventMarkers",eventMarkersContainer:"trace-viewer-module__m4L2Da__eventMarkersContainer",eventName:"trace-viewer-module__m4L2Da__eventName",eventRetrying:"trace-viewer-module__m4L2Da__eventRetrying",eventTimestamp:"trace-viewer-module__m4L2Da__eventTimestamp",hidden:"trace-viewer-module__m4L2Da__hidden",hoverInfo:"trace-viewer-module__m4L2Da__hoverInfo",huge:"trace-viewer-module__m4L2Da__huge",inert:"trace-viewer-module__m4L2Da__inert",infraSpanDescription:"trace-viewer-module__m4L2Da__infraSpanDescription",mapCanvas:"trace-viewer-module__m4L2Da__mapCanvas",mapContainer:"trace-viewer-module__m4L2Da__mapContainer",mapThumb:"trace-viewer-module__m4L2Da__mapThumb",marker:"trace-viewer-module__m4L2Da__marker",markerLabel:"trace-viewer-module__m4L2Da__markerLabel",markers:"trace-viewer-module__m4L2Da__markers",markersContainer:"trace-viewer-module__m4L2Da__markersContainer",mobile:"trace-viewer-module__m4L2Da__mobile",notch:"trace-viewer-module__m4L2Da__notch",note:"trace-viewer-module__m4L2Da__note",searchBar:"trace-viewer-module__m4L2Da__searchBar",searchInput:"trace-viewer-module__m4L2Da__searchInput",searchInputLabel:"trace-viewer-module__m4L2Da__searchInputLabel",searchInputPrefix:"trace-viewer-module__m4L2Da__searchInputPrefix",selected:"trace-viewer-module__m4L2Da__selected",skeleton:"trace-viewer-module__m4L2Da__skeleton",skeletonRounded:"trace-viewer-module__m4L2Da__skeletonRounded",small:"trace-viewer-module__m4L2Da__small","span-skeleton":"trace-viewer-module__m4L2Da__span-skeleton",spanCancelled:"trace-viewer-module__m4L2Da__spanCancelled",spanCompleted:"trace-viewer-module__m4L2Da__spanCompleted",spanDetailPanel:"trace-viewer-module__m4L2Da__spanDetailPanel",spanDetailPanelAttribute:"trace-viewer-module__m4L2Da__spanDetailPanelAttribute",spanDetailPanelAttributeKey:"trace-viewer-module__m4L2Da__spanDetailPanelAttributeKey",spanDetailPanelAttributeValue:"trace-viewer-module__m4L2Da__spanDetailPanelAttributeValue",spanDetailPanelBody:"trace-viewer-module__m4L2Da__spanDetailPanelBody",spanDetailPanelClose:"trace-viewer-module__m4L2Da__spanDetailPanelClose",spanDetailPanelCloseVerticalRule:"trace-viewer-module__m4L2Da__spanDetailPanelCloseVerticalRule",spanDetailPanelCorner:"trace-viewer-module__m4L2Da__spanDetailPanelCorner",spanDetailPanelCornerInner:"trace-viewer-module__m4L2Da__spanDetailPanelCornerInner",spanDetailPanelDuration:"trace-viewer-module__m4L2Da__spanDetailPanelDuration",spanDetailPanelName:"trace-viewer-module__m4L2Da__spanDetailPanelName",spanDetailPanelQuickLink:"trace-viewer-module__m4L2Da__spanDetailPanelQuickLink",spanDetailPanelQuickLinkLabel:"trace-viewer-module__m4L2Da__spanDetailPanelQuickLinkLabel",spanDetailPanelResizer:"trace-viewer-module__m4L2Da__spanDetailPanelResizer",spanDetailPanelTop:"trace-viewer-module__m4L2Da__spanDetailPanelTop",spanDetailPanelTopInfo:"trace-viewer-module__m4L2Da__spanDetailPanelTopInfo",spanDetailPanelTraceViewer:"trace-viewer-module__m4L2Da__spanDetailPanelTraceViewer",spanDetailPanelTruncatedHeading:"trace-viewer-module__m4L2Da__spanDetailPanelTruncatedHeading",spanDuration:"trace-viewer-module__m4L2Da__spanDuration",spanFailed:"trace-viewer-module__m4L2Da__spanFailed",spanHook:"trace-viewer-module__m4L2Da__spanHook",spanName:"trace-viewer-module__m4L2Da__spanName",spanNameDetailPanel:"trace-viewer-module__m4L2Da__spanNameDetailPanel",spanNode:"trace-viewer-module__m4L2Da__spanNode",spanNodeEvent:"trace-viewer-module__m4L2Da__spanNodeEvent",spanPaused:"trace-viewer-module__m4L2Da__spanPaused",spanPending:"trace-viewer-module__m4L2Da__spanPending",spanPendingStriped:"trace-viewer-module__m4L2Da__spanPendingStriped",spanRunning:"trace-viewer-module__m4L2Da__spanRunning",spanSleep:"trace-viewer-module__m4L2Da__spanSleep",spanSpacer:"trace-viewer-module__m4L2Da__spanSpacer",timeline:"trace-viewer-module__m4L2Da__timeline",traceNode:"trace-viewer-module__m4L2Da__traceNode",traceViewer:"trace-viewer-module__m4L2Da__traceViewer",traceViewerContent:"trace-viewer-module__m4L2Da__traceViewerContent",unlit:"trace-viewer-module__m4L2Da__unlit",xHover:"trace-viewer-module__m4L2Da__xHover","zoom-buttons-fade-in":"trace-viewer-module__m4L2Da__zoom-buttons-fade-in",zoomButton:"trace-viewer-module__m4L2Da__zoomButton",zoomButtonGroup:"trace-viewer-module__m4L2Da__zoomButtonGroup",zoomButtonTraceViewer:"trace-viewer-module__m4L2Da__zoomButtonTraceViewer"})},3222,e=>{e.v(e.b(["static/chunks/125dc6396d8c7614.js","static/chunks/turbopack-511fe75cd918d1a5.js"]))},19303,25449,12603,60088,6886,31875,95547,69764,e=>{"use strict";var t=e.i(3334),r=e.i(3614);let a=(0,e.i(86288).default)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",()=>a],25449);var n=e.i(84705),s=e.i(56944),l=e.i(60218),i=e.i(65458);let o=n.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...r}));o.displayName="Card";let c=n.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",e),...r}));c.displayName="CardHeader";let d=n.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",e),...r}));d.displayName="CardTitle",n.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("text-sm text-muted-foreground",e),...r})).displayName="CardDescription";let u=n.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("p-6 pt-0",e),...r}));u.displayName="CardContent",n.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:(0,i.cn)("flex items-center p-6 pt-0",e),...r})).displayName="CardFooter",e.s(["Card",()=>o,"CardContent",()=>u,"CardHeader",()=>c,"CardTitle",()=>d],12603);class m extends n.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error("Error caught by boundary:",e,t)}handleReset=()=>{this.setState({hasError:!1,error:null})};render(){return this.state.hasError&&this.state.error?this.props.fallback?this.props.fallback(this.state.error,this.handleReset):(0,t.jsxs)(o,{className:"border-destructive/50 bg-destructive/5",children:[(0,t.jsx)(c,{children:(0,t.jsxs)(d,{className:"flex items-center gap-2 text-destructive",children:[(0,t.jsx)(r.AlertCircle,{className:"h-5 w-5"}),this.props.title||"Error"]})}),(0,t.jsxs)(u,{className:"space-y-4",children:[(0,t.jsxs)(s.Alert,{variant:"destructive",children:[(0,t.jsx)(r.AlertCircle,{className:"h-4 w-4"}),(0,t.jsx)(s.AlertTitle,{children:"Something went wrong"}),(0,t.jsx)(s.AlertDescription,{children:this.props.description||"An unexpected error occurred in this section."})]}),(0,t.jsxs)("div",{className:"bg-muted p-3 rounded-md text-sm font-mono text-muted-foreground overflow-auto max-h-48",children:[(0,t.jsx)("div",{className:"text-xs font-semibold mb-2",children:"Error details:"}),(0,t.jsx)("div",{className:"whitespace-pre-wrap break-words text-xs",children:this.state.error.message}),this.state.error.stack&&(0,t.jsx)("div",{className:"mt-2 opacity-60 text-xs",children:this.state.error.stack})]}),!1!==this.props.showReset&&(0,t.jsxs)(l.Button,{variant:"outline",size:"sm",onClick:this.handleReset,className:"gap-2",children:[(0,t.jsx)(a,{className:"h-4 w-4"}),"Try again"]})]})]}):this.props.children}}function h(e,t){if("string"!=typeof t)return null;let[r,a,...n]=t.split("//");if(r!==e||!a||0===n.length)return null;let s=n.at(-1)??"",l=n.join("//"),i=(a.split("/").at(-1)??"").split(".").at(0)??"";return["default","__default"].includes(s)&&i&&(s=i),{shortName:s,path:a,functionName:l}}function f(e){return h("workflow",e)}function p(e){return h("step",e)}e.s(["ErrorBoundary",()=>m],19303),e.s(["parseStepName",()=>p,"parseWorkflowName",()=>f],60088);var v=e.i(7284),w=e.i(84212);function g(...e){return(0,w.twMerge)((0,v.clsx)(e))}function _(e,t,r){return r?`Page ${e} of ${t}+`:`Page ${e} of ${t}`}var x=e.i(19911),y=(0,x.createServerReference)("6047ee636f7990a0196eaef756fb50484ae8d9593d",x.callServer,void 0,x.findSourceMapURL,"cancelRun"),b=(0,x.createServerReference)("70b07885a8aa3b0fb278296b7a04692db6b0769128",x.callServer,void 0,x.findSourceMapURL,"fetchEvents"),k=(0,x.createServerReference)("70f506d3e7ec39ae905a1f67a3a9dc7afe59188b90",x.callServer,void 0,x.findSourceMapURL,"fetchEventsByCorrelationId");e.s(["fetchEventsByCorrelationId",()=>k],6886);var j=(0,x.createServerReference)("70c0ec6d6d0c65573d206836358cd160f397a8d936",x.callServer,void 0,x.findSourceMapURL,"fetchHook"),L=(0,x.createServerReference)("60df0db10549a1f80823ff4952c35de9944489c7d9",x.callServer,void 0,x.findSourceMapURL,"fetchHooks"),D=(0,x.createServerReference)("702b58cdb0e3fea4d5c166d12eb9a4d56514a7906f",x.callServer,void 0,x.findSourceMapURL,"fetchRun"),S=(0,x.createServerReference)("605182142f891d89e4c0555475fee27f9b074fdf8c",x.callServer,void 0,x.findSourceMapURL,"fetchRuns"),N=(0,x.createServerReference)("786efa9ac298acede46c81f4b1f928ec71f039709f",x.callServer,void 0,x.findSourceMapURL,"fetchStep"),M=(0,x.createServerReference)("701c4be22594ab998772498ff3c555ed8217ff984e",x.callServer,void 0,x.findSourceMapURL,"fetchSteps"),C=(0,x.createServerReference)("707f335fc4756d24b28b1aecaf253ec3d3c360edd1",x.callServer,void 0,x.findSourceMapURL,"readStreamServerAction"),T=(0,x.createServerReference)("60b4c80cdba6809b0e657b80f7bc428132df364129",x.callServer,void 0,x.findSourceMapURL,"recreateRun");function R(e){if(!e.success){var t;if(!e.error)throw new I("Unknown error occurred",{layer:"client"});throw new I((t=e.error).message,{cause:t.cause,request:t.request,layer:t.layer})}return e.data}class I extends Error{request;layer;constructor(e,t){super(e,{cause:t?.cause}),this.name="WorkflowAPIError",this.request=t?.request,this.layer=t?.layer,t?.cause instanceof Error&&(this.stack=`${this.stack}
|
|
2
|
-
Caused by: ${t.cause.stack}`)}}function E(e,t){let{workflowName:r,status:a,limit:s=10,sortOrder:l="desc"}=t,[i,o]=(0,n.useState)(void 0),[c,d]=(0,n.useState)(!1),[u,m]=(0,n.useState)(0),[h,f]=(0,n.useState)([void 0]),[p,v]=(0,n.useState)(1),[w,g]=(0,n.useState)(new Map([[0,{data:null,isLoading:!0,error:null}]])),x=(0,n.useRef)(new Map),y=(0,n.useCallback)(async(t,n,i=!1)=>{let c=n??"initial";if(g(e=>{let r=new Map(e);return r.set(t,{data:e.get(t)?.data??null,isLoading:!0,error:null}),r}),!i&&x.current.has(c)){let e=x.current.get(c);if(e){g(r=>{let a=new Map(r);return a.set(t,{data:e.data,isLoading:!1,error:null}),a}),o(e.cursor),d(e.hasMore);return}}try{let i=await S(e,{cursor:n,sortOrder:l,limit:s,workflowName:r,status:a}),u=R(i);x.current.set(c,{data:u.data,cursor:u.cursor,hasMore:u.hasMore}),g(e=>{let r=new Map(e);return r.set(t,{data:u.data,isLoading:!1,error:null}),r}),o(u.cursor),d(u.hasMore)}catch(r){let e=r instanceof I?r:r instanceof Error?new I(r.message,{cause:r,layer:"client"}):new I(String(r),{layer:"client"});g(r=>{let a=new Map(r);return a.set(t,{data:r.get(t)?.data??null,isLoading:!1,error:e}),a})}},[e,r,s,l,a]);(0,n.useEffect)(()=>{y(0,void 0,!0)},[y,l,e,s,r,a]);let b=(0,n.useCallback)(()=>{if(c&&i){let e=u+1;f(e=>[...e,i]),m(e),v(t=>Math.max(t,e+1)),w.has(e)||g(t=>{let r=new Map(t);return r.set(e,{data:null,isLoading:!0,error:null}),r}),y(e,i)}},[c,i,y,u,w]),k=(0,n.useCallback)(()=>{if(u>0){let e=u-1,t=h[e];m(e),y(e,t)}},[u,h,y]),j=(0,n.useCallback)(()=>{x.current.clear(),g(new Map([[0,{data:null,isLoading:!0,error:null}]])),m(0),f([void 0]),v(1),y(0,void 0,!0)},[y]),L=w.get(u)??{data:null,isLoading:!0,error:null},D=Array.from(w.values()).find(e=>e.error)?.error??null,N=Array.from(w.values()).some(e=>e.isLoading),M=c?u+2:u+1,C=u+1,T=_(C,p,C===p&&c);return{data:L,allData:Array.from(w.values()),error:D,isLoading:N,currentPage:u,totalPages:M,nextPage:b,previousPage:k,hasNextPage:c,hasPreviousPage:u>0,reload:j,pageInfo:T}}function A(e,t){let{runId:r,limit:a=10,sortOrder:s="desc"}=t,[l,i]=(0,n.useState)(void 0),[o,c]=(0,n.useState)(!1),[d,u]=(0,n.useState)(0),[m,h]=(0,n.useState)([void 0]),[f,p]=(0,n.useState)(1),[v,w]=(0,n.useState)(new Map([[0,{data:null,isLoading:!0,error:null}]])),g=(0,n.useRef)(new Map),x=(0,n.useCallback)(async(t,n,l=!1)=>{let o=n??"initial";if(w(e=>{let r=new Map(e);return r.set(t,{data:e.get(t)?.data??null,isLoading:!0,error:null}),r}),!l&&g.current.has(o)){let e=g.current.get(o);if(e){w(r=>{let a=new Map(r);return a.set(t,{data:e.data,isLoading:!1,error:null}),a}),i(e.cursor),c(e.hasMore);return}}try{let l=await L(e,{runId:r,cursor:n,sortOrder:s,limit:a}),d=R(l);g.current.set(o,{data:d.data,cursor:d.cursor,hasMore:d.hasMore}),w(e=>{let r=new Map(e);return r.set(t,{data:d.data,isLoading:!1,error:null}),r}),i(d.cursor),c(d.hasMore)}catch(r){let e=r instanceof I?r:r instanceof Error?new I(r.message,{cause:r,layer:"client"}):new I(String(r),{layer:"client"});w(r=>{let a=new Map(r);return a.set(t,{data:r.get(t)?.data??null,isLoading:!1,error:e}),a})}},[e,r,a,s]);(0,n.useEffect)(()=>{x(0,void 0)},[x]);let y=(0,n.useCallback)(()=>{if(o&&l){let e=d+1;h(e=>[...e,l]),u(e),p(t=>Math.max(t,e+1)),v.has(e)||w(t=>{let r=new Map(t);return r.set(e,{data:null,isLoading:!0,error:null}),r}),x(e,l)}},[o,l,x,d,v]),b=(0,n.useCallback)(()=>{if(d>0){let e=d-1,t=m[e];u(e),x(e,t)}},[d,m,x]),k=(0,n.useCallback)(()=>{g.current.clear(),w(new Map([[0,{data:null,isLoading:!0,error:null}]])),u(0),h([void 0]),p(1),x(0,void 0,!0)},[x]),j=v.get(d)??{data:null,isLoading:!0,error:null},D=Array.from(v.values()).find(e=>e.error)?.error??null,S=Array.from(v.values()).some(e=>e.isLoading),N=o?d+2:d+1,M=d+1,C=_(M,f,M===f&&o);return{data:j,allData:Array.from(v.values()),error:D,isLoading:S,currentPage:d,totalPages:N,nextPage:y,previousPage:b,hasNextPage:o,hasPreviousPage:d>0,reload:k,pageInfo:C}}async function P(e,t){let r,a=[];for(;;){let n=R(await M(e,t,{cursor:r,sortOrder:"asc",limit:100}));if(a=[...a,...n.data],!n.hasMore||!n.cursor||a.length>=1e3)break;r=n.cursor}return{data:a,cursor:r}}async function H(e,t){let r,a=[];for(;;){let n=R(await L(e,{runId:t,cursor:r,sortOrder:"asc",limit:100}));if(a=[...a,...n.data],!n.hasMore||!n.cursor||a.length>=1e3)break;r=n.cursor}return{data:a,cursor:r}}async function F(e,t){let r,a=[];for(;;){let n=R(await b(e,t,{cursor:r,sortOrder:"asc",limit:1e3}));if(a=[...a,...n.data],!n.hasMore||!n.cursor||a.length>=1e3)break;r=n.cursor}return{data:a,cursor:r}}function W(e,t,r={}){let{live:a=!1}=r,[s,l]=(0,n.useState)(null),[i,o]=(0,n.useState)([]),[c,d]=(0,n.useState)([]),[u,m]=(0,n.useState)([]),[h,f]=(0,n.useState)(!0),[p,v]=(0,n.useState)(!1),[w,g]=(0,n.useState)(null),[_,x]=(0,n.useState)(),[y,k]=(0,n.useState)(),[j,S]=(0,n.useState)(),N=(0,n.useRef)(!1),[C,T]=(0,n.useState)(!1),E=(0,n.useCallback)(async()=>{if(N.current)return;N.current=!0,f(!0),v(!0),g(null);let r=[D(e,t).then(e=>{f(!1),l(R(e))}),P(e,t).then(e=>{o(e.data),x(e.cursor)}),H(e,t).then(e=>{d(e.data),k(e.cursor)}),F(e,t).then(e=>{m(e.data),S(e.cursor)})];try{await Promise.all(r)}catch(e){g(e instanceof I?e:e instanceof Error?new I(e.message,{cause:e,layer:"client"}):new I(String(e),{layer:"client"}))}finally{f(!1),v(!1),N.current=!1,T(!0)}},[e,t]),A=(0,n.useCallback)((e,t)=>Array.from(new Map([...e,...t].map(e=>[e.stepId,e])).values()),[]),V=(0,n.useCallback)((e,t)=>Array.from(new Map([...e,...t].map(e=>[e.hookId,e])).values()),[]),$=(0,n.useCallback)((e,t)=>Array.from(new Map([...e,...t].map(e=>[e.eventId,e])).values()),[]),B=(0,n.useCallback)(async()=>!s?.completedAt&&(l(R(await D(e,t))),!0),[e,t,s?.completedAt]),O=(0,n.useCallback)(async()=>{let r=R(await M(e,t,{cursor:_,sortOrder:"asc",limit:10}));return r.data.length>0&&(o(e=>A(e,r.data)),r.cursor&&x(r.cursor),!0)},[e,t,_,A]),q=(0,n.useCallback)(async()=>{let r=R(await L(e,{runId:t,cursor:y,sortOrder:"asc",limit:10}));return r.data.length>0&&(d(e=>V(e,r.data)),r.cursor&&k(r.cursor),!0)},[e,t,y,V]),z=(0,n.useCallback)(async()=>{let r=R(await b(e,t,{cursor:j,sortOrder:"asc",limit:10}));return r.data.length>0&&(m(e=>$(e,r.data)),r.cursor&&S(r.cursor),!0)},[e,t,j,$]),U=(0,n.useCallback)(async(e=!1)=>{if(N.current||!C)return{foundNewItems:!1};let t=!1;try{let[r,a,n,s]=await Promise.all([e?Promise.resolve(!1):B(),O(),e?Promise.resolve(!1):q(),e?Promise.resolve(!1):z()]);t=a||n||s}catch(e){console.error("Update error:",e)}return{foundNewItems:t}},[O,q,z,C,B]);return(0,n.useEffect)(()=>{E()},[E]),(0,n.useEffect)(()=>{if(!a||!C||s?.completedAt)return;let e=setInterval(()=>{U()},5e3),t=setInterval(()=>{U(!0)},2e3);return()=>{clearInterval(e),clearInterval(t)}},[a,C,U,s?.completedAt]),{run:s??{},steps:i,hooks:c,events:u,loading:h,auxiliaryDataLoading:p,error:w,update:U}}async function V(e,t,r,a={}){let n,s,l=a.resolveData??"all";if("run"===t)s=(n=R(await D(e,r,l))).runId;else if("step"===t){let{runId:t}=a;if(!t)throw new I("runId is required for step resource",{layer:"client"});s=(n=R(await N(e,t,r,l))).stepId}else if("hook"===t)s=(n=R(await j(e,r,l))).hookId;else throw new I(`Unknown resource type: ${t}`,{layer:"client"});return{data:n,correlationId:s}}function $(e,t,r,a={}){let{refreshInterval:s=0,runId:l}=a,[i,o]=(0,n.useState)(null),[c,d]=(0,n.useState)(!0),[u,m]=(0,n.useState)(null),h=(0,n.useCallback)(async()=>{d(!0),o(null),m(null);try{if("sleep"===t){let t=await k(e,r,{sortOrder:"asc",limit:100,withData:!0}),a=R(t).data.find(e=>"wait_created"===e.eventType);a&&o({waitId:a.correlationId,runId:a.runId,createdAt:a.createdAt,resumeAt:a.eventData.resumeAt});return}let{data:a}=await V(e,t,r,{runId:l});if(o(a),"run"===t)return void d(!1)}catch(e){m(e instanceof I?e:e instanceof Error?new I(e.message,{cause:e,layer:"client"}):new I(String(e),{layer:"client"}))}finally{d(!1)}},[e,t,r,l]);return(0,n.useEffect)(()=>{h()},[h]),(0,n.useEffect)(()=>{if(!s||s<=0)return;let e=setInterval(h,s);return()=>clearInterval(e)},[s,h]),{data:i,loading:c,error:u,refresh:h}}async function B(e,t){try{let r=await y(e,t);R(r)}catch(e){if(console.error("Error canceling run:",e),e instanceof I)throw e;throw new I(e instanceof Error?e.message:"Failed to cancel run",{cause:e,layer:"client"})}}async function O(e,t){try{let r=await T(e,t);return R(r)}catch(e){if(console.error("Error starting run:",e),e instanceof I)throw e;throw new I(e instanceof Error?e.message:"Failed to start run",{cause:e,layer:"client"})}}async function q(e,t,r){try{let a=await C(e,t,r);return R(a)}catch(e){if(console.error("Error reading stream:",e),e instanceof I)throw e;throw new I(e instanceof Error?e.message:"Failed to read stream",{cause:e,layer:"client"})}}e.s(["cancelRun",()=>B,"getErrorMessage",0,e=>"layer"in e&&e.layer?e instanceof I&&e.request?.status===403?"Your current Vercel account does not have access to this data. Please use `vercel login` to log in, or use `vercel switch` to ensure you can access the correct team.":e.message:e instanceof Error?e.message:"An error occurred","readStream",()=>q,"recreateRun",()=>O,"useWorkflowHooks",()=>A,"useWorkflowResourceData",()=>$,"useWorkflowRuns",()=>E,"useWorkflowTraceViewerData",()=>W],31875);var z=e.i(6746);function U({className:e,...r}){return(0,t.jsx)("div",{className:g("animate-pulse rounded-md bg-muted",e),...r})}var K=e.i(35468);let X=(0,e.i(94237).cva)("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),G=n.forwardRef(({className:e,variant:r,...a},n)=>(0,t.jsx)("div",{ref:n,role:"alert",className:g(X({variant:r}),e),...a}));G.displayName="Alert";let Q=n.forwardRef(({className:e,...r},a)=>(0,t.jsx)("h5",{ref:a,className:g("mb-1 font-medium leading-none tracking-tight",e),...r}));Q.displayName="AlertTitle";let Z=n.forwardRef(({className:e,...r},a)=>(0,t.jsx)("div",{ref:a,className:g("text-sm [&_p]:leading-relaxed",e),...r}));function Y(e){if("string"==typeof e&&(e=new Date(e)),!e||!(e instanceof Date))return[0,0];let t=e.getTime();return[Math.floor(t/1e3),t%1e3*1e6]}function J(e){return 1e3*e[0]+e[1]/1e6}function ee(e,t){if("string"==typeof e&&(e=new Date(e)),"string"==typeof t&&(t=new Date(t)),!e||!(e instanceof Date))return[0,0];let r=(t&&t instanceof Date?t:new Date).getTime()-e.getTime();return[Math.floor(r/1e3),r%1e3*1e6]}Z.displayName="AlertDescription";let et={name:"workflow-development-kit",version:"4.0.0"},er=new Set(["hook_created","hook_received","hook_disposed","step_retrying","step_failed","workflow_failed","wait_created","wait_completed"]);function ea(e,t=!0){return e.filter(e=>!t||er.has(e.eventType)).map(e=>{var t;return{name:e.eventType,timestamp:Y(e.createdAt),attributes:{eventId:e.eventId,correlationId:e.correlationId,eventData:"eventData"in e?e.eventData:void 0},showVerticalLine:"hook_created"===(t=e.eventType)||"hook_received"===t||"hook_disposed"===t}})}function en({summary:e,children:r}){return(0,t.jsxs)("details",{className:"group",children:[(0,t.jsx)("summary",{className:"cursor-pointer rounded-md border px-3 py-2 text-copy-14 hover:brightness-95",style:{borderColor:"var(--ds-gray-300)",backgroundColor:"var(--ds-gray-100)",color:"var(--ds-gray-900)"},children:e}),(0,t.jsx)("div",{className:"p-2",children:r})]})}let es=e=>(0,t.jsx)("pre",{className:"text-copy-12 overflow-x-auto rounded-md border p-4",style:{borderColor:"var(--ds-gray-300)",backgroundColor:"var(--ds-gray-100)",color:"var(--ds-gray-1000)"},children:(0,t.jsx)("code",{children:JSON.stringify(e,null,2)})}),el=["workflowName","stepName","status","stepId","hookId","eventId","runId","attempt","token","correlationId","eventType","deploymentId","ownerId","projectId","environment","executionContext","createdAt","startedAt","updatedAt","completedAt","retryAfter","error","metadata","eventData","input","output","resumeAt"],ei=(e,t)=>(el.indexOf(e)||0)-(el.indexOf(t)||0),eo={workflowName:e=>f(String(e))?.shortName??"?",stepName:e=>p(String(e))?.shortName??"?",runId:e=>String(e),stepId:e=>String(e),hookId:e=>String(e),eventId:e=>String(e),status:e=>String(e),attempt:e=>String(e),token:e=>String(e),eventType:e=>String(e),correlationId:e=>String(e),deploymentId:e=>String(e),ownerId:e=>null,projectId:e=>null,environment:e=>null,executionContext:e=>null,createdAt:e=>new Date(String(e)).toLocaleString(),startedAt:e=>new Date(String(e)).toLocaleString(),updatedAt:e=>new Date(String(e)).toLocaleString(),completedAt:e=>new Date(String(e)).toLocaleString(),retryAfter:e=>new Date(String(e)).toLocaleString(),resumeAt:e=>new Date(String(e)).toLocaleString(),metadata:es,input:e=>{if(e&&"object"==typeof e&&"args"in e){let{args:r,closureVars:a}=e,n=Array.isArray(r)?r.length:0,s=a&&Object.keys(a).length>0;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(en,{summary:`Input (${n} arguments)`,children:Array.isArray(r)?r.map((e,r)=>(0,t.jsx)("div",{className:"mt-2",children:es(e)},r)):es(r)}),s&&(0,t.jsx)(en,{summary:"Closure Variables",children:es(a)})]})}let r=Array.isArray(e)?e.length:0;return(0,t.jsx)(en,{summary:`Input (${r} arguments)`,children:Array.isArray(e)?e.map((e,r)=>(0,t.jsx)("div",{className:"mt-2",children:es(e)},r)):es(e)})},output:e=>(0,t.jsx)(en,{summary:"Output",children:es(e)}),error:e=>e&&"object"==typeof e&&"message"in e?(0,t.jsx)(en,{summary:"Error",children:(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[e.code&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"text-copy-12 font-medium",style:{color:"var(--ds-gray-700)"},children:["Error Code:"," "]}),(0,t.jsx)("code",{className:"text-copy-12",style:{color:"var(--ds-gray-1000)"},children:e.code})]}),(0,t.jsx)("pre",{className:"text-copy-12 overflow-x-auto rounded-md border p-4",style:{borderColor:"var(--ds-gray-300)",backgroundColor:"var(--ds-gray-100)",color:"var(--ds-gray-1000)",whiteSpace:"pre-wrap"},children:(0,t.jsx)("code",{children:e.stack||e.message})})]})}):(0,t.jsx)(en,{summary:"Error",children:(0,t.jsx)("pre",{className:"text-copy-12 overflow-x-auto rounded-md border p-4",style:{borderColor:"var(--ds-gray-300)",backgroundColor:"var(--ds-gray-100)",color:"var(--ds-gray-1000)",whiteSpace:"pre-wrap"},children:(0,t.jsx)("code",{children:String(e)})})}),eventData:e=>(0,t.jsx)(en,{summary:"Event Data",children:es(e)})},ec=["input","output","error","metadata","eventData"],ed=({attribute:e,value:r,isLoading:a})=>{let n=eo[e];if(!n)return null;let s=n(r);return s?(0,t.jsxs)("div",{className:"relative",children:["boolean"==typeof a&&a&&(0,t.jsx)("div",{className:"absolute top-9 right-4",children:(0,t.jsx)("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2",style:{borderColor:"var(--ds-gray-900)"}})}),(0,t.jsxs)("div",{className:"flex flex-col gap-0 my-2",children:[(0,t.jsx)("span",{className:"font-medium",style:{color:"var(--ds-gray-500)"},children:e}),(0,t.jsx)("span",{style:{color:"var(--ds-gray-1000)"},children:s})]},e)]}):null},eu=({data:e,isLoading:a,error:n})=>{let s=Object.keys(e).filter(e=>!ec.includes(e)).sort(ei),l=Object.keys(e).filter(e=>ec.includes(e)).sort(ei);return(0,t.jsxs)("div",{children:[s.map(r=>(0,t.jsx)(ed,{attribute:r,value:e[r]},r)),n?(0,t.jsxs)(G,{variant:"destructive",className:"my-4",children:[(0,t.jsx)(r.AlertCircle,{className:"h-4 w-4"}),(0,t.jsx)(Q,{children:"Failed to load resource details"}),(0,t.jsx)(Z,{className:"text-sm",children:n.message})]}):l.map(r=>(0,t.jsx)(ed,{isLoading:a,attribute:r,value:e[r]},r))]})};function em({correlationId:e,env:a,events:s}){let l=(0,n.useCallback)(()=>k(a,e,{sortOrder:"asc",limit:100,withData:!0}).then(e=>{if(!e.success)throw Error(e.error?.message||"Failed to fetch events");return ea(e.data.data||[],!1)}),[a,e]),{data:i,error:o,isLoading:c}=(0,K.default)(["workflow","events",e],l,{fallbackData:s,revalidateOnFocus:!1}),d=(i?.length?i:s)||[];return(0,t.jsxs)("div",{className:"mt-2",style:{color:"var(--ds-gray-1000)"},children:[(0,t.jsxs)("h3",{className:"text-heading-16 font-medium mt-4 mb-2",style:{color:"var(--ds-gray-1000)"},children:["Events ",!c&&`(${d.length})`]}),o?(0,t.jsxs)(G,{variant:"destructive",className:"my-4",children:[(0,t.jsx)(r.AlertCircle,{className:"h-4 w-4"}),(0,t.jsx)(Q,{children:"Failed to load event data"}),(0,t.jsx)(Z,{className:"text-sm",children:o.message})]}):null,c?(0,t.jsx)("div",{children:"Loading events..."}):null,!c&&!o&&0===d.length&&(0,t.jsx)("div",{className:"text-sm",children:"No events found"}),d.length>0&&!o?(0,t.jsx)("div",{className:"flex flex-col gap-2",children:d.map((e,r)=>(0,t.jsx)(en,{summary:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-medium",style:{color:"var(--ds-gray-1000)"},children:e.name})," ","-"," ",(0,t.jsx)("span",{style:{color:"var(--ds-gray-700)"},children:new Date(1e3*e.timestamp[0]+e.timestamp[1]/1e6).toLocaleString()})]}),children:(0,t.jsxs)("div",{className:"mt-2 px-4",children:[Object.entries(e.attributes).filter(([e])=>"eventData"!==e).map(([e,r])=>(0,t.jsx)(ed,{attribute:e,value:r},e)),(0,t.jsxs)("div",{className:"relative",children:[o&&(0,t.jsx)("div",{children:"Error loading event data"}),!o&&!c&&e.attributes.eventData&&(0,t.jsx)(ed,{isLoading:c,attribute:"eventData",value:e.attributes.eventData})]})]})},`${e.name}-${r}`))}):null]})}let eh={root:{startTime:0,endTime:1,duration:1,depth:0,children:[]},spanMap:{},resourceMap:{},filter:"",selected:null,baseScale:1,scaleRatio:1,scale:1,width:640,height:480,timelineWidth:640,timelineHeight:480,panelWidth:380,panelHeight:480,scrollbarWidth:0,timelineRef:{current:null},scrollSnapshotRef:{current:void 0},memoCacheRef:{current:new Map},getQuickLinks:()=>[],withPanel:!1,isMobile:!1,customPanelComponent:null},ef=e=>(e.width-e.scrollbarWidth-Number(!!(e.selected&&e.withPanel))*e.panelWidth)/e.root.duration,ep=(0,n.createContext)({state:eh,dispatch:()=>{}});ep.displayName="TraceViewerContext";let ev=(e,t)=>{switch(t.type){case"setRoot":return e.scrollSnapshotRef.current=void 0,e.memoCacheRef.current.clear(),ev({...e,root:t.root,spanMap:t.spanMap,resourceMap:Object.fromEntries(t.resources.map(({name:e,attributes:t})=>[e,t]))},{type:"detectBaseScale"});case"setSize":{let r=t.height-56-40-24,a=e.withPanel&&t.width<=768,n={...e,width:t.width,height:t.height,timelineWidth:t.width-Number(!!(e.selected&&e.withPanel&&!a))*e.panelWidth,timelineHeight:r,panelHeight:r,isMobile:a};return n.width!==e.width&&(n=ev(n,{type:"detectBaseScale"})),n}case"setPanelWidth":{let r=Math.max(240,Math.min(t.width,e.width-240));return{...e,timelineWidth:e.width-r,panelWidth:r}}case"setFilter":return{...e,filter:t.filter};case"deselect":return ev({...e,selected:null,timelineWidth:e.width},{type:"minScale"});case"select":{let r=e.spanMap[t.id];if(!r)return e;return{...e,selected:r,timelineWidth:e.width-(e.withPanel&&!e.isMobile?e.panelWidth:0)}}case"escape":if(e.selected)return ev(e,{type:"deselect"});return ev(e,{type:"resetScale"});case"toggleSelection":{let r=e;if(e.selected&&(r=ev(r,{type:"deselect"})),e.selected?.span.spanId===t.id)return r;return ev(r,{type:"select",id:t.id})}case"detectBaseScale":{let t=(e.width-e.scrollbarWidth)/e.root.duration;return{...e,baseScale:t,scale:t*e.scaleRatio}}case"setScale":return{...e,scaleRatio:t.scale,scale:e.baseScale*t.scale};case"resetScale":return ev(e,{type:"scaleToRange",t1:e.root.startTime,t2:e.root.endTime});case"scaleToNode":{let r=e.spanMap[t.id];if(!r)return e;return ev(ev(e,{type:"setScale",scale:(e.width-e.scrollbarWidth-(e.withPanel&&!e.isMobile?e.panelWidth:0))/r.duration/e.baseScale}),{type:"setScrollSnapshot",anchorT:r.startTime-e.root.startTime,anchorX:0})}case"scaleToRange":{let r=Math.abs(t.t1-t.t2);return ev(ev(e,{type:"setScale",scale:(e.width-e.scrollbarWidth-(e.selected&&e.withPanel?e.panelWidth:0))/r/e.baseScale}),{type:"setScrollSnapshot",anchorT:Math.min(t.t1,t.t2)-e.root.startTime,anchorX:0})}case"adjustScaleRatio":{let{scaleRatio:r}=e;switch(t.direction){case -1:r*=.8;break;case 1:r*=1.25;break;default:r=1}let a=e.timelineRef.current;if(!a)return console.warn("timelineRef is null"),e;let{clientWidth:n,scrollLeft:s}=a;return ev(ev({...e,scaleRatio:r,scale:e.baseScale*r},{type:"minScale"}),{type:"setScrollSnapshot",anchorT:(s+.5*n)/e.scale,anchorX:.5*n})}case"trackpadScale":{let r=Math.max(ef(e)/e.baseScale,e.scaleRatio*(1+.2*Math.sign(t.delta)*Math.sqrt(Math.abs(t.delta))));return ev({...e,scaleRatio:r,scale:e.baseScale*r},{type:"setScrollSnapshot",anchorT:t.anchorT,anchorX:t.anchorX})}case"minScale":{let t=ef(e);if(e.scale>=t)return e;return{...e,scale:t,scaleRatio:t/e.baseScale}}case"setScrollSnapshot":{let r=e.timelineRef.current;if(!r)return e;let{anchorT:a,anchorX:n}=t,s=a*e.scale-n,{scrollTop:l}=r,i=(l-24-8)/26,o=i+Math.ceil(e.timelineHeight/26);return e.scrollSnapshotRef.current={anchorT:a,anchorX:n,scrollLeft:s,scrollTop:l,startTime:e.root.startTime+s/e.scale,endTime:e.root.startTime+(s+e.timelineWidth)/e.scale,startRow:i,endRow:o,scale:e.scale},e}case"setWithPanel":if(e.withPanel===t.withPanel)return e;return{...e,withPanel:t.withPanel};case"forceRender":return e.memoCacheRef.current.set("",{}),{...e}}};function ew({getQuickLinks:e,withPanel:r=!1,children:a,customSpanClassNameFunc:s,customSpanEventClassNameFunc:l,customPanelComponent:i=null}){let o=(0,n.useRef)(null),c=(0,n.useRef)(void 0),d=(0,n.useRef)(e);d.current=e;let u=(0,n.useRef)(new Map),m=(0,n.useRef)(new Map),[h,f]=(0,n.useReducer)(ev,eh,e=>({...e,scrollbarWidth:(()=>{if(!("document"in globalThis))return 0;let e=document.createElement("div");e.style.width="400px",e.style.height="400px",e.style.overflow="scroll",document.body.appendChild(e);let t=400-e.scrollWidth;return e.remove(),t})(),timelineRef:o,scrollSnapshotRef:c,customSpanClassNameFunc:s,customSpanEventClassNameFunc:l,customPanelComponent:i,memoCacheRef:u,withPanel:r,getQuickLinks:e=>{let t=e.spanId,r=m.current.get(t);if(r)return r;let a=d.current?.(e)||[];return m.current.set(t,a),a}}));(0,n.useEffect)(()=>f({type:"setWithPanel",withPanel:r}),[r]);let p=(0,n.useMemo)(()=>({state:h,dispatch:f}),[h,f]);return(0,t.jsx)(ep.Provider,{value:p,children:a})}let eg=()=>(0,n.useContext)(ep);var e_=e.i(45342),ex=e.i(64511);let ey=(e,t)=>e.duration*t>=500,eb=e=>e.isVercel?String(e_.default.colorVercel):String(e_.default[`color${e.resourceIndex%5}`]),ek=(e,t)=>{let r=ey(e,t),a=e.isHovered&&!r&&!1!==e.isHighlighted;return(0,v.clsx)(e_.default.spanNode,r&&e_.default.huge,e.duration*t<64&&e_.default.small,e.isSelected&&e_.default.selected,a&&e_.default.xHover,e.isHighlighted?e_.default.colorHighlight:eb(e),!1===e.isHighlighted&&e_.default.unlit)},ej=(0,n.memo)(function({root:e,scale:r,spans:a,scrollSnapshotRef:n,cache:s,customSpanClassNameFunc:l,customSpanEventClassNameFunc:i}){return a.map(a=>(0,t.jsx)(eL,{cacheKey:s.get(a.span.spanId),customSpanEventClassNameFunc:i,customSpanClassNameFunc:l,node:a,root:e,scale:r,scrollSnapshotRef:n},a.span.spanId))}),eL=(0,n.memo)(function({node:e,root:r,scale:a,scrollSnapshotRef:s,customSpanClassNameFunc:l,customSpanEventClassNameFunc:i}){let o=(0,n.useRef)(null);e.ref=o;let{span:c}=e,d=e.isInstrumentationHint?"Get Started":(0,ex.formatDuration)(e.duration),u=(e.startTime-r.startTime)*a,m=24+26*e.row,h=e.duration*a,f=Math.max(h,4),p=24,w=ey(e,a),g=h<64,_=e.isHovered&&!w&&!1!==e.isHighlighted;g&&!_&&(p*=.4,m+=(24-p)*.5);let x=!1;if(_){let{duration:t,endTime:a}=r,n=s.current;n&&(t=n.endTime-n.startTime,a=n.endTime),x=a-e.startTime<.25*t}let y=l?l(e):"";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{"aria-label":`${c.name} - ${d}`,className:(0,v.clsx)(ek(e,a),y),"data-span-id":c.spanId,"data-start-time":e.startTime-r.startTime,"data-right-side":x,ref:o,style:{"--span-width":`${Math.max(h,1)}px`,minWidth:_?f:void 0,width:_?void 0:f,height:p,maxWidth:_&&!x?(r.endTime-e.startTime)*a:void 0,containIntrinsicWidth:_?void 0:f,containIntrinsicHeight:p,left:x?void 0:u,right:x?(r.endTime-e.endTime)*a:void 0,top:m},type:"button",children:g&&!_?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:e_.default.spanName,children:e.label||c.name}),w?(0,t.jsx)("span",{className:e_.default.spanSpacer}):null,_||f>128?(0,t.jsx)("span",{className:e_.default.spanDuration,children:d}):null]})}),e.events&&!g?e.events.map(n=>(0,t.jsx)(eD,{customSpanEventClassNameFunc:i,event:n,node:e,root:r,scale:a},n.key)):null]})}),eD=(0,n.memo)(function({event:e,node:r,root:a,scale:s,customSpanEventClassNameFunc:l}){let i=(0,n.useRef)(null);e.ref=i;let{event:{name:o}}=e,c=(0,ex.formatDuration)(e.timestamp-a.startTime),d=(e.timestamp-a.startTime)*s,u=24+26*r.row,m=l?l(e):"";return(0,t.jsxs)("div",{title:`${o} at ${c}`,className:(0,v.clsx)(e_.default.spanNodeEvent,m,r.isHighlighted?e_.default.colorHighlight:eb(r),!1===r.isHighlighted&&e_.default.unlit),"data-hovered":e.isHovered,ref:i,style:{left:d,top:u},children:[(0,t.jsxs)("div",{className:(0,v.clsx)(e_.default.hoverInfo,(e.timestamp-r.startTime)/r.duration<.5?e_.default.alignStart:e_.default.alignEnd),children:[(0,t.jsx)("span",{className:e_.default.eventName,children:o}),(0,t.jsx)("span",{className:e_.default.eventTimestamp,children:c})]}),(0,t.jsx)("div",{className:e_.default.eventDiamond})]})}),eS={"gray-700":"var(--ds-gray-700)","gray-900":"var(--ds-gray-900)"};function eN({size:e=16,color:r="gray-700"}){let a={color:eS[r]||r};return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",style:a,"aria-hidden":!0,children:[(0,t.jsx)("title",{children:"Cross"}),(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function eM({size:e=16}){return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,className:e_.default.detailHeadingIcon,children:[(0,t.jsx)("title",{children:"Chevron Down"}),(0,t.jsx)("path",{d:"M6 9l6 6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function eC({size:e=16,color:r="gray-900"}){let a={color:eS[r]||r};return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",style:a,"aria-hidden":!0,children:[(0,t.jsx)("title",{children:"External Small"}),(0,t.jsx)("path",{d:"M14 4h6m0 0v6m0-6L10 14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M20 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function eT(e){let{as:r,className:a,href:n,children:s,...l}=e;return"span"!==(r||"a")&&n?(0,t.jsx)("a",{className:a,href:n,...l,children:s}):(0,t.jsx)("span",{className:a,...l,children:s})}function eR(e){let{className:r,children:a,size:n,...s}=e;return(0,t.jsx)("a",{...s,className:(0,v.clsx)(e_.default.buttonLink,r),children:a})}function eI({children:e,className:r}){return(0,t.jsx)("div",{className:(0,v.clsx)(e_.default.note,r),children:e})}function eE({width:e,height:r,rounded:a}){return(0,t.jsx)("span",{className:(0,v.clsx)(e_.default.skeleton,a&&e_.default.skeletonRounded),style:{width:e,height:r},"aria-hidden":!0})}let eA=e=>`${(100*e).toFixed(3)}%`,eP=(e,t)=>e<t?-1:+(e>t),eH=e=>{let t={};for(let[r,a]of Object.entries(e)){let e=r.indexOf("."),n="",s="";-1!==e?(n=r.substring(0,e),s=r.substring(e+1)):s=r;let l=t[n];l||(l={prefix:n,attributes:[]},t[n]=l),l.attributes.push({key:r,suffix:s,value:String(a)})}let r=Array.from(Object.values(t)).sort((e,t)=>eP(e.prefix,t.prefix));for(let e of r)e.attributes.sort((e,t)=>eP(e.suffix,t.suffix));return r},eF=()=>{let{state:{root:e,selected:r,resourceMap:a,getQuickLinks:s},dispatch:l}=eg(),i=(0,n.useMemo)(()=>((e,t)=>{let r=[];if(!t)return r;for(let e=t;"parent"in e;e=e.parent)r.unshift(e);return r})(0,r),[e,r]),o=(0,n.useMemo)(()=>eH(r?.span.attributes??{}),[r]),c=(0,n.useMemo)(()=>{let e=r?.span.resource;if(!e)return[];let t=a[e];return t?eH(t):[]},[a,r]);if(!r)return null;let{span:d}=r,u=eU(r);return(0,t.jsxs)(t.Fragment,{children:[r.isVercel?(0,t.jsx)(eK,{node:r}):null,r.isInstrumentationHint?(0,t.jsx)(eQ,{}):null,!r.isInstrumentationHint&&i.length?(0,t.jsx)(e$,{className:e_.default.ancestorGroup,name:"Location",children:i.map(a=>(0,t.jsxs)("button",{className:e_.default.ancestorNode,onClick:()=>l({type:"select",id:a.span.spanId}),type:"button",children:[(0,t.jsxs)("div",{className:e_.default.ancestorText,children:[(0,t.jsx)("span",{className:e_.default.ancestorName,children:a.label||a.span.name}),(0,t.jsx)("span",{className:e_.default.ancestorDuration,children:(0,ex.formatDuration)(a.duration)})]}),(0,t.jsx)("span",{"aria-hidden":!0,className:e_.default.ancestorLineContainer,children:(0,t.jsx)("span",{className:(0,v.clsx)(e_.default.ancestorLine,eb(a)),style:{left:eA((a.startTime-e.startTime)/e.duration),width:eA(a.duration/e.duration)}})})]},`${r.span.spanId}.${a.span.spanId}`))}):null,u?(0,t.jsx)(eX,{getQuickLinks:s,span:r.span}):null,r.events?.length?(0,t.jsx)(e$,{name:"Events",children:r.events.map(r=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsxs)("dl",{className:e_.default.spanDetailPanelAttribute,children:[(0,t.jsx)("dt",{className:e_.default.spanDetailPanelAttributeKey,children:r.event.name}),(0,t.jsx)("dd",{className:e_.default.spanDetailPanelAttributeValue,children:(0,ex.formatDuration)(r.timestamp-e.startTime)})]}),Object.entries(r.event.attributes).map(([e,a])=>(0,t.jsx)(eZ,{name:`${r.event.name}.${e}`,value:a},e))]},r.key))}):null,o.length?(0,t.jsx)(e$,{name:"Attributes",children:o.map(e=>(0,t.jsx)(n.Fragment,{children:e.attributes.map(({key:e,value:r})=>(0,t.jsx)(eZ,{name:e,value:r},e))},e.prefix))}):null,c.length?(0,t.jsx)(e$,{name:"Resource",children:c.map(e=>(0,t.jsx)(n.Fragment,{children:e.attributes.map(({key:e,value:r})=>(0,t.jsx)(eZ,{name:e,value:r},e))},e.prefix))}):null,r.isInstrumentationHint?null:(0,t.jsxs)(e$,{name:"Library",children:[(0,t.jsx)(eZ,{name:"name",value:d.library.name}),d.library.version?(0,t.jsx)(eZ,{name:"version",value:d.library.version}):null]})]})};function eW({attached:e=!1}){let{state:{selected:r,isMobile:a,customPanelComponent:n},dispatch:s}=eg();if(!r)return null;let{span:l}=r;return(0,t.jsxs)("div",{className:(0,v.clsx)(e_.default.spanDetailPanel,a&&e_.default.mobile),children:[e&&!a?(0,t.jsx)(eY,{}):null,(0,t.jsx)("div",{className:e_.default.spanDetailPanelTop,children:(0,t.jsxs)("div",{className:e_.default.spanDetailPanelTopInfo,children:[(0,t.jsxs)("div",{className:e_.default.spanDetailPanelTruncatedHeading,children:[r.isInstrumentationHint?null:(0,t.jsx)("span",{className:e_.default.spanDetailPanelDuration,children:(0,ex.formatDuration)(r.duration)}),(0,t.jsx)("span",{className:e_.default.spanDetailPanelName,title:l.name,children:l.name})]}),(0,t.jsxs)("div",{className:e_.default.spanDetailPanelCorner,children:[(0,t.jsx)("div",{className:e_.default.spanDetailPanelCloseVerticalRule}),(0,t.jsx)("button",{"aria-label":"Close Span Details",className:e_.default.spanDetailPanelClose,onClick:()=>s({type:"deselect"}),type:"button",children:(0,t.jsx)(eN,{color:"gray-700",size:24})})]})]})}),(0,t.jsx)("div",{className:(0,v.clsx)("flex gap-3",e_.default.spanDetailPanelBody),children:n||(0,t.jsx)(eF,{})})]})}let eV="vc-trace-span-exp:";function e$({name:e,className:r="",children:a}){let[s,l]=(0,n.useState)(()=>!("localStorage"in globalThis)||"0"!==localStorage.getItem(`${eV}${e}`)),i=(0,n.useCallback)(()=>{l(t=>{let r=!t;return localStorage.setItem(`${eV}${e}`,String(Number(r))),r})},[e]);return(0,t.jsxs)("div",{className:(0,v.clsx)(e_.default.detailGroup,s?e_.default.expanded:e_.default.collapsed,r),children:[(0,t.jsxs)("button",{className:e_.default.detailHeading,onClick:i,type:"button",children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)(eM,{})]}),s?a:null]})}let eB=new Set(["OPTIONS","HEAD","GET","PUT","POST","DELETE"]),eO={"Resolve Deployment":"How long it took Vercel's routing layer to retrieve details for the deployment.","Resolve Cache":"How long it took Vercel's routing layer to check for a cached function invocation.","Resolve Route":"How long it took Vercel's routing layer to resolve routing rules, including redirects and rewrites.","Invoke Middleware":"How long it took this middleware to start and run user code.","Invoke Function":"How long it took this Vercel Function to start and run user code.",waitUntil:"How long it took to run user code inside of waitUntil.","Start VM":"How long it took to start the Virtual Machine which contains the Vercel Function.","Spawn Node.js":"How long it took the Virtual Machine to start the Node.js runtime.","Spawn Python":"How long it took the Virtual Machine to start the Python runtime.","Init User Code":"How long it took to import the user code and run any globally-scoped code."},eq=new Set(["Start VM","Spawn Node.js","Spawn Python","Init User Code"]),ez=e=>{if(!e||!("span"in e))return null;let t=e.span.attributes,r=t["vercel.region"]||t["vercel.function.region"];return r?String(r):null},eU=e=>{if(!e.isVercel)return!1;let{name:t}=e.span,r=t.indexOf(" ");if(-1===r)return!1;let a=t.substring(0,r);return eB.has(a)};function eK({node:e}){let{name:r}=e.span,a=eO[r];if(!a&&eU(e)&&(a="How long it took for Vercel to process the request and send the response."),!a)return null;let n=(e=>{let{name:t}=e.span,r=ez(e),a=ez(e.parent);return"true"===e.span.attributes["vercel.middleware.internal"]?"The Vercel Toolbar created this middleware.":eq.has(t)||"Invoke Function"===t&&e.children.some(e=>eq.has(e.span.name))?"This function encountered a cold start.":r&&a&&r!==a?"This request was routed across regions.":null})(e);return(0,t.jsx)(e$,{name:"What is this?",children:(0,t.jsxs)("div",{className:e_.default.infraSpanDescription,children:[(0,t.jsx)("span",{children:a}),n?(0,t.jsx)(eI,{children:n}):n]})})}let eX=(0,n.memo)(function({getQuickLinks:e,span:r}){let a=e(r);return a.length?(0,t.jsx)(e$,{name:"Links",children:a.map(({key:e,value:r})=>(0,t.jsx)(eG,{link:r,name:e},e))}):null});function eG({name:e,link:r}){let a=function(e){let[t,r]=(0,n.useState)({}),a=void 0!==e.__resolvedValue||void 0!==e.__rejectedValue;return(0,n.useEffect)(()=>{a||e.then(t=>{e.__resolvedValue=t}).catch(t=>{e.__rejectedValue=t}).finally(()=>r({}))},[e,a]),e.__resolvedValue}(r);return(0,t.jsxs)(eT,{as:a?void 0:"span",className:(0,v.clsx)(e_.default.spanDetailPanelAttribute,e_.default.spanDetailPanelQuickLink),href:a?.href||"",children:[(0,t.jsx)("span",{className:e_.default.spanDetailPanelAttributeKey,children:e}),(0,t.jsx)("span",{className:(0,v.clsx)(e_.default.spanDetailPanelAttributeValue,e_.default.spanDetailPanelQuickLinkLabel),children:a?(0,t.jsxs)(t.Fragment,{children:[a.label,a.icon||(0,t.jsx)(eC,{color:"gray-900"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eE,{height:18,width:32+8*e.length}),(0,t.jsx)(eE,{height:18,rounded:!0,width:18})]})})]})}function eQ(){return(0,t.jsx)(e$,{name:"What is this?",children:(0,t.jsxs)("div",{className:e_.default.infraSpanDescription,children:[(0,t.jsx)("span",{children:"You can visualize your application's spans alongside Vercel's spans in this viewer."}),(0,t.jsx)(eR,{href:"https://vercel.com/docs/session-tracing#adding-custom-spans",size:"small",target:"_blank",children:"Get Started"})]})})}function eZ({name:e,value:r}){return(0,t.jsxs)("dl",{className:e_.default.spanDetailPanelAttribute,children:[(0,t.jsx)("dt",{className:e_.default.spanDetailPanelAttributeKey,children:e}),(0,t.jsx)("dd",{className:e_.default.spanDetailPanelAttributeValue,title:String(r),children:String(r)})]})}function eY(){let{state:{panelWidth:e},dispatch:r}=eg(),a=(0,n.useRef)({start:{x:0,width:e},x:0,width:e,isHeld:!1});a.current.width=e;let s=(0,n.useCallback)(e=>{if("mouse"!==e.pointerType)return;e.preventDefault();let t=a.current;t.start.x=e.clientX,t.x=e.clientX,t.start.width=t.width,t.isHeld=!0},[]),l=(0,n.useCallback)(()=>{r({type:"setPanelWidth",width:eh.panelWidth})},[r]);return(0,n.useEffect)(()=>{let e=0,t=()=>{let e=a.current;r({type:"setPanelWidth",width:e.start.width+e.start.x-e.x})},n=r=>{a.current.isHeld&&(r.preventDefault(),a.current.x=r.clientX,cancelAnimationFrame(e),e=requestAnimationFrame(t))},s=()=>{a.current.isHeld=!1};return window.addEventListener("pointermove",n),window.addEventListener("pointerup",s),()=>{window.removeEventListener("pointermove",n),window.removeEventListener("pointerup",s)}},[r]),(0,t.jsx)("div",{"aria-hidden":!0,className:e_.default.spanDetailPanelResizer,onDoubleClick:l,onPointerDown:s})}function eJ(e){let t=(0,n.useRef)({});return{setStyle:(0,n.useCallback)((r,a)=>{if(t.current[r]=a,e.current){if(!a)return void e.current.style.removeProperty(r);e.current.style.setProperty(r,a)}},[e]),styleRef:t,style:{...t.current}}}let e0=(0,n.memo)(function({timelineRef:e,rows:r,scale:a}){let{state:{root:s,baseScale:l,timelineWidth:i,width:o,scrollbarWidth:c}}=eg(),d=o+16,u=(()=>{let[e,t]=(0,n.useState)(1);return(0,n.useLayoutEffect)(()=>{let r=()=>t("devicePixelRatio"in globalThis&&globalThis.devicePixelRatio||1),a=matchMedia(`(resolution: ${e}dppx)`);return a.addEventListener("change",r),r(),()=>{a.removeEventListener("change",r)}},[e]),e})(),m=(0,n.useRef)(null),h=(0,n.useRef)(null),f=o/(o-c)*Math.min(o/i,l/a),p=Math.min(o,(i-c)*f);(0,n.useEffect)(()=>{let t,r=!1,a=0,n=e=>!!m.current?.contains(e),s=0,l=()=>{if(!r||!t)return;let n=e.current;n&&(n.scrollLeft=(a-.5*p-t.left)/f)},i=e=>{({clientX:a}=e),cancelAnimationFrame(s),s=requestAnimationFrame(l)},o=e=>{n(e.target)&&(r=!0,t=m.current?.getBoundingClientRect(),i(e))},c=()=>{r=!1,t=void 0},d=e=>{n(e.target)&&e.cancelable&&e.preventDefault()},u=e=>{r&&e.cancelable&&e.preventDefault()};return window.addEventListener("pointerdown",o),window.addEventListener("pointermove",i),window.addEventListener("pointerup",c),window.addEventListener("blur",c),window.addEventListener("touchstart",d,{passive:!1}),window.addEventListener("touchmove",u,{passive:!1}),()=>{window.removeEventListener("pointerdown",o),window.removeEventListener("pointermove",i),window.removeEventListener("pointerup",c),window.removeEventListener("blur",c),window.removeEventListener("touchstart",d),window.removeEventListener("touchmove",u),cancelAnimationFrame(s)}},[e,f,p]),(0,n.useEffect)(()=>{let e=h.current,t=e?.getContext("2d");if(!e||!t)return;let a=requestAnimationFrame(()=>{t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.scale(u,u);let a=(d-16)/s.duration;for(let e of(t.fillStyle="#ccc",t.beginPath(),r))for(let r of e){let e=7+4*r.row;if(e>=45)break;let n=8+(r.startTime-s.startTime)*a,l=r.duration*a;t.roundRect(n,e,l,3,3)}t.fill()});return()=>cancelAnimationFrame(a)},[u,s,d,r]);let v=(0,n.useRef)(null),{style:w,setStyle:g}=eJ(v);return(0,n.useLayoutEffect)(()=>{let t=e.current;if(!t)return;let r=0,a=()=>{g("transform",`translateX(${8+t.scrollLeft*f}px)`)};a();let n=()=>{cancelAnimationFrame(r),r=requestAnimationFrame(a)};return t.addEventListener("scroll",n),()=>{cancelAnimationFrame(r),t.removeEventListener("scroll",n)}},[e,f,g]),(0,t.jsxs)("div",{className:e_.default.mapContainer,ref:m,style:{width:p>0?d:"100%",height:56},children:[(0,t.jsx)("canvas",{className:e_.default.mapCanvas,height:56*u,ref:h,style:{width:d,height:56},width:d*u}),(0,t.jsx)("div",{className:e_.default.mapThumb,ref:v,style:{transform:w.transform,width:p>0?p:"calc(100% - 16px)",top:2,height:52}})]})}),e1=[1,2,4,5,8,10];function e2({scale:e}){let{state:{root:r}}=eg(),a=r.duration,n=Math.floor(Math.log10(a)),s=Math.max(2,10**n*(Math.floor(Math.log10(.5*a))===n?1:.5)),l=s*e,i=1;for(let e of e1){if(s/e<24)break;i=e}s/=i,l/=i;let o=Math.ceil(a/s),c=Math.ceil(100/l)||1;return(0,t.jsx)("div",{className:e_.default.markersContainer,children:(0,t.jsx)("div",{"aria-hidden":!0,className:e_.default.markers,style:{width:Math.floor(r.duration*e+15),visibility:-1!==e?"visible":"hidden","--marker-width":`${l}px`},children:Array(o).fill(null).map((e,r)=>{let a=r%c==0;return(0,t.jsx)("span",{className:(0,v.clsx)(e_.default.marker,!a&&e_.default.notch),children:a?(0,t.jsx)("span",{className:e_.default.markerLabel,children:(0,ex.formatDuration)(s*r)}):null},String(r))})})})}function e4({events:e,root:r,scale:a}){let s=(0,n.useMemo)(()=>e.filter(e=>!1!==e.event.showVerticalLine),[e]);return(0,t.jsx)("div",{className:e_.default.eventMarkersContainer,children:(0,t.jsx)("div",{"aria-hidden":!0,className:e_.default.eventMarkers,style:{width:Math.floor(r.duration*a)},children:s.map(e=>(0,t.jsx)("span",{className:(0,v.clsx)(e_.default.eventMarker),style:{left:Math.floor((e.timestamp-r.startTime)*a),...e.event.color&&{borderLeftColor:e.event.color}}},e.key))})})}function e6({memoCacheRef:e,timelineRef:r,root:a,spans:s,events:l,scale:i,dispatch:o,scrollSnapshotRef:c}){var d;let u,m=(0,n.useRef)(!1),h=(0,n.useRef)(s);h.current=s;let f=(0,n.useRef)(l);f.current=l;let p=(0,n.useRef)(null),{style:v,setStyle:w}=eJ(p),g=(0,n.useRef)(null),_=(0,n.useRef)(null),{style:x,setStyle:y}=eJ(_),b=(0,n.useRef)(void 0),k=(0,n.useRef)(null),{style:j,setStyle:L}=eJ(k),D=(0,n.useRef)(0);(0,n.useEffect)(()=>{let t=r.current;if(!t)return;let n=D.current,s=0,l=!1,c=!1,d=!1,u=!1,p=0,v=0,_=Date.now()+500,x=()=>{b.current||(b.current=t.getBoundingClientRect())},j=e=>b.current?(e-24-8)/26:0,N=()=>{let t=e.current;for(let e of h.current)e.isHovered&&(e.isHovered=!1,t.set(e.span.spanId,{}));o({type:"forceRender"})},M=0,C=()=>{if(!m.current)return;b.current||x();let r=b.current;if(!r)return;let{scrollLeft:u,scrollTop:D}=t,S=Math.max(0,Math.min(n+u-r.left-8,a.duration*i)),T=`${S-u+8}px`;y("left",T),w("left",T);let R=a.startTime+S/i,I=R-a.startTime;if(I<0||I>a.duration?g.current?.removeAttribute("data-text"):g.current?.setAttribute("data-text",(0,ex.formatTimeSelection)(I)),l){let e,t,l=n-s,o=Math.abs(l);if(!d){if(o<4)return;d=!0,L("display","flex"),N()}l>0?(L("left",""),L("right","0")):(L("left","0"),L("right","")),L("width",`${o}px`);let c=Math.max(0,Math.min(s+u-r.left-8,a.duration*i))/i;c<I?(e=c,t=I):(e=I,t=c),k.current?.setAttribute("data-range",`${(0,ex.formatTimeSelection)(e)} — ${(0,ex.formatTimeSelection)(t)}`),k.current?.setAttribute("data-duration",`${(0,ex.formatTimeSelection)(t-e)} selected`)}if(Date.now()<_){M=requestAnimationFrame(C);return}if(u!==p||D!==v){p=u,v=D,M=requestAnimationFrame(C);return}if(n-r.left<128?g.current?.setAttribute("data-align","left"):n-r.left>r.width-128?g.current?.setAttribute("data-align","right"):g.current?.removeAttribute("data-align"),!d&&!c){let t=e.current,a=j(D)-2,n=j(D+r.height)+2;for(let e of h.current){let r=e.row>=a&&e.row<=n&&R>=e.startTime&&R<=e.endTime;e.isHovered!==r&&(e.isHovered=r,t.set(e.span.spanId,{}))}let s=12/i;for(let e of f.current){let t=R>=e.timestamp-s&&R<=e.timestamp+s;if(e.isHovered===t)continue;e.isHovered=t;let r=e.ref?.current;r&&r.setAttribute("data-hovered",String(t))}o({type:"forceRender"})}};M=requestAnimationFrame(C);let T=e=>{"mouse"===e.pointerType&&(m.current=!0)},R=()=>{m.current&&(m.current=!1,N())},I=({clientX:e})=>{D.current=n=e,cancelAnimationFrame(M),M=requestAnimationFrame(C)},E=e=>{e.preventDefault()},A=e=>{if(2===e.button)u=!0,e.preventDefault();else{if(0!==e.button)return;u=!1}r.current?.contains(e.target)?(s=n,l=!0):(c=!0,requestAnimationFrame(N))},P=e=>{if(c=!1,!l||(l=!1,!d))return;if(d=!1,L("display",""),L("left",""),L("right",""),L("width",""),e.preventDefault(),e.stopImmediatePropagation(),u){u=!1;return}b.current||x();let r=b.current;if(!r)return;let{scrollLeft:m}=t,h=Math.max(0,Math.min((s+m-r.left-8)/i,a.duration)),f=Math.max(0,Math.min((n+m-r.left-8)/i,a.duration));o({type:"scaleToRange",t1:h+a.startTime,t2:f+a.startTime})},H=e=>{l&&"Escape"===e.key&&(u=!0,P(e))},F=()=>{b.current=void 0,S.current=void 0,cancelAnimationFrame(M),M=requestAnimationFrame(C)},W=()=>{cancelAnimationFrame(M),M=requestAnimationFrame(C)},V=new ResizeObserver(()=>{b.current=void 0});return V.observe(t),window.addEventListener("mousemove",I),t.addEventListener("contextmenu",E),window.addEventListener("mousedown",A),window.addEventListener("mouseup",P),window.addEventListener("blur",P),window.addEventListener("keydown",H,!0),window.addEventListener("scroll",F),t.addEventListener("scroll",W),t.addEventListener("pointerenter",T),t.addEventListener("pointerleave",R),()=>{V.disconnect(),window.removeEventListener("mousemove",I),t.removeEventListener("contextmenu",E),window.removeEventListener("mousedown",A),window.removeEventListener("mouseup",P),window.removeEventListener("blur",P),window.removeEventListener("keydown",H,!0),window.removeEventListener("scroll",F),t.removeEventListener("scroll",W),t.removeEventListener("pointerenter",T),t.removeEventListener("pointerleave",R),cancelAnimationFrame(M),D.current=n,N()}},[o,a,i,y,w,L,e,r,c]);let S=(0,n.useRef)(void 0);return d=e=>{let t=r.current;if(!t)return;b.current??=t.getBoundingClientRect();let a=b.current,n=Math.max(0,Math.min(D.current-a.left-8,a.width-16)),s=0,l=S.current;l?.anchorX===n?s=l.anchorT:S.current=l={anchorT:s=(t.scrollLeft+n)/i,anchorX:n},o({type:"trackpadScale",delta:e/64,anchorT:s,anchorX:n})},(u=(0,n.useRef)(d)).current=d,(0,n.useEffect)(()=>{let e=0,t=0,r=()=>{u.current(e),e=0},a=a=>{if(!a.ctrlKey&&!a.metaKey)return;a.preventDefault();let n=-a.deltaY;switch(a.deltaMode){case WheelEvent.DOM_DELTA_PAGE:n*=window.innerHeight;break;case WheelEvent.DOM_DELTA_LINE:n*=20}e+=n,cancelAnimationFrame(t),t=requestAnimationFrame(r)};return window.addEventListener("wheel",a,{passive:!1}),()=>{window.removeEventListener("wheel",a),cancelAnimationFrame(t)}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:e_.default.cursorMarkerStickyParent,children:(0,t.jsx)("div",{className:e_.default.cursorMarkerLabelContainer,ref:p,style:v,children:(0,t.jsx)("div",{className:e_.default.cursorMarkerLabel,ref:g})})}),(0,t.jsx)("div",{className:e_.default.cursorMarkerStickyParent,children:(0,t.jsx)("div",{className:e_.default.cursorMarkerContainer,ref:_,style:x,children:(0,t.jsx)("div",{className:e_.default.cursorMarker,children:(0,t.jsx)("div",{className:e_.default.cursorSelection,ref:k,style:j})})})})]})}function e5({height:e,width:r,value:a,placeholder:n,onChange:s}){return(0,t.jsxs)("label",{className:e_.default.searchInputLabel,children:[(0,t.jsx)("div",{className:e_.default.searchInputPrefix,children:(0,t.jsx)(e8,{})}),(0,t.jsx)("input",{type:"search",value:a,placeholder:n,onChange:s,style:{height:e,width:r}})]})}function e8(){return(0,t.jsxs)("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("circle",{cx:"7",cy:"7",r:"4.5",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M11.5 11.5L14 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}function e3(){return(0,t.jsx)("nav",{className:e_.default.searchBar,children:(0,t.jsx)(e9,{})})}function e9(){let{dispatch:e}=eg(),[r,a]=(0,n.useState)("");return(0,n.useEffect)(()=>{let t=setTimeout(()=>e({type:"setFilter",filter:r}),100);return()=>{clearTimeout(t)}},[e,r]),(0,t.jsx)("div",{className:e_.default.searchInput,children:(0,t.jsx)(e5,{height:40,onChange:e=>a(e.target.value),placeholder:"Search spans…",value:r,width:"100%"})})}function e7({size:e=16}){return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[(0,t.jsx)("title",{children:"Zoom In"}),(0,t.jsx)("path",{d:"M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",stroke:"currentColor",strokeWidth:"2"}),(0,t.jsx)("path",{d:"M11 8v6M8 11h6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M20 20l-3.5-3.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function te({size:e=16}){return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[(0,t.jsx)("title",{children:"Zoom Out"}),(0,t.jsx)("path",{d:"M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",stroke:"currentColor",strokeWidth:"2"}),(0,t.jsx)("path",{d:"M8 11h6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M20 20l-3.5-3.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function tt({size:e=16}){return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[(0,t.jsx)("title",{children:"Minus"}),(0,t.jsx)("path",{d:"M6 12h12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function tr(){let{dispatch:e}=eg(),r=(0,n.useCallback)(()=>{e({type:"adjustScaleRatio",direction:1})},[e]),a=(0,n.useCallback)(()=>{e({type:"adjustScaleRatio",direction:-1})},[e]),s=(0,n.useCallback)(()=>{e({type:"adjustScaleRatio",direction:0})},[e]);return(0,t.jsxs)("div",{className:e_.default.zoomButtonGroup,children:[(0,t.jsx)("button",{"aria-label":"Zoom Out",className:e_.default.zoomButton,onClick:a,type:"button",children:(0,t.jsx)(te,{size:18})}),(0,t.jsx)("div",{className:e_.default.divider}),(0,t.jsx)("button",{"aria-label":"Reset Zoom",className:e_.default.zoomButton,onClick:s,type:"button",children:(0,t.jsx)(tt,{size:18})}),(0,t.jsx)("div",{className:e_.default.divider}),(0,t.jsx)("button",{"aria-label":"Zoom In",className:e_.default.zoomButton,onClick:r,type:"button",children:(0,t.jsx)(e7,{size:18})})]})}var ta=e.i(25311);function tn(){return[]}let ts={traceId:"skeleton",spans:[{parentSpanId:"",spanId:"root",name:"root span",kind:1,resource:"vercel.runtime",startTime:[5e3,0],endTime:[6e3,0],duration:[1e3,0],library:{name:"vercel-site"},status:{code:1},attributes:{"vercel.ownerId":"team_abc"},traceFlags:1,events:[],links:[]}],resources:[{name:"vercel.runtime",attributes:{}}],rootSpanId:"root"};function tl({trace:r=ts,className:a="",scrollLock:s=!1,height:l,withPanel:i=!1,highlightedSpans:o}){let c=r===ts,{state:d,dispatch:u}=eg(),{timelineRef:m,scrollSnapshotRef:h}=d,f=d.memoCacheRef.current,p=(o?.length??0)>0||r.spans.length<=10;(0,n.useEffect)(()=>{let{root:e,map:t}=(0,ta.parseTrace)(r);u({type:"setRoot",root:e,spanMap:t,resources:r.resources||[]})},[u,r]);let{rows:w,spans:g,events:_,scale:x}=(t=>{let{state:r,dispatch:a}=eg(),{root:s,filter:l,scale:i,timelineRef:o,timelineWidth:c,spanMap:d,scrollSnapshotRef:u,selected:m,memoCacheRef:h,customSpanClassNameFunc:f}=r,p=function(e){let[t,r]=(0,n.useState)(e);return(0,n.useEffect)(()=>{if(t===e)return;let a=0,n=0,s=()=>{if(++a<=3){n=requestAnimationFrame(s);return}r(e)};return s(),()=>{cancelAnimationFrame(n)}},[t,e]),t}(r.timelineHeight),w=(0,n.useRef)(0),[g,_]=(0,n.useState)(tn),[x,y]=(0,n.useState)(tn),[b,k]=(0,n.useState)(tn),[j,L]=(0,n.useState)(-1),D=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>D.current?.(l),[l]),(0,n.useEffect)(()=>{if(t?.length){for(let e of g)for(let r of e){let e=t.includes(r.span.spanId);r.isHighlighted!==e&&(r.isHighlighted=e,h.current.set(r.span.spanId,{}))}a({type:"forceRender"})}},[g,t,a,h]),(0,n.useEffect)(()=>{if(!s.startTime)return;let t=new Worker(e.r(3222)),r=++w.current;t.addEventListener("message",e=>{let t=e.data;switch(t.type){case"setRowsResult":if(t.isEnd)for(let e of t.rows)for(let t of e)t.span=d[t.span.spanId]?.span??t.span;_(t.rows);break;case"updateHighlight":{if(t.requestId!==r)return;let{matches:e}=t;_(t=>{for(let r of t)for(let t of r){let r=e.has(t.span.spanId);t.isHighlighted!==r&&(t.isHighlighted=r,h.current.set(t.span.spanId,{}))}return t}),a({type:"forceRender"})}}});let n={requestId:r,type:"calculateSpanPositions",root:s};return t.postMessage(n),D.current=e=>{let a=e.trim().toLocaleLowerCase();if(!a)return void _(e=>e.map(e=>e.map(e=>(e.isHighlighted=void 0,{...e}))));let n={type:"filterSpans",requestId:r=++w.current,root:s,filter:a};t.postMessage(n)},()=>{t.terminate()}},[s,d,a,h]),(0,n.useEffect)(()=>{if(!g.length)return;let e=o.current,t=u.current,r=!1,a=!1,n=0,l=0,d=Math.max(500,.5*c),m=Array(g.length).fill(null),h=e=>t?e<t.startRow?e-t.startRow:e>t.endRow?e-t.endRow:0:0,f=e=>{if(!t)return 0;let r=0;e.endTime<t.startTime?r=t.startTime-e.endTime:e.startTime>t.endTime&&(r=e.startTime-t.endTime);let a=Math.abs(h(e.row));return r||a?Math.sqrt((r/i)**2+(24*a+2)**2):0},v=0,w=()=>{(r||!t)&&(r=!1,(()=>{if(!e)return;let{scrollLeft:r,scrollTop:a}=e,n=(a-24-8)/26,l=n+Math.ceil(p/26);u.current=t={anchorT:r/i,anchorX:0,scrollLeft:r,scrollTop:a,startTime:s.startTime+r/i,endTime:s.startTime+(r+c)/i,startRow:n,endRow:l,scale:i};for(let e=m.length;e--;)m[e]=null})()),(()=>{a=!0;let e=Math.min(1+l+Math.ceil(t?.endRow??1/0),g.length);for(let t=e;t--;){if(m[t])continue;let e=h(t);if(Math.abs(e)>l){if(a=!1,e>0)continue;break}let r=[],s=g[t];if(s){for(let e of s){if(!(0,ta.adjustSpanVisibility)(e,i))continue;let t=f(e);n=Math.max(t,n),r.push({d:t,span:e})}m[t]=r}}})();let o=[],_=[];for(let e of m)if(e)for(let{d:t,span:r}of e)!(t>l)&&(o.push(r),r.events&&_.push(...r.events));l<d&&(!a||l<n)&&(l=Math.min(d,l+100),v=requestAnimationFrame(w)),y(o),k(_),L(i)};w();let _=Date.now(),x=e=>{(e.ctrlKey||e.metaKey)&&(_=Date.now())};e?.addEventListener("wheel",x);let b=()=>{Date.now()-_<=50||(r=!0,cancelAnimationFrame(v),v=requestAnimationFrame(w))};return e?.addEventListener("scroll",b),()=>{cancelAnimationFrame(v),e?.removeEventListener("wheel",x),e?.removeEventListener("scroll",b)}},[g,s,i,u,o,c,p]),(0,n.useEffect)(()=>{let e;if(!m)return;for(let t of x)if(t.span.spanId===m.span.spanId){e=t;break}let t=e?.ref?.current;if(!e||!t)return;e.isSelected=!0;let r=ek(e,i),a=f?f(e):"";return t.className=(0,v.clsx)(r,a),()=>{e.isSelected=!1;let r=ek(e,i),a=f?f(e):"";t.className=(0,v.clsx)(r,a)}},[x,i,m,f]),{rows:g,spans:x,events:b,scale:j}})(o),y=(0,n.useRef)(null);(0,n.useLayoutEffect)(()=>{let e=y.current;if(!e)return;let t=()=>{let t=e.getBoundingClientRect();u({type:"setSize",width:t.width-16,height:t.height})};t();let r=new ResizeObserver(t);return r.observe(e),window.addEventListener("resize",t),()=>{r.disconnect(),window.removeEventListener("resize",t)}},[u]);let b=(0,n.useRef)({t:0,x:-1,y:-1,spanId:""}),k=(0,n.useCallback)(e=>{let t=b.current,r=Date.now(),{clientX:a,clientY:n}=e,s=Math.sqrt((a-t.x)**2+(n-t.y)**2);if(r-t.t<=500&&s<=8)return(e.stopPropagation(),e.preventDefault(),t.spanId)?(u({type:"select",id:t.spanId}),void u({type:"scaleToNode",id:t.spanId})):void u({type:"resetScale"});let l=e.target;if(!l.closest(`.${String(e_.default.timeline)}`))return;let i=l.closest("[data-span-id]"),o=i?.dataset.spanId||"";b.current={x:a,y:n,t:r,spanId:o},o&&(u({type:"toggleSelection",id:o}),e.stopPropagation())},[u]);(0,n.useLayoutEffect)(()=>{let e=m.current;if(!e)return;let t=h.current;t&&(e.scrollLeft=t.anchorT*x-t.anchorX)},[h,m,x]),(0,n.useEffect)(()=>{let e=d.selected?.span.spanId;if(!e)return;let t=setTimeout(()=>{let t=d.timelineRef.current,r=t?.querySelector(`[data-span-id="${e}"]`);if(!t||!r)return;let a=t.getBoundingClientRect(),n=r.getBoundingClientRect();n.width<a.width&&(n.left<a.left||n.right>a.right||n.top<a.top||n.bottom>a.bottom)&&r.scrollIntoView({block:"nearest",inline:"center",behavior:"smooth"})},500);return()=>{clearTimeout(t)}},[d.selected,d.timelineRef]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&u({type:"escape"})};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[u]),(0,n.useEffect)(()=>{if(!s)return;let e=document.documentElement,t=document.body;e.style.overflow="clip",t.style.overflow="clip";let r=e=>{e?.cancelable?e.preventDefault():window.scrollTo({left:0,top:0,behavior:"instant"})};return r(),window.addEventListener("scroll",r,{passive:!1}),()=>{e.style.overflow="",t.style.overflow="",window.removeEventListener("scroll",r)}},[s]);let j=Math.max(d.timelineHeight-d.scrollbarWidth,26+26*w.length-2+84),L=!!(d.isMobile&&d.selected);return(0,t.jsxs)("div",{className:(0,v.clsx)(e_.default.traceViewer,c&&e_.default.skeleton,a),onClickCapture:k,ref:y,style:{height:l,"--timeline-padding":"8px","--row-height":"24px","--row-padding":"2px","--search-height":`${40*!p}px`,"--search-gap":`${!p?8:2}px`,"--map-height":"56px","--timeline-width":`${d.timelineWidth}px`,"--timeline-height":`${d.timelineHeight}px`,"--timeline-scroll-width":`${Math.round(d.root.duration*d.scale)}px`,"--panel-width":`${d.panelWidth}px`,"--panel-height":`${d.panelHeight}px`,"--height":`${d.height}px`,"--scrollbar-width":`${d.scrollbarWidth}px`,"--marker-height":"24px","--marker-notch-height":"8px"},children:[p?null:(0,t.jsx)(e3,{}),(0,t.jsx)(e0,{rows:w,scale:x,timelineRef:m}),(0,t.jsxs)("div",{className:(0,v.clsx)(e_.default.traceViewerContent,L&&e_.default.inert),children:[(0,t.jsx)("div",{className:e_.default.timeline,ref:m,children:(0,t.jsx)("div",{style:{position:"relative",width:d.timelineWidth,height:d.timelineHeight-16,padding:8,paddingBottom:0},children:(0,t.jsxs)("div",{className:e_.default.traceNode,style:{width:d.root.duration*x||void 0,height:j-16},children:[(0,t.jsx)(e2,{scale:x}),(0,t.jsx)(e4,{events:_,root:d.root,scale:x}),(0,t.jsx)(e6,{dispatch:u,events:_,memoCacheRef:d.memoCacheRef,root:d.root,scale:x,scrollSnapshotRef:h,spans:g,timelineRef:m}),(0,t.jsx)(ej,{cacheKey:f.get(""),cache:f,customSpanClassNameFunc:d.customSpanClassNameFunc,customSpanEventClassNameFunc:d.customSpanEventClassNameFunc,root:d.root,scale:x,scrollSnapshotRef:h,spans:g})]})})}),(0,t.jsx)("div",{className:e_.default.zoomButtonTraceViewer,children:(0,t.jsx)(tr,{})})]}),i?(0,t.jsx)("div",{className:(0,v.clsx)(e_.default.spanDetailPanelTraceViewer,!d.selected&&e_.default.hidden,d.isMobile&&e_.default.mobile),children:(0,t.jsx)(eW,{attached:!0})}):null]})}function ti({env:e}){let{state:r}=eg(),{selected:a}=r,s=a?.span.attributes?.data,{resource:l,resourceId:i,runId:o}=(0,n.useMemo)(()=>{let e=a?.span.attributes?.resource;return"step"===e?{resource:"step",resourceId:s.stepId,runId:s.runId}:"run"===e?{resource:"run",resourceId:s.runId,runId:void 0}:"hook"===e?{resource:"hook",resourceId:s.hookId,runId:void 0}:"sleep"===e?{resource:"sleep",resourceId:a?.span?.spanId,runId:void 0}:{resource:void 0,resourceId:void 0,runId:void 0}},[a,s]),{data:c,error:d,loading:u}=$(e,l,i??"",{runId:o});if((0,n.useEffect)(()=>{d&&a&&l&&z.toast.error(`Failed to load ${l} details`,{description:d.message})},[d,l,a]),!a||!l||!i)return null;let m=c||s;return(0,t.jsxs)("div",{className:(0,v.default)("flex flex-col px-2"),children:[(0,t.jsx)(eu,{data:m,isLoading:u,error:d??void 0}),"run"!==l&&(0,t.jsx)(em,{correlationId:i,env:e,events:a.span.events})]})}function to(e,t=!1){if(t&&"pending"===e)return e_.default.spanPendingStriped;switch(e){case"running":return e_.default.spanRunning;case"pending":return e_.default.spanPending;case"completed":return e_.default.spanCompleted;case"cancelled":return e_.default.spanCancelled;case"paused":return e_.default.spanPaused;case"failed":return e_.default.spanFailed;default:return""}}let tc=e=>{let t=e.span.attributes,r=t?.resource;if("step"===r){let e=t.data,r=e?.stepName;if(r&&String(r).toLowerCase().endsWith("sleep"))return e_.default.spanSleep;let a=e?.status==="pending";return to(e?.status,a)}if("run"===r){let e=t.data;return to(e?.status,!1)}return"hook"===r?e_.default.spanHook:"sleep"===r?e_.default.spanSleep:""},td=e=>{let t=e.event.name;return"step_failed"===t||"workflow_failed"===t?e_.default.eventFailed:"step_retrying"===t?e_.default.eventRetrying:"hook_created"===t||"hook_received"===t||"hook_disposed"===t?e_.default.eventHook:e_.default.eventDefault};e.s(["WorkflowTraceViewer",0,({run:e,steps:r,hooks:a,events:s,env:l,isLoading:i,error:o})=>{let[c,d]=(0,n.useState)(()=>new Date);(0,n.useEffect)(()=>{if(!e?.completedAt){let e=setInterval(()=>{d(new Date)},2e3);return()=>clearInterval(e)}},[e?.completedAt]);let u=(0,n.useMemo)(()=>{let t,n,l,i;if(!e)return;let o=new Map,d=new Map,u=[],m=new Map;for(let e of s){if("wait_created"===e.eventType||"wait_completed"===e.eventType){let t=m.get(e.correlationId)||[];t.push(e),m.set(e.correlationId,t);continue}let t=e.correlationId;if(t){let n=r.find(e=>e.stepId===t),s=a.find(e=>e.hookId===t);if(n){let r=o.get(t)||[];r.push(e),o.set(t,r)}else if(s){let r=d.get(t)||[];r.push(e),d.set(t,r)}else u.push(e)}else u.push(e)}let h=r.map(e=>{let t,r,a,n,s=o.get(e.stepId)||[];return t=c??new Date,r=p(String(e.stepName)),a=e.completedAt??t,n=ea(s),{spanId:String(e.stepId),name:r?.shortName??"",kind:1,resource:"step",library:et,status:{code:0},traceFlags:1,attributes:{resource:"step",data:e},links:[],events:n,startTime:Y(e.startedAt),endTime:Y(a),duration:ee(e.startedAt,a)}}),v=a.map(e=>{let t,r,a,n=d.get(e.hookId)||[];return r=(t=n.slice().sort((e,t)=>new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()).find(e=>"hook_received"===e.eventType))?t.createdAt:new Date(Math.max(new Date(e.createdAt).getTime()+1e4,c.getTime())),a=ea(n),{spanId:String(e.hookId),name:String(e.hookId),kind:1,resource:"hook",library:et,status:{code:1},traceFlags:1,attributes:{resource:"hook",data:e},links:[],events:a,startTime:Y(e.createdAt),endTime:Y(r),duration:ee(e.createdAt,r)}}),w=Array.from(m.entries()).map(([e,t])=>{let r,a,n,s,l,i,o;return r=t.find(e=>"wait_created"===e.eventType),a=t.find(e=>"wait_completed"===e.eventType),n=r?.createdAt??c,s=a?.createdAt??c,l=Y(n),i=Y(s),o=ee(n,s),{spanId:e,name:"sleep",kind:1,resource:"sleep",library:et,status:{code:0},traceFlags:1,attributes:{resource:"sleep",data:{correlationId:e}},links:[],events:ea(t),duration:o,startTime:l,endTime:i}}),g=[(t=c??new Date,n=e.startedAt??e.createdAt,l=e.completedAt??t,i=ea(u),{spanId:String(e.runId),name:String(f(e.workflowName)?.shortName??"?"),kind:1,resource:"run",library:et,status:{code:0},traceFlags:1,attributes:{resource:"run",data:e},links:[],events:i,startTime:Y(n),endTime:Y(l),duration:ee(n,l)}),...[...h,...v,...w].slice().sort((e,t)=>J(e.startTime)-J(t.startTime))],_=g.map((e,t)=>{let r=0===t?void 0:String(g[t-1].spanId);return{...e,parentSpanId:r}});return{traceId:e.runId,rootSpanId:e.runId,spans:_,resources:[{name:"workflow",attributes:{"service.name":et.name}}]}},[e,r,a,s,c]);return((0,n.useEffect)(()=>{o&&!i&&(console.error(o),z.toast.error("Error loading workflow trace data",{description:o.message}))},[o,i]),i||!u)?(0,t.jsxs)("div",{className:"relative w-full h-full",children:[(0,t.jsx)("div",{className:"border-b border-gray-alpha-400 w-full"}),(0,t.jsx)(U,{className:"w-full ml-2 mt-1 mb-1 h-[56px]"}),(0,t.jsxs)("div",{className:"p-2 relative w-full",children:[(0,t.jsx)(U,{className:"w-full mt-6 h-[20px]"}),(0,t.jsx)(U,{className:"w-[10%] mt-2 ml-6 h-[20px]"}),(0,t.jsx)(U,{className:"w-[10%] mt-2 ml-12 h-[20px]"}),(0,t.jsx)(U,{className:"w-[20%] mt-2 ml-16 h-[20px]"})]})]}):(0,t.jsx)("div",{className:"relative w-full h-full",children:(0,t.jsx)(ew,{withPanel:!0,customSpanClassNameFunc:tc,customSpanEventClassNameFunc:td,customPanelComponent:(0,t.jsx)(ti,{env:l}),children:(0,t.jsx)(tl,{height:"100%",trace:u,withPanel:!0})})})}],95547),e.s([],69764)}]);
|