1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b3786f36-61e8-4bc7-98eb-a61f5665247d",e._sentryDebugIdIdentifier="sentry-dbid-b3786f36-61e8-4bc7-98eb-a61f5665247d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8547],{84454:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/media/components/ClassMediaCard",function(){return r(20627)}])},41250:function(e,t){"use strict";t.Z={src:"/_next/static/media/clockIcon.1f6766a1.svg",height:14,width:15,blurWidth:0,blurHeight:0}},92022:function(e,t,r){"use strict";r.d(t,{Z:function(){return Z}});var o=r(63366),i=r(87462),a=r(67294),s=r(90512),n=r(94780),l=r(89262),d=r(36522),c=r(12921),u=r(85893),p=(0,c.Z)((0,u.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),x=r(1588),f=r(34867);function h(e){return(0,f.ZP)("MuiAvatar",e)}(0,x.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var b=r(98840);let g=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],m=e=>{let{classes:t,variant:r,colorDefault:o}=e;return(0,n.Z)({root:["root",r,o&&"colorDefault"],img:["img"],fallback:["fallback"]},h,t)},v=(0,l.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(e=>{let{theme:t}=e;return{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,i.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:(0,i.Z)({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]}}),y=(0,l.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),w=(0,l.ZP)(p,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});var Z=a.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiAvatar"}),{alt:n,children:l,className:c,component:p="div",slots:x={},slotProps:f={},imgProps:h,sizes:Z,src:k,srcSet:j,variant:C="circular"}=r,R=(0,o.Z)(r,g),_=null,F=function(e){let{crossOrigin:t,referrerPolicy:r,src:o,srcSet:i}=e,[s,n]=a.useState(!1);return a.useEffect(()=>{if(!o&&!i)return;n(!1);let e=!0,a=new Image;return a.onload=()=>{e&&n("loaded")},a.onerror=()=>{e&&n("error")},a.crossOrigin=t,a.referrerPolicy=r,a.src=o,i&&(a.srcset=i),()=>{e=!1}},[t,r,o,i]),s}((0,i.Z)({},h,{src:k,srcSet:j})),S=k||j,I=S&&"error"!==F,D=(0,i.Z)({},r,{colorDefault:!I,component:p,variant:C}),P=m(D),[N,A]=(0,b.Z)("img",{className:P.img,elementType:y,externalForwardedProps:{slots:x,slotProps:{img:(0,i.Z)({},h,f.img)}},additionalProps:{alt:n,src:k,srcSet:j,sizes:Z},ownerState:D});return _=I?(0,u.jsx)(N,(0,i.Z)({},A)):l||0===l?l:S&&n?n[0]:(0,u.jsx)(w,{ownerState:D,className:P.fallback}),(0,u.jsx)(v,(0,i.Z)({as:p,ownerState:D,className:(0,s.Z)(P.root,c),ref:t},R,{children:_}))})},20627:function(e,t,r){"use strict";r.r(t);var o=r(85893),i=r(80158),a=r(14440),s=r(94246),n=r(35465),l=r(67433),d=r(8658),c=r(41250),u=r(25675),p=r.n(u),x=r(48099),f=r(30117),h=r(11163),b=r(67748);t.default=e=>{var t,r,u,g;let{media:m,locked:v,onClick:y}=e,w=(0,i.CG)(e=>e.config),Z=(0,i.CG)(e=>e.auth),{i18n:k,language:j}=w,{showLockIcon:C,showFreeBadge:R}=(0,x.Ty)(w.design),_=(0,f.B)({lifetime:Z.lifetimeSubscription,subscriptionFromRC:Z.subscriptionFromRC,subscriptionFromCode:Z.subscriptionFromCode,subscriptions:Z.subscriptions}),F=v&&C,S=!(0,x.sL)(m)&&!_&&R,I=(0,h.useRouter)().pathname===b.Z6.LANDING_PAGE;return m&&(0,o.jsxs)(a.Z,{onClick:y,sx:{display:"flex",flexDirection:"column",maxHeight:"264px",maxWidth:"384px",cursor:"pointer",...I&&{borderRadius:"16px",animation:"fadeInUp 0.8s ease forwards",transition:"all 0.3s ease","&:hover":{transform:"translateY(-6px) scale(1.03)",boxShadow:"0 12px 28px rgba(0,0,0,0.1)"}}},children:[(0,o.jsxs)(a.Z,{sx:{position:"relative",display:"inline-block",width:"100%",height:"200px",borderRadius:"16px"},children:[(0,o.jsx)("img",{style:{borderRadius:"16px"},src:m.imageUrl,alt:"Top Image",className:"absolute inset-0 w-full h-full object-cover"}),(0,o.jsxs)(a.Z,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.0)",backdropFilter:F?"blur(2px)":void 0,borderRadius:"16px",display:"flex",alignItems:"center",color:"white"},children:[S&&(0,o.jsx)(a.Z,{sx:{position:"absolute",top:"8px",right:"8px",px:"8px",py:"2px",borderRadius:"8px",backgroundColor:"rgba(255,255,255,0.92)",boxShadow:"0 2px 8px rgba(0,0,0,0.18)"},children:(0,o.jsx)(s.Z,{sx:{fontSize:"12px",fontWeight:700,color:"#111"},children:(0,d.i)({i18nDocs:k,language:j,text:"Free"})})}),(0,o.jsxs)(n.Z,{sx:{position:"absolute",left:"20px",bottom:"15px",height:"26px",borderRadius:"100px",backgroundColor:"white",boxShadow:"0px 4px 8px 0px #00000029",p:"4px 8px"},spacing:"8px",direction:"row",children:[(0,o.jsx)(p(),{src:c.Z,alt:"icon"}
1),(0,o.jsxs)(s.Z,{sx:{fontFamily:null===(t=w.appSetting)||void 0===t?void 0:t.themes.primaryFontFamily,fontSize:"12px",lineHeight:"20px",fontWeight:500,color:"black"},children:[null!==(g=m.minutes)&&void 0!==g?g:1," ",(0,d.i)({i18nDocs:k,language:j,text:"minutes"})]})]}),F&&(0,o.jsx)(a.Z,{sx:{position:"absolute",left:"50%",transform:"translateX(-50%)"},children:(0,o.jsx)(l.default,{})})]})]}),(0,o.jsx)(a.Z,{sx:I?{p:"16px"}:{pt:"16px"},children:(0,o.jsx)(s.Z,{sx:{fontSize:"18px",fontWeight:600,lineHeight:"24px",fontFamily:null===(r=w.appSetting)||void 0===r?void 0:r.courseDetail.titleFontFamily,color:(0,x.K9)(null===(u=w.appSetting)||void 0===u?void 0:u.courseDetail.descriptionFontColor),display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:2},children:(0,d.i)({i18nDocs:k,language:j,text:m.name})})})]})}},67433:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return d}});var o=r(85893),i={src:"/_next/static/media/lockIcon.ae2755b6.svg",height:25,width:25,blurWidth:0,blurHeight:0},a=r(92022),s=r(33367);r(67294);var n=r(25675),l=r.n(n),d=()=>(0,o.jsx)(a.Z,{sx:{backgroundColor:"rgba(0, 0, 0, 0.5)",height:"44px",width:"44px"},children:(0,o.jsx)(s.Z,{"aria-label":"locked",children:(0,o.jsx)(l(),{src:i,alt:"lock",style:{height:"22px",width:"22px"}})})})}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=84454)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.