(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24345],{5776:(e,a,n)=>{"use strict";n.d(a,{DX:()=>o,xV:()=>i});var t=n(77169),r=n(87650),s=n(5717),o=t.forwardRef((e,a)=>{let{children:n,...r}=e,o=t.Children.toArray(n),i=o.find(d);if(i){let e=i.props.children,n=o.map(a=>a!==i?a:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,s.jsx)(c,{...r,ref:a,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,s.jsx)(c,{...r,ref:a,children:n})});o.displayName="Slot";var c=t.forwardRef((e,a)=>{let{children:n,...s}=e;if(t.isValidElement(n)){let e=function(e){let a=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=a&&"isReactWarning"in a&&a.isReactWarning;return n?e.ref:(n=(a=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n);return t.cloneElement(n,{...function(e,a){let n={...a};for(let t in a){let r=e[t],s=a[t];/^on[A-Z]/.test(t)?r&&s?n[t]=(...e)=>{s(...e),r(...e)}:r&&(n[t]=r):"style"===t?n[t]={...r,...s}:"className"===t&&(n[t]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}(s,n.props),ref:a?(0,r.t)(a,e):e})}return t.Children.count(n)>1?t.Children.only(null):null});c.displayName="SlotClone";var i=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});function d(e){return t.isValidElement(e)&&e.type===i}},5961:(e,a,n)=>{"use strict";n.d(a,{$:()=>l,r:()=>d});var t=n(5717),r=n(77169),s=n(5776),o=n(81692),c=n(40097),i=n(29124);let d=(0,o.F)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),l=r.forwardRef((e,a)=>{let{className:n,variant:r,size:o,asChild:l=!1,loading:u=!1,children:h,...g}=e,m=l?s.DX:"button";return(0,t.jsx)(m,{className:(0,c.cn)(d({variant:r,size:o,className:n}),u&&"relative"),ref:a,...g,children:u?(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:(0,c.cn)({"opacity-0":u}),children:h}),(0,t.jsx)("span",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",children:(0,t.jsx)(i.y,{className:"text-current size-4"})})]}):h})});l.displayName="Button"},11420:(e,a,n)=>{Promise.resolve().then(n.bind(n,87093))},29124:(e,a,n)=>{"use strict";n.d(a,{Y:()=>l,y:()=>d});var t=n(5717);n(77169);var r=n(81692),s=n(73339),o=n(40097);let c=(0,r.F)("flex-col items-center justify-center",{variants:{show:{true:"flex",false:"hidden"}},defaultVariants:{show:!0}}),i=(0,r.F)("animate-spin text-primary",{variants:{size:{small:"size-6 shrink-0",medium:"size-8 shrink-0",large:"size-12 shrink-0"}},defaultVariants:{size:"medium"}});function d(e){let{size:a,show:n,children:r,className:d}=e;return(0,t.jsxs)("span",{className:c({show:n}),children:[(0,t.jsx)(s.A,{className:(0,o.cn)(i({size:a}),d)}),r]})}function l(e){let{containerClassName:a,...n}=e;return(0,t.jsx)("div",{className:(0,o.cn)("pointer-events-none absolute inset-0 flex select-none items-center justify-center opacity-65",a),children:(0,t.jsx)(d,{...n})})}l.displayName="CenteredSpinner"},35992:(e,a,n)=>{"use strict";n.d(a,{Hm:()=>c,JZ:()=>s,MD:()=>o,pc:()=>r});var t=n(75471);let r={Dashboard:(0,t.H)().NEXT_PUBLIC_DASHBOARD_URL,Marketing:(0,t.H)().NEXT_PUBLIC_MARKETING_URL},s={dashboard:{Api:"".concat(r.Dashboard,"/api"),auth:{changeEmail:{Expired:"".concat(r.Dashboard,"/auth/change-email/expired"),Index:"".concat(r.Dashboard,"/auth/change-email"),Invalid:"".concat(r.Dashboard,"/auth/change-email/invalid"),Request:"".concat(r.Dashboard,"/auth/change-email/request")},Error:"".concat(r.Dashboard,"/auth/error"),forgetPassword:{Index:"".concat(r.Dashboard,"/auth/forgot-password"),Success:"".concat(r.Dashboard,"/auth/forgot-password/success")},Index:"".concat(r.Dashboard,"/auth"),RecoveryCode:"".concat(r.Dashboard,"/auth/recovery-code"),resetPassword:{Expired:"".concat(r.Dashboard,"/auth/reset-password/expired"),Index:"".concat(r.Dashboard,"/auth/reset-password"),Request:"".concat(r.Dashboard,"/auth/reset-password/request"),Success:"".concat(r.Dashboard,"/auth/reset-password/success")},SignIn:"".concat(r.Dashboard,"/auth/sign-in"),SignUp:"".concat(r.Dashboard,"/auth/sign-up"),Totp:"".concat(r.Dashboard,"/auth/totp"),verifyEmail:{Expired:"".concat(r.Dashboard,"/auth/verify-email/expired"),Index:"".concat(r.Dashboard,"/auth/verify-email"),Request:"".concat(r.Dashboard,"/auth/verify-email/request"),Success:"".concat(r.Dashboard,"/auth/verify-email/success")}},manage:{Index:"".concat(r.Dashboard,"/manage"),modelId:{Index:"".concat(r.Dashboard,"/manage/[modelId]")},users:{Index:"".concat(r.Dashboard,"/manage/users")},organisations:{Index:"".concat(r.Dashboard,"/manage/organisations")},grading:{Index:"".concat(r.Dashboard,"/manage/grading")},analytics:{Index:"".concat(r.Dashboard,"/manage/analytics")},projects:{Index:"".concat(r.Dashboard,"/manage/projects"),sources:{Index:"".concat(r.Dashboard,"/manage/projects/sources")},definition:{Index:"".concat(r.Dashboard,"/manage/projects/definition")},updates:{Index:"".concat(r.Dashboard,"/manage/projects/updates")},themes:{Index:"".concat(r.Dashboard,"/manage/projects/themes")},production:{Index:"".concat(r.Dashboard,"/manage/projects/production")},curricula:{Index:"".concat(r.Dashboard,"/manage/projects/curricula")},learningPaths:{Index:"".concat(r.Dashboard,"/manage/projects/learning-paths")},workspaceTemplates:{Index:"".concat(r.Dashboard,"/manage/projects/workspace-templates")}}},affiliates:{Index:"".concat(r.Dashboard,"/affiliates"),slug:{Index:"".concat(r.Dashboard,"/affiliates/[slug]")}},upgrade:{Index:"".concat(r.Dashboard,"/upgrade")},courses:{Index:"".concat(r.Dashboard,"/courses"),slug:{Index:"".concat(r.Dashboard,"/courses/[slug]")}},learningPaths:{Index:"".concat(r.Dashboard,"/learning-paths"),slug:{Index:"".concat(r.Dashboard,"/learning-paths/[slug]")}},onboarding:{Index:"".concat(r.Dashboard,"/onboarding"),Organization:"".concat(r.Dashboard,"/onboarding/organization"),User:"".concat(r.Dashboard,"/onboarding/user")},admin:{development:{Index:"".concat(r.Dashboard,"/admin/development")},featureRequests:{Index:"".concat(r.Dashboard,"/admin/feature-requests")},Index:"".concat(r.Dashboard,"/admin"),core:{Index:"".concat(r.Dashboard,"/admin/core"),apiManagement:{Index:"".concat(r.Dashboard,"/admin/core/api-management")},apiDocumentation:{Index:"".concat(r.Dashboard,"/admin/core/api-documentation")},affiliates:{Index:"".concat(r.Dashboard,"/admin/core/affiliates"),id:{Index:"".concat(r.Dashboard,"/admin/core/affiliates/[id]")}},issues:{Index:"".concat(r.Dashboard,"/admin/core/issues")},privateClassRequests:{Index:"".concat(r.Dashboard,"/admin/core/private-class-requests")},transactionalEmails:{Index:"".concat(r.Dashboard,"/admin/core/transactional-emails")},redirects:{Index:"".concat(r.Dashboard,"/admin/core/redirects")},roles:{Index:"".concat(r.Dashboard,"/admin/core/roles")},settings:{Index:"".concat(r.Dashboard,"/admin/core/settings")}},debug:{Index:"".concat(r.Dashboard,"/admin/debug")},docs:{Index:"".concat(r.Dashboard,"/admin/docs"),slug:{Index:"".concat(r.Dashboard,"/admin/docs/[[...slug]]")}},device:{Index:"".concat(r.Dashboard,"/admin/device")},pitch:{Index:"".concat(r.Dashboard,"/admin/pitch")},tools:{Index:"".concat(r.Dashboard,"/admin/tools"),imageMinifier:{Index:"".concat(r.Dashboard,"/admin/tools/image-minifier")},linkValidation:{Index:"".concat(r.Dashboard,"/admin/tools/link-validation")},thinkificImport:{Index:"".concat(r.Dashboard,"/admin/tools/thinkific-import")},thumbnails:{Index:"".concat(r.Dashboard,"/admin/tools/thumbnails")}}},dashboard:{Index:"".concat(r.Dashboard,"/dashboard"),app:{Index:"".concat(r.Dashboard,"/dashboard/app")},slug:{Contacts:"".concat(r.Dashboard,"/dashboard/[slug]/contacts"),Home:"".concat(r.Dashboard,"/dashboard/[slug]/home"),New:"".concat(r.Dashboard,"/dashboard/[slug]/new"),Analytics:"".concat(r.Dashboard,"/dashboard/[slug]/analytics"),Index:"".concat(r.Dashboard,"/dashboard/[slug]"),VideoGallery:"".concat(r.Dashboard,"/dashboard/[slug]/video-gallery"),VideoPlayer:"".concat(r.Dashboard,"/dashboard/[slug]/video-gallery/[videoId]"),DiscordIntegration:"".concat(r.Dashboard,"/dashboard/[slug]/discord-integration"),Changelog:"".concat(r.Dashboard,"/dashboard/[slug]/changelog"),Bookmarks:"".concat(r.Dashboard,"/dashboard/[slug]/bookmarks"),Certificates:"".concat(r.Dashboard,"/dashboard/[slug]/certificates"),Training:"".concat(r.Dashboard,"/dashboard/[slug]/training"),settings:{account:{Index:"".concat(r.Dashboard,"/dashboard/[slug]/settings/account"),Notifications:"".concat(r.Dashboard,"/dashboard/[slug]/settings/account/notifications"),Profile:"".concat(r.Dashboard,"/dashboard/[slug]/settings/account/profile"),Security:"".concat(r.Dashboard,"/dashboard/[slug]/settings/account/security")},Index:"".concat(r.Dashboard,"/dashboard/[slug]/settings"),organization:{Billing:"".concat(r.Dashboard,"/dashboard/[slug]/settings/organization/billing"),General:"".concat(r.Dashboard,"/dashboard/[slug]/settings/organization/general"),Index:"".concat(r.Dashboard,"/dashboard/[slug]/settings/organization"),Members:"".concat(r.Dashboard,"/dashboard/[slug]/settings/organization/members")}}}}},marketing:{Api:"".concat(r.Marketing,"/api"),Blog:"".concat(r.Marketing,"/blog"),Careers:"".concat(r.Marketing,"/careers"),Contact:"".concat(r.Marketing,"/contact"),CookiePolicy:"".concat(r.Marketing,"/cookie-policy"),Docs:"".concat(r.Marketing,"/docs"),FAQ:"".concat(r.Marketing,"/#faq"),Index:"".concat(r.Marketing,"/"),Features:"".concat(r.Marketing,"/#features"),PrivacyPolicy:"".concat(r.Marketing,"/privacy"),Roadmap:"".concat(r.Marketing,"/roadmap"),Story:"".concat(r.Marketing,"/story"),TermsOfUse:"".concat(r.Marketing,"/terms-of-use")}};function o(e,a){if(-1===e.indexOf("[slug]"))throw Error("Invalid route: ".concat(e,". Route must contain the placeholder [slug]."));return e.replace("[slug]",a)}function c(e,a){return new URL(e,a).pathname}},37234:(e,a,n)=>{"use strict";n.d(a,{A:()=>c});var t=n(77169);let r=function(){for(var e=arguments.length,a=Array(e),n=0;n!!e&&""!==e.trim()&&n.indexOf(e)===a).join(" ").trim()};var s={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"};let o=(0,t.forwardRef)((e,a)=>{let{color:n="currentColor",size:o=24,strokeWidth:c=2,absoluteStrokeWidth:i,className:d="",children:l,iconNode:u,...h}=e;return(0,t.createElement)("svg",{ref:a,...s,width:o,height:o,stroke:n,strokeWidth:i?24*Number(c)/Number(o):c,className:r("lucide",d),...h},[...u.map(e=>{let[a,n]=e;return(0,t.createElement)(a,n)}),...Array.isArray(l)?l:[l]])}),c=(e,a)=>{let n=(0,t.forwardRef)((n,s)=>{let{className:c,...i}=n;return(0,t.createElement)(o,{ref:s,iconNode:a,className:r("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),c),...i})});return n.displayName="".concat(e),n}},40097:(e,a,n)=>{"use strict";n.d(a,{cn:()=>s});var t=n(81802),r=n(31477);function s(){for(var e=arguments.length,a=Array(e),n=0;n{"use strict";n.d(a,{w:()=>o});var t=n(26193),r=n(37811),s=n(37811);function o(e){let a="object"==typeof e.client?e.client:{},n="object"==typeof e.server?e.server:{},o=e.shared,c=e.runtimeEnv?e.runtimeEnv:{...s.env,...e.experimental__runtimeEnv};return function(e){let a=e.runtimeEnvStrict??e.runtimeEnv??r.env;if(e.emptyStringAsUndefined)for(let[e,n]of Object.entries(a))""===n&&delete a[e];if(e.skipValidation)return a;let n="object"==typeof e.client?e.client:{},s="object"==typeof e.server?e.server:{},o="object"==typeof e.shared?e.shared:{},c=(0,t.Ik)(n),i=(0,t.Ik)(s),d=(0,t.Ik)(o),l=e.isServer??("undefined"==typeof window||"Deno"in window),u=c.merge(d),h=i.merge(d).merge(c),g=l?h.safeParse(a):u.safeParse(a),m=e.onValidationError??(e=>{throw console.error("❌ Invalid environment variables:",e.flatten().fieldErrors),Error("Invalid environment variables")}),b=e.onInvalidAccess??(e=>{throw Error("❌ Attempted to access a server-side environment variable on the client")});if(!1===g.success)return m(g.error);let f=(e.extends??[]).reduce((e,a)=>Object.assign(e,a),{});return new Proxy(Object.assign(g.data,f),{get(a,n){if("string"==typeof n&&"__esModule"!==n&&"$$typeof"!==n)return l||e.clientPrefix&&(n.startsWith(e.clientPrefix)||n in d.shape)?Reflect.get(a,n):b(n)}})}({...e,shared:o,client:a,server:n,clientPrefix:"NEXT_PUBLIC_",runtimeEnv:c})}},67798:(e,a,n)=>{"use strict";var t=n(27146);n.o(t,"useParams")&&n.d(a,{useParams:function(){return t.useParams}}),n.o(t,"usePathname")&&n.d(a,{usePathname:function(){return t.usePathname}}),n.o(t,"useRouter")&&n.d(a,{useRouter:function(){return t.useRouter}}),n.o(t,"useSearchParams")&&n.d(a,{useSearchParams:function(){return t.useSearchParams}})},72633:(e,a,n)=>{"use strict";n.d(a,{JZ:()=>t.JZ});var t=n(35992)},73339:(e,a,n)=>{"use strict";n.d(a,{A:()=>t});let t=(0,n(37234).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},75471:(e,a,n)=>{"use strict";n.d(a,{H:()=>s});var t=n(60376),r=n(26193);let s=()=>(0,t.w)({client:{NEXT_PUBLIC_DASHBOARD_URL:r.z.string().min(1).url(),NEXT_PUBLIC_MARKETING_URL:r.z.string().min(1).url()},runtimeEnv:{NEXT_PUBLIC_DASHBOARD_URL:"https://courses.anyscale.com",NEXT_PUBLIC_MARKETING_URL:"https://courses.anyscale.com"}})},81692:(e,a,n)=>{"use strict";n.d(a,{F:()=>o});var t=n(81802);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,s=t.$,o=(e,a)=>n=>{var t;if((null==a?void 0:a.variants)==null)return s(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:c}=a,i=Object.keys(o).map(e=>{let a=null==n?void 0:n[e],t=null==c?void 0:c[e];if(null===a)return null;let s=r(a)||r(t);return o[e][s]}),d=n&&Object.entries(n).reduce((e,a)=>{let[n,t]=a;return void 0===t||(e[n]=t),e},{});return s(e,i,null==a||null==(t=a.compoundVariants)?void 0:t.reduce((e,a)=>{let{class:n,className:t,...r}=a;return Object.entries(r).every(e=>{let[a,n]=e;return Array.isArray(n)?n.includes({...c,...d}[a]):({...c,...d})[a]===n})?[...e,n,t]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},87093:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>c});var t=n(5717);n(77169);var r=n(67798),s=n(72633),o=n(5961);function c(){let e=(0,r.useRouter)();return(0,t.jsxs)("div",{className:"flex flex-col py-32 items-center justify-center text-center",children:[(0,t.jsx)("span",{className:"text-[10rem] font-semibold leading-none",children:"404"}),(0,t.jsx)("h2",{className:"font-heading my-2 text-2xl font-bold",children:"Something's missing"}),(0,t.jsx)("p",{children:"Sorry, the page you are looking for doesn't exist or has been moved."}),(0,t.jsxs)("div",{className:"mt-8 flex justify-center gap-2",children:[(0,t.jsx)(o.$,{type:"button",variant:"default",size:"lg",onClick:()=>{e.back()},children:"Go back"}),(0,t.jsx)(o.$,{type:"button",variant:"ghost",size:"lg",onClick:()=>{e.push(s.JZ.dashboard.dashboard.Index)},children:"Back to Home"})]})]})}},87650:(e,a,n)=>{"use strict";n.d(a,{s:()=>o,t:()=>s});var t=n(77169);function r(e,a){if("function"==typeof e)return e(a);null!=e&&(e.current=a)}function s(...e){return a=>{let n=!1,t=e.map(e=>{let t=r(e,a);return n||"function"!=typeof t||(n=!0),t});if(n)return()=>{for(let a=0;a{e.O(0,[64474,26193,94228,14051,77358],()=>e(e.s=11420)),_N_E=e.O()}]);