PageSourceSearch

https://www.wostudios.co/_next/static/chunks/pages/course/[id]-1e08099c5f2c5679.js

js wostudios.co collected 2026-09-26 13:23:51 UTC 22,486 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5431],{94184:function(e,s){var r;!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e=[],s=0;s<arguments.length;s++){var r=arguments[s];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var i=n.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var l in r)t.call(r,l)&&r[l]&&e.push(l);else e.push(r.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(s,[]))||(e.exports=r)}()},25520:function(e,s,r){"use strict";var t=r(58255),n=r(43195),a=r(67294),i=(r(8215),r(85893));s.Z=function(e){var s=e.limit,r=e.text,l=(0,a.useState)(!1),c=l[0],o=l[1],d=(0,n.ZU)(r);return(0,i.jsxs)("div",{className:"my-3",children:[(0,i.jsx)("div",{className:" ql-snow",children:(0,i.jsx)("div",{className:"ql-editor !p-0 [&>p]:text-sm",dangerouslySetInnerHTML:{__html:c||d.length<=s?r:"".concat(r.substring(0,s)," <span>...</span>")}})}),d.length>=s&&(0,i.jsxs)(t.Av,{type:"button",className:"mb-5 text-xs !font-bold !text-secondary ",onClick:function(){return o(!c)},children:["Show ",c?"less":"more"]})]})}},12919:function(e,s,r){"use strict";r.d(s,{Qd:function(){return g},o4:function(){return b},vF:function(){return v}});var t=r(59499),n=r(4730),a=r(67294),i=r(94184),l=r.n(i),c=r(38622),o=r(98388),d=r(62469),u=r(85893),h=["children","className"],m=["children","className"],x=["children","className"],p=["children","className"];function f(e,s){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);s&&(t=t.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),r.push.apply(r,t)}return r}function j(e){for(var s=1;s<arguments.length;s++){var r=null!=arguments[s]?arguments[s]:{};s%2?f(Object(r),!0).forEach((function(s){(0,t.Z)(e,s,r[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))}))}return e}var g=a.forwardRef((function(e,s){var r=e.children,t=e.className,a=(0,n.Z)(e,m);return(0,u.jsx)(c.ck,j(j({className:l()(" focus-within:z-2 cursor-pointer overflow-hidden  border border-solid transition-all first:mt-0  first:rounded-t last:rounded-b focus-within:relative data-[state=open]:shadow-card",t)},a),{},{ref:s,children:r}))})),b=a.forwardRef((function(e,s){var r=e.children,t=e.className,a=(0,n.Z)(e,x);return(0,u.jsx)(c.h4,{className:"flex",children:(0,u.jsxs)(c.xz,j(j({className:l()(" group flex flex-1 cursor-pointer items-center justify-between font-bold text-secondary ",t)},a),{},{type:"button",ref:s,children:[(0,u.jsx)("div",{className:"text-base",children:r}),(0,u.jsx)(d.v4q,{className:"group-data-[state=open]:hidden ","aria-hidden":!0}),(0,u.jsx)(d.g8U,{className:"group-data-[state=closed]:hidden"})]}))})})),v=a.forwardRef((function(e,s){var r=e.children,t=e.className,a=(0,n.Z)(e,p);return(0,u.jsx)(c.VY,j(j({className:l()("transition data-[state=open]:animate-slideDown2 ",t)},a),{},{ref:s,children:r}))}));s.ZP=function(e){var s=e.children,r=e.className,t=(0,n.Z)(e,h);return(0,u.jsx)(c.fC,j(j({className:(0,o.m6)("",r)},t),{},{children:s}))}},95212:function(e,s,r){"use strict";var t=r(58255),n=r(19907),a=r(41664),i=r.n(a),l=r(98388),c=r(74107),o=r(71972),d=r(15562),u=r(62810),h=r(25675),m=r.n(h),x=r(11634),p=r(85893);s.Z=function(e){var s=e.className,r=e.course,a=(0,n.Z)().showPricing,h=encodeURIComponent(r.seoUrl||r.courseName.replace(/ /g,"-"));return(0,p.jsx)(i(),{href:"/course/".concat(h),children:(0,p.jsxs)("article",{className:(0,l.m6)("cursor-pointer overflow-hidden rounded-xl bg-secondary-bg shadow-outline  ",s),children:[(0,u.hU)(r.image_url)||!r.image_url?(0,p.jsx)(m(),{src:r.image_url||"/Vector.jpg",width:384,height:285,className:"object-cover",placeholder:"blur",blurDataURL:"data:image/gif;base64,R0lGODlhAQABAIAAAOLi4v///yH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="}):(0,p.jsx)(o.E,{children:(0,p.jsx)(d.Z,{playerProps:{style:{position:"absolute",top:0,left:0}},url:r.image_url,ErrorFallback:function(){return(0,p.jsx)("img",{onError:(0,x.W)("/Vector.jpg"),src:r.image_url||"/Vector.jpg"})}})}),(0,p.jsxs)("div",{className:"flex flex-col p-7",children:[(0,p.jsxs)("div",{className:"mb-2 flex items-center gap-1 text-xs",children:[(0,p.jsx)("p",{className:"subheader-small uppercase opacity-50",children:r.category}),!!r.courseRating&&(0,p.jsxs)("p",{className:"ml-auto flex items-center gap-1",children:[(0,p.jsx)(c.dW1,{}),r.courseRating," ",(0,p.jsxs)("span",{children:["(",r.courseReviewCount," Reviews)"]})]})]}),(0,p.jsx)("p",{className:"header-small mb-5 ",children:r.courseName}),(0,p.jsxs)("div",{className:"mb-2 rounded-lg bg-primary-bg p-3",children:[(0,p.jsxs)("div",{className:"mb-2 flex items-center gap-3 text-sm",children:[(0,p.jsx)(c.Lym,{})," ",(0,p.jsx)("p",{className:"basis-48",children:r.courseDates})]}),(0,p.jsxs)("div",{className:"flex items-center gap-3 text-sm",children:[(0,p.jsx)(c.kab,{})," ",(0,p.jsx)("p",{className:"",children:r.locationName})]})]}),(0,p.jsxs)("div",{className:"flex items-center justify-between gap-8",children:[(0,p.jsxs)("p",{className:"header-small flex-1",children:["From ",a(r.minPrice||0)]}),(0,p.jsx)(t.hO,{className:"!w-auto",children:"View More"})]})]})]})})}},35951:function(e,s,r){"use strict";var t=r(25675),n=r.n(t),a=(r(67294),r(78191)),i=r(85893);s.Z=function(e){var s=e.items;return(0,i.jsx)("div",{id:"things",className:"grid grid-cols-1 gap-x-6 gap-y-3 lg:grid-cols-2",children:s.map((function(e){return(0,i.jsxs)("div",{className:"flex items-start gap-3",children:[e.imageUrl?(0,i.jsx)("div",{className:"relative h-24 w-24 shrink-0 overflow-hidden rounded-lg",children:(0,i.jsx)(n(),{layout:"fill",objectFit:"contain",src:e.imageUrl,alt:e.name})}):(0,i.jsx)("div",{className:"flex h-24 w-24 shrink-0 items-center justify-center rounded-lg border bg-primary-bg",children:(0,i.jsx)("span",{className:"text-xl font-bold text-secondary",children:e.name.at(0)})}),(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("p",{className:"font-bold",children:e.name}),(0,i.jsx)(a.Z,{mb:"0",html:e.description,className:"text-sm [&_a]:font-bold  [&_a]:text-inherit [&_img]:max-w-full "})]})]},e.courseItemId)}))})}},62810:function(e,s,r){"use strict";r.d(s,{hU:function(){return o},oH:function(){return c},w6:function(){return l}});
1var t=r(56257),n=r(30381),a=r.n(n),i=r(85893),l=function(e){return e.length>1?(0,i.jsxs)("p",{children:["From ",(0,t.lQ)(e[0].startDate,"EEE, dd MMM yyyy")]}):1===e.length?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("span",{children:[(0,t.lQ)(e[0].startDate,"EEE, dd MMM yyyy, "),a()(e[0].startTime,"HH:mm:ss").format("hh:mm A - ")]}),(0,i.jsxs)("span",{children:[(0,t.lQ)(e[0].endDate,"EEE, dd MMM yyyy, "),a()(e[0].endTime,"HH:mm:ss").format("hh:mm A")]})]}):void 0};function c(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function o(e){if(!e)return!1;var s=e.split(/[?#]/)[0];return/\.(jpeg|jpg|png|gif|webp|avif|svg|bmp)$/i.test(s)}},59330:function(e,s,r){"use strict";r.r(s),r.d(s,{__N_SSP:function(){return G},default:function(){return Y}});var t=r(31096),n=r(86076),a=r(17746),i=r(84154),l=r(58352),c=r(30194),o=r(58255),d=r(78017),u=(r(62469),r(25675)),h=r.n(u),m=r(74107),x=r(87012),p=r(12919),f=r(11163),j=r(67294),g=r(98388),b=r(79701),v=r(10404),N=r(18177),y=r(19907),w=r(56257),k=r(62810),O=r(70151),Z=r(85893),_=function(e){var s=e.prices,r=(0,y.Z)().showPricing;return(0,Z.jsxs)("div",{className:"p-4 lg:p-0",children:[(0,Z.jsx)("h4",{className:"header mb-5",children:"Price breakdown"}),(0,Z.jsx)(O.Z,{tabs:s.map((function(e){return e.label})),panels:s.map((function(e){e.label;var s=e.value;return(0,Z.jsx)("div",{className:"flex flex-col gap-5",children:s.map((function(e){return(0,Z.jsxs)("div",{className:"rounded-[20px] border border-solid bg-primary-bg  px-7 py-5",children:[(0,Z.jsx)("h3",{className:"subheader-large mb-5",children:e.label}),(0,Z.jsx)("div",{className:"flex flex-col gap-3",children:e.value.map((function(s,t){return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("div",{className:"body flex items-center justify-between",children:[(0,Z.jsx)("p",{className:"",children:s.label}),(0,Z.jsx)("p",{className:"font-bold",children:r(s.price)})]}),t!==e.value.length-1&&(0,Z.jsx)(l.Z,{type:"horizontal",color:"currentColor"})]})}))})]})}))})}))})]})},C=r(61279),A=function(e){var s=e.className,r=e.schedule,t=e.media,n=e.tickets,a=e.price,i=e.location,c=e.redirectCheckout,d=((0,f.useRouter)(),(0,j.useState)(!1)),u=d[0],h=d[1],x=(0,v.P)().isTabletOrMobile,p=(0,y.Z)().showPricing,O=function(){h((function(e){return!e}))},A=n.map((function(e){return{label:e.customerGroupName,value:e.ticketType.filter((function(e){return e.ticketInfos.length>0})).map((function(e){return{label:e.ticketType,value:e.ticketInfos.map((function(e){return{label:e.TicketName,price:e.price}}))}}))}})).filter((function(e){return e.value.length>0})),E=(0,Z.jsx)(_,{prices:A});return(0,Z.jsxs)("article",{className:(0,g.m6)("z-card overflow-hidden bg-secondary-bg shadow-card  lg:rounded-[20px] lg:border lg:border-solid   lg:border-secondary/20",s),children:[(0,Z.jsx)(C.Z,{data:t,noThumbs:!0,mediaRatio:"revert",width:"385px",height:"285px",className:"!rounded-none",enableLargeGallery:!0}),(0,Z.jsxs)("div",{className:"flex flex-col p-7",children:[(0,Z.jsx)("p",{className:"header-small mb-2 ",children:a?"From ".concat(p(a),"/person"):"This course is FREE!"}),(0,Z.jsx)(o.Av,{className:"mr-auto !w-auto !font-bold !text-inherit ",onClick:O,children:"Show all prices"}),(0,Z.jsx)(b.Z,{isOpen:u,p:"auto",maxWidth:"551px",close:O,transition:x?{from:{opacity:0,y:600},enter:{opacity:1,y:0},leave:{opacity:0,y:600}}:{from:{opacity:0,y:0},enter:{opacity:1,y:0},leave:{opacity:0,y:0}},children:(0,Z.jsx)(N.Z,{close:function(){return O()},children:E})}),(0,Z.jsx)(l.Z,{my:"20px"}),(0,Z.jsxs)("div",{className:"mb-2 rounded-lg ",children:[r&&(0,Z.jsxs)("div",{className:"mb-2 flex items-center gap-3 text-sm",children:[(0,Z.jsx)(m.Lym,{stroke:"currentColor"})," ",(0,Z.jsx)("p",{children:(0,k.w6)([r])})]}),(0,Z.jsxs)("div",{className:"flex items-center  gap-3 text-sm",children:[(0,Z.jsx)(m.kab,{stroke:"currentColor"})," ",(0,Z.jsx)("p",{children:i})]})]}
1),r?(0,Z.jsx)(o.hO,{className:"!w-auto",disabled:!r.is_booking_enabled,onClick:function(){c(r.scheduleId)},children:r.is_booking_enabled?"Book Now":"Booking Closed"}):(0,Z.jsx)(o.hO,{className:"!w-auto",disabled:!0,children:"Booking Closed"}),(null===r||void 0===r?void 0:r.is_booking_enabled)&&(null===r||void 0===r?void 0:r.closedDate)&&(0,Z.jsxs)("p",{className:"mt-3 text-2xs",children:["Registration closes on the"," ",(0,Z.jsx)("span",{children:(0,w.lQ)(r.closedDate,"EEE, dd MMM yyyy, hh:mmaaa")})]})]})]})},E=r(95212),R=r(35951),P=r(57953),S=r(24509),D=r(25520),I=r(78191),M=r(31742),T=function(e){var s=e.links,r=(0,j.useState)(!1),t=r[0],n=r[1],a=(0,j.useState)(window.location.hash),i=a[0],l=a[1];(0,j.useEffect)((function(){var e=function(){n(window.scrollY>250)};return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);return(0,j.useEffect)((function(){var e=function(){l(window.location.hash)};return window.addEventListener("hashchange",e),function(){window.removeEventListener("hashchange",e)}}),[]),(0,Z.jsx)("nav",{className:"fixed top-nav-height z-navbar w-full  border-b border-solid border-secondary  bg-primary-bg shadow-card transition-all duration-300 ".concat(t?"translate-y-0 opacity-100":"top-0 -translate-y-nav-height opacity-0"),children:(0,Z.jsx)("div",{className:"container px-5 pt-6 lg:px-52",children:(0,Z.jsx)("ul",{className:"subheader-large flex gap-8 [&_a]:text-inherit",children:s.map((function(e){var s=i&&e.href.includes(i);return(0,Z.jsx)("li",{className:(0,M.cn)("cursor-pointer border-b-2 border-solid pb-3",s?" border-secondary":"border-transparent"),children:(0,Z.jsx)("a",{href:e.href,onClick:function(s){return function(e,s){e.preventDefault();var r=document.querySelector(s);if(r){var t=r.getBoundingClientRect().top+window.scrollY-200;window.scrollTo({top:t,behavior:"smooth"}),window.history.pushState("","",s),l(s)}}(s,e.href)},children:e.name})},e.href)}))})})})},F=r(41392),L=r(16239),U=r(53203),B=r(46581),z=function(e){var s=e.instructors,r=e.role;return(0,Z.jsx)(Z.Fragment,{children:(null===s||void 0===s?void 0:s.length)>0&&(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsxs)("div",{id:"instructors",className:"max-w-2xl",children:[(0,Z.jsxs)("h4",{className:"header-small mb-10",children:["Meet our ",(0,Z.jsx)("span",{className:"lowercase",children:r}),"s"]}),(0,Z.jsx)("div",{className:"flex flex-col gap-5",children:s.map((function(e){var s;return(0,Z.jsxs)("div",{className:"rounded-lg bg-primary-bg px-8 py-5 ",children:[(0,Z.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Z.jsx)(d.Z,{firstName:e.firstName,width:"40px",height:"40px",profileImageUrl:e.profileImageUrl,cUserId:e.id,canEdit:!1}),(0,Z.jsxs)("p",{children:[e.firstName," ",e.lastName]})]}),e.description&&(0,Z.jsx)(I.Z,{html:e.description}),e.description&&(null===(s=e.description)||void 0===s?void 0:s.length)>2500&&(0,Z.jsx)(o.Av,{className:"mt-3 !text-xs !font-bold !text-primary ",children:"Show More"})]})}))})]})})})},H=function(e){var s=e.description;return(0,Z.jsxs)("div",{id:"about",children:[(0,Z.jsx)("h4",{className:"header-small mb-10",children:"About the course"}),(0,Z.jsx)(D.Z,{text:s,limit:500})]})},Q=function(e){var s=e.things;return(0,Z.jsxs)("div",{id:"expect",children:[(0,Z.jsx)("h4",{className:"header-small mb-10",children:"What to expect"}),s.length>0?(0,Z.jsx)(p.ZP,{type:"multiple",defaultValue:s.map((function(e,s){return"item-".concat(s+1)})),children:s.map((function(e,r){return(0,Z.jsxs)(p.Qd,{value:"item-".concat(r+1),className:r===s.length-1?"border-b":"border-b-0",children:[(0,Z.jsx)(p.o4,{className:"bg-primary-bg  px-8 py-6",children:e.title}),(0,Z.jsxs)(p.vF,{className:"border border-grey bg-primary-bg px-8 pb-6",children:[(0,Z.jsx)("div",{children:e.imageUrl&&(0,Z.jsx)(h(),{width:548,height:280,className:"object-cover",layout:"responsive",src:e.imageUrl,alt:e.title})}),(0,Z.jsx)(I.Z,{html:e.description})]})]})}))}):(0,Z.jsx)("p",{className:"text-sm",children:"Nothing"})]})},W=function(e){var s=e.schedules,r=e.location,t=e.redirectCheckout;return(0,Z.jsxs)("div",{id:"start-dates",children:[(0,Z.jsx)("h4",{className:"header-small mb-8",children:"Start Dates"}),(0,Z.jsx)("div",{className:"flex flex-col gap-5",children:s.map((function(e){var s=function(s){return e.is_booking_enabled&&e.registrationCloseDate?(0,Z.jsx)("div",{className:(0,M.cn)("rounded bg-primary-bg py-2.5 text-center",s
1),children:(0,Z.jsxs)("p",{className:"text-2xs",children:["Registration closes on the"," ",(0,Z.jsx)("span",{className:"font-semibold",children:(0,w.lQ)(e.registrationCloseDate,"EEE, dd MMM yyyy, hh:mmaaa")})]})}):null};return(0,Z.jsxs)("div",{className:"border-default flex flex-col gap-2 rounded-lg border border-solid border-[#ecedec] bg-secondary-bg p-5 shadow-outline",children:[(0,Z.jsxs)("div",{className:"flex flex-col justify-between gap-2   lg:flex-row lg:items-center",children:[(0,Z.jsxs)("div",{children:[(0,Z.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Z.jsx)(m.Lym,{width:"20"}),(0,Z.jsx)("p",{className:"subheader",children:(0,k.w6)([e])})]}),(0,Z.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Z.jsx)(m.kab,{width:"20"}),(0,Z.jsx)("p",{className:"text-sm",children:r})]})]}),s("block lg:hidden"),(0,Z.jsx)("div",{children:e.is_booking_enabled?(0,Z.jsx)(o.hO,{disabled:!e.is_booking_enabled,onClick:function(){t("".concat(e.scheduleId))},children:"Book Now"}):(0,Z.jsx)("h3",{className:"text-center font-poppins text-sm font-medium text-secondary",children:"Booking Closed"})})]}),s("hidden lg:block")]})}))})]})},q=function(e){var s=e.courses;return(0,Z.jsxs)("div",{className:"p-7 lg:p-28",children:[(0,Z.jsx)("h4",{className:"header mb-10 ",children:"Related Courses"}),(0,Z.jsx)("div",{className:"grid grid-cols-1 gap-7 lg:grid-cols-3 ",children:s.map((function(e){return(0,Z.jsx)(E.Z,{course:e,className:"max-w-sm"},e.courseId)}))})]})},V=function(){var e,s=(0,f.useRouter)(),r=s.query.id,t=(0,L.D)(),n=t.setDialogState,d=t.setCb,u=(0,F.useAuthContext)(),h=u.isLoggedIn,p=u.loginRoute,j=(0,P.Ap)("/course/detail/".concat(r),{shouldFetch:!!r}),g=j.data;if(j.isLoading)return(0,Z.jsx)(a.Z,{children:(0,Z.jsx)(B.Z,{className:"mx-auto"})});if(404===(null===g||void 0===g?void 0:g.code))return(0,Z.jsx)(a.Z,{children:(0,Z.jsx)(S.Z,{})});if(null===g||void 0===g||!g.data)return(0,Z.jsx)(a.Z,{children:(0,Z.jsx)(U.Z,{})});var b=g.data,v=function(e){h?s.push("/course/".concat(e,"/checkout")):(d([function(){return s.push("/course/".concat(e,"/checkout"))}]),n(p))},N=[{name:"About",href:"#about"},b.courseThingsToLearns.length>0?{name:"What to expect",href:"#expect"}:null,b.courseSchedules.length>0?{name:"Start dates",href:"#start-dates"}:null,b.instructors.length>0?{name:"Our ".concat(b.courseFacilitatorRole),href:"#instructors"}:null,b.courseItems.length>0?{name:"What you'll need",href:"#things"}:null,b.courseReviewCount>0?{name:"Reviews",href:"#reviews"}:null].filter(Boolean);return(0,Z.jsx)(a.Z,{children:(0,Z.jsxs)("section",{className:"",children:[(0,Z.jsxs)("div",{className:"relative ",children:[(0,Z.jsx)(A,{className:"flex flex-col lg:sticky lg:left-[1000px]  lg:top-40 lg:z-10  lg:w-96",schedule:b.courseSchedules.filter((function(e){return e.is_booking_enabled}))[0],media:b.courseMedia,tickets:b.courseTickets,price:b.minPrice,location:null===(e=b.location)||void 0===e?void 0:e.name,redirectCheckout:v}),(0,Z.jsx)("header",{className:"mb-10 bg-primary-bg p-7 lg:-mt-[600px]  lg:px-52 lg:pt-28",children:(0,Z.jsxs)("div",{className:"flex max-w-2xl flex-col gap-5",children:[(0,Z.jsx)(i.Z,{links:[{text:"Courses",href:"/course"},{text:b.courseName,href:"/course/".concat(b.courseId)}]}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)("h3",{className:"header-large mb-3 ",children:b.courseName}),!!b.courseReviewCount&&(0,Z.jsxs)("p",{className:"flex  items-center gap-1 text-xs",children:[(0,Z.jsx)(m.dW1,{color:"currentColor"}),b.courseReviews," ",(0,Z.jsxs)("span",{children:["(",b.courseReviewCount," Reviews)"]})]})]}),(0,Z.jsxs)("div",{className:"flex  flex-wrap items-center gap-5 lg:gap-10",children:[(0,Z.jsxs)("div",{className:"flex  gap-2",children:[(0,Z.jsx)(m.omF,{stroke:"currentColor"}),(0,Z.jsxs)("div",{className:"text-sm",children:[(0,Z.jsx)("p",{className:"font-bold",children:"Course Level"}),(0,Z.jsx)("p",{children:b.courseLevel||"--"})]})]}),(0,Z.jsxs)("div",{className:"flex  gap-2",children:[(0,Z.jsx)(m.t0Z,{}),(0,Z.jsxs)("div",{className:"text-sm",children:[(0,Z.jsx)("p",{className:"font-bold",children:"Attendees"}),(0,Z.jsx)("p",{children:b.capacity})]})]})]})]})}),(0,Z.jsx)(T,{links:N}),(0,Z.jsx)("div",{className:"bg-secondary-bg px-7 lg:px-52 lg:pb-14 lg:pt-6 ",children:(0,Z.jsxs)("div",{className:" max-w-2xl py-5 ",children:[(0,Z.jsx)(H,{description:b.description}),(0,Z.jsx)(l.Z,{className:"my-14 !border-b-secondary "}),b.courseThingsToLearns.length>0&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Q,{things:b.courseThingsToLearns}),(0,Z.jsx)(l.Z,{className:"my-14 !border-b-secondary "})]}),(0,Z.jsx)(W,{schedules:b.courseSchedules,location:b.locationName,redirectCheckout:v}),b.courseItems.length>0&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(l.Z,{className:"my-14  !border-b-secondary "}),(0,Z.jsxs)("div",{id:"items",children:[(0,Z.jsx)("h4",{className:"header-small mb-10",children:"What you'll need"}),b.courseItems.length>0&&(0,Z.jsx)(R.Z,{items:b.courseItems})]})]})]})})]}),(0,Z.jsxs)("div",{className:" bg-secondary-bg p-7 lg:px-52  lg:pb-14   ",children:[b.instructors.length>0&&(0,Z.jsx)(z,{instructors:b.instructors,role:b.courseFacilitatorRole}),Boolean(b.courseRating)&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(l.Z,{className:"my-14 !border-b-secondary"}),(0,Z.jsxs)("div",{id:"reviews",children:[(0,Z.jsx)("h4",{className:"header-small mb-10",children:"Reviews"}),(0,Z.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Z.jsxs)("span",{className:"header",children:[b.courseRating," "]}),(0,Z.jsxs)("span",{className:"text-xs",children:[b.courseReviewCount," reviews"]})]}),(0,Z.jsx)(c.Z,{size:40,number:b.courseRating||0}),(0,Z.jsx)("div",{className:"mb-5 flex flex-col gap-5",children:b.courseReviews.map((function(e){return(0,Z.jsx)(x.Z,{author:"",locationResponse:e.locationResponse,postedDate:e.postedDate,ratingCount:e.ratingCount,reviewText:e.reviewText,staffName:e.staffName,title:(0,Z.jsx)("p",{className:"font-bold",children:e.reviewText})})}))}),b.hasMoreReview&&(0,Z.jsx)(o.hO,{className:"ml-auto !w-auto",children:"See All Reviews"})]})]})]}),b.relatedCourses.length>0&&(0,Z.jsx)(q,{courses:b.relatedCourses})]})})},$=r(67162),G=!0,Y=function(e){var s=e.meta,r=(0,$.vH)().textColor;return(0,Z.jsx)(X,{meta:s,$_css:r,children:(0,Z.jsx)(V,{})})},X=(0,t.ZP)(n.Z).withConfig({displayName:"id___StyledPage",componentId:"sc-1brnqlq-0"})((function(e){return{color:e.$_css}}))},46581:function(e,s,r){"use strict";r.d(s,{Z:function(){return d}});var t=r(59499),n=r(4730),a=r(67288),i=r(85893),l=["size","className"];function c(e,s){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);s&&(t=t.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),r.push.apply(r,t)}return r}function o(e){for(var s=1;s<arguments.length;s++){var r=null!=arguments[s]?arguments[s]:{};
1s%2?c(Object(r),!0).forEach((function(s){(0,t.Z)(e,s,r[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(r,s))}))}return e}function d(e){var s=e.size,r=void 0===s?156:s,t=e.className,c=(0,n.Z)(e,l);return(0,i.jsx)("section",o(o({},c),{},{className:"flex h-screen w-full flex-col items-center justify-center ".concat(t),children:(0,i.jsx)(a.nI,{style:{width:r,height:r,margin:"auto"},src:"/lotties/loadingAnimation.lottie",loop:!0,autoplay:!0})}))}},9032:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/course/[id]",function(){return r(59330)}])},8215:function(){}},function(e){e.O(0,[4885,5445,4171,5890,6949,496,4088,1729,8074,5808,8622,3775,5670,2382,1912,7130,6689,9774,2888,179],(function(){return s=9032,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

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.