(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{3531:function(e,t,l){Promise.resolve().then(l.t.bind(l,65878,23)),Promise.resolve().then(l.bind(l,18339)),Promise.resolve().then(l.bind(l,10319)),Promise.resolve().then(l.bind(l,77327)),Promise.resolve().then(l.bind(l,90473)),Promise.resolve().then(l.bind(l,43914)),Promise.resolve().then(l.bind(l,55816)),Promise.resolve().then(l.bind(l,70982))},18339:function(e,t,l){"use strict";l.d(t,{default:function(){return u}});var s=l(57437),a=l(63861);l(2265);var i=l(33145),n=l(19764),r=l(14435);l(7354),l(70099);let o=e=>{let{slides:t}=e,l={320:{slidesPerView:1.2},640:{slidesPerView:2},768:{slidesPerView:2.25},1024:{slidesPerView:3}},a={speed:7e3,spaceBetween:16,grabCursor:!0,loop:!0,freeMode:!0,autoplay:{delay:0},zoom:!0,breakpoints:l,mousewheel:{invert:!0},modules:[r.pt],breakpoints:l};return(0,s.jsx)("div",{className:"events-slider p-4",children:(0,s.jsx)(n.tq,{...a,children:t.map(e=>(0,s.jsx)(n.o5,{children:(0,s.jsxs)("article",{className:"rounded-3xl bg-white bg-opacity-10 backdrop-blur-2xl p-5 flex flex-col gap-5 relative before:top-border-gradient after:bottom-border-gradient",children:[(0,s.jsx)(i.default,{src:e.image,alt:e.title,width:600,height:500,className:"rounded-2xl w-full h-[250px] object-cover grayscale"}),(0,s.jsx)("h6",{className:"text-xs md:text-base xl:text-xl text-white-off truncate-text-1",children:e.title})]})},e.image))})})},d=()=>(0,s.jsxs)("section",{className:"w-full grid md:grid-cols-2 lg:grid-cols-3 gap-4 animate-pulse px-4",children:[(0,s.jsxs)("article",{className:"rounded-3xl bg-dark-alt bg-opacity-30 p-5 flex flex-col gap-5 relative before:top-border-gradient after:bottom-border-gradient",children:[(0,s.jsx)("figure",{className:"rounded-2xl w-full h-[250px] bg-white opacity-10"}),(0,s.jsx)("div",{className:"bg-white opacity-10 rounded-full py-2 lg:py-2.5"})]}),(0,s.jsxs)("article",{className:"hidden rounded-3xl bg-dark-alt bg-opacity-30 p-5 md:flex flex-col gap-5 relative before:top-border-gradient after:bottom-border-gradient",children:[(0,s.jsx)("figure",{className:"rounded-2xl w-full h-[250px] bg-white opacity-10"}),(0,s.jsx)("div",{className:"bg-white opacity-10 rounded-full py-2 lg:py-2.5"})]}),(0,s.jsxs)("article",{className:"hidden rounded-3xl bg-dark-alt bg-opacity-30 p-5 lg:flex flex-col gap-5 relative before:top-border-gradient after:bottom-border-gradient",children:[(0,s.jsx)("figure",{className:"rounded-2xl w-full h-[250px] bg-white opacity-10"}),(0,s.jsx)("div",{className:"bg-white opacity-10 rounded-full py-2 lg:py-2.5"})]})]});var c=l(44817);function u(){let{data:e,error:t,isLoading:l}=(0,a.ZP)("".concat("https://cms.mowblox.com","/api/events?sort=rank&populate[image][fields][0]=url&fields[0]=title"),c.sh);return l?(0,s.jsx)(d,{}):t||(null==e?void 0:e.error)?(0,s.jsx)("p",{className:"p-10 text-center",children:"Failed to load events..."}):(null==e?void 0:e.data.length)?(0,s.jsx)(o,{slides:null==e?void 0:e.data.map(e=>{var t,l,s,a,i;return{title:null==e?void 0:null===(t=e.attributes)||void 0===t?void 0:t.title,image:null==e?void 0:null===(i=e.attributes)||void 0===i?void 0:null===(a=i.image)||void 0===a?void 0:null===(s=a.data)||void 0===s?void 0:null===(l=s.attributes)||void 0===l?void 0:l.url}})}):(0,s.jsx)("p",{className:"p-10 text-center",children:"No events found..."})}},10319:function(e,t,l){"use strict";l.d(t,{OrbitSection:function(){return p}});var s=l(57437);l(2265);var a=l(5108),i=l(19764),n=l(33145),r=l(63861),o=l(14435);l(7354),l(86968);var d=l(44817);let c=()=>{let{data:e,error:t,isLoading:l}=(0,r.ZP)("".concat("https://cms.mowblox.com","/api/orbits?sort=rank&populate[image][fields][0]=url&fields[0]=title"),d.sh);return(0,s.jsx)("div",{className:"w-full mx-auto relative z-10",children:(0,s.jsx)(i.tq,{speed:600,slidesPerView:1,navigation:!0,modules:[o.W_],loop:!0,children:l?(0,s.jsx)(i.o5,{children:(0,s.jsxs)("div",{className:"flex flex-col items-center relative py-4",children:[(0,s.jsx)("figure",{className:"relative w-[315px] h-[315px] md:h-[433px] md:w-[433px]",children:(0,s.jsx)(n.default,{src:"/assets/landing/orbits/Blockchain.svg",fill:!0,alt:"Blockchain"})}),(0,s.jsx)("button",{className:"rounded-full border-2 border-[#9484c8] px-14 h-[76px] overflow-hidden -rotate-2",children:(0,s.jsx)("h6",{className:"text-2xl uppercase",children:"Loading orbits..."})})]})},1):t||(null==e?void 0:e.error)?(0,s.jsx)(i.o5,{children:(0,s.jsxs)("div",{className:"flex flex-col items-center relative py-4",children:[(0,s.jsx)("figure",{className:"relative w-[315px] h-[315px] md:h-[433px] md:w-[433px]",children:(0,s.jsx)(n.default,{src:"/assets/landing/orbits/Blockchain.svg",fill:!0,alt:"Blockchain"})}),(0,s.jsx)("button",{className:"rounded-full border-2 border-[#9484c8] px-14 h-[76px] overflow-hidden -rotate-2",children:(0,s.jsx)("h6",{className:"text-2xl uppercase",children:"Failed to load orbits"})})]})},1):(null==e?void 0:e.data.length)?null==e?void 0:e.data.map(e=>{var t,l,a,r,o,d;return(0,s.jsx)(i.o5,{children:(0,s.jsxs)("div",{className:"flex flex-col items-center relative py-4",children:[(0,s.jsx)("figure",{className:"relative w-[315px] h-[315px] md:h-[433px] md:w-[433px]",children:(0,s.jsx)(n.default,{src:null==e?void 0:null===(r=e.attributes)||void 0===r?void 0:null===(a=r.image)||void 0===a?void 0:null===(l=a.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:t.url,fill:!0,alt:null==e?void 0:null===(o=e.attributes)||void 0===o?void 0:o.title})}),(0,s.jsx)("div",{className:"rounded-full border-2 border-[#9484c8] px-14 h-[76px] overflow-hidden -rotate-2 flex items-center justify-center",children:(0,s.jsx)("h6",{className:"text-2xl uppercase",children:null==e?void 0:null===(d=e.attributes)||void 0===d?void 0:d.title})})]})},null==e?void 0:e.id)}):(0,s.jsx)(i.o5,{children:(0,s.jsxs)("div",{className:"flex flex-col items-center relative py-4",children:[(0,s.jsx)("figure",{className:"relative w-[315px] h-[315px] md:h-[433px] md:w-[433px]",children:(0,s.jsx)(n.default,{src:"/assets/landing/orbits/Blockchain.svg",fill:!0,alt:"Blockchain"})}),(0,s.jsx)("button",{className:"rounded-full border-2 border-[#9484c8] px-14 h-[76px] overflow-hidden -rotate-2",children:(0,s.jsx)("h6",{className:"text-2xl uppercase",children:"No orbits found"})})]})},1)})})};var u=l(27648),x=l(74847);let p=()=>(0,s.jsxs)("section",{className:"orbit flex flex-col-reverse lg:flex-row lg:items-center gap-12 px-4 lg:px-28 pt-12 pb-28 w-full max-w-screen-2xl mx-auto relative after:absolute after:line-gradient after:w-96 after:left-1/2 after:top-0 after:-translate-x-1/2 after:-rotate-45 after:opacity-60",children:[(0,s.jsx)(a.Highlight,{size:400,className:"absolute right-0 top-5 opacity-55"}),(0,s.jsxs)("article",{className:"flex-1 flex flex-col relative z-10 w-full",children:[(0,s.jsx)(x.E.h2,{initial:{x:"-100%",opacity:0},whileInView:{opacity:1,x:0},transition:{duration:.6,type:"tween"},className:"text-3xl md:text-[42px]",children:"There's an orbit for you"}),(0,s.jsxs)(x.E.div,{initial:{opacity:0},whileInView:{opacity:1},transition:{duration:.4,type:"tween",delay:.5},className:"text flex flex-col",children:[(0,s.jsx)("p",{className:"text-subtle mt-6 text-lg max-w-2xl",children:"The tech world is rapidly evolving, and skilled developers in emerging fields are leading the charge. Here's why you should jump on board"}),(0,s.jsxs)("ul",{className:"mt-10 text-subtle text-lg list-disc list-inside flex flex-col gap-2 pl-2",children:[(0,s.jsx)("li",{children:"Become a Highly Sought-After Pro"}),(0,s.jsx)("li",{children:"Solve Real-world Problems"}),(0,s.jsx)("li",{children:"Future-Proof Your Skills"})]}),(0,s.jsx)(u.default,{href:"/courses",className:"mt-16 gradient-bg rounded-full py-4 px-8 font-medium w-fit",children:"Get started"})]})]}),(0,s.jsx)("figure",{className:"w-full lg:flex-[0.75] max-w-[500px] mx-auto",children:(0,s.jsx)(c,{})})]})},41842:function(e,t,l){"use strict";l.d(t,{K:function(){return n}});var s=l(57437);l(2265);var a=l(27648),i=l(53335);let n=e=>{let{href:t,text:l,className:n="",reverse:r,onClick:o,loading:d,icon:c,variant:u="primary",...x}=e,p=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"text-content flex gap-3 items-center justify-center transition duration-100 ".concat(d?"opacity-0":""," ").concat(r?"flex-row-reverse":""),children:[l,c&&(0,s.jsx)("span",{className:"text-blue-alt w-5 h-5",children:c})]}),(0,s.jsx)("div",{className:"absolute items-center justify-center ".concat(d?"":"opacity-0"),children:(0,s.jsx)("div",{className:"loader"})})]}),m=(0,i.m6)("text-white rounded-full px-8 py-3 flex gap-3 items-center justify-center font-medium relative transition duration-150 text-nowrap disabled:cursor-not-allowed",{primary:"gradient-bg",alt:"bg-blue-alt",dark:"bg-dark","dark-alt":"bg-dark-alt","outlined-dark-alt":"bg-dark border border-dark-alt"}[u],n);return t?(0,s.jsx)(a.default,{href:t,className:m,...x,children:p}):(0,s.jsx)("button",{onClick:o,className:m,disabled:d,...x,children:p})}},72313:function(e,t,l){"use strict";l.d(t,{t:function(){return r}});var s=l(57437);l(2265);var a=l(48614),i=l(74847),n=l(68253);let r=e=>{let{children:t,...l}=e;return(0,s.jsx)(a.M,{children:l.open&&(0,s.jsx)(n.Vq,{...l,className:"relative z-50",children:(0,s.jsx)(i.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.3},exit:{opacity:0},className:"fixed inset-0 bg-black/30 flex justify-center items-center p-4",children:(0,s.jsx)(n.EM,{children:t})})})})}},60827:function(e,t,l){"use strict";l.d(t,{Z:function(){return i}});var s=l(57437),a=l(33145);function i(e){let{success:t=!1,warning:l=!1,error:i=!1,info:n=!1,message:r}=e;return(0,s.jsx)("div",{style:{zIndex:1e3},className:"gradient-bg p-[0.5px] rounded-[6px]",children:(0,s.jsx)("div",{className:"w-full h-full text-white bg-black py-5 pr-11 pl-6 rounded-[6px]",children:(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)("div",{className:"bg-[#182632] rounded-full w-8 h-8 flex items-center justify-center",children:(0,s.jsx)(a.default,{src:t?"/assets/notifications/success.svg":l?"/assets/notifications/warning.svg":i?"/assets/notifications/error.svg":n?"/assets/notifications/info.svg":"/assets/notifications/fire.svg",height:26,width:26,alt:"Error icon",className:"object-cover shrink-0"})}),(0,s.jsx)("span",{className:"text-base font-rubik w-48 leading-normal text-left",children:r})]})})})}},58376:function(e,t,l){"use strict";l.d(t,{v:function(){return c}});var s=l(57437),a=l(2265),i=l(33145),n=l(60827),r=l(7409),o=l(41842),d=l(37006);let c=e=>{let{tags:t,setIsOpen:l,title:c="We'll send you a notification when it's ready!"}=e,[u,x]=(0,a.useState)(!1),{apiFetch:p}=(0,d.Z)(),m=async e=>{e.preventDefault();try{x(!0);let l={email:new FormData(e.target).get("email"),tags:t},a=await p("/api/notify",l,{endpoint:"none",method:"POST"});if(!a.sucess)throw Error("We could not complete your request. Please try again later");(0,r.Am)((0,s.jsx)(n.Z,{success:!0,message:a.message}))}catch(e){(0,r.Am)((0,s.jsx)(n.Z,{error:!0,message:e.message}))}finally{x(!1),l(!1)}};return(0,s.jsxs)("section",{className:"w-full max-w-4xl max-md:bg-white-100 max-md:bg-opacity-5 max-md:backdrop-blur-2xl bg-dark flex rounded-3xl overflow-hidden",children:[(0,s.jsx)("figure",{className:"hidden md:block w-full h-[80vh] max-h-[800px]",children:(0,s.jsx)(i.default,{src:"/assets/landing/notify_modal_image.png",alt:"bootcamp image",width:400,height:400,className:"w-full h-full object-cover",eager:!0})}),(0,s.jsxs)("div",{className:"w-full flex flex-col justify-center items-center text-center gap-8 md:gap-4 py-24 px-12",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("span",{className:"font-syne font-bold text-2xl",children:"Don't Miss Out! Get Notified"}),(0,s.jsx)("span",{className:"text-subtle text-base px-2 lg:px-16",children:c})]}),(0,s.jsxs)("form",{onSubmit:m,className:"flex flex-col gap-5 text-left w-full",children:[(0,s.jsx)("div",{className:"flex flex-col gap-3",children:(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("label",{htmlFor:"email",className:"text-sm font-rubik",children:"Email"}),(0,s.jsx)("input",{type:"text",id:"email",name:"email",autoComplete:"on",placeholder:"Enter Email",className:"w-full h-12 rounded-full text-sm bg-dark-alt py-4 px-8",required:!0})]})}),(0,s.jsx)(o.K,{text:"Notify Me",loading:u,className:"h-12 font-normal"})]})]})]})}},77327:function(e,t,l){"use strict";l.d(t,{ConnectYourBusiness:function(){return u}});var s=l(57437);l(2265);var a=l(30396),i=l(27648),n=l(5108),r=l(33145),o=l(74847),d=l(63861),c=l(44817);let u=()=>{var e,t,l,u,x,p,m,f,h,v,g,b,j,w,y,N,k,E,P,S,C;let{data:_,error:T,isLoading:I}=(0,d.ZP)("".concat("https://cms.mowblox.com","/api/landing?populate[getStarted][populate][image][fields][0]=url&fields[0]=id"),c.sh);return(0,s.jsxs)("section",{className:"get-notified relative px-4 lg:px-28 py-20 bg-cover",children:[(0,s.jsx)(a.BackgroundElements,{}),(0,s.jsx)(n.Highlight,{size:350,className:"left-0 -bottom-10  opacity-70"}),(0,s.jsx)(r.default,{alt:"shooting star",src:"/assets/landing/shooting_star.png",width:300,height:350,className:"absolute bottom-12 left-[20%] pointer-events-none"}),(0,s.jsx)("div",{className:"relative z-10 flex flex-col-reverse lg:flex-row gap-12",children:I?(0,s.jsx)("p",{className:"text-center text-white",children:"Loading get started..."}):T||(null==_?void 0:_.error)?(0,s.jsx)("p",{className:"text-center text-white",children:"Failed to load get started!"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("article",{className:"flex flex-col gap-6 md:flex-1",children:[(0,s.jsx)("h1",{className:"text-[32px] lg:text-[42px]",children:null==_?void 0:null===(l=_.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:null===(e=t.getStarted)||void 0===e?void 0:e.title}),(0,s.jsx)("p",{className:"text-subtle max-w-xl whitespace-pre-line",children:null==_?void 0:null===(p=_.data)||void 0===p?void 0:null===(x=p.attributes)||void 0===x?void 0:null===(u=x.getStarted)||void 0===u?void 0:u.description}),(0,s.jsx)("p",{className:"text-subtle max-w-xl whitespace-pre-line",children:null==_?void 0:null===(h=_.data)||void 0===h?void 0:null===(f=h.attributes)||void 0===f?void 0:null===(m=f.getStarted)||void 0===m?void 0:m.ctaHeadline}),(0,s.jsx)(i.default,{href:"mailto:sales@mowblox.com",className:"mt-16 gradient-bg rounded-full py-4 px-8 font-medium w-fit",children:null==_?void 0:null===(b=_.data)||void 0===b?void 0:null===(g=b.attributes)||void 0===g?void 0:null===(v=g.getStarted)||void 0===v?void 0:v.ctaText})]}),(0,s.jsx)(o.E.figure,{initial:{opacity:0},whileInView:{opacity:1},transition:{delay:.3},className:"md:flex-[0.85]",children:(0,s.jsx)(r.default,{src:null==_?void 0:null===(E=_.data)||void 0===E?void 0:null===(k=E.attributes)||void 0===k?void 0:null===(N=k.getStarted)||void 0===N?void 0:null===(y=N.image)||void 0===y?void 0:null===(w=y.data)||void 0===w?void 0:null===(j=w.attributes)||void 0===j?void 0:j.url,alt:null==_?void 0:null===(C=_.data)||void 0===C?void 0:null===(S=C.attributes)||void 0===S?void 0:null===(P=S.getStarted)||void 0===P?void 0:P.title,className:"mx-auto w-full",width:389,height:545})})]})})]})}},90473:function(e,t,l){"use strict";l.d(t,{Hero:function(){return h}});var s=l(57437);l(2265);var a=l(30396),i=l(44817),n=l(33145),r=l(19764),o=l(14435);l(7354),l(70099),l(77948),l(86968);let d={speed:4e3,spaceBetween:15,grabCursor:!0,loop:!0,freeMode:!0,autoplay:{delay:0},zoom:!0,keyboard:{enabled:!0,onlyInViewport:!1},breakpoints:{320:{slidesPerView:1},640:{slidesPerView:3},1024:{slidesPerView:4}},mousewheel:{invert:!0},modules:[o.pt]},c=e=>{let{slides:t}=e;return(0,s.jsx)(r.tq,{...d,children:t.map((e,t)=>(0,s.jsx)(r.o5,{children:(0,s.jsx)("figure",{className:"h-full w-[150px] flex items-center justify-center",children:(0,s.jsx)(n.default,{src:e.attributes.url,alt:e.attributes.name,width:150,height:30,className:"min-w-[100px] lg:min-w-[150px] object-contain"})})},"slide-image-".concat(t)))})};var u=l(63861);let x=()=>{var e,t,l,a,n,r;let{data:o,error:d,isLoading:x}=(0,u.ZP)("".concat("https://cms.mowblox.com","/api/landing?populate[trustedBy][fields][0]=url&populate[trustedBy][fields][1]=name&fields[0]=id"),i.sh);return x?(0,s.jsx)("div",{}):d?(0,s.jsx)("p",{className:"text-white text-center w-full",children:"Failed to load trustedBy"}):(null==o?void 0:null===(l=o.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:null===(e=t.trustedBy)||void 0===e?void 0:e.data)?(0,s.jsx)(c,{slides:null==o?void 0:null===(r=o.data)||void 0===r?void 0:null===(n=r.attributes)||void 0===n?void 0:null===(a=n.trustedBy)||void 0===a?void 0:a.data}):(0,s.jsx)("div",{})};var p=l(74847);let m=()=>(0,s.jsx)(p.E.div,{initial:{opacity:0,y:60,rotate:-2},whileInView:{opacity:1,y:0},transition:{duration:.3,type:"tween",rotate:-2},className:"companies-trust h-20 w-full max-w-screen-2xl mx-auto px-4 md:px-14 overflow-hidden relative before:top-border-gradient after:bottom-border-gradient -rotate-2",children:(0,s.jsxs)("div",{className:"w-full h-full flex items-center justify-start gap-12",children:[(0,s.jsx)("h6",{className:"text-xl lg:text-2xl flex-1 text-nowrap leading shrink-0",children:"Trusted by"}),(0,s.jsx)("div",{className:"companies-slider flex grow overflow-hidden w-full",children:(0,s.jsx)(x,{})})]})});var f=l(5108);let h=()=>(0,s.jsxs)("section",{className:"hero pb-20 flex flex-col gap-5 justify-between text-center relative bg-cover w-full",children:[(0,s.jsx)(a.BackgroundElements,{}),(0,s.jsxs)("div",{className:"wrapper p-8 pt-16 w-full flex flex-col items-center max-w-screen-2xl mx-auto",children:[(0,s.jsxs)("div",{className:"flex relative min-w-[340px] w-fit",children:[(0,s.jsx)(p.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.1},children:(0,s.jsx)(n.default,{src:"/assets/landing/Arc.svg",className:"w-full",width:563,height:400,alt:"Some shit"})}),(0,s.jsxs)(p.E.div,{initial:{opacity:0,y:200},animate:{opacity:1,y:0},transition:{duration:.7,type:"tween"},className:"absolute left-0 top-0 w-full aspect-square flex flex-col items-center justify-center sm:gap-6",children:[(0,s.jsx)(f.Highlight,{size:450,className:"opacity-70"}),(0,s.jsx)("h1",{className:"text-[96px] md:text-[125px] font-schabo condense font-normal",children:"DEVTRAK"}),(0,s.jsxs)("div",{className:"flex items-center justify-center",children:[(0,s.jsx)("p",{className:"text-xs uppercase text-subtle",children:"Powered By"}),(0,s.jsx)(n.default,{src:"/assets/landing/stellar_logo.png",className:"w-20 sm:w-24",alt:"stellar logo",width:100,height:41})]})]})]}),(0,s.jsxs)(p.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.7,duration:.7,type:"tween"},className:"flex flex-col justify-between -translate-y-5 w-full",children:[(0,s.jsxs)("h6",{className:"text-center text-[#f3f3f3] md:text-xl",children:["Training 5 Million Africans in ",(0,s.jsx)("br",{})," 5 years on Building Blockchain"," ",(0,s.jsx)("br",{className:"sm:hidden"})," Solutions"]}),(0,s.jsx)(n.default,{src:"/assets/landing/grid.png",height:300,width:1024,alt:"grid",className:"w-full object-cover shrink-0"})]})]}),(0,s.jsx)(m,{})]})},43914:function(e,t,l){"use strict";l.d(t,{default:function(){return m}});var s=l(57437),a=l(44817),i=l(63861),n=l(2265),r=l(33145),o=l(58376),d=l(72313),c=l(41842);let u=e=>{var t,l,a;let{adventure:i}=e,[u,x]=(0,n.useState)(!1),p=RegExp("^([a-z]+://|//)","i");return(0,s.jsxs)("article",{className:"flex flex-col bg-white bg-opacity-[0.08] rounded-2xl overflow-hidden relative after:bottom-border-gradient",children:[(0,s.jsx)("figure",{className:"h-40 relative rounded-t-2xl",children:(0,s.jsx)(r.default,{src:(null==i?void 0:null===(a=i.image)||void 0===a?void 0:null===(l=a.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:t.url)||"/assets/broken-image.png",fill:!0,alt:null==i?void 0:i.title,className:"object-cover object-center"})}),(0,s.jsxs)("div",{className:"bottom px-2 py-4 flex flex-col overflow-hidden grow justify-between",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("h6",{className:"text-xl truncate-text-2",children:null==i?void 0:i.title}),(0,s.jsx)("p",{className:"text-subtle truncate-text-2",children:null==i?void 0:i.description})]}),(0,s.jsx)(c.K,{text:null==i?void 0:i.cta,className:"mt-10 h-10",href:(null==i?void 0:i.action)==="modal"?null:null==i?void 0:i.destination,target:p.test(null==i?void 0:i.destination)?"_blank":"_self"}),(null==i?void 0:i.action)==="modal"&&(0,s.jsx)(d.t,{open:u,onClose:()=>x(!1),children:(0,s.jsx)(o.v,{title:null==i?void 0:i.title,tags:[null==i?void 0:i.title],setIsOpen:x})})]})]})},x=()=>(0,s.jsx)("article",{className:"bg-white bg-opacity-[0.03] rounded-2xl",children:(0,s.jsxs)("div",{className:"content flex flex-col gap-5 animate-pulse",children:[(0,s.jsx)("figure",{className:"h-40 bg-white opacity-10 rounded-t-xl"}),(0,s.jsxs)("div",{className:"flex flex-col px-2 gap-5",children:[(0,s.jsxs)("div",{className:"title flex flex-col gap-3",children:[(0,s.jsx)("p",{className:"rounded-full py-3 bg-white opacity-10 w-[85%]"}),(0,s.jsx)("p",{className:"rounded-full py-2.5 bg-white opacity-10"})]}),(0,s.jsx)("div",{className:"py-5 rounded-full bg-white opacity-10 mt-4"})]})]})});var p=l(74847);function m(){var e,t,l,n,r,o;let{data:d,error:c,isLoading:u}=(0,i.ZP)("".concat("https://cms.mowblox.com","/api/landing?populate[0]=launch&fields[0]=id"),a.sh);return(0,s.jsxs)("section",{className:"flex flex-col items-center px-4 lg:px-28 py-20 w-full max-w-screen-2xl mx-auto",children:[u?(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)("p",{className:"bg-white text-center h-11 w-2/3 rounded-full opacity-10"}),[1,2,3].map(e=>(0,s.jsx)("p",{className:"bg-white text-center h-4 w-3/4 rounded-full opacity-10"},"skeleton-launch-"+e))]}):c||(null==d?void 0:d.error)?(0,s.jsx)("p",{className:"text-white text-center",children:"Failed to load Launch"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h3",{className:"text-2xl lg:text-[42px] text-center",children:null==d?void 0:null===(l=d.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:null===(e=t.launch)||void 0===e?void 0:e.title}),(0,s.jsx)("p",{className:"text-subtle lg:text-lg mt-4 text-center max-w-2xl mx-auto",children:null==d?void 0:null===(o=d.data)||void 0===o?void 0:null===(r=o.attributes)||void 0===r?void 0:null===(n=r.launch)||void 0===n?void 0:n.description})]}),(0,s.jsx)(f,{})]})}function f(){var e,t;let{data:l,error:n,isLoading:r}=(0,i.ZP)("".concat("https://cms.mowblox.com","/api/landing?populate[adventures][populate][image][fields][0]=url&fields[0]=id"),a.sh);return(0,s.jsx)(s.Fragment,{children:r?(0,s.jsx)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 py-24 gap-12 w-full",children:[1,2,3].map(e=>(0,s.jsx)(x,{},e))}):n||(null==l?void 0:l.error)?(0,s.jsx)("p",{className:"text-white text-center py-24",children:"Failed to load Adventures"}):(0,s.jsx)(p.E.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{type:"tween",delay:.5},className:"grid sm:grid-cols-2 lg:grid-cols-3 py-24 gap-12 w-full",children:null==l?void 0:null===(t=l.data)||void 0===t?void 0:null===(e=t.attributes)||void 0===e?void 0:e.adventures.map(e=>(0,s.jsx)(u,{adventure:e},e.id))})})}},55816:function(e,t,l){"use strict";l.d(t,{StatsSection:function(){return d}});var s=l(57437),a=l(63861),i=l(2265),n=l(72694);let r=e=>{let{stat:t}=e,{ref:l,isIntersecting:a}=(0,n.S1)({threshold:.2}),[r,o]=(0,i.useState)(!1),[d,c]=(0,i.useState)(0);return(0,i.useEffect)(()=>{a&&o(!0)},[a]),(0,i.useEffect)(()=>{r&&d<t.count&&setTimeout(()=>{c(e=>Math.min(e+10,t.count))},8)},[r,d,t.count]),(0,s.jsxs)("article",{ref:l,className:"flex flex-col items-center text-center gap-3",children:[(0,s.jsx)("h6",{className:"text-[52px]",children:d>=1e3?Math.round(d/1e3)+"k+":d>499?d+"+":d.toString()}),(0,s.jsx)("p",{className:"text-lg",children:t.name})]})};var o=l(44817);let d=()=>{var e,t,l,i;let{data:n,error:d,isLoading:c}=(0,a.ZP)("".concat("https://cms.mowblox.com","/api/landing?populate[0]=stats&fields[0]=id"),o.sh);return(0,s.jsxs)("section",{className:"relative px-4 lg:px-[120px] py-[120px] bg-[url('/assets/stats_bg.png')] bg-cover flex flex-col gap-16",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center gap-5 text-center",children:[(0,s.jsx)("h1",{className:"text-[32px] lg:text-[42px]",children:"Building the Future, Together"}),(0,s.jsx)("p",{className:"max-w-xl",children:"We're more than just a platform, we're a community of passionate tech enthusiasts. Here's a glimpse of what we've achieved together."})]}),c?(0,s.jsx)("div",{className:"bg-white bg-opacity-[0.08] rounded-3xl p-10 animate-pulse w-full max-w-64 h-[500px] md:h-44 md:max-w-4xl mx-auto gap-20"}):d||n.error?(0,s.jsx)("p",{className:"p-10 text-center",children:"Failed to load stats..."}):(null==n?void 0:null===(t=n.data)||void 0===t?void 0:null===(e=t.attributes)||void 0===e?void 0:e.stats.length)?(0,s.jsx)("div",{className:"flex flex-col lg:flex-row bg-white bg-opacity-[0.08] rounded-3xl p-10 w-fit mx-auto gap-20",children:null==n?void 0:null===(i=n.data)||void 0===i?void 0:null===(l=i.attributes)||void 0===l?void 0:l.stats.map(e=>({id:e.id,name:e.title,count:e.value})).map(e=>(0,s.jsx)(r,{stat:e},e.id))}):(0,s.jsx)("p",{className:"p-10 text-center",children:"No stats found..."})]})}},1616:function(e,t,l){"use strict";l.d(t,{v:function(){return i}});var s=l(57437);l(2265);var a=l(33145);let i=e=>{var t,l;let{testimonial:i,index:n,showCube:r=!0}=e,o=[{index:0,cube:"/assets/landing/cube.png",cubeClasses:"top-0  -translate-y-1/2 -translate-x-1/3",containerClasses:""},{index:1,cube:"/assets/landing/cube_glossy.png",cubeClasses:" top-0 md:top-auto right-0 -translate-y-1/2",containerClasses:"xl:translate-y-16"},{index:2,cube:"/assets/landing/cube.png",cubeClasses:"top-0 -translate-y-1/2 left-1/2 -translate-x-1/2",containerClasses:"xl:translate-y-32"}];return(0,s.jsxs)("div",{className:"relative h-fit ".concat(null===(t=o[n])||void 0===t?void 0:t.containerClasses),children:[(0,s.jsxs)("article",{className:"w-full rounded-xl bg-white bg-opacity-[0.1] backdrop-blur p-5 relative z-10",children:[(0,s.jsx)("div",{className:"text-[50px] font-inter font-black",children:"“"}),(0,s.jsx)("p",{children:i.remark}),(0,s.jsxs)("div",{className:"mt-8 flex items-center gap-4",children:[(0,s.jsx)(a.default,{alt:i.author,src:i.profile_img,width:80,height:80,className:"rounded-full shrink-0 w-20 h-20 object-cover"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h6",{className:"text-[17px]",children:i.author}),(0,s.jsx)("p",{className:"text-white text-opacity-50 text-[13px] mt-2",children:i.role})]})]})]}),(0,s.jsx)(a.default,{src:o[n].cube,alt:"cube",width:180,height:180,className:"absolute pointer-events-none ".concat(null===(l=o[n])||void 0===l?void 0:l.cubeClasses," ").concat(!r&&"xl:hidden")})]})}},70982:function(e,t,l){"use strict";l.d(t,{default:function(){return c}});var s=l(57437),a=l(63861),i=l(1616),n=l(93418),r=l(44817),o=l(2615),d=l(74847);function c(){var e,t,l,c,u;let{data:x,error:p,isLoading:m}=(0,a.ZP)("".concat("https://cms.mowblox.com","/api/landing?populate[testimonials][populate][image][fields][0]=url&fields[0]=id"),r.sh);return(0,s.jsxs)("section",{className:"testimonials px-4 lg:px-28 py-20 w-full max-w-screen-2xl mx-auto bg-[url('/assets/landing/rings.png')] bg-no-repeat bg-center",children:[(0,s.jsxs)("div",{className:"max-w-3xl mx-auto text-center",children:[(0,s.jsxs)("h2",{className:"text-[32px] lg:text-[42px]",children:["They Smashed the Blockchain. ",(0,s.jsx)("br",{})," Now It's Your Turn."]}),(0,s.jsx)("p",{className:"text-subtle text-lg mt-4",children:"Don't just take our word for it. See what our graduates are saying about their journey into blockchain development with DevTrak"})]}),m?(0,s.jsx)("div",{className:"py-36 pb-48 grid md:grid-cols-2 xl:grid-cols-3 gap-16 gap-y-32",children:[0,1,2].map(e=>(0,s.jsx)(n.Z,{index:e},"testimonial-skeleton-"+e))}):p||x.error?(0,s.jsx)("p",{className:"py-36 pb-48 text-center",children:"Failed to load Testimonials..."}):(null==x?void 0:null===(t=x.data)||void 0===t?void 0:null===(e=t.attributes)||void 0===e?void 0:e.testimonials.length)?(0,s.jsx)(d.E.div,{initial:{opacity:0,y:60},whileInView:{opacity:1,y:0},transition:{type:"tween",delay:.5},className:"py-36 pb-48 grid md:grid-cols-2 xl:grid-cols-3 gap-16 gap-y-32",children:null==x?void 0:null===(u=x.data)||void 0===u?void 0:null===(c=u.attributes)||void 0===c?void 0:null===(l=c.testimonials)||void 0===l?void 0:l.slice(0,3).map(e=>{var t;return{id:e.id,author:e.name,role:e.occupation,profile_img:(null===(t=e.image.data)||void 0===t?void 0:t.attributes.url)||o._,remark:e.message}}).map((e,t)=>(0,s.jsx)(i.v,{index:t,testimonial:e},e.id))}):(0,s.jsx)("p",{className:"py-36 pb-48 text-center",children:"No testimonials found..."})]})}},30396:function(e,t,l){"use strict";l.d(t,{BackgroundElements:function(){return i}});var s=l(57437);l(2265),l(59900);var a=l(74847);let i=()=>(0,s.jsxs)(a.E.div,{initial:{opacity:0},whileInView:{opacity:1},className:"absolute inset-0 overflow-hidden",children:[(0,s.jsx)("div",{className:"opacity-60 rounded-full",id:"stars2"}),(0,s.jsx)("div",{className:"opacity-60 rounded-full",id:"stars3"})]})},5108:function(e,t,l){"use strict";l.d(t,{Highlight:function(){return i}});var s=l(57437);l(2265);var a=l(74847);let i=e=>{let{className:t,size:l=800}=e;return(0,s.jsx)(a.E.div,{initial:{opacity:0,y:50},whileInView:{y:0,opacity:1},transition:{duration:1,delay:.3},style:{width:l,height:l},className:"gradient-circle ".concat(t)})}},93418:function(e,t,l){"use strict";l.d(t,{Z:function(){return i}});var s=l(57437);l(2265);var a=l(33145);let i=e=>{let{index:t,showCube:l=!0}=e,i=[{index:0,cube:"/assets/landing/cube.png",cubeClasses:"top-0  -translate-y-1/2 -translate-x-1/3",containerClasses:""},{index:1,cube:"/assets/landing/cube_glossy.png",cubeClasses:" top-0 md:top-auto right-0 -translate-y-1/2",containerClasses:"xl:translate-y-16"},{index:2,cube:"/assets/landing/cube.png",cubeClasses:"top-0 -translate-y-1/2 left-1/2 -translate-x-1/2",containerClasses:"xl:translate-y-32"}];return(0,s.jsxs)("div",{className:"relative h-fit ".concat(i[t].containerClasses),children:[(0,s.jsxs)("article",{className:"w-full rounded-xl bg-white bg-opacity-[0.1] backdrop-blur p-5 relative z-10",children:[(0,s.jsx)("div",{className:"text-[50px] font-inter font-black",children:"“"}),(0,s.jsxs)("div",{className:"flex flex-col gap-2 animate-pulse",children:[(0,s.jsx)("p",{className:"rounded-full py-2 bg-white opacity-10"}),(0,s.jsx)("p",{className:"rounded-full py-2 bg-white opacity-10"}),(0,s.jsx)("p",{className:"rounded-full py-2 bg-white opacity-10"}),(0,s.jsx)("p",{className:"rounded-full py-2 bg-white opacity-10"}),(0,s.jsx)("p",{className:"rounded-full py-2 bg-white opacity-10"})]}),(0,s.jsxs)("div",{className:"mt-8 flex items-center gap-4 w-full animate-pulse",children:[(0,s.jsx)("figure",{className:"rounded-full shrink-0 w-20 h-20 bg-white opacity-10"}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("p",{className:"rounded-full py-2 bg-white opacity-10 w-full max-w-40"}),(0,s.jsx)("p",{className:"rounded-full py-1.5 bg-white opacity-10 mt-2 w-full max-w-28"})]})]})]}),(0,s.jsx)(a.default,{src:i[t].cube,alt:"cube",width:180,height:180,className:"absolute pointer-events-none ".concat(i[t].cubeClasses," ").concat(!l&&"xl:hidden")})]})}},12310:function(e,t,l){"use strict";l.d(t,{IP:function(){return a},MQ:function(){return n},TS:function(){return i},po:function(){return r},wn:function(){return s}});let s="SESSION_LOGGING_IN",a="SESSION_TOKEN",i="REDIRECT_TO",n="REFERRER_ID",r="VISITED_COURSES"},37006:function(e,t,l){"use strict";var s=l(57437),a=l(7409),i=l(60827);let{default:n}=l(11210);t.Z=()=>{let{token:e,logout:t}=n(),l={api:{url:"https://api.mowblox.com",token:e},cms:{url:"https://cms.mowblox.com",token:"880bde29d7c14c5f8f7c4f2c59ccbb234e3f2435a81078ab671785f35a782e0b8ccb5f1961ee6f7138f6fe2993bd815c609a4cdca348308ab20ac5f28c5e7323d6fa8e4dd0192901c795419f591f08f1d6756489e7bdc638c274c6c7643356d5aba83ce04ea90f04a9475822df8315e6cc049f5560cf5334d1b41e62cda225ae"},cmsWithApiToken:{url:"https://cms.mowblox.com",token:e},none:{url:"",token:null}};return{apiFetch:async function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{method:o="GET",endpoint:d="api",headers:c={},...u}=r,x="".concat(l[d].url).concat(e),p={method:o,headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(l[d].token),...c},...u};n&&"GET"!==o&&(n instanceof FormData?(p.body=n,delete p.headers["Content-Type"]):(p.body=JSON.stringify(n),p.headers["Content-Type"]="application/json"));try{let e=await fetch(x,p);if(!e.ok){var m;let t=await e.json();throw Error((null===(m=t.error)||void 0===m?void 0:m.message)||"HTTP error! status: ".concat(e.status))}let l=e.headers.get("content-type");if(204===e.status)return null;if(401===e.status)return t(),(0,a.Am)((0,s.jsx)(i.Z,{error:!0,message:"You need to be logged in to perform this action"})),null;if(l&&l.includes("application/json"))return await e.json();if(l&&l.includes("text/"))return await e.text();return e}catch(e){throw e}}}}},11210:function(e,t,l){"use strict";l.r(t);var s=l(99376),a=l(72694),i=l(12310),n=l(63861),r=l(44817);t.default=()=>{let e=(0,s.usePathname)(),t=(0,s.useSearchParams)(),[l,o]=(0,a._)(i.wn,!1),[d,c]=(0,a._)(i.TS,"/"),[u,x]=(0,a._)(i.MQ,null),[p,m]=(0,a._)(i.IP,""),{data:f,mutate:h}=(0,n.ZP)(p?["".concat("https://cms.mowblox.com","/api/users/me?populate=role"),p]:null,r.h6),{data:v,mutate:g}=(0,n.ZP)(p?["".concat("https://api.mowblox.com","/profiles/me"),p]:null,r.h6);return{isLoggedIn:!!p,loggingIn:l,token:p,user:f,profile:v,redirectTo:d,referrerId:u,setLoggingIn:o,setToken:m,updateUser:h,updateProfile:g,loginWithGoogle:()=>{c(e),x(t.get("referrerId")),window.location.href="".concat("https://cms.mowblox.com","/api/connect/google")},loginWithEmail:l=>(c(e),x(t.get("referrerId")),fetch("".concat("https://cms.mowblox.com","/api/passwordless/send-link"),{method:"POST",body:JSON.stringify({email:l}),headers:{"Content-Type":"application/json"}})),logout:()=>{m("")}}}},2615:function(e,t,l){"use strict";l.d(t,{_:function(){return s}});let s="/assets/courses/johndoe.jpg"},44817:function(e,t,l){"use strict";l.d(t,{$Y:function(){return a},h6:function(){return i},sh:function(){return s}});let s=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return fetch(...t,{headers:{Authorization:"Bearer ".concat("880bde29d7c14c5f8f7c4f2c59ccbb234e3f2435a81078ab671785f35a782e0b8ccb5f1961ee6f7138f6fe2993bd815c609a4cdca348308ab20ac5f28c5e7323d6fa8e4dd0192901c795419f591f08f1d6756489e7bdc638c274c6c7643356d5aba83ce04ea90f04a9475822df8315e6cc049f5560cf5334d1b41e62cda225ae")}}).then(e=>e.json())},a=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return fetch(...t).then(e=>e.json())},i=e=>{let[t,l]=e;return fetch(t,{headers:{Authorization:"Bearer ".concat(l)}}).then(e=>e.json())}},70099:function(){},77948:function(){},86968:function(){},59900:function(){},48614:function(e,t,l){"use strict";l.d(t,{M:function(){return v}});var s=l(57437),a=l(2265),i=l(64252),n=l(53576),r=l(45750);class o extends a.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d(e){let{children:t,isPresent:l}=e,i=(0,a.useId)(),n=(0,a.useRef)(null),d=(0,a.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,a.useContext)(r._);return(0,a.useInsertionEffect)(()=>{let{width:e,height:t,top:s,left:a}=d.current;if(l||!n.current||!e||!t)return;n.current.dataset.motionPopId=i;let r=document.createElement("style");return c&&(r.nonce=c),document.head.appendChild(r),r.sheet&&r.sheet.insertRule('\n          [data-motion-pop-id="'.concat(i,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            top: ").concat(s,"px !important;\n            left: ").concat(a,"px !important;\n          }\n        ")),()=>{document.head.removeChild(r)}},[l]),(0,s.jsx)(o,{isPresent:l,childRef:n,sizeRef:d,children:a.cloneElement(t,{ref:n})})}let c=e=>{let{children:t,initial:l,isPresent:r,onExitComplete:o,custom:c,presenceAffectsLayout:x,mode:p}=e,m=(0,n.h)(u),f=(0,a.useId)(),h=(0,a.useCallback)(e=>{for(let t of(m.set(e,!0),m.values()))if(!t)return;o&&o()},[m,o]),v=(0,a.useMemo)(()=>({id:f,initial:l,isPresent:r,custom:c,onExitComplete:h,register:e=>(m.set(e,!1),()=>m.delete(e))}),x?[Math.random(),h]:[r,h]);return(0,a.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[r]),a.useEffect(()=>{r||m.size||!o||o()},[r]),"popLayout"===p&&(t=(0,s.jsx)(d,{isPresent:r,children:t})),(0,s.jsx)(i.O.Provider,{value:v,children:t})};function u(){return new Map}var x=l(58881),p=l(13223);let m=e=>e.key||"";function f(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}var h=l(11534);let v=e=>{let{children:t,exitBeforeEnter:l,custom:i,initial:r=!0,onExitComplete:o,presenceAffectsLayout:d=!0,mode:u="sync"}=e;(0,p.k)(!l,"Replace exitBeforeEnter with mode='wait'");let v=(0,a.useMemo)(()=>f(t),[t]),g=v.map(m),b=(0,a.useRef)(!0),j=(0,a.useRef)(v),w=(0,n.h)(()=>new Map),[y,N]=(0,a.useState)(v),[k,E]=(0,a.useState)(v);(0,h.L)(()=>{b.current=!1,j.current=v;for(let e=0;e<k.length;e++){let t=m(k[e]);g.includes(t)?w.delete(t):!0!==w.get(t)&&w.set(t,!1)}},[k,g.length,g.join("-")]);let P=[];if(v!==y){let e=[...v];for(let t=0;t<k.length;t++){let l=k[t],s=m(l);g.includes(s)||(e.splice(t,0,l),P.push(l))}"wait"===u&&P.length&&(e=P),E(f(e)),N(v);return}let{forceRender:S}=(0,a.useContext)(x.p);return(0,s.jsx)(s.Fragment,{children:k.map(e=>{let t=m(e),l=v===k||g.includes(t);return(0,s.jsx)(c,{isPresent:l,initial:(!b.current||!!r)&&void 0,custom:l?void 0:i,presenceAffectsLayout:d,mode:u,onExitComplete:l?void 0:()=>{if(!w.has(t))return;w.set(t,!0);let e=!0;w.forEach(t=>{t||(e=!1)}),e&&(null==S||S(),E(j.current),o&&o())},children:e},t)})})}}},function(e){e.O(0,[902,7343,8047,3799,3110,5878,3861,2972,716,4847,6806,3239,8253,6964,6944,2971,2117,1744],function(){return e(e.s=3531)}),_N_E=e.O()}]);