(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71858],{47212:(e,r,t)=>{Promise.resolve().then(t.bind(t,75271)),Promise.resolve().then(t.t.bind(t,64406,23)),Promise.resolve().then(t.t.bind(t,62875,23)),Promise.resolve().then(t.bind(t,89528))},75271:(e,r,t)=>{"use strict";t.d(r,{SignInRedirect:()=>l});var n=t(19002),i=t(52114);function l(e){let{signInPath:r}=e;return(0,i.useEffect)(()=>{window.location.replace(r)},[r]),(0,n.jsx)("main",{className:"flex min-h-[calc(100dvh-76px)] items-center justify-center px-6 text-center",children:(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("h1",{className:"text-xl font-semibold",children:"Redirecting to sign in..."}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:"You need to sign in before opening this private course."}),(0,n.jsx)("a",{href:r,className:"inline-flex text-sm font-medium text-primary underline-offset-4 hover:underline",children:"Continue to sign in"})]})})}},89528:(e,r,t)=>{"use strict";t.d(r,{Avatar:()=>a,AvatarFallback:()=>u,AvatarImage:()=>o});var n=t(19002),i=t(52114),l=t(32917),s=t(40399);let a=i.forwardRef((e,r)=>{let{className:t,...i}=e;return(0,n.jsx)(l.bL,{ref:r,className:(0,s.cn)("relative flex size-10 shrink-0 overflow-hidden rounded-full",t),...i})});a.displayName=l.bL.displayName;let o=i.forwardRef((e,r)=>{let{className:t,...i}=e;return(0,n.jsx)(l._V,{ref:r,className:(0,s.cn)("aspect-square size-full",t),...i})});o.displayName=l._V.displayName;let u=i.forwardRef((e,r)=>{let{className:t,...i}=e;return(0,n.jsx)(l.H4,{ref:r,className:(0,s.cn)("flex size-full items-center justify-center rounded-full bg-muted",t),...i})});u.displayName=l.H4.displayName},40399:(e,r,t)=>{"use strict";t.d(r,{cn:()=>l});var n=t(60236),i=t(40111);function l(){for(var e=arguments.length,r=Array(e),t=0;t{"use strict";t.d(r,{H4:()=>w,_V:()=>N,bL:()=>y});var n=t(52114),i=t(21762),l=t(80461),s=t(25173),a=t(63324),o=t(19002),u="Avatar",[c,d]=(0,i.A)(u),[f,m]=c(u),p=n.forwardRef((e,r)=>{let{__scopeAvatar:t,...i}=e,[l,s]=n.useState("idle");return(0,o.jsx)(f,{scope:t,imageLoadingStatus:l,onImageLoadingStatusChange:s,children:(0,o.jsx)(a.sG.span,{...i,ref:r})})});p.displayName=u;var v="AvatarImage",h=n.forwardRef((e,r)=>{let{__scopeAvatar:t,src:i,onLoadingStatusChange:u=()=>{},...c}=e,d=m(v,t),f=function(e,r){let[t,i]=n.useState("idle");return(0,s.N)(()=>{if(!e){i("error");return}let t=!0,n=new window.Image,l=e=>()=>{t&&i(e)};return i("loading"),n.onload=l("loaded"),n.onerror=l("error"),n.src=e,r&&(n.referrerPolicy=r),()=>{t=!1}},[e,r]),t}(i,c.referrerPolicy),p=(0,l.c)(e=>{u(e),d.onImageLoadingStatusChange(e)});return(0,s.N)(()=>{"idle"!==f&&p(f)},[f,p]),"loaded"===f?(0,o.jsx)(a.sG.img,{...c,ref:r,src:i}):null});h.displayName=v;var x="AvatarFallback",g=n.forwardRef((e,r)=>{let{__scopeAvatar:t,delayMs:i,...l}=e,s=m(x,t),[u,c]=n.useState(void 0===i);return n.useEffect(()=>{if(void 0!==i){let e=window.setTimeout(()=>c(!0),i);return()=>window.clearTimeout(e)}},[i]),u&&"loaded"!==s.imageLoadingStatus?(0,o.jsx)(a.sG.span,{...l,ref:r}):null});g.displayName=x;var y=p,N=h,w=g},74768:(e,r,t)=>{"use strict";t.d(r,{s:()=>s,t:()=>l});var n=t(52114);function i(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function l(...e){return r=>{let t=!1,n=e.map(e=>{let n=i(e,r);return t||"function"!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r{"use strict";t.d(r,{A:()=>s,q:()=>l});var n=t(52114),i=t(19002);function l(e,r){let t=n.createContext(r),l=e=>{let{children:r,...l}=e,s=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(t.Provider,{value:s,children:r})};return l.displayName=e+"Provider",[l,function(i){let l=n.useContext(t);if(l)return l;if(void 0!==r)return r;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function s(e,r=[]){let t=[],l=()=>{let r=t.map(e=>n.createContext(e));return function(t){let i=t?.[e]||r;return n.useMemo(()=>({[`__scope${e}`]:{...t,[e]:i}}),[t,i])}};return l.scopeName=e,[function(r,l){let s=n.createContext(l),a=t.length;t=[...t,l];let o=r=>{let{scope:t,children:l,...o}=r,u=t?.[e]?.[a]||s,c=n.useMemo(()=>o,Object.values(o));return(0,i.jsx)(u.Provider,{value:c,children:l})};return o.displayName=r+"Provider",[o,function(t,i){let o=i?.[e]?.[a]||s,u=n.useContext(o);if(u)return u;if(void 0!==l)return l;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=t.reduce((r,{useScope:t,scopeName:n})=>{let i=t(e)[`__scope${n}`];return{...r,...i}},{});return n.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return t.scopeName=r.scopeName,t}(l,...r)]}},63324:(e,r,t)=>{"use strict";t.d(r,{hO:()=>o,sG:()=>a});var n=t(52114),i=t(11055),l=t(4302),s=t(19002),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{let t=n.forwardRef((e,t)=>{let{asChild:n,...i}=e,a=n?l.DX:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a,{...i,ref:t})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function o(e,r){e&&i.flushSync(()=>e.dispatchEvent(r))}},4302:(e,r,t)=>{"use strict";t.d(r,{DX:()=>s,xV:()=>o});var n=t(52114),i=t(74768),l=t(19002),s=n.forwardRef((e,r)=>{let{children:t,...i}=e,s=n.Children.toArray(t),o=s.find(u);if(o){let e=o.props.children,t=s.map(r=>r!==o?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,l.jsx)(a,{...i,ref:r,children:t})});s.displayName="Slot";var a=n.forwardRef((e,r)=>{let{children:t,...l}=e;if(n.isValidElement(t)){let e=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(t);return n.cloneElement(t,{...function(e,r){let t={...r};for(let n in r){let i=e[n],l=r[n];/^on[A-Z]/.test(n)?i&&l?t[n]=(...e)=>{l(...e),i(...e)}:i&&(t[n]=i):"style"===n?t[n]={...i,...l}:"className"===n&&(t[n]=[i,l].filter(Boolean).join(" "))}return{...e,...t}}(l,t.props),ref:r?(0,i.t)(r,e):e})}return n.Children.count(t)>1?n.Children.only(null):null});a.displayName="SlotClone";var o=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function u(e){return n.isValidElement(e)&&e.type===o}},80461:(e,r,t)=>{"use strict";t.d(r,{c:()=>i});var n=t(52114);function i(e){let r=n.useRef(e);return n.useEffect(()=>{r.current=e}),n.useMemo(()=>(...e)=>r.current?.(...e),[])}},25173:(e,r,t)=>{"use strict";t.d(r,{N:()=>i});var n=t(52114),i=globalThis?.document?n.useLayoutEffect:()=>{}}},e=>{var r=r=>e(e.s=r);e.O(0,[17094,64406,62875,85030,5779,77358],()=>r(47212)),_N_E=e.O()}]);