PageSourceSearch

https://wearecrossfader.co.uk/_next/static/chunks/app/app/(guestRo…/%5BcourseId%5D/page-32fbdb29c9e3c8d1.js

js wearecrossfader.co.uk collected 2026-09-24 19:04:42 UTC 78,062 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="3b994874-367f-44bf-b245-9e6dec8acbc8",t._sentryDebugIdIdentifier="sentry-dbid-3b994874-367f-44bf-b245-9e6dec8acbc8")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7856,4934],{7157:function(t,e,n){Promise.resolve().then(n.bind(n,13440))},24369:function(t,e,n){"use strict";var r=n(2265),s="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=r.useState,l=r.useEffect,i=r.useLayoutEffect,a=r.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!s(t,n)}catch(t){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=o({inst:{value:n,getSnapshot:e}}),s=r[0].inst,u=r[1];return i(function(){s.value=n,s.getSnapshot=e,c(s)&&u({inst:s})},[t,n,e]),l(function(){return c(s)&&u({inst:s}),t(function(){c(s)&&u({inst:s})})},[t]),a(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},53941:function(t,e,n){"use strict";t.exports=n(24369)},13440:function(t,e,n){"use strict";n.d(e,{default:function(){return tU}});var r=n(57437),s=n(2265),o=n(58818),l=n(27648),i=n(99376),a=n(75905),c=n(7561),u=n(46303),d=n(36768),w=n(29207),f=n(40941),m=n(68769),x=n(32087),p=n(26870),h=n(7794),g=n(52919),v=n(47697),b=n(48689),j=n(79820),y=n(99738),N=n(77562),_=n(17168),S=n(93448),E=n(96246),C=n(76738),R=n(33145);let k=t=>{let{reviews:e=[]}=t,n=t=>{let{isResized:e=!1,resizedImages:n,link:r}=null!=t?t:{};return e?n[Object.keys(n)[0]]:r};return e.length?(0,r.jsx)("div",{className:"tw:flex tw:flex-col tw:gap-4",children:e.map(t=>(0,r.jsx)(j.Zb,{className:"tw:p-[20px]",children:(0,r.jsxs)(j.aY,{className:"tw:flex tw:flex-col tw:gap-3 tw:p-0",children:[(0,r.jsxs)("div",{className:"tw:flex tw:items-center tw:gap-3",children:[(0,r.jsx)(E.qE,{className:"tw:w-10 tw:h-10",children:(null==t?void 0:t.courseStudentSayImage)?(0,r.jsx)(E.F$,{src:n(t.courseStudentSayImage),alt:t.author}):(0,r.jsx)(E.Q5,{children:t.author.charAt(0).toUpperCase()})}),(0,r.jsx)("div",{children:(0,r.jsx)("p",{className:"tw:font-semibold tw:text-base!",children:t.author})})]}),(0,r.jsx)("p",{className:"tw:text-sm tw:text-neutral-300 tw:leading-relaxed",children:t.feedback}),(0,r.jsx)("div",{className:"tw:flex tw:items-center tw:gap-1 tw:pt-1",children:(0,r.jsx)(C.i,{overallRating:t.studentRating})})]})},t.id))}):(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:items-center tw:w-full",children:[(0,r.jsx)(R.default,{src:"/assets/img/courses/add-comment.png",width:140,height:118,className:"tw:h-[118px] tw:w-[140px] tw:object-cover",objectFit:"cover",alt:"add comment image"}),(0,r.jsx)("h2",{className:"tw:mt-6! tw:mb[6px]! tw:text-[18px]!",children:"No reviews yet!"}),(0,r.jsx)("p",{className:"tw:m-0! tw:text-sm! tw:text-muted-foreground",children:"This course hasn’t received any reviews yet."})]})};var O=n(3327),I=n(60339);function U(t){var e,n;let{overview:s,included:o,equipment:l,tutor:i,studentsSays:a,courseId:c,course:u}=t,{scrollContainerRef:d,handleTabTriggerClick:w}=(0,O.p)();return(0,r.jsxs)(_.mQ,{defaultValue:"overview",className:"tw:w-full tw:h-fit",children:[(0,r.jsx)("div",{className:"tw:overflow-x-auto tw:whitespace-nowrap tw:no-scrollbar no-scrollbar",ref:d,children:(0,r.jsx)(_.dr,{className:"tw:flex",children:["overview","lesson-plan","whats-included","equipment","about","testimonials"].map(t=>(0,r.jsx)(_.SP,{value:t,className:"tw:text-sm tw:px-3 tw:py-2",onClick:w,children:t.replace("-"," ").replace(/\b\w/g,t=>t.toUpperCase())},t))})}),(0,r.jsxs)("div",{className:"tw:mt-[36px] tw:md:mt-[40px]",children:[(0,r.jsx)(_.nU,{value:"overview",className:"custom-course-content",children:(0,N.ZP)((0,S.f)(s))}),(0,r.jsx)(_.nU,{value:"lesson-plan",children:(0,r.jsx)(I.Z,{courseId:c,isPreview:!0,course:u})}),(0,r.jsx)(_.nU,{value:"whats-included",className:"custom-course-content",children:(0,N.ZP)((0,S.f)(o))}),(0,r.jsx)(_.nU,{value:"equipment",className:"custom-course-content",children:(0,N.ZP)((0,S.f)(l))}),(0,r.jsxs)(_.nU,{value:"about",className:"custom-course-content",children:[(0,r.jsx)("h1",{className:"tw:m-0!",children:"About the tutor"}),(0,r.jsxs)("div",{className:"tw:flex tw:gap-3 tw:items-center tw:my-[20px]",children:[(0,r.jsxs)(E.qE,{"aria-hidden":!0,
1className:"tw:size-[44px]",children:[(0,r.jsx)(E.F$,{src:null==i?void 0:null===(e=i.tutorImage)||void 0===e?void 0:e.link}),(0,r.jsx)(E.Q5,{children:null!==(n=null==i?void 0:i.name[0])&&void 0!==n?n:""})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"tw:text-sm! tw:m-0!",children:i.name}),(0,r.jsx)("p",{className:"tw:text-xs! tw:m-0!",children:"Instructor"})]})]}),(0,r.jsx)("p",{children:i.about})]}),(0,r.jsx)(_.nU,{value:"testimonials",children:(0,r.jsx)(k,{reviews:a})})]})]})}var L=n(70574),T=n(12381),P=n(31593),A=n(32138),D=n(94944),M=n(81512),F=n(88883),G=n(59773),z=n(93252);let B={package_primary:!1};function W(t){let{lessons:e,duration:n,oldPrice:l,newPrice:a,savings:c,currency:u,offerPercentage:d,guaranteeNote:m,course:x,variant:p="card",secondaryCta:h}=t,g=(0,i.useRouter)(),v=(0,o.I0)(),{items:b}=(0,o.v9)(t=>t.Basket),y=(0,s.useMemo)(()=>!!b.find(t=>t.id===x.id&&"course"===t.type),[b,x]),{isBought:N,isApplicableToSubscription:_}=x,{params:E}=(0,G.A)(z.Dw,B),C=E.package_primary&&_,R=()=>{window.open("https://wearecrossfader.co.uk/gift-cards/","_blank","noopener")},k=()=>{g.push("/app/subscription-basket")},O=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"course";if(y)return g.push("/app/basket");x.type=t,v((0,D.H)(x)),(0,w.eY)(f.G2,x),g.push("/app/basket")};return"strip"===p?(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-5 tw:w-full",children:[(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-1.5",children:[(0,r.jsxs)("div",{className:"tw:flex tw:items-baseline tw:gap-3 tw:flex-wrap",children:[c&&(0,r.jsx)("span",{className:"tw:text-muted-foreground tw:line-through tw:text-base",children:(0,A.Z)(u,l)}),(0,r.jsx)("span",{className:"tw:text-[40px]! tw:leading-none tw:font-bold tw:text-foreground tw:tabular-nums",children:(0,A.Z)(u,a)}),(0,r.jsx)("span",{className:"tw:text-[15px] tw:text-muted-subtitle",children:"one-time, lifetime access"}),c&&(0,r.jsxs)("span",{className:"tw:bg-success/20 tw:text-success tw:text-xs tw:font-medium tw:rounded-full tw:px-2 tw:py-1",children:["Save ",(0,A.Z)(u,c)]})]}),!!d&&(0,r.jsxs)("p",{className:"tw:m-0! tw:text-sm! tw:text-success",children:["Your ",d,"% reward is applied"]}),!N&&m&&(0,r.jsx)("p",{className:"tw:m-0! tw:text-[13px]! tw:text-muted-foreground",children:m})]}),(0,r.jsx)("div",{className:"tw:flex tw:flex-col tw:sm:flex-row tw:gap-3 tw:w-full tw:sm:w-auto",children:N?(0,r.jsx)("p",{className:"tw:m-0! tw:text-sm! tw:text-muted-foreground",children:"You have already purchased this course"}):(0,r.jsxs)(r.Fragment,{children:[C&&(0,r.jsx)(T.z,{variant:"default",className:"tw:rounded-full tw:py-3! tw:px-6! tw:h-auto tw:w-full tw:sm:w-auto",onClick:k,children:"Unlock with the Complete DJ Package"}),(0,r.jsx)(T.z,{variant:C?"outline":"default",className:C?"tw:rounded-full tw:py-3! tw:px-6! tw:h-auto tw:w-full tw:sm:w-auto tw:bg-white tw:text-black tw:hover:bg-white tw:hover:text-black":"tw:rounded-full tw:py-3! tw:px-6! tw:h-auto tw:w-full tw:sm:w-auto",onClick:()=>O("course"),children:"Buy single course"}),26===x.id&&(0,r.jsx)(T.z,{variant:"outline",className:"tw:rounded-full tw:py-3! tw:px-6! tw:h-auto tw:w-full tw:sm:w-auto tw:bg-white tw:text-black tw:hover:bg-white tw:hover:text-black",onClick:()=>g.push("/app/dj-course-bundles/DDJ-FLX4-Beginner-To-Pro-Bundle"),children:"Save 20% with the Beginner to Pro bundle"}),h&&(0,r.jsx)(T.z,{variant:"outline",className:"tw:hidden tw:lg:inline-flex tw:rounded-full tw:py-3! tw:px-6! tw:h-auto tw:w-full tw:sm:w-auto tw:bg-white tw:text-black tw:hover:bg-white tw:hover:text-black",onClick:()=>{var t;null===(t=h.onClick)||void 0===t||t.call(h),(0,S.X)(h.targetId)},children:h.label})]})}),!N&&(0,r.jsxs)("div",{className:"tw:flex tw:flex-wrap tw:items-center tw:gap-x-5 tw:gap-y-1",children:[_&&!C&&(0,r.jsx)("button",{type:"button",onClick:k,className:"tw:text-sm tw:text-muted-foreground tw:underline tw:underline-offset-4 tw:hover:text-foreground tw:min-h-11 tw:rounded tw:outline-none tw:focus-visible:ring-[3px] tw:focus-visible:ring-ring/50",children:"Or get every course with the Complete DJ Package"}),(0,r.jsxs)("button",{type:"button",onClick:R,className:"tw:inline-flex tw:items-center tw:gap-2 tw:text-sm tw:text-primary tw:min-h-11 t
1w:rounded tw:outline-none tw:focus-visible:ring-[3px] tw:focus-visible:ring-ring/50",children:[(0,r.jsx)(M.N,{icon:F.OgN,size:18,strokeWidth:1.5}),"Gift this course"]})]})]}):(0,r.jsxs)(j.Zb,{className:"tw:p-6 tw:h-fit tw:md:max-w-[308px] tw:gap-6",children:[(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-3",children:[null!=e&&(0,r.jsxs)("div",{className:"tw:flex tw:items-center tw:gap-3",children:[(0,r.jsx)(M.N,{icon:F.lkk,size:20,strokeWidth:1.5,color:"var(--primary)"}),(0,r.jsxs)("span",{className:"tw:text-slate-300",children:["Lessons: ",(0,r.jsx)("span",{className:"tw:font-medium tw:text-white",children:e})]})]}),(0,r.jsxs)("div",{className:"tw:flex tw:items-center tw:gap-3",children:[(0,r.jsx)(M.N,{icon:F.pDF,size:20,strokeWidth:1.5,color:"var(--primary)"}),(0,r.jsxs)("span",{className:"tw:text-slate-300",children:["Duration: ",(0,r.jsxs)("span",{className:"tw:font-medium tw:text-white",children:[n,"h"]})]})]})]}),(0,r.jsx)(P.Z,{}),(0,r.jsxs)("div",{className:"tw:flex tw:items-center tw:gap-3 tw:mb-4",children:[c&&(0,r.jsx)("span",{className:"tw:text-muted-foreground tw:line-through tw:text-[16px]",children:(0,A.Z)(u,l)}),(0,r.jsx)("span",{className:"tw:text-[24px]! tw:font-semibold tw:text-white",children:(0,A.Z)(u,a)}),c&&(0,r.jsxs)("span",{className:"tw:bg-green-700/30 tw:text-green-400 tw:text-xs tw:font-medium tw:rounded-full tw:px-2 tw:py-1",children:["Save ",(0,A.Z)(u,c)]})]}),!!d&&(0,r.jsxs)("p",{className:"tw:text-sm! tw:-mt-2 tw:mb-4! tw:text-green-400",children:["Your ",d,"% reward is applied"]}),(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-3",children:[_&&(0,r.jsx)(T.z,{variant:"default",className:"tw:py-3! tw:whitespace-normal tw:h-fit",onClick:k,children:"Unlock with the Complete DJ Package"}),26===x.id&&(0,r.jsx)(T.z,{variant:"outline",className:"tw:py-3! tw:whitespace-normal tw:h-fit tw:bg-white tw:text-black tw:hover:text-black tw:hover:bg-white",onClick:()=>g.push("/app/dj-course-bundles/DDJ-FLX4-Beginner-To-Pro-Bundle"),children:"Save 20% with the Beginner to Pro bundle"}),(0,r.jsx)(T.z,{variant:"outline",className:N?"tw:py-3! tw:whitespace-normal tw:h-auto tw:bg-transparent tw:hover:bg-transparent tw:border-0 tw:cursor-auto!":"tw:py-3!",onClick:()=>!N&&O("course"),children:N?"You have already purchased this course":"Buy single course"}),!N&&m&&(0,r.jsx)("p",{className:"tw:text-xs! tw:text-muted-foreground tw:text-center tw:m-0! tw:-mt-1",children:m})]}),(0,r.jsx)("div",{className:"tw:text-center",children:(0,r.jsxs)(T.z,{variant:"ghost",className:"tw:text-primary tw:bg-transparent",onClick:R,children:[(0,r.jsx)(M.N,{icon:F.OgN,size:20,strokeWidth:1.5}),"Gift this course"]})})]})}var H=t=>{let{courses:e}=t;return e&&0!==e.length?(0,r.jsxs)(j.Zb,{className:"tw:bg-black",children:[(0,r.jsxs)(j.Ol,{children:[(0,r.jsx)(j.ll,{children:"Related courses"}),(0,r.jsx)(j.SZ,{children:"Expand your learning with these courses"})]}),(0,r.jsx)(j.aY,{className:"tw:flex tw:flex-col tw:gap-3 tw:md:mx-auto",children:e.map(t=>{var e;let n=t.lastViewedLesson||t.firstLesson,s=Math.floor(t.completedLessonsCount/t.lessonsCount*100);return(0,r.jsx)(C.Z,{course:t,title:t.title,subtitle:"".concat(null==n?void 0:n.ordinalNumber,". ").concat(null==n?void 0:n.title),lessons:t.lessonsCount,hours:t.courseLengthInHours,urlPart:t.urlPart,isBought:t.isBought,progress:s,imageUrl:(null==t?void 0:null===(e=t.courseThumbnailImage)||void 0===e?void 0:e.link)||"/assets/img/courses/course-thumbnail-placeholder.png",overallRating:null==t?void 0:t.overallRating,numberOfReviews:null==t?void 0:t.numberOfReviews},"continuelearning-section-".concat(t.id))})})]}):null},Y=n(64415),Z=n(44199),q=n(36096);function J(t){var e,n;let{course:s,recommendedByCourse:o}=t,l=(0,q.d)(),i=(null==s?void 0:s.completedLessonsCount)&&(null==s?void 0:s.lessonsCount)?Math.floor(s.completedLessonsCount/s.lessonsCount*100):0,a=s.prices[Y.S],c=(0,Z.aS)(s);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.Z,{title:(null==s?void 0:s.title)||"Online DJ Courses",description:(null==s?void 0:s.metaDescription)||""}),(0,r.jsxs)("div",{className:"tw:flex tw:flex-col-reverse tw:min-[1365px]:flex-row tw:gap-4",children:[(0,r.jsxs)(j.Zb,{className:"tw:w-full tw:max-w-[824px] tw:bg-black tw:rounded-2xl",children:[(0,r.jsx)(y.y,{title:s.title,subtitle:"",overallRating:s.overallRating,numberOfReviews:s.numberOfReviews,progress:i}),(0,r.jsxs)(j.aY,{className:"tw:md:px-6",children:[s.video&&(0,r.jsx)(L.Z,{videoId:s.video.id,videoSrc:s.video.link,poster:(null===(e=s.video.thumbnailImage)||void 0===e?void 0:e.link)||s.video.videoPreview,tracks:s.video.translatedVideos,lessonTitle:s.title,onVideoEnd:()=>{},onVideoPause:()=>{},onVideoProgress:()=>{}}),(0,r.jsx)("div",{className:"tw:mt-6",children:(0,r.jsx)(U,{overview:s.overview,included:s.included,equipment:s.equipment,tutor:s.tutor,courseId:s.urlPart,studentsSays:s.studentsSays,course:s})})]})]}),(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-6",children:[(0,r.jsx)(W,{lessons:s.lessonsCount,duration:s.courseLengthInHours,oldPrice:a.price,newPrice:c,savings:a.price>c?(a.price-c).toFixed(2):void 0,currency:a.currency,course:s,offerPercentage:null===(n=(0,Z.pG)(s))||void 0===n?void 0:n.percentage}),!l&&(0,r.jsx)(H,{courses:o})," "]})]}),l&&(0,r.jsx)(H,{courses:o})," "]})}var V=n(14285);function $(t){let{rating:e,size:n}=t;return(0,r.jsx)("div",{className:"tw:flex tw:gap-1",children:[0,1,2,3,4].map(t=>{let s=Math.max(0,Math.min(1,e-t));return(0,r.jsxs)("span",{className:"tw:relative tw:inline-block",style:{width:n,height:n},children:[(0,r.jsx)(M.N,{icon:F.r7p,size:n,color:"currentColor",className:"tw:absolute tw:inset-0 tw:text-neutral-300 tw:fill-neutral-300",strokeWidth:1.5}),(0,r.jsx)("span",{className:"tw:absolute tw:inset-0 tw:overflow-hidden",style:{width:"".concat(100*s,"%")},children:(0,r.jsx)(M.N,{icon:F.r7p,size:n,color:"currentColor",className:"tw:text-orange-500 tw:fill-orange-500",strokeWidth:1.5})})]},t)})})}function Q(t){var e,n,s;
1let{course:o,proof:l,pricing:i}=t,a=null==o?void 0:null===(e=o.category)||void 0===e?void 0:e.name,c=(null==o?void 0:null===(n=o.metaDescription)||void 0===n?void 0:n.trim())||void 0,u=[null!==l.rating&&null!==l.reviews?"".concat(l.rating," from ").concat(l.reviews.toLocaleString()," reviews"):null,"50,000+ students on Crossfader"].filter(Boolean).join(" \xb7 ");return(0,r.jsx)(V.Z,{headingId:"course-hero-heading",eyebrow:a,title:o.title,subtitle:c,mobileLayout:"mediaAfterTitle",priceAnchor:(0,r.jsx)("div",{id:"course-pricing",className:"tw:scroll-mt-24 tw:w-full",children:i}),socialProofMobile:null!==l.rating?(0,r.jsxs)("div",{className:"tw:flex tw:items-center tw:justify-center tw:gap-2",children:[(0,r.jsx)("span",{className:"tw:text-sm tw:font-bold tw:text-white tw:tabular-nums",children:l.rating.toFixed(1)}),(0,r.jsx)($,{rating:l.rating,size:14}),null!==l.reviews&&(0,r.jsxs)("span",{className:"tw:text-xs! tw:text-muted-foreground tw:tabular-nums",children:["(",l.reviews.toLocaleString(),")"]})]}):void 0,socialProof:(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-1.5",children:[null!==l.rating&&(0,r.jsx)($,{rating:l.rating,size:16}),(0,r.jsx)("p",{className:"tw:m-0! tw:text-xs! tw:text-muted-foreground",children:u})]}),imageAlt:o.title,media:o.video?(0,r.jsx)(L.Z,{videoId:o.video.id,videoSrc:o.video.link,poster:(null===(s=o.video.thumbnailImage)||void 0===s?void 0:s.link)||o.video.videoPreview,tracks:o.video.translatedVideos,lessonTitle:o.title,onVideoEnd:()=>{},onVideoPause:()=>{},onVideoProgress:()=>{}}):void 0})}function X(t){let{proof:e}=t,n=[];return null!==e.rating&&n.push({key:"rating",value:e.rating.toFixed(1),label:"out of 5"}),null!==e.reviews&&n.push({key:"reviews",value:e.reviews.toLocaleString("en-GB"),label:"reviews"}),null!==e.lessonCount&&n.push({key:"lessons",value:String(e.lessonCount),label:"lessons"}),null!==e.hours&&n.push({key:"hours",value:"".concat(e.hours,"h"),label:"of video"}),n.push({key:"students",value:e.students,label:"students on Crossfader"}),(0,r.jsx)("ul",{className:"tw:grid tw:grid-cols-2 tw:sm:grid-flow-col tw:sm:auto-cols-fr tw:gap-px tw:bg-border tw:border tw:border-border tw:rounded-xl tw:overflow-hidden tw:m-0 tw:p-0 tw:list-none",children:n.map(t=>(0,r.jsxs)("li",{"aria-label":"".concat(t.value," ").concat(t.label),className:"tw:bg-background tw:px-4 tw:py-4 tw:flex tw:flex-col tw:gap-1",children:[(0,r.jsx)("span",{"aria-hidden":"true",className:"tw:text-2xl tw:font-bold tw:text-foreground tw:tabular-nums tw:leading-none",children:t.value}),(0,r.jsx)("span",{"aria-hidden":"true",className:"tw:text-xs tw:text-muted-foreground tw:uppercase tw:tracking-[0.12em]",children:t.label})]},t.key))})}var K=n(35285),tt=n(62295);let te=t=>"/app/lessons-preview/".concat(t.urlPart);function tn(t){let{curriculum:e,courseUrlPart:n}=t,{ref:o,isVisible:l}=(0,tt.f)(),i=e.modules.length>1,[a,c]=(0,s.useState)({}),u=t=>c(e=>({...e,[t]:!e[t]})),d=t=>(0,v.oF)("course_page_free_lesson_click",t.urlPart,{course:n});return(0,r.jsx)("div",{ref:o,className:"tw:transition-opacity tw:duration-500 tw:motion-reduce:transition-none ".concat(l?"tw:opacity-100":"tw:opacity-0"),children:(0,r.jsx)("ol",{className:"tw:m-0 tw:p-0 tw:list-none tw:flex tw:flex-col tw:divide-y tw:divide-border tw:border tw:border-border tw:rounded-xl tw:overflow-hidden",children:e.modules.map((t,n)=>{var s;return(0,r.jsx)(tr,{index:n,module:t,maxModuleSize:e.maxModuleSize,showBar:i,expanded:!i||null===t.title||!!a[n],collapsible:i&&null!==t.title,onToggle:()=>u(n),onFreeClick:d},"".concat(null!==(s=t.title)&&void 0!==s?s:"ungrouped","-").concat(n))})})})}function tr(t){let{index:e,module:n,maxModuleSize:s,showBar:o,expanded:i,collapsible:a,onToggle:c,onFreeClick:u}=t,d=n.lessons.length,w=s>0?Math.max(8,Math.round(d/s*100)):100,f=String(e+1).padStart(2,"0"),m="course-module-".concat(e),x=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"tw:w-8 tw:shrink-0 tw:text-xs tw:text-muted-foreground tw:tabular-nums",children:f}),(0,r.jsx)("span",{className:"tw:flex-1 tw:min-w-0 tw:text-left tw:font-bold tw:text-foreground tw:truncate",children:n.title}),(0,r.jsxs)("span",{className:"tw:shrink-0 tw:text-sm tw:text-muted-foreground tw:tabular-nums",children:[d," ",1===d?"lesson":"lessons",n.freeCount>0&&(0,r.jsxs)("span",{className:"tw:ml-2 tw:text-foreground",children:[n.freeCount," free"]})]}),a&&(0,r.jsx)(M.N,{icon:i?F.USV:F.QPh,size:16,strokeWidth:1.5,className:"tw:shrink-0 tw:text-muted-foreground"})]});return(0,r.jsxs)("li",{className:"tw:bg-background",children:[null!==n.title&&(a?(0,r.jsx)("button",{type:"button","aria-expanded":i,"aria-controls":m,onClick:c,className:"tw:w-full tw:min-h-11 t
1w:flex tw:items-center tw:gap-3 tw:px-4 tw:py-3 tw:cursor-pointer tw:outline-none tw:focus-visible:ring-[3px] tw:focus-visible:ring-ring/50",children:x}):(0,r.jsx)("div",{className:"tw:w-full tw:min-h-11 tw:flex tw:items-center tw:gap-3 tw:px-4 tw:py-3",children:x})),o&&null!==n.title&&(0,r.jsx)("div",{className:"tw:px-4 tw:pb-3 tw:pl-[3.75rem]","aria-hidden":"true",children:(0,r.jsxs)("div",{className:"tw:relative tw:h-3",children:[(0,r.jsx)("div",{className:"tw:absolute tw:inset-y-0 tw:left-0 tw:rounded-sm tw:bg-border",style:{width:"".concat(w,"%")}}),n.lessons.map((t,e)=>t.isFree?(0,r.jsx)("span",{className:"tw:absolute tw:top-1/2 tw:-translate-y-1/2 tw:-translate-x-1/2 tw:h-3 tw:w-1.5 tw:rounded-sm tw:bg-foreground",style:{left:"".concat((e+.5)/d*w,"%")}},t.id):null)]})}),(0,r.jsx)("ul",{id:m,hidden:!i,className:"tw:m-0 tw:p-0 tw:list-none tw:border-t tw:border-border",children:n.lessons.map(t=>(0,r.jsxs)("li",{className:"tw:flex tw:items-center tw:gap-3 tw:px-4 tw:py-2.5 tw:pl-[3.75rem] tw:text-sm",children:[(0,r.jsx)("span",{className:"tw:w-6 tw:shrink-0 tw:text-xs tw:text-muted-foreground tw:tabular-nums",children:t.ordinalNumber}),(0,r.jsx)("span",{className:"tw:flex-1 tw:min-w-0 tw:text-foreground",children:t.title}),t.durationInSeconds?(0,r.jsx)("span",{className:"tw:shrink-0 tw:text-xs tw:text-muted-foreground tw:tabular-nums",children:(0,K._)(t.durationInSeconds)}):null,t.isFree&&(0,r.jsxs)(l.default,{href:te(t),onClick:()=>u(t),"aria-label":"Watch free lesson: ".concat(t.title),className:"tw:shrink-0 tw:inline-flex tw:items-center tw:gap-1.5 tw:min-h-11 tw:px-3 tw:rounded-full tw:bg-foreground tw:text-black tw:text-xs tw:font-bold tw:hover:bg-white tw:transition-colors tw:outline-none tw:focus-visible:ring-[3px] tw:focus-visible:ring-ring/50",children:[(0,r.jsx)(M.N,{icon:F.o1U,size:14,strokeWidth:2}),"Watch free"]})]},t.id))})]})}let ts=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return"/course-tags/".concat(t,"/courses?limit=").concat(e,"&offset=").concat(n)};function to(t){if(!t||"object"!=typeof t||"number"!=typeof t.id||"string"!=typeof t.title||"string"!=typeof t.urlPart)return null;let e=t.module,n=e&&"object"==typeof e&&"string"==typeof e.title?{id:Number(e.id),title:e.title}:null;return{id:t.id,title:t.title,urlPart:t.urlPart,ordinalNumber:"number"==typeof t.ordinalNumber?t.ordinalNumber:0,durationInSeconds:"number"==typeof t.durationInSeconds?t.durationInSeconds:void 0,isDirectLinkPreviewLesson:!0===t.isDirectLinkPreviewLesson,isPreviewLesson:!0===t.isPreviewLesson,module:n}}let tl="".concat("https://api.wearecrossfader.co.uk/api","/").concat("v1"),ti=async function(t){var e,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3600,s=await fetch(t,{next:{revalidate:r}});if(404===s.status)return null;if(!s.ok)throw Error("API ".concat(s.status," fetching ").concat(t));let o=await s.json();return null!==(n=null!==(e=null==o?void 0:o.data)&&void 0!==e?e:o)&&void 0!==n?n:null};(0,s.cache)(t=>ti("".concat(tl,"/courses/").concat(encodeURIComponent(t)))),(0,s.cache)(t=>ti("".concat(tl,"/bundles/").concat(encodeURIComponent(t)))),(0,s.cache)(t=>ti("".concat(tl,"/lessons/").concat(encodeURIComponent(t),"/preview-page"))),(0,s.cache)(async t=>{let e=[],n=0,r=1/0;for(;n<r;){var s,o;let l="".concat(tl,"/courses/").concat(encodeURIComponent(t),"/lessons?limit=").concat(100,"&offset=").concat(n),i=await fetch(l,{next:{revalidate:3600}});if(404===i.status)break;if(!i.ok)throw Error("API ".concat(i.status," fetching ").concat(l));let a=await i.json(),c=Array.isArray(null==a?void 0:a.data)?a.data:[];if(r=null!==(o=null==a?void 0:null===(s=a.pagination)||void 0===s?void 0:s.totalCount)&&void 0!==o?o:c.length,e.push(...Array.isArray(c)?c.map(to).filter(t=>null!==t):[]),0===c.length)break;n+=c.length}return e});let ta=(t,e)=>(Array.isArray(t)?t:[]).find(t=>(null==t?void 0:t.urlPart)===e&&(null==t?void 0:t.courseThumbnailImage)),tc=async(t,e)=>{let n=0;for(;;){let r=await ti("".concat(tl).concat(ts(t,50,n))),s=ta(r,e);if(s)return s.courseThumbnailImage;if(!Array.isArray(r)||r.length<50)return null;n+=50}};(0,s.cache)(async t=>{var e;let n=ta(await ti("".concat(tl).concat("/courses/best-selling-courses")),t);
1if(n)return n.courseThumbnailImage;let r=await ti("".concat(tl).concat("/course-tags"));return null!==(e=(await Promise.all((Array.isArray(r)?r:[]).map(e=>tc(e.id,t)))).find(Boolean))&&void 0!==e?e:null}),(0,s.cache)(t=>ti("".concat(tl,"/lessons/").concat(encodeURIComponent(t),"/preview-page"),60));let tu=(t,e)=>"".concat("https://wearecrossfader.co.uk","/images/").concat(t,"/").concat(encodeURIComponent(e));function td(t){let{lessons:e,courseUrlPart:n}=t,s=e.filter(t=>t.isFree);return 0===s.length?null:(0,r.jsx)("div",{className:"tw:grid tw:grid-cols-1 tw:sm:grid-cols-2 tw:lg:grid-cols-3 tw:gap-3",children:s.map(t=>(0,r.jsxs)(l.default,{href:"/app/lessons-preview/".concat(t.urlPart),onClick:()=>(0,v.oF)("course_page_free_lesson_click",t.urlPart,{course:n}),className:"tw:group tw:relative tw:block tw:rounded-xl tw:overflow-hidden tw:border tw:border-border tw:bg-card tw:outline-none tw:focus-visible:ring-[3px] tw:focus-visible:ring-ring/50",children:[(0,r.jsxs)("div",{className:"tw:relative tw:aspect-video tw:bg-background",children:[(0,r.jsx)("img",{src:tu("lesson",t.urlPart),alt:"",loading:"lazy",className:"tw:absolute tw:inset-0 tw:w-full tw:h-full tw:object-cover tw:opacity-80 tw:group-hover:opacity-100 tw:transition-opacity"}),(0,r.jsx)("span",{className:"tw:absolute tw:inset-0 tw:flex tw:items-center tw:justify-center",children:(0,r.jsx)("span",{className:"tw:inline-flex tw:items-center tw:justify-center tw:h-12 tw:w-12 tw:rounded-full tw:bg-foreground tw:text-black",children:(0,r.jsx)(M.N,{icon:F.o1U,size:20,strokeWidth:2})})})]}),(0,r.jsxs)("div",{className:"tw:p-4 tw:flex tw:flex-col tw:gap-1",children:[(0,r.jsxs)("span",{className:"tw:text-xs tw:uppercase tw:tracking-[0.12em] tw:text-muted-foreground",children:["Free lesson",t.durationInSeconds?" \xb7 ".concat((0,K._)(t.durationInSeconds)):""]}),(0,r.jsx)("span",{className:"tw:font-bold tw:text-foreground tw:leading-snug",children:t.title})]})]},t.id))})}let tw=[{id:"music-pack",logo:"/assets/img/logo-white.svg",partner:"Crossfader Music Pack",value:"165+ tracks",detail:"Curated to avoid copyright flags, so they are safe for live streams and social posts.",icon:F.sS0},{id:"tools-pack",logo:"/assets/img/logo-white.svg",partner:"Crossfader DJ Tools Pack",value:"Sample pack",detail:"Air horns, sub drops and sweeps, ready to drop into your software sampler.",icon:F.$Cl},{id:"beatport",invertLogo:!0,logo:"/assets/img/sponsor/logo-beatport.png",partner:"Beatport",value:"2 months free",detail:"Millions of tracks across dance, electronic, chart, hip hop and open format.",icon:F.VWR,qualifier:"New Beatport customers only."},{id:"serato-dj-pro",invertLogo:!0,logo:"/assets/img/sponsor/logo-serato.png",partner:"Serato DJ Pro + Expansions",value:"2 months free",detail:"Serato DJ Pro with the expansion packs, compatible with a wide range of DJ hardware.",icon:F.o1U,qualifier:"New Serato customers only."},{id:"serato-studio",invertLogo:!0,logo:"/assets/img/sponsor/logo-serato.png",partner:"Serato Studio",value:"2 months free",detail:"A DAW built for DJs: mashups, remixes and beats without the learning curve.",icon:F.sS0,qualifier:"New Serato customers only."},{id:"pirate",logo:"/assets/img/rewards/pirate-logo.png",partner:"Pirate Studios",value:"Practice on CDJs",detail
1:"Book time on Pioneer DJ flagship gear at Pirate Studios in the UK, US and Europe.",icon:F.$Cl},{id:"decksaver",partner:"Decksaver",value:"15% off",detail:"Protective covers for your controller or decks.",icon:F.paZ},{id:"lexicon",logo:"/assets/img/rewards/logo-lexicon.png",partner:"Lexicon DJ",value:"20% off first month",detail:"Organise, tag and prepare your music library.",icon:F.FYB}],tf=[{icon:F.Iqe,text:"Lifetime access, watch every lesson as many times as you need"},{icon:F.CjO,text:"Offline viewing in the mobile app"},{icon:F.WiZ,text:"A comment section on every lesson that reaches the tutor directly"},{icon:F.Pkd,text:"Partner discounts and free trials, listed below"}];function tm(){let t=tw.filter(t=>t.qualifier);return(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-6",children:[(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-2",children:[(0,r.jsx)("span",{className:"tw:text-[11px] tw:font-bold tw:uppercase tw:tracking-[0.18em] tw:text-muted-foreground",children:"Included"}),(0,r.jsx)("h2",{className:"tw:m-0! tw:text-2xl! tw:font-bold tw:text-foreground",children:"Included with every Crossfader course"})]}),(0,r.jsx)("ul",{className:"tw:m-0 tw:p-0 tw:list-none tw:grid tw:grid-cols-1 tw:sm:grid-cols-2 tw:gap-x-6 tw:gap-y-3",children:tf.map(t=>(0,r.jsxs)("li",{className:"tw:flex tw:items-start tw:gap-3 tw:text-sm tw:text-foreground",children:[(0,r.jsx)(M.N,{icon:t.icon,size:18,strokeWidth:1.5,className:"tw:shrink-0 tw:mt-[2px] tw:text-primary"}),(0,r.jsx)("span",{children:t.text})]},t.text))}),(0,r.jsx)("ul",{className:"tw:m-0 tw:p-0 tw:list-none tw:grid tw:grid-cols-1 tw:sm:grid-cols-2 tw:lg:grid-cols-3 tw:gap-3",children:tw.map((e,n)=>{let s=e.qualifier?t.indexOf(e)+1:0;return(0,r.jsxs)("li",{className:"tw:rounded-xl tw:border tw:border-border tw:bg-card tw:p-5 tw:flex tw:flex-col tw:gap-3 tw:transition-colors tw:hover:border-primary/40",children:[(0,r.jsxs)("div",{className:"tw:flex tw:items-center tw:gap-3",children:[(0,r.jsx)("span",{className:"tw:inline-flex tw:h-6 tw:min-w-6 tw:max-w-[112px] tw:shrink-0 tw:items-center",children:e.logo?(0,r.jsx)(R.default,{src:e.logo,alt:"",width:160,height:40,className:"tw:h-5 tw:w-auto tw:max-w-full tw:object-contain tw:object-left".concat(e.invertLogo?" tw:brightness-0 tw:invert":"")}):(0,r.jsx)(M.N,{icon:e.icon,size:20,strokeWidth:1.5,className:"tw:text-foreground"})}),(0,r.jsx)("span",{className:"tw:text-xs tw:uppercase tw:tracking-[0.12em] tw:text-muted-foreground tw:truncate",children:e.partner})]}),(0,r.jsxs)("p",{className:"tw:m-0! tw:text-lg! tw:font-bold tw:text-foreground tw:leading-tight",children:[e.value,s>0&&(0,r.jsx)("sup",{className:"tw:ml-0.5 tw:text-muted-foreground",children:"*".repeat(s)})]}),(0,r.jsx)("p",{className:"tw:m-0! tw:text-sm! tw:text-muted-foreground tw:leading-relaxed",children:e.detail}),(0,r.jsxs)("span",{className:"tw:sr-only",children:["Perk ",n+1," of ",tw.length]})]},e.id)})}),t.length>0&&(0,r.jsx)("ul",{className:"tw:m-0 tw:p-0 tw:list-none tw:flex tw:flex-col tw:gap-1",children:t.map((t,e)=>(0,r.jsxs)("li",{className:"tw:text-xs tw:text-muted-foreground",children:["*".repeat(e+1)," ",t.qualifier]},t.id))})]})}var tx=n(40339);function tp(t){let{title:e,priceLabel:n,watchId:o="course-pricing",hideNearId:l="course-final-cta",courseUrlPart:i}=t,[a,c]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let t=()=>{let t=document.getElementById(o),e=document.getElementById(l),n=t?t.getBoundingClientRect().bottom<0:window.scrollY>600,r=!!e&&e.getBoundingClientRect().top<window.innerHeight;c(n&&!r)};return window.addEventListener("scroll",t,{passive:!0}),t(),()=>window.removeEventListener("scroll",t)},[o,l]),(0,tx.H)("has-sticky-cta",a),(0,r.jsx)("div",{"aria-hidden":!a,"data-sticky-offer":"true",className:"tw:fixed tw:bottom-0 tw:left-0 tw:right-0 tw:z-50 tw:transition-transform tw:duration-300 tw:motion-reduce:transition-none ".concat(a?"tw:translate-y-0":"tw:translate-y-full"),children:(0,r.jsx)("div",{className:"tw:bg-success tw:border-t tw:border-black/20 tw:px-4 tw:pt-3 tw:pb-[calc(0.75rem_+_env(safe-area-inset-bottom))] tw:shadow-lg",children:(0,r.jsxs)("div",{className:"tw:max-w-6xl tw:mx-auto tw:flex tw:items-center tw:justify-between tw:gap-4",children:[(0,r.jsxs)("div",{className:"tw:min-w-0",children:[(0,r.jsx)("p",{className:"tw:text-black tw:text-sm! tw:font-bold tw:m-0! tw:truncate",children:e}),(0,r.jsx)("p",{className:"tw:text-black/75 tw:text-xs! tw:font-medium tw:m-0! tw:tabular-nums",children:n})]}),(0,r.jsx)(T.z,{variant:"default",onClick:()=>{(0,v.oF)("course_page_sticky_cta_click",i),(0,S.X)(o)},className:"tw:shrink-0 tw:bg-black tw:text-white tw:hover:bg-black/85",tabIndex:a?0:-1,children:"Buy course"})]})})})}function th(t){let{eyebrow:e,heading:n,lede:s,narrow:o,children:l,id:i}=t;return(0,r.jsxs)("section",{id:i,className:"tw:flex tw:flex-col tw:gap-6 tw:border-t tw:border-border/60 tw:pt-8 tw:scroll-mt-24",children:[(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-2",children:[(0,r.jsx)("span",{className:"tw:text-[11px] tw:font-bold tw:uppercase tw:tracking-[0.18em] tw:text-muted-foreground",children:e}),(0,r.jsx)("h2",{className:"tw:m-0! tw:text-2xl! tw:font-bold tw:text-foreground",children:n}),s&&(0,r.jsx)("p",{className:"tw:m-0! tw:text-sm! tw:text-muted-foreground tw:tabular-nums",children:s})]}),(0,r.jsx)("div",{className:o?"tw:max-w-[68ch]":void 0,children:l})]})}function tg(t){let{children:e,label:n,className:o}
1=t,l=(0,s.useRef)(null),[i,a]=(0,s.useState)(!1),[c,u]=(0,s.useState)(!1);(0,s.useEffect)(()=>{let t=l.current;if(!t)return;let e=()=>a(t.scrollHeight>344);e();let n=new ResizeObserver(e);return n.observe(t),()=>n.disconnect()},[]);let d=i&&!c;return(0,r.jsxs)("div",{className:o,children:[(0,r.jsxs)("div",{ref:l,id:"collapsible-".concat(n.replace(/\s+/g,"-").toLowerCase()),className:d?"tw:relative tw:overflow-hidden":void 0,style:d?{maxHeight:320}:void 0,children:[e,d&&(0,r.jsx)("div",{"aria-hidden":!0,className:"tw:pointer-events-none tw:absolute tw:inset-x-0 tw:bottom-0 tw:h-24 tw:bg-gradient-to-t tw:from-background tw:to-transparent"})]}),i&&(0,r.jsxs)("button",{type:"button",onClick:()=>u(t=>!t),"aria-expanded":c,"aria-controls":"collapsible-".concat(n.replace(/\s+/g,"-").toLowerCase()),className:"tw:mt-3 tw:min-h-11 tw:text-sm tw:font-bold tw:text-foreground tw:underline tw:underline-offset-4 tw:hover:text-primary tw:rounded tw:outline-none tw:focus-visible:ring-[3px] tw:focus-visible:ring-ring/50",children:[c?"Show less":"Read more",(0,r.jsxs)("span",{className:"tw:sr-only",children:[" about ",n]})]})]})}function tv(t){return t.replace(/<(\/?)h1(\s|>)/gi,"<$1h3$2").replace(/<(\/?)h2(\s|>)/gi,"<$1h4$2")}var tb=n(57098),tj=n(78087);let ty=t=>{var e;return{id:t.id,title:t.title,urlPart:t.urlPart,ordinalNumber:t.ordinalNumber,durationInSeconds:null!==(e=t.durationInSeconds)&&void 0!==e?e:null,isFree:!0===t.isDirectLinkPreviewLesson}},tN=/^[\s\-–—._*]*$/;function t_(t){if(!t||"object"!=typeof t)return!1;let e="string"==typeof t.author?t.author.trim():"",n="string"==typeof t.feedback?t.feedback.trim():"";return!(!e||tN.test(e)||n.length<8||tN.test(n))}let tS="course-curriculum",tE="30-day money-back guarantee on one-time purchases",tC=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;return(t||"").replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim().length>=e};function tR(t){var e,n,o,l;let{course:i,lessons:a,recommendedByCourse:c}=t,u=(0,s.useMemo)(()=>(function(t){let e=(0,tj.t)(t.map(t=>{var e,n;return{moduleTitle:null!==(n=null===(e=t.module)||void 0===e?void 0:e.title)&&void 0!==n?n:null,lesson:ty(t)}})).map(t=>{let e=t.items.map(t=>t.lesson);return{title:t.moduleTitle,lessons:e,freeCount:e.filter(t=>t.isFree).length}}),n=e.flatMap(t=>t.lessons);return{modules:e,lessonCount:n.length,freeLessons:n.filter(t=>t.isFree),maxModuleSize:e.reduce((t,e)=>Math.max(t,e.lessons.length),0)}})(a),[a]),d=(0,s.useMemo)(()=>(function(t,e){var n,r,s;let o=null!==(n=t.overallRating)&&void 0!==n?n:0,l=null!==(r=t.numberOfReviews)&&void 0!==r?r:0,i=o>0&&l>0,a=null!==(s=t.courseLengthInHours)&&void 0!==s?s:0;return{rating:i?o:null,reviews:i?l:null,lessonCount:e>0?e:null,hours:a>0?a:null,students:"50,000+"}})(i,u.lessonCount),[null==i?void 0:i.id,u.lessonCount]),w=i.prices[Y.S],f=(0,Z.aS)(i),m=(0,A.Z)(w.currency,f),x=u.modules.length>0,p=(0,r.jsx)(W,{lessons:u.lessonCount||i.lessonsCount,duration:i.courseLengthInHours,oldPrice:w.price,newPrice:f,savings:w.price>f?(w.price-f).toFixed(2):void 0,currency:w.currency,course:i,offerPercentage:null===(e=(0,Z.pG)(i))||void 0===e?void 0:e.percentage,guaranteeNote:tE,variant:"strip",secondaryCta:x?{label:"See what you'll learn",targetId:tS,onClick:()=>(0,v.oF)("course_page_curriculum_cta_click",i.urlPart,{placement:"hero_cta"})}:void 0}),h=Array.isArray(l=i.studentsSays)?l.filter(t_):[],g=i.tutor;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.Z,{title:(null==i?void 0:i.title)||"Online DJ Courses",description:(null==i?void 0:i.metaDescription)||""}),(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-14 tw:md:gap-20 tw:max-w-[1160px] tw:pb-24",children:[(0,r.jsx)(Q,{course:i,proof:d,pricing:p}),(0,r.jsx)(X,{proof:d}),u.freeLessons.length>0&&(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-3",children:[(0,r.jsx)("h2",{className:"tw:m-0! tw:text-base! tw:font-bold tw:text-foreground",children:"Watch a lesson free"}),(0,r.jsx)(td,{lessons:u.freeLessons,courseUrlPart:i.urlPart})]}),u.modules.length>0&&(0,r.jsx)(th,{id:tS,eyebrow:"Curriculum",heading:"What you will learn",lede:(0,r.jsxs)(r.Fragment,{children:[u.modules.length," ",1===u.modules.length?"module":"modules",","," ",u.lessonCount," lessons",d.hours?", ".concat(d.hours," hours"):"",u.freeLessons.length>0?", ".concat(u.freeLessons.length," free to watch now"):""]}),children:(0,r.jsx)(tn,{curriculum:u,courseUrlPart:i.urlPart})}),h.length>0&&(0,r.jsx)(th,{eyebrow:"Reviews",heading:"What students say about this course",children:(0,r.jsx)(k,{reviews:h})}),tC(i.overview)&&(0,r.jsx)(th,{eyebrow:"Overview",heading:"About this course",narrow:!0,children:(0,r.jsx)(tg,{label:"this course",children:(0,r.jsx)("div",{className:"custom-course-content",children:(0,N.ZP)(tv((0,S.f)(i.overview)))})})}),(0,r.jsx)("section",{className:"tw:border-t tw:border-border/60 tw:pt-8",children:(0,r.jsx)(tm,{})}),(0,r.jsx)("div",{className:"tw:border-t tw:border-border/60 tw:pt-8",children:(0,r.jsx)(tb.default,{eyebrow:"Community",title:"Hear it straight from our DJs"})}),(tC(i.equipment)||(null==g?void 0:g.name))&&(0,r.jsxs)("section",{className:"tw:border-t tw:border-border/60 tw:pt-8 tw:flex tw:flex-col tw:gap-6",children:[(0,r.jsx)("span",{className:"tw:text-[11px] tw:font-bold tw:uppercase tw:tracking-[0.18em] tw:text-muted-foreground",children:"Before you start"}),(0,r.jsxs)("div",{className:"tw:grid tw:grid-cols-1 tw:md:grid-cols-2 tw:gap-8",children:[tC(i.equipment)&&(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-4",children:[(0,r.jsx)("h2",{className:"tw:m-0! tw:text-2xl! tw:font-bold tw:text-foreground",children:"What you need"}),(0,r.jsx)(tg,{label:"what you need",children:(0,r.jsx)("div",{className:"custom-course-content",children:(0,N.ZP)(tv((0,S.f)(i.equipment)))})})]}),(null==g?void 0:g.name)&&(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-4",children:[(0,r.jsx)("h2",{className:"tw:m-0! tw:text-2xl! tw:font-bold tw:text-foreground",children:"Your tutor"}),(0,r.jsxs)("div",{className:"tw:flex tw:items-center tw:gap-3",children:[(0,r.jsxs)(E.qE,{"aria-hidden":!0,
1className:"tw:size-[44px]",children:[(0,r.jsx)(E.F$,{src:null==g?void 0:null===(n=g.tutorImage)||void 0===n?void 0:n.link,alt:""}),(0,r.jsx)(E.Q5,{children:null!==(o=g.name[0])&&void 0!==o?o:""})]}),(0,r.jsx)("p",{className:"tw:m-0! tw:font-bold tw:text-foreground",children:g.name})]}),tC(g.about,1)&&(0,r.jsx)("p",{className:"tw:m-0! tw:text-sm! tw:text-muted-foreground tw:leading-relaxed",children:g.about})]})]})]}),(0,r.jsxs)("section",{id:"course-final-cta",className:"tw:rounded-2xl tw:border tw:border-border tw:bg-card tw:p-6 tw:md:p-10 tw:flex tw:flex-col tw:md:flex-row tw:md:items-center tw:justify-between tw:gap-6",children:[(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-2",children:[(0,r.jsxs)("h2",{className:"tw:m-0! tw:text-2xl! tw:font-bold tw:text-foreground",children:["Start ",i.title]}),(0,r.jsxs)("p",{className:"tw:m-0! tw:text-sm! tw:text-muted-foreground",children:[(0,r.jsx)("span",{className:"tw:text-foreground tw:font-bold tw:tabular-nums",children:m})," one-time."," ",tE,"."]})]}),(0,r.jsx)(T.z,{variant:"default",onClick:()=>(0,S.X)("course-pricing"),className:"tw:shrink-0",children:"Buy single course"})]}),(0,r.jsx)(H,{courses:c})]}),(0,r.jsx)(tp,{title:i.title,priceLabel:m,courseUrlPart:i.urlPart})]})}var tk=n(29710);function tO(t){var e;let{course:n}=t,s=(0,i.useRouter)(),o=(null==n?void 0:n.completedLessonsCount)&&(null==n?void 0:n.lessonsCount)?Math.floor(n.completedLessonsCount/n.lessonsCount*100):0,l=(null==n?void 0:n.lastViewedLesson)||(null==n?void 0:n.firstLesson),a=((null==n?void 0:n.lastViewedLesson)||(null==n?void 0:n.completedLessonsCount)>0)&&l?"Continue: ".concat(l.ordinalNumber,". ").concat(l.title):"Start course";return(0,r.jsxs)("section",{className:"tw:flex tw:flex-col tw:gap-4",children:[(0,r.jsx)("p",{className:"tw:m-0! tw:text-xs! tw:uppercase tw:tracking-[0.2em] tw:text-muted-foreground",children:"Your course"}),(0,r.jsx)("h1",{className:"tw:m-0! tw:text-[32px]! tw:md:text-[40px]! tw:font-black tw:leading-[1.05] tw:tracking-tight tw:text-foreground",children:n.title}),(null==n?void 0:n.lessonsCount)?(0,r.jsxs)("p",{className:"tw:m-0! tw:text-sm! tw:text-muted-foreground tw:tabular-nums",children:[null!==(e=n.completedLessonsCount)&&void 0!==e?e:0," of ",n.lessonsCount," lessons done",n.courseLengthInHours?" \xb7 ".concat(n.courseLengthInHours," hours"):""]}):null,(0,r.jsxs)("div",{className:"tw:flex tw:items-center tw:gap-3 tw:max-w-md",children:[(0,r.jsx)(tk.v,{percent:o,className:"tw:flex-1",ariaLabel:"Course progress"}),(0,r.jsxs)("span",{className:"tw:text-xs tw:text-muted-foreground tw:tabular-nums",children:[o,"%"]})]}),(null==l?void 0:l.urlPart)&&(0,r.jsx)(T.z,{onClick:()=>s.push("/app/lessons/".concat(l.urlPart)),className:"tw:w-fit tw:h-auto tw:whitespace-normal tw:py-2.5 tw:leading-snug",children:a})]})}function tI(t){let{course:e,recommendedByCourse:n}=t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.Z,{title:(null==e?void 0:e.title)||"Online DJ Courses",description:(null==e?void 0:e.metaDescription)||""}),(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-10 tw:max-w-[1160px]",children:[(0,r.jsx)(tO,{course:e}),(0,r.jsx)("section",{className:"tw:rounded-xl tw:border tw:border-border tw:bg-card tw:p-4 tw:md:p-6",children:(0,r.jsx)(I.Z,{courseId:e.urlPart,course:e})}),(0,r.jsx)(H,{courses:n})]})]})}var tU=(0,o.$j)(t=>{let{Courses:e,Subscription:n}=t;return{courses:e,subscription:n}},{getCourseWithSummary:c.Ro,clearCourseFetched:c.R_,getListSubscriptions:u.rl,getListLessonsClear:d.AD,getRecommendedCourses:c.QQ})(t=>{var e,n;let{courses:o,getCourseWithSummary:c,clearCourseFetched:u,history:d,getListSubscriptions:b,getRecommendedCourses:j,getListLessonsClear:y,initialCourse:N,initialLessons:_=[]}=t,{item:S,recommendedByCourse:E}=o,C=S||N,R=p.default.user.value,k=p.default.session.value,O=!R||!k.accessToken,{courseId:I}=(0,i.useParams)(),[U,L]=(0,s.useState)(!1);(0,s.useEffect)(()=>{L(!O)},[O]);let[T,P]=(0,s.useState)(!1);(0,s.useEffect)(()=>{P(!0)},[]);let A=(0,a.useGateValue)(m.XW),D=!x.H||T&&A,{setHasNavbar:M,setSuppressAppHeader:F,setPreviousPathname:G,setNavigationPath:z,resetGlobalState:B}=(0,h.b)();(0,s.useEffect)(()=>(c({courseId:I,redirectUpon404:!0,history:d}),j({courseId:I}),O||b(),()=>{u(),y()}),[O]);
1let[W,H]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if(!U||S)return;let t=setTimeout(()=>H(!0),4e3);return()=>clearTimeout(t)},[U,S]);let Y=(n={hasPrices:!!(null==C?void 0:null===(e=C.prices)||void 0===e?void 0:e.length),useRedesign:D,hasSession:U,summaryLoaded:!!S,ownershipTimedOut:W,isBought:!!(null==C?void 0:C.isBought)}).hasPrices?n.useRedesign?!n.hasSession||n.summaryLoaded||n.ownershipTimedOut?n.isBought?"owner":"sales":"skeleton":"legacy":"skeleton",Z="sales"!==Y;return((0,s.useEffect)(()=>{C&&(0,w.eY)(f.I6,C),B(),G("/app/courses"),z((0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{className:"tw:text-muted-foreground!",href:"/app/courses/",children:"All courses"}),(0,r.jsx)("span",{className:"tw:text-muted-foreground",children:"/"}),(0,r.jsx)("span",{className:"tw:font-bold",children:null==C?void 0:C.title})]}))},[null==C?void 0:C.id]),(0,s.useEffect)(()=>{M(Z),F(!Z)},[null==C?void 0:C.id,Z]),(0,s.useEffect)(()=>{T&&(null==C?void 0:C.urlPart)&&(0,v.oF)("course_page_view",C.urlPart,{variant:D?"redesign":"legacy"})},[null==C?void 0:C.urlPart,T]),"skeleton"===Y)?(0,r.jsx)(g.PageSkeleton,{}):"legacy"===Y?(0,r.jsx)(J,{course:C,recommendedByCourse:E}):"owner"===Y?(0,r.jsx)(tI,{course:C,recommendedByCourse:E}):(0,r.jsx)(tR,{course:C,lessons:_,recommendedByCourse:E})})},99738:function(t,e,n){"use strict";n.d(e,{y:function(){return i}});var r=n(57437),s=n(79820),o=n(76738);function l(t){let{showLabel:e=!0,percentage:n,size:s=100,strokeWidth:o=10}=t,l=(s-o)/2,i=2*l*Math.PI;return(0,r.jsxs)("div",{className:"tw:relative tw:flex tw:items-center tw:gap-2",children:[e&&(0,r.jsx)("span",{className:"tw:text-muted-foreground tw:text-xs",children:"Progress:"}),(0,r.jsxs)("svg",{width:s,height:s,className:"tw:rotate-[-90deg]",children:[(0,r.jsx)("circle",{cx:s/2,cy:s/2,r:l,fill:"transparent",stroke:"#262626",strokeWidth:o}),(0,r.jsx)("circle",{cx:s/2,cy:s/2,r:l,fill:"transparent",stroke:"#22c55e",strokeWidth:o,strokeDasharray:i,strokeDashoffset:i-n/100*i,strokeLinecap:"round",className:"tw:transition-all tw:duration-500"})]}),(0,r.jsxs)("span",{className:"tw:text-white tw:text-xs tw:font-medium",children:[n,"%"]})]})}function i(t){let{title:e,subtitle:n,overallRating:i,numberOfReviews:a,progress:c,actions:u=null}=t;return(0,r.jsx)(s.Ol,{className:"tw:px-5 tw:md:px-6 tw:gap-0",children:(0,r.jsxs)("div",{className:"tw:flex tw:flex-col-reverse tw:md:flex-row tw:items-start tw:justify-between tw:gap-4",children:[(0,r.jsxs)("div",{className:"tw:flex-1",children:[(0,r.jsx)(s.ll,{as:"h1",className:"tw:text-2xl tw:text-white",children:e}),n&&(0,r.jsx)(s.SZ,{className:"tw:mt-2 tw:text-slate-300",children:n}),i?(0,r.jsx)("div",{className:"tw:flex tw:items-center tw:gap-3 tw:mt-4",children:(0,r.jsx)(o.i,{overallRating:i,numberOfReviews:a})}):null]}),c?(0,r.jsx)("div",{className:"tw:flex tw:flex-col tw:items-end tw:gap-2",children:(0,r.jsx)(l,{percentage:c,size:24,strokeWidth:5})}):null,u]})})}n(2265)},75462:function(t,e,n){"use strict";n.d(e,{default:function(){return l}});var r=n(57437),s=n(33276),o=n(93448);function l(t){let{scrollToId:e,label:n="Watch overview"}=t;return(0,r.jsxs)("button",{type:"button",onClick:()=>(0,o.X)(e),"aria-label":n,className:"tw:absolute tw:bottom-3 tw:right-3 tw:z-10 tw:inline-flex tw:items-center tw:gap-2 tw:rounded-full tw:bg-black/70 tw:py-1.5 tw:pl-1.5 tw:pr-3.5 tw:text-white tw:text-xs! tw:font-semibold tw:transition tw:hover:bg-black/85 tw:cursor-pointer",children:[(0,r.jsx)("span",{className:"tw:flex tw:items-center tw:justify-center tw:h-8 tw:w-8 tw:rounded-full tw:text-black",style:{backgroundColor:"#FE6809"},"aria-hidden":"true",children:(0,r.jsx)(s.Z,{className:"tw:h-4 tw:w-4 tw:fill-current tw:ml-0.5"})}),n]})}},14285:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(57437),s=n(33145);n(2265);var o=n(75462);function l(t){let{eyebrow:e,title:n,subtitle:l,priceAnchor:i,actions:a,media:c,socialProof:u,socialProofMobile:d,image:w,imageGrid:f,imageAlt:m,imageBadge:x,videoScrollToId:p,headingId:h="hero-heading",mobileLayout:g="default"}=t,v="mediaAfterTitle"===g,b=v?"tw:py-6 tw:md:py-20":"tw:py-14 tw:md:py-20",j=v?"tw:aspect-video tw:lg:aspect-auto tw:lg:h-[500px] tw:my-4 tw:lg:my-0 tw:order-4":"tw:h-[320px] tw:md:h-[460px] tw:lg:h-[500px]";return(0,r.jsxs)("section",{"aria-labelledby":h,className:"tw:bg-black tw:text-white tw:relative tw:overflow-hidden",children:[(0,r.jsx)("div",{"aria-hidden":"true",className:"tw:absolute tw:top-0 tw:right-0 tw:w-[600px] tw:h-[400px] tw:bg-orange-600/10 tw:blur-[140px] tw:rounded-full tw:pointer-events-none"}),(0,r.jsxs)("div",{className:"tw:max-w-7xl tw:mx-auto tw:px-6 ".concat(b," tw:relative tw:z-10 tw:grid tw:grid-cols-1 tw:lg:grid-cols-2 ").concat(v?"tw:gap-0 tw:lg:gap-14":"tw:gap-10 tw:lg:gap-14"," tw:items-center"),children:[(0,r.jsxs)("div",{className:v?"tw:contents tw:lg:flex tw:lg:flex-col tw:lg:items-start tw:lg:text-left":"tw:text-center tw:lg:text-left tw:flex tw:flex-col tw:items-center tw:lg:items-start",children:[e&&(0,r.jsx)("p",{className:"tw:text-[#FE6809] tw:font-mono! tw:text-xs! tw:tracking-[0.2em] tw:uppercase tw:mb-4 ".concat(v?"tw:order-1 tw:text-center tw:lg:text-left":""),children:e}),(0,r.jsx)("h1",{id:h,className:v?"tw:text-[28px]! tw:md:text-[56px]! tw:font-bold tw:tracking-tight tw:leading-[1.04] tw:mb-3 tw:lg:mb-5 tw:order-2 tw:text-center tw:lg:text-left":"tw:text-[34px]! tw:md:text-[56px]! tw:font-bold tw:tracking-tight tw:leading-[1.04] tw:mb-5",children:n}),v&&d&&(0,r.jsx)("div",{className:"tw:order-3 tw:mb-3 tw:lg:hidden",children:d}),l&&(0,r.jsx)("p",{className:"tw:text-muted-subtitle tw:md:text-[17px]! tw:max-w-xl tw:mb-6 tw:leading-relaxed ".concat(v?"tw:order-5 tw:hidden tw:lg:block":""),children:l}),i&&(0,r.jsx)("div",{className:"tw:mb-6 tw:w-full tw:flex tw:flex-col tw:items-center tw:lg:items-start ".concat(v?"tw:order-6":""),children:i}),a&&(0,r.jsx)("div",{className:"tw:flex tw:flex-col tw:sm:flex-row tw:gap-3 tw:w-full tw:sm:w-auto ".concat(v?"tw:order-7":""),children:a}),u&&(0,r.jsx)("div",{className:"tw:mt-6 ".concat(v?"tw:order-8 tw:hidden tw:lg:block":""),children:u})]}),(0,r.jsxs)("div",{className:"tw:relative ".concat(j," tw:rounded-2xl tw:overflow-hidden tw:ring-1 tw:ring-white/10"),children:[c?(0,r.jsx)("div",{className:"tw:absolute tw:inset-0 tw:flex tw:items-center tw:justify-center tw:bg-black",children:c}):f&&f.length>0?(0,r.jsx)("div",{className:"tw:absolute tw:inset-0 tw:grid tw:grid-cols-3 tw:grid-rows-3 tw:gap-1",children:f.map((t,e)=>(0,r.jsx)("span",{className:"tw:relative tw:overflow-hidden tw:bg-zinc-900",children:(0,r.jsx)(s.default,{src:t,alt:"",fill:!0,priority:e<3,sizes:"(max-width: 1024px) 33vw, 17vw",className:"tw:object-cover"})},e))}):w&&(0,r.jsx)(s.default,{src:w,alt:m,fill:!0,priority:!0,sizes:"(max-width: 1024px) 100vw, 50vw",className:"tw:object-cover"}),!c&&(0,r.jsx)("span",{className:"tw:absolute tw:inset-0 tw:bg-gradient-to-t tw:from-black/40 tw:to-transparent tw:pointer-events-none"}),!c&&x&&(0,r.jsx)("span",{className:"tw:absolute tw:bottom-3 tw:left-3 tw:rounded-full tw:bg-black/70 tw:px-3 tw:py-1 tw:text-[10px] tw:font-mono! tw:uppercase tw:tracking-wider tw:text-white",children:x}),!c&&p&&(0,r.jsx)(o.default,{scrollToId:p})]})]})]})}},62295:function(t,e,n){"use strict";n.d(e,{f:function(){return s}});var r=n(2265);function s(){let t=(0,r.useRef)(null),[e,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=t.current;if(!e)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||"undefined"==typeof IntersectionObserver){n(!0);return}let r=new IntersectionObserver(t=>{let[e]=t;e.isIntersecting&&(n(!0),r.disconnect())},{threshold:.12});return r.observe(e),()=>r.disconnect()},[]),{ref:t,isVisible:e}}},57098:function(t,e,n){"use strict";n.d(e,{default:function(){return u}});var r=n(57437),s=n(2265),o=n(33276);let l=/^DJ \[Name \d+\]$/;function i(t){return!l.test(t.name)}let a=[{vimeoId:"1125498049",name:"@loreneastman",quote:"Crossfader is the most useful online platform for learning how to DJ. You take a quick quiz and it recommends courses based on your equipment, music, and experience level.",posterUrl:"https://i.vimeocdn.com/video/206
17659478-b9c4d561cd8a3689699fd6f3d7faa86ba35e0fe759ad598bc66c7a4669999004-d_640?region=us"},{vimeoId:"1045298004",name:"@licia_uk",quote:"Crossfader is an online learning platform for DJs where the lessons are bite-sized and super easy to follow. It completely solves the stress of figuring out how to get into DJing.",posterUrl:"https://i.vimeocdn.com/video/1968847526-b6ab4e8802b8e338e7e9372db58ea82213577bd044b8efaa64fffa1c9aafd0af-d_640?region=us"},{vimeoId:"982672901",name:"@emilydavidson.dj",quote:"I taught myself to DJ from my bedroom using Crossfader, and four years later I'm playing clubs like Ministry of Sound.",posterUrl:"https://i.vimeocdn.com/video/1898039982-ef483250695b3ab092194e7e1ad76b89d4455e00f77c1c8eeba15f5092a4f2ce-d_640?region=us"},{vimeoId:"982672860",name:"@repthereds",quote:"After endless YouTube videos, Crossfader's structured courses finally gave me the detailed, step-by-step DJ training I was missing.",posterUrl:"https://i.vimeocdn.com/video/1898039931-8844a58bd3f7e8b96b243c6669cfa12ef5d9de39e819dcb40b82991e5e850e79-d_640?region=us"},{vimeoId:"1125498113",name:"@musicbylukas",quote:"Crossfader asks you a few questions and builds a full step-by-step DJ course tailored to your music style and goals, even if you don't own a controller yet.",posterUrl:"https://i.vimeocdn.com/video/206
17673813-7496b95d5764ae6930d4e3010d9e2a7aee344fed0e6fe9a0b5c052cf71738fcf-d_640?region=us"},{vimeoId:"1125498313",name:"@tlvibes.music",quote:"Crossfader matches you with the perfect DJ course based on your music taste, experience, and setup. It's a genuine cheat code for learning to DJ.",posterUrl:"https://i.vimeocdn.com/video/2067659761-4274a7dd24198c94b4f38e4339fd7b6937ae6589de5ebf2e7e69acf541570b4a-d_640?region=us"},{vimeoId:"1125498187",name:"@djmerbear",quote:"Crossfader builds a whole DJ plan just for you based on your equipment and goals. It's the perfect way to start DJing.",posterUrl:"https://i.vimeocdn.com/video/2067659667-f78b6d0ff4184967b5301e06d2724d1ca57761ccb68cf2cffc3edd8b7290ce61-d_640?region=us"},{vimeoId:"1011972974",name:"@zoelondondj",quote:"Crossfader breaks DJing into small tutorials you can dip into anytime, covering every genre from bass house to hip hop. It's a literal hub for DJs.",posterUrl:"https://i.vimeocdn.com/video/1929642735-eec67fb8fc302103f46607e91e5173ba1645ef6fdc064ebf880df593d95b4470-d_640?region=us"},{vimeoId:"1125497759",name:"@derozamusic",quote:"When I started my DJ career, my go-to for tutorials was Crossfader. You take a quiz and it recommends courses built around your goals.",posterUrl:"https://i.vimeocdn.com/video/2161902870-2f6d8f00d5f994be39da03c91ab34142385b75fc029ef18a86278a5631a5c35b-d_640?region=us"},{vimeoId:"1051919575",name:"@nat_jiographic",quote:"Crossfader's free tutorials helped me so much throughout my journey from bedroom DJ to landing real gigs.",posterUrl:"https://i.vimeocdn.com/video/1976807647-d9b96a2945c80361dc43cf58a5f333aca105a9e0ccccf61b577067f636f260e9-d_640?region=us"}];function c(t){var e;let{reel:n,isActive:s,onPlay:l}=t;return s?(0,r.jsx)("div",{className:"tw:relative tw:aspect-[9/16] tw:rounded-xl tw:overflow-hidden tw:bg-zinc-900 tw:border tw:border-zinc-800",children:(0,r.jsx)("iframe",{src:"https://player.vimeo.com/video/".concat(n.vimeoId,"?autoplay=1&badge=0&autopause=0&player_id=0&app_id=58479"),className:"tw:absolute tw:inset-0 tw:w-full tw:h-full",frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share",referrerPolicy:"strict-origin-when-cross-origin",title:"Testimonial from ".concat(n.name)})}):(0,r.jsxs)("button",{type:"button",onClick:l,"aria-label":"Play testimonial from ".concat(n.name),className:"tw:group tw:relative tw:aspect-[9/16] tw:w-full tw:rounded-xl tw:overflow-hidden tw:bg-zinc-900 tw:border tw:border-zinc-800 tw:hover:border-[#FE6809] tw:transition-colors tw:cursor-pointer tw:focus-visible:outline-none tw:focus-visible:ring-2 tw:focus-visible:ring-[#FE6809]",children:[(0,r.jsx)("img",{src:null!==(e=n.posterUrl)&&void 0!==e?e:"https://vumbnail.com/".concat(n.vimeoId,".jpg"),alt:"",loading:"lazy",className:"tw:absolute tw:inset-0 tw:w-full tw:h-full tw:object-cover tw:transition-transform tw:duration-500 tw:group-hover:scale-105"}),(0,r.jsx)("div",{className:"tw:absolute tw:inset-0 tw:bg-gradient-to-t tw:from-black tw:via-black/30 tw:to-transparent"}),(0,r.jsx)("div",{className:"tw:absolute tw:inset-0 tw:flex tw:items-center tw:justify-center",children:(0,r.jsx)("div",{className:"tw:w-12 tw:h-12 tw:md:w-14 tw:md:h-14 tw:rounded-full tw:bg-white/95 tw:flex tw:items-center tw:justify-center tw:group-hover:scale-110 tw:transition-transform tw:shadow-2xl",children:(0,r.jsx)(o.Z,{className:"tw:w-5 tw:h-5 tw:md:w-6 tw:md:h-6 tw:text-black tw:fill-black tw:ml-0.5"})})}),(0,r.jsxs)("div",{className:"tw:absolute tw:bottom-0 tw:left-0 tw:right-0 tw:p-3 tw:md:p-4 tw:text-left",children:[(0,r.jsx)("div",{className:"tw:text-white tw:font-semibold tw:text-sm tw:leading-tight",children:n.name}),n.quote&&(0,r.jsxs)("div",{className:"tw:text-zinc-300 tw:text-xs tw:mt-1 tw:leading-snug tw:line-clamp-2",children:["“",n.quote,"”"]})]})]})}function u(){let{eyebrow:t="Real students, real stories",title:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[n,o]=(0,s.useState)(null),l=a.filter(i),u=l.length>0?l.reduce((t,e)=>{var n;return t+(null!==(n=e.rating)&&void 0!==n?n:5)},0)/l.length:null,d=l.length>0&&null!==u?{"@context":"https://schema.org","@id":"https://wearecrossfader.co.uk/#organization","@type":["Organization","EducationalOrganization"],name:"Crossfader",url:"https://wearecrossfader.co.uk",aggregateRating:{"@type":"AggregateRating",ratingValue:Number(u.toFixed(2)),reviewCount:l.length,bestRating:5,worstRating:1},review:l.map(t=>{var e;return{"@type":"Review",author:{"@type":"Person",name:t.name},reviewRating:{"@type":"Rating",ratingValue:null!==(e=t.rating)&&void 0!==e?e:5,bestRating:5,worstRating:1},...t.quote?{reviewBody:t.quote}:{}}})}:null;return(0,r.jsxs)("section",{className:"tw:bg-zinc-950 tw:text-white tw:py-20 tw:px-6",children:[d&&(0,r.jsx)("script",{id:"schema-testimonial-reviews",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(d)}}),(0,r.jsxs)("div",{className:"tw:max-w-6xl tw:mx-auto",children:[(0,r.jsxs)("div",{className:"tw:text-center tw:mb-12",children:[(0,r.jsx)("p",{className:"tw:text-[#FE6809] tw:font-mono! tw:text-xs! tw:tracking-[0.2em] tw:uppercase tw:mb-4",children:t}),(0,r.jsx)("h2",{className:"tw:text-[32px]! tw:md:text-[54px]! tw:font-bold tw:leading-[1]",children:null!=e?e:(0,r.jsxs)(r.Fragment,{children:["Hear it straight ",(0,r.jsx)("span",{className:"tw:text-[#FE6809]",children:"from our DJs."})]})})]}),(0,r.jsx)("div",{className:"tw:grid tw:grid-cols-2 tw:sm:grid-cols-3 tw:lg:grid-cols-5 tw:gap-3 tw:md:gap-4",children:a.map((t,e)=>(0,r.jsx)(c,{reel:t,isActive:n===e,onPlay:()=>o(e)},e))})]})]})}},96246:function(t,e,n){"use strict";n.d(e,{F$:function(){return i},Q5:function(){return a},qE:function(){return l}});var r=n(57437);n(2265);var s=n(61146),o=n(93448);function l(t){let{className:e,...n}=t;return(0,r.jsx)(s.fC,{"data-slot":"avatar",className:(0,o.cn)("tw:relative tw:flex tw:size-8 tw:shrink-0 tw:overflow-hidden tw:rounded-full",e),...n})}function i(t){let{className:e,...n}=t;return(0,r.jsx)(s.Ee,{"data-slot":"avatar-image",className:(0,o.cn)("tw:aspect-square tw:size-full",e),...n})}function a(t){let{className:e,...n}=t;return(0,r.jsx)(s.NY,{"data-slot":"avatar-fallback",className:(0,o.cn)("tw:bg-muted tw:flex tw:size-full tw:items-center tw:justify-center tw:rounded-full",e),...n})}},52919:function(t,e,n){"use strict";n.d(e,{PageSkeleton:function(){return l},W:function(){return o}});var r=n(57437);n(2265);var s=n(69140);function o(t){let{cards:e=3}=t;return(0,r.jsxs)("div",{className:"tw:w-full","aria-busy":"true",children:[(0,r.jsx)(s.O,{className:"tw:h-6 t
1w:w-48 tw:mb-2"}),(0,r.jsx)(s.O,{className:"tw:h-4 tw:w-72 tw:mb-6"}),(0,r.jsx)("div",{className:"tw:flex tw:flex-row tw:flex-wrap tw:gap-3",children:Array.from({length:e},(t,e)=>(0,r.jsxs)("div",{className:"tw:w-[260px] tw:max-w-full",children:[(0,r.jsx)(s.O,{className:"tw:h-[120px] tw:w-full tw:rounded-xl tw:mb-3"}),(0,r.jsx)(s.O,{className:"tw:h-4 tw:w-3/4 tw:mb-2"}),(0,r.jsx)(s.O,{className:"tw:h-3 tw:w-1/2"})]},e))})]})}function l(){return(0,r.jsxs)("div",{className:"tw:flex tw:flex-col tw:gap-6 tw:w-full tw:py-2","aria-busy":"true",children:[(0,r.jsx)(s.O,{className:"tw:h-8 tw:w-64"}),(0,r.jsx)(o,{})]})}},17168:function(t,e,n){"use strict";n.d(e,{SP:function(){return a},dr:function(){return i},mQ:function(){return l},nU:function(){return c}});var r=n(57437);n(2265);var s=n(20271),o=n(93448);function l(t){let{className:e,...n}=t;return(0,r.jsx)(s.fC,{"data-slot":"tabs",className:(0,o.cn)("tw:flex tw:flex-col tw:gap-2",e),...n})}function i(t){let{className:e,...n}=t;return(0,r.jsx)(s.aV,{"data-slot":"tabs-list",className:(0,o.cn)("tw:bg-transparent tw:text-muted-foreground tw:inline-flex tw:h-9 tw:w-fit tw:items-center tw:justify-center tw:rounded-lg tw:p-[3px]",e),...n})}function a(t){let{className:e,...n}=t;return(0,r.jsx)(s.xz,{"data-slot":"tabs-trigger",className:(0,o.cn)("tw:data-[state=active]:text-primary tw:focus-visible:ring-ring/50 tw:focus-visible:outline-ring tw:text-foreground tw:inline-flex tw:h-[calc(100%-1px)] tw:flex-1 tw:items-center tw:justify-center tw:gap-1.5 tw:rounded-md tw:px-2 tw:py-1 tw:text-sm tw:font-medium tw:whitespace-nowrap tw:transition-[color,box-shadow] tw:focus-visible:ring-[3px] tw:focus-visible:outline-1 tw:disabled:pointer-events-none tw:disabled:opacity-50 tw:data-[state=active]:shadow-sm tw:[&_svg]:pointer-events-none tw:[&_svg]:shrink-0 tw:[&_svg:not([class*=size-])]:size-4","tw:text-sm! tw:bg-transparent tw:border-b tw:data-[state=active]:border-b tw:data-[state=active]:border-primary",e),...n})}function c(t){let{className:e,...n}=t;return(0,r.jsx)(s.VY,{"data-slot":"tabs-content",className:(0,o.cn)("tw:flex-1 tw:outline-none",e),...n})}},93252:function(t,e,n){"use strict";n.d(e,{C:function(){return s},Dw:function(){return l},F4:function(){return d},PX:function(){return u},ST:function(){return r},_j:function(){return a},tO:function(){return i},u:function(){return o},z8:function(){return c}});let r="flx4_offer_visibility",s="flx4_offer_cta_click",o="signup_form_reassurance",l="course_page_cta_hierarchy",i="sale_offer_cta_click",a="sale_package_cta_click",c="sale_course_cta_click",u="sale_producer_cta_click",d="cdp_plan_guarantee_offer"},68769:function(t,e,n){"use strict";n.d(e,{$Y:function(){return o},D7:function(){return c},JN:function(){return a},M8:function(){return l},XW:function(){return s},XX:function(){return r},rf:function(){return i}});let r="meet_your_booth_card",s="course_page_redesign",o="mix_feedback_nav",l="numark_unlock_page",i="numark_onboarding_intro",a="video_end_screen",c="numark_course_page"},70101:function(t,e,n){"use strict";n.d(e,{B2:function(){return s},Ex:function(){return i},Hf:function(){return u},ID:function(){return a},YM:function(){return d},m:function(){return c},op:function(){return o},wX:function(){return l}});let r="crossfader::",s=r+"session",o=r+"user",l=r+"basket",i=r+"redirect",a=r+"numarkCheckoutReturn",c=r+"numarkRecordedHostedPage",u=r+"clickIds",d=r+"promoCode"},44199:function(t,e,n){"use strict";n.d(e,{vT:function(){return g},hd:function(){return b},po:function(){return N},pG:function(){return x},ek:function(){return h},Ui:function(){return j},aS:function(){return m},q4:function(){return w},aH:function(){return f},PG:function(){return p},xW:function(){return u},eR:function(){return d},tH:function(){return y}});var r,s=n(94746);function o(){return(o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(null,arguments)}var l=function(t){return s.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:120,height:120},t),r||(r=s.createElement("path",{fill:"#ABABAB",fillRule:"nonzero",d:"M60 .003C26.866.003 0 26.863 0 60s26.864 59.997 60 59.997c33.139 0 60-26.86 60-59.997S93.139.003 60 .003m-.015 31.79c8.103 0 14.668 6.568 14.668 14.667s-6.565 14.667-14.668 14.667c-8.099 0-14.665-6.566-14.665-14.667 0-8.099 6.566-14.667 14.665-14.667m.002 70.667c-10.598 0-20.304-3.73-27.79-9.904-1.824-1.503-2.877-3.708-2.877-6.021 0-10.41 8.718-18.742 19.492-18.742h22.38c10.777 0 19.461 8.332 19.461 18.742 0 2.316-1.047 4.515-2.873 6.018-7.484 6.177-17.193 9.907-27.793 9.907"})))},i=n(20596),a=n(64415),c=n(79932);let u=t=>t.some(t=>{var e;return!!(null===(e=t.prices[a.S])||void 0===e?void 0:e.salePrice)}),d=t=>t.some(t=>t.isSaleActive),w=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=t.filter(t=>!e||!t.isBought).map(m).reduce((t,e)=>t+=e,0)||0,s=n.filter(t=>!e||!t.isBought).map(m).reduce((t,e)=>t+=e,0)||0;return(0,c.G)(r+s)},f=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=t.filter(t=>!e||!t.isBought).map(v).reduce((t,e)=>t+=e,0)||0,s=n.filter(t=>!e||!t.isBought).map(v).reduce((t,e)=>t+=e,0)||0;return(0,c.G)(r+s)},m=t=>{var e,n,r;let s=t.prices[a.S];return null!==(r=null!==(n=null!==(e=s.offerPrice)&&void 0!==e?e:s.salePrice)&&void 0!==n?n:s.price)&&void 0!==r?r:0},x=t=>{var e;let n=null==t?void 0:null===(e=t.prices)||void 0===e?void 0:e[a.S];return(null==n?void 0:n.offerPrice)==null?null:{price:n.offerPrice,percentage:n.offerPercentage,saving:(0,c.G)((n.price||0)-n.offerPrice)}},p=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.some(t=>!!x(t))},h=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=t.map(t=>{var e;return null===(e=x(t))||void 0===e?void 0:e.percentage}).filter(t=>"number"==typeof t);return e.length?Math.max(...e):null},g=t=>{var e,n,r;let s=null==t?void 0:null===(e=t.prices)||void 0===e?void 0:e[a.S];if(!s)return null;let o=Number(m(t))||0,l=s.price||0;return{oldPrice:l,newPrice:o,savings:l>o?(l-o).toFixed(2):void 0,currency:null!==(r=s.currency)&&void 0!==r?r:"",offerPercentage:null===(n=x(t))||void 0===n?void 0:n.percentage}},v=t=>t.prices[a.S].price||0,b=t=>{let e=t.category;if(!e.image)return l;let{isResized:n,resizedImages:r,link:s}=e.image;return n?r[Object.keys(r)[0]]:s},j=t=>{if(!t.image)return l;let{isResized:e,resizedImages:n,link:r}=t.image;return e?n[Object.keys(n)[0]]:r},y=(t,e)=>{let n=e.reduce((t,e)=>(t[e.id]=e,t),{});return t.map(t=>
1n[t.id]).filter(Boolean).reverse()},N=t=>{var e;return(null===(e=t[0])||void 0===e?void 0:e.prices[a.S].currency)||i.Z.USD}},40339:function(t,e,n){"use strict";n.d(e,{H:function(){return s}});var r=n(2265);function s(t,e){(0,r.useEffect)(()=>{if(e)return document.body.classList.add(t),()=>{document.body.classList.remove(t)}},[t,e])}e.Z=s},59773:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(2265),s=n(75905),o=n(47697);let l={disableExposureLog:!0};function i(t,e){var n,i,a,c;let u=(0,s.useExperiment)(t,l),{client:d}=(0,s.useStatsigClient)(),{isLoading:w}=(0,r.useContext)(s.StatsigContext),[f,m]=(0,r.useState)(!1),x=!w||f,p=(0,r.useRef)(e);(0,r.useEffect)(()=>{let t=setTimeout(()=>m(!0),2500);return()=>clearTimeout(t)},[]);let h=(0,r.useRef)(null);if(x&&null===h.current){let t=p.current,e={};Object.keys(t).forEach(n=>{e[n]=u.get(n,t[n])}),h.current={params:e,groupName:u.groupName}}let g=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{if(!x||null===h.current||g.current)return;let{groupName:e}=h.current;e&&(g.current=!0,d.getExperiment(t),(0,o.EJ)(t,e))},[x,t,d]),{params:null!==(a=null===(n=h.current)||void 0===n?void 0:n.params)&&void 0!==a?a:p.current,groupName:null!==(c=null===(i=h.current)||void 0===i?void 0:i.groupName)&&void 0!==c?c:null,ready:x}}e.Z=i},3327:function(t,e,n){"use strict";n.d(e,{p:function(){return s}});var r=n(2265);function s(){let t=(0,r.useRef)(null),e=(0,r.useCallback)(e=>{let n=e.currentTarget,r=n.onClick;r&&r(e);let s=t.current;if(!s)return;let o=s.getBoundingClientRect(),l=n.getBoundingClientRect(),i=l.left-o.left+s.scrollLeft-o.width/2+l.width/2;s.scrollTo({left:i,behavior:"smooth"})},[]);return{scrollContainerRef:t,handleTabTriggerClick:e}}},26870:function(t,e,n){"use strict";var r=n(17783),s=n(70101);function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=r.K;return r.E.getItem(t)&&(n=r.E),new l(t,n,e)}class l{static get session(){return this._session?this._session:this._session=o(s.B2,{})}static get user(){return this._user?this._user:this._user=o(s.op)}get value(){return JSON.parse(this.storage.getItem(this.key))||this.defaultValue}set value(t){return this.storage.setItem(this.key,JSON.stringify(t))}clear(){this.storage.removeItem(this.key)}constructor(t,e=r.E,n=null){this.key=t,this.storage=e,this.defaultValue=n}}e.default=l},18645:function(t,e,n){"use strict";n.d(e,{$Y:function(){return te},A:function(){return D},Af:function(){return tr},Am:function(){return c},Ao:function(){return ti},B6:function(){return Y},C7:function(){return y},CE:function(){return N},EY:function(){return f},Ee:function(){return ts},FK:function(){return b},Hm:function(){return I},I:function(){return Z},K1:function(){return u},Kp:function(){return tt},LP:function(){return F},LV:function(){return h},Nc:function(){return d},PY:function(){return W},Ps:function(){return M},Q0:function(){return _},Qg:function(){return S},Qs:function(){return i},Rg:function(){return Q},Tc:function(){return R},UE:function(){return $},UN:function(){return E},Vs:function(){return x},WK:function(){return V},WX:function(){return J},Xn:function(){return s},ZZ:function(){return z},_$:function(){return K},cd:function(){return C},eN:function(){return L},er:function(){return r},gF:function(){return G},gG:function(){return H},ge:function(){return O},hV:function(){return k},hs:function(){return T},iH:function(){return g},ib:function(){return P},j6:function(){return w},jO:function(){return tn},jV:function(){return a},js:function(){return to},mD:function(){return p},nC:function(){return B},nL:function(){return U},qt:function(){return m},rI:function(){return v},rO:function(){return o},rT:function(){return A},sl:function(){return l},sw:function(){return q},uM:function(){return j},w9:function(){return X},zD:function(){return tl}});let r="GET_LIST_COURSES",s="GET_LIST_COURSES_SUCCESS",o="GET_LIST_COURSES_ERROR",l="GET_LIST_COURSES_CLEAR",i="GET_LIST_COURSES_WITH_LESSON_SUMMARY_INFO",a="GET_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_SUCCESS",c="GET_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_ERROR",u="GET_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_CLEAR",d="GET_FREE_LIST_COURSES_WITH_LESSON_SUMMARY_INFO",w="GET_FREE_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_SUCCESS",f="GET_FREE_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_ERROR",m="GET_FREE_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_CLEAR",x="GET_CONTINUE_LEARNING_COURSES_WITH_LESSON_SUMMARY_INFO",p="GET_CONTINUE_LEARNING_COURSES_WITH_LESSON_SUMMARY_INFO_SUCCESS",h="GET_FEATURED_COURSES",g="GET_FEATURED_COURSES_SUCCESS",v="GET_FEATURED_COURSES_ERROR",b="GET_CONTINUE_LEARNING_COURSES_WITH_LESSON_SUMMARY_INFO_ERROR",j="GET_CONTINUE_LEARNING_COURSES_WITH_LESSON_SUMMARY_INFO_CLEAR",y="GET_SEARCH_LIST_COURSES_WITH_LESSON_SUMMARY_INFO",N="GET_SEARCH_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_SUCCESS",_="GET_SEARCH_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_ERROR",S="GET_SEARCH_LIST_COURSES_WITH_LESSON_SUMMARY_INFO_CLEAR",E="GET_LIST_BUNDLES",C="GET_LIST_BUNDLES_SUCCESS",R="GET_LIST_BUNDLES_ERROR",k="GET_LIST_BUNDLES_CLEAR",O="GET_COURSES_COUPON",I="GET_COURSES_COUPON_SUCCESS",U="GET_COURSES_COUPON_ERROR",L="GET_COURSES_COUPON_ERROR_CLEAR",T="GET_COURSES_COUPON_CLEAR",P="GET_COURSE",A="GET_COURSE_WITH_SUMMARY",D="GET_COURSE_SUCCESS",M="GET_COURSE_CLEAR",F="GET_COURSE_ERROR",G="GET_RECOMMENDED_COURSES",z="GET_RECOMMENDED_COURSES_SUCCESS",B="GET_RECOMMENDED_COURSES_CLEAR",W="GET_RECOMMENDED_COURSES_ERROR",H="BUY_COURSES",Y="BUY_COURSES_SUCCESS",Z="BUY_COURSES_ERROR",q="BUY_COURSES_CLEAR",J="SET_PURCHASED_COURSES",V="CLEAR_PURCHASED_COURSES",$="COURSES_CLEAR_ERROR",Q="GET_COURSE_RECOMMENDATIONS",X="GET_COURSE_RECOMMENDATIONS_SUCCESS",K="GET_COURSE_RECOMMENDATIONS_CLEAR",tt="GET_COURSE_RECOMMENDATIONS_ERROR",te="GET_BUNDLE",tn="GET_BUNDLE_SUCCESS",tr="GET_BUNDLE_CLEAR",ts="GET_BUNDLE_ERROR",to="RATE_COURSE",tl="RATE_COURSE_SUCCESS",ti="RATE_COURSE_ERROR"},7561:function(t,e,n){"use strict";n.d(e,{$y:function(){return V},B8:function(){return L},Bl:function(){return G},DW:function(){return c},F:function(){return x},F0:function(){return f},Go:function(){return E},Hk:function(){return q},I6:function(){return A},IA:function(){return B},Is:function(){return o},Js:function(){return O},Kj:function(){return y},Le:function(){return Y},Lm:function(){return N},Lx:function(){return T},Lz:function(){return m},MC:function(){return X},ME:function(){return b},QQ:function(){return I},R_:function(){return P},Ro:function(){return k},Sk:function(){return v},XR:function(){return R},Zo:function(){return $},c:function(){return M},cQ:function(){return Z},ex:function(){return i},gZ:function(){return j},iS:function(){return S},ii:function(){return u},ir:function(){return D},j2:function(){return z},jK:function(){return _},jc:function(){return U},mR:function(){return a},m_:function(){return h},nV:function(){return Q},o9:function(){return F},oH:function(){return C},qv:function(){return g},rI:function(){return s},sM:function(){return p},t8:function(){return K},tR:function(){return l},tp:function(){return H},vg:function(){return d},w6:function(){return W},yU:function(){return w},z4:function(){return J}});var r=n(18645);let s=t=>({payload:t,type:r.er}),o=t=>{let{data:e,pagination:n}=t;return{payload:{data:e,pagination:n},type:r.Xn}},l=t=>{let{message:e}=t;return{payload:{message:e},type:r.rO}},i=()=>({type:r.sl}),a=t=>({payload:t,type:r.Qs}),c=t=>{let{data:e,pagination:n}=t;return{payload:{data:e,pagination:n},type:r.jV}},u=t=>{let{message:e}=t;return{payload:{message:e},type:r.Am}},d=()=>({type:r.K1}),w=t=>{let{data:e,pagination:n}=t;return{payload:{data:e,pagination:n},type:r.j6}},f=t=>{let{message:e}=t;return{payload:{message:e},type:r.EY}},m=t=>({payload:t,type:r.Vs}),x=t=>{let{data:e}=t;return{payload:{data:e},type:r.mD}},p=t=>{let{data:e}=t;return{payload:{data:e},type:r.iH}},h=t=>{let{message:e}=t;return{payload:{message:e},type:r.rI}},g=t=>{let{message:e}=t;return{payload:{message:e},type:r.FK}},v=()=>({type:r.uM}),b=t=>({payload:t,type:r.C7}),j=t=>{let{data:e,pagination:n,clearBeforeSuccess:s=!0}=t;return{payload:{data:e,pagination:n,clearBeforeSuccess:s},type:r.CE}},y=t=>{let{message:e}=t;return{payload:{message:e},type:r.Q0}
1},N=()=>({type:r.Qg}),_=t=>({payload:t,type:r.UN}),S=t=>{let{data:e,pagination:n}=t;return{payload:{data:e,pagination:n},type:r.cd}},E=t=>{let{message:e}=t;return{payload:{message:e},type:r.Tc}},C=()=>({type:r.hV}),R=t=>({payload:t,type:r.ib}),k=t=>({payload:t,type:r.rT}),O=t=>{let{data:e}=t;return{payload:e,type:r.A}},I=t=>({payload:t,type:r.gF}),U=t=>{let{data:e}=t;return{payload:e,type:r.ZZ}},L=t=>{let{data:e}=t;return{payload:e,type:r.PY}},T=t=>{let{message:e="Unknown error"}=t;return{payload:{message:e},type:r.LP}},P=()=>({type:r.Ps}),A=t=>({payload:t,type:r.Hm}),D=t=>({payload:t,type:r.nL}),M=t=>{let{hostedPageId:e}=t;return{type:r.gG,payload:{hostedPageId:e}}},F=t=>{let{data:e}=t;return{payload:{data:e},type:r.B6}},G=t=>({payload:{message:t.message},type:r.I}),z=()=>({type:r.sw}),B=t=>({payload:{courses:t},type:r.WX}),W=()=>({type:r.WK}),H=t=>({payload:{courseUrls:t},type:r.Rg}),Y=t=>({payload:t,type:r.w9}),Z=t=>{let{message:e="Unknown error"}=t;return{payload:{message:e},type:r.Kp}},q=()=>({type:r._$}),J=t=>({payload:t,type:r.$Y}),V=t=>{let{data:e}=t;return{payload:e,type:r.jO}},$=t=>{let{message:e="Unknown error"}=t;return{payload:{message:e},type:r.Ee}},Q=()=>({type:r.Af}),X=t=>{let{data:e}=t;return{payload:e,type:r.zD}},K=t=>{let{message:e="Unknown error"}=t;return{payload:{message:e},type:r.Ao}}},63496:function(t,e,n){"use strict";function r(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:function(){return r}})},41690:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(85533);function s(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,r.Z)(t,e)}},63929:function(t,e,n){"use strict";function r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(r=function(){return!!t})()}n.d(e,{Z:function(){return r}})},85533:function(t,e,n){"use strict";function r(t,e){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,{Z:function(){return r}})},61146:function(t,e,n){"use strict";n.d(e,{qE:function(){return p},NY:function(){return _},Ee:function(){return N},fC:function(){return y}});var r=n(2265),s=n(73966),o=n(26606),l=n(61188),i=n(82912),a=n(53941);function c(){return()=>{}}var u=n(57437),d="Avatar",[w,f]=(0,s.b)(d),[m,x]=w(d),p=r.forwardRef((t,e)=>{let{__scopeAvatar:n,...s}=t,[o,l]=r.useState("idle");return(0,u.jsx)(m,{scope:n,imageLoadingStatus:o,onImageLoadingStatusChange:l,children:(0,u.jsx)(i.WV.span,{...s,ref:e})})});p.displayName=d;var h="AvatarImage",g=r.forwardRef((t,e)=>{let{__scopeAvatar:n,src:s,onLoadingStatusChange:d=()=>{},...w}=t,f=x(h,n),m=function(t,e){let{referrerPolicy:n,crossOrigin:s}=e,o=(0,a.useSyncExternalStore)(c,()=>!0,()=>!1),i=r.useRef(null),u=o?(i.current||(i.current=new window.Image),i.current):null,[d,w]=r.useState(()=>j(u,t));return(0,l.b)(()=>{w(j(u,t))},[u,t]),(0,l.b)(()=>{let t=t=>()=>{w(t)};if(!u)return;let e=t("loaded"),r=t("error");return u.addEventListener("load",e),u.addEventListener("error",r),n&&(u.referrerPolicy=n),"string"==typeof s&&(u.crossOrigin=s),()=>{u.removeEventListener("load",e),u.removeEventListener("error",r)}},[u,s,n]),d}(s,w),p=(0,o.W)(t=>{d(t),f.onImageLoadingStatusChange(t)});return(0,l.b)(()=>{"idle"!==m&&p(m)},[m,p]),"loaded"===m?(0,u.jsx)(i.WV.img,{...w,ref:e,src:s}):null});g.displayName=h;var v="AvatarFallback",b=r.forwardRef((t,e)=>{let{__scopeAvatar:n,delayMs:s,...o}=t,l=x(v,n),[a,c]=r.useState(void 0===s);return r.useEffect(()=>{if(void 0!==s){let t=window.setTimeout(()=>c(!0),s);return()=>window.clearTimeout(t)}},[s]),a&&"loaded"!==l.imageLoadingStatus?(0,u.jsx)(i.WV.span,{...o,ref:e}):null});function j(t,e){return t?e?(t.src!==e&&(t.src=e),t.complete&&t.naturalWidth>0?"loaded":"loading"):"error":"idle"}b.displayName=v;var y=p,N=g,_=b}},function(t){t.O(0,[805,3183,2001,2532,6137,8818,2842,6613,5878,9678,2972,2996,600,4465,7052,5905,6916,9931,8164,7218,5601,6738,5438,8476,4688,6279,2971,5204,1744],function(){return t(t.s=7157)}),_N_E=t.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.