1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8154],{11161:e=>{e.exports={blogHeading:"blogmain_blogHeading__UbQq0",blogHeadingP:"blogmain_blogHeadingP__KS21B",blogHeadingHr:"blogmain_blogHeadingHr__mDyP7",tradeMain:"blogmain_tradeMain__tIgD6",tradeMain2:"blogmain_tradeMain2__JBbBQ"}},28883:e=>{e.exports={freecoursessec:"courses_freecoursessec__hs4tO",coursecard:"courses_coursecard__jG3O_",courseimg:"courses_courseimg__Ejlfo",badge:"courses_badge__P_8BG",coursecontent:"courses_coursecontent__usGdZ",explorebtn:"courses_explorebtn__JWTbG"}},36772:e=>{e.exports={newsletter:"newsletter_newsletter__qEoCm",inner:"newsletter_inner__YqEsF",mobileWrap:"newsletter_mobileWrap__tFGUc",content:"newsletter_content__bK1dF",form:"newsletter_form___VGIJ"}},39674:(e,a,s)=>{"use strict";s.d(a,{A:()=>l});var t=s(37876),i=s(14232),n=s(54587),r=s.n(n),c=s(36772),o=s.n(c);let l=()=>{let[e,a]=(0,i.useState)(""),[s,n]=(0,i.useState)(!1),c=async s=>{s.preventDefault(),console.log("Button is clicked"),console.log("Email:",e);try{let s=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,url:window.location.href})});if(!s.ok)throw Error("API returned ".concat(s.status));let t=await s.json();console.log("API Response:",t),("success"===t.status||"partial"===t.status)&&(n(!0),a(""))}catch(e){console.error("API Error:",e)}};return(0,t.jsx)("section",{className:o().newsletter,children:(0,t.jsxs)("div",{className:o().inner,children:[(0,t.jsx)("div",{className:o().mobileWrap,children:(0,t.jsx)(r(),{src:"/images/blogs/Container.png",alt:"Mobile App Preview",width:320,height:520,priority:!0})}),(0,t.jsxs)("div",{className:o().content,children:[(0,t.jsxs)("h2",{children:["Trusted by ",(0,t.jsx)("span",{children:"3.5+"})," Learners. ",(0,t.jsx)("br",{}),"Your Career Transformation Starts Here."]}),(0,t.jsx)("p",{children:"Learn on a personalised AI-powered platform that offers best-in-class content, live sessions & mentorship from leading industry experts."}),(0,t.jsxs)("form",{className:o().form,onSubmit:c,children:[(0,t.jsx)("input",{type:"email",placeholder:"Enter your email address",value:e,onChange:e=>a(e.target.value),required:!0}),(0,t.jsxs)("button",{type:"submit",children:["Subscribe Now ",(0,t.jsx)("span",{children:"â"})]})]}),s&&(0,t.jsx)("p",{style:{marginTop:"1rem",color:"#4CAF50",fontWeight:"500"},children:"Thank you for subscribing to Jaro Education"})]})]})})}},58975:(e,a,s)=>{"use strict";s.d(a,{A:()=>l});var t=s(37876),i=s(75961),n=s.n(i),r=s(14232),c=s(27888),o=s(29904);function l(){let[e,a]=(0,r.useState)([]);return((0,r.useEffect)(()=>{(async()=>{let e="https://backend.jaroeducation.com/wp-json/api/";if(e)try{let s=await fetch("".concat(e,"newblogs?page=1&limit=5"));if(!s.ok)throw Error("Failed to fetch");let t=await s.json();a(Array.isArray(t.data)?t.data:[])}catch(e){console.error("Error fetching featured blogs:",e)}})()},[]),e&&0!==e.length)?(0,t.jsxs)("div",{className:"jsx-fe3b5daf663f2b1c featured-blogs-slider my-10 main-swiper",children:[(0,t.jsx)(c.RC,{modules:[o.dK,o.Ij],loop:!0,slidesPerView:1,pagination:{clickable:!0},autoplay:{delay:5e3,disableOnInteraction:!1},children:e.map(e=>{var a,s;return(0,t.jsx)(c.qr,{children:(0,t.jsxs)("div",{className:"jsx-fe3b5daf663f2b1c flex flex-col md:flex-row bg-white rounded-lg overflow-hidden shadow-md slide-conatiner",children:[(0,t.jsxs)("div",{className:"jsx-fe3b5daf663f2b1c md:w-1/2 h-64 md:h-auto relative image-main",children:[(0,t.jsx)("a",{href:"/blog/".concat(e.slug),className:"jsx-fe3b5daf663f2b1c",children:(0,t.jsx)("img",{src:e.image,alt:e.title,className:"jsx-fe3b5daf663f2b1c w-full h-full object-cover"})}),(0,t.jsx)("div",{className:"jsx-fe3b5daf663f2b1c absolute bottom-4 left-4 bg-black bg-opacity-50 text-white px-2 py-1 text-sm rounded blog-cat-main",children:null==(a=e.categories)?void 0:a[0]})]}),(0,t.jsxs)("div",{className:"jsx-fe3b5daf663f2b1c md:w-1/2 p-6 flex flex-col justify-center text-container",children:[(0,t.jsx)("span",{className:"jsx-fe3b5daf663f2b1c text-sm text-gray-500 uppercase mb-2 ft-art",children:"Featured Article"}
1),(0,t.jsx)("h2",{className:"jsx-fe3b5daf663f2b1c text-2xl font-bold mb-4 right-main-title",children:(0,t.jsx)("a",{href:"/blog/".concat(e.slug),className:"jsx-fe3b5daf663f2b1c",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title},className:"jsx-fe3b5daf663f2b1c"})})}),(0,t.jsxs)("div",{className:"jsx-fe3b5daf663f2b1c text-sm text-gray-500 mb-4 mainauth-div",children:["By ",null==(s=e.authors)?void 0:s.map(e=>e.name).join(", "),(0,t.jsxs)("span",{className:"jsx-fe3b5daf663f2b1c",children:[" ⢠",e.date]})]}),(0,t.jsx)("a",{href:"/blog/".concat(e.slug),className:"jsx-fe3b5daf663f2b1c text-blue-600 font-semibold hover:underline read-main",children:"Read Full Blog â"})]})]})},e.slug)})}),(0,t.jsx)(n(),{id:"fe3b5daf663f2b1c",children:".swiper-pagination.jsx-fe3b5daf663f2b1c{bottom:10px!important}.text-container.jsx-fe3b5daf663f2b1c{background:#fff;align-content:center;padding:0 20px;margin-right:10px;box-shadow:2px 0px 14px -7px black}.image-main img{height:420px!important;object-fit:cover;object-position:left}.main-swiper.jsx-fe3b5daf663f2b1c{width:85%;margin:0 auto}.main-swiper .swiper-wrapper{padding-bottom:50px}.swiper-pagination-bullet.jsx-fe3b5daf663f2b1c{width:12px;height:12px;border-radius:50%;background:#d1d5db;opacity:1;margin:0 6px!important;transition:all.3s ease}.swiper-pagination-bullet-active.jsx-fe3b5daf663f2b1c{background:#2563eb;transform:scale(1.2)}.slide-conatiner.jsx-fe3b5daf663f2b1c{display:grid;grid-template-columns:1fr 1fr;padding:10px 0}.right-main-title.jsx-fe3b5daf663f2b1c{font-size:36px;line-height:40px;font-weight:bold;color:#1E293B;margin-top:30px}.right-main-title.jsx-fe3b5daf663f2b1c a.jsx-fe3b5daf663f2b1c{color:#1E293B}.mainauth-div.jsx-fe3b5daf663f2b1c{font-size:14px;color:#94A3B8}.mainauth-div.jsx-fe3b5daf663f2b1c span.jsx-fe3b5daf663f2b1c{margin-left:20px}.read-main.jsx-fe3b5daf663f2b1c{font-size:14px;font-weight:bold;color:#2563EB;text-transform:uppercase;line-height:20px;letter-spacing:1px}.ft-art.jsx-fe3b5daf663f2b1c{font-size:11px;line-height:16px;background:#F8FAFC;border:1px solid;padding:4px 10px;border-radius:20px}.blog-cat-main.jsx-fe3b5daf663f2b1c{position:absolute;bottom:6%;border-radius:0!important}@media(min-width:768px)and (max-width:1024px){.right-main-title.jsx-fe3b5daf663f2b1c{font-size:20px;line-height:30px}.read-main.jsx-fe3b5daf663f2b1c{font-size:12px}.mainauth-div.jsx-fe3b5daf663f2b1c{font-size:12px}.text-container.jsx-fe3b5daf663f2b1c{padding-top:20px;padding-bottom:20px}.main-swiper.jsx-fe3b5daf663f2b1c{width:100%}.image-main img{height:300px!important}}@media(min-width:320px)and (max-width:767px){.slide-conatiner.jsx-fe3b5daf663f2b1c{grid-template-columns:1fr}.image-main img{height:100%!important}.text-container.jsx-fe3b5daf663f2b1c{margin-right:0px;padding-top:20px;padding-bottom:20px}.main-swiper.jsx-fe3b5daf663f2b1c{width:100%}.right-main-title.jsx-fe3b5daf663f2b1c{font-size:20px;line-height:30px}.blog-cat-main.jsx-fe3b5daf663f2b1c{bottom:auto;top:33%;font-size:10px}}"})]}):null}s(30346),s(9572)},64516:e=>{e.exports={maingripwrapper:"ClientBlogPagination_maingripwrapper__t6Unh"}},73152:(e,a,s)=>{"use strict";s.d(a,{A:()=>p});var t=s(37876),i=s(75961),n=s.n(i),r=s(14232),c=s(14e3);function o(e){var a,s;let{blog:i}=e;return(0,t.jsxs)("div",{className:"jsx-bcbd39fc0fe593 border rounded-lg overflow-hidden hover:shadow-md transition blog-card-main",children:[i.image&&(0,t.jsx)("a",{href:"/blog/".concat(i.slug),className:"jsx-bcbd39fc0fe593",children:(0,t.jsx)("img",{src:i.image,alt:i.title,className:"jsx-bcbd39fc0fe593 w-full h-48 object-cover"})}),(0,t.jsxs)("div",{className:"jsx-bcbd39fc0fe593 p-4",children:[(0,t.jsx)("div",{className:"jsx-bcbd39fc0fe593 text-xs text-gray-500 mb-2 cat-main",children:null==(a=i.categories)?void 0:a.join(", ")}),(0,t.jsxs)("div",{className:"jsx-bcbd39fc0fe593 flex justify-between text-xs text-gray-500",children:[(0,t.jsx)("span",{className:"jsx-bcbd39fc0fe593 date-main",children:i.date}),(0,t.jsx)("span",{className:"jsx-bcbd39fc0fe593 author-main",children:null==(s=i.authors)?void 0:s.map(e=>e.name).join(", ")})]}),(0,t.jsx)("h3",{className:"jsx-bcbd39fc0fe593 font-semibold text-lg mb-2 title-main",children:(0,t.jsx)("a",{href:"/blog/".concat(i.slug),className:"jsx-bcbd39fc0fe593",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:i.title},className:"jsx-bcbd39fc0fe593"})})}),(0,t.jsx)("p",{className:"jsx-bcbd39fc0fe593 text-sm text-gray-600 mb-3 excerpt-main",children:(0,t.jsx)("a",{href:"/blog/".concat(i.slug),className:"jsx-bcbd39fc0fe593",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:i.excerpt},className:"jsx-bcbd39fc0fe593"})})})]}),(0,t.jsx)(n(),{id:"bcbd39fc0fe593",children:".title-main.jsx-bcbd39fc0fe593{font-size:18px;font-weight:bold;line-height:22px;margin-top:15px}.title-main.jsx-bcbd39fc0fe593 a.jsx-bcbd39fc0fe593{color:#1D293D}.excerpt-main.jsx-bcbd39fc0fe593{font-size:14px;font-weight:400;line-height:22px;color:#45556C;margin-top:15px;margin-bottom:0!important}.excerpt-main.jsx-bcbd39fc0fe593 a.jsx-bcbd39fc0fe593{color:#45556C!important}.author-main.jsx-bcbd39fc0fe593{margin-left:10px;font-size:12px;line-height:16px;color:#155DFC}.date-main.jsx-bcbd39fc0fe593{font-size:12px;line-height:16px;color:#45556C}.blog-card-main.jsx-bcbd39fc0fe593{position:relative;border-radius:8px}.cat-main.jsx-bcbd39fc0fe593{position:absolute;top:29px;left:9px;background:#fff;color:#155DFC;font-size:10px;font-weight:bold;padding:5px 10px;border-radius:5px}"})]})}var l=s(89099),d=s(54587),x=s.n(d);function b(e){let{categories:a=[],authors:s=[],activeCategory:i,activeAuthor:c,onCategoryChange:o,onAuthorChange:d}=e,[b,m]=(0,r.useState)(!1),[f,p]=(0,r.useState)(!1),h=b?a.filter(e=>"Categories"!==e.name):a.filter(e=>"Categories"!==e.name).slice(0,12),g=a.filter(e=>"Categories"!==e.name),j=g.length>12?g.length-12:0,u=f?s:s.slice(0,2),w=s.length>2?s.length-2:0,N=(0,l.useRouter)();return(0,t.jsxs)("aside",{className:"jsx-eb1ec4e9e9eadbc6 space-y-10",children:[(0,t.jsxs)("div",{className:"jsx-eb1ec4e9e9eadbc6",children:[(0,t.jsx)("h3",{className:"jsx-eb1ec4e9e9eadbc6 font-semibold mb-4 cta-main",children:"Categories"}),0===a.length?(0,t.jsx)("p",{className:"jsx-eb1ec4e9e9eadbc6 text-sm text-gray-500",children:"No categories found"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("ul",{className:"jsx-eb1ec4e9e9eadbc6 space-y-2",children:h.map(e=>(0,t.jsx)("li",{onClick:()=>{i===e.slug?N.push("/blog"):N.push("/category/".concat(e.slug))},className:"jsx-eb1ec4e9e9eadbc6 "+"cursor-pointer text-sm cat-dis ".concat(i===e.slug?"font-semibold text-blue-600":"text-gray-700"),children:(0,t.jsxs)("div",{className:"jsx-eb1ec4e9e9eadbc6 cat-flex d-flex justify-content-between",children:[e.name,(0,t.jsx)(x(),{src:"/images/blogs/right-arrow-alt-svgrepo.svg",alt:"icon",width:20,height:20})]})},e.slug))}),g.length>12&&(0,t.jsx)("center",{className:"jsx-eb1ec4e9e9eadbc6",children:(0,t.jsx)("span",{onClick:()=>m(!b),className:"jsx-eb1ec4e9e9eadbc6 mt-3 text-sm font-medium text-blue-600 hover:underline btn-span",children:b?"Show less":"".concat(j," more")})})]})]}),(0,t.jsx)(n(),{id:"eb1ec4e9e9eadbc6",children:".cta-main.jsx-eb1ec4e9e9eadbc6{font-size:18px;line-height:20px;color:#1e293b;font-weight:bold;border-left:7px solid#2563eb;padding-left:10px;padding-top:5px;padding-bottom:5px;margin-top:30px;text-transform:uppercase;letter-spacing:1px}.ct2.jsx-eb1ec4e9e9eadbc6{margin-top:50px}.cat-dis.jsx-eb1ec4e9e9eadbc6{font-size:14px;line-height:20px;margin-bottom:25px;color:#475569;font-weight:bold;cursor:pointer}.btn-span.jsx-eb1ec4e9e9eadbc6{font-size:14px;line-height:20px;margin-bottom:20px;color:#2563EB;font-weight:bold;cursor:pointer}.author-sep.jsx-eb1ec4e9e9eadbc6{display:flex;align-items:center;gap:10px;margin-bottom:20px}.cont-auth.jsx-eb1ec4e9e9eadbc6{font-size:16px;line-height:20px;color:#1E293B;font-weight:bold}.cont-auth.jsx-eb1ec4e9e9eadbc6 span.jsx-eb1ec4e9e9eadbc6{color:#94A3B8;font-size:13px;line-height:17px;font-weight:bold}.auth-img{border:1px solid#bfbfbf;border-radius:9px;width:18%}"}),(0,t.jsxs)("div",{className:"jsx-eb1ec4e9e9eadbc6",children:[(0,t.jsx)("h3",{className:"jsx-eb1ec4e9e9eadbc6 font-semibold mb-4 cta-main ct2",children:"CONTRIBUTORS"}),0===s.length?(0,t.jsx)("p",{className:"jsx-eb1ec4e9e9eadbc6 text-sm text-gray-500",children:"No authors found"}):(0,t.jsx)("ul",{className:"jsx-eb1ec4e9e9eadbc6 space-y-2",children:u.map(e=>(0,t.jsx)("li",{style:{cursor:"pointer"},onClick:()=>{let a=(e.slug||"").split("?")[0];N.push("/blog/author/".concat(a))},className:"jsx-eb1ec4e9e9eadbc6 cursor-pointer text-sm text-gray-700",children:(0,t.jsxs)("div",{className:"jsx-eb1ec4e9e9eadbc6 author-sep",children:[(0,t.jsx)(x(),{className:"auth-img",src:e.author_image,alt:"author image",width:80,height:80}),(0,t.jsxs)("div",{className:"jsx-eb1ec4e9e9eadbc6 cont-auth",children:[e.name,(0,t.jsx)("br",{className:"jsx-eb1ec4e9e9eadbc6"}),(0,t.jsx)("span",{className:"jsx-eb1ec4e9e9eadbc6 desi",children:e.designation})]})]})},e.slug))}),s.length>2&&(0,t.jsx)("center",{className:"jsx-eb1ec4e9e9eadbc6",children:(0,t.jsx)("span",{onClick:()=>
1p(!f),className:"jsx-eb1ec4e9e9eadbc6 mt-3 text-sm font-medium text-blue-600 hover:underline btn-span",children:f?"Show less":"".concat(w," more")})})]})]})}var m=s(64516),f=s.n(m);function p(e){let a,s,{initialBlogs:i,totalPages:l,mostReadBlogs:d,categorySlug:x}=e,m=(0,c.useRouter)(),p=(0,c.useSearchParams)(),[h,g]=(0,r.useState)(Array.isArray(i)?i:[]),[j,u]=(0,r.useState)(1),[w,N]=(0,r.useState)(l||1),[y,v]=(0,r.useState)(!1),[_,C]=(0,r.useState)([]),[k,S]=(0,r.useState)([]),A=p.get("author"),E=p.get("search"),[z,F]=(0,r.useState)({author:A||null}),[I,P]=(0,r.useState)(E||"");(0,r.useEffect)(()=>{let e="https://backend.jaroeducation.com/wp-json/api/";e&&(fetch("".concat(e,"newcategories")).then(e=>e.json()).then(e=>{console.log("Categories response:",e),C(Array.isArray(e)?e:[])}).catch(e=>{console.error("Error fetching categories:",e),C([])}),fetch("".concat(e,"newauthors")).then(e=>e.json()).then(e=>{console.log("Authors response:",e),S(Array.isArray(e)?e:Object.values(e))}).catch(e=>{console.error("Error fetching authors:",e),S([])}))},[]),(0,r.useEffect)(()=>{F({author:A}),P(E?E.replace(/-/g," "):"")},[A,E]);let B=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,a="https://backend.jaroeducation.com/wp-json/api/";if(!a)return void console.warn("API URL not configured");v(!0);try{var s;let t=new URLSearchParams({page:e.toString(),limit:"9"});if(x&&t.append("category",x),A&&t.append("author",A),E){let e=E.replace(/-/g," ");t.append("search",e)}let i=await fetch("".concat(a,"newblogs?").concat(t));if(!i.ok)throw Error("Failed to fetch blogs");let n=await i.json();g(Array.isArray(n.data)?n.data:[]),N((null==(s=n.pagination)?void 0:s.total_pages)||1),u(e),window.scrollTo({top:0,behavior:"smooth"})}catch(e){console.error("Error fetching blogs:",e)}finally{v(!1)}};(0,r.useEffect)(()=>{A||E?B(1):A||E||(g(Array.isArray(i)?i:[]),N(l||1),u(1))},[A,E]);let H=e=>{let a=new URLSearchParams;p.forEach((e,s)=>{a.set(s,e)}),Object.keys(e).forEach(s=>{if(e[s]){let t="search"===s?e[s].trim().replace(/\s+/g,"-"):e[s];a.set(s,t)}else a.delete(s)});let s=Array.from(a.entries()).map(e=>{let[a,s]=e;return"".concat(a,"=").concat(encodeURIComponent(s))}).join("&"),t=x?"/category/".concat(x):"/blog";m.push(s?"".concat(t,"?").concat(s):t)},T=E&&E.trim()||A,R=!y&&0===h.length&&T;return(0,t.jsxs)("div",{className:"row g-4 ".concat(f().maingripwrapper),children:[(0,t.jsxs)("div",{className:"leftsidecontainer col-sm-3",children:[(0,t.jsx)("div",{className:"mb-6 search-main",children:(0,t.jsx)("input",{type:"text",placeholder:"Search Articles...",value:I,onChange:e=>P(e.target.value),onKeyDown:e=>{"Enter"===e.key&&H({search:I||null})},className:"w-full px-4 py-2 border rounded-md",name:"search"})}),(0,t.jsx)(b,{categories:_,authors:k,activeCategory:x,activeAuthor:A,onCategoryChange:()=>{},onAuthorChange:e=>H({author:e})}),(0,t.jsxs)("div",{className:"mt-6 d-none d-md-block",children:[(0,t.jsx)("h3",{className:"font-semibold mb-3 most-read",children:"Most Read"}),(null==d?void 0:d.length)>0?(0,t.jsx)("div",{className:"flex flex-col gap-4",children:d.map(e=>(0,t.jsx)("div",{className:"blognumber-main mb-4",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("a",{href:"/blog/".concat(e.slug),className:"text-sm font-medium hover:text-blue-600 atext",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}),(0,t.jsx)("p",{className:"text-xs text-gray-500 adate",children:e.date})]})},e.id))}):(0,t.jsx)("p",{className:"text-sm text-gray-400",children:"No blogs found"})]})]}),(0,t.jsxs)("div",{className:"jsx-6e31b5ea74f8ba1a lg:col-span-3 col-sm-9 right-sticky",children:[R?(0,t.jsx)("div",{className:"jsx-6e31b5ea74f8ba1a flex items-center justify-center min-h-[300px] text-gray-500 text-lg",children:"Given blog not found"}):(0,t.jsx)("div",{className:"jsx-6e31b5ea74f8ba1a blog-grid",children:h.map(e=>(0,t.jsx)(o,{blog:e},e.slug))}),(0,t.jsx)(n(),{id:"6e31b5ea74f8ba1a",children:'.right-sticky{position:sticky;top:110px;align-self:flex-start}.blog-grid.jsx-6e31b5ea74f8ba1a{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}.mo-fles{display:grid;margin-bottom:25px;grid-template-columns:17%1fr}.atext{font-size:15px;color:#334155;font-weight:bold}.adate{font-size:14px;margin-top:10px;color:#CBD5E1;font-weight:bold}.counter-main{font-size:40px;color:#c6c6c6;font-weight:900;justify-self:center;font-family:"poppins-500"}.most-read{font-size:18px;line-height:20px;color:#1e293b;font-weight:bold;border-left:7px solid#2563eb;padding-left:10px;padding-top:5px;padding-bottom:5px;margin-top:60px;text-transform:uppercase;letter-spacing:1px}.search-main input{width:100%;border:1px solid#9b9b9b!important;border-radius:8px}.search-main input::placeholder{font-style:italic;color:#9ca3af}@media(min-width:768px){.blog-grid.jsx-6e31b5ea74f8ba1a{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.blog-grid.jsx-6e31b5ea74f8ba1a{grid-template-columns:repeat(3,1fr)}}.pagination-main.jsx-6e31b5ea74f8ba1a{margin:50px 0;justify-self:center}.active-main.jsx-6e31b5ea74f8ba1a{background:#155DFC}.main-space.jsx-6e31b5ea74f8ba1a{margin:0 10px}@media(min-width:320px)and (max-width:767px){.blog-grid.jsx-6e31b5ea74f8ba1a{grid-template-columns:1fr}.btn-text-main.jsx-6e31b5ea74f8ba1a{display:none}.main-space.jsx-6e31b5ea74f8ba1a{margin:0 3px;font-size:10px}}'}),y&&(0,t.jsx)("div",{className:"jsx-6e31b5ea74f8ba1a text-center mt-6",children:"Loading blogs..."}),(0,t.jsxs)("div",{className:"jsx-6e31b5ea74f8ba1a flex justify-center items-center gap-2 mt-10 flex-wrap pagination-main",children:[(0,t.jsxs)("button",{disabled:1===j,onClick:()=>B(j-1),className:"jsx-6e31b5ea74f8ba1a px-3 py-2 main-space border rounded disabled:opacity-50",children:["â ",(0,t.jsx)("span",{className:"jsx-6e31b5ea74f8ba1a btn-text-main",children:"Previous"})]}),j>3&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{onClick:()=>B(1),className:"jsx-6e31b5ea74f8ba1a px-3 py-2 main-space border rounded",children:"1"}),(0,t.jsx)("span",{className:"jsx-6e31b5ea74f8ba1a",children:"â¦"})]}),((s=(a=Math.max(1,j-Math.floor(1.5)))+3-1)>w&&(a=Math.max(1,(s=w)-3+1)),Array.from({length:s-a+1},(e,s)=>a+s).map(e=>(0,t.jsx)("button",{onClick:()=>B(e),className:"jsx-6e31b5ea74f8ba1a "+"px-3 py-2 main-space border rounded ".concat(e===j?"bg-blue-600 text-white active-main":""),children:e},e))),j<w-2&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"jsx-6e31b5ea74f8ba1a",children:"â¦"}),(0,t.jsx)("button",{onClick:()=>B(w),className:"jsx-6e31b5ea74f8ba1a px-3 py-2 main-space border rounded",children:w})]}),(0,t.jsxs)("button",{disabled:j===w,onClick:()=>B(j+1),className:"jsx-6e31b5ea74f8ba1a px-3 py-2 main-space border rounded disabled:opacity-50",children:[(0,t.jsx)("span",{className:"jsx-6e31b5ea74f8ba1a btn-text-main",children:"Next"})," â"]})]}),(0,t.jsxs)("div",{className:"jsx-6e31b5ea74f8ba1a mt-10 d-block d-md-none",children:[(0,t.jsx)("h3",{className:"jsx-6e31b5ea74f8ba1a font-semibold mb-3 most-read",children:"Most Read"}),(null==d?void 0:d.length)>0?(0,t.jsx)("div",{className:"jsx-6e31b5ea74f8ba1a flex flex-col gap-4",children:d.map(e=>(0,t.jsx)("div",{className:"jsx-6e31b5ea74f8ba1a blognumber-main mb-4",children:(0,t.jsxs)("div",{className:"jsx-6e31b5ea74f8ba1a",children:[(0,t.jsx)("a",{href:"/blog/".concat(e.slug),className:"jsx-6e31b5ea74f8ba1a text-sm font-medium hover:text-blue-600 atext",children:e.title}),(0,t.jsx)("p",{className:"jsx-6e31b5ea74f8ba1a text-xs text-gray-500 adate",children:e.date})]})},e.id))}):(0,t.jsx)("p",{className:"jsx-6e31b5ea74f8ba1a text-sm text-gray-400",children:"No blogs found"})]})]})]})}},76374:(e,a,s)=>{"use strict";s.d(a,{A:()=>m});var t=s(37876),i=s(14232),n=s(54587),r=s.n(n),c=s(48230),o=s.n(c),l=s(27888),d=s(29904),x=s(28883),b=s.n(x);s(30346);let m=()=>{let[e,a]=(0,i.useState)([]);return((0,i.useEffect)(()=>{(async()=>
1{let e="https://backend.jaroeducation.com/wp-json/api/";if(!e)return console.warn("API URL not configured");try{let s=await fetch("".concat(e,"newcourses"),{cache:"no-store"});if(!s.ok)throw Error("Failed to fetch courses");let t=await s.json();a(t.data||[])}catch(e){console.error("Failed to fetch courses",e)}})()},[]),console.log("FreeCoursesSlider rendered, courses:",e),e.length)?(0,t.jsxs)("section",{className:b().freecoursessec,children:[(0,t.jsx)("h3",{className:"text-center mb-4",children:"FREE COURSES"}),(0,t.jsx)(l.RC,{modules:[d.Ij],spaceBetween:24,slidesPerView:4,loop:!0,autoplay:{delay:3e3,disableOnInteraction:!1},breakpoints:{0:{slidesPerView:1},576:{slidesPerView:2},992:{slidesPerView:3},1200:{slidesPerView:4}},children:e.map(e=>(0,t.jsx)(l.qr,{children:(0,t.jsxs)("div",{className:b().coursecard,children:[(0,t.jsxs)("div",{className:b().courseimg,children:[(0,t.jsx)("span",{className:b().badge,children:"TRENDING NOW"}),(0,t.jsx)(r(),{src:e.image,alt:e.title,width:400,height:260,className:"img-fluid"})]}),(0,t.jsxs)("div",{className:b().coursecontent,children:[(0,t.jsx)("h5",{children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}),(0,t.jsx)(o(),{href:"/free-online-courses/".concat(e.slug),className:b().explorebtn,children:e.button_text})]})]})},e.id))})]}):null}},91013:(e,a,s)=>{"use strict";s.d(a,{A:()=>l});var t=s(37876),i=s(48230),n=s.n(i),r=s(54587),c=s.n(r);let o={src:"/_next/static/media/HomeIcon.96d5b1a4.svg",height:12,width:12,blurWidth:0,blurHeight:0},l=e=>{let{items:a}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{style:{padding:"19px 0",color:"#9CA3AF",fontSize:"14px",gap:"4px",opacity:1},className:"d-flex align-items-center",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("div",{className:"d-flex align-items-center flex-wrap",style:{minHeight:"16px"},children:a.map((e,s)=>(0,t.jsxs)("span",{className:"d-flex align-items-center",children:[e.href?(0,t.jsxs)(n(),{href:e.href,style:{color:"#90A1B9",textDecoration:"none"},className:"d-flex align-items-center",children:[0===s&&(0,t.jsx)(c(),{src:o,alt:"Home",width:15,height:15,className:"me-1"}),(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.label}})]}):(0,t.jsx)("span",{style:{color:e.color||"#1D293D"},dangerouslySetInnerHTML:{__html:e.label}}),s<a.length-1&&(0,t.jsx)("span",{style:{margin:"0 12px"},children:" > "})]},s))}),(0,t.jsx)("div",{style:{borderBottom:"0.5px solid #d4dbe7",fontWeight:"bold",marginTop:"2rem",opacity:.5}})]})})})}}}]);
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.