1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6045],{2867:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var l=r(95155),s=r(12115),a=r(15239),n=r(52619),o=r.n(n);function i(e){let{posts:t}=e,[r,n]=(0,s.useState)(0),[i,c]=(0,s.useState)(!1),x=(0,s.useRef)(null),d=(0,s.useRef)(null),p=()=>{i||(c(!0),n(e=>0===e?t.length-1:e-1),setTimeout(()=>c(!1),500))},m=()=>{i||(c(!0),n(e=>e===t.length-1?0:e+1),setTimeout(()=>c(!1),500))};return(0,l.jsx)("section",{className:"py-10 md:py-20 px-4 md:px-16 bg-white",children:(0,l.jsxs)("div",{className:"max-w-[1040px] mx-auto",children:[(0,l.jsx)("h2",{className:"font-extrabold text-[28px] md:text-[44px] leading-[36px] md:leading-[56px] tracking-[0.22px] text-[#212121] text-center mb-6 md:mb-10",children:"Featured Posts"}),(0,l.jsxs)("div",{className:"flex flex-col gap-6 items-center",children:[(0,l.jsxs)("div",{className:"flex items-center gap-4 md:gap-7 w-full",children:[(0,l.jsx)("button",{onClick:p,className:"hidden md:flex flex-shrink-0 w-10 h-10 rounded-full border border-black items-center justify-center hover:bg-black hover:text-white transition-colors group","aria-label":"Previous post",children:(0,l.jsx)("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"rotate-90",children:(0,l.jsx)("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,l.jsx)("div",{className:"flex-1 overflow-hidden touch-pan-y",onTouchStart:e=>{d.current=null,x.current=e.targetTouches[0].clientX},onTouchMove:e=>{d.current=e.targetTouches[0].clientX},onTouchEnd:()=>{if(!x.current||!d.current)return;let e=x.current-d.current;e>50?m():e<-50&&p(),x.current=null,d.current=null},children:(0,l.jsx)("div",{className:"flex transition-transform duration-500 ease-out",style:{transform:"translateX(-".concat(100*r,"%)")},children:t.map(e=>(0,l.jsxs)("div",{className:"w-full flex-shrink-0 flex flex-col md:flex-row bg-white border border-[#e9e9e9]",children:[(0,l.jsx)("div",{className:"relative w-full md:w-[520px] h-[240px] md:h-[500px] flex-shrink-0 overflow-hidden",children:(0,l.jsx)(a.default,{src:e.image,alt:e.title,fill:!0,className:"object-cover"})}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center gap-3 md:gap-5 p-5 md:p-8",children:[(0,l.jsx)("p",{className:"text-[#737373] text-[12px] md:text-[13px] leading-[20px] md:leading-[22px] tracking-[0.3px]",children:e.date}),(0,l.jsx)("h3",{className:"font-extrabold text-[22px] md:text-[30px] leading-[30px] md:leading-[40px] tracking-[0.15px] text-black capitalize",children:e.title}),(0,l.jsx)("p",{className:"text-black text-[13px] md:text-[14px] leading-[22px] md:leading-[26px] tracking-[0.3px] line-clamp-3 md:line-clamp-none",children:e.excerpt}),(0,l.jsx)(o(),{href:"/blog/".concat(e.slug),className:"inline-flex items-center justify-center px-6 md:px-8 py-3 md:py-4 bg-primary text-black font-extrabold text-[11px] md:text-[12px] tracking-[1.2px] uppercase hover:bg-black hover:text-white transition-colors w-fit",children:"Read More"})]})]},e.id))})}),(0,l.jsx)("button",{onClick:m,className:"hidden md:flex flex-shrink-0 w-10 h-10 rounded-full border border-black items-center justify-center hover:bg-black hover:text-white transition-colors group","aria-label":"Next post",children:(0,l.jsx)("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"-rotate-90",children:(0,l.jsx)("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,l.jsx)("div",{className:"flex items-center gap-3 md:gap-4",children:t.map((e,t)=>(0,l.jsx)("button",{onClick:()=>{!i&&t!==r&&(c(!0),n(t),setTimeout(()=>c(!1),500))},className:"w-2 h-2 rounded-full transition-colors ".concat(t===r?"bg-black":"bg-black/30"),"aria-label":"Go to slide ".concat(t+1)},t))})]})]})})}},61556:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(95155),s=r(12115),a=r(15239),n=r(52619),o=r.n(n);function i(e){let{post:t}=e,[r,n]=(0,s.useState)(!1),[i,c]=(0,s.useState)("");(0,s.useEffect)(()=>{c(window.location.origin)},[]);let x=()=>{n(!1)};return(0,l.jsxs)("article",{className:"bg-white border border-[#e9e9e9] flex flex-col w-full group/card",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(o(),{href:"/blog/".concat(t.slug),className:"block relative h-[180px] md:h-[200px] w-full overflow-hidden",children:(0,l.jsx)(a.default,{src:t.image,alt:t.title,fill:!0,className:"object-cover transition-transform duration-300 group-hover/card:scale-105"})}),(0,l.jsx)("div",{className:"absolute top-0 right-0 bg-black px-[16px] py-[14px] pointer-events-none",children:(0,l.jsx)("span",{className:"font-extrabold text-[9px] md:text-[10px] leading-[10px] tracking-[1px] uppercase text-white",children:t.category})})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-4 md:gap-5 p-4 md:p-6",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,l.jsx)("p",{className:"text-[#6e6e6e] text-[12px] md:text-[13px] leading-[20px] md:leading-[22px] tracking-[0.3px]",children:t.date}),(0,l.jsx)(o(),{href:"/blog/".concat(t.slug),children:(0,l.jsx)("h3",{className:"font-extrabold text-[18px] md:text-[22px] leading-[26px] md:leading-[32px] tracking-[0.22px] text-black capitalize line-clamp-3 min-h-[78px] md:min-
1h-[92px] hover:text-gray-700 transition-colors",children:t.title})})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsxs)(o(),{href:"/blog/".concat(t.slug),className:"group/readmore flex items-center gap-2",children:[(0,l.jsx)("span",{className:"font-extrabold text-[11px] md:text-[12px] tracking-[1.2px] uppercase text-black",children:"Read More"}),(0,l.jsx)("svg",{width:"4",height:"8",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"group-hover/readmore:translate-x-1 transition-transform",children:(0,l.jsx)("path",{d:"M0.5 0.5L3.5 4L0.5 7.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("button",{onClick:()=>{navigator.share?navigator.share({title:t.title,url:"/blog/".concat(t.slug)}):n(!r)},className:"flex items-center gap-2 md:gap-3 group",children:[(0,l.jsx)("span",{className:"font-extrabold text-[11px] md:text-[12px] tracking-[1.2px] uppercase text-black",children:"Share"}),(0,l.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 16 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-[14px] md:w-[16px]",children:(0,l.jsx)("path",{d:"M10.5 1L15 5.5M15 5.5L10.5 10M15 5.5H5.5C3.01472 5.5 1 7.51472 1 10V12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),r&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"fixed inset-0 z-10",onClick:x}),(0,l.jsxs)("div",{className:"absolute bottom-full right-0 mb-2 bg-white border border-[#e9e9e9] shadow-lg p-2 flex flex-col gap-1 z-20 min-w-[120px]",children:[(0,l.jsx)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(i),"/blog/").concat(t.slug),target:"_blank",rel:"noopener noreferrer",className:"px-3 py-2 hover:bg-gray-100 text-left text-[11px] uppercase tracking-[1px] font-bold",onClick:x,children:"Facebook"}),(0,l.jsx)("a",{href:"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(i),"/blog/").concat(t.slug,"&text=").concat(encodeURIComponent(t.title)),target:"_blank",rel:"noopener noreferrer",className:"px-3 py-2 hover:bg-gray-100 text-left text-[11px] uppercase tracking-[1px] font-bold",onClick:x,children:"Twitter"}),(0,l.jsx)("button",{onClick:()=>{navigator.clipboard.writeText("".concat(i,"/blog/").concat(t.slug)),x()},className:"px-3 py-2 hover:bg-gray-100 text-left text-[11px] uppercase tracking-[1px] font-bold",children:"Copy Link"})]})]})]})]})]})]})}},66088:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,52619,23)),Promise.resolve().then(r.t.bind(r,81356,23)),Promise.resolve().then(r.bind(r,49585)),Promise.resolve().then(r.bind(r,34387)),Promise.resolve().then(r.bind(r,2867)),Promise.resolve().then(r.bind(r,88230))},88230:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var l=r(95155),s=r(12115),a=r(61556);function n(e){let{posts:t}=e,[r,n]=(0,s.useState)(9),o=t.slice(0,r),i=r<t.length;return(0,l.jsx)("section",{className:"py-10 md:py-20 px-4 md:px-16 bg-white",children:(0,l.jsxs)("div",{className:"max-w-[1039px] mx-auto flex flex-col items-center gap-6 md:gap-10",children:[(0,l.jsx)("h2",{className:"font-extrabold text-[28px] md:text-[44px] leading-[36px] md:leading-[56px] tracking-[0.22px] text-[#212121] text-center w-full",children:"Recent Posts"}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 md:gap-5 w-full",children:o.map(e=>(0,l.jsx)(a.A,{post:e},e.id))}),i&&(0,l.jsx)("button",{onClick:()=>{n(e=>Math.min(e+9,t.length))},className:"inline-flex items-center justify-center px-6 md:px-8 py-3 md:py-4 bg-primary border-[0.5px] border-primary text-black font-extrabold text-[11px] md:text-[12px] tracking-[1.2px] uppercase hover:bg-black hover:text-white hover:border-black transition-colors",children:"Load More"})]})})}}},e=>{e.O(0,[2619,1356,9651,5939,8441,1255,7358],()=>e(e.s=66088)),_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.