1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7718],{6490:(e,t,a)=>{"use strict";a.d(t,{Accordion:()=>i,AccordionContent:()=>u,AccordionItem:()=>c,AccordionTrigger:()=>d});var r=a(95155);a(12115);var l=a(23478),s=a(53999),n=a(66474),o=a(47863);function i(e){let{className:t,...a}=e;return(0,r.jsx)(l.bL,{"data-slot":"accordion",className:(0,s.cn)("flex w-full flex-col",t),...a})}function c(e){let{className:t,...a}=e;return(0,r.jsx)(l.q7,{"data-slot":"accordion-item",className:(0,s.cn)("not-last:border-b",t),...a})}function d(e){let{className:t,children:a,...i}=e;return(0,r.jsx)(l.Y9,{className:"flex",children:(0,r.jsxs)(l.l9,{"data-slot":"accordion-trigger",className:(0,s.cn)("group/accordion-trigger relative flex flex-1 items-start justify-between rounded-lg border border-transparent py-2.5 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground",t),...i,children:[a,(0,r.jsx)(n.A,{"data-slot":"accordion-trigger-icon",className:"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden"}),(0,r.jsx)(o.A,{"data-slot":"accordion-trigger-icon",className:"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline"})]})})}function u(e){let{className:t,children:a,...n}=e;return(0,r.jsx)(l.UC,{"data-slot":"accordion-content",className:"overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up",...n,children:(0,r.jsx)("div",{className:(0,s.cn)("h-(--radix-accordion-content-height) pt-0 pb-2.5 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",t),children:a})})}},9478:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var r=function(e){return e.PAGE="page",e.BLOG="blog",e.NEWS="news",e.INTERNAL="internal",e}({})},18938:(e,t,a)=>{"use strict";a.d(t,{K:()=>s});var r=a(75915),l=a.n(r);function s(e){var t;let a,r=(t=e||"",/<\/?[a-z]/i.test(t)?t.replace(/</gi,"<").replace(/>/gi,">").replace(/"/gi,'"').replace(/'/gi,"'").replace(/&/gi,"&"):t),s=l().sanitize(r,{ALLOWED_TAGS:["p","br","strong","em","b","i","u","span","div","h1","h2","h3","h4","h5","h6","ul","ol","li","table","thead","tbody","tr","th","td","tfoot","a","img","blockquote","code","pre"],ALLOWED_ATTR:["href","src","alt","title","id","colspan","rowspan","style"],ALLOWED_URI_REGEXP:/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i}),n="h1|h2|h3|h4|h5|h6",o=RegExp("(<(?:".concat(n,")[^>]*>)(.*?)<span[^>]*>(.*?)</span>(.*?)(</(?:").concat(n,")>)"),"gis");do a=s,s=s.replace(o,"$1$2$3$4$5");while(s!==a);s=function(e){let t,a="p|div|h[1-6]|li|blockquote|pre",r=RegExp("<(".concat(a,")([^>]*)>((?:(?!<(?:").concat(a,")[\\s>])[\\s\\S])*?)<\\/\\1>"),"gi");do t=e,e=e.replace(r,(e,t,a,r)=>!function(e){if(/<(?:img|picture|video|iframe|embed|object|svg|canvas)\b/i.test(e))return!0;let t=e.replace(/<[^>]*>/g,"").replace(/ /gi," ").replace(/&[a-z]+;/gi,"x");return/\S/.test(t)}(r)?"":e);while(e!==t);return e}(s);let i=["width","height","border","cellpadding","cellspacing","align","valign","bgcolor","bordercolor","bordercolordark","bordercolorlight","frame","rules","summary","class"];return["table","thead","tbody","tfoot","tr","th","td"].forEach(e=>{i.forEach(t=>{[RegExp("(<".concat(e,"[^>]*?)\\s+").concat(t,'="[^"]*"([^>]*>)'),"gi"),RegExp("(<".concat(e,"[^>]*?)\\s+").concat(t,"='[^']*'([^>]*>)"),"gi"),RegExp("(<".concat(e,"[^>]*?)\\s+").concat(t,"=[^\\s>]*([^>]*>)"),"gi")].forEach(e=>{s=s.replace(e,"$1$2")})})}),["h1","h2","h3","h4","h5","h6"].forEach(e=>{let t=RegExp("<".concat(e,"([^>]*)>"),"gi");s=s.replace(t,(t,a)=>{let r=a.replace(/\s*class="[^"]*"/gi,"").replace(/\s*class='[^']*'/gi,"");return"<".concat(e).concat(r,">")})}),s=(s=(s=s.replace(/<a([^>]*)>/gi,(e,t)=>{let a=t.replace(/\s*target="[^"]*"/gi,"").replace(/\s*target='[^']*'/gi,"").replace(/\s*rel="[^"]*"/gi,"").replace(/\s*rel='[^']*'/gi,"");return"<a".concat(a,' target="_blank" rel="noopener noreferrer">')})).replace(/<table([^>]*)>/gi,'<div class="table-wrapper"><table$1>').replace(/<\/table>/gi,"</table></div>")).trim()}l().addHook("uponSanitizeAttribute",(e,t)=>{if("style"===t.attrName){let e=[];t.attrValue.split(";").forEach(t=>{let[a,r]=t.split(":").map(e=>null==e?void 0:e.trim().toLowerCase());"text-align"===a&&["left","right","center","justify"].includes(r)&&e.push("text-align: ".concat(r))}),e.length>0?t.attrValue=e.join("; "):t.keepAttr=!1}})},25860:e=>{e.exports={table:"exam-banner-section_table__NAjd0","table-compact":"exam-banner-section_table-compact__Cazpv","table-striped":"exam-banner-section_table-striped__cJqjg","table-bordered":"exam-banner-section_table-bordered__L37vT",tableContainer:"exam-banner-section_tableContainer__HBaaF","text-center":"exam-banner-section_text-center__amzSJ","text-right":"exam-banner-section_text-right__cqhKc","text-nowrap":"exam-banner-section_text-nowrap__hEyND",bannerSection:"exam-banner-section_bannerSection__Ty0PA",content:"exam-banner-section_content__WXNfw",title:"exam-banner-section_title___tr5L",description:"exam-banner-section_description__f5iLc",buttonGroup:"exam-banner-section_buttonGroup__2BytS",ctaButton:"exam-banner-section_ctaButton__MT26x",contactButton:"exam-banner-section_contactButton__QKUP_"}},45814:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(95155),l=a(97168),s=a(6874),n=a.n(s);a(12115);var o=a(25860),i=a.n(o);let c=e=>{let{bannerTitle:t,bannerDescription:a,bannerCta:s,bannerCtaText:o}=e;return(0,r.jsxs)("div",{className:"lg:hidden mb-4 p-4 rounded-lg bg-primary/5 border border-primary/20",children:[t&&(0,r.jsx)("p",{className:"text-base font-bold text-foreground leading-snug",children:t}),a&&(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1 mb-3 leading-relaxed",children:a}),(0,r.jsxs)("div",{className:i().buttonGroup,children:[s&&o&&(0,r.jsx)(n(),{href:s,children:(0,r.jsx)(l.$,{size:"xs",className:"w-full text-xs",children:o})}),(0,r.jsx)(n(),{href:"/contact",children:(0,r.jsx)(l.$,{size:"xs",className:"w-full text-xs",children:"Contact Us"})})]})]})}},57413:(e,t,a)=>{"use strict";a.d(t,{default:()=>_});var r=a(95155),l=a(97168),s=a(9478),n=a(35695),o=a(12115),i=a(93973),c=a.n(i);let d="newsletter_subscribed",u=["Daily Current Affairs (Bank, SSC, Railway)","Mock Tests & Study PDFs","Exam Notifications & Result Alerts"],m=e=>{let{onClick:t}=e,[a,l]=(0,o.useState)(!1);return a?null:(0,r.jsx)("div",{className:c().floatingCta,children:(0,r.jsxs)("div",{className:c().floatingCard,children:[(0,r.jsx)("span",{className:c().floatingIcon,"aria-hidden":"true",children:"â"}),(0,r.jsxs)("div",{className:c().floatingText,children:[(0,r.jsx)("p",{className:c().floatingTitle,children:"Get daily exam prep"}),(0,r.jsx)("p",{className:c().floatingSubtitle,children:"Join 50,000+ as
1pirants."})]}),(0,r.jsx)("button",{type:"button",className:c().floatingSubscribeBtn,onClick:t,children:"Subscribe"}),(0,r.jsx)("button",{type:"button",className:c().floatingDismissBtn,onClick:()=>l(!0),"aria-label":"Dismiss",children:"â"})]})})},_=e=>{let{scrollThreshold:t=.5,source:a}=e,[i,_]=(0,o.useState)(!1),[b,p]=(0,o.useState)(!1),[g,x]=(0,o.useState)(!1),[h,f]=(0,o.useState)(""),[N,w]=(0,o.useState)("idle"),[v,j]=(0,o.useState)(""),y=(0,o.useRef)(!1),M=(0,o.useRef)(null),S=(0,o.useRef)(null),k=(0,n.usePathname)(),C=(0,o.useCallback)(()=>{var e;null==(e=M.current)||e.abort(),M.current=null,S.current&&(clearTimeout(S.current),S.current=null),_(!1),p(!0)},[]);(0,o.useEffect)(()=>()=>{var e;null==(e=M.current)||e.abort(),S.current&&clearTimeout(S.current)},[]),(0,o.useEffect)(()=>{sessionStorage.removeItem("newsletter_modal_session_dismissed"),"true"===localStorage.getItem(d)&&x(!0)},[]),(0,o.useEffect)(()=>{"true"!==localStorage.getItem(d)&&(y.current=!1,_(!1),p(!1),w("idle"),f(""),j(""))},[k]),(0,o.useEffect)(()=>{if(g||"true"===localStorage.getItem(d))return;let e=()=>{if(y.current)return;let e=window.scrollY,a=document.documentElement.scrollHeight-window.innerHeight;(a>0?e/a:0)>=t&&(y.current=!0,_(!0))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[t,k,g]),(0,o.useEffect)(()=>{let e=e=>{"Escape"===e.key&&i&&C()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i,C]),(0,o.useEffect)(()=>(document.body.style.overflow=i?"hidden":"",()=>{document.body.style.overflow=""}),[i]);let E=async e=>{var t;e.preventDefault();let r=h.trim();if(!r)return;null==(t=M.current)||t.abort();let l=new AbortController;M.current=l,w("loading"),j("");try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},signal:l.signal,body:JSON.stringify({email:r.toLowerCase(),preferences:["blogs","news","updates"],source:s.A[a]})}),t=await e.json();t.success?(w("success"),j(t.alreadySubscribed?"You're already subscribed!":"Thank you! You're now subscribed."),localStorage.setItem(d,"true"),S.current=setTimeout(()=>{_(!1),x(!0),S.current=null},2500)):(w("error"),j(t.error||"Something went wrong. Please try again."))}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;w("error"),j("Something went wrong. Please try again.")}finally{M.current===l&&(M.current=null)}};return(0,r.jsxs)(r.Fragment,{children:[i&&(0,r.jsx)("div",{className:c().overlay,onClick:e=>{e.target===e.currentTarget&&C()},role:"dialog","aria-modal":"true","aria-labelledby":"newsletter-modal-title",children:(0,r.jsxs)("div",{className:c().modal,children:[(0,r.jsx)("div",{className:"absolute -top-16 -right-16 w-48 h-48 rounded-full bg-accent/30 blur-3xl pointer-events-none"}),(0,r.jsx)("div",{className:"absolute -bottom-20 -left-20 w-56 h-56 rounded-full bg-white/10 blur-3xl pointer-events-none"}),(0,r.jsx)("button",{className:c().closeButton,onClick:C,"aria-label":"Close newsletter signup",type:"button",children:"â"}),"success"===N?(0,r.jsxs)("div",{className:c().successState,children:[(0,r.jsx)("span",{className:c().successIcon,"aria-hidden":"true",children:"â"}),(0,r.jsx)("h2",{className:c().successTitle,children:"You're in! \uD83C\uDF89"}),(0,r.jsx)("p",{className:c().successBody,children:v}),(0,r.jsx)("p",{className:c().successHint,children:"Check your inbox for study material, current affairs, and exam alerts."})]}):(0,r.jsxs)("div",{className:c().body,children:[(0,r.jsx)("span",{className:c().badge,"aria-hidden":"true",children:"\uD83C\uDF81 Daily Updates"}),(0,r.jsx)("h2",{id:"newsletter-modal-title",className:c().title,children:"Crack Your Govt Exam with Daily Prep in Your Inbox"}),(0,r.jsxs)("p",{className:c().description,children:["Join"," ",(0,r.jsx)("strong",{className:c().highlight,children:"50,000+ aspirants"})," ","getting current affairs, PDFs, mock test alerts & exam strategies â every morning."]}),(0,r.jsx)("ul",{className:c().benefitsList,"aria-label":"What you get",children:u.map(e=>
1(0,r.jsxs)("li",{className:c().benefitItem,children:[(0,r.jsx)("span",{className:c().benefitIcon,"aria-hidden":"true",children:"â¦"}),e]},e))}),(0,r.jsxs)("form",{className:c().form,onSubmit:E,noValidate:!0,children:[(0,r.jsxs)("div",{className:c().inputRow,children:[(0,r.jsxs)("div",{className:c().inputWrapper,children:[(0,r.jsx)("span",{className:c().mailIcon,"aria-hidden":"true",children:"â"}),(0,r.jsx)("input",{type:"email",className:c().input,placeholder:"[email protected]",value:h,inputMode:"email",autoComplete:"email",onChange:e=>{f(e.target.value),"error"===N&&(w("idle"),j(""))},disabled:"loading"===N,required:!0,"aria-label":"Email address","aria-invalid":"error"===N})]}),(0,r.jsx)(l.$,{variant:"destructive",type:"submit",children:"loading"===N?"Subscribingâ¦":"Get Updates"})]}),v&&"error"===N&&(0,r.jsx)("p",{className:"text-xs font-medium bg-white/95 text-destructive rounded px-2 py-1 inline-block w-fit",role:"alert",children:v}),(0,r.jsx)("p",{className:c().legalNote,children:"No spam. Unsubscribe anytime. By subscribing you agree to our Terms & Privacy Policy."})]}),(0,r.jsx)("button",{type:"button",className:c().skipButton,onClick:C,children:"No thanks"})]})]})}),b&&!g&&!i&&(0,r.jsx)(m,{onClick:()=>{w("idle"),f(""),j(""),_(!0)}})]})}},76036:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(95155),l=a(6490);a(12115);let s=e=>{let{faqMappings:t}=e;return t&&0!==t.length?(0,r.jsxs)("section",{className:"mt-6 pt-4 mx-3 border-t border-border/40",children:[(0,r.jsx)("h2",{className:"text-xs font-bold bg-gradient-to-r from-accent to-primary bg-clip-text text-transparent w-fit mb-2 uppercase tracking-wider",children:"FAQS"}),(0,r.jsx)(l.Accordion,{type:"single",collapsible:!0,className:"space-y-0",children:t.map(e=>(0,r.jsxs)(l.AccordionItem,{value:"faq-".concat(e.faq.id),className:"border-b border-border/30 last:border-0",children:[(0,r.jsx)(l.AccordionTrigger,{className:"text-left text-sm font-medium text-foreground hover:text-primary py-2.5 [&[data-state=open]]:text-primary",children:e.faq.question}),(0,r.jsx)(l.AccordionContent,{className:"pb-2.5",children:(0,r.jsx)("div",{className:"text-sm text-muted-foreground leading-relaxed",dangerouslySetInnerHTML:{__html:e.faq.answer}})})]},e.faq.id))})]}):null}},78359:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(95155),l=a(33786);a(12115);let s=e=>{let{articleMappings:t,linkPrefix:a=""}=e;return t&&0!==t.length?(0,r.jsxs)("section",{className:"mt-6 mx-3 pt-4 border-t border-border/40",children:[(0,r.jsx)("h2",{className:"text-xs font-bold bg-gradient-to-r from-accent to-primary bg-clip-text text-transparent w-fit mb-2 uppercase tracking-wider",children:"Important Links"}),(0,r.jsx)("div",{className:"flex flex-col flex-wrap gap-x-4 gap-y-1",children:t.map(e=>(0,r.jsxs)("a",{href:"".concat(a).concat(e.relatedArticle.masterContent.slug),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 whitespace-nowrap text-sm text-primary hover:text-primary/80 hover:underline transition-colors",children:[(0,r.jsx)(l.A,{className:"w-3 h-3 shrink-0"}),e.relatedArticle.masterContent.title]},e.relatedArticle.masterContent.id))})]}):null}},93973:e=>{e.exports={table:"NewsletterModal_table__4BCWd","table-compact":"NewsletterModal_table-compact__1FAjB","table-striped":"NewsletterModal_table-striped__QuhTq","table-bordered":"NewsletterModal_table-bordered__Mu6W7",tableContainer:"NewsletterModal_tableContainer__CB_DX","text-center":"NewsletterModal_text-center__ULay8","text-right":"NewsletterModal_text-right__23f_n","text-nowrap":"NewsletterModal_text-nowrap__e2xcj",overlay:"NewsletterModal_overlay__M0qkY",fadeIn:"NewsletterModal_fadeIn__R3Bok",modal:"NewsletterModal_modal__PKNYv",slideUp:"NewsletterModal_slideUp__6iDXg",slideUpMobile:"NewsletterModal_slideUpMobile__QZnpV",blobTopRight:"NewsletterModal_blobTopRight__2PBjR",blobBottomLeft:"NewsletterModal_blobBottomLeft__NPaVL",closeButton:"NewsletterModal_closeButton__qUv_x",body:"NewsletterModal_body__b2xJa",badge:"NewsletterModal_badge__6jnkb",title:"NewsletterModal_title__UO4ja",description:"NewsletterModal_description__MolPz",highlight:"NewsletterModal_highlight__DzGLj",benefitsList:"NewsletterModal_benefitsList__enmS6",benefitItem:"NewsletterModal_benefitItem__aHw9g",benefitIcon:"NewsletterModal_benefitIcon__W20Ym",form:"NewsletterModal_form__rmZSv",inputRow:"NewsletterModal_inputRow__02lcu",inputWrapper:"NewsletterModal_inputWrapper__wgVNY",mailIcon:"NewsletterModal_mailIcon__abUn_",input:"NewsletterModal_input__2gt25",button:"NewsletterModal_button___KGPL",errorMessage:"NewsletterModal_errorMessage__2_wfw",legalN
1ote:"NewsletterModal_legalNote__eIO89",skipButton:"NewsletterModal_skipButton__YUTU0",successState:"NewsletterModal_successState__kBcaL",successIcon:"NewsletterModal_successIcon__jlode",successTitle:"NewsletterModal_successTitle__drMqN",successBody:"NewsletterModal_successBody___BUSg",successHint:"NewsletterModal_successHint__6RFor",floatingCta:"NewsletterModal_floatingCta__jVr0R",slideUpFade:"NewsletterModal_slideUpFade__A6MUD",floatingCard:"NewsletterModal_floatingCard__mkiG4",floatingIcon:"NewsletterModal_floatingIcon__lo_DM",floatingText:"NewsletterModal_floatingText__clRkj",floatingTitle:"NewsletterModal_floatingTitle__uUeFb",floatingSubtitle:"NewsletterModal_floatingSubtitle__pXJov",floatingSubscribeBtn:"NewsletterModal_floatingSubscribeBtn__oWyjy",floatingDismissBtn:"NewsletterModal_floatingDismissBtn__9Yb2Q"}}}]);
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.