1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4013,8768],{53822:function(e,n,t){"use strict";t.d(n,{K:function(){return i}});var r=t(88351),o=t(51761),a="v1/learning-path",i={GET_LIST:"".concat(a,"/search")};n.Z={fetchLearningPathList:function(e){var n=new URL(e,r.Z.API_DOMAIN);return o.Z.get(n.toString(),{isPublic:!0}).then((function(e){return e.data})).catch((function(e){return e}))},fetchLearningPath:function(e){var n=new URL("".concat(a,"/my/detail/").concat(e),r.Z.API_DOMAIN);return o.Z.get(n.toString(),{isPublic:!0}).then((function(e){return e.data})).catch((function(e){return e}))}}},31180:function(e,n,t){"use strict";t.d(n,{A:function(){return h},v:function(){return m}});var r,o=t(77460),a=t(94380),i=t(78406),l=t(78735),s=t(33408),c=t(90059),u=t(26769).Z.div(r||(r=(0,c.Z)(["\n .item {\n align-items: center;\n display: flex;\n justify-content: space-between;\n width: 100%;\n .name {\n white-space: pre-wrap;\n -webkit-box-orient: vertical;\n overflow: hidden;\n padding-right: 2px;\n }\n }\n ","\n .MuiMenuItem-root {\n font-size: 18px;\n font-family: Lanna;\n\n .alert-dot {\n background: #e31b0c;\n width: 10px;\n height: 10px;\n border: 1px solid #ffffff;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.isActive&&"background: rgba(0, 0, 0, 0.04);"})),d=t(52322);function p(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function x(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var f=function(e){var n=e.tName,t=e.name,r=e.isAlert,o=e.isShowSuffixIcon,s=void 0!==o&&o,c=e.onClick,u=(0,i.$G)().t,p=s&&(0,d.jsx)(l.Z,{icon:"fa-regular fa-chevron-right",style:{fontSize:"12px"}});return(0,d.jsx)(a.Z,{dense:!0,onClick:c,children:(0,d.jsxs)("div",{className:"item",children:[(0,d.jsx)("div",{className:"name",children:n?u(n):t}),r&&(0,d.jsx)("div",{className:"alert-dot"}),p]})},t)},h=function(e){var n=e.id,t=e.link,r=e.parent_category_id,o=e.setCategory,a=(e.isSubcategoryMenu,e.isDesktop),i=e.hoverCategoryId,l=e.isOpenMenu,c=e.isDisableHyperlink,p=void 0!==c&&c,h=function(){a?null===r&&o&&l&&o(e):null===r&&o&&o(e)},m=null===t||void 0===t?void 0:t.startsWith("http"),v=!1===p&&t?(0,d.jsx)(s.Z,{href:t,target:m?"_blank":void 0,children:(0,d.jsx)(f,x({},e))}):(0,d.jsx)(f,x({},e));return(0,d.jsx)(d.Fragment,{children:a?(0,d.jsx)(u,{onMouseEnter:h,isActive:i===n,children:v}):(0,d.jsx)(u,{onClick:h,children:v})})},m=function(e){var n=e.list,t=e.setCategory,r=e.isSubcategoryMenu,o=e.isDesktop,a=e.hoverCategoryId,i=e.isOpenMenu,l=e.isDisableHyperlink,s=void 0!==l&&l;return(0,d.jsx)(d.Fragment,{children:null===n||void 0===n?void 0:n.map((function(e){var n=null===e.parent_category_id&&!r;return(0,d.jsx)(h,x(x({},e),{},{setCategory:t,isSubcategoryMenu:r,isDesktop:o,hoverCategoryId:a,isOpenMenu:i,isDisableHyperlink:s,isShowSuffixIcon:n}),e.name)}))})}},51365:function(e,n,t){"use strict";var r=t(5632),o=t(78406),a=t(55351),i=t(88351),l=t(52322);n.Z=function(e){var n=e.title,t=e.description,s=e.image_url,c=e.noindex,u=e.nofollow,d=(0,o.$G)().t,p=n||d("default_title"),x=t||d("default_description"),f=s||"".concat(i.Z.IMAGE_CDN_HOST,"/images/Logo/logo-share.jpg"),h=(0,r.useRouter)();return(0,l.jsx)(a.PB,{title:p,description:x,noindex:c,nofollow:null!==u&&void 0!==u?u:c,openGraph:{url:"".concat(i.Z.APP_DOMAIN).concat(h.asPath),title:n,description:t,images:[{url:f,width:1200,height:630,alt:"skilllane logo"}],site_name:"SkillLane",locale:"th_TH"},twitter:{cardType:"summary_large_image"}})}},94029:function(e,n,t){"use strict";var r=t(18768),o=t(87222),a=t(52322);n.Z=function(e){var n=e.children,t=e.hideFooter,i=void 0!==t&&t;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.default,{}),(0,a.jsx)("main",{children:n}),!i&&(0,a.jsx)(r.default,{})]})}},84319:function(e,n,t){"use strict";t(2784);var r=t(55681),o=t(67550),a=t(52322);n.Z=function(e){var n=e.children;return(0,a.jsx)(r.Z,{disableGutters:!0,maxWidth:!1,children:(0,a.jsx)(o.Z,{sx:{flexGrow:1},children:n})})}},18768:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return b}});t(2784);var r=t(67550),o=t(48289),a=t(97704),i=t(47746),l=t(62197),s=t(78406),c=t(33408),u=t(10385),d=t(92485),p=t(52322),x=function(){var e,n=(0,s.$G)("common").t,t=(0,i.Z)(),o=(0,d.Ov)().appData,a=null===o||void 0===o||null===(e=o.footer)||void 0===e?void 0:e.teachWithUsUrl;return(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",gap:"16px",width:{lg:"unset",md:"40%",sx:"unset"}},children:[(0,p.jsx)(l.Z,{variant:"h5",color:t.palette.primaryV2.main,children:n("home.footer.company_us")}),(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:[(0,p.jsx)(l.Z,{variant:"body2lanna",href:"/about",color:t.palette.primaryV2.main,component:c.Z,children:n("home.footer.about_us")}
1),(0,p.jsx)(l.Z,{variant:"body2lanna",target:"_blank",href:a||"",color:t.palette.primaryV2.main,component:c.Z,children:n("home.footer.teach_us")}),(0,p.jsx)(l.Z,{variant:"body2lanna",href:u.Z6.VIDEO_PRODUCTION_SERVICE,color:t.palette.primaryV2.main,component:c.Z,children:n("home.footer.video_production_service")}),(0,p.jsx)(l.Z,{variant:"body2lanna",href:"/career",color:t.palette.primaryV2.main,component:c.Z,children:n("home.footer.career")}),(0,p.jsx)(l.Z,{variant:"body2lanna",href:"https://investor.skilllane.com/th/home",color:t.palette.primaryV2.main,target:"_blank",component:c.Z,children:n("home.footer.investor_relation_link_text")}),(0,p.jsx)(l.Z,{variant:"body2lanna",href:"https://www.skilllane.site/",color:t.palette.primaryV2.main,target:"_blank",component:c.Z,children:n("home.footer.lms_plus_link_text")})]})]})},f=t(29e3),h=t(78735),m=function(e){var n=e.phoneNumberAndOfficeHours,t=e.FACEBOOK_URL,a=e.LINE_URL,u=(0,s.$G)("common").t,d=(0,i.Z)();return(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",gap:"16px"},children:[(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",gap:"16px"},children:[(0,p.jsx)(l.Z,{variant:"h5",color:d.palette.primaryV2.main,children:u("home.footer.contact_us")}),(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",gap:"2px"},children:[(0,p.jsxs)(l.Z,{href:"/faq",variant:"body2lanna",color:d.palette.primaryV2.main,component:c.Z,sx:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,p.jsx)(h.Z,{style:{fontSize:"18px"},icon:"fa-regular fa-circle-question"})," ",u("home.footer.faq")]}),(0,p.jsxs)(l.Z,{href:"tel:".concat(null===n||void 0===n?void 0:n.phone),target:"_blank",variant:"body2lanna",color:d.palette.primaryV2.main,rel:"noreferrer",component:c.Z,sx:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,p.jsx)(h.Z,{style:{fontSize:"18px"},icon:"fa-regular fa-phone"})," ",null===n||void 0===n?void 0:n.phone," (",null===n||void 0===n?void 0:n.phone_hours,")"]})]})]}),(0,p.jsx)(r.Z,{children:(0,p.jsx)(o.Z,{})}),(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:[(0,p.jsxs)(l.Z,{href:t,target:"_blank",component:c.Z,rel:"noreferrer",sx:{display:"flex",gap:"8px"},variant:"body2lanna",color:d.palette.primaryV2.main,children:[(0,p.jsx)(f.Z,{style:{width:"18px",height:"18px"},src:"/static/icons/footer/facebook-contact.png",alt:"facebook-contact"}),"SkillLane"]}),(0,p.jsxs)(l.Z,{href:a,target:"_blank",component:c.Z,rel:"noreferrer",sx:{display:"flex",gap:"8px"},variant:"body2lanna",color:d.palette.primaryV2.main,children:[(0,p.jsx)(f.Z,{style:{width:"18px",height:"18px"},alt:"line-icon",src:"/static/icons/footer/line-icon.png"}),"@SkillLane"]}),(0,p.jsxs)(l.Z,{href:"mailto:[email protected]",target:"_blank",component:c.Z,rel:"noreferrer",sx:{display:"flex",gap:"8px"},variant:"body2lanna",color:d.palette.primaryV2.main,children:[(0,p.jsx)(h.Z,{style:{fontSize:"18px"},icon:"fa-regular fa-envelope"})," [email protected]"]}),(0,p.jsxs)(l.Z,{variant:"body2lanna",color:d.palette.primaryV2.main,children:["(",null===n||void 0===n?void 0:n.social_hours,")"]})]}),(0,p.jsx)(r.Z,{children:(0,p.jsx)(o.Z,{})})]})})},v=t(88351),y=function(e){var n=e.name,t=e.address,o=(0,i.Z)();return(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:[(0,p.jsx)(l.Z,{variant:"body2lanna",color:o.palette.textV2.primary,sx:{fontWeight:700},children:n}),(0,p.jsx)(l.Z,{variant:"body2lanna",color:o.palette.textV2.primary,children:t})]})},g=function(){var e=(0,s.$G)("common").t,n=(0,i.Z)();return(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",gap:"16px"},children:[(0,p.jsx)(f.Z,{style:{width:"157px",objectFit:"contain"},alt:"SkillLane",src:"".concat(v.Z.IMAGE_CDN_HOST,"/assets/logo.png"),errorImage:"".concat(v.Z.IMAGE_CDN_HOST,"/assets/logo.png")}),(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:[(0,p.jsx)(l.Z,{variant:"body2lanna",color:n.palette.textV2.primary,children:e("home.footer.overview_1")}),(0,p.jsx)(l.Z,{variant:"body2lanna",color:n.palette.textV2.primary,children:e("home.footer.overview_2")})]}),(0,p.jsx)(y,{name:e("home.footer.company.name.th"),address:e("home.footer.company.address.th")}),(0,p.jsx)(y,{name:e("home.footer.company.name.en"),address:e("home.footer.company.address.en")})]})},j=function(e){var n=e.GOOGLE_PLAY_URL,t=e.APP_STORE_URL,o=(0,s.$G)("common").t,a=(0,i.Z)(),c=(0,d.Uk)().isMobile;return(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",alignItems:{md:"flex-start",xs:"center"},gap:"16px"},children:[(0,p.jsx)(l.Z,{variant:"body2lanna",color:a.palette.textV2.primary,children:o("home.footer.download_app")}),(0,p.jsxs)(r.Z,{sx:{display:"flex",alignSelf:{md:"flex-start",xs:"center"},gap:"8px"},children:[(0,p.jsx)(r.Z,{onClick:function(){return window.open(n,"_blank")},sx:{cursor:"pointer"},children:(0,p.jsx)(f.Z,{style:{height:c?"41px":"27px"},src:"/static/icons/footer/google-play.svg",alt:"play-store"})}),(0,p.jsx)(r.Z,{onClick:function(){return window.open(t,"_blank")},sx:{cursor:"pointer"},children:(0,p.jsx)(f.Z,{style:{height:c?"41px":"27px"},src:"/static/icons/footer/app-store.svg",alt:"app-store"})})]})]})},Z=function(){var e=(0,s.$G)("common").t,n=(0,i.Z)();return(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",gap:"16px",width:{lg:"unset",md:"40%",sx:"unset"}},children:[(0,p.jsx)(l.Z,{variant:"h5",color:n.palette.primaryV2.main,children:e("home.footer.courses_online")}),(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column"},children:[(0,p.jsx)(l.Z,{variant:"body2lanna",href:u.Z6.ALL_COURSE,color:n.palette.primaryV2.main,component:c.Z,children:e("home.footer.all_courses")}),(0,p.jsx)(l.Z,{variant:"body2lanna",href:"/academic/tuxsa",color:n.palette.primaryV2.main,component:c.Z,children:e("home.footer.tuxsa")}
1),(0,p.jsx)(l.Z,{variant:"body2lanna",href:u.Z6.BUSINESS,color:n.palette.primaryV2.main,component:c.Z,children:e("home.footer.business")}),(0,p.jsx)(l.Z,{variant:"body2lanna",href:"".concat(u._n.CERTIFICATE_URL,"/check"),color:n.palette.primaryV2.main,target:"_blank",component:c.Z,children:e("home.footer.check_cert")})]})]})},_=function(){var e=(0,s.$G)("common").t,n=(0,i.Z)();return(0,p.jsxs)(r.Z,{sx:{display:"flex",width:"100%",backgroundColor:n.palette.grey[100],py:{md:"19px",xs:"16px"},px:{md:"auto",xs:"24px"},justifyContent:"center",alignItems:"center",textAlign:"center",gap:"8px",flexDirection:{md:"row",xs:"column"}},children:[(0,p.jsxs)(l.Z,{variant:"BaseLegacy",color:n.palette.textV2.secondary,children:["SkillLane \xa9 ",(new Date).getFullYear()," SkillLane.com All rights reserved."," "]}),(0,p.jsxs)(r.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textAlign:"center",flexWrap:"wrap"},children:[(0,p.jsx)(l.Z,{variant:"body2lanna",color:n.palette.primaryV2.main,href:"".concat(u._n.IDENTITY_URL,"/PrivacyPolicy"),target:"_blank",component:"a",fontFamily:"Lanna",children:e("home.footer.policy")}),(0,p.jsx)(h.Z,{width:"3px",icon:"fa-solid fa-circle",style:{fontSize:"3px"}}),(0,p.jsx)(l.Z,{variant:"body2lanna",color:n.palette.primaryV2.main,href:"/user_agreement",target:"_blank",component:"a",className:"user-agreement link",fontFamily:"Lanna",children:e("home.footer.user_agreement")}),(0,p.jsx)(h.Z,{width:"3px",icon:"fa-solid fa-circle",style:{fontSize:"3px"}}),(0,p.jsx)(l.Z,{variant:"body2lanna",color:n.palette.primaryV2.main,href:"/privacy-notice",target:"_blank",component:"a",className:"user-agreement link",fontFamily:"Lanna",children:e("home.footer.privacy_notice")})]})]})},b=function(e){var n,t,i,l,s,c=e.hideDownloadApp,u=(0,a.YD)({triggerOnce:!0,threshold:.1,rootMargin:"300px"}),f=u.ref,h=u.inView,v=(0,d.Ov)().appData,y=(0,d.Uk)().isMobile,b=null===v||void 0===v||null===(n=v.footer)||void 0===n?void 0:n.phone_number_and_office_hours,k=(null===v||void 0===v||null===(t=v.footer)||void 0===t?void 0:t.facebookUrl)||"",w=(null===v||void 0===v||null===(i=v.footer)||void 0===i?void 0:i.lineUrl)||"",O=(null===v||void 0===v||null===(l=v.footer)||void 0===l?void 0:l.googleStoreUrl)||"",D=(null===v||void 0===v||null===(s=v.footer)||void 0===s?void 0:s.appStoreUrl)||"";return(0,p.jsx)(r.Z,{ref:f,children:h&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(o.Z,{}),(0,p.jsxs)(r.Z,{sx:{display:"flex",py:"48px",gap:"24px",justifyContent:"center",width:"100%",px:{lg:0,xs:"24px"},flexDirection:{md:"row",xs:"column"}},children:[(0,p.jsxs)(r.Z,{sx:{display:"flex",flexDirection:"column",gap:"24px",width:{lg:"25%",md:"50%"},justifyContent:{lg:"flex-start",md:"space-between"}},children:[(0,p.jsx)(g,{}),!y&&!c&&(0,p.jsx)(j,{GOOGLE_PLAY_URL:O,APP_STORE_URL:D})]}),(0,p.jsxs)(r.Z,{sx:{display:"flex",gap:{lg:"48px",md:"32px",xs:"24px"},flexDirection:{lg:"row",xs:"column"}},children:[(0,p.jsxs)(r.Z,{sx:{display:"flex",gap:{md:"48px",xs:"24px"},flexDirection:{md:"row",xs:"column"}},children:[(0,p.jsx)(Z,{}),(0,p.jsx)(x,{})]}),(0,p.jsx)(m,{phoneNumberAndOfficeHours:b,FACEBOOK_URL:k,LINE_URL:w})]}),y&&!c&&(0,p.jsx)(j,{GOOGLE_PLAY_URL:O,APP_STORE_URL:D})]}),(0,p.jsx)(_,{})]})})}},81568:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return S},default:function(){return L}});var r=t(97729),o=t(2784),a=t(208),i=t(46408),l=t(51365),s=t(94029),c=t(84319),u=t(9207),d=t(92847),p=t.n(d),x=t(5632),f=t(73578),h=t(53822),m=t(30125),v=t(83745),y=t(62953),g=t(25002),j=t(92355),Z=t(92551),_=t(63815),b=t(52322),k=function(e){var n,t,r,a,i=e.courseDetailSeo,l=(0,x.useRouter)(),s=null===l||void 0===l||null===(n=l.query)||void 0===n?void 0:n.idName,c=null===l||void 0===l||null===(t=l.query)||void 0===t?void 0:t.learningPathId,d=null===l||void 0===l||null===(r=l.query)||void 0===r?void 0:r.category,k=null===l||void 0===l||null===(a=l.query)||void 0===a?void 0:a.courseCount,w=i.id,O=(0,g.Z)(),D=O.handleFetchCourseDetail,S=O.handleResetCourseDetail,L=(0,v.R)({idName:s}).handleResetCourseDiscussion,C=(0,y.H)({idName:s}).handleResetCourseReview,P=(0,j.Z)(),E=P.handleFetchCourseEnrollment,I=P.handleResetCourseEnrollment,V=(0,_.z)().handleResetCheckProductInCart,A=(0,Z.n)().resetGtmPageViewTracking,N=(0,o.useState)(void 0),R=N[0],U=N[1],G=(0,o.useState)(void 0),F=G[0],T=G[1];return(0,o.useEffect)((function(){c&&d&&function(){var e=(0,u.Z)(p().mark((function e(){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,h.Z.fetchLearningPath(parseInt(c,10));case 3:(n=e.sent).data?U(n.data):l.push("/not-found"),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),l.push("/not-found");case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}()()}),[c]),(0,o.useEffect)((function(){d&&function(){var e=(0,u.Z)(p().mark((function e(){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.Z.fetchCategory(d);case 3:(n=e.sent).data?T(n.data):l.push("/404"),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),l.push("/404");case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}()()}),[d]),(0,o.useEffect)((function(){if(s)return A(),D(s),function(){S(),I(),C(),L(),V()}}),[s]),(0,o.useEffect)((function(){w&&E(w)}),[w]),(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(m.Z,{courseDetailSeo:i,learningPath:R,learningPathCategory:F,courseCount:k})})},w=t(88182),O=t(53385).Z.fetchCourseDetailSeoAction,D=function(e){var n,t,s=(0,a.I0)();return(0,o.useEffect)((function(){e.course&&s(O.success(e.course)),(0,w.N_)()}),[e.course]),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(r.default,{children:[e.course?(0,b.jsx)("title",{children:(0,i.ti)(null===(n=e.course)||void 0===n?void 0:n.name)}):null,null!==(t=e.course)&&void 0!==t&&t.seoEnable?null:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("meta",{name:"googlebot",content:"noindex,nofollow"},"meta-googlebot"),(0,b.jsx)("meta",{name:"google",content:"nositelinkssearchbox"},"meta-google")]})]}),(0,b.jsx)(l.Z,{title:(0,i.ti)(e.course.name),description:e.course.fbContent,image_url:e.course.shareThumbnailUrl}),(0,b.jsx)(k,{courseDetailSeo:e.course})]})};D.getLayout=function(e){return(0,b.jsx)(c.Z,{children:(0,b.jsx)(s.Z,{children:e})})};var S=!0,L=D},25:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/courses/[idName]",function(){return t(81568)}])}},function(e){e.O(0,[9774,3325,6577,769,6280,8779,3408,9499,5596,5756,870,5118,8980,3955,5132,5351,9504,2956,4213,3856,4560,423,6186,7031,3812,12
165,639,6326,3685,80,6565,7679,125,2888,179],(function(){return n=25,e(e.s=n);var n}));var n=e.O();_N_E=n}]); 2//# sourceMappingURL=[idName]-0cda568d9e8a446a.js.map
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.