1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4584],{368:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},508:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("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"}]])},1393:(e,t,s)=>{"use strict";s.d(t,{default:()=>l});var r=s(2115);function l(){return(0,r.useEffect)(()=>{let e=!1,t=()=>{e&&"visible"===document.visibilityState&&window.location.reload()},s=window.setTimeout(()=>{"visible"===document.visibilityState?window.location.reload():e=!0},42e4);return document.addEventListener("visibilitychange",t),()=>{window.clearTimeout(s),document.removeEventListener("visibilitychange",t)}},[]),null}},1847:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var r=s(2115);let l=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim()};var i={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 n=(0,r.forwardRef)((e,t)=>{let{color:s="currentColor",size:l=24,strokeWidth:n=2,absoluteStrokeWidth:c,className:o="",children:d,iconNode:h,...m}=e;return(0,r.createElement)("svg",{ref:t,...i,width:l,height:l,stroke:s,strokeWidth:c?24*Number(n)/Number(l):n,className:a("lucide",o),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(m)&&{"aria-hidden":"true"},...m},[...h.map(e=>{let[t,s]=e;return(0,r.createElement)(t,s)}),...Array.isArray(d)?d:[d]])}),c=(e,t)=>{let s=(0,r.forwardRef)((s,i)=>{let{className:c,...o}=s;return(0,r.createElement)(n,{ref:i,iconNode:t,className:a("lucide-".concat(l(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),c),...o})});return s.displayName=l(e),s}},5398:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>l});var r=s(5155);function l(e){return(0,r.jsx)("img",{...e,onError:e=>{let t=e.currentTarget;t.onerror=null,t.src="/images/placeholder.svg"}})}},5626:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},6807:(e,t,s)=>{"use strict";s.d(t,{default:()=>b});var r=s(5155),l=s(1847);let a=(0,l.A)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]),i=(0,l.A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);var n=s(2619),c=s.n(n),o=s(5626);function d(e){let{title:t,href:s,color:l}=e;return(0,r.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("div",{className:"w-1 h-7 rounded-full",style:{backgroundColor:l||"hsl(var(--primary))"}}),(0,r.jsx)("h2",{className:"font-heading font-bold text-xl",children:t})]}),s&&(0,r.jsxs)(c(),{href:s,className:"text-sm text-primary font-semibold flex items-center gap-1 hover:gap-2 transition-all",children:["اÙÙ
Ø²ÙØ¯",(0,r.jsx)(o.A,{className:"w-4 h-4"})]})]})}var h=s(467),m=s(8215),u=s(2307),x=s(5759);function b(e){let{videos:t}=e,s=(0,m.p)();if(!t.length)return null;let l=t[0],n=t.slice(1,5);return(0,r.jsxs)("section",{className:"mb-10",children:[(0,r.jsx)(d,{title:"ÙÙØ¯ÙÙ",href:"/ÙÙØ¯ÙÙ"}),(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,r.jsx)(c(),{href:(0,u.kM)({id:l.id,permalink:l.permalink}),className:"group relative rounded-xl overflow-hidden cursor-pointer bg-card border border-border/50",children:(0,r.jsxs)("div",{className:"relative h-[300px]",children:[(0,r.jsx)("img",{src:(0,x.dE)(l.thumbnailUrl,400),srcSet:(0,x._m)(l.thumbnailUrl,[400,600,800]),sizes:"(max-width: 1024px) 100vw, 640px",alt:l.title,loading:"lazy",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent"}),(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,r.jsx)("div",{className:"w-16 h-16 rounded-full bg-[#ce9b2e] flex items-center justify-center group-hover:scale-110 transition-transform shadow-lg",children:(0,r.jsx)(a,{className:"w-7 h-7 text-white fill-white mr-[-2px]"})})}),l.duration&&(0,r.jsx)("div",{className:"absolute bottom-3 left-3 bg-black/80 text-white text-xs px-2 py-1 rounded font-mono",children:l.duration}),(0,r.jsxs)("div",{className:"absolute bottom-0 right-0 left-0 p-5",children:[(0,r.jsx)("span",{className:"inline-block bg-[#ce9b2e] text-white text-xs font-bold px-2 py-1 rounded mb-2",children:l.category}),(0,r.jsx)("h3",{className:"font-heading font-bold text-lg text-white leading-tight mb-2",children:l.title}),(0,r.jsxs)("div",{className:"flex items-center gap-3 text-white/70 text-xs",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsx)(i,{className:"w-3 h-3"}
1),s?l.views.toLocaleString("ar-SA"):l.views," Ù
Ø´Ø§ÙØ¯Ø©"]}),(0,r.jsx)("span",{children:s?(0,h.f)(l.publishedAt):""})]})]})]})}),(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:n.map(e=>(0,r.jsxs)(c(),{href:(0,u.kM)({id:e.id,permalink:e.permalink}),className:"group relative rounded-xl overflow-hidden cursor-pointer bg-card border border-border/50",children:[(0,r.jsxs)("div",{className:"relative h-[140px]",children:[(0,r.jsx)("img",{src:(0,x.dE)(e.thumbnailUrl,300),srcSet:(0,x._m)(e.thumbnailUrl,[300,400,600]),sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 320px",alt:e.title,loading:"lazy",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),(0,r.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,r.jsx)("div",{className:"w-10 h-10 rounded-full bg-[#ce9b2e]/90 flex items-center justify-center group-hover:scale-110 transition-transform",children:(0,r.jsx)(a,{className:"w-4 h-4 text-white fill-white mr-[-1px]"})})}),e.duration&&(0,r.jsx)("div",{className:"absolute bottom-2 left-2 bg-black/80 text-white text-[10px] px-1.5 py-0.5 rounded font-mono",children:e.duration})]}),(0,r.jsxs)("div",{className:"p-3",children:[(0,r.jsx)("h4",{className:"font-heading font-bold text-sm leading-snug line-clamp-2 group-hover:text-[#ce9b2e] transition-colors",children:e.title}),(0,r.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground text-xs mt-2",children:[(0,r.jsxs)("span",{className:"flex items-center gap-1",children:[(0,r.jsx)(i,{className:"w-3 h-3"}),s?e.views.toLocaleString("ar-SA"):e.views]}),(0,r.jsx)("span",{children:s?(0,h.f)(e.publishedAt):""})]})]})]},e.id))})]})]})}},7937:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(1847).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},8344:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,2619,23)),Promise.resolve().then(s.bind(s,6155)),Promise.resolve().then(s.bind(s,1393)),Promise.resolve().then(s.bind(s,5398)),Promise.resolve().then(s.bind(s,3890)),Promise.resolve().then(s.bind(s,8766)),Promise.resolve().then(s.bind(s,6807))},8766:(e,t,s)=>{"use strict";s.d(t,{default:()=>b});var r=s(5155),l=s(2619),a=s.n(l),i=s(508),n=s(5626),c=s(7937),o=s(368),d=s(5759),h=s(467),m=s(2307),u=s(8215),x=s(2115);function b(e){let{articles:t}=e,s=(0,u.p)(),[l,b]=(0,x.useState)(0),[g,f]=(0,x.useState)(()=>new Set([0])),p=(0,x.useRef)(null);(0,x.useEffect)(()=>{f(e=>e.has(l)?e:new Set(e).add(l))},[l]);let v=(0,x.useCallback)(()=>{b(e=>(e+1)%t.length)},[t.length]),w=(0,x.useCallback)(()=>{b(e=>(e-1+t.length)%t.length)},[t.length]);if((0,x.useEffect)(()=>{if(!s||t.length<=1||window.matchMedia("(max-width: 768px)").matches)return;let e=setInterval(v,1e4);return()=>clearInterval(e)},[s,t.length,l,v]),0===t.length)return null;let j=t[l],N=(0,x.useMemo)(()=>(0,h.f)(j.publishedAt),[j.publishedAt]);return(0,r.jsx)("div",{className:"relative rounded-2xl overflow-hidden bg-card border border-border/50",onTouchStart:e=>{p.current=e.touches[0].clientX},onTouchEnd:e=>{if(null===p.current)return;let t=e.changedTouches[0].clientX-p.current;p.current=null,t<-50?v():t>50&&w()},children:(0,r.jsxs)("div",{className:"relative h-[400px] md:h-[500px]",children:[t.map((e,t)=>(0,r.jsx)("div",{className:"absolute inset-0 transition-opacity duration-700",style:{opacity:+(t===l),zIndex:+(t===l)},children:g.has(t)&&(0,r.jsx)("img",{src:e.imageUrl?(0,d.dE)(e.imageUrl,400):"/images/placeholder.svg",srcSet:(0,d.mV)(e.imageUrl||"",[400,640,900]),sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 900px",alt:e.title,loading:t===l?"eager":"lazy",fetchPriority:t===l?"high":"low",decoding:t===l?"sync":"async",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"contain"}})},e.id)),(0,r.jsx)(a(),{href:(0,m.kM)({id:j.id,permalink:j.permalink}),"aria-label":j.title,className:"absolute inset-0 z-[2] cursor-pointer",children:(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/30 to-transparent"})}),(0,r.jsxs)("div",{className:"absolute bottom-0 right-0 left-0 p-6 md:p-10 z-[3] pointer-events-none",children:[(0,r.jsx)("span",{className:"inline-block bg-[#ce9b2e] text-white text-xs font-bold px-3 py-1.5 rounded-md mb-4",children:j.category}),(0,r.jsx)("h2",{className:"font-heading font-black text-2xl md:text-4xl text-white leading-tight mb-3 max-w-3xl",children:j.title}),(0,r.jsx)("p",{className:"text-white/80 text-sm md:text-base leading-relaxed mb-4 max-w-2xl line-clamp-2",children:j.excerpt}),(0,r.jsxs)("div",{className:"flex items-center gap-4 text-white/70 text-sm",children:[j.author&&j.authorId?(0,r.jsxs)(a(),{href:(0,m.bE)({id:j.authorId,slug:j.author.replace(/\s+/g,"-")}),className:"flex items-center gap-1.5 pointer-events-auto hover:text-[#ce9b2e] transition-colors",children:[(0,r.jsx)(i.A,{className:"w-4 h-4"}),j.author]}):j.author?(0,r.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(i.A,{className:"w-4 h-4"}),j.author]}):null,(0,r.jsx)("span",{children:s?N:""})]}),(0,r.jsxs)("div",{className:"mt-4 inline-flex items-center gap-2 text-[#ce9b2e] text-sm font-semibold",children:["Ø§ÙØ±Ø£ اÙÙ
Ø²ÙØ¯",(0,r.jsx)(n.A,{className:"w-4 h-4"})]})]}),t.length>1&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{onClick:w,"aria-label":"Ø§ÙØ®Ø¨Ø± Ø§ÙØ³Ø§Ø¨Ù",className:"absolute right-4 top-1/2 -translate-y-1/2 z-[4] w-10 h-10 rounded-full bg-black/40 hover:bg-[#ce9b2e] text-white flex items-center justify-center transition-colors",children:(0,r.jsx)(c.A,{className:"w-5 h-5"})}),(0,r.jsx)("button",{onClick:v,"aria-label":"Ø§ÙØ®Ø¨Ø± Ø§ÙØªØ§ÙÙ",className:"absolute left-4 top-1/2 -translate-y-1/2 z-[4] w-10 h-10 rounded-full bg-black/40 hover:bg-[#ce9b2e] text-white flex items-center justify-center transition-colors",children:(0,r.jsx)(o.A,{className:"w-5 h-5"})})]}),t.length>1&&(0,r.jsx)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 z-[4] flex items-center gap-2",children:t.map((e,t)=>(0,r.jsx)("button",{onClick:()=>b(t),"aria-label":"Ø§ÙØ§ÙØªÙØ§Ù Ø¥ÙÙ: ".concat(e.title),"aria-current":t===l?"true":void 0,className:"rounded-full transition-all ".concat(t===l?"w-6 h-2 bg-[#ce9b2e]":"w-2 h-2 bg-white/50 hover:bg-white/80")},t))})]})})}}},e=>{e.O(0,[2619,4408,8441,1255,7358],()=>e(e.s=8344)),_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.