sparkrun-ui 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/bin/sparkrun-ui.mjs +2 -2
- package/dist/.next/BUILD_ID +1 -1
- package/dist/.next/build-manifest.json +3 -3
- package/dist/.next/prerender-manifest.json +3 -3
- package/dist/.next/server/app/_global-error.html +1 -1
- package/dist/.next/server/app/_global-error.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found/page.js +1 -1
- package/dist/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found.html +1 -1
- package/dist/.next/server/app/_not-found.rsc +27 -26
- package/dist/.next/server/app/_not-found.segments/_full.segment.rsc +27 -26
- package/dist/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/dist/.next/server/app/_not-found.segments/_index.segment.rsc +11 -10
- package/dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/dist/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/benchmarks/[id]/page.js +1 -1
- package/dist/.next/server/app/benchmarks/[id]/page.js.nft.json +1 -1
- package/dist/.next/server/app/benchmarks/[id]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/benchmarks/new/page.js +2 -2
- package/dist/.next/server/app/benchmarks/new/page.js.nft.json +1 -1
- package/dist/.next/server/app/benchmarks/new/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/benchmarks/page.js +1 -1
- package/dist/.next/server/app/benchmarks/page.js.nft.json +1 -1
- package/dist/.next/server/app/benchmarks/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/chat/page.js +1 -1
- package/dist/.next/server/app/chat/page.js.nft.json +1 -1
- package/dist/.next/server/app/chat/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/dashboard/page.js +3 -3
- package/dist/.next/server/app/dashboard/page.js.nft.json +1 -1
- package/dist/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/index.html +1 -1
- package/dist/.next/server/app/index.rsc +25 -24
- package/dist/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/index.segments/_full.segment.rsc +25 -24
- package/dist/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/dist/.next/server/app/index.segments/_index.segment.rsc +11 -10
- package/dist/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/launch/page.js +1 -1
- package/dist/.next/server/app/launch/page.js.nft.json +1 -1
- package/dist/.next/server/app/launch/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/logs/[clusterId]/page.js +1 -1
- package/dist/.next/server/app/logs/[clusterId]/page.js.nft.json +1 -1
- package/dist/.next/server/app/logs/[clusterId]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/monitor/page.js +1 -1
- package/dist/.next/server/app/monitor/page.js.nft.json +1 -1
- package/dist/.next/server/app/monitor/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/page.js +1 -1
- package/dist/.next/server/app/page.js.nft.json +1 -1
- package/dist/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/recipes/page.js +2 -2
- package/dist/.next/server/app/recipes/page.js.nft.json +1 -1
- package/dist/.next/server/app/recipes/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/rpc/[[...rest]]/route.js.nft.json +1 -1
- package/dist/.next/server/chunks/node_modules__pnpm_0jzojku._.js +1 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__021wpp6._.js +1 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__030qcl1._.js +1 -1
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__0vyn26k._.js → [root-of-the-server]__03ntmap._.js} +2 -2
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__03qy0wk._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__08pj2hz._.js +1 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0a.-f32._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0e7p6k4._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0-wjfxk._.js +2 -2
- package/dist/.next/server/chunks/ssr/{_1341f_q._.js → _00my5cc._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_05yc_-h._.js +3 -0
- package/dist/.next/server/chunks/ssr/{_0gz2jj3._.js → _090s43z._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_097ibiz._.js +1 -1
- package/dist/.next/server/chunks/ssr/_0f.jwi.._.js +1 -1
- package/dist/.next/server/chunks/ssr/{_0ipzzmg._.js → _0fog1hx._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_0g_f5t-._.js +3 -0
- package/dist/.next/server/chunks/ssr/{_0e~uzop._.js → _0gfn7bd._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_0gqh-f9._.js +3 -0
- package/dist/.next/server/chunks/ssr/_0khf6ok._.js +1 -1
- package/dist/.next/server/chunks/ssr/{_0tmtgyr._.js → _0mckw1o._.js} +2 -2
- package/dist/.next/server/chunks/ssr/_0ofxfmv._.js +3 -0
- package/dist/.next/server/chunks/ssr/{app_components_launch_YamlEditor_tsx_0z4.3rh._.js → _13bxdgf._.js} +2 -2
- package/dist/.next/server/chunks/ssr/app_components_dashboard_DashboardLive_tsx_10_yvzp._.js +3 -0
- package/dist/.next/server/chunks/ssr/app_components_recipes_RecipesBrowser_tsx_0n9.1su._.js +1 -1
- package/dist/.next/server/middleware-build-manifest.js +3 -3
- package/dist/.next/server/pages/404.html +1 -1
- package/dist/.next/server/pages/500.html +1 -1
- package/dist/.next/server/server-reference-manifest.js +1 -1
- package/dist/.next/server/server-reference-manifest.json +1 -1
- package/dist/.next/static/chunks/012fi5-4mhf_v.js +1 -0
- package/dist/.next/static/chunks/{0x_jizj5dqgej.js → 01_yfq-8lqzmt.js} +1 -1
- package/dist/.next/static/chunks/01f1zms1lqrcy.js +3 -0
- package/dist/.next/static/chunks/{00jg.s70z.j1c.js → 042zcq.ivk.2-.js} +1 -1
- package/dist/.next/static/chunks/{03-vdshfe25se.js → 099u.s_dit6xq.js} +1 -1
- package/dist/.next/static/chunks/0d~_2-hs97pb7.js +1 -0
- package/dist/.next/static/chunks/0gl6b7fo9x~2f.js +1 -0
- package/dist/.next/static/chunks/0n3-kh874-tfi.js +1 -0
- package/dist/.next/static/chunks/{0ju0bvrzyg9dg.js → 0oed4uv5d6zmw.js} +1 -1
- package/dist/.next/static/chunks/0sbgc78goj4w..css +3 -0
- package/dist/.next/static/chunks/0t7xi-nb9qq.3.js +1 -0
- package/dist/.next/static/chunks/0txak0~fepoq-.js +1 -0
- package/dist/.next/static/chunks/0~vr4yy0oyt_9.js +1 -0
- package/dist/.next/static/chunks/14n0juh5a1k9l.js +1 -0
- package/dist/.next/static/chunks/{15hgxc0kqs~~c.js → 17sje3fs9cg7z.js} +12 -12
- package/dist/package.json +3 -3
- package/package.json +3 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__037oli.._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0nnr~eq._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0yxok2p._.js +0 -3
- package/dist/.next/server/chunks/ssr/_023_eyi._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0bx~mk0._.js +0 -3
- package/dist/.next/server/chunks/ssr/_0wsg55s._.js +0 -3
- package/dist/.next/static/chunks/06p4ryy69hlx0.js +0 -1
- package/dist/.next/static/chunks/078_hq0asokwv.js +0 -1
- package/dist/.next/static/chunks/08jevk~tl13fz.js +0 -1
- package/dist/.next/static/chunks/093uee.ipdzn_.css +0 -3
- package/dist/.next/static/chunks/0993.7t31zdad.js +0 -3
- package/dist/.next/static/chunks/0x4ezu8r2b-ga.js +0 -1
- package/dist/.next/static/chunks/0~keq1f3_2ge-.js +0 -1
- /package/dist/.next/static/{K7dVTTbWGsVpPXwtNCeQZ → _xj5uS9JHudQNHtZFvZwb}/_buildManifest.js +0 -0
- /package/dist/.next/static/{K7dVTTbWGsVpPXwtNCeQZ → _xj5uS9JHudQNHtZFvZwb}/_clientMiddlewareManifest.js +0 -0
- /package/dist/.next/static/{K7dVTTbWGsVpPXwtNCeQZ → _xj5uS9JHudQNHtZFvZwb}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[38556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2312,(a,b,c)=>{b.exports=a.r(18622)},814,a=>{a.n(a.i(33569))},2101,a=>{a.n(a.i(54592))},70061,a=>{a.n(a.i(99445))},71829,a=>{a.n(a.i(6249))},30713,a=>{a.n(a.i(75293))},47578,a=>{a.n(a.i(68963))},79135,a=>{a.n(a.i(17719))},75948,a=>{a.n(a.i(66113))},72030,a=>{a.n(a.i(66076))},95915,a=>{a.n(a.i(32066))},75102,a=>{a.n(a.i(38982))},75032,a=>{a.n(a.i(40412))},22541,a=>{a.n(a.i(26087))},65594,a=>{a.n(a.i(82731))},15969,a=>{a.n(a.i(2988))},98440,a=>{a.n(a.i(43100))},89405,a=>{a.n(a.i(77178))},91964,a=>{a.n(a.i(27116))},5287,a=>{a.n(a.i(7335))},69536,a=>{a.n(a.i(98880))},48365,a=>{a.n(a.i(63708))},68070,a=>{a.n(a.i(31110))},30940,a=>{a.n(a.i(75271))},65788,a=>{a.n(a.i(37177))},2318,a=>{a.n(a.i(42803))},47374,a=>{a.n(a.i(14930))},6962,a=>{a.n(a.i(15650))},57571,a=>{a.n(a.i(19992))},22442,a=>{a.n(a.i(86580))},41034,a=>{a.n(a.i(42828))},5918,a=>{a.n(a.i(99705))},81651,a=>{a.n(a.i(66666))},50924,a=>{a.n(a.i(82085))},8775,a=>{a.n(a.i(38969))},5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},1457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},12714,(a,b,c)=>{b.exports=a.x("node:fs/promises",()=>require("node:fs/promises"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},61095,(a,b,c)=>{b.exports=a.x("node:net",()=>require("node:net"))},26251,a=>{"use strict";var b=a.i(39371);let c=/sparkrun-ui-drafts\/(.+)\.yaml$/;async function
|
|
1
|
+
module.exports=[38556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2312,(a,b,c)=>{b.exports=a.r(18622)},814,a=>{a.n(a.i(33569))},2101,a=>{a.n(a.i(54592))},70061,a=>{a.n(a.i(99445))},71829,a=>{a.n(a.i(6249))},30713,a=>{a.n(a.i(75293))},47578,a=>{a.n(a.i(68963))},79135,a=>{a.n(a.i(17719))},75948,a=>{a.n(a.i(66113))},72030,a=>{a.n(a.i(66076))},95915,a=>{a.n(a.i(32066))},75102,a=>{a.n(a.i(38982))},75032,a=>{a.n(a.i(40412))},22541,a=>{a.n(a.i(26087))},65594,a=>{a.n(a.i(82731))},15969,a=>{a.n(a.i(2988))},98440,a=>{a.n(a.i(43100))},89405,a=>{a.n(a.i(77178))},91964,a=>{a.n(a.i(27116))},5287,a=>{a.n(a.i(7335))},69536,a=>{a.n(a.i(98880))},48365,a=>{a.n(a.i(63708))},68070,a=>{a.n(a.i(31110))},30940,a=>{a.n(a.i(75271))},65788,a=>{a.n(a.i(37177))},2318,a=>{a.n(a.i(42803))},47374,a=>{a.n(a.i(14930))},6962,a=>{a.n(a.i(15650))},57571,a=>{a.n(a.i(19992))},22442,a=>{a.n(a.i(86580))},41034,a=>{a.n(a.i(42828))},5918,a=>{a.n(a.i(99705))},81651,a=>{a.n(a.i(66666))},50924,a=>{a.n(a.i(82085))},8775,a=>{a.n(a.i(38969))},5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},1457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},12714,(a,b,c)=>{b.exports=a.x("node:fs/promises",()=>require("node:fs/promises"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},61095,(a,b,c)=>{b.exports=a.x("node:net",()=>require("node:net"))},26251,a=>{"use strict";var b=a.i(39371);let c=/sparkrun-ui-drafts\/(.+)\.yaml$/;function d(a){let b=a?._raw?.name;return"string"==typeof b?b:void 0}async function e(a,f,g=b.readDraftMeta){let h=a.meta?.recipe;if(!h)return null;let i=f.find(a=>a.path===h)?.name??null;if(i)return i;let j=h.match(c)?.[1]??null;if(j){let a=await g(j);if(a?.recipeName)return a.recipeName}let k=d(a.meta?.recipe_state);return k?f.find(a=>a.file===k)?.name??null:null}async function f(a,c,d=b.readDraftMeta){let g=[];for(let b of a){let a=await e(b,c,d);a&&g.push(a)}return g}async function g(a,c,f=b.readDraftMeta){let h=await e(a,c,f);if(h)return{registeredName:h,label:h};let i=d(a.meta?.recipe_state);if(i)return{label:i};let j=a.meta?.recipe;if(j){let a=j.split("/").pop()?.replace(/\.ya?ml$/,"");if(a)return{label:a}}return null}a.s(["collectRunningRecipeNames",0,f,"resolveRunningRecipeDisplay",0,g])},71385,a=>{a.v("/_next/static/media/icon.113mx9lzchuti.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},48760,a=>{"use strict";let b={src:a.i(71385).default,width:32,height:32};a.s(["default",0,b])},24328,a=>{"use strict";a.s(["NewBenchmarkForm",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call NewBenchmarkForm() from the server but NewBenchmarkForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/benchmarks/NewBenchmarkForm.tsx <module evaluation>","NewBenchmarkForm")},27602,a=>{"use strict";a.s(["NewBenchmarkForm",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call NewBenchmarkForm() from the server but NewBenchmarkForm is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/benchmarks/NewBenchmarkForm.tsx","NewBenchmarkForm")},85761,a=>{"use strict";a.i(24328);var b=a.i(27602);a.n(b)},96776,a=>{"use strict";var b=a.i(31607),c=a.i(57728),d=a.i(26251),e=a.i(85761);async function f(){let[a,f,g,h,i]=await Promise.all([c.serverClient.recipes.list({all:!0}),c.serverClient.clusters.list(),c.serverClient.clusters.getDefault(),c.serverClient.benchmarks.profiles(),c.serverClient.status.get().catch(()=>null)]),j=i?await (0,d.collectRunningRecipeNames)(i.solo_entries,a):[];return(0,b.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Run a benchmark"}),(0,b.jsx)(e.NewBenchmarkForm,{recipes:a,clusters:f,profiles:h,defaultClusterName:g?.name??null,runningRecipes:j})]})}a.s(["default",0,f,"dynamic",0,"force-dynamic"])},44272,a=>{a.n(a.i(96776))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__021wpp6._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[38556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2312,(a,b,c)=>{b.exports=a.r(18622)},814,a=>{a.n(a.i(33569))},2101,a=>{a.n(a.i(54592))},70061,a=>{a.n(a.i(99445))},71829,a=>{a.n(a.i(6249))},30713,a=>{a.n(a.i(75293))},47578,a=>{a.n(a.i(68963))},79135,a=>{a.n(a.i(17719))},75948,a=>{a.n(a.i(66113))},72030,a=>{a.n(a.i(66076))},95915,a=>{a.n(a.i(32066))},75102,a=>{a.n(a.i(38982))},75032,a=>{a.n(a.i(40412))},22541,a=>{a.n(a.i(26087))},65594,a=>{a.n(a.i(82731))},15969,a=>{a.n(a.i(2988))},98440,a=>{a.n(a.i(43100))},89405,a=>{a.n(a.i(77178))},91964,a=>{a.n(a.i(27116))},5287,a=>{a.n(a.i(7335))},69536,a=>{a.n(a.i(98880))},48365,a=>{a.n(a.i(63708))},68070,a=>{a.n(a.i(31110))},30940,a=>{a.n(a.i(75271))},65788,a=>{a.n(a.i(37177))},2318,a=>{a.n(a.i(42803))},47374,a=>{a.n(a.i(14930))},6962,a=>{a.n(a.i(15650))},57571,a=>{a.n(a.i(19992))},22442,a=>{a.n(a.i(86580))},41034,a=>{a.n(a.i(42828))},5918,a=>{a.n(a.i(99705))},81651,a=>{a.n(a.i(66666))},50924,a=>{a.n(a.i(82085))},8775,a=>{a.n(a.i(38969))},5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},1457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},12714,(a,b,c)=>{b.exports=a.x("node:fs/promises",()=>require("node:fs/promises"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},61095,(a,b,c)=>{b.exports=a.x("node:net",()=>require("node:net"))},26251,a=>{"use strict";var b=a.i(39371);let c=/sparkrun-ui-drafts\/(.+)\.yaml$/;async function
|
|
1
|
+
module.exports=[38556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2312,(a,b,c)=>{b.exports=a.r(18622)},814,a=>{a.n(a.i(33569))},2101,a=>{a.n(a.i(54592))},70061,a=>{a.n(a.i(99445))},71829,a=>{a.n(a.i(6249))},30713,a=>{a.n(a.i(75293))},47578,a=>{a.n(a.i(68963))},79135,a=>{a.n(a.i(17719))},75948,a=>{a.n(a.i(66113))},72030,a=>{a.n(a.i(66076))},95915,a=>{a.n(a.i(32066))},75102,a=>{a.n(a.i(38982))},75032,a=>{a.n(a.i(40412))},22541,a=>{a.n(a.i(26087))},65594,a=>{a.n(a.i(82731))},15969,a=>{a.n(a.i(2988))},98440,a=>{a.n(a.i(43100))},89405,a=>{a.n(a.i(77178))},91964,a=>{a.n(a.i(27116))},5287,a=>{a.n(a.i(7335))},69536,a=>{a.n(a.i(98880))},48365,a=>{a.n(a.i(63708))},68070,a=>{a.n(a.i(31110))},30940,a=>{a.n(a.i(75271))},65788,a=>{a.n(a.i(37177))},2318,a=>{a.n(a.i(42803))},47374,a=>{a.n(a.i(14930))},6962,a=>{a.n(a.i(15650))},57571,a=>{a.n(a.i(19992))},22442,a=>{a.n(a.i(86580))},41034,a=>{a.n(a.i(42828))},5918,a=>{a.n(a.i(99705))},81651,a=>{a.n(a.i(66666))},50924,a=>{a.n(a.i(82085))},8775,a=>{a.n(a.i(38969))},5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},1457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},12714,(a,b,c)=>{b.exports=a.x("node:fs/promises",()=>require("node:fs/promises"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},61095,(a,b,c)=>{b.exports=a.x("node:net",()=>require("node:net"))},26251,a=>{"use strict";var b=a.i(39371);let c=/sparkrun-ui-drafts\/(.+)\.yaml$/;function d(a){let b=a?._raw?.name;return"string"==typeof b?b:void 0}async function e(a,f,g=b.readDraftMeta){let h=a.meta?.recipe;if(!h)return null;let i=f.find(a=>a.path===h)?.name??null;if(i)return i;let j=h.match(c)?.[1]??null;if(j){let a=await g(j);if(a?.recipeName)return a.recipeName}let k=d(a.meta?.recipe_state);return k?f.find(a=>a.file===k)?.name??null:null}async function f(a,c,d=b.readDraftMeta){let g=[];for(let b of a){let a=await e(b,c,d);a&&g.push(a)}return g}async function g(a,c,f=b.readDraftMeta){let h=await e(a,c,f);if(h)return{registeredName:h,label:h};let i=d(a.meta?.recipe_state);if(i)return{label:i};let j=a.meta?.recipe;if(j){let a=j.split("/").pop()?.replace(/\.ya?ml$/,"");if(a)return{label:a}}return null}a.s(["collectRunningRecipeNames",0,f,"resolveRunningRecipeDisplay",0,g])},71385,a=>{a.v("/_next/static/media/icon.113mx9lzchuti.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},48760,a=>{"use strict";let b={src:a.i(71385).default,width:32,height:32};a.s(["default",0,b])},73844,a=>{"use strict";a.s(["RecipesBrowser",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call RecipesBrowser() from the server but RecipesBrowser is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/recipes/RecipesBrowser.tsx <module evaluation>","RecipesBrowser")},73358,a=>{"use strict";a.s(["RecipesBrowser",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call RecipesBrowser() from the server but RecipesBrowser is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/recipes/RecipesBrowser.tsx","RecipesBrowser")},67156,a=>{"use strict";a.i(73844);var b=a.i(73358);a.n(b)},49435,a=>{"use strict";var b=a.i(31607),c=a.i(57728),d=a.i(26251),e=a.i(67156);async function f(){let[a,f]=await Promise.all([c.serverClient.recipes.list({all:!0}),c.serverClient.status.get().catch(()=>null)]),g=f?await (0,d.collectRunningRecipeNames)(f.solo_entries,a):[];return(0,b.jsx)(e.RecipesBrowser,{recipes:a,runningRecipes:g})}a.s(["default",0,f,"dynamic",0,"force-dynamic"])},53265,a=>{a.n(a.i(49435))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__030qcl1._.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module.exports=[89578,a=>{a.v({className:"geist_a71539c9-module__T19VSG__className",variable:"geist_a71539c9-module__T19VSG__variable"})},35214,a=>{a.v({className:"geist_mono_8d43a2aa-module__8Li5zG__className",variable:"geist_mono_8d43a2aa-module__8Li5zG__variable"})},13601,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"warnOnce",{enumerable:!0,get:function(){return d}});let d=a=>{}},98593,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0});var e={getAssetToken:function(){return i},getAssetTokenQuery:function(){return j},getDeploymentId:function(){return g},getDeploymentIdQuery:function(){return h}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});function g(){return d}function h(a=!1){return d?`${a?"&":"?"}dpl=${d}`:""}function i(){return!1}function j(a=!1){return""}d=void 0},9275,(a,b,c)=>{"use strict";function d({widthInt:a,heightInt:b,blurWidth:c,blurHeight:e,blurDataURL:f,objectFit:g}){let h=c?40*c:a,i=e?40*e:b,j=h&&i?`viewBox='0 0 ${h} ${i}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${j}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${j?"none":"contain"===g?"xMidYMid":"cover"===g?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${f}'/%3E%3C/svg%3E`}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getImageBlurSvg",{enumerable:!0,get:function(){return d}})},70987,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={VALID_LOADERS:function(){return f},imageConfigDefault:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=["default","imgix","cloudinary","akamai","custom"],g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},38451,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"getImgProps",{enumerable:!0,get:function(){return j}}),a.r(13601);let d=a.r(98593),e=a.r(9275),f=a.r(70987),g=["-moz-initial","fill","none","scale-down",void 0];function h(a){return void 0!==a.default}function i(a){return void 0===a?a:"number"==typeof a?Number.isFinite(a)?a:NaN:"string"==typeof a&&/^[0-9]+$/.test(a)?parseInt(a,10):NaN}function j({src:a,sizes:b,unoptimized:c=!1,priority:k=!1,preload:l=!1,loading:m,className:n,quality:o,width:p,height:q,fill:r=!1,style:s,overrideSrc:t,onLoad:u,onLoadingComplete:v,placeholder:w="empty",blurDataURL:x,fetchPriority:y,decoding:z="async",layout:A,objectFit:B,objectPosition:C,lazyBoundary:D,lazyRoot:E,...F},G){var H;let I,J,K,{imgConf:L,showAltText:M,blurComplete:N,defaultLoader:O}=G,P=L||f.imageConfigDefault;if("allSizes"in P)I=P;else{let a=[...P.deviceSizes,...P.imageSizes].sort((a,b)=>a-b),b=P.deviceSizes.sort((a,b)=>a-b),c=P.qualities?.sort((a,b)=>a-b);I={...P,allSizes:a,deviceSizes:b,qualities:c}}if(void 0===O)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let Q=F.loader||O;delete F.loader,delete F.srcSet;let R="__next_img_default"in Q;if(R){if("custom"===I.loader)throw Object.defineProperty(Error(`Image with src "${a}" is missing "loader" prop.
|
|
2
2
|
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let a=Q;Q=b=>{let{config:c,...d}=b;return a(d)}}if(A){"fill"===A&&(r=!0);let a={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];a&&(s={...s,...a});let c={responsive:"100vw",fill:"100vw"}[A];c&&!b&&(b=c)}let S="",T=i(p),U=i(q);if((H=a)&&"object"==typeof H&&(h(H)||void 0!==H.src)){let b=h(a)?a.default:a;if(!b.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(b)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!b.height||!b.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(b)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(J=b.blurWidth,K=b.blurHeight,x=x||b.blurDataURL,S=b.src,!r)if(T||U){if(T&&!U){let a=T/b.width;U=Math.round(b.height*a)}else if(!T&&U){let a=U/b.height;T=Math.round(b.width*a)}}else T=b.width,U=b.height}let V=!k&&!l&&("lazy"===m||void 0===m);(!(a="string"==typeof a?a:S)||a.startsWith("data:")||a.startsWith("blob:"))&&(c=!0,V=!1),I.unoptimized&&(c=!0),R&&!I.dangerouslyAllowSVG&&a.split("?",1)[0].endsWith(".svg")&&(c=!0);let W=i(o),X=Object.assign(r?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:B,objectPosition:C}:{},M?{}:{color:"transparent"},s),Y=N||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,e.getImageBlurSvg)({widthInt:T,heightInt:U,blurWidth:J,blurHeight:K,blurDataURL:x||"",objectFit:X.objectFit})}")`:`url("${w}")`,Z=g.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,$=Y?{backgroundSize:Z,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},_=function({config:a,src:b,unoptimized:c,width:e,quality:f,sizes:g,loader:h}){if(c){if(b.startsWith("/")&&!b.startsWith("//")){let a=(0,d.getDeploymentId)();if(a){let c=b.indexOf("?");if(-1!==c){let d=new URLSearchParams(b.slice(c+1));d.get("dpl")||(d.append("dpl",a),b=b.slice(0,c)+"?"+d.toString())}else b+=`?dpl=${a}`}}return{src:b,srcSet:void 0,sizes:void 0}}let{widths:i,kind:j}=function({deviceSizes:a,allSizes:b},c,d){if(d){let c=/(^|\s)(1?\d?\d)vw/g,e=[];for(let a;a=c.exec(d);)e.push(parseInt(a[2]));if(e.length){let c=.01*Math.min(...e);return{widths:b.filter(b=>b>=a[0]*c),kind:"w"}}return{widths:b,kind:"w"}}return"number"!=typeof c?{widths:a,kind:"w"}:{widths:[...new Set([c,2*c].map(a=>b.find(b=>b>=a)||b[b.length-1]))],kind:"x"}}(a,e,g),k=i.length-1;return{sizes:g||"w"!==j?g:"100vw",srcSet:i.map((c,d)=>`${h({config:a,src:b,quality:f,width:c})} ${"w"===j?c:d+1}${j}`).join(", "),src:h({config:a,src:b,quality:f,width:i[k]})}}({config:I,src:a,unoptimized:c,width:T,quality:W,sizes:b,loader:Q}),aa=V?"lazy":m;return{props:{...F,loading:aa,fetchPriority:y,width:T,height:U,decoding:z,className:n,style:{...X,...$},sizes:_.sizes,srcSet:_.srcSet,src:t||_.src},meta:{unoptimized:c,preload:l||k,placeholder:w,fill:r}}}},91839,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(61261);a.n(d("[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/image-component.js <module evaluation>"))},68062,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(61261);a.n(d("[project]/node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/client/image-component.js"))},36377,a=>{"use strict";a.i(91839);var b=a.i(68062);a.n(b)},15750,(a,b,c)=>{"use strict";function d(a,b){let c=a||75;return b?.qualities?.length?b.qualities.reduce((a,b)=>Math.abs(b-c)<Math.abs(a-c)?b:a,b.qualities[0]):c}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"findClosestQuality",{enumerable:!0,get:function(){return d}})},99190,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return g}});let d=a.r(15750),e=a.r(98593);function f({config:a,src:b,width:c,quality:g}){let h=(0,e.getDeploymentId)();if(b.startsWith("/")&&!b.startsWith("//")){let a=b.indexOf("?");if(-1!==a){let c=new URLSearchParams(b.slice(a+1)),d=c.get("dpl");if(d){h=d,c.delete("dpl");let e=c.toString();b=b.slice(0,a)+(e?"?"+e:"")}}}if(b.startsWith("/")&&b.includes("?")&&a.localPatterns?.length===1&&"**"===a.localPatterns[0].pathname&&""===a.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${b}" is using a query string which is not configured in images.localPatterns.
|
|
3
|
-
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,d.findClosestQuality)(g,a);return`${a.path}?url=${encodeURIComponent(b)}&w=${c}&q=${i}${b.startsWith("/")&&h?`&dpl=${h}`:""}`}f.__next_img_default=!0;let g=f},35304,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return k},getImageProps:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(55289),g=a.r(38451),h=a.r(36377),i=f._(a.r(99190));function j(a){let{props:b}=(0,g.getImgProps)(a,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[a,c]of Object.entries(b))void 0===c&&delete b[a];return{props:b}}let k=h.Image},10431,(a,b,c)=>{b.exports=a.r(35304)},15038,a=>{"use strict";a.s(["Nav",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call Nav() from the server but Nav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/Nav.tsx <module evaluation>","Nav")},62825,a=>{"use strict";a.s(["Nav",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call Nav() from the server but Nav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/Nav.tsx","Nav")},35813,a=>{"use strict";a.i(15038);var b=a.i(62825);a.n(b)},98903,a=>{"use strict";a.s(["HeaderStats",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call HeaderStats() from the server but HeaderStats is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/HeaderStats.tsx <module evaluation>","HeaderStats")},50186,a=>{"use strict";a.s(["HeaderStats",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call HeaderStats() from the server but HeaderStats is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/HeaderStats.tsx","HeaderStats")},97283,a=>{"use strict";a.i(98903);var b=a.i(50186);a.n(b)},58268,a=>{"use strict";a.s(["ToastProvider",()=>c,"toast",()=>d]);var b=a.i(61261);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ToastProvider() from the server but ToastProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/ui/Toast.tsx <module evaluation>","ToastProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/ui/Toast.tsx <module evaluation>","toast")},62613,a=>{"use strict";a.s(["ToastProvider",()=>c,"toast",()=>d]);var b=a.i(61261);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ToastProvider() from the server but ToastProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/ui/Toast.tsx","ToastProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/ui/Toast.tsx","toast")},9997,a=>{"use strict";a.i(58268);var b=a.i(62613);a.n(b)},33290,a=>{"use strict";var b=a.i(31607),c=a.i(89578);let d={className:c.default.className,style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"}};null!=c.default.variable&&(d.variable=c.default.variable);var e=a.i(35214);let f={className:e.default.className,style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"}};null!=e.default.variable&&(f.variable=e.default.variable);var g=a.i(50913),h=a.i(10431),i=a.i(35813),j=a.i(97283);function k(){return(0,b.jsx)("footer",{className:"mt-12 border-t border-zinc-200 dark:border-zinc-800",children:(0,b.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col items-center justify-between gap-3 px-6 py-6 text-sm sm:flex-row",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 text-zinc-500 dark:text-zinc-400",children:[(0,b.jsx)(h.default,{src:"/logo.svg",alt:"",width:16,height:16}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-medium text-zinc-700 dark:text-zinc-300",children:"sparkrun-ui"})," · web UI for"," ",(0,b.jsx)(g.default,{href:"https://github.com/mcampa/sparkrun",target:"_blank",rel:"noreferrer",className:"underline decoration-zinc-400 decoration-dotted underline-offset-2 hover:text-sky-600 dark:hover:text-sky-400",children:"sparkrun"})]})]}),(0,b.jsxs)(g.default,{href:"https://github.com/mcampa/sparkrun-ui",target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 rounded-md px-2 py-1 text-zinc-600 transition-colors hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100","aria-label":"View source on GitHub",children:[(0,b.jsx)(l,{}),(0,b.jsx)("span",{children:"GitHub"})]})]})})}function l(){return(0,b.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",focusable:"false",children:(0,b.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-1.96c-3.2.7-3.87-1.54-3.87-1.54-.52-1.32-1.28-1.67-1.28-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.03 1.76 2.69 1.25 3.34.96.1-.74.4-1.25.73-1.54-2.55-.29-5.24-1.27-5.24-5.66 0-1.25.45-2.27 1.18-3.07-.12-.29-.51-1.46.11-3.04 0 0 .96-.31 3.15 1.18A11 11 0 0 1 12 6.8c.97 0 1.95.13 2.86.38 2.18-1.49 3.14-1.18 3.14-1.18.63 1.58.23 2.75.11 3.04.74.8 1.18 1.82 1.18 3.07 0 4.4-2.7 5.37-5.26 5.65.41.35.77 1.05.77 2.11v3.13c0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z"})})}
|
|
3
|
+
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,d.findClosestQuality)(g,a);return`${a.path}?url=${encodeURIComponent(b)}&w=${c}&q=${i}${b.startsWith("/")&&h?`&dpl=${h}`:""}`}f.__next_img_default=!0;let g=f},35304,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={default:function(){return k},getImageProps:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(55289),g=a.r(38451),h=a.r(36377),i=f._(a.r(99190));function j(a){let{props:b}=(0,g.getImgProps)(a,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[a,c]of Object.entries(b))void 0===c&&delete b[a];return{props:b}}let k=h.Image},10431,(a,b,c)=>{b.exports=a.r(35304)},15038,a=>{"use strict";a.s(["Nav",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call Nav() from the server but Nav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/Nav.tsx <module evaluation>","Nav")},62825,a=>{"use strict";a.s(["Nav",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call Nav() from the server but Nav is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/Nav.tsx","Nav")},35813,a=>{"use strict";a.i(15038);var b=a.i(62825);a.n(b)},98903,a=>{"use strict";a.s(["HeaderStats",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call HeaderStats() from the server but HeaderStats is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/HeaderStats.tsx <module evaluation>","HeaderStats")},50186,a=>{"use strict";a.s(["HeaderStats",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call HeaderStats() from the server but HeaderStats is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/HeaderStats.tsx","HeaderStats")},97283,a=>{"use strict";a.i(98903);var b=a.i(50186);a.n(b)},97668,a=>{"use strict";a.s(["AnimatedBackground",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call AnimatedBackground() from the server but AnimatedBackground is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/AnimatedBackground.tsx <module evaluation>","AnimatedBackground")},81941,a=>{"use strict";a.s(["AnimatedBackground",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call AnimatedBackground() from the server but AnimatedBackground is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/AnimatedBackground.tsx","AnimatedBackground")},47477,a=>{"use strict";a.i(97668);var b=a.i(81941);a.n(b)},58268,a=>{"use strict";a.s(["ToastProvider",()=>c,"toast",()=>d]);var b=a.i(61261);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ToastProvider() from the server but ToastProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/ui/Toast.tsx <module evaluation>","ToastProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/ui/Toast.tsx <module evaluation>","toast")},62613,a=>{"use strict";a.s(["ToastProvider",()=>c,"toast",()=>d]);var b=a.i(61261);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ToastProvider() from the server but ToastProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/ui/Toast.tsx","ToastProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/ui/Toast.tsx","toast")},9997,a=>{"use strict";a.i(58268);var b=a.i(62613);a.n(b)},33290,a=>{"use strict";var b=a.i(31607),c=a.i(89578);let d={className:c.default.className,style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"}};null!=c.default.variable&&(d.variable=c.default.variable);var e=a.i(35214);let f={className:e.default.className,style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"}};null!=e.default.variable&&(f.variable=e.default.variable);var g=a.i(50913),h=a.i(10431),i=a.i(35813),j=a.i(97283);function k(){return(0,b.jsx)("footer",{className:"mt-12 border-t border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80",children:(0,b.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col items-center justify-between gap-3 px-6 py-6 text-sm sm:flex-row",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 text-zinc-500 dark:text-zinc-400",children:[(0,b.jsx)(h.default,{src:"/logo.svg",alt:"",width:16,height:16}),(0,b.jsxs)("span",{children:[(0,b.jsx)("span",{className:"font-medium text-zinc-700 dark:text-zinc-300",children:"sparkrun-ui"})," · web UI for"," ",(0,b.jsx)(g.default,{href:"https://github.com/mcampa/sparkrun",target:"_blank",rel:"noreferrer",className:"underline decoration-zinc-400 decoration-dotted underline-offset-2 hover:text-sky-600 dark:hover:text-sky-400",children:"sparkrun"})]})]}),(0,b.jsxs)(g.default,{href:"https://github.com/mcampa/sparkrun-ui",target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 rounded-md px-2 py-1 text-zinc-600 transition-colors hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-100","aria-label":"View source on GitHub",children:[(0,b.jsx)(l,{}),(0,b.jsx)("span",{children:"GitHub"})]})]})})}function l(){return(0,b.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",focusable:"false",children:(0,b.jsx)("path",{d:"M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56v-1.96c-3.2.7-3.87-1.54-3.87-1.54-.52-1.32-1.28-1.67-1.28-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.03 1.76 2.69 1.25 3.34.96.1-.74.4-1.25.73-1.54-2.55-.29-5.24-1.27-5.24-5.66 0-1.25.45-2.27 1.18-3.07-.12-.29-.51-1.46.11-3.04 0 0 .96-.31 3.15 1.18A11 11 0 0 1 12 6.8c.97 0 1.95.13 2.86.38 2.18-1.49 3.14-1.18 3.14-1.18.63 1.58.23 2.75.11 3.04.74.8 1.18 1.82 1.18 3.07 0 4.4-2.7 5.37-5.26 5.65.41.35.77 1.05.77 2.11v3.13c0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z"})})}var m=a.i(47477);function n({children:a}){return(0,b.jsxs)("div",{id:"root-isolation",className:"flex min-h-screen flex-col",children:[(0,b.jsx)(m.AnimatedBackground,{}),(0,b.jsx)("header",{className:"sticky top-0 z-10 border-b border-zinc-200 bg-white/80 backdrop-blur dark:border-zinc-800 dark:bg-zinc-950/80",children:(0,b.jsxs)("div",{className:"mx-auto flex h-14 max-w-7xl items-center justify-between px-6",children:[(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsxs)(g.default,{href:"/",className:"flex items-center gap-2 text-sm font-semibold text-zinc-900 dark:text-zinc-100",children:[(0,b.jsx)(h.default,{src:"/logo.svg",alt:"",width:20,height:20,priority:!0}),"sparkrun"]}),(0,b.jsx)(j.HeaderStats,{})]}),(0,b.jsx)(i.Nav,{})]})}),(0,b.jsx)("main",{className:"mx-auto w-full max-w-7xl flex-1 px-6 py-8",children:a}),(0,b.jsx)(k,{})]})}var o=a.i(9997);let p={metadataBase:new URL(`http://localhost:${process.env.PORT??"5678"}`),title:"sparkrun",description:"Web UI for sparkrun — launch and monitor inference workloads on DGX Spark",applicationName:"sparkrun",openGraph:{title:"sparkrun",description:"Web UI for sparkrun — launch and monitor inference workloads on DGX Spark",images:["/logo.svg"]}};a.s(["default",0,function({children:a}){return(0,b.jsx)("html",{lang:"en",className:`${d.variable} ${f.variable} h-full antialiased`,suppressHydrationWarning:!0,children:(0,b.jsx)("body",{className:"min-h-full",children:(0,b.jsx)(o.ToastProvider,{children:(0,b.jsx)(n,{children:a})})})})},"metadata",0,p,"viewport",0,{themeColor:[{media:"(prefers-color-scheme: light)",color:"#0ea5e9"},{media:"(prefers-color-scheme: dark)",color:"#0b1220"}]}],33290)},70864,a=>{a.n(a.i(33290))}];
|
|
4
4
|
|
|
5
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
5
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__03ntmap._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},85651,(a,b,c)=>{"use strict";b.exports=a.r(18622)},57096,(a,b,c)=>{"use strict";b.exports=a.r(85651).vendored["react-ssr"].ReactJsxRuntime},84668,(a,b,c)=>{"use strict";b.exports=a.r(85651).vendored["react-ssr"].React},71959,(a,b,c)=>{"use strict";b.exports=a.r(85651).vendored.contexts.AppRouterContext},43221,(a,b,c)=>{"use strict";b.exports=a.r(85651).vendored["react-ssr"].ReactServerDOMTurbopackClient},93464,(a,b,c)=>{"use strict";b.exports=a.r(85651).vendored["react-ssr"].ReactDOM},42913,(a,b,c)=>{"use strict";b.exports=a.r(85651).vendored.contexts.HooksClientContext},44781,(a,b,c)=>{"use strict";b.exports=a.r(85651).vendored.contexts.ServerInsertedHtml},63652,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},18031,a=>{"use strict";a.s(["mergeClasses",0,(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim()])},18459,71089,a=>{"use strict";a.s(["default",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],18459),a.s(["hasA11yProp",0,a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1}],71089)},39412,a=>{"use strict";var b=a.i(84668),c=a.i(18459),d=a.i(71089),e=a.i(18031);let f=(0,b.createContext)({}),g=(0,b.forwardRef)(({color:a,size:g,strokeWidth:h,absoluteStrokeWidth:i,className:j="",children:k,iconNode:l,...m},n)=>{let{size:o=24,strokeWidth:p=2,absoluteStrokeWidth:q=!1,color:r="currentColor",className:s=""}=(0,b.useContext)(f)??{},t=i??q?24*Number(h??p)/Number(g??o):h??p;return(0,b.createElement)("svg",{ref:n,...c.default,width:g??o??c.default.width,height:g??o??c.default.height,stroke:a??r,strokeWidth:t,className:(0,e.mergeClasses)("lucide",s,j),...!k&&!(0,d.hasA11yProp)(m)&&{"aria-hidden":"true"},...m},[...l.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(k)?k:[k]])});a.s(["default",0,g],39412)},3988,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},47577,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},11518,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return l},NOT_FOUND_SEGMENT_KEY:function(){return m},PAGE_SEGMENT_KEY:function(){return k},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return j},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return!h||h.startsWith(k)?e:(e.push(h),a(g,c,!1,e))}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(a.includes(k)){let a=JSON.stringify(b);return"{}"!==a?k+"?"+a:k}return a}function j(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===l?null:c}let k="__PAGE__",l="__DEFAULT__",m="/_not-found"},61622,(a,b,c)=>{"use strict";function d(){let a,b,c=new Promise((c,d)=>{a=c,b=d});return{resolve:a,reject:b,promise:c}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createPromiseWithResolvers",{enumerable:!0,get:function(){return d}})},16975,a=>{"use strict";var b=a.i(84668),c=a.i(93464),d=a.i(70621),e=a.i(57096);let f=b.forwardRef(function(a,f){let{children:g,container:h,className:i,render:j,style:k,...l}=a,{portalNode:m,portalSubtree:n}=(0,d.useFloatingPortalNode)({container:h,ref:f,componentProps:a,elementProps:l});return n||m?(0,e.jsxs)(b.Fragment,{children:[n,m&&c.createPortal(g,m)]}):null});a.s(["FloatingPortalLite",0,f])},40255,a=>{"use strict";let b=(0,a.i(64588).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",0,b],40255)},36134,a=>{"use strict";let b=(0,a.i(64588).default)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]]);a.s(["Rocket",0,b],36134)},4733,56352,a=>{"use strict";var b=a.i(64588);let c=(0,b.default)("thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]]);a.s(["Thermometer",0,c],4733);let d=(0,b.default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);a.s(["Zap",0,d],56352)},28536,a=>{"use strict";let b=(0,a.i(64588).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);a.s(["MessageSquare",0,b],28536)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__03qy0wk._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[38556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2312,(a,b,c)=>{b.exports=a.r(18622)},814,a=>{a.n(a.i(33569))},2101,a=>{a.n(a.i(54592))},70061,a=>{a.n(a.i(99445))},71829,a=>{a.n(a.i(6249))},30713,a=>{a.n(a.i(75293))},47578,a=>{a.n(a.i(68963))},79135,a=>{a.n(a.i(17719))},75948,a=>{a.n(a.i(66113))},72030,a=>{a.n(a.i(66076))},95915,a=>{a.n(a.i(32066))},75102,a=>{a.n(a.i(38982))},75032,a=>{a.n(a.i(40412))},22541,a=>{a.n(a.i(26087))},65594,a=>{a.n(a.i(82731))},15969,a=>{a.n(a.i(2988))},98440,a=>{a.n(a.i(43100))},89405,a=>{a.n(a.i(77178))},91964,a=>{a.n(a.i(27116))},5287,a=>{a.n(a.i(7335))},69536,a=>{a.n(a.i(98880))},48365,a=>{a.n(a.i(63708))},68070,a=>{a.n(a.i(31110))},30940,a=>{a.n(a.i(75271))},65788,a=>{a.n(a.i(37177))},2318,a=>{a.n(a.i(42803))},47374,a=>{a.n(a.i(14930))},6962,a=>{a.n(a.i(15650))},57571,a=>{a.n(a.i(19992))},22442,a=>{a.n(a.i(86580))},41034,a=>{a.n(a.i(42828))},5918,a=>{a.n(a.i(99705))},81651,a=>{a.n(a.i(66666))},50924,a=>{a.n(a.i(82085))},8775,a=>{a.n(a.i(38969))},5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},1457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},12714,(a,b,c)=>{b.exports=a.x("node:fs/promises",()=>require("node:fs/promises"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},61095,(a,b,c)=>{b.exports=a.x("node:net",()=>require("node:net"))},71385,a=>{a.v("/_next/static/media/icon.113mx9lzchuti.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},48760,a=>{"use strict";let b={src:a.i(71385).default,width:32,height:32};a.s(["default",0,b])},58047,a=>{"use strict";a.s(["ChatPage",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call ChatPage() from the server but ChatPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/chat/ChatPage.tsx <module evaluation>","ChatPage")},48590,a=>{"use strict";a.s(["ChatPage",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call ChatPage() from the server but ChatPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/chat/ChatPage.tsx","ChatPage")},97517,a=>{"use strict";a.i(58047);var b=a.i(48590);a.n(b)},54287,a=>{"use strict";var b=a.i(31607),c=a.i(57728),d=a.i(97517);async function e(){let
|
|
1
|
+
module.exports=[38556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2312,(a,b,c)=>{b.exports=a.r(18622)},814,a=>{a.n(a.i(33569))},2101,a=>{a.n(a.i(54592))},70061,a=>{a.n(a.i(99445))},71829,a=>{a.n(a.i(6249))},30713,a=>{a.n(a.i(75293))},47578,a=>{a.n(a.i(68963))},79135,a=>{a.n(a.i(17719))},75948,a=>{a.n(a.i(66113))},72030,a=>{a.n(a.i(66076))},95915,a=>{a.n(a.i(32066))},75102,a=>{a.n(a.i(38982))},75032,a=>{a.n(a.i(40412))},22541,a=>{a.n(a.i(26087))},65594,a=>{a.n(a.i(82731))},15969,a=>{a.n(a.i(2988))},98440,a=>{a.n(a.i(43100))},89405,a=>{a.n(a.i(77178))},91964,a=>{a.n(a.i(27116))},5287,a=>{a.n(a.i(7335))},69536,a=>{a.n(a.i(98880))},48365,a=>{a.n(a.i(63708))},68070,a=>{a.n(a.i(31110))},30940,a=>{a.n(a.i(75271))},65788,a=>{a.n(a.i(37177))},2318,a=>{a.n(a.i(42803))},47374,a=>{a.n(a.i(14930))},6962,a=>{a.n(a.i(15650))},57571,a=>{a.n(a.i(19992))},22442,a=>{a.n(a.i(86580))},41034,a=>{a.n(a.i(42828))},5918,a=>{a.n(a.i(99705))},81651,a=>{a.n(a.i(66666))},50924,a=>{a.n(a.i(82085))},8775,a=>{a.n(a.i(38969))},5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},1457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},12714,(a,b,c)=>{b.exports=a.x("node:fs/promises",()=>require("node:fs/promises"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},61095,(a,b,c)=>{b.exports=a.x("node:net",()=>require("node:net"))},71385,a=>{a.v("/_next/static/media/icon.113mx9lzchuti.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},48760,a=>{"use strict";let b={src:a.i(71385).default,width:32,height:32};a.s(["default",0,b])},58047,a=>{"use strict";a.s(["ChatPage",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call ChatPage() from the server but ChatPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/chat/ChatPage.tsx <module evaluation>","ChatPage")},48590,a=>{"use strict";a.s(["ChatPage",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call ChatPage() from the server but ChatPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/chat/ChatPage.tsx","ChatPage")},97517,a=>{"use strict";a.i(58047);var b=a.i(48590);a.n(b)},54287,a=>{"use strict";var b=a.i(31607),c=a.i(57728),d=a.i(97517);async function e({searchParams:a}){let[f,g]=await Promise.all([c.serverClient.status.get(),a]);return(0,b.jsx)(d.ChatPage,{initial:f,initialClusterId:g.clusterId})}a.s(["default",0,e,"dynamic",0,"force-dynamic"])},55586,a=>{a.n(a.i(54287))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__08pj2hz._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[38556,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},2312,(a,b,c)=>{b.exports=a.r(18622)},814,a=>{a.n(a.i(33569))},2101,a=>{a.n(a.i(54592))},70061,a=>{a.n(a.i(99445))},71829,a=>{a.n(a.i(6249))},30713,a=>{a.n(a.i(75293))},47578,a=>{a.n(a.i(68963))},79135,a=>{a.n(a.i(17719))},75948,a=>{a.n(a.i(66113))},72030,a=>{a.n(a.i(66076))},95915,a=>{a.n(a.i(32066))},75102,a=>{a.n(a.i(38982))},75032,a=>{a.n(a.i(40412))},22541,a=>{a.n(a.i(26087))},65594,a=>{a.n(a.i(82731))},15969,a=>{a.n(a.i(2988))},98440,a=>{a.n(a.i(43100))},89405,a=>{a.n(a.i(77178))},91964,a=>{a.n(a.i(27116))},5287,a=>{a.n(a.i(7335))},69536,a=>{a.n(a.i(98880))},48365,a=>{a.n(a.i(63708))},68070,a=>{a.n(a.i(31110))},30940,a=>{a.n(a.i(75271))},65788,a=>{a.n(a.i(37177))},2318,a=>{a.n(a.i(42803))},47374,a=>{a.n(a.i(14930))},6962,a=>{a.n(a.i(15650))},57571,a=>{a.n(a.i(19992))},22442,a=>{a.n(a.i(86580))},41034,a=>{a.n(a.i(42828))},5918,a=>{a.n(a.i(99705))},81651,a=>{a.n(a.i(66666))},50924,a=>{a.n(a.i(82085))},8775,a=>{a.n(a.i(38969))},5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},1457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},12714,(a,b,c)=>{b.exports=a.x("node:fs/promises",()=>require("node:fs/promises"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},61095,(a,b,c)=>{b.exports=a.x("node:net",()=>require("node:net"))},26251,a=>{"use strict";var b=a.i(39371);let c=/sparkrun-ui-drafts\/(.+)\.yaml$/;function d(a){let b=a?._raw?.name;return"string"==typeof b?b:void 0}async function e(a,f,g=b.readDraftMeta){let h=a.meta?.recipe;if(!h)return null;let i=f.find(a=>a.path===h)?.name??null;if(i)return i;let j=h.match(c)?.[1]??null;if(j){let a=await g(j);if(a?.recipeName)return a.recipeName}let k=d(a.meta?.recipe_state);return k?f.find(a=>a.file===k)?.name??null:null}async function f(a,c,d=b.readDraftMeta){let g=[];for(let b of a){let a=await e(b,c,d);a&&g.push(a)}return g}async function g(a,c,f=b.readDraftMeta){let h=await e(a,c,f);if(h)return{registeredName:h,label:h};let i=d(a.meta?.recipe_state);if(i)return{label:i};let j=a.meta?.recipe;if(j){let a=j.split("/").pop()?.replace(/\.ya?ml$/,"");if(a)return{label:a}}return null}a.s(["collectRunningRecipeNames",0,f,"resolveRunningRecipeDisplay",0,g])},71385,a=>{a.v("/_next/static/media/icon.113mx9lzchuti.svg"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},48760,a=>{"use strict";let b={src:a.i(71385).default,width:32,height:32};a.s(["default",0,b])},41339,a=>{"use strict";a.s(["DashboardLive",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call DashboardLive() from the server but DashboardLive is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/dashboard/DashboardLive.tsx <module evaluation>","DashboardLive")},48832,a=>{"use strict";a.s(["DashboardLive",()=>b]);let b=(0,a.i(61261).registerClientReference)(function(){throw Error("Attempted to call DashboardLive() from the server but DashboardLive is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/components/dashboard/DashboardLive.tsx","DashboardLive")},2373,a=>{"use strict";a.i(41339);var b=a.i(48832);a.n(b)},75403,a=>{"use strict";var b=a.i(31607),c=a.i(57728),d=a.i(26251),e=a.i(2373);async function f(){let[a,f]=await Promise.all([c.serverClient.status.get(),c.serverClient.recipes.list({all:!0})]),g=new Map;for(let b of a.solo_entries){let a=await (0,d.resolveRunningRecipeDisplay)(b,f);a&&g.set(b.cluster_id,a)}return(0,b.jsx)(e.DashboardLive,{initial:a,recipeByCluster:g})}a.s(["default",0,f,"dynamic",0,"force-dynamic"])},18144,a=>{a.n(a.i(75403))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0a.-f32._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[5365,(a,b,c)=>{b.exports=a.x("process",()=>require("process"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},37942,a=>{"use strict";var b=a.i(57096),c=a.i(69767);a.s(["Card",0,function({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("rounded-lg border border-zinc-200 bg-white shadow-sm dark:border-zinc-800 dark:bg-zinc-900",a),...d})},"CardBody",0,function({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("px-5 py-4",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("p",{className:(0,c.cn)("text-sm text-zinc-500 dark:text-zinc-400",a),...d})},"CardFooter",0,function({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("flex items-center justify-end gap-2 border-t border-zinc-200 px-5 py-3 dark:border-zinc-800",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("flex flex-col gap-1 border-b border-zinc-200 px-5 py-4 dark:border-zinc-800",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("h3",{className:(0,c.cn)("text-base font-semibold text-zinc-900 dark:text-zinc-100",a),...d})}])},49043,a=>{"use strict";var b=a.i(57096),c=a.i(69767);let d={neutral:"bg-zinc-100 text-zinc-700 dark:bg-zinc-800 dark:text-zinc-300",sky:"bg-sky-100 text-sky-700 dark:bg-sky-950 dark:text-sky-300",green:"bg-emerald-100 text-emerald-700 dark:bg-emerald-950 dark:text-emerald-300",amber:"bg-amber-100 text-amber-700 dark:bg-amber-950 dark:text-amber-300",red:"bg-red-100 text-red-700 dark:bg-red-950 dark:text-red-300",purple:"bg-purple-100 text-purple-700 dark:bg-purple-950 dark:text-purple-300"};a.s(["Badge",0,function({tone:a="neutral",className:e,...f}){return(0,b.jsx)("span",{className:(0,c.cn)("inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-xs font-medium",d[a],e),...f})}])},69345,a=>{"use strict";let b=(0,a.i(64588).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);a.s(["Play",0,b],69345)},5600,a=>{"use strict";let b=(0,a.i(64588).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",0,b],5600)},27464,a=>{"use strict";var b=a.i(26170),c=a.i(95133);a.s(["getCssDimensions",0,function(a){let d=(0,c.getComputedStyle)(a),e=parseFloat(d.width)||0,f=parseFloat(d.height)||0,g=(0,c.isHTMLElement)(a),h=g?a.offsetWidth:e,i=g?a.offsetHeight:f;return((0,b.round)(e)!==h||(0,b.round)(f)!==i)&&(e=h,f=i),{width:e,height:f}}])},22496,a=>{"use strict";let b=(0,a.i(64588).default)("scroll-text",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]);a.s(["ScrollText",0,b],22496)},6268,a=>{"use strict";var b=a.i(57096),c=a.i(84668),d=a.i(22496),e=a.i(25273),f=a.i(58499);function g(a,b,c){c&&a.push({text:c,...b})}let h={0:"text-zinc-600",1:"text-red-400",2:"text-emerald-400",3:"text-yellow-300",4:"text-blue-400",5:"text-fuchsia-400",6:"text-cyan-300",7:"text-zinc-100",b0:"text-zinc-500",b1:"text-red-300",b2:"text-emerald-300",b3:"text-yellow-200",b4:"text-blue-300",b5:"text-fuchsia-300",b6:"text-cyan-200",b7:"text-white"};function i({line:a}){let d=(0,c.useMemo)(()=>(function(a){let b=[],c={},d=0;for(;d<a.length;){let e=a.indexOf("\x1b[",d);if(-1===e){g(b,c,a.slice(d));break}e>d&&g(b,c,a.slice(d,e));let f=a.indexOf("m",e+2);if(-1===f){g(b,c,a.slice(e));break}(function(a,b){let c=0;for(;c<b.length;){let d=b[c];switch(d){case 0:a.bold=void 0,a.dim=void 0,a.italic=void 0,a.underline=void 0,a.fg=void 0,a.bg=void 0;break;case 1:a.bold=!0;break;case 2:a.dim=!0;break;case 3:a.italic=!0;break;case 4:a.underline=!0;break;case 22:a.bold=void 0,a.dim=void 0;break;case 23:a.italic=void 0;break;case 24:a.underline=void 0;break;case 38:case 48:5===b[c+1]?c+=2:2===b[c+1]&&(c+=4);break;case 39:a.fg=void 0;break;case 49:a.bg=void 0;break;default:d>=30&&d<=37?a.fg=String(d-30):d>=90&&d<=97?a.fg=`b${d-90}`:d>=40&&d<=47?a.bg=String(d-40):d>=100&&d<=107&&(a.bg=`b${d-100}`)}c++}})(c,a.slice(e+2,f).split(";").map(a=>""===a?0:Number(a)).filter(a=>Number.isFinite(a))),d=f+1}return b})(a.line),[a.line]),e="meta"===a.stream?"text-zinc-500 italic":"err"===a.stream?"text-red-300":"";return(0,b.jsx)("div",{className:`whitespace-pre-wrap ${e}`,children:d.map((a,c)=>{let d,e=(d=[],a.bold&&d.push("font-bold"),a.dim&&d.push("opacity-60"),a.italic&&d.push("italic"),a.underline&&d.push("underline"),a.fg&&d.push(h[a.fg]),d.join(" "));return e?(0,b.jsx)("span",{className:e,children:a.text},c):(0,b.jsx)("span",{children:a.text},c)})})}a.s(["LogStream",0,function({clusterId:a,tail:g=200}){let[h,j]=(0,c.useState)([]),[k,l]=(0,c.useState)(!0),[m,n]=(0,c.useState)(!1),o=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let b=new AbortController,c=!1;return(async()=>{j([]),n(!1);try{let d=await e.rpc.logs.stream({clusterId:a,tail:g},{signal:b.signal});for await(let a of(n(!0),d)){if(c)break;j(b=>{let c=[...b,a];return c.length>5e3?c.slice(-5e3):c})}}catch(a){c||a instanceof DOMException&&"AbortError"===a.name||console.error("[logs.stream]",a)}finally{c||n(!1)}})(),()=>{c=!0,b.abort()}},[a,g]),(0,c.useEffect)(()=>{k&&o.current&&(o.current.scrollTop=o.current.scrollHeight)},[h,k]),(0,b.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 text-sm",children:[(0,b.jsx)(d.ScrollText,{size:16,className:"text-zinc-500"}),(0,b.jsx)("span",{className:"font-mono text-xs",children:a}),(0,b.jsx)("span",{className:"ml-2 rounded-full px-2 py-0.5 text-xs "+(m?"bg-emerald-100 text-emerald-700 dark:bg-emerald-950 dark:text-emerald-300":"bg-zinc-100 text-zinc-600 dark:bg-zinc-800 dark:text-zinc-400"),children:m?"streaming":"disconnected"})]}),(0,b.jsxs)("label",{className:"flex items-center gap-2 text-xs text-zinc-600 dark:text-zinc-300",children:[(0,b.jsx)(f.Switch,{checked:k,onCheckedChange:l}),"Auto-follow"]})]}),(0,b.jsx)("div",{ref:o,className:"h-[70vh] overflow-auto rounded-md border border-zinc-200 bg-black p-3 font-mono text-xs leading-relaxed text-zinc-100 dark:border-zinc-800",children:0===h.length?(0,b.jsx)("p",{className:"text-zinc-500",children:"Waiting for log output…"}):h.map((a,c)=>(0,b.jsx)(i,{line:a},c))})]})}],6268)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0e7p6k4._.js.map
|