PageSourceSearch

https://store.iasgs.com/_next/static/chunks/7093.42c17df6540d7685.js

js iasgs.com collected 2026-10-03 18:31:52 UTC 47,918 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7093],{53219:function(e,t,n){n.d(t,{Z:function(){return r}});const r=(0,n(91373).Z)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},82701:function(e,t,n){n.d(t,{Z:function(){return r}});const r=(0,n(91373).Z)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},36453:function(e,t,n){n.d(t,{$l:function(){return i},EZ:function(){return c},IU:function(){return s},Kk:function(){return l},WJ:function(){return u},s1:function(){return d},x1:function(){return o}});var r=n(26042),a=n(29061),s=function(e){return a.Z.get("/get/notes2_unique_categories",{baseURL:e}).then((function(e){return e.data.data}))},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return a.Z.get("/get/notes2_list",{baseURL:e,params:{category:t,start:n}}).then((function(e){return e.data}))},o=function(e,t){return a.Z.get("/get/notes2_by_id",{baseURL:e,params:{id:t}}).then((function(e){return e.data}))},i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",l=arguments.length>4?arguments[4]:void 0;return a.Z.get("/get/studymaterialbytype",{baseURL:e,params:(0,r.Z)({start:n,type:t,search:s},l&&{category:l})}).then((function(e){return e.data}))},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return a.Z.get("/get/ext_book_categories",{baseURL:e,params:{start:0,type:t,search:n}}).then((function(e){return e.data}))},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=arguments.length>2?arguments[2]:void 0,s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return a.Z.get("/get/purchasedlivecourseclassbytypev2",{baseURL:e,params:(0,r.Z)({userid:t,start:n},s&&{include_free_classes:1})}).then((function(e){return e.data.data}))},u=function(e,t,n){return a.Z.get("/get/studymaterial_by_id",{baseURL:e,params:{id:t,type:n}}).then((function(e){return e.data})).catch((function(e){}))}},40981:function(e,t,n){n.d(t,{sB:function(){return i},fc:function(){return m},i9:function(){return u},tN:function(){return d},ZP:function(){return x},mZ:function(){return c}});var r=n(26042),a=n(69396),s=n(85893),l=n(62461);function o(e){var t=e.backColor,n=void 0===t?"#85B6F5":t,r=e.frontColor,a=void 0===r?"#609CE9":r,l=e.detailColor,o=void 0===l?"white":l,i=e.className;return(0,s.jsxs)("svg",{width:"84",height:"77",viewBox:"0 0 84 77",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,children:[(0,s.jsx)("path",{d:"M62.8735 10.88C63.7891 10.6884 64.9641 10.3923 66.1094 10.4146L66.1134 10.4148C67.6893 10.4511 69.2239 10.9297 70.5406 11.7968L70.8572 12.0141C74.0375 14.2838 74.3331 17.5608 74.9577 20.573L76.4549 27.7515L81.6648 52.3296L81.6652 52.3315C81.949 53.6832 82.2315 55.004 82.1927 56.3245C82.1526 57.6933 81.7712 59.031 80.8154 60.4824L80.8165 60.4831C79.8887 61.9024 78.5564 63.0103 76.9919 63.664L76.9873 63.666C76.4336 63.8943 75.6694 64.0896 74.9649 64.2484C74.2524 64.409 73.5023 64.5532 73.0004 64.6581L72.9994 64.6583L67.1365 65.8771L48.4689 69.8473L48.4651 69.8481L36.359 72.371L33.2915 73.0218C32.5271 73.1867 31.4579 73.4642 30.4612 73.5183L30.0389 73.5266C25.8228 73.4552 22.3602 70.2686 21.7765 66.1489C21.7014 65.6188 21.53 64.941 21.3921 64.3058L20.6073 60.7435C20.3487 59.5552 20.0935 58.3661 19.8413 57.1763L19.8401 57.1706C18.1002 48.7319 16.3175 40.3018 14.4928 31.881L14.2747 30.8591C13.7866 28.4838 13.535 26.1509 15.2425 23.5226C16.1708 22.0722 17.5224 20.9417 19.1142 20.285L19.1144 20.2859C20.3027 19.7885 22.2784 19.4214 23.3898 19.1897L28.6766 18.0881L47.7026 14.081L47.7024 14.0801L50.7947 13.4092L50.8013 13.4078L60.0339 11.4752L62.8726 10.8802L62.8735 10.88Z",fill:n,stroke:o,strokeWidth:"2"}),(0,s.jsx)("path",{d:"M59.868 31.5564C60.2127 31.4684 60.5481 31.376 60.9034 31.3484C61.5065 31.2969 62.1112 31.4238 62.6434 31.7129C63.1699 31.9959 63.8669 32.5606 64.3
1672 32.9414L66.9016 34.8694L71.3881 38.2627C72.2308 38.8987 73.3407 39.6909 74.1252 40.3653C74.8549 44.0409 75.6938 47.7954 76.4635 51.4764L76.987 53.977C77.1038 54.5301 77.3097 55.296 77.3091 55.8478C77.3284 57.2218 76.2948 58.776 74.956 59.1787C73.8856 59.5011 72.5643 59.7271 71.4484 59.9594C69.1123 60.4369 66.7795 60.9273 64.4489 61.4304C57.6485 62.9104 50.8401 64.3542 44.024 65.7618C40.3388 66.5158 36.6584 67.2926 32.9827 68.0918C32.4997 68.2062 32.0151 68.3135 31.5293 68.4154C30.2571 68.6749 29.3748 68.7529 28.2087 68.0079C27.72 67.6957 27.1992 67.0927 26.9834 66.5573C26.5559 65.4969 26.3278 64.0746 26.0812 62.9278C25.7131 61.2722 25.3589 59.6137 25.0185 57.9518C26.3176 56.2606 27.5409 54.4339 28.8438 52.7263C29.8246 51.5481 30.76 49.7247 31.9772 48.8141C33.7176 47.513 36.1948 48.8556 37.9199 49.4918L43.1085 51.4024C43.7235 51.6305 44.3789 51.8904 44.9771 52.0826C46.2569 52.4937 47.9066 52.0481 48.7309 50.972C49.0043 50.6146 49.2062 50.2804 49.4118 49.8749C49.6129 49.4786 49.8249 49.0829 50.0288 48.6861L51.6457 45.5271L56.4847 36.1039C56.8755 35.3448 57.2888 34.5514 57.6614 33.7844C58.202 32.6718 58.6836 32.0148 59.868 31.5564Z",fill:o}),(0,s.jsx)("path",{d:"M29.7947 27.9438C32.2013 26.939 34.9669 28.0747 35.9736 30.4812C36.9803 32.8876 35.8473 35.6546 33.4424 36.6632C31.0347 37.6729 28.2644 36.5379 27.2566 34.1287C26.2488 31.7196 27.3854 28.9497 29.7947 27.9438Z",fill:o}),(0,s.jsx)("path",{d:"M50.3952 4.03936C52.3889 3.56556 54.0141 3.51051 55.9799 4.29823C57.8045 5.02691 59.3201 6.36601 60.268 8.08724C60.586 8.66805 60.9085 9.46887 61.1754 10.0891L31.8015 16.3297L23.4464 18.1042C21.6693 18.4827 19.5632 18.7809 17.9556 19.603C14.1245 21.5621 12.1378 25.9173 12.9741 30.1089C13.4701 32.5947 14.0218 35.0795 14.5512 37.5632L18.0261 53.7545C18.6857 56.7823 19.3296 59.8139 19.9578 62.8487C20.6061 65.9658 20.9265 69.3929 23.3176 71.7251C23.575 71.9762 23.9317 72.2786 24.1563 72.5365L24.1093 72.5575C23.5912 72.3768 23.0887 72.1535 22.607 71.8904C21.2639 71.1682 20.1482 70.086 19.3846 68.7657C18.7731 67.7257 17.9018 65.494 17.3866 64.2978L13.3178 54.7676L6.74248 39.4121L4.89948 35.0946C4.48754 34.1348 3.92765 32.9215 3.64814 31.9406C3.04699 29.8312 3.3814 27.3927 4.45804 25.4889C5.20344 24.1766 6.2832 23.0854 7.58735 22.3262C8.33198 21.8975 9.33276 21.5026 10.1371 21.1603L14.0252 19.5089L27.047 13.9445L42.96 7.14014L47.483 5.20706C48.3122 4.85163 49.5623 4.27457 50.3952 4.03936Z",fill:a})]})}var i=[{signature:"#609CE9",gradientLight:"radial-gradient(87.85% 151.18% at 66.25% 40.18%, #FAFAFA 0%, #E0F2FE 100%)",gradientDark:"radial-gradient(87.85% 151.18% at 66.25% 40.18%, #1C1F24 0%, #1E3A4C 100%)",iconLight:{back:"#85B6F5",front:"#609CE9"},iconDark:{back:"#4C7FC1",front:"#295997"}},{signature:"#ECA35A",gradientLight:"radial-gradient(123.21% 218.11% at 66.25% 40.18%, #FAFAFA 0%, #F5E1CD 100%)",gradientDark:"radial-gradient(123.21% 218.11% at 66.25% 40.18%, #1C1815 0%, #5A4A3D 100%)",iconLight:{back:"#FBC187",front:"#ECA35A"},iconDark:{back:"#C4844A",front:"#A26930"}},{signature:"#967CFA",gradientLight:"radial-gradient(126.18% 219.33% at 66.25% 40.18%, #FFFFFF 0%, #E9E6F9 100%)",gradientDark:"radial-gradient(126.18% 219.33% at 66.25% 40.18%, #1C1A22 0%, #3A3452 100%)",iconLight:{back:"#B1A1ED",front:"#967CFA"},iconDark:{back:"#7E6BCB",front:"#5B44B0"}},{signature:"#E185AA",gradientLight:"radial-gradient(126.18% 219.33% at 66.25% 40.18%, #FFFFFF 0%, #FCE7F3 100%)",gradientDark:"radial-gradient(126.18% 219.33% at 66.25% 40.18%, #1E1A1D 0%, #4A2F3F 100%)",iconLight:{back:"#FFC2DA",front:"#E185AA"},iconDark:{back:"#C97A9D",front:"#BE5780"}},{signature:"#6DD7B7",gradientLight:"radial-gradient(112.51% 188.15% at 66.25% 40.18%, #FFFFFF 0%, #C3FBD9 100%)",gradientDark:"radial-gradient(126.18% 219.33% at 66.25% 40.18%, #18201C 0%, #2C5545 100%)",iconLight:{back:"#85ECD4",front:"#6DD7B7"},iconDark:{back:"#4FBFA6",front:"#3DA284"}}],c=function(e){return"linear-gradient(to right, ".concat(e," 1px, transparent 1px), linear-gradient(to bottom, ").concat(e," 1px, transparent 1px)")},d="radial-gradient(ellipse at center, #000 35%, transparent 90%)",u="1A",m="
11A";function x(e){var t=e.seed,n=e.variantIndex,x=void 0===n?null:n,h=e.className,g=null!=x?(x%i.length+i.length)%i.length:function(e,t){for(var n=String(null!==e&&void 0!==e?e:""),r=0,a=0;a<n.length;a++)r=(r+n.charCodeAt(a))%t;return r}(t,i.length),f=i[g],p={backgroundSize:"24px 24px",WebkitMaskImage:d,maskImage:d};return(0,s.jsxs)("div",{className:(0,l.cn)("relative flex h-full w-full items-center justify-center overflow-hidden",h),children:[(0,s.jsx)("div",{className:"absolute inset-0 dark:hidden",style:{background:f.gradientLight}}),(0,s.jsx)("div",{className:"absolute inset-0 hidden dark:block",style:{background:f.gradientDark}}),(0,s.jsx)("div",{className:"absolute inset-0 dark:hidden",style:(0,a.Z)((0,r.Z)({},p),{backgroundImage:c("".concat(f.signature).concat(u))})}),(0,s.jsx)("div",{className:"absolute inset-0 hidden dark:block",style:(0,a.Z)((0,r.Z)({},p),{backgroundImage:c("".concat(f.signature).concat(m))})}),(0,s.jsx)(o,{backColor:f.iconLight.back,frontColor:f.iconLight.front,detailColor:"white",className:"relative h-auto w-1/4 dark:hidden"}),(0,s.jsx)(o,{backColor:f.iconDark.back,frontColor:f.iconDark.front,detailColor:"#2A2A2A",className:"relative hidden h-auto w-1/4 dark:block"})]})}},89621:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(85893),a=(n(67294),n(64998)),s=n(98388),l=n(90512);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.m6)((0,l.W)(t))}var i=function(e){var t=e.text,n=e.bgColor,s=void 0===n?"bg-muted":n,l=e.icon,i=e.link,c=e.className,d=e.iconClassName,u=e.textClassName,m=e.chevronClassName,x=(0,r.jsxs)("div",{className:"flex-shrink-0 w-full flex flex-col gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,r.jsx)("img",{src:l,alt:t,className:o("w-7 max-w-md h-auto flex-shrink-0",d)}),(0,r.jsx)(a.Z,{className:o("size-4 flex-shrink-0",m)})]}),(0,r.jsx)("p",{className:o("text-sm mb-0 font-semibold text-foreground leading-tight flex-1",u),children:t})]}),h=o(s,"rounded-2xl p-4 flex flex-col gap-3 cursor-pointer shadow-sm lg:hover:shadow-lg dark:shadow-none dark:hover:shadow-none dark:ring-1 dark:ring-inset dark:ring-white/5 transition-all duration-200 group no-underline w-full max-lg:min-w-[180px] max-lg:max-w-[220px] lg:min-w-[160px] lg:max-w-[180px] flex-shrink-0",c);return i?(0,r.jsx)("a",{href:i,className:h,children:x}):(0,r.jsx)("div",{className:h,children:x})};function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.m6)((0,l.W)(t))}var d=function(e){var t=e.ytChannel,n=e.title,a=void 0===n?"Popular features":n,s=e.showPremiumCourses,l=void 0===s||s,o=e.showNotesPDF,d=void 0===o||o,u=e.showAssignments,m=void 0===u||u,x=e.showYouTube,h=void 0===x||x,g=e.showBooks,f=void 0===g||g,p=e.showLiveVideos,b=void 0===p||p,v=e.premiumCoursesLink,w=void 0===v?"/new-courses":v,C=e.notesPDFLink,N=void 0===C?"/study-material":C,k=e.assignmentsLink,j=void 0===k?"/test-series":k,y=e.booksLink,F=void 0===y?"/exterior-books":y,_=e.liveVideosLink,E=void 0===_?"/free-courses":_,L=e.containerClassName,Z=e.innerContainerClassName,A=e.titleClassName,B=e.titleBadgeClassName,S=e.featuresContainerClassName,D=e.features,T=e.visible;if(!(void 0===T||T))return null;var R=D||[{text:"Explore our Premium Courses",bgColor:"bg-blue-50",icon:"/scienceandfun/feat-courses.svg",link:w,show:l},{text:"Get Notes and PDFs",bgColor:"bg-orange-50",icon:"/scienceandfun/feat-notes.svg",link:N,show:d},{text:"Get assignments, quizzes & tests",bgColor:"bg-green-50",icon:"/scienceandfun/feat-quiz.svg",link:j,show:m},{text:"Join our YouTube Channel",bgColor:"bg-red-50",icon:"/scienceandfun/feat-youtube.svg",link:t,show:h},{text:"Books & other study material",bgColor:"bg-purple-50",icon:"/scienceandfun/feat-books.svg",link:F,show:f},{text:"Access Live & free videos",bgColor:"bg-violet-50",icon:"/scienceandfun/feat-live.svg",link:E,show:b}].filter((function(e){return!1!==e.show}));return(0,r.jsx)("div",{className:c("px-4 md:px-6 lg:px-0 z-10",L),children:(0,r.jsxs)("div",{className:c("py-4 shadow-lg dark:shadow-none dark:ring-1 dark:ring-inset dark:ring-white/5 bg-background rounded-2xl w-full max-w-7xl mx-auto overflow-hidden",Z,"max-lg:w-full"),children:[(0,r.jsx)("div",{className:"px-4 md:px-6",children:(0,r.jsx)("div",{className:c("bg-[#F7E402] rounded-full mb-4 md:mb-8 w-fit shrink-0",B),children:(0,r.jsx)("h2",{className:c("text-lg md:text-xl font-bold text-black px-3 md:px-4 py-1",A),children:a})})}),(0,r.jsx)("div",{className:c("flex max-lg:overflow-x-auto lg:flex-wrap gap-4 no-scrollbar snap-x snap-mandatory lg:px-6 w-full",S),children:R.map((function(e,t){return(0,r.jsx)(i,{className:c("max-lg:first:ml-4 max-lg:last:mr-4",e.className),text:e.text,bgColor:e.bgColor,
1icon:e.icon,link:e.link,iconClassName:e.iconClassName,textClassName:e.textClassName,chevronClassName:e.chevronClassName},t)}))})]})})}},95537:function(e,t,n){n.d(t,{y:function(){return o}});var r=n(85893),a=n(67294),s=n(8971),l=/((?:https?:\/\/|www\.)[^\s<]+)/gi;function o(e){var t=e.text,n=e.fade,o=void 0!==n&&n,i=e.collapsedHeight,c=void 0===i?160:i,d=(0,a.useState)(!1),u=d[0],m=d[1],x=(0,a.useState)(!1),h=x[0],g=x[1],f=(0,a.useState)(0),p=f[0],b=f[1],v=(0,a.useRef)(null),w=(0,a.useRef)();(0,a.useEffect)((function(){var e=v.current;if(e){!function(e){for(var t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode:function(e){var t=e.parentElement;return!t||t.closest("a, script, style")?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),n=[],r=t.nextNode();r;)n.push(r),r=t.nextNode();n.forEach((function(e){var t,n=e.data;if(l.lastIndex=0,l.test(n)){l.lastIndex=0;for(var r,a=document.createDocumentFragment(),s=0;r=l.exec(n);){var o=r[0],i=o.match(/[.,;:!?)\]}'"]+$/);if(i&&(o=o.slice(0,-i[0].length)),o){r.index>s&&a.appendChild(document.createTextNode(n.slice(s,r.index)));var c=document.createElement("a");c.href=o.startsWith("http")?o:"https://".concat(o),c.textContent=o,c.target="_blank",c.rel="noopener noreferrer",c.className="text-primary underline break-words",a.appendChild(c),s=r.index+o.length}}s<n.length&&a.appendChild(document.createTextNode(n.slice(s))),null===(t=e.parentNode)||void 0===t||t.replaceChild(a,e)}}))}(e);var t=function(){return b(Math.ceil(e.getBoundingClientRect().height))};if(t(),"undefined"!==typeof ResizeObserver){var n=new ResizeObserver(t);return n.observe(e),function(){return n.disconnect()}}}}),[t]),(0,a.useEffect)((function(){return function(){return clearTimeout(w.current)}}),[]);var C=p>c+16,N=C&&!u,k=C?u?h?p:void 0:c:void 0;return(0,r.jsxs)("div",{className:"flex w-full flex-col items-start text-[15px] leading-relaxed text-muted-foreground",children:[(0,r.jsxs)("div",{className:"relative w-full overflow-hidden transition-[max-height] duration-500 ease-[cubic-bezier(0.4,0,0.2,1)] motion-reduce:transition-none",style:void 0===k?void 0:{maxHeight:k},children:[(0,r.jsx)("div",{ref:v,className:"[&>*:last-child]:mb-0",dangerouslySetInnerHTML:{__html:t}}),o&&(0,r.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 h-16 bg-gradient-to-t from-card via-card/70 to-transparent transition-opacity duration-300 ease-out motion-reduce:transition-none ".concat(N?"opacity-100":"opacity-0")})]}),C&&(0,r.jsxs)("button",{type:"button",onClick:function(){clearTimeout(w.current),g(!0),w.current=setTimeout((function(){return g(!1)}),600),u?requestAnimationFrame((function(){return requestAnimationFrame((function(){return m(!1)}))})):m(!0)},"aria-expanded":u,className:"-ml-1 mt-2 inline-flex items-center gap-1 rounded-md px-1 py-1 text-sm font-medium text-primary outline-none transition-colors duration-200 hover:bg-primary/5 focus-visible:ring-2 focus-visible:ring-ring",children:[u?"Read less":"Read more",(0,r.jsx)(s.Z,{className:"h-4 w-4 transition-transform duration-300 ease-out motion-reduce:transition-none ".concat(u?"-rotate-180":"rotate-0")})]})]})}},96754:function(e,t,n){n.d(t,{L:function(){return c}});var r=n(26042),a=n(29815),s=n(85893),l=n(67294),o=n(40981),i=n(58265),c=function(e){var t=e.imageStr,n=e.title,c=void 0===n?"":n,d=e.imgHeight,u=void 0===d?"200":d,m=e.mode,x=void 0===m?"blur-bg":m,h=e.fallbackSeed,g=e.variantIndex,f=e.eager,p=void 0!==f&&f,b=(0,l.useMemo)((function(){return(0,i.V2)(t)}),[t]),v=(0,l.useState)(0),w=v[0],C=v[1],N=(0,l.useState)(new Set),k=N[0],j=N[1],y=(0,l.useRef)(0),F=(0,l.useMemo)((function(){return b.filter((function(e){return!k.has(e)}))}),[k,b]);(0,l.useEffect)((function(){C(0),j(new Set)}),[t]),(0,l.useEffect)((function(){if(!(F.length<=1)){var e=setInterval((function(){return C((function(e){return(e+1)%F.length}))}),7e3);return function(){return clearInterval(e)}}}),[F.length]);var _=(0,l.useCallback)((function(e){j((function(t){return new Set((0,a.Z)(t).concat([e]))})),C(0)}),[]),E=function(e){y.current=e.touches[0].clientX},L=function(e){if(!(F.length<=1)){var t=y.current-e.changedTouches[0].clientX;Math.abs(t)>30&&C(t>0?function(e){return(e+1)%F.length}:function(e){return(e-1+F.length)%F.length})}};if(0===F.length)return(0,s.jsx)(o.ZP,{seed:null!==h&&void 0!==h?h:c,variantIndex:g,className:"h-full"});var Z=F[w%F.length],A=F.length>1&&(0,s.jsx)("div",{className:"absolute bottom-2 left-0 right-0 flex justify-center gap-1.5 z-10",children:F.map((function(e,t){return(0,s.jsx)("button",{onClick:function(e){e.stopPropagation(),C(t)},className:"w-2 h-2 rounded-full transition-all ".concat(t===w?"bg-background scale-125":"bg-background/50")},e)}))});if("cover"===x)return(0,s.jsxs)("div",{className:"relative w-full h-full overflow-hidden",onTouchStart:E,onTouchEnd:L,children:[(0,s.jsx)("img",{alt:c,src:Z,onError:function(){return _(Z)},loading:p?"eager":"lazy",decoding:"async",className:"w-full h-full object-cover transition-transform duration-700 group-hover/item:scale-110"}),A]});if("contain"===x)return(0,s.jsxs)("div",{className:"relative w-full h-full flex items-center justify-center",onTouchStart:E,onTouchEnd:L,children:[(0,s.jsx)("img",{alt:c,src:Z,onError:function(){return _(Z)},loading:p?"eager":"lazy",decoding:"async",className:"max-h-full max-w-full w-auto h-auto object-contain p-6 drop-shadow-xl transition-transform duration-500"}),A]});if("blur-bg"===x){var B=u?{height:"".concat(u,"px")}:void 0;return(0,s.jsxs)("div",{className:"relative w-full h-full overflow-hidden",style:B,onTouchStart:E,onTouchEnd:L,children:[(0,s.jsx)("div",{className:"absolute inset-0 w-full h-full scale-110 blur-xl",style:(0,r.Z)({backgroundImage:"url(".concat(Z,")"),backgroundSize:"cover",backgroundPosition:"center"},u?{height:"".concat(u,"px")}:{})}),(0,s.jsx)("img",{alt:c,src:Z,onError:function(){return _(Z)},loading:p?"eager":"lazy",decoding:"async",className:"relative block mx-auto h-full w-auto object-contain",style:B}),A]})}return(0,s.jsxs)("div",{className:"relative w-full h-full",style:{height:"".concat(u,"px")},onTouchStart:E,onTouchEnd:L,children:[(0,s.jsx)("img",{src:Z,alt:c,onError:function(){return _(Z)},loading:p?"eager":"lazy",decoding:"async",className:"w-full object-cover flex-shrink-0 flex h-full",style:{height:"".concat(u,"px"),objectFit:"fill"}}),(0,s.jsx)("img",{src:Z,alt:c,onError:function(){return _(Z)},loading:p?"eager":"lazy",decoding:"async",className:"absolute inset-0 card-img-top flex-shrink-0 flex h-full object-fill",width:"100%",style:{height:"".concat(u,"px")}}),A]})}},26124:function(e,t,n){var r=n(26042),a=n(69396),s=n(99534),l=n(85893);n(67294);t.Z=function(e){var t=e.className,n=e.width,o=void 0===n?48:n,i=e.he
1ight,c=void 0===i?44:i,d=e.color,u=void 0===d?"#CC66FF":d,m=(0,s.Z)(e,["className","width","height","color"]);return(0,l.jsxs)("svg",(0,a.Z)((0,r.Z)({width:o,height:c,className:t,viewBox:"0 0 48 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m),{children:[(0,l.jsx)("path",{d:"M17.8197 26.3573C24.0709 21.2382 38.039 10.9432 43.9019 10.7154",stroke:u,strokeWidth:"4",strokeLinecap:"round"}),(0,l.jsx)("path",{d:"M19.7917 34.0644C25.5473 32.7886 38.0318 30.6823 41.9246 32.4638",stroke:u,strokeWidth:"4",strokeLinecap:"round"}),(0,l.jsx)("path",{d:"M10.6201 22.3059C12.6737 16.7798 17.6831 5.1521 21.2928 2.85024",stroke:u,strokeWidth:"4",strokeLinecap:"round"})]}))}},13887:function(e,t,n){var r=n(99534),a=n(85893);n(67294);t.Z=function(e){var t=e.className,n=e.width,s=void 0===n?48:n,l=e.height,o=void 0===l?44:l,i=e.color,c=void 0===i?"#EA4335":i;return(0,r.Z)(e,["className","width","height","color"]),(0,a.jsx)("svg",{width:s,height:o,className:t,viewBox:"0 0 241 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M0.27506 18.3927C62.7623 11.4757 198.315 -1.18226 240.626 3.52228",stroke:c,"stroke-width":"5"})})}},31258:function(e,t,n){n.d(t,{By:function(){return s},KP:function(){return N},Lx:function(){return k},Rg:function(){return f},Sh:function(){return i},WK:function(){return j},YC:function(){return o},dt:function(){return p},fF:function(){return l},fO:function(){return d},hh:function(){return x},ik:function(){return g},k0:function(){return C},k2:function(){return b},lE:function(){return u},nb:function(){return v},oU:function(){return c},r0:function(){return h},rZ:function(){return w},sb:function(){return m},vU:function(){return r},w:function(){return a}});var r="#1A5A86",a="#FFD84D",s="#FF8400",l="#FFFFE2",o="#FFD400",i="#FFCD97",c="#EA4335",d="#CC66FF",u="#FFBF00",m="#FF359A",x="#CC66FF",h="#3269D7",g="#CC66FF",f="#34A853",p="#40BCFF",b="#EA04E6",v="Inter, sans-serif",w="mx-auto w-full max-w-[1280px] px-4 md:px-10",C="https://www.youtube.com/@hrmocks",N="SPECIAL OFFER !",k="40% OFF",j="on all live batches"},93380:function(e,t,n){n.r(t),n.d(t,{default:function(){return te}});var r=n(85893),a=n(67294),s=n(29815),l=n(11163),o=n(89885),i=n(26124);function c(e){var t=e.color,n=e.className,a=void 0===n?"":n;return(0,r.jsx)("svg",{viewBox:"0 0 265 19",fill:"none",preserveAspectRatio:"none",className:a,"aria-hidden":"true",children:(0,r.jsx)("path",{d:"M1.50007 5.48644C81.5924 -0.189314 148.072 -0.498209 263.5 9.12608C133.357 7.1894 93.4341 7.07322 41.0964 13.844C95.0559 14.7141 125.171 10.6433 179.723 16.8272",stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})})}function d(e){var t=e.color,n=e.className,a=void 0===n?"":n;return(0,r.jsx)("svg",{viewBox:"0 0 241 21",fill:"none",preserveAspectRatio:"none",className:a,"aria-hidden":"true",children:(0,r.jsx)("path",{d:"M0.27506 18.3927C62.7623 11.4757 198.315 -1.18226 240.626 3.52228",stroke:t,strokeWidth:"5",strokeLinecap:"round",vectorEffect:"non-scaling-stroke"})})}var u=n(31258),m=n(29823);function x(){return(0,r.jsx)("span",{className:"inline-flex items-center gap-1 rounded-full bg-[#FFF6D6] px-2.5 py-1 lg:px-3 lg:py-1.5",children:(0,s.Z)(Array(5)).map((function(e,t){return(0,r.jsx)("svg",{className:"h-4 w-4 fill-[#F5B301] sm:h-5 sm:w-5 lg:h-6 lg:w-6",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})},t)}))})}function h(){var e=(0,a.useContext)(o.Z),t=e.isLogin,n=e.toggleAuthModal,s=(0,l.useRouter)();return(0,r.jsx)("section",{className:"w-full overflow-hidden bg-white",children:(0,r.jsxs)("div",{className:"".concat(u.rZ," grid grid-cols-1 items-center gap-6 pb-0 pt-4 lg:grid-cols-2 lg:items-start lg:gap-6 lg:pt-6"),children:[(0,r.jsxs)("div",{className:"flex flex-col max-lg:text-center",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1.5 max-lg:justify-center",children:[(0,r.jsxs)("span",{className:"text-sm italic sm:text-base lg:text-xl",style:{color:u.vU},children:["Joined by ",(0,r.jsx)("span",{className:"font-bold",children:"1Lakh+ students"})]}),(0,r.jsx)(x,{})]}),(0,r.jsx)("p",{className:"mb-0 mt-1 text-xs italic sm:text-sm lg:text-base",style:{color:u.vU},children:"Trusted By Haryana Top Rankers & Selected Students!"}),(0,r.jsxs)("h1",{className:"mb-0 mt-8 text-[28px] font-bold leading-tight text-[#111827] sm:text-4xl lg:text-[3.5rem]",children:[(0,r.jsx)("span",{className:"block",children:"Haryana\u2019s No.1"}),(0,r.jsxs)("span",{className:"mt-2.5 block sm:mt-5 lg:mt-7",children:["Testseries"," ",(0,r.jsxs)("span",{className:"relative inline-block",children:["Platform",(0,r.jsx)(c,{color:u.By,className:"absolute -bottom-2 left-0 h-2.5 w-full lg:-bottom-3 lg:h-3.5"}),(0,r.jsx)(i.Z,{color:u.vU,className:"absolute -right-6 -top-3 h-auto w-6 sm:-right-7 sm:-top-4 sm:w-9 lg:-right-9 lg:-top-6 lg:w-11"})]})]})]}),(0,r.jsx)("p",{className:"mb-0 mt-6 text-sm font-medium text-[#111827] sm:text-base lg:text-lg",children:"Practice Like the Real Exam. Score Like a Topper."}),(0,r.jsx)("p",{className:"mb-0 mt-6 max-w-xl text-xs leading-relaxed text-[#4B5563] max-lg:mx-auto sm:text-sm lg:text-[17px] lg:leading-[30px]",children:"Prepare for every Haryana Government Exam with India's most trusted mock test platform featuring Real Exam Pattern, Latest Questions, Detailed Solutions & Performance Analytics."}),(0,r.jsx)("div",{className:"mt-9 flex max-lg:justify-center",children:(0,r.jsx)("button",{type:"button",onClick:function(){t?s.push("/new-courses"):null===n||void 0===n||n()},className:"rounded-lg px-8 py-2.5 text-sm font-semibold text-white transition-colors hover:brightness-110 sm:px-14 sm:py-3 sm:text-base lg:py-3.5 lg:text-xl",style:{backgroundColor:u.vU},children:"Get Started"})})]}),(0,r.jsx)("div",{className:"flex justify-center lg:justify-end",children:(0,r.jsx)("img",{src:"".concat(m.rZ,"/hrmocks/hero-app-mockup.webp"),alt:"HR Mocks app showing Haryana all exam test pass",className:"h-auto w-full max-w-[300px] sm:max-w-md lg:max-w-[519px]"})})]})})}var g=n(98814),f=n(64998),p=n(7126),b=n(89621);function v(e){var t=e.sliderImages,n=void 0===t?[]:t,a=e.ytChannel,s=(null===n||void 0===n?void 0:n.length)>0;return(0,r.jsxs)("section",{className:"relative flex w-full flex-col pb-10 md:pb-14",children:[s&&(0,r.jsx)("div",{className:"w-full pt-8 md:pt-[52px]",style:{backgroundColor:u.fF},children:(0,r.jsx)("div",{className:u.rZ,children:(0,r.jsx)(p.Z,{sliderImages:n,className:"!pb-0 !pt-0",centerPadding:"0",prevIcon:(0,r.jsx)(g.Z,{strokeWidth:2.5}),nextIcon:(0,r.jsx)(f.Z,{strokeWidth:2.5}),imageClassName:"border-0 rounded-3xl",arrowClassName:"h-8 w-8 md:h-[52px] md:w-[52px] rounded-full border-0 bg-[#FFF38D] text-[#948300] hover:bg-[#FFF38D] [&>svg]:!h-4 [&>svg]:!w-4 md:[&>svg]:!h-6 md:[&>svg]:!w-6"})})}),(0,r.jsx)(b.Z,{ytChannel:a,containerClassName:"relative px-4 md:px-10 lg:px-10",innerContainerClassName:(s?"-mt-12 md:-mt-[78px] ":"mt-6 ")+"max-w-[1080px] shadow-md [&>div:first-child]:px-3 [&>div:first-child]:md:px-4",titleClassName:"italic text-lg md:text-xl font-bold text-black px-3 md:px-4 py-1",featuresContainerClassName:"gap-1.5 lg:flex-nowrap lg:px-3 [&>*]:lg:max-w-none [&>*]:lg:min-w-0 [&>*]:lg:flex-1 [&>*]:lg:basis-0 [&>*]:!p-4 [&>*]:!pl-3 [&>*]:!gap-1.5 [&>*>div]:!gap-1.5 [&>*]:relative [&>*>div>div>svg]:absolute [&>*>div>div>svg]:bottom-[26px] [&>*>div>div>svg]:right-3 [&>*>div>p]:pr-5"})]})}var w=n(14924),C=n(26042),N=n(69396),k=n(53219),j=n(82701),y=n(12956),F=n(99209),_=n(62461);function E(e){var t=e.children,n=e.color,a=void 0===n?u.oU:n,s=e.variant,l=void 0===s?"
1straight":s,o="squiggle"===l?c:d;return(0,r.jsxs)("span",{className:"relative inline-block",children:[t,(0,r.jsx)(o,{color:a,className:"squiggle"===l?"absolute -bottom-3 left-0 h-3 w-full lg:-bottom-4 lg:h-5":"absolute -bottom-3 left-0 h-2 w-full lg:-bottom-4 lg:h-2.5"})]})}function L(e){var t=e.children,n=e.className,a=void 0===n?"":n,s=e.sparkleColor,l=void 0===s?u.fO:s;return(0,r.jsxs)("div",{className:"relative w-fit ".concat(a),children:[(0,r.jsx)(i.Z,{color:l,className:"absolute -left-2 -top-3 h-auto w-5 -rotate-90 sm:-left-7 sm:-top-4 sm:w-7"}),(0,r.jsx)("h2",{className:"mb-0 text-2xl font-bold italic leading-[1.7] text-[#111827] sm:text-3xl lg:text-[2.5rem]",children:t})]})}var Z={id:"top-selling",exam_name:"Top selling"},A=function(e){return"\u20b9".concat(Number(e).toLocaleString("en-IN"))};function B(e){var t=e.course,n=t.price_without_gst>0?t.price_without_gst:t.price,a=Number(t.mrp||t.crm_price),s=a>0&&Number(n)>0&&a>Number(n),l=s?Math.ceil((a-Number(n))/a*100):0;return Number(n)>0?(0,r.jsxs)("div",{className:"flex min-h-[40px] items-center justify-between gap-2",children:[(0,r.jsx)("div",{className:"flex items-center gap-1.5",children:s&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-[16px] text-[#94A3B8] line-through",children:A(a)}),(0,r.jsxs)("span",{className:"rounded bg-[#D1FAE5] px-1.5 py-0.5 text-[11px] font-bold text-[#059669]",children:[l,"% off"]})]})}),(0,r.jsx)("span",{className:"text-[28px] font-extrabold text-[#0F172A] lg:text-[34px]",children:A(n)})]}):(0,r.jsx)("span",{className:"text-2xl font-extrabold text-[#059669]",children:"Free"})}function S(e){var t=e.course;return(0,r.jsx)("div",{className:"w-[280px] shrink-0 overflow-hidden rounded-2xl border-2 border-[#C7B201] bg-white shadow-[0px_4px_0px_0px_#C7B201] sm:w-[325px]",children:(0,r.jsx)(y.Z,{courseId:t.id,itemType:10,notCarousel:!0,showLikeButton:!1,cardClassName:"bg-white hover:bg-white lg:hover:bg-white !border-0 !shadow-none !rounded-none",titleClassName:"text-[19px] font-bold text-[#0F172A] leading-snug line-clamp-3 min-h-[78px] mb-0 -mb-1.5",buttonClassName:"rounded-md border-0 bg-[#FFD400] text-[#111827] font-bold !text-[16px] hover:brightness-95 transition-all",buttonVariant:"default",showDottedSeparator:!0,separatorColor:"border-[#C7B201]",title:t.course_name,image:t.course_thumbnail,btnText:"View Details",link:"/new-courses/".concat(t.id,"-").concat(t.course_slug),subText:(0,r.jsx)(B,{course:t})})})}function D(e){var t=e.courses,n=void 0===t?[]:t,l=(0,a.useContext)(o.Z).appConfig,i=(0,a.useState)([]),c=i[0],d=i[1],m=(0,a.useState)(Z.id),x=m[0],h=m[1],g=(0,a.useState)({}),p=g[0],b=g[1],v=(0,a.useRef)(null),y=(0,a.useRef)(null);(0,a.useEffect)((function(){(null===l||void 0===l?void 0:l.web_apiurl)&&(0,F.tT)(l.web_apiurl).then((function(e){return d(e||[])})).catch((function(){return d([])}))}),[null===l||void 0===l?void 0:l.web_apiurl]);var A=[Z].concat((0,s.Z)(c)),B=x===Z.id?n:p[x],D=!B,T=function(e){var t;return null===(t=y.current)||void 0===t?void 0:t.scrollBy({left:357*e,behavior:"smooth"})};return D||0!==B.length||0!==c.length?(0,r.jsx)("section",{className:"w-full overflow-x-hidden bg-white py-12 lg:py-16",children:(0,r.jsxs)("div",{className:u.rZ,children:[(0,r.jsxs)(L,{className:"mb-10 lg:mb-14 [&_h2]:lg:leading-[1.7] [&_h2_svg]:lg:-bottom-1.5",children:[(0,r.jsx)(E,{children:"Top Selling"})," Test Series & Courses,",(0,r.jsx)("br",{className:"max-lg:hidden"}),"Loved By Students"]}),(0,r.jsxs)("div",{className:"mb-10 flex items-center gap-3 lg:mb-14",children:[(0,r.jsx)("div",{ref:v,className:"no-scrollbar flex flex-1 items-center gap-4 overflow-x-auto pb-1 lg:gap-6",children:A.map((function(e){return(0,r.jsx)("button",{type:"button",onClick:function(){return function(e){h(e.id),e.id===Z.id||p[e.id]||(0,F.tS)(e.exam_name,e.id,0,null===l||void 0===l?void 0:l.web_apiurl).then((function(t){var n=Array.isArray(t)?t:(null===t||void 0===t?void 0:t.data)||[];b((function(t){return(0,N.Z)((0,C.Z)({},t),(0,w.Z)({},e.id,n))}))})).catch((function(){b((function(t){return(0,N.Z)((0,C.Z)({},t),(0,w.Z)({},e.id,[]))}))}))}(e)},className:(0,_.cn)("whitespace-nowrap rounded-lg border-[1.5px] border-[#FFCD97] px-4 py-2.5 text-[15px] font-semibold shadow-[0px_2px_0px_0px_#FFCD97] transition-colors",x===e.id?"bg-[#FFD400] text-[#111827]":"bg-white text-[#64748B] hover:bg-[#FFF8DB]"),children:e.exam_name},e.id)}))}),A.length>1&&(0,r.jsx)("button",{type:"button",onClick:function(){var e;return null===(e=v.current)||void 0===e?void 0:e.scrollBy({left:240,behavior:"smooth"})},"aria-label":"Scroll categories",className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-full text-[#111827] shadow-[0_0_0_6px_rgba(255,255,255,0.9),0_2px_8px_rgba(0,0,0,0.15)] transition-transform hover:scale-105",style:{backgroundColor:u.YC},children:(0,r.jsx)(f.Z,{className:"h-6 w-6"})})]}),D?(0,r.jsx)("div",{className:"flex gap-5",children:(0,s.Z)(Array(4)).map((function(e,t){return(0,r.jsx)("div",{className:"h-[380px] w-[280px] shrink-0 animate-pulse rounded-xl bg-gray-100 sm:w-[325px]"},t)}))}):0===B.length?(0,r.jsx)("p",{className:"py-8 text-center text-[#64748B]",children:"No courses in this category yet."}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:y,className:"no-scrollbar flex gap-8 overflow-x-auto scroll-smooth pb-2",children:B.map((function(e){return(0,r.jsx)(S,{course:e},e.id)}))}),(0,r.jsxs)("div",{className:"mt-6 flex items-center justify-center gap-3",children:[(0,r.jsx)("button",{type:"button",onClick:function(){return T(-1)},"aria-label":"Previous courses",className:"flex h-9 w-9 items-center justify-center rounded-md border text-[#111827] transition-colors hover:bg-[#FFF8DB]",style:{borderColor:u.Sh},children:(0,r.jsx)(k.Z,{className:"h-4 w-4"})}),(0,r.jsx)("button",{type:"button",onClick:function(){return T(1)},"aria-label":"Next courses",className:"flex h-9 w-9 items-center justify-center rounded-md border text-[#111827] transition-colors hover:bg-[#FFF8DB]",style:{borderColor:u.Sh},children:(0,r.jsx)(j.Z,{className:"h-4 w-4"})})]})]})]})}):null}var T=n(96486),R=[{icon:"".concat(m.rZ,"/hrmocks/explore-cet.webp"),title:"HSSC CET Test Series",subtitle:"Complete Test Series for HSSC CET (Group C & D)",link:"/test-series"},{icon:"".concat(m.rZ,"/hrmocks/explore-police.webp"),title:"Visit Test Series",subtitle:"Specially Designed for Haryana Police Exams",link:"/test-series"},{icon:"".concat(m.rZ,"/hrmocks/explore-allexams.webp"),title:"Haryana All Exams Test Series",subtitle:"Group C, Group D, Patwari, Gram Sachiv & More",link:"/test-series"},{icon:"".concat(m.rZ,"/hrmocks/explore-free.webp"),title:"Free Tests & Previous Papers",subtitle:"Free Tests, PYQs & Topic Wise Practice",link:"/test-series"}],I=["HSSC CET","Haryana Police","Group C","Group D","Patwari","Gram Sachiv","Clerk","JE","HTET","TGT","PGT","& More"];function P(e){var t=e.ytVideo,n=e.ytChannel,a=function(e){if(!e)return"";var t=e.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\s]+)/);return"https://www.youtube.com/embed/".concat(t?t[1]:e)}(t);return(0,r.jsx)("section",{className:"w-full overflow-x-hidden bg-white py-12 lg:py-16",children:(0,r.jsxs)("div",{className:u.rZ,children:[(0,r.jsxs)(L,{className:"mb-3",sparkleColor:u.sb,children:["Explore More From"," ",(0,r.jsx)(E,{color:u.lE,variant:"squiggle",children:"HR MOCKS!"})]}),(0,r.jsx)("p",{className:"mb-10 text-sm text-[#4B5563] sm:text-base lg:mb-12",children:"India's No. 1 Test Series App for HSSC & All Haryana Exams"}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-[43fr_57fr] lg:gap-12",children:[(0,r.jsx)("div",{className:"flex flex-col gap-7",children:R.map((function(e){return(0,r.jsxs)("div",{className:"flex items-start gap-6",children:[(0,r.jsx)("img",{src:e.icon,alt:"","aria-hidden":"true",className:"mt-0.5 h-9 w-9 shrink-0"}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("h3",{className:"mb-1 text-lg font-bold text-[#111827] sm:text-xl",children:e.title}),(0,r.jsx)("p",{className:"mb-3 text-sm text-[#6B7280]",children:e.subt
1itle}),(0,r.jsxs)("a",{href:e.link,className:"inline-flex w-max items-center gap-1 rounded-sm bg-[#FFE9E9] px-3 py-1.5 text-xs font-bold text-[#E0342B] no-underline transition-all hover:gap-2",children:["Visit Test Series",(0,r.jsx)(f.Z,{className:"size-4"})]})]})]},e.title)}))}),(0,r.jsxs)("div",{className:"flex flex-col gap-6",children:[!(0,T.isEmpty)(t)&&(0,r.jsx)("div",{className:"relative w-full overflow-hidden rounded-xl",style:{paddingBottom:"56.25%"},children:(0,r.jsx)("iframe",{className:"absolute left-0 top-0 h-full w-full",src:a,title:"HR Mocks featured video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}),(0,r.jsxs)("div",{className:"rounded-xl px-6 py-8 sm:px-10",style:{backgroundColor:u.fF},children:[(0,r.jsxs)("div",{className:"mb-5 flex items-center gap-3 max-sm:flex-col max-sm:text-center",children:[(0,r.jsx)("img",{src:"".concat(m.rZ,"/hrmocks/explore-youtube.webp"),alt:"","aria-hidden":"true",className:"h-10 w-10 shrink-0"}),(0,r.jsx)("span",{className:"text-2xl font-bold text-[#111827] sm:text-3xl",children:"Join our Main Channel!"})]}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-between gap-4 sm:flex-row",children:[(0,r.jsxs)("span",{className:"text-sm leading-relaxed text-[#4B5563] max-sm:text-center sm:text-base",children:["Join millions of Haryana aspirants preparing with real exam pattern tests, detailed solutions &"," ",(0,r.jsx)("span",{className:"font-semibold italic",children:"performance analytics that actually work!"})]}),!(0,T.isEmpty)(n)&&(0,r.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"shrink-0 rounded-lg bg-[#F5254B] px-7 py-2.5 text-lg font-bold text-white no-underline transition-all hover:brightness-110 sm:text-xl",children:"Join Now!"})]})]})]})]}),(0,r.jsxs)("div",{className:"mt-7 flex flex-wrap items-start gap-x-3 gap-y-2 rounded-xl border border-[#EAEAEA] bg-[#F8F8F8] px-4 py-4 sm:items-center sm:px-6",children:[(0,r.jsx)("img",{src:"".concat(m.rZ,"/hrmocks/explore-star.webp"),alt:"","aria-hidden":"true",className:"h-11 w-11 shrink-0"}),(0,r.jsx)("span",{className:"text-sm font-bold text-[#E0342B] sm:text-base",children:"One App. All Haryana Exams."}),(0,r.jsx)("span",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-sm text-[#374151] sm:text-base",children:I.map((function(e,t){return(0,r.jsxs)("span",{className:"whitespace-nowrap",children:[e,t<I.length-1&&(0,r.jsx)("span",{className:"ml-2 text-[#9CA3AF]",children:"|"})]},e)}))})]})]})})}var M=n(58375),H="min-h-[340px] lg:min-h-[412px]",z="italic font-medium text-[24px] lg:text-[40px] leading-[1.2] mx-auto min-h-[2.4em]",U="text-lg lg:text-xl",W="-mb-6 max-w-[240px] lg:max-w-[280px]",V=[{title:"Notes & PDFs",link:"/study-material",icon:"".concat(m.rZ,"/hrmocks/study-notes-v2.webp"),bgColor:"bg-purple-100",textColor:"text-[#6900A3]",className:H,titleClassName:"".concat(z," max-w-[8ch]"),buttonClassName:U,iconClassName:W},{title:"Books from HR Mocks",link:"/exterior-books",icon:"".concat(m.rZ,"/hrmocks/study-books-v2.webp"),bgColor:"bg-green-100",textColor:"text-[#009300]",className:H,titleClassName:"".concat(z," max-w-[11ch]"),buttonClassName:U,iconClassName:W},{title:"Assignments & Tests",link:"/test-series",icon:"".concat(m.rZ,"/hrmocks/study-assignments-v2.webp"),bgColor:"bg-[#DCF0FB]",textColor:"text-[#00669C]",className:H,titleClassName:"".concat(z," max-w-[14ch]"),buttonClassName:U,iconClassName:W},{title:"Blogs for Enhanced Learning",link:"/app-blog",icon:"".concat(m.rZ,"/hrmocks/study-blogs-v2.webp"),bgColor:"bg-[#FFE2ADBA]",textColor:"text-[#A67000]",className:H,titleClassName:"".concat(z," max-w-[19ch]"),buttonClassName:U,iconClassName:W},{title:"Live & Free Videos",link:"/free-courses",icon:"".concat(m.rZ,"/hrmocks/study-live-v2.webp"),bgColor:"bg-[#FFDED9]",textColor:"text-[#A50000]",className:H,titleClassName:"".concat(z," max-w-[12ch]"),buttonClassName:U,iconClassName:W}];function G(){return(0,r.jsx)(M.Z,{sectionClassName:"py-14 lg:py-20 bg-[#FFFFE2] px-4 md:px-10",containerClassName:"mx-auto w-full max-w-[1200px] flex flex-col gap-12",resources:V,cardClassName:"gap-6 lg:gap-x-7 lg:gap-y-[52px] lg:grid-cols-6 [&>*]:lg:col-span-2 [&>*:nth-child(4)]:lg:col-start-2",subtext:"Access everything you need to learn smarter, from concise notes and previous year papers to full-length mock tests, insightful blogs, & live video lessons. Everything for Haryana exams in one place.",subtextClassName:"text-[#4B5563] lg:max-w-5xl",title:(0,r.jsxs)("h3",{className:"mb-0 text-3xl font-bold md:text-4xl lg:text-5xl",children:[(0,r.jsxs)("span",{className:"relative",children:["Your",(0,r.jsx)(i.Z,{color:u.r0,className:"absolute -top-6 left-[-28px] h-auto w-9 -rotate-90 lg:left-[-40px] lg:w-12"})]})," ","Study Resources,"," ",(0,r.jsxs)("span",{className:"relative inline-block leading-tight",children:["All in One Place!",(0,r.jsx)(d,{color:u.hh,className:"absolute -bottom-2.5 left-0 h-3 w-full lg:left-[-3.5rem] lg:h-3.5 lg:w-[91%]"})]})]})})}var O=n(41664),q=n.n(O),J=n(36453);function Y(e){var t=e.book;return(0,r.jsx)("div",{className:"w-[260px] shrink-0 overflow-hidden rounded-2xl border-2 border-[#C7B201] bg-white shadow-[0px_4px_0px_0px_#C7B201] sm:w-[310px]",children:(0,r.jsx)(y.Z,{notCarousel:!0,showLikeButton:!1,cardClassName:"!bg-white lg:hover:!bg-white !border-0 !shadow-none !rounded-none cursor-default [&_img]:!h-[300px] [&_img]:!object-contain [&_.rounded-lg]:!border-0 [&_.rounded-lg]:!shadow-none [&_.rounded-lg]:!bg-transparent",titleClassName:"text-[15px] font-bold text-[#0F172A] leading-snug text-center line-clamp-4 min-h-[84px] mt-1 -mb-3",buttonClassName:"rounded-md border-0 bg-[#FFD400] text-[#111827] font-bold !text-[16
1px] hover:brightness-95 transition-all",buttonVariant:"default",title:t.title,image:t.image,externalLink:!0,link:t.pdf_link,btnText:"View Details",isPdfEncrypted:t.is_pdf_encrypted||"",pdfEncryptionKey:t.pdf_encryption_key||"",pdfEncryptionVersion:t.pdf_encryption_version||""})})}function K(){var e=(0,a.useContext)(o.Z).appConfig,t=(0,a.useState)(null),n=t[0],l=t[1],i=(0,a.useRef)(null);(0,a.useEffect)((function(){(null===e||void 0===e?void 0:e.web_apiurl)&&(0,J.$l)(e.web_apiurl,4,0).then((function(e){return l((null===e||void 0===e?void 0:e.data)||[])})).catch((function(){return l([])}))}),[null===e||void 0===e?void 0:e.web_apiurl]);var c=function(e){var t;return null===(t=i.current)||void 0===t?void 0:t.scrollBy({left:350*e,behavior:"smooth"})};return null!==n&&0===n.length?null:(0,r.jsx)("section",{className:"w-full overflow-x-hidden bg-white py-12 lg:py-16",children:(0,r.jsxs)("div",{className:u.rZ,children:[(0,r.jsxs)("div",{className:"relative mb-10 flex flex-col items-center gap-6 lg:mb-14 lg:flex-row lg:justify-center lg:pl-[120px]",children:[(0,r.jsx)(q(),{href:"/exterior-books",children:(0,r.jsxs)("a",{className:"inline-flex w-max items-center gap-1 rounded-lg border border-[#F7E402] bg-[#FFFFD5] px-4 py-2 text-sm font-medium text-[#111827] no-underline transition-colors hover:brightness-95 lg:absolute lg:left-0",children:["View all Books",(0,r.jsx)(f.Z,{className:"size-4 text-[#BF9F00]"})]})}),(0,r.jsxs)(L,{sparkleColor:u.Rg,className:"text-center",children:["Study Smarter, with the"," ",(0,r.jsx)(E,{color:u.ik,children:"Right Books!"})]})]}),null===n?(0,r.jsx)("div",{className:"flex gap-6",children:(0,s.Z)(Array(4)).map((function(e,t){return(0,r.jsx)("div",{className:"h-[420px] w-[260px] shrink-0 animate-pulse rounded-2xl bg-gray-100 sm:w-[310px]"},t)}))}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{ref:i,className:"no-scrollbar flex gap-10 overflow-x-auto scroll-smooth pb-2 lg:gap-14",children:n.map((function(e){return(0,r.jsx)(Y,{book:e},e.id)}))}),(0,r.jsxs)("div",{className:"mt-10 flex items-center justify-center gap-[18px]",children:[(0,r.jsx)("button",{type:"button",onClick:function(){return c(-1)},"aria-label":"Previous books",className:"flex h-[30px] w-12 items-center justify-center rounded-md border-[1.5px] text-[#111827] transition-colors hover:bg-[#FFF8DB]",style:{borderColor:u.YC},children:(0,r.jsx)(k.Z,{className:"h-5 w-5"})}),(0,r.jsx)("button",{type:"button",onClick:function(){return c(1)},"aria-label":"Next books",className:"flex h-[30px] w-12 items-center justify-center rounded-md border-[1.5px] text-[#111827] transition-colors hover:bg-[#FFF8DB]",style:{borderColor:u.YC},children:(0,r.jsx)(j.Z,{className:"h-5 w-5"})})]})]})]})})}var $=n(77281);function X(e){var t=e.testimonials,n=void 0===t?[]:t;return(null===n||void 0===n?void 0:n.length)?(0,r.jsx)($.Z,{testimonials:n,sectionClassName:"[&_.group]:[--duration:8s] px-4 md:px-10",containerClassName:"mx-auto w-full max-w-[1200px] flex flex-col gap-6",innerContainerClassName:"lg:grid-cols-[590fr_444fr] lg:gap-16",subtext:"See how Haryana aspirants are winning with HR Mocks.",subtextClassName:"text-[#4B5563]",mapImageSrc:"".concat(m.rZ,"/hrmocks/testimonial-map.webp"),starColor:"text-[#E2BC00]",cardClassName:"mb-0 sm:p-4 border border-[#EBEBEB] bg-[#F7F7F7] sm:max-w-none [&_svg]:size-5 [&_p]:leading-[1.3]",title:(0,r.jsxs)("h3",{className:"mb-0 text-3xl italic md:text-4xl lg:text-[56px]",children:[(0,r.jsxs)("span",{className:"relative inline-block",children:["Real stories.",(0,r.jsx)(c,{color:u.dt,className:"absolute -bottom-4 left-0 h-3 w-full lg:h-4"})]})," ",(0,r.jsxs)("span",{className:"relative inline-block font-bold",children:["Real results.",(0,r.jsx)(i.Z,{color:u.k2,className:"absolute -top-4 right-4 h-auto w-7 lg:right-5 lg:w-10"})]})]})}):null}var Q=n(47014);function ee(e){var t=e.playstoreUrl,n=e.appstoreUrl;return(0,r.jsx)(Q.Z,{playstoreUrl:t,appstoreUrl:n,showWindows:!1,showMac:!1,sectionClassName:"pt-2 pb-10 lg:py-14 px-0",containerClassName:"mx-auto w-full max-w-[1356px] px-4 md:px-10",innerContainerClassName:"bg-[#FDFCE0] border-[#
1E8E6C0] px-4 pt-6 lg:px-20 lg:pt-10 [&_img.h-16]:max-w-full [&_img.h-16]:w-auto [&_img.h-16]:object-contain",mainImageSrc:"".concat(m.rZ,"/hrmocks/banner-phone.webp"),mainImageClassName:"aspect-[500/492] object-bottom w-[90%] mx-auto max-lg:-translate-x-[15%] lg:ml-auto lg:mr-0",backgroundImageSrc:"".concat(m.rZ,"/hrmocks/banner-bg.webp"),ratingsImageSrc:"".concat(m.rZ,"/hrmocks/banner-ratings.webp"),playstoreIconSrc:"".concat(m.rZ,"/hrmocks/playstore.webp"),appstoreIconSrc:"".concat(m.rZ,"/hrmocks/appstore.webp"),subtextClassName:"text-[#4B5563] lg:text-lg max-w-[36ch]",subtext:"Download HR Mocks App to Access All Haryana Exams Test series",title:(0,r.jsxs)("h2",{className:"mb-0 text-2xl font-bold italic leading-[1.35] text-[#111827] sm:text-3xl md:text-3xl lg:text-[2.75rem]",children:["Join Over 100K+ learners",(0,r.jsx)("br",{className:"max-sm:hidden"})," across Haryana!!"]})})}var te=function(e){var t=e.appConfig,n=void 0===t?{}:t,a=e.newCourses,s=void 0===a?[]:a,l=e.courses,o=void 0===l?[]:l,i=e.testimonials,c=void 0===i?[]:i,d=e.sliderImages,m=void 0===d?[]:d;return(0,r.jsxs)("main",{className:"min-h-screen w-full bg-white",style:{fontFamily:u.nb},children:[(0,r.jsx)(h,{}),(0,r.jsx)(v,{sliderImages:m,ytChannel:(null===n||void 0===n?void 0:n.web_youtubepagelink)||u.k0}),(0,r.jsx)(D,{courses:(null===s||void 0===s?void 0:s.length)>0?s:o}),(0,r.jsx)(P,{ytVideo:null===n||void 0===n?void 0:n.web_featuredvideo,ytChannel:(null===n||void 0===n?void 0:n.web_youtubepagelink)||u.k0}),(0,r.jsx)(G,{}),(0,r.jsx)(K,{}),(0,r.jsx)(X,{testimonials:c}),(0,r.jsx)(ee,{playstoreUrl:null===n||void 0===n?void 0:n.web_androidurl,appstoreUrl:null===n||void 0===n?void 0:n.web_iosurl})]})}},58265:function(e,t,n){n.d(t,{V2:function(){return s},vb:function(){return l}});var r=[/no[_-]?image/i,/no[_-]?image[_-]?available/i,/image[_-]?not[_-]?available/i,/image[_-]?unavailable/i,/no[_-]?thumb/i,/placeholder/i,/default[_-]?(course[_-]?)?(image|thumb(nail)?)/i,/empty[_-]?image/i,/\/empty-image-web\.svg$/i,/\/default\.(jpe?g|png|webp|gif)$/i,/\/noimage\//i,/\/dummy[_-]?(image|thumb)/i,/course[_-]?default/i,/thumb[_-]?default/i,/generic[_-]?(course[_-]?)?(image|thumb)/i,/\/assets\/.*\/(placeholder|default|no[_-]?image)/i];function a(e){if(!e||"string"!==typeof e)return!1;var t=e.trim();return!!t&&!r.some((function(e){return e.test(t)}))}function s(e){return e&&"string"===typeof e?e.split(",").map((function(e){return e.trim()})).filter(a):[]}function l(e){return s(e).length>0}}}]);

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.