1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405,6631,814],{5557:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(7052)}])},814:function(e,t,s){"use strict";s.r(t);var l=s(5893),o=s(5675),r=s.n(o),n=s(6066),a=s(1664),i=s.n(a),c=s(7294);let d={dots:!1,infinite:!0,nextArrow:(0,l.jsx)(function(e){let{className:t,style:s,onClick:o}=e;return(0,l.jsx)("div",{className:t,style:{...s},onClick:o,children:(0,l.jsx)(r(),{src:"/arrow_r.svg",width:56,height:56,alt:"svg"})})},{}),prevArrow:(0,l.jsx)(function(e){let{className:t,style:s,onClick:o}=e;return(0,l.jsx)("div",{className:t,style:{...s},onClick:o,children:(0,l.jsx)(r(),{src:"/arrow_l.svg",width:56,height:56,alt:"svg"})})},{}),slidesToShow:1.99999,slidesToScroll:1,slidesToShow:4,responsive:[{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0,autoplay:!0,dots:!1,arrows:!1}}]};t.default=e=>{let{props:t,blogs:s}=e,[o,a]=(0,c.useState)({}),u=s.slice(0,4);return(0,c.useEffect)(()=>{let fetchAuthors=async()=>{try{let e=await fetch("https://portal.akclinics.com/wp-json/wp/v2/users");if(e.ok){let t=await e.json(),s={};t.forEach(e=>{let t=e.name.split("@"),l=t.length>1?t[0]:e.name;s[e.id]=l.trim()}),a(s)}else throw Error("Failed to fetch authors")}catch(e){console.error("Error fetching authors:",e)}};fetchAuthors()},[]),(0,l.jsxs)("div",{className:"blog_sec",children:[(0,l.jsx)("h2",{className:"blog_head",children:t.heading}),(0,l.jsxs)("div",{className:"mob_container",children:[(0,l.jsx)("div",{className:"for_mob",children:(0,l.jsx)(n.Z,{...d,children:u&&u.map((e,t)=>{var s,n,a,c,d;let u=new Date(e.date),v=u.toLocaleDateString("en-US",{month:"long"}),h=u.toLocaleDateString("en-US",{day:"2-digit"}),_=u.toLocaleDateString("en-US",{year:"numeric"}),m="".concat(v,", ").concat(h," ").concat(_),g=(null==e?void 0:null===(n=e.acf)||void 0===n?void 0:null===(s=n.featured_image)||void 0===s?void 0:s.url)?null===(a=e.acf.featured_image)||void 0===a?void 0:a.url:"/ak-blog.png";return(0,l.jsxs)("div",{className:"blog_blk",children:[(0,l.jsx)("div",{className:"blg_img",children:(0,l.jsx)(r(),{src:g,width:300,height:300,alt:null==e?void 0:null===(d=e.acf)||void 0===d?void 0:null===(c=d.featured_image)||void 0===c?void 0:c.alt})}),(0,l.jsxs)("p",{className:"blog_p",children:[o[e.author]," | ",m]}),(0,l.jsx)("div",{className:"blog_title",dangerouslySetInnerHTML:{__html:e.title.rendered}}),(0,l.jsx)(i(),{href:"/blog/".concat(e.slug),target:"_blank",children:(0,l.jsx)("button",{className:"story_link btn__anim",children:"Read More"})}),(0,l.jsx)("p",{className:"blog_p",children:e.post_excerpt})]},t)})})}),(0,l.jsx)("div",{className:"for_mob",children:(0,l.jsx)("div",{className:"view_blg_btn",children:(0,l.jsx)(i(),{href:"/blog/",target:"_blank",children:(0,l.jsx)("button",{children:"VIEW ALL"})})})})]}),(0,l.jsxs)("div",{className:"container for_desk",children:[(0,l.jsx)("div",{className:"row",children:u&&u.map((e,t)=>{var s,n,a,c,d;let u=new Date(e.date),v=u.toLocaleDateString("en-US",{month:"long"}),h=u.toLocaleDateString("en-US",{day:"2-digit"}),_=u.toLocaleDateString("en-US",{year:"numeric"}),m="".concat(v,", ").concat(h," ").concat(_),g=(null==e?void 0:null===(n=e.acf)||void 0===n?void 0:null===(s=n.featured_image)||void 0===s?void 0:s.url)?null===(a=e.acf.featured_image)||void 0===a?void 0:a.url:"/ak-blog.png";return(0,l.jsx)("div",{className:"col-md-3",children:(0,l.jsxs)("div",{className:"blog_blk",children:[(0,l.jsx)("div",{className:"blg_img",children:(0,l.jsx)(r(),{src:g,width:300,height:300,quality:95,alt:null==e?void 0:null===(d=e.acf)||void 0===d?void 0:null===(c=d.featured_image)||void 0===c?void 0:c.alt})}),(0,l.jsxs)("p",{className:"blog_p",children:[" ",o[e.author]," | ",m]}),(0,l.jsx)("div",{className:"blog_title",dangerouslySetInnerHTML:{__html:e.title.rendered}}),(0,l.jsx)(i(),{href:"/blog/".concat(e.slug),target:"_blank",children:(0,l.jsx)("button",{className:"story_link btn__anim",children:"Read More"})})]})},t)})}),(0,l.jsx)("div",{className:"view_blg_btn",children:(0,l.jsx)(i(),{href:"/blog/",target:"_blank",children:(0,l.jsx)("button",{className:"btn__two",children:"VIEW ALL"})})})]})]})}},6631:function(e,t,s){"use strict";s.r(t);var l=s(5893),o=s(5675),r=s.n(o),n=s(1163),a=s(6066),i=s(1664),c=s.n(i);let d={dots:!1,infinite:!0,nextArrow:(0,l.jsx)(function(e){let{className:t,style:s,onClick:o}=e;return(0,l.jsx)("div",{className:t,style:{...s},onClick:o,children:(0,l.jsx)(r(),{src:"/arrow_r.svg",width:56,height:56,alt:"svg"})})},{}),prevArrow:(0,l.jsx)(function(e){let{className:t,style:s,onClick:o}=e;return(0,l.jsx)("div",{className:t,style:{...s},onClick:o,children:(0,l.jsx)(r(),{src:"/arrow_l.svg",width:56,height:56,alt:"svg"})})},{}),slidesToShow:1.99999,slidesToScroll:1,responsive:[{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}}]};t.default=e=>{let{props:t,stories_posts:s}=e,o=(0,n.useRouter)();return(0,l.jsxs)("div",{className:"story_sec",children:[(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:"story_text_sec story__banner__m",children:[(0,l.jsx)("h2",{className:"story_head",children:null==t?void 0:t.t
1itle}),(0,l.jsx)("h3",{className:"story_subhead",children:null==t?void 0:t.subtitle}),(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:"".concat(null==t?void 0:t.description)}}),(0,l.jsx)("button",{onClick:()=>o.push("".concat(null==t?void 0:t.cta_link)),children:null==t?void 0:t.cta})]})}),(0,l.jsx)("div",{className:"slider_s",children:(0,l.jsx)("div",{className:"story_slider",children:(0,l.jsx)(a.Z,{...d,initialSlide:s.length-1,children:s&&s.map((e,t)=>{var s,o,n,a;return(0,l.jsxs)("div",{className:"story_card",children:[(0,l.jsx)(r(),{src:null==e?void 0:null===(o=e.acf)||void 0===o?void 0:null===(s=o.featured_image)||void 0===s?void 0:s.url,className:"our__stories__main__img",width:300,height:300,quality:100,alt:null==e?void 0:null===(a=e.acf)||void 0===a?void 0:null===(n=a.featured_image)||void 0===n?void 0:n.alt}),(0,l.jsxs)("div",{className:"bottom_s_txt",children:[(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:e.title.rendered}}),(0,l.jsx)(c(),{href:"/blog/".concat(e.slug),target:"_blank",children:(0,l.jsx)("span",{className:"story_link btn__anim",children:"LEARN MORE"})})]})]},t)})})})})]})}},7052:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return k}});var l=s(5893),o=s(9008),r=s.n(o),n=s(7294);s(2945);var a=s(1377),i=s(154),c=s(1619),d=s(1240),u=s(3396),v=s(814),h=s(6557),_=s(6631),m=s(1504),g=s(2781),x=s(5793),j=s(5611),p=s(7131),f=s(2894),b=s(2732),y=s(7491),w=s(3548),k=!0;t.default=e=>{var t,s,o,k,N,S,E,q,Z,L;(0,n.useEffect)(()=>{document.addEventListener("scroll",function(){if(window.scrollY>=48){document.querySelector(".header_bottom").style.background="rgba(255, 255, 255, .9)",document.querySelector(".header_bottom").style.position="fixed",document.querySelector(".header_bottom").style.top="0",document.querySelector(".header_bottom").style.width="100%";var e=document.querySelectorAll(".link"),t=document.querySelector(".links.btn");t.style.background="#231f20",t.style.color="#FFF";var s=document.querySelectorAll(".nav-icon1 span");[...s].forEach(function(e){e.style.background="#212529"});for(var l=0;l<e.length;l++)e[l].style.color="#231F20";document.querySelector(".header_bottom").style.backdropFilter="blur(7px)"}else{document.querySelector(".header_bottom").style.background="transparent",document.querySelector(".header_bottom").style.position="relative",document.querySelector(".header_bottom").style.top="auto",document.querySelector(".header_bottom").style.width="100%",document.querySelector(".header_bottom").style.backdropFilter="none";var e=document.querySelectorAll(".link"),t=document.querySelector(".links.btn");t.style.background="#FFF8EE",t.style.color="#231f20";for(var l=0;l<e.length;l++)e[l].style.color="#fff";var s=document.querySelectorAll(".nav-icon1 span");[...s].forEach(function(e){e.style.background="#FFF8EE"})}},{passive:!0})},[]);let T=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.seo,D=(null==T?void 0:null===(s=T.og_url)||void 0===s?void 0:s.endsWith("home/"))?T.og_url.replace("home/",""):null==T?void 0:T.og_url;return(0,l.jsxs)("div",{children:[(0,l.jsxs)(r(),{children:[(0,l.jsx)("title",{children:"500 Internal server error."}),T&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:T.title}),(0,l.jsx)("meta",{charset:"UTF-8"}),(0,l.jsx)("meta",{name:"description",content:T.og_description}),(0,l.jsx)("meta",{name:"keywords",content:T.focuskw}),(0,l.jsx)("link",{rel:"canonical",href:D})]}),(0,l.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,l.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:!0})]}),(0,l.jsx)(a.Z,{}),(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.commonData)&&(0,l.jsx)(i.Z,{commonData:null==e?void 0:null===(k=e.data)||void 0===k?void 0:k.commonData}),null==e?void 0:null===(q=e.data)||void 0===q?void 0:null===(E=q.pageData)||void 0===E?void 0:null===(S=E.acf)||void 0===S?void 0:null===(N=S.sections)||void 0===N?void 0:N.map((t,s)=>{var o,r,n,a;let i=t.acf_fc_layout,c="".concat(i,"-").concat(s);switch(i){case"banner_a":return(0,l.jsx)(h.Z,{props:t.banner_a},c);case"home_content":return(0,l.jsx)(p.Z,{props:t.home_content},c);case"our_services":return(0,l.jsx)(f.Z,{props:t.our_services},c);case"about_akclinics":return(0,l.jsx)(j.Z,{props:t.about_akclinics},c);case"choose_akclinics":return(0,l.jsx)(x.Z,{props:t.choose_akclinics},c);
1case"locations":return(0,l.jsx)(m.Z,{props:t.our_infrastructure},c);case"counter":return(0,l.jsx)(g.Z,{props:t.counter},c);case"our_results":return(0,l.jsx)(b.Z,{props:t.our_results},c);case"our_teams":return(0,l.jsx)(y.Z,{props:t.our_teams},c);case"blogs":return(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.blogs)&&(0,l.jsx)(v.default,{props:t.blogs,blogs:null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.blogs},c);case"success_stories":return(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.stories_posts)&&(0,l.jsx)(_.default,{props:t.success_stories,stories_posts:null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.stories_posts},c);case"news__events":return(0,l.jsx)(NewsEvents,{props:t.news__events},c);case"testimonial":return(0,l.jsx)(d.Z,{props:t.testimonial},c);case"newsletter":return(0,l.jsx)(u.Z,{props:t.newsletter},c);case"hair_transplant_services":return(0,l.jsx)(w.Z,{props:t.hair_transplant_services},c);default:return null}}),(null==e?void 0:null===(Z=e.data)||void 0===Z?void 0:Z.commonData)&&(0,l.jsx)(c.Z,{commonData:null==e?void 0:null===(L=e.data)||void 0===L?void 0:L.commonData})]})}}},function(e){e.O(0,[5358,3556,7159,6193,9774,2888,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);
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.