PageSourceSearch

https://makkahnewspaper.com/_next/static/chunks/8732-c595e2246c68148e.js

js makkahnewspaper.com collected 2026-10-02 07:43:01 UTC 10,899 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8732],{63:(e,r,t)=>{var a=t(7260);t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},1847:(e,r,t)=>{t.d(r,{A:()=>c});var a=t(2115);let s=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)},o=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,a.forwardRef)((e,r)=>{let{color:t="currentColor",size:s=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:i="",children:d,iconNode:h,...m}=e;return(0,a.createElement)("svg",{ref:r,...n,width:s,height:s,stroke:t,strokeWidth:c?24*Number(l)/Number(s):l,className:o("lucide",i),...!d&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(m)&&{"aria-hidden":"true"},...m},[...h.map(e=>{let[r,t]=e;return(0,a.createElement)(r,t)}),...Array.isArray(d)?d:[d]])}),c=(e,r)=>{let t=(0,a.forwardRef)((t,n)=>{let{className:c,...i}=t;return(0,a.createElement)(l,{ref:n,iconNode:r,className:o("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),c),...i})});return t.displayName=s(e),t}},5229:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(1847).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},6651:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(1847).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},8732:(e,r,t)=>{t.d(r,{default:()=>v});var a=t(5155),s=t(2619),o=t.n(s),n=t(63),l=t(2115),c=t(1847);let i=(0,c.A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);var d=t(5229),h=t(9540);let m=(0,c.A)("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);var u=t(6651);let x=[{label:(0,a.jsx)(i,{className:"w-4 h-4"}),href:"/english",title:"Home"},{label:"Articles",href:"/english-articles",title:"Articles"},{label:"Opinion",href:"/english-opinion",title:"Opinion"},{label:"Caricature",href:"/كاريكاتير",title:"Caricature"},{label:"Infographic",href:"/إنفوجرافيك",title:"Infographic"}];function p(){return(0,a.jsx)("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}function f(){return(0,a.jsx)("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})}function b(){return(0,a.jsx)("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})}function g(){return(0,a.jsx)("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"
1currentColor",children:(0,a.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}function v(){let e=(0,n.usePathname)(),r=(0,n.useRouter)(),[t,s]=(0,l.useState)(""),[c,i]=(0,l.useState)(!1),[v,j]=(0,l.useState)("");function k(e){let t=e.trim();t&&(r.push("/search?query=".concat(encodeURIComponent(t))),s(""),i(!1))}return(0,l.useEffect)(()=>{j(new Date().toLocaleDateString("en-US",{weekday:"short",day:"2-digit",month:"short",year:"numeric"}))},[]),(0,a.jsxs)("header",{className:"bg-card border-b border-border sticky top-0 z-50",dir:"ltr",children:[(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4",children:(0,a.jsxs)("div",{className:"flex items-center justify-between py-2 gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("button",{onClick:()=>i(!c),className:"md:hidden p-1.5 hover:bg-muted rounded-lg transition-colors","aria-label":"Toggle menu",children:c?(0,a.jsx)(d.A,{className:"w-5 h-5"}):(0,a.jsx)(h.A,{className:"w-5 h-5"})}),(0,a.jsx)(o(),{href:"/",className:"text-xs font-bold px-2 py-1 rounded border border-border text-muted-foreground hover:text-[#ce9b2e] hover:border-[#ce9b2e] transition-colors",children:"AR"}),(0,a.jsxs)(o(),{href:"/archive",className:"hidden sm:flex items-center gap-1.5 text-xs text-muted-foreground hover:text-[#ce9b2e] transition-colors",children:[(0,a.jsx)(m,{className:"w-3.5 h-3.5"}),"Archive"]}),(0,a.jsx)("form",{onSubmit:e=>{e.preventDefault(),k(t)},className:"hidden md:flex items-center",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(u.A,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-muted-foreground"}),(0,a.jsx)("input",{type:"search",value:t,onChange:e=>s(e.target.value),placeholder:"Search in Makkah",className:"pl-9 pr-3 py-1.5 text-xs bg-muted rounded-lg border-0 outline-none focus:ring-2 focus:ring-[#ce9b2e]/30 w-48 placeholder:text-muted-foreground"})]})})]}),(0,a.jsx)(o(),{href:"/english",className:"flex-shrink-0",children:(0,a.jsx)("img",{src:"/makkah-logo.png",alt:"Makkah Newspaper",className:"h-11 md:h-13 w-auto"})}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)("div",{className:"hidden sm:flex items-center gap-2",children:[(0,a.jsx)("a",{href:"https://twitter.com/makkahnp",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#ce9b2e] transition-colors",title:"Twitter",children:(0,a.jsx)(p,{})}),(0,a.jsx)("a",{href:"https://www.facebook.com/makkahnp",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#ce9b2e] transition-colors",title:"Facebook",children:(0,a.jsx)(f,{})}),(0,a.jsx)("a",{href:"https://instagram.com/makkahnp",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#ce9b2e] transition-colors",title:"Instagram",children:(0,a.jsx)(b,{})}),(0,a.jsx)("a",{href:"https://www.youtube.com/makkahnp",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#ce9b2e] transition-colors",title:"YouTube",children:(0,a.jsx)(g,{})})]}),(0,a.jsx)("span",{className:"hidden lg:block text-xs text-muted-foreground border-l border-border pl-3",children:v})]})]})}),(0,a.jsx)("div",{className:"border-t border-border/50 bg-card",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4",children:(0,a.jsx)("nav",{className:"hidden md:flex items-center gap-0.5",children:x.map((r,t)=>(0,a.jsx)(o(),{href:r.href,title:r.title,className:"flex items-center gap-1 px-4 py-2.5 text-sm font-semibold border-b-2 transition-colors whitespace-nowrap ".concat(e===r.href?"border-[#ce9b2e] text-[#ce9b2e]":"border-transparent text-foreground hover:text-[#ce9b2e] hover:border-[#ce9b2e]/40"),children:r.label},t))})})}),c&&(0,a.jsx)("div",{className:"md:hidden border-t border-border bg-card",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 py-3 space-y-1",children:[(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),k(t)},className:"relative mb-3",children:[(0,a.jsx)(u.A,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,a.jsx)("input",{type:"search",value:t,onChange:e=>s(e.target.value),placeholder:"Search in Makkah",className:"w-full pl-9 pr-3 py-2.5 text-sm bg-muted rounded-lg border-0 outline-none focus:ring-2 focus:ring-[#ce9b2e]/30 placeholder:text-muted-foreground"})]}),x.map((r,t)=>(0,a.jsx)(o(),{href:r.href,onClick:()=>i(!1),className:"flex items-center gap-2 py-2.5 px-3 rounded-lg text-sm font-semibold transition-colors ".concat(e===r.href?"text-[#ce9b2e] bg-[#ce9b2e]/10":"text-foreground hover:text-[#ce9b2e] hover:bg-muted"),children:r.label},t)),(0,a.jsxs)("div",{className:"pt-3 border-t border-border flex items-center gap-3",children:[(0,a.jsx)(o(),{href:"/",className:"text-xs font-bold px-2 py-1 rounded border border-border text-muted-foreground hover:text-[#ce9b2e] hover:border-[#ce9b2e] transition-colors",children:"AR"}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("a",{href:"https://twitter.com/makkahnp",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#ce9b2e] transition-colors",children:(0,a.jsx)(p,{})}),(0,a.jsx)("a",{href:"https://www.facebook.com/makkahnp",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#ce9b2e] transition-colors",children:(0,a.jsx)(f,{})}),(0,a.jsx)("a",{href:"https://instagram.com/makkahnp",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#ce9b2e] transition-colors",children:(0,a.jsx)(b,{})}),(0,a.jsx)("a",{href:"https://www.youtube.com/makkahnp",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-[#ce9b2e] transition-colors",children:(0,a.jsx)(g,{})})]})]})]})})]})}},9540:(e,r,t)=>{t.d(r,{A:()=>a});let a=(0,t(1847).A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]])}}]);

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.