1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{3189:function(e,t,s){Promise.resolve().then(s.t.bind(s,7960,23)),Promise.resolve().then(s.bind(s,1147)),Promise.resolve().then(s.bind(s,192)),Promise.resolve().then(s.bind(s,3806)),Promise.resolve().then(s.bind(s,5922)),Promise.resolve().then(s.t.bind(s,5878,23)),Promise.resolve().then(s.t.bind(s,2972,23)),Promise.resolve().then(s.t.bind(s,8003,23)),Promise.resolve().then(s.t.bind(s,4742,23))},1147:function(e,t,s){"use strict";s.d(t,{default:function(){return Z}});var n=s(7437),a=s(3145),r=s(7648),o=s(2265),l=s(875),c=s(3247),i=s(2489),d=s(6840),u=s(4938),x=s(4423),m=s(6275),h=s(2449),f=s(4948),p=s(3245),b=s(6337),g=s(5922),v=s(5929),j=s(7226);function N(){let{theme:e,setTheme:t}=(0,g.F)(),[s,a]=(0,o.useState)(!1);return((0,o.useEffect)(()=>a(!0),[]),s)?(0,n.jsx)("button",{onClick:()=>t("dark"===e?"light":"dark"),className:"p-2.5 rounded-full bg-accent/10 text-accent hover:bg-accent/20 transition-colors","aria-label":"Toggle Theme",children:"dark"===e?(0,n.jsx)(v.Z,{size:20}):(0,n.jsx)(j.Z,{size:20})}):(0,n.jsx)("div",{className:"w-10 h-10"})}var w=s(5435),y=s(9376),k=s(3806),_=s(8667);function Z(){let[e,t]=(0,o.useState)(!1),[s,g]=(0,o.useState)(!1),[v,j]=(0,o.useState)(!1),Z=(0,y.usePathname)(),{ctaLink:z}=(0,k.Y)();return(0,o.useEffect)(()=>{let e=()=>g(window.scrollY>20);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,o.useEffect)(()=>{t(!1),j(!1)},[Z]),(0,n.jsxs)("header",{className:"sticky top-0 z-50 transition-all duration-300 ".concat(s?"bg-background/80 backdrop-blur-md border-b border-accent/10 py-3":"bg-transparent py-6"),children:[(0,n.jsxs)("div",{className:"container mx-auto px-4",children:[(0,n.jsxs)("nav",{className:"flex items-center justify-between gap-4",children:[(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[(0,n.jsxs)(r.default,{href:"/",className:"flex items-center gap-3 group",children:[(0,n.jsx)("div",{className:"relative w-10 h-10 group-hover:rotate-12 transition-transform",children:(0,n.jsx)(a.default,{src:"/logo.png",alt:"michom logo",fill:!0,className:"object-contain"})}),(0,n.jsx)("span",{className:"text-2xl font-black tracking-tighter hidden sm:block lowercase",children:"Michom"})]}),z&&(0,n.jsx)("a",{href:z,target:"_blank",rel:"nofollow sponsored",className:"flex-shrink-0 md:hidden px-3.5 py-1.5 bg-[#48e2ff] text-black text-[13px] font-black uppercase tracking-tight rounded-xl hover:scale-105 transition-transform",children:"Buy Now"})]}),(0,n.jsxs)("div",{className:"hidden lg:flex items-center gap-8",children:[(0,n.jsx)(r.default,{href:"/",className:"text-sm font-bold uppercase tracking-widest hover:text-accent transition-colors ".concat("/"===Z?"text-accent":""),children:"Home"}),(0,n.jsx)(r.default,{href:"/blog",className:"text-sm font-bold uppercase tracking-widest hover:text-accent transition-colors ".concat("/blog"===Z?"text-accent":""),children:"Blog"}),(0,n.jsxs)("div",{className:"relative group/dropdown",children:[(0,n.jsxs)("button",{className:"flex items-center gap-1 text-sm font-bold uppercase tracking-widest hover:text-accent transition-colors",children:["Categories ",(0,n.jsx)(l.Z,{size:14})]}),(0,n.jsxs)("div",{className:"absolute top-full left-0 mt-2 w-48 bg-background border border-accent/10 rounded-2xl shadow-2xl opacity-0 invisible group-hover/dropdown:opacity-100 group-hover/dropdown:visible transition-all transform translate-y-2 group-hover/dropdown:translate-y-0 p-2",children:[(0,n.jsx)(r.default,{href:"/category/Technology",className:"block px-4 py-2 hover:bg-accent/10 rounded-xl text-sm font-medium",children:"Technology"}),(0,n.jsx)(r.default,{href:"/category/Design",className:"block px-4 py-2 hover:bg-accent/10 rounded-xl text-sm font-medium",children:"Design"}),(0,n.jsx)(r.default,{href:"/category/Lifestyle",className:"block px-4 py-2 hover:bg-accent/10 rounded-xl text-sm font-medium",children:"Lifestyle"})]})]})]}),(0,n.jsx)("div",{className:"hidden md:block flex-grow max-w-md",children:(0,n.jsx)(w.Z,{})}),z&&(0,n.jsx)("a",{href:z,target:"_blank",rel:"nofollow sponsored",className:"hidden md:flex items-center gap-2 px-5 py-2.5 bg-[#48e2ff] text-black text-sm font-black uppercase tracking-widest rounded-2xl hover:scale-105 transition-all shadow-[0_0_20px_rgba(72,226,255,0.2)] hover:shadow-[0_0_30px_rgba(72,226,255,0.4)]",children:"Buy Now"}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("button",{onClick:()=>j(!v),className:"md:hidden p-2.5 rounded-full bg-accent/10 text-accent hover:bg-accent/20 transition-colors",children:(0,n.jsx)(c.Z,{size:20})}),(0,n.jsx)(N,{}),(0,n.jsx)("button",{onClick:()=>t(!e),className:"lg:hidden p-2.5 rounded-full bg-accent/10 text-accent hover:bg-accent/20 transition-colors",children:e?(0,n.jsx)(i.Z,{size:20}):(0,n.jsx)(d.Z,{size:20})})]})]}),v&&(0,n.jsx)("div",{className:"md:hidden mt-4 pb-2",children:(0,n.jsx)(w.Z,{})}),e&&(0,n.jsx)("div",{className:"lg:hidden fixed inset-0 top-[73px] bg-background z-40 p-6 flex flex-col gap-8 animate-in slide-in-from-right overflow-y-auto pb-20",children:(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsxs)(r.default,{href:"/",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-accent/5 transition-colors text-sm font-medium",children:[(0,n.jsx)(u.Z,{size:18,className:"text-accent"}),(0,n.jsx)("span",{children:"Home"})]}),(0,n.jsxs)(r.default,{href:"/blog",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-accent/5 transition-colors text-sm font-medium",children:[(0,n.jsx)(x.Z,{size:18,className:"text-accent"}),(0,n.jsx)("span",{children:"Blog"})]}),(0,n.jsx)("div",{className:"my-2 border-t border-accent/10"}),(0,n.jsxs)(r.default,{href:"https://amzn.to/42r45Tt",target:"_blank",rel:"nofollow sponsored",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-accent/5 transition-colors text-sm font-medium",children:[(0,n.jsx)(m.Z,{size:18,className:"text-[#FF9900]"}),(0,n.jsx)("span",{children:"Amazon"})]}),(0,n.jsxs)(r.default,{href:"https://s.click.aliexpress.com/e/_c33xUK3Z",target:"_blank",rel:"nofollow sponsored",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-accent/5 transition-colors text-sm font-medium",children:[(0,n.jsx)(h.Z,{size:18,className:"text-[#FF4B21]"}),(0,n.jsx)("span",{children:"AliExpress"})]}),(0,n.jsxs)(r.default,{href:"https://affiliate-program.amazon.com?tag=tawhidinsan-20",target:"_blank",rel:"nofollow sponsored",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-accent/5 transition-colors text-sm font-medium",children:[(0,n.jsx)(f.Z,{size:18,className:"text-accent"}),(0,n.jsx)("span",{children:"Become a affiliate"})]}),(0,n.jsx)("div",{className:"my-2 border-t border-accent/10"}),(0,n.jsxs)(r.default,{href:"/about",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-accent/5 transition-colors text-sm font-medium",children:[(0,n.jsx)(p.Z,{size:18,className:"text-accent"}),(0,n.jsx)("span",{children:"About"})]}),(0,n.jsxs)(r.default,{href:"/privacy-policy",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-accent/5 transition-colors text-sm font-medium",children:[(0,n.jsx)(b.Z,{size:18,className:"text-accent"}),(0,n.jsx)("span",{children:"Privacy Policy"})]})]})})]}),(0,n.jsx)(_.default,{id:"halalspark-header",src:"https://ads.halalspark.co.uk/get
1-ad-script-header?placement_id=5a7b2c76-4739-476b-8655-ac4985134bb7&domain=https://michom.vercel.app&_v=3.0",strategy:"afterInteractive"})]})}},192:function(e,t,s){"use strict";s.d(t,{default:function(){return o}});var n=s(7437),a=s(2265),r=s(9376);function o(){let[e,t]=(0,a.useState)(0),s=(0,r.usePathname)(),o=s.startsWith("/blog/");return((0,a.useEffect)(()=>{if(!o){t(0);return}let e=()=>{let e=document.documentElement.scrollHeight-window.innerHeight;e>0&&t(window.scrollY/e*100)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[o,s]),o)?(0,n.jsx)("div",{className:"fixed top-0 left-0 w-full h-1 z-[100] bg-transparent",children:(0,n.jsx)("div",{className:"h-full bg-accent transition-all duration-150 ease-out shadow-[0_0_10px_rgba(72,226,255,0.5)]",style:{width:"".concat(e,"%")}})}):null}},5435:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var n=s(7437),a=s(2265),r=s(9376),o=s(1817),l=s(3247),c=s(2489);function i(e){let{initialValue:t=""}=e,[s,i]=(0,a.useState)(t),[d,u]=(0,a.useState)(!1),x=(0,r.useRouter)(),m=(0,r.usePathname)();return(0,a.useEffect)(()=>{{let e=new URLSearchParams(window.location.search).get("q");null!==e?i(e):i("")}},[m]),(0,n.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=s.trim();t?(u(!0),x.push("/search?q=".concat(encodeURIComponent(t))),setTimeout(()=>u(!1),500)):x.push("/blog")},className:"relative group w-full",children:[(0,n.jsx)("button",{type:"submit","aria-label":"Submit search",className:"absolute inset-y-0 left-0 pl-4 flex items-center text-muted-foreground hover:text-accent focus:outline-none transition-colors",children:d?(0,n.jsx)(o.Z,{className:"h-5 w-5 text-accent animate-spin"}):(0,n.jsx)(l.Z,{className:"h-5 w-5 text-muted-foreground group-focus-within:text-accent transition-colors"})}),(0,n.jsx)("input",{type:"text",value:s,onChange:e=>i(e.target.value),placeholder:"Search stories...",className:"block w-full pl-11 pr-10 py-3 bg-accent/5 border border-transparent focus:border-accent/30 focus:bg-accent/10 rounded-full text-sm transition-all outline-none"}),s&&(0,n.jsx)("button",{type:"button",onClick:()=>{i(""),x.push("/blog")},className:"absolute inset-y-0 right-0 pr-3 flex items-center text-muted-foreground hover:text-accent focus:outline-none",children:(0,n.jsx)(c.Z,{className:"h-4 w-4"})})]})}},3806:function(e,t,s){"use strict";s.d(t,{CTAProvider:function(){return o},Y:function(){return l}});var n=s(7437),a=s(2265);let r=(0,a.createContext)(void 0);function o(e){let{children:t}=e,[s,o]=(0,a.useState)(null);return(0,n.jsx)(r.Provider,{value:{ctaLink:s,setCTALink:o},children:t})}function l(){let e=(0,a.useContext)(r);if(void 0===e)throw Error("useCTA must be used within a CTAProvider");return e}},7960:function(){}},function(e){e.O(0,[540,972,878,25,971,117,744],function(){return e(e.s=3189)}),_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.