PageSourceSearch

https://supermocks.com/_next/static/chunks/pages/free-courses-50de77ce5e34f6e9.js

js supermocks.com collected 2026-09-24 14:55:35 UTC 10,352 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6468],{62112:function(e,t,o){"use strict";o.d(t,{Z:function(){return n}});const n=(0,o(91373).Z)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},34622:function(e,t,o){"use strict";o.d(t,{Z:function(){return n}});const n=(0,o(91373).Z)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},9404:function(e,t,o){"use strict";o.d(t,{Z:function(){return n}});const n=(0,o(91373).Z)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},92509:function(e,t,o){"use strict";o.d(t,{Z:function(){return n}});const n=(0,o(91373).Z)("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},96757:function(e,t,o){"use strict";o.d(t,{Z:function(){return n}});const n=(0,o(91373).Z)("monitor-play",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]])},83705:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/free-courses",function(){return o(73371)}])},42819:function(e,t,o){"use strict";o.d(t,{Dm:function(){return r},OU:function(){return i},Q6:function(){return s},T0:function(){return a},Uo:function(){return c}});var n=o(29061),r=function(e){return n.Z.get("/get/examslist",{baseURL:e}).then((function(e){return e.data.data}))},i=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return n.Z.get("/get/live_upcoming_free_course_classv2",{baseURL:e,params:{examid:t,start:o}}).then((function(e){return e.data.data}))},a=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return n.Z.get("/get/youtubeclassstudyapi",{baseURL:e,params:{examid:t,start:o}}).then((function(e){return e.data.data}))},c=function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1;return n.Z.get("/get/youtubeclasstopicapi",{baseURL:e,params:{examid:t,subjectid:o,start:r}}).then((function(e){return e.data.data}))},s=function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return n.Z.get("/get/youtubeclassbyexamsubtopconceptapiv2",{params:{examid:e,subjectid:t,topicid:o,start:r}}).then((function(e){return e.data.data}))}},6749:function(e,t,o){"use strict";var n=o(85893),r=o(89885),i=o(96486),a=o(9008),c=o.n(a),s=o(11163),u=o(67294),l=o(91036),g=o.n(l),d=function(e){return e?g()(e,{allowedTags:[],allowedAttributes:{}}).trim():""},p=function(e,t){var o=e.replace(/\/+$/,""),n=/^https?:\/\//i.test(o)?o:"https://".concat(o),r=(t||"/").split(/[?#]/)[0];return"/"===r?"".concat(n,"/"):"".concat(n).concat(r)};t.Z=function(e){var t=e.content,o=(0,u.useContext)(r.Z).appConfig,a=(0,s.useRouter)();return t?(0,n.jsxs)(c(),{children:[t.host&&(0,i.isEmpty)(o.web_canonicalurl)&&(0,n.jsx)("link",{rel:"canonical",href:p(t.host,null===a||void 0===a?void 0:a.asPath)},"canonical"),t.meta_title&&(0,n.jsx)("meta",{name:"title",content:t.meta_title},"title"),t.meta_description&&(0,n.jsx)("meta",{name:"description",content:d(t.meta_description)},"description"),t.jsonld_schema&&(0,n.jsx)("script",{type:"application/ld+json",children:t.jsonld_schema}),(t.og_image||t.course_thumbnail)&&(0,n.jsx)("meta",{property:"og:image",content:t.og_image||t.course_thumbnail},"og:image"),t.og_title&&(0,n.jsx)("meta",{property:"og:title",content:t.og_title},"og:title"),t.og_description&&(0,n.jsx)("meta",{property:"og:description",content:d(t.og_description)},"og:description"),t.og_url&&(0,n.jsx)("meta",{property:"og:url",content:t.og_url}),t.og_type&&(0,n.jsx)("meta",{property:"og:type",content:t.og_type},"og:type"),t.og_locale&&(0,n.jsx)("meta",{property:"og:locale",content:t.og_locale}),t.og_site_name&&(0,n.jsx)("meta",{property:"og:site_name",content:t.og_site_name}),t.og_video&&(0,n.jsx)("meta",{property:"og:video",content:t.og_video}),t.og_video_secure_url&&(0,n.jsx)("meta",{property:"og:video:secure_url",content:t.og_video_secure_url}),t.og_video_width&&(0,n.jsx)("meta",{property:"og:video:width",content:t.og_video_width}),t.og_video_height&&(0,n.jsx)("meta",{property:"og:video:height",content:t.og_video_height}),t.og_video_type&&(0,n.jsx)("meta",{property:"og:video:type",content:t.og_video_type}),t.og_video_tag&&(0,n.jsx)("meta",{property:"og:video:tag",content:t.og_video_tag}),t.og_video_duration&&(0,n.jsx)("meta",{property:"og:video:duration",content:t.og_video_duration}),t.og_video_series&&(0,n.jsx)("meta",{property:"og:video:series",content:t.og_video_series}),t.og_video_season&&(0,n.jsx)("meta",{property:"og:video:season",content:t.og_video_season}),t.og_video_show_type&&(0,n.jsx)("meta",{property:"og:video:show_type",content:t.og_video_show_type}),t.og_video_actor&&(0,n.jsx)("meta",{property:"og:video:actor",content:t.og_video_actor}),!(0,i.isEmpty)(o.web_googleSiteVerification)&&(0,n.jsx)("meta",{name:"google-site-verification",content:o.web_googleSiteVerification})]}):null}},73371:function(e,t,o){"use strict";o.r(t),o.d(t,{default:function(){return v}});var n=o(47568),r=o(10253),i=o(29815),a=o(97582),c=o(85893),s=o(67294),u=o(47041),l=o(23138),g=o(42819),d=o(26972),p=o(89885),f=o(96076),m=o(83609),y=o(6749),h=function(e){return String(e||"").split(",").map((function(e){return e.trim()}
1)).filter(Boolean)};function v(e){var t=e.exams,o=(0,s.useContext)(p.Z).appConfig.web_menufreecoursename||"Free Courses",n=(0,s.useState)(null),a=n[0],u=n[1],g=(0,s.useMemo)((function(){var e=new Map;(t||[]).forEach((function(t){h(t.exam_category).forEach((function(t){e.set(t,(e.get(t)||0)+1)}))}));var o=(0,i.Z)(e.entries()).map((function(e){var t=(0,r.Z)(e,2),o=t[0];return{id:o,title:o,count:t[1]}}));return o.length>0?[{id:"all",title:"All",count:(t||[]).length}].concat((0,i.Z)(o)):[]}),[t]),f=(0,s.useMemo)((function(){return a?(t||[]).filter((function(e){return h(e.exam_category).includes(a.title)})):t}),[t,a]);return(0,c.jsxs)("div",{className:"flex flex-col gap-6 lg:gap-12 min-h-screen px-4 max-w-7xl mx-auto w-full py-6 lg:py-12",children:[(0,c.jsx)(y.Z,{content:{meta_title:o,og_title:o}}),(0,c.jsx)(m.Z,{showCategoryRow:g.length>0,categories:g,selectedCategoryId:null===a||void 0===a?void 0:a.id,onCategorySelect:function(e){return u(e)},breadcrumbs:[{label:"Home",href:"/"},{label:o}]}),(null===f||void 0===f?void 0:f.length)>0?(0,c.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 w-full",children:f.map((function(e,t){return(0,c.jsx)(d.Z,{notCarousel:!0,title:e.exam_name,image:e.exam_logo,checkAuth:!0,link:"/free-courses/".concat(e.id,"/content"),titleBadge:"FREE",videoCount:Number(e.totalvideos),footerText:"View Now",fallbackVariant:t},e.id)}))}):(0,c.jsx)(l.Z,{color:"primary",isOpen:!0,children:"No courses found"})]})}v.getInitialProps=function(){var e=(0,n.Z)((function(e){var t,o;return(0,a.__generator)(this,(function(n){switch(n.label){case 0:t=(0,u.getCookie)(f.z1,e),o=[],n.label=1;case 1:return n.trys.push([1,3,,4]),[4,(0,g.Dm)(t)];case 2:return o=(o=n.sent()).filter((function(e){return e.totalvideos>0})),[3,4];case 3:return n.sent(),[3,4];case 4:return[2,{exams:o}]}}))}));return function(t){return e.apply(this,arguments)}}()},23138:function(e,t,o){"use strict";var n=o(67294),r=o(45697),i=o.n(r),a=o(93967),c=o.n(a),s=o(22040),u=o(60142),l=["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"];function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},g.apply(this,arguments)}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function p(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}var y={children:i().node,className:i().string,closeClassName:i().string,closeAriaLabel:i().string,color:i().string,cssModule:i().object,fade:i().bool,innerRef:i().oneOfType([i().object,i().string,i().func]),isOpen:i().bool,tag:s.iC,toggle:i().func,transition:i().shape(u.Z.propTypes)};function h(e){var t=e.className,o=e.closeClassName,r=e.closeAriaLabel,i=void 0===r?"Close":r,a=e.cssModule,d=e.tag,f=void 0===d?"div":d,y=e.color,h=void 0===y?"success":y,v=e.isOpen,_=void 0===v||v,x=e.toggle,b=e.children,j=e.transition,w=void 0===j?p(p({},u.Z.defaultProps),{},{unmountOnExit:!0}):j,O=e.fade,k=void 0===O||O,Z=e.innerRef,C=m(e,l),N=(0,s.mx)(c()(t,"alert","alert-".concat(h),{"alert-dismissible":x}),a),P=(0,s.mx)(c()("btn-close",o),a),E=p(p(p({},u.Z.defaultProps),w),{},{baseClass:k?w.baseClass:"",timeout:k?w.timeout:0});return n.createElement(u.Z,g({},C,E,{tag:f,className:N,in:_,role:"alert",innerRef:Z}),x?n.createElement("button",{type:"button",className:P,"aria-label":i,onClick:x}):null,b)}h.propTypes=y,t.Z=h}},function(e){e.O(0,[4885,3609,6972,9774,2888,179],(function(){return t=83705,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.