1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,901279,e=>{"use strict";let a=(0,e.i(456420).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",0,a],901279)},445559,e=>{"use strict";var a=e.i(843476),t=e.i(271645),r=e.i(937140),l=e.i(598888),s=e.i(357847),i=e.i(657688),n=e.i(846932),o=e.i(566595),c=e.i(901279),d=e.i(474544),x=e.i(768877);let m=(0,e.i(456420).default)("apple",[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]]);var p=e.i(446513),h=e.i(986206),g=e.i(26158),u=e.i(808306),b=e.i(150285),f=e.i(747925),v=e.i(420865);let j={"MacBook Repair":{gradient:"from-[#EB0029] via-[#8B0016] to-zinc-900",pattern:"radial-gradient(circle at 20% 80%, rgba(235,0,41,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(139,0,22,0.2) 0%, transparent 50%)",icon:m,accentColor:"#EB0029",heroImage:"/images/real/macbook/touchbar-repair.jpg"},"MacBook Tips":{gradient:"from-[#0066CC] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 30% 70%, rgba(0,102,204,0.15) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(235,0,41,0.15) 0%, transparent 50%)",icon:m,accentColor:"#0066CC",heroImage:"/images/real/macbook/macbook-teardown-hero.webp"},"Surface Repair":{gradient:"from-[#7B2D8E] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 25% 75%, rgba(123,45,142,0.2) 0%, transparent 50%), radial-gradient(circle at 75% 25%, rgba(235,0,41,0.15) 0%, transparent 50%)",icon:p.Monitor,accentColor:"#7B2D8E",heroImage:"/images/real/surface/microsoft-surface-repair-action.png"},"iPhone Repair":{gradient:"from-[#4F46E5] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 10% 90%, rgba(79,70,229,0.15) 0%, transparent 50%), radial-gradient(circle at 90% 10%, rgba(235,0,41,0.2) 0%, transparent 50%)",icon:h.Smartphone,accentColor:"#4F46E5",heroImage:"/images/real/iphone/xs-max-repair.png"},"iPad Repair":{gradient:"from-[#FF6B35] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 20% 60%, rgba(255,107,53,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 40%, rgba(235,0,41,0.2) 0%, transparent 50%)",icon:h.Smartphone,accentColor:"#FF6B35",heroImage:"/images/real/ipad/battery-replacement.jpg"},"Laptop Repair":{gradient:"from-[#2E7D32] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 30% 80%, rgba(46,125,50,0.15) 0%, transparent 50%), radial-gradient(circle at 70% 20%, rgba(235,0,41,0.2) 0%, transparent 50%)",icon:g.Laptop,accentColor:"#2E7D32",heroImage:"/images/blog/laptop-repair-hero.png"}
1,"Gaming Laptop":{gradient:"from-[#6B21A8] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 15% 85%, rgba(107,33,168,0.2) 0%, transparent 50%), radial-gradient(circle at 85% 15%, rgba(235,0,41,0.15) 0%, transparent 50%)",icon:u.Gamepad2,accentColor:"#6B21A8",heroImage:"/images/real/gaming/asus-rog-repair.png"},"Data Recovery":{gradient:"from-[#0891B2] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 25% 65%, rgba(8,145,178,0.2) 0%, transparent 50%), radial-gradient(circle at 75% 35%, rgba(235,0,41,0.15) 0%, transparent 50%)",icon:b.HardDrive,accentColor:"#0891B2",heroImage:"/images/real/general/itad-data-destruction.jpg"},"Repair Guides":{gradient:"from-[#D97706] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 20% 70%, rgba(217,119,6,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 30%, rgba(235,0,41,0.2) 0%, transparent 50%)",icon:f.Wrench,accentColor:"#D97706",heroImage:"/images/blog/laptop-repair-hero.png"},"Service Locations":{gradient:"from-[#DC2626] via-[#EB0029] to-zinc-900",pattern:"radial-gradient(circle at 30% 60%, rgba(220,38,38,0.2) 0%, transparent 50%), radial-gradient(circle at 70% 40%, rgba(235,0,41,0.15) 0%, transparent 50%)",icon:v.MapPin,accentColor:"#DC2626",heroImage:"/images/real/general/shop-entrance.jpg"}},w={gradient:"from-[#EB0029] via-[#B8001F] to-zinc-900",pattern:"radial-gradient(circle at 25% 75%, rgba(235,0,41,0.2) 0%, transparent 50%), radial-gradient(circle at 75% 25%, rgba(184,0,31,0.15) 0%, transparent 50%)",icon:f.Wrench,accentColor:"#EB0029",heroImage:"/images/real/general/shop-entrance.jpg"},y={hero:{badge:"Expert Repair Insights & Guides",titleBefore:"Techfix ",titleAccent:"Blog",lede:"Unlock professional repair secrets, maintenance tips, and in-depth guides from Malaysia's top expert technicians.",searchPlaceholder:"Search for repair guides, tips..."},categoryLabels:{},featuredHeading:"Featured Articles",featuredDateLocale:"en-MY",cardDateLocale:void 0,loadingArticles:"Loading articles...",latestHeading:"Latest Articles",countOne:"{count} article found",countMany:"{count} articles found",empty:{title:"No articles found",body:"We couldn't find any articles matching your search criteria. Try different keywords.",clear:"Clear all filters"},loadMore:"Load More Articles ({remaining} remaining)",newsletter:{title:"Join {subscribers} Smart Device Owners",body:"Get weekly repair guides, and battery saving tips delivered straight to your inbox. No spam, ever.",emailPlaceholder:"Enter your email address",subscribe:"Subscribe Free",note:"By subscribing, you agree to our Privacy Policy. Unsubscribe anytime."}};e.s(["default",0,function({blogPosts:e,categories:m,featuredPosts:p,copy:h=y,prerenderHidden:g=!1}){let u=e=>h.categoryLabels[e]??e,[b,f]=(0,t.useState)("All"),[v,N]=(0,t.useState)(""),[B,E]=(0,t.useState)(12),k=(0,r.useDebounce)(v,300),C=(0,t.useMemo)(()=>e.filter(e=>{let a="All"===b||e.category===b,t=e.title.toLowerCase().includes(k.toLowerCase())||e.excerpt.toLowerCase().includes(k.toLowerCase())||e.tags.some(e=>e.toLowerCase().includes(k.toLowerCase()));return a&&t}),[e,b,k]),A=(0,t.useMemo)(()=>g?C:C.slice(0,B),[C,B,g]),D=B<C.length;return(0,a.jsxs)("div",{className:"min-h-screen bg-slate-50 text-slate-900 font-sans selection:bg-[#EB0029]/20 selection:text-[#EB0029]",children:[(0,a.jsxs)("section",{className:"relative bg-zinc-900 py-32 overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute inset-0 opacity-20 bg-[url('/images/pattern-gri
1d.svg')] mix-blend-overlay"}),(0,a.jsx)("div",{className:"absolute top-0 right-0 w-1/2 h-full bg-gradient-to-l from-[#EB0029]/20 to-transparent blur-3xl pointer-events-none"}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 w-1/2 h-full bg-gradient-to-tr from-blue-600/10 to-transparent blur-3xl pointer-events-none"}),(0,a.jsx)("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsx)(n.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center md:text-left md:flex md:items-end md:justify-between gap-12",children:(0,a.jsxs)("div",{className:"max-w-3xl",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-white/10 border border-white/10 backdrop-blur-sm mb-8",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-[#EB0029] animate-pulse shadow-[0_0_10px_#EB0029]"}),(0,a.jsx)("span",{className:"text-sm font-medium text-white/90",children:h.hero.badge})]}),(0,a.jsxs)("h1",{className:"text-4xl md:text-7xl font-display font-bold text-white mb-6 tracking-tight leading-tight",children:[h.hero.titleBefore,(0,a.jsx)("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-[#EB0029] to-[#ff4d6d]",children:h.hero.titleAccent})]}),(0,a.jsx)("p",{className:"text-xl text-slate-400 max-w-2xl mb-10 leading-relaxed",children:h.hero.lede}),(0,a.jsxs)("div",{className:"relative max-w-lg",children:[(0,a.jsx)(o.Search,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-slate-400 pointer-events-none"}),(0,a.jsx)("input",{type:"text",placeholder:h.hero.searchPlaceholder,value:v,onChange:e=>{N(e.target.value),E(12)},className:"w-full pl-12 pr-4 py-4 bg-white/5 border border-white/10 rounded-2xl text-white placeholder-slate-500 focus:outline-none focus:border-[#EB0029]/50 focus:ring-4 focus:ring-[#EB0029]/10 transition-all shadow-lg backdrop-blur-sm"})]})]})})})]}),(0,a.jsx)("section",{className:"sticky top-16 z-40 bg-white/80 backdrop-blur-md border-b border-slate-200 py-4 shadow-sm",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsx)("div",{className:"flex items-center gap-3 overflow-x-auto pb-1 scrollbar-hide no-scrollbar",children:m.map(e=>(0,a.jsx)("button",{onClick:()=>{f(e),E(12)},className:`px-5 py-2.5 rounded-full text-sm font-semibold whitespace-nowrap transition-all duration-200 ${b===e?"bg-[#EB0029] text-white shadow-lg shadow-[#EB0029]/25 transform scale-105":"bg-slate-100 text-slate-600 hover:bg-slate-200 hover:text-slate-900 border border-transparent"}`,children:u(e)},e))})})}),"All"===b&&""===v&&p.length>0&&(0,a.jsx)(t.Suspense,{fallback:(0,a.jsx)("div",{className:"h-96 w-full animate-pulse bg-slate-100 mb-12"}),children:(0,a.jsx)("section",{className:"py-16 bg-white border-b border-slate-100",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-10",children:(0,a.jsxs)("h2",{className:"text-2xl font-display font-bold text-slate-900 flex items-center gap-3",children:[(0,a.jsx)("span",{className:"w-1 h-8 bg-[#EB0029] rounded-full"}),h.featuredHeading]})}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 gap-8",children:[(0,a.jsx)(n.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},children:(0,a.jsx)(l.default,{href:`/blog/${p[0].slug}`,className:"group block relative h-full",children:(0,a.jsxs)("div",{className:"relative aspect-[16/10] rounded-3xl overflow-hidden shadow-sm shadow-slate-200 group-hover:shadow-xl transition-all duration-500",children:[(0,a.jsx)(i.default,{src:(j[p[0].category]||w).heroImage,alt:p[0].title,fill:!0,className:"object-cover transition-transform duration-700 group-hover:scale-105",quality:90}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-80 group-hover:opacity-90 transition-opacity"}),(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-8",children:[(0,a.jsx)("span",{className:"inline-block px-3 py-1 bg-[#EB0029] text-white text-xs font-bold uppercase tracking-wider rounded-lg mb-4 shadow-lg shadow-[#EB0029]/20",children:u(p[0].category)}),(0,a.jsx)("h3",{className:"text-3xl font-display font-bold text-white mb-4 leading-tight group-hover:text-slate-100 transition-colors",children:p[0].title}),(0,a.jsx)("p",{className:"text-slate-200 line-clamp-2 mb-6 text-lg",children:p[0].excerpt}),(0,a.jsxs)("div",{className:"flex items-center gap-4 text-sm text-slate-300 font-medium",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(c.User,{className:"w-4 h-4 text-[#EB0029]"}),(0,a.jsx)("span",{children:p[0].author.name})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(d.Clock,{className:"w-4 h-4 text-[#EB0029]"}),(0,a.jsx)("span",{children:p[0].readingTime})]})]})]})]})})}),(0,a.jsx)("div",{className:"flex flex-col gap-6",children:p.slice(1,4).map((e,t)=>(0,a.jsx)(n.motion.div,{initial:{opacity:0,x:20}
1,animate:{opacity:1,x:0},transition:{delay:.2+.1*t},className:"flex-1",children:(0,a.jsxs)(l.default,{href:`/blog/${e.slug}`,className:"group flex gap-6 h-full p-4 rounded-3xl hover:bg-slate-50 transition-colors border border-transparent hover:border-slate-100",children:[(0,a.jsx)("div",{className:"relative w-40 h-28 flex-shrink-0 rounded-2xl overflow-hidden shadow-sm",children:(0,a.jsx)(i.default,{src:(j[e.category]||w).heroImage,alt:e.title,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-110"})}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col justify-center",children:[(0,a.jsx)("span",{className:"text-xs font-bold text-[#EB0029] uppercase tracking-wider mb-2",children:u(e.category)}),(0,a.jsx)("h3",{className:"text-xl font-bold text-slate-900 group-hover:text-[#EB0029] transition-colors line-clamp-2 mb-2",children:e.title}),(0,a.jsxs)("div",{className:"flex items-center gap-3 text-xs font-medium text-slate-400",children:[(0,a.jsx)("span",{children:e.readingTime}),(0,a.jsx)("span",{className:"w-1 h-1 rounded-full bg-slate-300"}),(0,a.jsx)("span",{children:new Date(e.publishedAt).toLocaleDateString(h.featuredDateLocale,{month:"short",day:"numeric"})})]})]})]})},e.slug))})]})]})})}),(0,a.jsxs)(t.Suspense,{fallback:(0,a.jsx)("div",{className:"py-20 text-center",children:h.loadingArticles}),children:[(0,a.jsx)("section",{className:"py-20 bg-slate-50",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-10",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("h2",{className:"text-2xl font-display font-bold text-slate-900 flex items-center gap-3",children:[(0,a.jsx)("span",{className:"w-1 h-8 bg-slate-300 rounded-full"}),"All"===b?h.latestHeading:u(b)]}),(0,a.jsx)("p",{className:"text-slate-500 mt-2 ml-4",children:(0,s.fill)(1!==C.length?h.countMany:h.countOne,{count:C.length})})]})}),0===C.length?(0,a.jsxs)("div",{className:"text-center py-24 bg-white rounded-3xl border border-dashed border-slate-300",children:[(0,a.jsx)("div",{className:"w-16 h-16 bg-slate-100 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,a.jsx)(o.Search,{className:"w-8 h-8 text-slate-400"})}),(0,a.jsx)("h3",{className:"text-lg font-semibold text-slate-900 mb-2",children:h.empty.title}),(0,a.jsx)("p",{className:"text-slate-500 mb-6 max-w-sm mx-auto",children:h.empty.body}),(0,a.jsx)("button",{onClick:()=>{f("All"),N(""),E(12)},className:"px-6 py-2.5 bg-[#EB0029] text-white font-medium rounded-xl hover:bg-[#c90023] transition-colors",children:h.empty.clear})]}):(0,a.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:A.map((e,t)=>{let r=j[e.category]||w;return(0,a.jsx)(n.motion.article,{hidden:t>=B||void 0,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.05*t},className:"flex flex-col bg-white rounded-3xl overflow-hidden border border-slate-100 shadow-sm hover:shadow-2xl hover:-translate-y-1 transition-all duration-300 group h-full",children:(0,a.jsxs)(l.default,{href:`/blog/${e.slug}`,className:"flex flex-col h-full",children:[(0,a.jsxs)("div",{className:"relative aspect-[16/10] overflow-hidden bg-slate-100",children:[(0,a.jsx)(i.default,{src:r.heroImage,alt:e.title,fill:!0,className:"object-cover transition-transform duration-700 group-hover:scale-105",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}),(0,a.jsx)("div",{className:"absolute top-4 left-4",children:(0,a.jsx)("span",{className:"inline-block px-3 py-1 bg-white/95 backdrop-blur-md text-slate-900 text-xs font-bold rounded-lg shadow-sm",children:u(e.category)})})]}),(0,a.jsxs)("div",{className:"p-8 flex-1 flex flex-col",children:[(0,a.jsx)("h3",{className:"text-xl font-display font-bold text-slate-900 group-hover:text-[#EB0029] transition-colors line-clamp-2 mb-3 leading-snug",children:e.title}),(0,a.jsx)("p",{className:"text-slate-600 text-sm leading-relaxed line-clamp-3 mb-6 flex-1",children:e.excerpt}),(0,a.jsxs)("div",{className:"mt-auto border-t border-slate-100 pt-6 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-full bg-slate-100 flex items-center justify-center border border-slate-200",children:(0,a.jsx)(c.User,{className:"w-4 h-4 text-slate-400"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-xs font-bold text-slate-800",children:e.author.name}),(0,a.jsx)("span",{className:"text-[10px] text-slate-400 font-medium uppercase",children:new Date(e.publishedAt).toLocaleDateString(h.cardDateLocale)})]})]}),(0,a.jsx)("div",{className:"w-8 h-8 rounded-full bg-slate-50 text-[#EB0029] flex items-center justify-center group-hover:bg-[#
1EB0029] group-hover:text-white transition-colors",children:(0,a.jsx)(x.ArrowRight,{className:"w-4 h-4"})})]})]})]})},e.slug)})}),D&&(0,a.jsx)("div",{className:"mt-12 text-center",children:(0,a.jsx)("button",{onClick:()=>E(e=>e+12),className:"px-10 py-4 bg-white border-2 border-slate-200 text-slate-700 font-semibold rounded-2xl hover:border-[#EB0029] hover:text-[#EB0029] transition-all duration-200 shadow-sm hover:shadow-md",children:(0,s.fill)(h.loadMore,{remaining:C.length-B})})})]})}),(0,a.jsxs)("section",{className:"py-24 bg-zinc-900 relative overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-[url('/images/pattern-grid.svg')] opacity-10"}),(0,a.jsx)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center relative z-10",children:(0,a.jsxs)(n.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[(0,a.jsx)("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-6",children:(0,s.fill)(h.newsletter.title,{subscribers:"15,000+"})}),(0,a.jsx)("p",{className:"text-slate-400 mb-10 max-w-2xl mx-auto text-lg",children:h.newsletter.body}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 max-w-lg mx-auto",children:[(0,a.jsx)("input",{type:"email",placeholder:h.newsletter.emailPlaceholder,className:"flex-1 px-6 py-4 bg-white/5 border border-white/10 rounded-2xl text-white placeholder-slate-500 focus:outline-none focus:border-[#EB0029]/50 focus:bg-white/10 transition-all font-medium"}),(0,a.jsx)("button",{className:"px-8 py-4 bg-[#EB0029] text-white font-bold rounded-2xl hover:bg-[#c90023] transition-colors shadow-lg shadow-[#EB0029]/20",children:h.newsletter.subscribe})]}),(0,a.jsx)("p",{className:"text-xs text-slate-600 mt-6",children:h.newsletter.note})]})})]})]})]})}],445559)},937140,e=>{"use strict";var a=e.i(271645);e.s(["useDebounce",0,function(e,t){let[r,l]=(0,a.useState)(e);return(0,a.useEffect)(()=>{let a=setTimeout(()=>{l(e)},t);return()=>{clearTimeout(a)}},[e,t]),r}])},598888,e=>{"use strict";var a=e.i(843476),t=e.i(522016),r=e.i(618566),l=e.i(315833),s=e.i(735155);e.s(["default",0,function({href:e,...i}){let n=(0,l.useChrome)(),o=(0,r.usePathname)(),c=e;if("string"==typeof e&&"en"!==n.locale){let a=n.href(e),t=(0,s.normalizeSitePath)(a);c=null==o||e.includes("#")||a===e||t!==(0,s.normalizeSitePath)(o)?a:e}return(0,a.jsx)(t.default,{...i,href:c})}])}]);
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.