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"))},44376,(a,b,c)=>{b.exports=a.x("node:module",()=>require("node:module"))},1457,(a,b,c)=>{b.exports=a.x("node:readline",()=>require("node:readline"))},74533,(a,b,c)=>{b.exports=a.x("node:child_process",()=>require("node:child_process"))},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))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__0yy5a.i._.js.map