PageSourceSearch

https://metaschool.so/_next/static/chunks/pages/sui-fb3b84328cda4d55.js

js metaschool.so collected 2026-09-24 17:59:43 UTC 10,964 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3565,1234],{85550:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sui",function(){return l(12474)}])},25877:function(e,t){"use strict";t.Z={src:"/_next/static/media/advanced.05bc8336.svg",height:20,width:20}},85050:function(e,t){"use strict";t.Z={src:"/_next/static/media/beginner.8caf55d4.svg",height:20,width:20}},70798:function(e,t){"use strict";t.Z={src:"/_next/static/media/blog-3.23512a1b.webp",height:620,width:930,blurDataURL:"data:image/webp;base64,UklGRlIAAABXRUJQVlA4IEYAAADQAQCdASoIAAUAAkA4JZgCdAD0h65wAAD+whMA73yRwwwf4iW0YULNHlvTxcasLj+ML9NgSM852ueNlxWAu9WGHGOtQkAA",blurWidth:8,blurHeight:5}},61234:function(e,t){"use strict";t.Z={src:"/_next/static/media/check-circle.1d605863.svg",height:20,width:20}},29378:function(e,t){"use strict";t.Z={src:"/_next/static/media/intermediate.a49a9402.svg",height:20,width:20}},50495:function(e,t){"use strict";t.Z={src:"/_next/static/media/sui-cover.07109197.svg",height:148,width:265}},12474:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return A},default:function(){return E}});var s=l(85893),n=l(67294),i=l(19768);l(25675);var o=l(9008),r=l.n(o),a=l(37072),c=l(66261);l(60362),l(29080);var d=l(87425),u=l(50495),m=l(85050),x=l(29378),f=l(25877),h=l(14598);l(70798),l(9650),l(41664);var v=l(11163),p=l(85574),g=l(74093),b=l(5152),w=l.n(b),j=l(31587),y=l(33136),N=l(16122);l(40053),l(61234),l(24850),l(66367);var k=l(27193);let S=w()(()=>Promise.resolve().then(l.bind(l,87770)),{loadableGenerated:{webpack:()=>[87770]},ssr:!1}),_=e=>{var t,l,i;let{bundleCourseData:o}=e;(0,v.useRouter)();let[b,w]=(0,n.useState)(null),[_,A]=(0,n.useState)(!0),[E,C]=(0,n.useState)(!1),{user:L,isLoading:Z}=(0,n.useContext)(p.St),M=(null===(t=o.courses)||void 0===t?void 0:t.beginner)||[],B=(null===(l=o.courses)||void 0===l?void 0:l.intermediate)||[],U=(null===(i=o.courses)||void 0===i?void 0:i.advanced)||[],[F,T]=(0,n.use
1State)(null),[I,D]=(0,n.useState)({}),[G,H]=(0,n.useState)(!1),[P,W]=(0,n.useState)((0,g.Z)(null==o?void 0:o.courses)),q=null==P?void 0:P.find(e=>(null==e?void 0:e.level)==="beginner"&&(null==e?void 0:e.order)=="1"),O=async()=>{let e=await a.default.get("/api/bundles/".concat("4","/course/enrollments"));(null==e?void 0:e.data)&&Object.keys(null==e?void 0:e.data).length&&(D(null==e?void 0:e.data),G||H(!0)),R()},R=async()=>{var e,t;let l=await a.default.get("/api/bundles/".concat("4","/user/course-statuses")),s=null==l?void 0:null===(e=l.data)||void 0===e?void 0:e.courses_by_level,n=[...P],i=!1;null===(t=Object.keys(s))||void 0===t||t.forEach(e=>{var t;null==s||null===(t=s[e])||void 0===t||t.forEach(e=>{let t=null==n?void 0:n.findIndex(t=>(null==t?void 0:t.id)==(null==e?void 0:e.course_id));-1===t||(n[t]={...n[t],status:null==e?void 0:e.status,currentUserLesson:null==e?void 0:e.currentUserLesson,newlyEnrolled:null==e?void 0:e.newlyEnrolled},(null==e?void 0:e.status)!=="enrolled"||i||(w(n[t]),i=!0))})}),sessionStorage.getItem("newBundleEnrollment")&&"null"!==sessionStorage.getItem("newBundleEnrollment")||A(!1),W(n)};(0,n.useEffect)(()=>{O()},[Z,L]),(0,n.useEffect)(()=>{let e=()=>{let e=document.querySelectorAll("section");e.forEach(e=>{let t=e.getBoundingClientRect();t.top>=0&&t.bottom<=window.innerHeight&&T(e.id)})};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let Q=()=>{var e,t,l,n;return(0,s.jsx)("nav",{className:"float-left w-full flex items-center justify-center pt-10 pb-10 bg-white",children:(0,s.jsxs)("div",{className:" flex items-center mobile:px-4",children:[(0,s.jsx)("span",{className:" text-n200 mr-2",children:"I know"}),(0,s.jsxs)("ul",{className:" h-10 border border-gray-200 p-1 rounded-xl grid grid-cols-3 sticky-nav-tracker bg-white",children:[(0,s.jsx)("li",{className:"section1"===F||null===F?"  !bg-p700 text-center text-p_16 font-semibold items-center justify-center flex rounded-lg !text-p100 px-6 cursor-pointer mobile:px-0 ":" px-6 bg-white text-center text-p_16 font-semibold items-center justify-center flex rounded-lg text-n200 cursor-pointer mobile:px-0",children:(0,s.jsx)(c.rU,{to:"section1",spy:!0,smooth:!0,duration:500,children:"Nothing"})}),(null==o?void 0:null===(e=o.courses)||void 0===e?void 0:null===(t=e.intermediate)||void 0===t?void 0:t.length)?(0,s.jsx)("li",{className:"section2"===F?"bg-p700 text-center text-p_16 font-semibold items-center justify-center flex rounded-lg text-p100 px-6 cursor-pointer mobile:px-0":"px-6 bg-white text-center text-p_16 font-semibold items-center justify-center flex rounded-lg text-n200 cursor-pointer mobile:px-0",children:(0,s.jsx)(c.rU,{to:"section2",spy:!0,smooth:!0,duration:500,children:"Basic"})}):(0,s.jsx)("li",{className:"px-6 opacity-50 bg-p700 text-center text-p_16 font-semibold items-center justify-center flex rounded-lg text-n200 cursor-pointer mobile:px-0"===F,children:(0,s.jsx)("span",{onClick:()=>!1,children:"Basic"})}),(null==o?void 0:null===(l=o.courses)||void 0===l?void 0:null===(n=l.advanced)||void 0===n?void 0:n.length)?(0,s.jsx)("li",{className:"section3"===F?"bg-p700 text-center text-p_16 font-semibold items-center justify-center flex rounded-lg text-p100 px-6 cursor-pointer mobile:px-0":"px-6 bg-white text-center text-p_16 font-semibold items-center justify-center flex rounded-lg text-n200 cursor-pointer mobile:px-0",children:(0,s.jsx)(c.rU,{to:"section3",spy:!0,smooth:!0,duration:500,children:"Move on Sui"})}):(0,s.jsx)("li",{className:"px-6 opacity-50 bg-p700 text-center text-p_16 font-semibold items-center justify-center flex rounded-lg text-n200 cursor-pointer mobile:px-0",children:(0,s.jsx)("span",{onClick:()=>!1,children:"Move on Sui"})})]})]})})};(0,n.useEffect)(()=>(window.addEventListener("scroll",Y),()=>{window.removeEventListener("scroll",Y)}));let Y=e=>{let t=document.querySelector(".sticky-sui-cta"),l=window.scrollY;l>=500?null==t||t.classList.add("is-sticky"):null==t||t.classList.remove("is-sticky")};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r(),{children:[(0,s.jsx)("link",{rel:"canonical",href:"https://metaschool.so/sui"}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),(0,s.jsx)("meta",{property:"og:url",content:"https://metaschool.so/sui"}),(0,s.jsx)("meta",{property:"og:title",content:"Build on Sui, Become the Next Gen Move Developer"}),(0,s.jsx)("meta",{property:"og:description",content:"Unlock Move programming mastery on the Sui blockchain with project-based courses by building alongside 140k+ Web3 devs like you."}),(0,s.jsx)("meta",{property:"og:image",content:"/assets/sui-og.webp"}),(0,s.jsx)("meta",{name:"twitter:site",content:"@0xmetaschool"}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:url",content:"https://metaschool.so/sui"}),(0,s.jsx)("meta",{name:"twitter:title",content:"Build on Sui, Become the Next Gen Move Developer"}),(0,s.jsx)("meta",{name:"twitter:description",content:"Unlock Move programming mastery on the Sui blockchain with project-based courses by building alongside 140k+ Web3 devs like you."}),(0,s.jsx)("meta",{name:"twitter:image",content:"".concat("https://metaschool.so","/assets/sui-og.webp")}),(0,s.jsx)("title",{children:"Build on Sui, Become the Next Gen Move Developer"}),(0,s.jsx)("meta",{name:"description",content:"Unlock Move programming mastery on the Sui blockchain with project-based courses by building alongside 140k+ Web3 devs like you."}),(0,s.jsx)("meta",{name:"keywords",content:"sui,move,metaschool"})]}),(0,s.jsxs)("div",{className:"w-full flex flex-col items-center justify-center",children:[(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(j.Z,{Backgroun
1dColor:"bg-[#E5F2FF]",Heading:"Master Sui Move, Build Beyond",Paragraph:"An extensive learning track for developers to get started in Move on Sui and build high quality advanced level dApps.",NumberofCourses:"5",TrackIcon:d.Z,CoverTracks:u.Z})}),Q(),(0,s.jsxs)("div",{className:" float-left w-full tablet:px-4",children:[M.length?(0,s.jsx)("section",{id:"section1",className:" float-left w-full my-5",children:(0,s.jsx)("div",{className:"w-full float-left",children:(0,s.jsx)("div",{className:" w-9/12 mx-auto desktop:w-10/12 tablet:w-full",children:(0,s.jsx)("div",{className:" w-10/12 mx-auto tablet:w-full",children:(0,s.jsx)("ul",{className:" float-left w-full pl-5 border-l border-l-gray-200 relative",children:(0,s.jsx)("li",{className:" float-left w-full",children:(0,s.jsx)(y.Z,{LevelHeading:"Understand the Fundamentals of Move on Sui",CourseTitle:"Learn Everything About Sui, its Concepts and Protocols",LevelCourse:m.Z,courses:M,user:L,enrolledCourses:I})})})})})})}):(0,s.jsx)(s.Fragment,{}),B.length?(0,s.jsx)("section",{id:"section2",className:" float-left w-full my-5",children:(0,s.jsx)("div",{className:"w-full float-left",children:(0,s.jsx)("div",{className:" w-9/12 mx-auto desktop:w-10/12 tablet:w-full",children:(0,s.jsx)("div",{className:" w-10/12 mx-auto tablet:w-full",children:(0,s.jsx)("ul",{className:" float-left w-full pl-5 border-l border-l-gray-200 relative",children:(0,s.jsx)("li",{className:" float-left w-full",children:(0,s.jsx)(y.Z,{LevelHeading:"Expand Your Skills in Move on Sui",CourseTitle:"Learn Everything About Sui, its Concepts and Protocols",LevelCourse:x.Z,courses:B,user:L,enrolledCourses:I})})})})})})}):(0,s.jsx)(s.Fragment,{}),U.length?(0,s.jsx)("section",{id:"section3",className:" float-left w-full my-5",children:(0,s.jsx)("div",{className:"w-full float-left",children:(0,s.jsx)("div",{className:" w-9/12 mx-auto desktop:w-10/12 tablet:w-full",children:(0,s.jsx)("div",{className:" w-10/12 mx-auto tablet:w-full",children:(0,s.jsx)("ul",{className:" float-left w-full pl-5 border-l border-l-gray-200 relative",children:(0,s.jsx)("li",{className:" float-left w-full",children:(0,s.jsx)(y.Z,{LevelHeading:"Master Sui Move, Build Beyond",CourseTitle:"Learn Everything About Sui, its Concepts and Protocols",LevelCourse:f.Z,courses:U,user:L,enrolledCourses:I})})})})})})}):(0,s.jsx)(s.Fragment,{})]}),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"sticky-sui-cta fixed invisible opacity-0 transition-all ease-in duration-200 top-0 left-0 z-999 w-full tablet:hidden",children:(0,s.jsx)("div",{className:" z-999",children:Q()})})}),(0,s.jsx)(N.Z,{TrackIconOutcome:h.Z,TrackName:"Sui"}),(0,s.jsx)("div",{className:"flex flex-col mb-14 w-10/12 desktop:w-full tablet:float-left tablet:px-4",children:(0,s.jsxs)("div",{className:" w-9/12 mx-auto tablet:w-full",children:[(0,s.jsx)("p",{className:"text-p_20 font-semibold mb-6 text-n100",children:"Frequently asked questions"}),(0,s.jsx)("div",{className:" flex flex-col",children:(0,s.jsx)(k.Z,{faqData:"FAQs/sui-learning-track.json"})})]})}),!!E&&(0,s.jsx)(S,{setShowModal:C,showModal:E,course:q})]})]})};var A=!0,E=_;_.getLayout=function(e){return(0,s.jsx)(i.Z,{children:e})}}},function(e){e.O(0,[1664,9885,1257,5253,4709,5251,8307,4060,8354,24,9774,2888,179],function(){return e(e.s=85550)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.