PageSourceSearch

https://www.ojaank.com/_next/static/immutable/chunks/0d7b_acwi1y_1.js

js ojaank.com collected 2026-10-04 08:22:49 UTC 36,458 bytes, 32 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,48119,e=>{e.v({className:"pt_sans_24003bbd-module__EhZa7G__className",variable:"pt_sans_24003bbd-module__EhZa7G__variable"})},5024,e=>{e.v({className:"roboto_7a7f5fc2-module___VFcqG__className",variable:"roboto_7a7f5fc2-module___VFcqG__variable"})},75316,e=>{"use strict";var t=e.i(91398),a=e.i(91788);let s=(0,a.createContext)({onClose:()=>{}}),r={sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-2xl","2xl":"max-w-3xl","3xl":"max-w-4xl","4xl":"max-w-4xl","5xl":"max-w-5xl",full:"max-w-none"};e.s(["Modal",0,({isOpen:e=!1,onOpenChange:l,onClose:n,size:i="md",placement:o="center",className:d="",children:c,...u})=>{let m=(0,a.useCallback)(()=>{l?l(!1):n&&n()},[l,n]);return((0,a.useEffect)(()=>{if(!e)return;let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[e]),(0,a.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&m()};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e,m]),e)?(0,t.jsxs)("div",{className:`fixed inset-0 z-[100] flex ${"top"===o?"items-start pt-[10dvh]":"items-center"} justify-center overflow-y-auto p-4`,role:"dialog","aria-modal":"true",tabIndex:-1,...u,children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-black/60 backdrop-blur-[2px]",onClick:m,"aria-hidden":"true"}),(0,t.jsx)("div",{className:`relative z-10 my-auto w-full ${r[i]||r.md} ${d}`,children:(0,t.jsx)(s.Provider,{value:{onClose:m},children:c})})]}):null},"ModalBody",0,({children:e,className:a=""})=>(0,t.jsx)("div",{className:`overflow-y-auto px-6 py-3 ${a}`,children:e}),"ModalContent",0,({children:e,className:r="",bare:l=!1,...n})=>{let{onClose:i}=(0,a.useContext)(s),o="function"==typeof e?e(i):e;return(0,t.jsx)("div",{className:`relative flex max-h-full flex-col ${l?"":"overflow-hidden rounded-2xl bg-white shadow-2xl"} ${r}`,...n,children:o})},"ModalHeader",0,({children:e,className:a=""})=>(0,t.jsx)("div",{className:`flex items-start justify-between gap-4 px-6 pt-5 pb-2 text-lg font-bold text-[var(--text-300)] ${a}`,children:e}),"useDisclosure",0,()=>{let[e,t]=(0,a.useState)(!1),s=(0,a.useCallback)(()=>t(!0),[]);return{isOpen:e,onOpen:s,onClose:(0,a.useCallback)(()=>t(!1),[]),onOpenChange:(0,a.useCallback)(()=>t(e=>!e),[])}}])},13584,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"HeadManagerContext",{enumerable:!0,get:function(){return s}});let s=e.r(41705)._(e.r(91788)).default.createContext({})},80963,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0});var s={default:function(){return x},defaultHead:function(){return u}};for(var r in s)Object.defineProperty(a,r,{enumerable:!0,get:s[r]});let l=e.r(41705),n=e.r(52456),i=e.r(91398),o=n._(e.r(91788)),d=l._(e.r(94941)),c=e.r(13584);function u(){return[(0,i.jsx)("meta",{charSet:"utf-8"},"charset"),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function m(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let h=["name","httpEquiv","charSet","itemProp"];function p(e){let t,a,s,r;return e.reduce(m,[]).reverse().concat(u().reverse()).filter((t=new Set,a=new Set,s=new Set,r={},e=>{let l=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;let a=e.key.slice(e.key.indexOf("$")+1);t.has(a)?l=!1:t.add(a)}switch(e.type){case"title":case"base":a.has(e.type)?l=!1:a.add(e.type);break;case"meta":for(let t=0,a=h.length;t<a;t++){let a=h[t];if(e.props.hasOwnProperty(a))if("charSet"===a)s.has(a)?l=!1:s.add(a);else{let t=e.props[a],s=r[a]||new Set;("name"!==a||!n)&&s.has(t)?l=!1:(s.add(t),r[a]=s)}}}return l})).reverse().map((e,t)=>{let a=e.key||t;return o.default.cloneElement(e,{key:a})})}let x=function({children:e}){let t=(0,o.useContext)(c.HeadManagerContext);return(0,i.jsx)(d.default,{reduceComponentsToState:p,headManager:t,children:e})};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},61592,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"LoadableContext",{enumerable:!0,get:function(){return s}});let s=e.r(41705)._(e.r(91788)).default.createContext(null)},52414,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return m}});let s=e.r(41705)._(e.r(91788)),r=e.r(61592),l=[],n=[],i=!1;function o(e){let t=e(),a={loading:!0,loaded:null,error:null};return a.promise=t.then(e=>(a.loading=!1,a.loaded=e,e)).catch(e=>{throw a.loading=!1,a.error=e,e}),a}class d{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function c(t){return function(t,a){let o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},a),c=null;function u(){if(!c){let e=new d(t,o);c={getCurrentValue:e.getCurrentValue.bind(e),subscribe:e.subscribe.bind(e),retry:e.retry.bind(e),promise:e.promise.bind(e)}}return c.promise()}if("u"<typeof window&&l.push(u),!i&&"u">typeof window){let t=o.webpack&&"function"==typeof e.t.resolveWeak?o.webpack():o.modules;t&&n.push(e=>{for(let a of t)if(e.includes(a))return u()})}function m(e,t){let a;u(),(a=s.default.useContext(r.LoadableContext))&&Array.isArray(o.modules)&&o.modules.forEach(e=>{a(e)});let l=s.default.useSyncExternalStore(c.subscribe,c.getCurrentValue,c.getCurrentValue);return s.default.useImperativeHandle(t,()=>({retry:c.retry}),[]),s.default.useMemo(()=>{var t;return l.loading||l.error?s.default.createElement(o.loading,{isLoading:l.loading,pastDelay:l.pastDelay,timedOut:l.timedOut,error:l.error,retry:c.retry}):l.loaded?s.default.createElement((t=l.loaded)&&t.default?t.default:t,e):null},[e,l])}return m.preload=()=>u(),m.displayName="LoadableComponent",s.default.forwardRef(m)}(o,t)}function u(e,t){let a=[];for(;e.length;){let s=e.pop();a.push(s(t))}return Promise.all(a).then(()=>{if(e.length)return u(e,t)})}c.preloadAll=()=>new Promise((e,t)=>{u(l).then(e,t)}),c.preloadReady=(e=[])=>new Promise(t=>{let a=()=>(i=!0,t());u(n,e).then(a,a)}),"u">typeof window&&(window.__NEXT_PRELOADREADY=c.preloadReady);let m=c},25167,(e,t,a)=>{"use strict";e.i(50461),Object.defineProperty(a,"__esModule",{value:!0});var s={default:function(){return u},noSSR:function(){return c}};for(var r in s)Object.defineProperty(a,r,{enumerable:!0,get:s[r]});let l=e.r(41705),n=e.r(91398);e.r(91788);let i=l._(e.r(52414)),o="u"<typeof window;function d(e){return{default:e?.default||e}}function c(e,t){if(delete t.webpack,delete t.modules,!o)return e(t);let a=t.loading;return()=>(0,n.jsx)(a,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function u(e,t){let a=i.default,s={loading:({error:e,isLoading:t,pastDelay:a})=>null};e instanceof Promise?s.loader=()=>e:"function"==typeof e?s.loader=e:"object"==typeof e&&(s={...s,...e});let r=(s={...s,...t}).loader;return(s.loadableGenerated&&(s={...s,...s.loadableGenerated},delete s.loadableGenerated),"boolean"!=typeof s.ssr||s.ssr)?a({...s,loader:()=>null!=r?r().then(d):Promise.resolve(d(()=>null))}):(delete s.webpack,delete s.modules,c(a,s))}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},68489,(e,t,a)=>{t.exports=e.r(25167)},94941,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i}});let s=e.r(91788),r="u"<typeof window,l=r?()=>{}:s.useLayoutEffect,n=r?()=>{}:s.useEffect;function i(e){let{headManager:t,reduceComponentsToState:a}=e;function i(){if(t&&t.mountedInstances){let e=s.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(a(e))}}return r&&(t?.mountedInstances?.add(e.children),i()),l(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),l(()=>(t&&(t._pendingUpdate=i),()=>{t&&(t._pendingUpdate=i)})),n(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},58678,(e,t,a)=>{t.exports=e.r(80963)},3828,(e,t,a)=>{t.exports=e.r(26990)},94182,(e,t,a)=>{t.exports=e.r(61457)},62727,e=>{"use strict";var t=e.i(91398),a=e.i(91788),s=e.i(68489),r=e.i(41158),l=e.i(78036),n=e.i(3828);let i=(0,s.default)(()=>e.A(52383),{loadableGenerated:{modules:[34281]},ssr:!1}),o=(0,a.memo)(function({data:e}){let[s,o]=(0,a.useState)(!1),{authToken:d,logout:c,user:u}=(0,l.useStoreLogin)(),[m,h]=(0,a.useState)(),p=(0,n.useRouter)();return(0,a.useEffect)(()=>{d||u||o(!1)},[d,u]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"My-top-bar w-full bg-[var(--my-primary)] text-white","aria-label":"Top navigation bar",children:(0,t.jsxs)("div",{className:"My-container px-5 md:px-6 h-9 flex justify-between items-center gap-4",children:[(0,t.jsx)("div",{className:"hidden md:flex items-center gap-6",children:e?.slice(0,2).map((e,a)=>e?.img||e?.title?(0,t.jsxs)(r.default,{href:e?.url||"#",className:"text-[0.8rem] font-medium text-white hover:text-white inline-flex items-center gap-1.5","aria-label":e?.title,prefetch:!1,children:[e?.img&&(0,t.jsx)("i",{className:`${e?.img} text-[0.8rem]`,"aria-hidden":"true"}),e?.title]},a):null)}),(0,t.jsxs)("div",{className:"flex items-center gap-2 ml-auto",children:[d&&u?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"text-[0.8rem] font-semibold text-white border border-white/40 rounded-full px-3.5 py-1 hover:bg-white/10 transition-colors",onClick:()=>c(),"aria-label":"Log Out",children:"Log Out"}),(0,t.jsx)(r.default,{href:"https://portal.ojaank.com/student/auth/login",target:"_blank",rel:"noopener",role:"button",className:"text-[0.8rem] font-semibold text-white bg-[var(--my-secoundry)] rounded-full px-3.5 py-1 hover:opacity-90 transition-opacity","aria-label":"Student Portal",children:"Student Portal"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"text-[0.8rem] font-semibold text-white border border-white/40 rounded-full px-3.5 py-1 hover:bg-white/10 transition-colors",onClick:()=>{h("LOGIN"),o(!0)},"aria-label":"Log In",children:"Log In"}),(0,t.jsx)("button",{type:"button",className:"text-[0.8rem] font-semibold text-white bg-[var(--my-secoundry)] rounded-full px-3.5 py-1 hover:opacity-90 transition-opacity",onClick:()=>{h("REGISTER"),o(!0)},"aria-label":"Sign Up",children:"Sign Up"})]}),(0,t.jsx)("span",{className:"w-px h-4 bg-white/30 mx-1","aria-hidden":"true"}),(0,t.jsxs)(r.default,{href:p.asPath.includes("hindi")?"/":"/hindi",role:"button",className:"text-[0.8rem] font-bold text-white hover:text-white inline-flex items-center gap-1.5 px-1","aria-label":p.asPath.includes("hindi")?"Switch to English":"Switch to Hindi",prefetch:!1,children:[(0,t.jsx)("i",{className:"fa-solid fa-globe text-[0.8rem]","aria-hidden":"true"}),p.asPath.includes("hindi")?"English":"Hindi"]})]})]})}),(0,t.jsx)(i,{openIt:s,setOpenIt:o,initialScreen:m})]})});var d=e.i(3881);let c=(0,s.default)(()=>e.A(52383),{loadableGenerated:{modules:[34281]},ssr:!1}),u=(0,a.memo)(function({websiteData:e}){let s=(0,n.useRouter)(),[i,o]=(0,a.useState)(!1),[u,m]=(0,a.useState)({}),[h,p]=(0,a.useState)(0),[x,f]=(0,a.useState)(s.asPath.includes("hindi")?e?.menus?.PRIMARY_MENU_HINDI?.items:e?.menus?.PRIMARY_MENU?.items),[b,y]=(0,a.useState)(!1),[g,j]=(0,a.useState)(),{authToken:w,logout:v,user:N}=(0,l.useStoreLogin)(),[_,k]=(0,a.useState)(null);(0,a.useEffect)(()=>{s.asPath.includes("hindi")?f(e?.menus?.PRIMARY_MENU_HINDI?.items):f(e?.menus?.PRIMARY_MENU?.items)},[s.asPath,e?.menus]);let C=(0,a.useCallback)(()=>{let e=document.querySelector("header"),t=document.querySelector("header nav"),a=document.querySelector("header .My-empty-nav");if(e&&t&&a){let s=t.offsetHeight;a.style.height=`${s}px`;let r=e.offsetHeight;document.documentElement.style.setProperty("--My-mob-h",`calc(100vh - ${r}px)`),document.documentElement.style.setProperty("--My-mob-top",`${r}px`)}},[]),M=(0,a.useCallback)(()=>{window.innerWidth>=1490?k(10):window.innerWidth>=1469?k(9):window.innerWidth>=1340?k(8):window.innerWidth>=1101?k(7):window.innerWidth>=847?k(6):window.innerWidth>=769?k(5):k(x?.length||0)},[x?.length]);(0,a.useEffect)(()=>{let e;C(),M();let t=()=>{clearTimeout(e),e=setTimeout(()=>{C(),M()},100)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),clearTimeout(e)}},[C,M]);let E=(0,a.useCallback)(()=>{p(e=>e+1),o(e=>!e)},[]),P=(0,a.useCallback)(e=>{m(t=>{let a={...t};return a[e]=!a[e],a})},[]),S=(0,a.useCallback)(e=>{j(e),y(!0),o(!1)},[]),T=(0,a.useCallback)((e,a,l="")=>{let n=l?`${l}-${a}`:`${a}`,i=u[n];return e?.subItems&&e?.subItems.length>0?(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"My-drop-parent",children:[(0,t.jsxs)("div",{className:"My-navdropbtn-holder",children:[e?.url?(0,t.jsxs)(r.default,{href:e?.url||"#",role:"button",className:`${s?.pathname===e?.url&&"active"} My-nav-link`,target:e?.tab?"_blank":"_self",rel:e?.tab?"noopener":void 0,prefetch:!1,onClick:E,children:[e?.title,(0,t.jsx)("i",{className:"fa-solid fa-caret-down ml-3","aria-hidden":"true"})]}):(0,t.jsxs)("button",{type:"button",className:`${s?.pathname===e?.url&&"active"} My-nav-link`,"aria-expanded":i,children:[e?.title,(0,t.jsx)("i",{className:"fa-solid fa-caret-down ml-3","aria-hidden":"true"})]}),(0,t.jsx)("span",{className:"My-plus-btn",onClick:()=>P(n),role:"button",tabIndex:0,"aria-label":i?"Collapse menu":"Expand menu",children:i?(0,t.jsx)("i",{className:"fa-solid fa-minus","aria-hidden":"true"}):(0,t.jsx)("i",{className:"fa-solid fa-plus","aria-hidden":"true"})})]}),(0,t.jsx)("ul",{className:`My-drop-child My-navdrop-ul ${i?"show":"hide"}
1`,children:e?.subItems&&e?.subItems.map((e,t)=>T(e,t,n))})]})},n):(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e?.url||"#",role:"button",className:`${s?.pathname===e?.url&&"active"} My-nav-link`,target:e?.tab?"_blank":"_self",rel:e?.tab?"noopener":void 0,prefetch:!1,onClick:E,children:e?.title})},n)},[u,s?.pathname,E,P]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"My-empty-nav hidden"}),(0,t.jsx)("nav",{"aria-label":"Main navigation",children:(0,t.jsxs)("div",{className:"My-nav-inner",children:[(0,t.jsxs)("div",{className:"My-first-col",children:[(0,t.jsx)("div",{className:"My-logo-box",children:(0,t.jsx)(r.default,{href:"/","aria-label":"Home page",prefetch:!1,children:(0,t.jsx)(d.default,{src:e?.website?.logo,alt:"Ojaank",priority:!0,imgWidth:360,width:180,height:60})})}),(0,t.jsx)("div",{className:"My-toggle-box",children:(0,t.jsx)("button",{type:"button",onClick:E,"aria-expanded":i,"aria-label":"Toggle menu",children:(0,t.jsx)("i",{className:"fa-solid fa-bars","aria-hidden":"true"})})})]}),(0,t.jsxs)("div",{className:`My-menu-col ${i?"show":h<=0?"":"hide"}`,id:"main-navigation-menu",children:[(0,t.jsxs)("ul",{className:"My-nav-menu flex-wrap",children:[x&&x.slice(0,_).map((e,t)=>T(e,t)),x?.length>_&&(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"My-drop-parent",children:[(0,t.jsxs)("div",{className:"My-navdropbtn-holder",children:[(0,t.jsxs)("button",{type:"button",className:"My-nav-link","aria-expanded":u.more,children:["More",(0,t.jsx)("i",{className:"fa-solid fa-caret-down ml-3","aria-hidden":"true"})]}),(0,t.jsx)("span",{className:"My-plus-btn",onClick:()=>P("more"),role:"button",tabIndex:0,"aria-label":u.more?"Collapse menu":"Expand menu",children:u.more?(0,t.jsx)("i",{className:"fa-solid fa-minus","aria-hidden":"true"}):(0,t.jsx)("i",{className:"fa-solid fa-plus","aria-hidden":"true"})})]}),(0,t.jsx)("ul",{className:`My-drop-child My-navdrop-ul ${u.more?"show":"hide"}`,children:x&&x.slice(_).map((e,t)=>T(e,t+_,"more"))})]})})]}),(0,t.jsxs)("div",{className:"My-menu-footer mt-5 px-5 hidden",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)(r.default,{href:"/contact",className:"p-0 text-sm font-medium text-white",prefetch:!1,children:[(0,t.jsx)("i",{className:"fa-solid fa-book-open mr-1","aria-hidden":"true"})," ","Free Study Materials"]}),(0,t.jsx)(r.default,{href:"/contact",className:"p-0 text-sm font-medium text-white",prefetch:!1,children:"Live Classes"})]}),(0,t.jsx)("div",{children:w&&N?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"bg-[var(--my-secoundry)] text-white px-3 py-[0.2rem] text-sm border-1 border-solid border-white",onClick:()=>v(),"aria-label":"Log Out",children:"Log Out"}),(0,t.jsx)(r.default,{href:"https://portal.ojaank.com/student/auth/login",role:"button",className:"bg-[var(--my-secoundry)] text-white px-3 py-[0.2rem] text-sm border-1 border-solid border-white",target:"_blank",rel:"noopener","aria-label":"Student Portal",children:"Student Portal"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"bg-[var(--my-secoundry)] text-white px-3 py-[0.2rem] text-sm border-1 border-solid border-white",onClick:()=>S("LOGIN"),"aria-label":"Log In",children:"Log In"}),(0,t.jsx)("button",{type:"button",className:"bg-[var(--my-secoundry)] text-white px-3 py-[0.2rem] text-sm border-1 border-solid border-white",onClick:()=>S("REGISTER"),"aria-label":"Sign Up",children:"Sign Up"})]})})]})]})]})}),(0,t.jsx)(c,{openIt:b,setOpenIt:y,initialScreen:g})]})}),m=[{id:1,name:"facebook",icon:"fa-brands fa-facebook-f",brandColor:"#3b5998"},{id:2,name:"youTube",icon:"fa-brands fa-youtube",brandColor:"#FF0000"},{id:3,name:"telegram",icon:"fa-brands fa-telegram",brandColor:"#0088CC"},{id:4,name:"whatsapp",icon:"fa-brands fa-whatsapp",brandColor:"#25D366"},{id:5,name:"twitter",icon:"fa-brands fa-twitter",brandColor:"#1DA1F2"},{id:6,name:"linkedIn",icon:"fa-brands fa-linkedin-in",brandColor:"#0077B5"},{id:7,name:"instagram",icon:"fa-brands fa-instagram",brandColor:"#E1306C"}],h=(0,a.memo)(function({websiteData:e}){let s=(0,n.useRouter)(),l=(0,a.useMemo)(()=>s.asPath.includes("hindi")?e?.menus?.COPYRIGHT_MENU:e?.menus?.FOOTER_MENU1,[s.asPath,e?.menus]),i=s?.asPath?.includes("/hindi");return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("footer",{className:"w-full bg-[var(--my-secoundry)] border-t-4 border-[var(--my-primary)]",children:[(0,t.jsxs)("div",{className:"My-container grid grid-cols-1 md:grid-cols-3 gap-10 md:gap-[var(--gap-col)] py-14 px-5 md:px-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-col mb-6",children:[(0,t.jsxs)("h3",{className:"text-white font-bold text-lg uppercase mb-0 flex items-center gap-2.5",children:[(0,t.jsx)("span",{className:"w-8 h-8 rounded-lg bg-[var(--my-primary)] flex items-center justify-center text-sm shrink-0",children:(0,t.jsx)("i",{className:"fa-solid fa-link","aria-hidden":"true"})}),l?.items[0]?.title||"OTHER LINKS"]}),(0,t.jsx)("span",{className:"w-full h-[2px] bg-white/10 max-w-44 mt-3","aria-hidden":"true"})]}),(0,t.jsx)("ul",{className:"grid grid-cols-1 gap-2.5",children:l?.items[0]?.subItems&&l?.items[0]?.subItems?.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsxs)(r.default,{href:e?.url||"#",className:"MyTrns-l text-white/85 hover:text-[var(--my-primary)] text-sm inline-flex items-center gap-2.5 group",style:{color:s?.pathname===e?.url?"#4fc3a1":void 0},children:[(0,t.jsx)("i",{className:"fa-solid fa-angle-right text-[var(--my-primary)] text-xs transition-transform group-hover:translate-x-1","aria-hidden":"true"}),e?.title]})},a))})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-col mb-6",children:[(0,t.jsxs)("h3",{className:"text-white font-bold text-lg uppercase mb-0 flex items-center gap-2.5",children:[(0,t.jsx)("span",{className:"w-8 h-8 rounded-lg bg-[var(--my-primary)] flex items-center justify-center text-sm shrink-0",children:(0,t.jsx)("i",{className:"fa-solid fa-compass","aria-hidden":"true"})}),l?.items[1]?.title||"Links"]}),(0,t.jsx)("span",{className:"w-full h-[2px] bg-white/10 max-w-44 mt-3","aria-hidden":"true"})]}),(0,t.jsx)("ul",{className:"grid grid-cols-1 gap-2.5",children:l?.items[1]?.subItems&&l?.items[1]?.subItems?.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsxs)(r.default,{href:e?.url||"#",className:"MyTrns-l text-white/85 hover:text-[var(--my-primary)] text-sm inline-flex items-center gap-2.5 group",style:{color:s?.asPath?.includes(e?.url)?"#4fc3a1":void 0},children:[(0,t.jsx)("i",{className:"fa-solid fa-angle-right text-[var(--my-primary)] text-xs transition-transform group-hover:translate-x-1","aria-hidden":"true"}),e?.title]})},a))})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex flex-col mb-6",children:[(0,t.jsxs)("h3",{className:"text-white font-bold text-lg uppercase mb-0 flex items-center gap-2.5",children:[(0,t.jsx)("span",{className:"w-8 h-8 rounded-lg bg-[var(--my-primary)] flex items-center justify-center text-sm shrink-0",children:(0,t.jsx)("i",{className:"fa-solid fa-headset","aria-hidden":"true"})}),l?.items[2]?.title||"Contact"]}),(0,t.jsx)("span",{className:"w-full h-[2px] bg-white/10 max-w-44 mt-3","aria-hidden":"true"})]}),(0,t.jsxs)("ul",{className:"grid grid-cols-1 gap-3",children:[e?.website?.address&&(0,t.jsxs)("li",{className:"flex items-start gap-3",children:[(0,t.jsx)("span",{className:"mt-0.5 w-7 h-7 shrink-0 rounded-full bg-white/10 flex items-center justify-center text-[var(--my-primary)] text-xs",children:(0,t.jsx)("i",{className:"fa-solid fa-location-dot","aria-hidden":"true"})}),(0,t.jsx)("span",{className:"MyTrns-l text-white/85 text-sm leading-relaxed",children:e?.website?.address})]}),e?.website?.email&&(0,t.jsxs)("li",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:"w-7 h-7 shrink-0 rounded-full bg-white/10 flex items-center justify-center text-[var(--my-primary)] text-xs",children:(0,t.jsx)("i",{className:"fa-solid fa-envelope","aria-hidden":"true"})}),(0,t.jsx)("a",{href:`mailto:${e?.website?.email}`,target:"_blank",rel:"noopener",className:"MyTrns-l text-white/85 hover:text-[var(--my-primary)] text-sm",style:{wordWrap:"break-word",wordBreak:"break-word"},"aria-label":`Email: ${e?.website?.email}`,children:e?.website?.email})]}
1),e?.website?.contactNumber&&e?.website?.contactNumber?.map((e,a)=>(0,t.jsxs)("li",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:"w-7 h-7 shrink-0 rounded-full bg-white/10 flex items-center justify-center text-[var(--my-primary)] text-xs",children:(0,t.jsx)("i",{className:"fa-solid fa-phone","aria-hidden":"true"})}),(0,t.jsx)(r.default,{href:`tel:${e.replace(/\s/g,"")}`,className:"MyTrns-l text-white/85 hover:text-[var(--my-primary)] text-sm","aria-label":`Phone: ${e}`,children:e})]},a))]}),(0,t.jsx)("ul",{className:"mt-6 flex items-center gap-2.5 flex-wrap","aria-label":"Social Media Links",children:e?.website?.socialLinks&&Object.keys(e?.website?.socialLinks).map((a,s)=>{let r=m.find(e=>e.name===a),l=e?.website?.socialLinks[a];return r&&l&&""!==l.trim()&&"#"!==l.trim()?(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:l,className:"MyTrns-e w-9 h-9 flex items-center justify-center text-sm rounded-full text-white bg-white/10 hover:bg-[var(--my-primary)] hover:-translate-y-0.5 border border-white/10",target:"_blank",rel:"noopener","aria-label":`${a} social link`,children:(0,t.jsx)("i",{className:r.icon,"aria-hidden":"true"})})},s):null})})]})]}),(0,t.jsx)("div",{className:`w-full bg-black/30 py-3 px-6 md:px-0 ${s?.asPath==="/"||s?.asPath==="/hindi"?"mb-[28px]":""}`,children:(0,t.jsxs)("div",{className:"My-container flex flex-col md:flex-row justify-between gap-2 px-5 md:px-8",children:[(0,t.jsx)("p",{className:"text-white/75 text-[0.8rem]",children:i?"कॉपीराइट © 2022 ओजांक फाउंडेशन। सर्वाधिकार सुरक्षित।":"Copyright © 2022 power by Ojaank Ias. All Right Reserved."}),(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)(r.default,{href:i?"/hindi/privacy-policy":"/privacy-policy",className:"text-white/75 hover:text-white text-[0.8rem]",children:i?"प्राइवेसी पॉलिसी":"Privacy Policy"}),(0,t.jsx)("span",{className:"text-white/30 px-2","aria-hidden":"true",children:"|"}),(0,t.jsx)(r.default,{href:i?"/hindi/terms-conditions":"/terms-conditions",className:"text-white/75 hover:text-white text-[0.8rem]",children:i?"नियम एवं शर्तें":"Terms & Conditions"})]})]})})]})})});var p=e.i(58678),x=e.i(94182);function f({favicon:e,scripts:a}){return(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsxs)(p.default,{children:[(0,t.jsx)("meta",{name:"msapplication-square",content:e}),(0,t.jsx)("link",{rel:"icon",type:"image/x-icon",href:e}),(0,t.jsx)("link",{rel:"apple-touch-icon",href:e})]}),a?.length>0&&a.map((e,a)=>(0,t.jsx)(x.default,{strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:`
2(function () {
3  var inner = ${JSON.stringify(e?.innerHTML||"")};
4  var src = ${JSON.stringify(e?.src||"")};
5  var type = ${JSON.stringify(e?.type||"text/javascript")};
6  function run() {
7    if (inner) {
8      var s = document.createElement('script');
9      s.type = type;
10      s.innerHTML = inner;
11      document.body.appendChild(s);
12    }
13    if (src) {
14      var s2 = document.createElement('script');
15      s2.async = true;
16      s2.src = src;
17      document.body.appendChild(s2);
18    }
19  }
20  var fired = false;
21  function fire() {
22    if (fired) return;
23    fired = true;
24    ['pointerdown', 'keydown', 'touchstart', 'scroll'].forEach(function (evt) {
25      window.removeEventListener(evt, fire, { passive: true });
26    });
27    run();
28  }
29  ['pointerdown', 'keydown', 'touchstart', 'scroll'].forEach(function (evt) {
30    window.addEventListener(evt, fire, { passive: true });
31  });
32})();`}},a))]})}let b=()=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("button",{type:"button",className:"fixed bottom-20 left-5 bg-[var(--my-primary)] flex justify-center items-center w-8 h-8 rounded-full text-white text-sm z-10",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},"aria-label":"Back to top",children:(0,t.jsx)("i",{className:"fa-solid fa-angle-up"})})}),y=({socialList:e={}})=>{let[s,l]=(0,a.useState)(null);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"social-slide-holder",children:[(0,t.jsxs)("ul",{children:[(0,t.jsx)("li",{onMouseEnter:()=>l("001"),onMouseLeave:()=>l(null),children:(0,t.jsxs)(r.default,{href:"/hindi",className:"s-link","aria-label":"Switch to Hindi",children:[(0,t.jsx)("i",{className:"fa-solid fa-language"}),(0,t.jsx)("div",{className:"nested-link-box",style:{backgroundColor:"001"==s?"var(--my-primary)":"var(--secoundry-shade-100)"},children:(0,t.jsx)("span",{style:{backgroundColor:"001"==s?"var(--my-primary)":"var(--secoundry-shade-100)"},children:"Hindi"})})]})}),(0,t.jsx)("li",{onMouseEnter:()=>l("002"),onMouseLeave:()=>l(null),children:(0,t.jsxs)("a",{href:"https://portal.ojaank.com/student/auth/login",target:"_blank",className:"s-link",children:[(0,t.jsx)("i",{className:"fa-solid fa-table-columns"}),(0,t.jsx)("div",{className:"nested-link-box",style:{backgroundColor:"002"==s?"var(--my-primary)":"var(--secoundry-shade-100)"},children:(0,t.jsx)("span",{style:{backgroundColor:"002"==s?"var(--my-primary)":"var(--secoundry-shade-100)"},children:"Test Portal"})})]})}),Object.keys(e||{}).map((a,r)=>
32{let n=m.find(e=>e?.name===a)||null;if(e[a])return(0,t.jsx)("li",{onMouseEnter:()=>l(r),onMouseLeave:()=>l(null),children:(0,t.jsxs)("a",{href:e[a],target:"_blank",className:"s-link",children:[(0,t.jsx)("i",{className:n?.icon||""}),(0,t.jsx)("div",{className:"nested-link-box",style:{backgroundColor:s===r&&n?.brandColor||"var(--secoundry-shade-100)"},children:(0,t.jsx)("span",{style:{backgroundColor:s===r&&n?.brandColor||"var(--secoundry-shade-100)"},children:a})})]})},r)}),(0,t.jsx)("li",{onMouseEnter:()=>l("003"),onMouseLeave:()=>l(null),children:(0,t.jsxs)(r.default,{href:"/contact",className:"s-link",children:[(0,t.jsx)("i",{className:"fa-solid fa-question"}),(0,t.jsx)("div",{className:"nested-link-box",style:{backgroundColor:"003"==s?"#FF0000":"var(--secoundry-shade-100)"},children:(0,t.jsx)("span",{style:{backgroundColor:"003"==s?"#FF0000":"var(--secoundry-shade-100)"},children:"Enquiry"})})]})})]}),(0,t.jsx)("button",{type:"button",className:"toggleBtn ","aria-label":"Toggle social media links",children:(0,t.jsx)("i",{className:"fa-solid fa-angle-right"})})]})})};var g=e.i(75316);let j=(0,s.default)(()=>e.A(5876),{loadableGenerated:{modules:[81033]},ssr:!1}),w=()=>{let{isOpen:e,onOpen:a,onOpenChange:s,onClose:r}=(0,g.useDisclosure)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",className:"enq-btn MyTrns-e fixed top-1/2 right-0 -translate-y-1/2 z-10 flex flex-col items-center gap-2 rounded-l-2xl bg-[var(--my-primary)] px-2.5 py-4 text-white shadow-lg hover:bg-[var(--my-secoundry)] hover:shadow-xl group",onClick:a,"aria-label":"Enquiry Now",children:[(0,t.jsx)("i",{className:"fa-solid fa-headset text-lg group-hover:animate-pulse","aria-hidden":"true"}),(0,t.jsx)("span",{className:"text-[0.62rem] font-bold uppercase tracking-[0.15em] [writing-mode:vertical-rl]",children:"Enquiry Now"})]}),(0,t.jsx)(g.Modal,{isOpen:e,size:"xl",onOpenChange:s,placement:"top",children:(0,t.jsx)(g.ModalContent,{children:()=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(g.ModalBody,{className:"pb-5 pt-6",children:(0,t.jsx)(j,{closePopup:r})})})})})]})};function v({children:e,websiteData:a,hideHeader:s,hideFooter:r}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f,{favicon:a?.website?.favicon,scripts:a?.website?.script}),a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{}),(0,t.jsx)(w,{phone:a?.website?.contactNumber[0]}),(0,t.jsx)(y,{socialList:a?.website?.socialLinks}),!s&&(0,t.jsxs)("header",{className:"sticky top-0 z-40",children:[(0,t.jsx)(o,{data:a?.menus?.TOP_MENU?.items}),(0,t.jsx)(u,{websiteData:a})]})]}),(0,t.jsx)("main",{children:e}),(!r||a)&&(0,t.jsx)(h,{websiteData:a})]})}var N=e.i(48119);let _={className:N.default.className,style:{fontFamily:"'PT Sans', 'PT Sans Fallback'",fontStyle:"normal"}};null!=N.default.variable&&(_.variable=N.default.variable);var k=e.i(5024);let C={className:k.default.className,style:{fontFamily:"'Roboto', 'Roboto Fallback'",fontStyle:"normal"}};null!=k.default.variable&&(C.variable=k.default.variable);let M=({title:e,ogTitle:a,keywords:s,description:r,image:l,robots:n,maxSnippet:i,url:o})=>{let d=[n,i?`max-snippet:${i}`:null].filter(Boolean).join(", "),c="https://ojaank.com",u=o?`${c}${o}`:"",m=l&&!l.startsWith("http")?`${c}${l.startsWith("/")?"":"/"}${l}`:l;return(0,t.jsxs)(p.default,{children:[(0,t.jsx)("meta",{httpEquiv:"content-type",content:"text/html; charset=UTF-8"}),(0,t.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge,chrome=1"}),(0,t.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),d&&(0,t.jsx)("meta",{name:"robots",content:d}),e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{property:"og:site_name",content:e}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:locale",content:"en_IN"}),(0,t.jsx)("title",{children:a||e}),(0,t.jsx)("meta",{property:"og:title",content:a||e}),(0,t.jsx)("meta",{name:"twitter:title",content:a||e}),(0,t.jsx)("meta",{name:"twitter:card",content:"summary_large_image"})]}),o&&(0,t.jsx)("link",{rel:"canonical",href:u}),o&&(0,t.jsx)("meta",{property:"og:url",content:u}),r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{name:"description",content:r}),(0,t.jsx)("meta",{property:"og:description",content:r}),(0,t.jsx)("meta",{name:"twitter:description",content:r})]}),m&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{property:"og:image",content:m}),(0,t.jsx)("meta",{name:"twitter:image",content:m}),(0,t.jsx)("meta",{name:"twitter:card",content:"summary_large_image"})]}),s&&(0,t.jsx)("meta",{name:"keywords",content:s})]})};var E=e.i(64007);function P({data:e,isOpen:a,onClose:s}){return(0,t.jsx)(g.Modal,{isOpen:a,onClose:s,size:"full",id:"popup-section","aria-label":e[0]?.title?`Promotional offer: ${e[0].title}`:"Promotional offer",children:(0,t.jsx)(g.ModalContent,{bare:!0,className:"p-0 flex justify-center items-center overflow-visible",children:e.length>0&&(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("button",{onClick:s,className:"absolute -top-4 -right-4 bg-white w-8 h-8 flex items-center justify-center rounded-full shadow-md hover:bg-gray-200 transition-all","aria-label":"Close popup",children:(0,t.jsx)("i",{className:"fa-solid fa-xmark"})}),(0,t.jsx)(r.default,{href:e[0]?.link||"",target:"_blank",children:(0,t.jsx)(d.default,{src:e[0].image,alt:`${e[0].title} image`,imgWidth:1280,className:"max-w-[80vw] max-h-[80vh] w-auto h-auto object-contain rounded-lg"})})]})})})}let S=(0,s.default)(()=>e.A(95453),{loadableGenerated:{modules:[55807]},ssr:!1});e.s(["default",0,function({Component:e,pageProps:s}){let r=(0,n.useRouter)(),{title:l,data:i,websiteData:o,metaTags:d,url:c,...u}=s,m=d?.ogTitle||i?.pageData?.metaTags?.ogTitle||o?.website?.metaTags?.ogTitle,h=d?.keywords||i?.pageData?.metaTags?.keywords||o?.website?.metaTags?.keywords,p=d?.ogDescription||i?.pageData?.metaTags?.ogDescription||o?.website?.metaTags?.ogDescription||"Ojaank IAS Academy — India's trusted institute for UPSC CSE & BPSC coaching, study material, test series and current affairs.",x=d?.ogImage||i?.pageData?.metaTags?.ogImage||i?.pageData?.featureImg||o?.website?.metaTags?.ogImage,[f,b]=(0,a.useState)([]),[y,g]=(0,a.useState)(!1);(0,a.useEffect)(()=>{document.querySelectorAll('img:not([loading]):not([data-eager]):not([fetchpriority="high"])').forEach(e
32=>{e.loading="lazy",e.decoding="async",e.fetchPriority="low"})},[]),(0,a.useEffect)(()=>{(async()=>{try{let e=await (0,E.getPopup)({limit:"all"});e.length&&b(e)}catch(e){console.error("Error fetching category image:",e)}})()},[]);let j=f.length>0&&("all"===f[0].displayOn||"home"===f[0].displayOn&&"/"===r.pathname);return(0,a.useEffect)(()=>{if(!j)return;let e=!1;try{e="1"===sessionStorage.getItem("popup-shown")}catch(e){}if(e)return;let t=!1,a=!1,s=()=>{clearTimeout(n),window.removeEventListener("scroll",l,{passive:!0}),window.removeEventListener("touchstart",l,{passive:!0}),window.removeEventListener("mousemove",l),window.removeEventListener("keydown",l)},r=()=>{if(t&&a){s(),g(!0);try{sessionStorage.setItem("popup-shown","1")}catch(e){}}},l=()=>{t=!0,r()},n=setTimeout(()=>{a=!0,r()},12e3);return window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("touchstart",l,{passive:!0}),window.addEventListener("mousemove",l),window.addEventListener("keydown",l),s},[j]),(0,t.jsxs)("div",{className:`${_.variable} ${C.variable}`,children:[(0,t.jsx)(M,{title:l||o?.website?.title||"Ojaank IAS Academy",ogTitle:m,ke
32ywords:h,description:p,image:x,url:c}),(0,t.jsx)(v,{hideHeader:i?.pageData?.customParams?.hideHeader,hideFooter:i?.pageData?.customParams?.hideFooter,headerType:i?.pageData?.customParams?.headerType,websiteData:o,children:(0,t.jsx)(e,{websiteData:o,data:i,url:c,...u})}),(0,t.jsx)(S,{}),j&&(0,t.jsx)(P,{data:f,isOpen:y,onClose:()=>g(!1)})]})}],62727)},56703,(e,t,a)=>{let s="/_app";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(62727)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})}]);

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.