(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9668],{76489:function(e,t){"use strict";/*! * cookie * Copyright(c) 2012-2014 Roman Shtylman * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */t.Q=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var n={},s=e.split(r),i=(t||{}).decode||A,a=0;a0&&(0,v.jsx)("div",{className:"jsx-1288443434 d-flex align-items-center",children:(0,v.jsxs)("p",{className:"jsx-1288443434 rounded-pill bg-success text-center text-white px-3 m-0 py-1",children:[A.totalFreeTestsCount," Free Test"]})}),(null==A?void 0:A.totalAttempts)>0&&(0,v.jsxs)("div",{className:"jsx-1288443434 d-flex align-items-center",children:[(0,v.jsx)(j,{className:"me-1",fill:"#666",height:16,width:16})," ",(0,v.jsxs)("p",{className:"jsx-1288443434 m-0",children:[A.totalAttempts," Attempts"]})]}),(null==A?void 0:A.avgRating)&&(0,v.jsxs)("div",{className:"jsx-1288443434 d-flex align-items-center",children:[(0,v.jsx)(P,{className:"mx-1",fill:"gold",height:16}),(0,v.jsxs)("p",{className:"jsx-1288443434 m-0",children:[null==A?void 0:A.avgRating," / 5"]})]}),Array.isArray(null==A?void 0:A.languages)&&(0,v.jsxs)("div",{title:null==A?void 0:A.languages.map(function(e){return(0,w.fm)(e.name)}).join(", "),className:"jsx-1288443434 col-auto",children:[(0,v.jsx)(y,{className:"me-1",fill:"#666",height:16,width:16}),(0,v.jsxs)("span",{className:"jsx-1288443434",children:[null==A?void 0:A.languages.slice(0,3).map(function(e){return(0,w.fm)(e.name)}).join(", "),(0,v.jsx)("span",{className:"jsx-1288443434 text-primary",children:(null==A?void 0:A.languages.length)>3&&" +".concat(null==A?void 0:A.languages.slice(3).length," More")})]})]})]}),(0,v.jsx)("div",{className:"jsx-1288443434 mx-4 category-height",children:Array.isArray(null==A?void 0:A.testCount)&&A.testCount.map(function(e,t){return(0,v.jsx)("div",{className:"jsx-1288443434 "+"py-2 d-flex justify-content-between align-items-center ".concat(t===A.testCount.length-1?"":"subsections-border"),children:(0,v.jsxs)("div",{className:"jsx-1288443434",children:[(0,v.jsxs)("p",{className:"jsx-1288443434 m-0 fs-md fw-600",children:[" ",e.name]}),(0,v.jsx)("p",{className:"jsx-1288443434 m-0 fs-xmd fw-medium",children:e.subSections.length>0?"".concat(e.subSections.length," sub-sections (").concat(e.count," ").concat(e.name,")"):"".concat(e.count," ").concat(e.name)})]})},e.id)})}),(0,v.jsx)(h(),{className:"btn btn-secondary m-3 fw-bold",href:"/test-series/tests/".concat(null==A?void 0:A.name.en.toLowerCase().replaceAll(/[^a-z0-9()]/g,"-"),"-").concat(null==A?void 0:A.categoryId),children:"View Test Series"}),(0,v.jsx)(i(),{id:"1288443434",children:[".subsections-border{border:none;border-bottom:1px solid #d9d9d980;}",".category-height{max-height:340px;overflow:scroll;}"]})]})};t.Z=function(e){var t,A=e.categories,n=void 0===A?[]:A,s=e.activeId,a=void 0===s?"":s,w=e.examID,C=void 0===w?"":w,h=(0,l.useMediaQuery)({maxWidth:991}),b=(0,c.useState)(function(){var e;return a||(null===(e=n.find(function(e){return(null==e?void 0:e.type)==="GOVERNMENT"}))||void 0===e?void 0:e.id)||""}),j=b[0],I=b[1],y=(0,c.useState)([]),P=y[0],N=y[1],O=(0,c.useState)(null===(t=P[0])||void 0===t?void 0:t.id),M=O[0],X=O[1],F=(0,c.useState)(),L=F[0],R=F[1],U=(0,f.I0)(),V=(0,m.Z)("exams"),K=V.show,Y=(V.hide,V.RenderModal);return(0,c.useEffect)(function(){var e;(e=(0,r.Z)(o().mark(function e(){var t,A,n,r;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,p.b0)("test-series-exams",{examCategoryId:j});case 3:N(n=Array.isArray(t=e.sent.data.testSeriesExams)?t:[]),X((r=n.find(function(e){return e.id==C}))?null==r?void 0:r.id:null===(A=n[0])||void 0===A?void 0:A.id),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),U((0,x.f)("No Data Found!","error"));case 14:case"end":return e.stop()}},e,null,[[0,11]])})),function(){return e.apply(this,arguments)})()},[j]),(0,c.useEffect)(function(){var e;(e=(0,r.Z)(o().mark(function e(){var t,A;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.nU)({examIds:M,isPrimary:!0});case 3:A=e.sent.data.allTestSeries,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),U((0,x.f)("An error occured, Please Try again!","error"));case 10:if((null===(t=A)||void 0===t||null===(t=t.nodes)||void 0===t?void 0:t.length)!=0){e.next=21;break}return e.prev=11,e.next=14,(0,u.nU)({examIds:M,limit:1});case 14:A=e.sent.data.allTestSeries,e.next=21;break;case 18:e.prev=18,e.t1=e.catch(11),U((0,x.f)("An error occured, Please Try again!","error"));case 21:if(!M){e.next=34;break}return e.prev=22,e.next=25,(0,u.eS)({id:A.nodes[0].id});case 25:R(E(E({},e.sent.data.testSeries),{},{categoryId:A.nodes[0].id,avgRating:A.nodes[0].avgRating})),e.next=34;break;case 30:e.prev=30,e.t2=e.catch(22),console.log(e.t2,"erroeee"),U((0,x.f)("An error occured, Please Try again!","error"));case 34:case"end":return e.stop()}},e,null,[[0,7],[11,18],[22,30]])})),function(){return e.apply(this,arguments)})()},[M]),(0,v.jsxs)("div",{className:"m-auto ".concat(h?"py-8 px-4":"mt-10 w-75"),children:[(0,v.jsx)("p",{className:" fs-6 fw-bold m-0 ".concat(h?"":"text-center"),children:"Prepp Test Series"}),(0,v.jsxs)("div",{className:"jsx-835651210 "+" ".concat(h?" ":"d-flex gap-10"),children:[h&&a?(0,v.jsxs)(v.Fragment,{children:[" ",(0,v.jsxs)("div",{className:"jsx-835651210 "+"".concat(h?"w-100 px-3 pb-8":"w-75"),children:[Array.isArray(P)&&P.length>0&&(0,v.jsx)("div",{className:"jsx-835651210 scroller d-flex align-items-center my-2 position-relative",children:(0,v.jsx)(d.Z,{children:P.map(function(e){return(0,v.jsx)("button",{onClick:function(){return X(e.id)},type:"button",className:"jsx-835651210 "+"btn rounded-pill me-4 px-4 text-nowrap ".concat(M==e.id?"bg-primary text-white":"bg-gray-100"),children:e.shortName.en},e.shortName.en)})})}),(0,v.jsx)(D,{particularSeries:L})]})]}):(0,v.jsx)("div",{className:"jsx-835651210 d-flex flex-column gap-4 exam-card-height mt-4",children:Array.isArray(n)&&n.length>0&&n.map(function(e){var t,A;return(null==e?void 0:e.type)!=="GOVERNMENT"?null:(0,v.jsxs)("div",{onClick:function(){h&&K(),I(null==e?void 0:e.id)},className:"jsx-835651210 "+"category-card d-flex gap-5 px-4 py-3 justify-content-between align-items-center rounded ".concat(j==(null==e?void 0:e.id)?"bg-primary-700":""),children:[(0,v.jsxs)("div",{className:"jsx-835651210 d-flex gap-6 align-items-center",children:[(0,v.jsx)(g.Z,{width:40,height:36,src:null==e||null===(t=e.image)||void 0===t?void 0:t.url,alt:"Exam Category"}),(null==e||null===(A=e.name)||void 0===A?void 0:A.en)&&(0,v.jsx)("div",{className:"jsx-835651210 text-nowrap fs-md fw-600",children:e.name.en})]}),(0,v.jsx)(Q,{})]})})}),(0,v.jsx)(B.H,{children:(0,v.jsxs)("div",{className:"jsx-835651210 w-75",children:[Array.isArray(P)&&P.length>0&&(0,v.jsx)("div",{className:"jsx-835651210 scroller d-flex align-items-center my-2 position-relative",children:(0,v.jsx)(d.Z,{children:P.map(function(e,t){var A;return null!=e&&null!==(A=e.shortName)&&void 0!==A&&A.en?(0,v.jsx)("button",{onClick:function(){return X(null==e?void 0:e.id)},type:"button",className:"jsx-835651210 "+"btn rounded-pill me-4 px-4 text-nowrap ".concat(M==(null==e?void 0:e.id)?"bg-primary text-white":"bg-gray-100"),children:e.shortName.en},t):null})})}),(0,v.jsx)(D,{particularSeries:L})]})}),(0,v.jsx)(Y,{fullscreen:!1,className:"jsx-835651210",children:(0,v.jsxs)("div",{className:"jsx-835651210 "+"".concat(h?"w-100 px-3 pb-8":"w-75"),children:[(0,v.jsx)("div",{className:"jsx-835651210 scroller d-flex align-items-center my-2 position-relative",children:(0,v.jsx)(d.Z,{children:P.map(function(e){return(0,v.jsx)("button",{onClick:function(){return X(e.id)},type:"button",className:"jsx-835651210 "+"btn rounded-pill me-4 px-4 text-nowrap ".concat(M==e.id?"bg-primary text-white":"bg-gray-100"),children:e.shortName.en},e.shortName.en)})})}),(0,v.jsx)(D,{particularSeries:L})]})}),(0,v.jsx)(i(),{id:"835651210",children:[".category-card.jsx-835651210{height:61px;border:1px solid #f2f2f2;cursor:pointer;}",".exam-card-height.jsx-835651210{height:514px;overflow:auto;}",".w-80.jsx-835651210{width:80%;}",".w-fit{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}"]})]})]})}},21915:function(e,t,A){"use strict";var n=A(59499),r=A(53967),s=A.n(r);A(67294);var i=A(41664),a=A.n(i),o=A(1852),c=A(85893);function l(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),A.push.apply(A,n)}return A}function d(e){for(var t=1;t0&&(0,a.jsx)("div",{className:"jsx-2240926020 "+"".concat(A?"d-flex flex-column px-4 m-auto text-center":"row width-90 m-auto text-center mt-10"," "),children:n.map(function(e,t){return(0,a.jsxs)("div",{className:"jsx-2240926020 "+((A?"":"col-4 card-width mb-5")||""),children:[(null==e?void 0:e.icon)&&(0,a.jsx)("div",{className:"jsx-2240926020",children:e.icon}),(null==e?void 0:e.title)&&(0,a.jsx)("div",{className:"jsx-2240926020 top-border",children:(0,a.jsx)("p",{className:"jsx-2240926020 "+"fs-lg fw-600 m-0 ".concat(A?"":"text-nowrap"),children:e.title})}),(null==e?void 0:e.description)&&(0,a.jsx)("p",{className:"jsx-2240926020 fs-lg ",children:e.description})]},t)})}),(0,a.jsx)(s(),{id:"2240926020",children:[".padding-width.jsx-2240926020{padding:56px 0px;}",".width-90.jsx-2240926020{width:85%;}",".blue-border.jsx-2240926020{border-top:2px solid #0066ff;width:320px;margin:0.5rem 0;}",".card-width.jsx-2240926020{max-width:400px;padding:0px 20px;}",".top-border.jsx-2240926020{border-bottom:2px solid #2e81f7;}","@media screen and (max-width:991px){.padding-width.jsx-2240926020{padding:32px 0px;}}"]})]})}},3195:function(e,t,A){"use strict";var n=A(59499),r=A(67294);A(25675);var s=A(1852),i=A(40385),a=A(85893);function o(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),A.push.apply(A,n)}return A}function c(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];e.forEach(function(e){!d&&e.intersectionRatio<=.2?g(!0):d&&e.intersectionRatio>=.5&&g(!1)})},[d]);(0,n.useEffect)(function(){var e=document.getElementById("priceText");if(e){var t=new IntersectionObserver(function(e){u(e)},{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]});return t.observe(e),function(){e&&t.unobserve(e)}}},[u]);var f=(0,r.I0)(),w=function(){p?f((0,s.p)(i.Q.PAYMENT)):f((0,s.p)(i.Q.LOGIN,{title:"Unlock Test",payment:!0}))};return(0,c.jsxs)("div",{className:"position-fixed bottom-sheet bottom-0 start-0 w-100 d-md-none py-4 fs-md px-3 bg-primary text-white d-flex gap-1 justify-content-between align-items-center nunito-sans ".concat(d?"isVisible":""),style:{zIndex:"2"},children:[(0,c.jsxs)("span",{className:"flex-1 ",children:["Buy Prepp+ @ ",(0,c.jsx)("del",{children:"₹1499/yr"})," ₹",(0,c.jsxs)("span",{className:"fw-bold",children:[t,"/yr"]}),(0,c.jsx)("br",{}),"Use Coupon Code: ",(0,c.jsxs)("span",{className:"fw-bold",children:["(",A,")"]})]}),(0,c.jsx)("button",{className:"btn btn-secondary px-4 fw-semibold rounded-3",onClick:function(){w(),(0,a.YW)({action:"STICKY_ENROLL_NOW",category:"STICKY ENROLL NOW",location:window.location.pathname}),(0,o.B)({category:"STICKY_ENROLL_NOW",action:"STICKY ENROLL NOW",location:window.location.pathname})},style:{minHeight:"30px"},type:"button",children:"Enroll Now"})]})}},85009:function(e,t,A){"use strict";var n=A(59499),r=A(90116),s=A(53967),i=A.n(s);A(25675);var a=A(67294),o=A(1852),c=A(40385),l=A(85893);function d(e,t){var A=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),A.push.apply(A,n)}return A}var g=[{id:1,name:"Tushar Tiwari",text:"The User Interface of the app is really Good. As the data is available is 500+ competitive exams it makes it an awesome place for student to gain knowledge at one place. As I am using this app from past one month it has given me tremendous results because after giving tests there is a detailed analysis of all questions so that you can always keep check where you are lagging behind. And the team behind the app is always available to help me. It is an awesome app. \uD83D\uDD25\uD83D\uDD25\uD83D\uDD25 With updated information.",rating:5,image:"topper-5.png"},{id:2,name:"Rishabh",text:"I’m really impressed with the Prepp+ app! The mock tests and practice questions helped me a lot in preparing for my banking exam. The explanations were clear, and the app was easy to use. Thanks to Prepp+, I cleared my exam!",rating:5,image:"rishabh-pic.png"},{id:3,name:"Neeraj",text:"Prepp has been a game-changer in my SSC CGL preparation journey. The structured content, expert guidance, and mock tests helped me build confidence and improve my weak areas. Thanks to Prepp, I successfully cleared SSC CGL and achieved my dream job. Highly recommended for all aspirants!",rating:5,image:"topper-1.png"},{id:4,name:"Suman",text:"The Prepp+ app was a great help in my RRB NTPC preparation. The mock tests and practice questions were excellent, with clear explanations for every answer. The app is easy to use and helped me stay focused. Thanks to Prepp+, I achieved my goal!",rating:5,image:"suman-pic.png"}],p=function(e){var t=e.rating;return(0,l.jsx)("div",{className:"d-flex gap-1",children:(0,r.Z)(Array(t)).map(function(e,t){return(0,l.jsx)("span",{children:"★"},t)})})},u=function(e){var t=e.name,A=e.text,n=e.rating,r=e.image,s=(0,o.useMediaQuery)({maxWidth:991}),i=(0,a.useState)(!1),d=i[0],g=i[1];return(0,l.jsxs)("div",{className:"bg-white ".concat(s?"rounded border p-4":"card p-3 testimonial-card-max-width"),children:[(0,l.jsxs)("div",{className:" mb-1",children:[(0,l.jsx)("p",{className:"testimonial-title ".concat(d?"expanded":""," m-0"),children:A}),(0,l.jsx)("button",{onClick:function(){return g(!d)},className:"text-primary p-0 mb-1 btn border-0",children:d?"Read Less":"Read More"})]}),(0,l.jsxs)("div",{className:"d-flex gap-4 align-items-center",children:[(0,l.jsx)("div",{className:"testimonial-image-dimension",children:(0,l.jsx)(c.Z,{width:48,height:48,src:"public/prepp/assets/cdn-uploads/".concat(r),alt:t,objectFit:"cover"})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"m-0 fw-600 fs-lg",children:t}),(0,l.jsx)(p,{rating:n})]})]})]})};t.Z=function(){var e=(0,o.useMediaQuery)({maxWidth:991});return(0,l.jsxs)("div",{className:"jsx-817653569 padding-style bg-primary-700",children:[(0,l.jsxs)("div",{className:"jsx-817653569",children:[(0,l.jsx)("p",{className:"jsx-817653569 text-center fs-5 fw-bold",children:"What our Students say"}),(0,l.jsx)("div",{className:"jsx-817653569 "+((e?"d-flex gap-2 overflow-scroll":"d-flex gap-2 justify-content-center ")||""),children:g.map(function(e){return(0,l.jsx)(u,function(e){for(var t=1;t25),n(t,A+i=0&&this.changeListeners.splice(t,1)},e}()}}]);