import{w as s,a,b as i,L as l}from"./chunk-UIGDSWPH-C8mvmDRm.js";import{j as e}from"./jsx-runtime-CbGirg_M.js";import{E as n}from"./index-CU92LMzx.js";import{E as d}from"./epic-video-9ssNJt3Q.js";import{G as m}from"./error-boundary-osO-X691.js";import{u as c}from"./revalidation-ws-8OzMCGYO.js";import{E as p}from"./launch-editor-BRoJyd9c.js";import{M as x}from"./mdx-D0_Xs1A2.js";import{c as f}from"./misc-D4V-U9nd.js";import{g as u}from"./root-loader-AwLG1D86.js";import{g as h}from"./seo-BQ85iuS6.js";import"./index-BoRhKTB8.js";import"./use-event-source-ZDun4YKa.js";import"./index-BC6L6d4X.js";import"./index-BJDrpBtR.js";import"./index-BN_canAo.js";import"./tooltip-DpaM3OdK.js";import"./pe-D6_3VIe8.js";import"./types-s0-I03ry.js";import"./online-C_a_7ixK.js";import"./loading-DGPrsY7f.js";import"./user-DjQP8Fan.js";import"./workshop-config-C0r84dtp.js";import"./preload-helper-NxnseRRn.js";import"./progress-bar-DOQwgoY5.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"28ce3948dcef68c9e8b5be7c5619a3bd17c18150"}}catch{}})();const Q=t=>{const r=t.data,o=u(t.matches);return!r||!o?[{title:"🦉 | Error"}]:h({title:`📚 | ${r.title} | ${o.workshopTitle}`,description:`Extras for ${o.workshopTitle}`,ogTitle:r.title,ogDescription:`Extras for ${o.workshopTitle}`,instructor:o.instructor,requestInfo:o.requestInfo})};function j({extra:t}){return e.jsx("li",{children:e.jsxs(l,{className:f("relative flex items-center gap-4 px-4 py-3 text-lg font-semibold transition","hover:bg-muted/60 focus:bg-muted/60"),prefetch:"intent",to:t.dirName,children:[e.jsx("span",{className:"text-muted-foreground text-xs font-normal tabular-nums",children:"•"}),e.jsx("span",{className:"truncate",children:t.title})]})})}const b={h1:()=>null},W=s(function(){const r=i();return c({watchPaths:["./extra","./example","./examples"]}),e.jsxs("main",{className:"relative flex h-full w-full max-w-5xl flex-col justify-between border-r md:w-3/4 xl:w-2/3",children:[e.jsxs("article",{id:r.articleId,className:"shadow-on-scrollbox scrollbar-thin scrollbar-thumb-scrollbar flex w-full flex-1 flex-col gap-12 overflow-y-scroll px-3 py-4 pt-6 md:px-10 md:py-12 md:pt-16",children:[e.jsx("div",{children:e.jsx("h1",{className:"text-[clamp(3rem,6vw,7.5rem)] leading-none font-extrabold",children:r.title})}),e.jsx("div",{children:r.extrasReadme.compiled.status==="success"&&r.extrasReadme.compiled.code?e.jsx(d,{epicVideoInfosPromise:r.epicVideoInfosPromise,children:e.jsx("div",{className:"prose dark:prose-invert sm:prose-lg",children:e.jsx(x,{code:r.extrasReadme.compiled.code,components:b})})}):r.extrasReadme.compiled.status==="error"?e.jsxs("div",{className:"text-foreground-destructive",children:["There was an error:",e.jsx("pre",{children:r.extrasReadme.compiled.error})]}):"No extras overview yet..."}),e.jsxs("div",{className:"pt-6",children:[e.jsx("h2",{className:"pb-4 font-mono text-xs font-semibold uppercase",children:"Extras"}),r.extras.length?e.jsx("ul",{className:"divide-border dark:divide-border/50 flex flex-col divide-y",children:r.extras.map(o=>e.jsx(j,{extra:o},o.dirName))}):e.jsx("p",{className:"text-muted-foreground",children:"No extras yet. Add one to get started."})]})]}),e.jsx(n,{elementQuery:`#${r.articleId}`}),e.jsx("div",{className:"@container flex h-16 justify-center border-t",children:e.jsx(p,{file:r.extrasReadme.file,relativePath:r.extrasReadme.relativePath})})]})}),Y=a(function(){return e.jsx(m,{})});export{Y as ErrorBoundary,W as default,Q as meta};
//# sourceMappingURL=index-Dz1RKzpP.js.map
