(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3674],{39658:function(e,t,n){"use strict";n.d(t,{IE:function(){return m},eS:function(){return h},nU:function(){return p},w4:function(){return d}});var s,i,r,a,o=n(71383),l=n(68806),c=n(79722),u=n(26915),p=function(e){var t=e.examIds,n=e.examCategoryId,i=e.after,r=e.pageSize,a=e.phrase,p=e.sortBy,d=e.isPrimary;return c.Z.query({query:(0,l.Ps)(s||(s=(0,o.Z)(["\n query AllTestSeries(\n $examCategoryId: ID\n $examIds: [ID!]\n $after: String\n $pageSize: Int\n $phrase: String\n $sortBy: String\n $isPrimary: Boolean\n ) {\n allTestSeries(\n examIds: $examIds\n examCategoryId: $examCategoryId\n after: $after\n pageSize: $pageSize\n phrase: $phrase\n sortBy: $sortBy\n isPrimary: $isPrimary\n ) {\n pageInfo {\n hasNextPage\n endCursor\n }\n totalCount\n nodes {\n ","\n }\n }\n }\n "])),(0,u.wO)()),variables:{after:i,examIds:t,examCategoryId:n,pageSize:r,sortBy:p,phrase:a,isPrimary:d}})},d=function(e){var t=e.examCategoryId;return c.Z.query({query:(0,l.Ps)(i||(i=(0,o.Z)(["\n query TestSeriesExams($examCategoryId: ID) {\n testSeriesExams(examCategoryId: $examCategoryId) {\n id\n shortName {\n en\n }\n examCategories {\n id\n name {\n en\n }\n }\n }\n }\n "]))),variables:{examCategoryId:t}})},h=function(e){var t=e.id;return c.Z.query({query:(0,l.Ps)(r||(r=(0,o.Z)(["\n query TestSeries($id: ID!) {\n testSeries(id: $id) {\n name {\n en\n }\n webDescription\n updatedAt\n totalAttempts\n totalFreeTestsCount\n seo {\n description\n title\n keywords\n }\n languages {\n code\n name\n }\n testSeriesTest: tests {\n totalCount\n }\n testCount {\n count\n testType\n name\n subSections {\n name\n count\n }\n }\n exam {\n id\n name {\n en\n }\n image {\n url\n }\n }\n }\n }\n "]))),variables:{id:t}})},m=function(e){var t=e.token,n=e.id,s=e.after,i=e.pageSize,r=e.phrase,p=e.type,d=e.subSection,h=e.isAttempted;return c.Z.query({query:(0,l.Ps)(a||(a=(0,o.Z)(["\n query TestSeries(\n $id: ID!\n $after: String\n $pageSize: Int\n $type: String\n $phrase: String\n $subSection: String\n $isAttempted: Boolean\n ) {\n testSeries(id: $id) {\n tests(\n after: $after\n pageSize: $pageSize\n type: $type\n phrase: $phrase\n subSection: $subSection\n isAttempted: $isAttempted\n ) {\n nodes {\n ","\n }\n totalCount\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n webDescription\n }\n }\n "])),(0,u.V6)(!!t)),variables:{id:n,token:t,after:s,pageSize:i,phrase:r,type:p,subSection:d,isAttempted:h}})}},90210:function(e,t,n){"use strict";var s=n(50029),i=n(64687),r=n.n(i),a=n(5152),o=n.n(a),l=n(67294),c=n(85893),u=o()(function(){return Promise.all([n.e(296),n.e(6222)]).then(n.bind(n,6222))},{ssr:!1,loadableGenerated:{webpack:function(){return[6222]}}});t.Z=function(e){var t=e.phrase,i=e.customClass,a=e.showIcon,o=void 0===a||a,p=e.customMsg,d=(0,l.useState)(null),h=d[0],m=d[1];return(0,l.useEffect)(function(){var e,t=(e=(0,s.Z)(r().mark(function e(){return r().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(4396).then(n.t.bind(n,84396,19));case 2:m({loop:!0,autoplay:!0,animationData:e.sent,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}});case 4:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});o&&t()},[o]),(0,c.jsxs)("div",{className:"d-flex flex-column align-items-center justify-content-center ".concat(i),children:[o&&h&&(0,c.jsx)(u,{height:150,options:h,width:150}),(0,c.jsxs)("div",{className:"text-gray-700 text-center mb-2",children:["Sorry, we couldn’t find any matches for",(0,c.jsxs)("span",{className:"fw-bold",children:[" ",t]})]}),(0,c.jsx)("div",{className:"text-gray fs-md",children:void 0===p?"Please try search with any other term":p})]})}},52117:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var s=n(53967),i=n.n(s),r=n(67294),a=n(23493),o=n.n(a),l=[".wrapper.jsx-3490949711{width:100%;overflow-x:auto;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;-webkit-scroll-behavior:smooth;-moz-scroll-behavior:smooth;-ms-scroll-behavior:smooth;scroll-behavior:smooth;}",".wrapper.jsx-3490949711 .responsive-card-item{-webkit-flex:0 0 27%;-ms-flex:0 0 27%;flex:0 0 27%;width:27%;min-height:130px;}","@media(max-width:991.98px){.wrapper.jsx-3490949711 .responsive-card-item{-webkit-flex-basis:75%;-ms-flex-preferred-size:75%;flex-basis:75%;width:75%;}}",".wrapper.jsx-3490949711 .slick-arrow{--size:40px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--size);height:var(--size);padding:0;background:#fff;border:1px solid #e9e9e9;border-radius:50%;box-shadow:0 2px 8px rgba(17,24,39,.08);cursor:pointer;}",'.wrapper.jsx-3490949711 .slick-arrow::before{content:"";display:none;}','.wrapper.jsx-3490949711 .slick-arrow::after{content:"";display:inline-block;width:var(--size);height:var(--size);background:rgba(0,0,0,0) url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc3JyBoZWlnaHQ9JzEyJyBmaWxsPSdub25lJz48cGF0aCBmaWxsPScjNjY2JyBzdHJva2U9JyM2NjYnIHN0cm9rZS13aWR0aD0nLjI1JyBkPSdNNi42NSA2LjAwMmMwIC4xMTctLjAxNi4yMjktLjA1LjMzN2EuNjA0LjYwNCAwIDAgMS0uMi4yODhsLTQuNSA0LjUyNWEuNzY2Ljc2NiAwIDAgMS0uNTI1LjIuNzIuNzIgMCAwIDEtLjUyNS0uMjI1Ljc2Ni43NjYgMCAwIDEtLjItLjUyNWMwLS4yLjA2Ny0uMzc1LjItLjUyNWw0LjA3NS00LjA3NS00LjA3NS00LjFhLjYwNi42MDYgMCAwIDEtLjIxMy0uNWMuMDA5LS4yLjA4LS4zNzUuMjEzLS41MjVhLjczMy43MzMgMCAwIDEgLjUzNy0uMjI1Yy4yMDkgMCAuMzguMDc1LjUxMy4yMjVsNC41IDQuNWMuMS4wODMuMTY3LjE3OS4yLjI4Ny4wMzQuMTA5LjA1LjIyMS4wNS4zMzhaJy8+PC9zdmc+) no-repeat center center;pointer-events:none;}',".wrapper.jsx-3490949711 .slick-prev::after{-webkit-transform:rotate(0.5turn);-ms-transform:rotate(0.5turn);transform:rotate(0.5turn);}",".wrapper.jsx-3490949711::-webkit-scrollbar{display:none;}",".button-styles.jsx-3490949711{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);border:0;border-radius:50%;}"];l.__hash="3490949711";var c=n(85893),u=function(e){var t=e.children,n=(0,r.useRef)(null),s=function(e,t){e&&(t?e.classList.remove("d-none"):e.classList.add("d-none"))};return(0,r.useEffect)(function(){var e=n.current,t=null==e?void 0:e.querySelector("[data-next]"),i=null==e?void 0:e.querySelector("[data-prev]"),r=null==e?void 0:e.querySelector("[data-slider]"),a=[t,i],l=function(){var n=e.scrollLeft,a=e.offsetWidth,o=r.scrollWidth;s(i,n>25),s(t,n+a1?0:"default";R(!0),q(function(n){return A(A({},n),{},{section:t,subSection:e})})},type:"button",className:"jsx-".concat(N.__hash)+" "+("btn section-pill ".concat($.section===t?"active":"").trim()||""),children:[s," ","all"===$.type?"(".concat(n,")"):""]})},s)})})}),(null===(h=E[$.section])||void 0===h||null===(h=h.subSections)||void 0===h?void 0:h.length)>1&&(0,_.jsx)("div",{className:"jsx-".concat(N.__hash)+" row mt-2 flex-nowrap scroller w-100 mx-0 position-relative",children:(0,_.jsx)(S.Z,{children:null===(C=E[$.section])||void 0===C?void 0:C.subSections.map(function(e,t){var n=e.count,s=e.name;return(0,_.jsx)(w.Z,{active:$.subSection===t,customClass:"col-auto me-4 text-capitalize",label:"".concat(s," ").concat("all"===$.type?"(".concat(n,")"):"").trim(),onClickPill:function(){R(!0),q(function(e){return A(A({},e),{},{subSection:t})})}},s)})})})]}),(0,_.jsx)("div",{className:"jsx-".concat(N.__hash)+" row g-4 mt-0 listing-wrap",children:Y?[1,2,3,4,5,6].map(function(e){return(0,_.jsx)("div",{className:"jsx-".concat(N.__hash)+" col-12 col-lg-3",children:(0,_.jsxs)("div",{className:"jsx-".concat(N.__hash)+" border rounded mb-2 d-flex flex-column justify-space-between",children:[(0,_.jsx)("h5",{className:"jsx-".concat(N.__hash)+" placeholder-glow px-4 pt-2 m-0",children:(0,_.jsx)("span",{className:"jsx-".concat(N.__hash)+" placeholder placeholder-xs col-8 bg-gray-300"})}),(0,_.jsxs)("div",{className:"jsx-".concat(N.__hash)+" placeholder-glow px-4",children:[(0,_.jsx)("span",{className:"jsx-".concat(N.__hash)+" placeholder placeholder-xs col-3 me-4 bg-gray-300"}),(0,_.jsx)("span",{className:"jsx-".concat(N.__hash)+" placeholder placeholder-xs col-3 bg-gray-300"})]}),(0,_.jsx)("h5",{className:"jsx-".concat(N.__hash)+" placeholder-glow px-4 m-0",children:(0,_.jsx)("span",{className:"jsx-".concat(N.__hash)+" placeholder placeholder-xs col-6 bg-gray-300"})}),(0,_.jsx)("div",{type:"button",className:"jsx-".concat(N.__hash)+" btn btn-primary disabled placeholder col-12 mt-2"})]})},e)}):G?null!=B&&null!==(Z=B.search)&&void 0!==Z&&null!==(Z=Z.nodes)&&void 0!==Z&&Z.length?B.search.nodes.map(function(e){return(0,_.jsx)("div",{className:"jsx-".concat(N.__hash)+" col-12 col-lg-3",children:(0,_.jsx)(f.Z,{data:e,testSeries:L})},e.id)}):(0,_.jsx)(j.Z,{customClass:"empty-search-view",phrase:L.phrase}):null!=B&&null!==(I=B[$.section])&&void 0!==I&&null!==(I=I[$.subSection])&&void 0!==I&&null!==(I=I.nodes)&&void 0!==I&&I.length?B[$.section][$.subSection].nodes.map(function(e){return(0,_.jsx)("div",{className:"jsx-".concat(N.__hash)+" col-12 col-lg-3",children:(0,_.jsx)(f.Z,{data:e,testSeries:L})},e.id)}):(0,_.jsx)("div",{className:"jsx-".concat(N.__hash)+" col mt-4 text-center fw-bold",children:"No Tests Found"})}),J?(0,_.jsx)("div",{className:"jsx-".concat(N.__hash)+" text-center mt-6",children:(0,_.jsx)("div",{role:"status",className:"jsx-".concat(N.__hash)+" spinner-grow spinner-grow-sm text-primary",children:(0,_.jsx)("span",{className:"jsx-".concat(N.__hash)+" visually-hidden",children:"Loading..."})})}):(G?null==B||null===(o=B.search)||void 0===o||null===(o=o.pageInfo)||void 0===o?void 0:o.hasNextPage:null==B||null===(u=B[$.section])||void 0===u||null===(u=u[$.subSection])||void 0===u||null===(u=u.pageInfo)||void 0===u?void 0:u.hasNextPage)&&(0,_.jsx)("div",{className:"jsx-".concat(N.__hash)+" text-center mt-2",children:(0,_.jsx)("button",{onClick:ep,type:"button",className:"jsx-".concat(N.__hash)+" btn btn-outline-dark",children:"Load More"})}),(0,_.jsx)(m(),{id:N.__hash,children:N})]})},I=n(80230),O=n(5152),L=n.n(O),P=n(26689),M=n.n(P),T=n(70542),z=n(40385),E=n(67314),D=n(30381),$=n.n(D),q=n(86399),W=n(2287),B=n(47410),F=n(41609),Q=n.n(F);function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}function R(e){for(var t=1;t0&&(0,_.jsxs)("span",{className:"bg-success px-1 text-white rounded",children:[o," Tests Free"]})]}),(0,_.jsxs)("div",{className:"ms-lg-4",children:[(0,_.jsx)(H,{className:"me-1",fill:"#666",height:16,width:16}),l," attempts"]}),(0,_.jsxs)("div",{className:"ms-lg-4",title:c.map(function(e){return(0,E.fm)(e.name)}).join(", "),children:[(0,_.jsx)(G,{className:"me-1",fill:"#666",height:16,width:16}),(0,_.jsxs)("span",{children:[c.slice(0,3).map(function(e){return(0,E.fm)(e.name)}).join(", "),(0,_.jsx)("span",{className:"text-primary",children:c.length>3&&" +".concat(c.slice(3).length," More")})]})]})]})]})]}),(0,_.jsx)("div",{className:"row mt-2 text-gray fs-md",children:null==p?void 0:p.map(function(e){return(0,_.jsxs)("div",{className:"col-6",children:[(0,_.jsx)(U,{className:"me-1",fill:"var(--bs-success)",width:15}),e.count," ",e.name]},e.name)})}),(0,_.jsxs)("div",{className:"text-gray fs-md mt-4 d-flex align-items-center",children:[(0,_.jsx)(J,{className:"me-1",fill:"var(--bs-gray-500)",height:12})," ","Last updated at:"," ",$()(d).format("Do MMMM, YYYY, hh:mm A")]})]}),x?(0,_.jsx)("div",{className:"d-only",style:{minWidth:"300px"},children:(0,_.jsx)(B.Z,{})}):(0,_.jsx)("div",{className:"d-flex flex-column align-items-center",children:(0,_.jsxs)("div",{className:"shadow p-4 d-only",style:{borderRadius:"16px"},children:[(0,_.jsx)("div",{className:"fw-bold text-nowrap",children:"Start Your Exam Preparation Today!"}),(0,_.jsx)("button",{className:"btn btn-secondary w-100 mt-4",onClick:function(){return f((0,q.p)(W.Q.LOGIN,{title:"Start Test",payment:!0}))},type:"button",children:"Signup & Take Free Test"})]})})]})}),(0,_.jsxs)("div",{className:"page-container mobile-container my-6",children:[(0,_.jsx)(Z,R({},e)),!Q()(h)&&(0,_.jsx)("div",{dangerouslySetInnerHTML:{__html:h}}),(0,_.jsx)("hr",{className:"bg-gray-300"}),(0,_.jsx)(X,{plus:!0})]})]})};K.getInitialProps=(s=(0,r.Z)(l().mark(function e(t){var n,s,r,a,o,c,u,d,h,m,x,f,v,w;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=M()(t)["prepp-token"],r=t.isServer,o=(a=t.query.testSeries).split("-").pop(),e.prev=4,e.next=7,(0,p.eS)({id:o});case 7:if(u=(c=e.sent.data.testSeries).name,!(a!=="".concat(u.en.toLowerCase().replaceAll(/[^a-z0-9()]/g,"-"),"-").concat(o))){e.next=12;break}return e.abrupt("return",{redirect:{status:301,target:"test-series/tests/".concat(u.en.toLowerCase().replaceAll(/[^a-z0-9()]/g,"-"),"-").concat(o)}});case 12:e.next=18;break;case 14:return e.prev=14,e.t0=e.catch(4),console.error(e.t0),e.abrupt("return",{statusCode:404});case 18:return m="default",e.prev=19,x=c.testCount,h=(0,i.Z)(x,1)[0].testType,(f=(0,i.Z)(x,1)[0].subSections).length>1&&(m=(0,i.Z)(f,1)[0].name),e.next=27,(0,p.IE)(R(R({id:o,token:s,type:h},"default"!==m&&{subSection:m}),{},{pageSize:8}));case 27:d=e.sent.data.testSeries.tests,e.next=35;break;case 31:return e.prev=31,e.t1=e.catch(19),console.error(e.t1),e.abrupt("return",{statusCode:404});case 35:return v=[{name:"Home",url:"/"},{name:"Test Series",url:"/test-series"},{name:null===(n=c)||void 0===n?void 0:n.name.en}],w=[(0,T.um)(v.slice(1))],e.abrupt("return",R(R({schemaJsonLd:w,breadcrumbs:v,testSeries:a,testSeriesId:o,tests:d,section:0,subSection:"default"!==m?0:m},c),{},{fetchFromServer:r}));case 38:case"end":return e.stop()}},e,null,[[4,14],[19,31]])})),function(e){return s.apply(this,arguments)});var ee=K},70542:function(e,t,n){"use strict";n.d(t,{EQ:function(){return v},Eo:function(){return m},Q1:function(){return f},Sk:function(){return w},um:function(){return x}});var s=n(90116),i=n(59499),r=n(17674),a=n(41609),o=n.n(a),l=n(30381),c=n.n(l),u=n(97381);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}function d(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[],t={"@context":"https://schema.org","@type":"WebPage",breadcrumb:{"@type":"BreadcrumbList",itemListElement:[]}},n=e.map(function(e,t,n){return d({"@type":"ListItem",position:t+2,name:e.name},t!==n.length-1&&{item:"https://prepp.in".concat(e.url)})});return t.breadcrumb.itemListElement=[{"@type":"ListItem",position:1,name:"Home",item:"https://prepp.in"}].concat((0,s.Z)(n)),JSON.stringify(t)},f=function(e,t,n,s,i,r){var a,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,c=arguments.length>7?arguments[7]:void 0,p=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"",m=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[],x=l?{"@type":"Organization",name:l.name||"Prepp Team",url:(null===(a=l.socialLinks)||void 0===a||null===(a=a.find(function(e){return"website"===e.app}))||void 0===a?void 0:a.link)||"https://prepp.in"}:{"@type":"Organization",name:"Prepp Team",url:"https://prepp.in"},f=n.findIndex(function(e){return e.isCorrect}),v=(0,u.Z)(s)||h(s)||'""',w=d(d({"@context":"https://schema.org/","@type":"QAPage"},m.length>0&&{educationalLevel:m.map(function(e){return e.tagName}).join(", ")}),{},{mainEntity:{"@type":"Question",name:(0,u.Z)(t),text:(0,u.Z)(t),dateCreated:i,dateModified:r,answerCount:1,author:x,acceptedAnswer:{"@type":"Answer",text:(0,u.Z)(s)||h(s)||'""',dateCreated:i,position:-1!==f?f+1:void 0,upvoteCount:c||0,url:"".concat(e,"#solution"),author:x,comment:{"@type":"Comment",text:v}},suggestedAnswer:[]},publisher:{"@type":"Organization",name:"Prepp.in",url:"https://prepp.in",logo:{"@type":"ImageObject",url:"https://cdn.prepp.in/logo.png"}}}),b=n.map(function(t,n){var r,a;return(t.isCorrect&&o()((0,u.Z)(s))&&(w.mainEntity.acceptedAnswer.text=(0,u.Z)(null==t||null===(r=t.content)||void 0===r?void 0:r.default)||'""'),t.isCorrect)?null:{"@type":"Answer",text:(0,u.Z)(null==t||null===(a=t.content)||void 0===a?void 0:a.default)||'""',dateCreated:i,position:n+1,upvoteCount:0,url:e,author:x}}).filter(Boolean);return w.mainEntity.suggestedAnswer=b,p&&(w.mainEntity.about=p),JSON.stringify(w)},v=function(e,t,n,i,r,a,o,l,c){var p,d={"@context":"https://schema.org/","@type":"Quiz",typicalAgeRange:"20-35",educationalLevel:l,assesses:"".concat(r," - ").concat(i),educationalAlignment:[{"@type":"AlignmentObject",alignmentType:"educationalTopic",targetName:i},{"@type":"AlignmentObject",alignmentType:"educationalSubject",targetName:r},{"@type":"AlignmentObject",alignmentType:"educationalExam",targetName:l}],name:"Quiz about ".concat(i),about:{"@type":"Thing",name:"".concat(r," - ").concat(i)},hasPart:[{"@type":"Question",eduQuestionType:"Multiple choice",learningResourceType:"Practice problem",educationalLevel:"intermediate",name:"Question About ".concat(i),text:(0,u.Z)(e)||'""',encodingFormat:"text/markdown",comment:{"@type":"Comment",text:(0,u.Z)(c)||'""'},suggestedAnswer:[],acceptedAnswer:{"@type":"Answer",position:o+1,encodingFormat:"text/markdown",text:(null===(p=a[0])||void 0===p||null===(p=p.content)||void 0===p?void 0:p.default)||'""',answerExplanation:{"@type":"Comment",text:(0,u.Z)(n)||'""'},comment:{"@type":"Comment",text:'""'}}}]},h=t.map(function(e,t){var n;return{"@type":"Answer",position:t+1,encodingFormat:"text/markdown",text:(0,u.Z)(null==e||null===(n=e.content)||void 0===n?void 0:n.default)||'""',author:{"@type":"Person",name:"Prepp Team",url:"https://prepp.in"},comment:{"@type":"Comment",text:'""'}}});return d.hasPart[0].suggestedAnswer=(0,s.Z)(h),JSON.stringify(d)},w=function(e){var t,n,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"https://prepp.in",a=e.testBySlug,o=a.name,l=a.exams,c=a.sections,p=void 0===c?[]:c,h=a.slug,m=a.createdAt,x=a.updatedAt,f=(null==o?void 0:o.en)||(null==o?void 0:o.default)||"Practice Test",v=(null===(t=(void 0===l?[]:l)[0])||void 0===t?void 0:t.tagName)||"",w=p.flatMap(function(e){return e.questions||[]}),b=(0,s.Z)(new Set(w.map(function(e){var t,n=null===(t=e.subject)||void 0===t?void 0:t.name;return n&&(n.en||n.default||Object.values(n).find(function(e){return e}))||null}).filter(Boolean))),g=[],j=p&&p.length>0?(null===(n=p[0].name)||void 0===n?void 0:n.en)||(null===(i=p[0].name)||void 0===i?void 0:i.default):null;j&&g.push({"@type":"AlignmentObject",alignmentType:"educationalSubject",targetName:j});var y=b&&b.length>0?b[0]:null;return y&&y!==j&&g.push({"@type":"AlignmentObject",alignmentType:"educationalSubject",targetName:y}),JSON.stringify({"@context":"https://schema.org","@type":"Quiz",typicalAgeRange:"14-50",educationalLevel:v,name:f,about:{"@type":"Thing",name:v},url:"".concat(r,"/paper/").concat(h),dateCreated:m,dateModified:x,educationalAlignment:g,author:{"@type":"Organization",name:"Prepp.in",url:"https://prepp.in"},publisher:{"@type":"Organization",name:"Prepp.in",logo:{"@type":"ImageObject",url:"https://cdn.prepp.in/logo.png"}},hasPart:w.slice(0,5).map(function(e){var t=(0,u.Z)((null===(o=e.text)||void 0===o?void 0:o.default)||(null===(l=e.text)||void 0===l?void 0:l.en)||""),n=(0,u.Z)((null===(c=e.solution)||void 0===c||null===(c=c.text)||void 0===c?void 0:c.default)||""),s=(null===(p=e.options)||void 0===p?void 0:p.filter(function(e){return e.isCorrect}))||[],i=null===(x=e.options)||void 0===x?void 0:x.findIndex(function(e){return e.isCorrect}),a={"@type":"Question",eduQuestionType:"Multiple choice",learningResourceType:"Practice problem",name:t.substring(0,100)||"Question",text:t||'""',dateCreated:m,encodingFormat:"text/html"};if("SINGLE_ANSWER_MCQ"===e.type||"MULTIPLE_ANSWER_MCQ"===e.type){var o,l,c,p,x,f,v,w,b=s[0],g=(0,u.Z)((null==b||null===(f=b.content)||void 0===f?void 0:f.default)||(null==b||null===(v=b.content)||void 0===v?void 0:v.en)||"");return d(d({},a),{},{suggestedAnswer:(null===(w=e.options)||void 0===w?void 0:w.filter(function(e){return!e.isCorrect}).map(function(e,t){var n,s;return{"@type":"Answer",text:(0,u.Z)((null===(n=e.content)||void 0===n?void 0:n.default)||(null===(s=e.content)||void 0===s?void 0:s.en)||""),position:t+1,dateCreated:m,encodingFormat:"text/html"}}))||[],acceptedAnswer:{"@type":"Answer",text:g||'""',position:i+1,dateCreated:m,encodingFormat:"text/html",url:e.slug?"".concat(r,"/question/").concat(e.slug):"".concat(r,"/paper/").concat(h),answerExplanation:{"@type":"Comment",text:n||"Correct answer is ".concat(g)},upvoteCount:0}})}if("RANGE_QUESTION"===e.type){var j=e.answerRange?"Range: ".concat(e.answerRange[0]," to ").concat(e.answerRange[1]):'""';return d(d({},a),{},{acceptedAnswer:{"@type":"Answer",text:j,position:1,dateCreated:m,encodingFormat:"text/html",url:e.slug?"".concat(r,"/question/").concat(e.slug):"".concat(r,"/paper/").concat(h),answerExplanation:{"@type":"Comment",text:n||j},upvoteCount:0}})}return a})})}},97381:function(e,t,n){"use strict";function s(e){var t;return null==e||null===(t=e.replace(/(<([^>]+)>)/gi,""))||void 0===t||null===(t=t.replace(/(\\\[)|(\\\])/gi,"$$"))||void 0===t||null===(t=t.replace(/\s+/gi," "))||void 0===t?void 0:t.trim()}n.d(t,{Z:function(){return s}})},63640:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/test-series/tests/[testSeries]",function(){return n(13530)}])}},function(e){e.O(0,[4885,1852,8756,385,2962,2224,9265,1986,816,9063,9550,2888,9774,179],function(){return e(e.s=63640)}),_N_E=e.O()}]);