PageSourceSearch

https://iranopasmigirim.com/_next/static/chunks/1o3bjdcgx3han.js?dpl=dpl_D6fijw9XD5HZrakJ2ZboX4DJEkLz

js iranopasmigirim.com collected 2026-10-02 20:40:53 UTC 145,094 bytes, 93 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,699970,e=>{"use strict";var t=e.i(843476),a=e.i(657688),r=e.i(94299),i=e.i(299208);let l=(0,r.default)(({logoSrc:e,logoAlt:r,showJoinButton:l=!0,className:s="",t:n,lang:o,isRTL:d})=>(0,t.jsxs)("section",{className:`px-8 py-8 relative overflow-hidden ${s}`,children:[(0,t.jsxs)("div",{className:"absolute inset-0",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-pahlavi-green/5 via-transparent to-pahlavi-blue/5 animate-gradient-shift"}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-[0.02]",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='pattern' x='0' y='0' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='10' cy='10' r='1' fill='%23000000' /%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23pattern)' /%3E%3C/svg%3E\")"}})]}),(0,t.jsx)("div",{className:"container mx-auto relative z-10",children:(0,t.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,t.jsx)("div",{className:"w-full group",children:(0,t.jsxs)("div",{className:"relative inline-block",children:[(0,t.jsx)("div",{className:"absolute -inset-2 bg-gradient-to-r from-pahlavi-green/20 to-pahlavi-blue/20 rounded-lg blur-lg opacity-0 group-hover:opacity-100 transition-all duration-500"}),(0,t.jsx)(a.default,{src:e||("fa"===o?"/images/Iran-Rising Logo-Persian-RGB-Reverse.png":"/images/Iran-Rising-English-RGB_Reverse.png"),alt:r||(d?"لوگوی دوران گذار":"Rise Iran! Logo"),width:1e3,height:100,className:`relative object-contain transform transition-all duration-500 group-hover:scale-[1.02] ${d?"ml-auto":"mr-auto"}`,priority:!0,quality:100,style:{maxWidth:"100%",height:"auto"}})]})}),l&&(0,t.jsx)("div",{className:"w-full group",children:(0,t.jsx)("a",{href:`/${o}/join-campaign`,className:"text-white px-6 py-3 block transition-all duration-300",children:d?(0,t.jsxs)("span",{className:"inline-flex flex-wrap items-baseline gap-3",children:[(0,t.jsx)("span",{className:"relative",children:(0,t.jsx)("span",{className:"text-yellow-300 font-extrabold text-base sm:text-lg md:text-xl lg:text-2xl tracking-wide transform transition-all duration-300 group-hover:text-yellow-100 group-hover:drop-shadow-[0_0_8px_rgba(253,224,71,0.5)]",children:"یکی شویم پیروز می‌شویم!"})}),(0,t.jsx)("span",{className:"text-white/30",children:"|"}),(0,t.jsxs)("span",{className:"text-white/80 font-medium text-sm sm:text-base md:text-lg transition-all duration-300 group-hover:text-white",children:["به «",(0,t.jsx)(i.default,{className:"font-bold",children:"ایران را پس می‌گیریم"}),"» بپیوندید"]})]}):(0,t.jsx)("span",{className:"text-white font-bold text-sm sm:text-lg md:text-xl hover:drop-shadow-lg break-words",children:"United We Stand, Together We Win | Join the Rise Iran! Campaign"})})})]})})]}));e.s(["default",0,l])},443614,e=>{"use strict";var t=e.i(843476),a=e.i(846932),r=e.i(28064),i=e.i(342920),l=e.i(931091),s=e.i(98919),n=e.i(761911),o=e.i(36837);e.s(["default",0,function(){let{lang:e}=(0,o.useTranslations)(),d={fa:[{title:"سازمان‌ها",icon:i.Building,link:"/fa/join-campaign/organizations",gradient:"from-blue-500 to-blue-600"},{title:"رسانه‌ها",icon:l.Megaphone,link:"/fa/join-campaign/media",gradient:"from-purple-500 to-purple-600"},{title:"گزارش میهن‌پرستانه",icon:s.Shield,link:"/fa/patriotic-reports",gradient:"from-pahlavi-green to-teal-600"},{title:"عضویت فردی",icon:n.Users,link:"/fa/join-campaign/individuals-outside-iran",gradient:"from-amber-500 to-amber-600"}],en:[{title:"Organizations",icon:i.Building,link:"/en/join-campaign/organizations",gradient:"from-blue-500 to-blue-600"},{title:"Media",icon:l.Megaphone,link:"/en/join-campaign/media",gradient:"from-purple-500 to-purple-600"},{title:"Individuals",icon:n.Users,link:"/en/join-campaign/individuals-outside-iran",gradient:"from-amber-500 to-amber-600"}]},c=d[e]||d.en;return(0,t.jsx)("section",{className:"py-8 md:py-12",dir:"fa"===e?"rtl":"ltr",children:(0,t.jsx)("div",{className:"container mx-auto px-4",children:(0,t.jsx)(a.motion.div,{className:"max-w-6xl mx-auto",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},children:(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-3 md:gap-4",children:c.map((e,i)=>(0,t.jsx)(a.motion.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},transition:{delay:.1*i,duration:.4},viewport:{once:!0},children:(0,t.jsxs)(r.default,{href:e.link,className:"group relative inline-flex items-center gap-2.5 px-5 md:px-6 py-3 md:py-3.5 bg-white hover:bg-gray-50 border-2 border-gray-200 hover:border-gray-300 rounded-full shadow-md hover:shadow-xl transition-all duration-300 overflow-hidden",children:[(0,t.jsx)("div",{className:`absolute inset-0 bg-gradient-to-r ${e.gradient} opacity-0 group-hover:opacity-5 transition-opacity duration-300`}),(0,t.jsx)("div",{className:`relative p-1.5 rounded-full bg-gradient-to-br ${e.gradient}`,children:(0,t.jsx)(e.icon,{className:"w-4 h-4 md:w-5 md:h-5 text-white"})}),(0,t.jsx)("span",{className:"relative text-sm md:text-base font-bold text-gray-800 group-hover:text-gray-900 whitespace-nowrap",children:e.title}),(0,t.jsx)("div",{className:"absolute inset-0 -translate-x-full group-hover:translate-x-full transition-transform duration-700 bg-gradient-to-r from-transparent via-white/20 to-transparent"})]})},i))})})})})}])},65617,e=>{"use strict";var t=e.i(843476),a=e.i(437902),r=e.i(36837),i=e.i(846932),l=e.i(28064),s=e.i(27443);e.s(["default",0,function(){let{t:e,lang:n,isRTL:o}=(0,r.useTranslations)(),{theme:d}=(0,s.useTheme)(),c="dark"===d,m=e=>{if(!o)return e.toString();let t=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];return e.toString().replace(/[0-9]/g,e=>t[parseInt(e)])},x=[o?"فشار حداکثری بر جمهوری اسلامی":"Maximum Pressure on the Islamic Republic",o?"حمایت حداکثری از مردم ایران":"Maximum Support for the Iranian People",o?"ریزش حداکثری از درون رژیم":"Maximum Defections from Within the Regime",o?"سازماندهی حداکثری ایرانیان":"Maximum Mobilization of Iranians",o?"پروژه شکوفایی ایران":"The Iran Prosperity Project"],h=o?(0,t.jsxs)(t.Fragment,{children:["کارزار  «",(0,t.jsx)("span",{className:"relative inline-block",children:(0,t.jsx)("span",{className:"bg-gradient-to-r from-emerald-400 via-yellow-400 to-blue-500 bg-[length:200%_100%] bg-clip-text text-transparent font-bold animate-shimmer",children:"ایران را پس می‌گیریم"})}),"» به رهبری شاهزاده رضا پهلوی برای عبور از جمهوری اسلامی به سوی یک دولت ملی، سکولار و دموکراتیک"]}):"A comprehensive campaign led by Prince Reza Pahlavi to transition from the Islamic Republic towards a national democratic government";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{id:"fc10d04d7da7f097",children:"@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.animate-shimmer{animation:3s ease-in-out infinite shimmer}"}),(0,t.jsx)("section",{className:"jsx-fc10d04d7da7f097 w-full py-12 md:py-16",children:(0,t.jsx)("div",{className:"jsx-fc10d04d7da7f097 w-full px-4 md:px-8 lg:px-12",children:(0,t.jsxs)("div",{className:`jsx-fc10d04d7da7f097 relative w-full rounded-xl shadow-2xl overflow-hidden transition-colors duration-300 ${c?"bg-gradient-to-br from-gray-900 via-gray-800 to-slate-900":"bg-gradient-to-br from-blue-50 via-white to-green-50"}`,children:[(0,t.jsxs)("div",{className:`jsx-fc10d04d7da7f097 absolute inset-0 ${c?"opacity-20":"opacity-40"}`,children:[(0,t.jsx)("div",{className:`jsx-fc10d04d7da7f097 absolute top-0 left-0 w-full h-full ${c?"bg-gradient-to-br from-emerald-900/20 via-blue-900/10 to-purple-900/20":"bg-gradient-to-br from-emerald-100/30 via-blue-100/20 to-purple-100/30"}`}),(0,t.jsx)("div",{className:`jsx-fc10d04d7da7f097 absolute top-32 right-32 w-96 h-96 rounded-full blur-3xl animate-pulse-slow ${c?"bg-gradient-to-br from-emerald-600/10 to-blue-600/10":"bg-gradient-to-br from-emerald-200/20 to-blue-200/20"}`}),(0,t.jsx)("div",{className:`jsx-fc10d04d7da7f097 absolute bottom-32 left-32 w-80 h-80 rounded-full blur-3xl animate-pulse-slow ${c?"bg-gradient-to-br from-blue-600/10 to-purple-600/10":"bg-gradient-to-br from-blue-200/20 to-purple-200/20"}`})]}),(0,t.jsx)("div",{className:"jsx-fc10d04d7da7f097 absolute inset-0 opacity-5",children:(0,t.jsxs)("svg",{viewBox:"0 0 100 100",fill:"none",className:"jsx-fc10d04d7da7f097 w-full h-full",children:[(0,t.jsx)("defs",{className:"jsx-fc10d04d7da7f097",children:(0,t.jsx)("pattern",{id:"grid",width:"10",height:"10",patternUnits:"userSpaceOnUse",className:"jsx-fc10d04d7da7f097",children:(0,t.jsx)("path",{d:"M 10 0 L 0 0 0 10",fill:"none",stroke:"currentColor",strokeWidth:"0.5",className:"jsx-fc10d04d7da7f097"})})}),(0,t.jsx)("rect",{width:"100%",height:"100%",fill:"url(#grid)",className:"jsx-fc10d04d7da7f097 "+((c?"text-white":"text-gray-900")||"")})]})}),(0,t.jsx)("div",{className:"jsx-fc10d04d7da7f097 relative z-10 py-24 px-4 sm:px-6 lg:px-8",children:(0,t.jsx)("div",{className:"jsx-fc10d04d7da7f097 max-w-7xl mx-auto",children:(0,t.jsxs)("div",{className:"jsx-fc10d04d7da7f097 grid lg:grid-cols-2 gap-20 items-center",children:[(0,t.jsxs)(i.motion.div,{className:`${o?"lg:order-1":"lg:order-2"} space-y-10`,initial:{opacity:0,x:o?-50:50}
1,animate:{opacity:1,x:0},transition:{duration:1},children:[(0,t.jsxs)("div",{className:"jsx-fc10d04d7da7f097",children:[(0,t.jsx)(i.motion.h2,{className:`text-3xl sm:text-4xl md:text-5xl xl:text-6xl font-bold leading-tight mb-8 transition-colors duration-300 ${c?"text-white":"text-gray-800"}`,initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},children:o?"برنامه پنج‌گانه بازپس‌گیری و بازسازی ایران":"Five-Point Plan to Reclaim and Rebuild Iran"}),(0,t.jsx)(i.motion.div,{className:`w-24 h-1.5 bg-gradient-to-r from-emerald-500 via-blue-500 to-purple-500 rounded-full mb-8 ${o?"ml-auto":"mr-auto lg:mr-0"}`,initial:{width:0},animate:{width:96},transition:{duration:1,delay:.5}}),(0,t.jsx)(i.motion.p,{className:`text-lg sm:text-xl leading-relaxed font-light transition-colors duration-300 ${c?"text-gray-300":"text-gray-600"}`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},children:h})]}),(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6},children:(0,t.jsxs)(l.default,{href:`/${n}/join-campaign`,className:"inline-flex items-center gap-4 px-10 py-5 bg-gradient-to-r from-emerald-500 to-blue-600 hover:from-emerald-600 hover:to-blue-700 text-white font-semibold text-lg rounded-2xl shadow-xl hover:shadow-2xl transform hover:-translate-y-1 transition-all duration-300 group",children:[(0,t.jsx)("span",{className:"jsx-fc10d04d7da7f097",children:o?"پیوستن به «ایران را پس می‌گیریم»":"Join Campaign"}),(0,t.jsx)("div",{className:"jsx-fc10d04d7da7f097 w-8 h-8 bg-white/20 rounded-full flex items-center justify-center group-hover:bg-white/30 transition-colors",children:(0,t.jsx)("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,className:`jsx-fc10d04d7da7f097 w-4 h-4 group-hover:translate-x-1 transition-transform ${o?"rotate-180 group-hover:-translate-x-1":""}`,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7",className:"jsx-fc10d04d7da7f097"})})})]})})]}),(0,t.jsx)(i.motion.div,{className:`${o?"lg:order-2":"lg:order-1"} space-y-6`,initial:{opacity:0,x:o?50:-50},animate:{opacity:1,x:0},transition:{duration:1,delay:.3},children:x.map((e,a)=>(0,t.jsxs)(i.motion.div,{className:"relative flex items-center gap-5 p-6 group transition-all duration-500",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1*a+.4},children:[(0,t.jsx)("div",{className:`jsx-fc10d04d7da7f097 absolute ${o?"right-0":"left-0"} top-0 bottom-0 w-1 bg-gradient-to-b from-emerald-400/20 via-emerald-400/40 to-blue-500/20 group-hover:from-emerald-400/40 group-hover:via-emerald-400/60 group-hover:to-blue-500/40 transition-all duration-300`}),!o&&(0,t.jsx)("div",{className:"jsx-fc10d04d7da7f097 flex-shrink-0 w-12 h-12 bg-gradient-to-br from-emerald-400 to-blue-500 rounded-xl flex items-center justify-center font-bold text-white text-lg shadow-lg group-hover:scale-110 group-hover:shadow-xl transition-all duration-300",children:m(a+1)}),(0,t.jsx)("div",{className:"jsx-fc10d04d7da7f097 flex-1",children:(0,t.jsx)("p",{className:`jsx-fc10d04d7da7f097 font-medium text-base sm:text-lg leading-relaxed transition-all duration-300 ${c?"text-gray-200":"text-gray-700"} group-hover:bg-gradient-to-r group-hover:from-emerald-400 group-hover:to-blue-500 group-hover:bg-clip-text group-hover:text-transparent`,children:e})}),o&&(0,t.jsx)("div",{className:"jsx-fc10d04d7da7f097 flex-shrink-0 w-12 h-12 bg-gradient-to-br from-emerald-400 to-blue-500 rounded-xl flex items-center justify-center font-bold text-white text-lg shadow-lg group-hover:scale-110 group-hover:shadow-xl transition-all duration-300",children:m(a+1)})]},a))})]})})})]})})})]})}])},302883,e=>{"use strict";var t=e.i(843476),a=e.i(657688),r=e.i(28064),i=e.i(36837);e.s(["default",0,function(){let{t:e,lang:l,isRTL:s}=(0,i.useTranslations)();return(0,t.jsx)("section",{id:"leader-section",className:"py-20",dir:s?"rtl":"ltr",children:(0,t.jsx)("div",{className:"container-custom",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"aspect-[4/5] relative rounded-lg overflow-hidden",children:(0,t.jsx)(a.default,{src:"/images/reza-pahlavi-portrait-full.jpg",alt:"رضا پهلوی",fill:!0,className:"object-cover"})}),(0,t.jsx)("div",{className:`
2                            group
3                            absolute -bottom-6 ${s?"-left-6":"-right-6"}
4
5                            /* Glassmorphism with Blue Tint */
6                            bg-gradient-to-br from-pahlavi-blue-light/20 to-white/10
7                            backdrop-blur-2xl
8
9                            /* Dual Border Effect */
10                            border-2 border-white/25
11                            rounded-2xl
12
13                            /* Premium Shadow Stack */
14                            shadow-[0_8px_32px_0_rgba(31,38,135,0.18),0_2px_8px_0_rgba(0,0,0,0.12)]
15
16                            /* Gradient Border Glow Overlay */
17                            before:absolute before:inset-0
18                            before:rounded-2xl
19                            before:p-[2px]
20                            before:bg-gradient-to-br before:from-white/40 before:via-trans
20parent before:to-white/20
21                            before:opacity-0
22                            before:transition-opacity before:duration-500
23                            before:-z-10
24                            before:blur-sm
25
26                            /* Inner Highlight */
27                            after:absolute after:inset-[1px]
28                            after:rounded-[14px]
29                            after:bg-gradient-to-br after:from-white/10 after:to-transparent
30                            after:pointer-events-none
31                            after:-z-10
32
33                            /* Spacing */
34                            px-6 py-4
35
36                            /* Smooth Interactions */
37                            transition-all duration-500 ease-[cubic-bezier(0.34,1.56,0.64,1)]
38
39                            /* Hover Transformations */
40                            hover:bg-gradient-to-br hover:from-pahlavi-blue-light/30 hover:to-white/15
41                            hover:border-white/40
42                            hover:shadow-[0_12px_48px_0_rgba(31,38,135,0.28),0_4px_12px_0_rgba(0,0,0,0.15)]
43                            hover:scale-[1.03]
44                            hover:-translate-y-1.5
45                            hover:before:opacity-100
46
47                            /* Performance Optimization */
48                            transform-gpu
49                            will-change-transform
50
51                            /* Focus State for Accessibility */
52                            focus-within:ring-2 focus-within:ring-white/50 focus-within:ring-offset-2
53                        `,children:(0,t.jsx)("p",{className:" relative z-10 text-sm font-semibold text-white/90  /* Enhanced Typography */ tracking-wider leading-relaxed uppercase text-center  /* Crisp Text Rendering */ [text-shadow:0_2px_12px_rgba(0,0,0,0.25)] antialiased  /* Smooth Animation */ transition-all duration-300 ease-out  /* Hover Enhancement */ group-hover:text-white group-hover:tracking-widest group-hover:[text-shadow:0_3px_16px_rgba(255,255,255,0.3)] ",children:e("home.leaderSection.subtitle")})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-3xl md:text-4xl font-serif font-bold mb-6",children:e("home.leaderSection.title")}),(0,t.jsx)("p",{className:"text-white/90 text-lg leading-relaxed mb-6",children:e("home.leaderSection.description1")}),(0,t.jsx)("p",{className:"text-white/80 leading-relaxed mb-8",children:e("home.leaderSection.description2")}),(0,t.jsx)("div",{className:"flex flex-wrap gap-4",children:(0,t.jsxs)(r.default,{href:`/${l}/prince-reza-pahlavi`,className:"inline-flex items-center gap-3 px-8 py-4 bg-gradient-to-r from-pahlavi-green to-pahlavi-green-dark hover:from-pahlavi-green-dark hover:to-pahlavi-green text-white font-semibold text-lg rounded-xl transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-1",children:[e("home.leaderSection.learnMore"),(0,t.jsx)("svg",{className:`w-5 h-5 ${!s?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})]})})]})]})})})}])},244811,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(28064),i=e.i(786808);let l={fa:{title:"کمیته عدالت انتقالی ایران",attribution:"شاهزاده رضا پهلوی",description:"به همه‌ کسانی که امروز در صدد همکاری با دستگاه سرکوب رژیم هستند هشدار می‌دهم: پیش از آن‌که دست به اقدامی بزنید که به مردم ایران آسیب جانی، مالی و یا اجتماعی برساند، به آینده‌ خود و خانواده‌تان بیندیشید. به آن روز بیندیشید که ایران آزاد خواهد شد؛ روزی که حقیقت پنهان نخواهد ماند؛ روزی که اسامی آشکار خواهد شد؛ روزی که هیچ متجاوز و جنایتکاری از پاسخ‌گویی در برابر قانون در امان نخواهد ماند.",quoteLines:["حقیقت پنهان نخواهد ماند.","اسامی آشکار خواهد شد.","عدالت اجرا خواهد شد."],cta:"مطالعه‌ی متن کامل",videoAlt:"پیام کمیته عدالت انتقالی"},en:{title:"Transitional Justice Committee of Iran",attribution:"Prince Reza Pahlavi",description:"To all those who today seek to cooperate with the regime’s repression apparatus, I issue this warning: before you take any action that brings physical, financial, or social harm to the people of Iran, think of your own future and the future of your family. Think of the day Iran will be free — the day the truth will not remain hidden; the day the names will be revealed; the day no aggressor or criminal will be safe from accountability before the law.",quoteLines:["The truth will not remain hidden.","The names will be revealed.","Justice will be served."],cta:"Read the full opinion",videoAlt:"Transitional Justice Committee message"}};e.s(["default",0,function({lang:e}){let s="fa"===e,n=l[e],[o,d]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=setInterval(()=>{d(e=>(e+1)%n.quoteLines.length)},3800);return()=>clearInterval(e)},[n.quoteLines.length]),(0,t.jsxs)("section",{className:"py-20 relative overflow-hidden",dir:s?"rtl":"ltr",children:[(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 60% 70% at 50% 50%, rgba(217,158,54,0.10) 0%, transparent 65%)"}}),(0,t.jsx)("div",{className:"container-custom relative",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"[&>section]:!py-0 [&>section>div]:!px-0",children:(0,t.jsx)(i.default,{videoId:"OGs91RT9eFA",customThumbnail:"/videos/OGs91RT9eFA.jpg",playButtonPosition:"bottom-left",playButtonSize:"small",priority:!0})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-3xl md:text-4xl font-serif font-bold mb-6 text-white",children:n.title}),(0,t.jsxs)("blockquote",{className:"relative mb-8 border-s-2 border-amber-400/70 ps-5",children:[(0,t.jsx)("p",{className:"font-serif italic text-white/85 text-base md:text-lg leading-relaxed",children:n.description}),(0,t.jsxs)("footer",{className:`mt-5 flex items-center gap-3 ${s?"justify-end":""}`,children:[(0,t.jsx)("span",{className:"block h-px w-10 bg-gradient-to-r from-amber-400/80 to-transparent"}),(0,t.jsx)("cite",{className:"not-italic text-sm md:text-base font-semibold text-amber-300",children:n.attribution})]})]}),(0,t.jsx)("div",{className:"grid border-s-2 border-amber-400/70 ps-4 mb-8","aria-label":n.quoteLines.join(" • "),style:{gridTemplateAreas:'"stack"',gridTemplateColumns:"1fr",gridTemplateRows:"1fr"},children:n.quoteLines.map((e,a)=>(0,t.jsx)("p",{"aria-hidden":a!==o,className:"text-amber-200 text-base md:text-lg italic leading-relaxed font-light",style:{gridArea:"stack",opacity:+(a===o),transform:a===o?"translateY(0)":"translateY(0.3rem)",transition:"opacity 900ms cubic-bezier(0.4, 0, 0.2, 1), transform 900ms cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:a===o?"auto":"none"},children:e},a))}),(0,t.jsx)("div",{className:"flex flex-wrap gap-4",children:(0,t.jsxs)(r.default,{href:"/transitional-justice",className:"inline-flex items-center gap-3 px-8 py-4 bg-gradient-to-r from-pahlavi-green to-pahlavi-green-dark hover:from-pahlavi-green-dark hover:to-pahlavi-green text-white font-semibold text-lg rounded-xl transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-1",children:[n.cta,(0,t.jsx)("svg",{className:`w-5 h-5 ${!s?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 19l-7-7m0 0l7-7m-7 7h18"})})]})})]})]})})]})}])},258619,e=>{"use strict";
53var t=e.i(843476),a=e.i(271645),r=e.i(28064),i=e.i(657688),l=e.i(36837),s=e.i(98919),n=e.i(871689),o=e.i(972520),d=e.i(270756),c=e.i(958377),m=e.i(878894);let x=["maxresdefault","sddefault","hqdefault","mqdefault"];function h({videoId:e,isRTL:r,customThumbnail:l}){let[s,n]=(0,a.useState)(!1),[o,d]=(0,a.useState)(0),c=(0,a.useCallback)(()=>{if(l)return l;let t=x[o]||"hqdefault";return`https://i.ytimg.com/vi/${e}/${t}.jpg`},[e,o,l]),m=(0,a.useCallback)(()=>{!l&&o<x.length-1&&d(e=>e+1)},[o,l]);return s?(0,t.jsx)("div",{className:"relative w-full aspect-[9/16] max-w-[260px] mx-auto rounded-2xl overflow-hidden shadow-2xl shadow-black/30",children:(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${e}?rel=0&modestbranding=1&autoplay=1&playsinline=1`,title:"Video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",className:"absolute inset-0 w-full h-full",style:{border:0}})}):(0,t.jsxs)("div",{className:"relative w-full max-w-[260px] mx-auto",children:[(0,t.jsx)("div",{className:"absolute -inset-3 rounded-3xl bg-gradient-to-b from-pahlavi-green/20 via-transparent to-pahlavi-blue/20 blur-xl"}),(0,t.jsxs)("button",{onClick:()=>n(!0),className:"relative w-full aspect-[9/16] rounded-2xl overflow-hidden shadow-2xl shadow-black/30 cursor-pointer group focus:outline-none border-2 border-white/10 hover:border-pahlavi-green/50 transition-all duration-500","aria-label":r?"پخش ویدیو":"Play video",children:[(0,t.jsx)(i.default,{src:c(),alt:"Video",fill:!0,className:"object-cover transition-transform duration-700 ease-out group-hover:scale-105",sizes:"260px",onError:m,quality:75},o),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
53parent to-black/20"}),(0,t.jsxs)("div",{className:"absolute bottom-4 right-4",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-full animate-ping bg-pahlavi-green/30",style:{animationDuration:"2s"}}),(0,t.jsx)("div",{className:"absolute -inset-2 rounded-full bg-pahlavi-green/30 blur-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsx)("div",{className:"relative w-12 h-12 rounded-full flex items-center justify-center transition-all duration-300 ease-out group-hover:scale-110 bg-gradient-to-br from-pahlavi-green to-pahlavi-green-dark shadow-lg shadow-pahlavi-green/40",children:(0,t.jsx)("svg",{className:"w-5 h-5 text-white ml-0.5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})})]}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-2xl border-2 border-pahlavi-green/0 group-hover:border-pahlavi-green/30 transition-colors duration-500 pointer-events-none"})]})]})}function u({label:e}){return(0,t.jsx)("span",{className:"inline-flex px-3 py-1.5 bg-white/5 border border-white/10 rounded-full text-sm text-white/70",children:e})}e.s(["default",0,function(){let{t:e,isRTL:i}=(0,l.useTranslations)(),x=i?n.ArrowLeft:o.ArrowRight,[g,p]=(0,a.useState)({x:50,y:50}),b=(0,a.useRef)(null),[f,v]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=setTimeout(()=>v(!0),100);return()=>clearTimeout(e)},[]);let w=i?["اسناد و مدارک","اطلاعات محرمانه","داده‌ها و آمار","آنچه دیده یا شنیده‌اید","فساد مالی و اداری","گزارش راهبردی"]:["Documents & Evidence","Confidential Information","Data & Statistics","What You Saw or Heard","Financial & Administrative Corruption","Strategic Reports"];return(0,t.jsxs)("section",{ref:b,onMouseMove:e=>{if(!b.current)return;let t=b.current.getBoundingClientRect();p({x:(e.clientX-t.left)/t.width*100,y:(e.clientY-t.top)/t.height*100})},className:"relative w-full py-12 md:py-20 overflow-hidden",dir:i?"rtl":"ltr",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-pahlavi-blue via-pahlavi-blue-dark to-pahlavi-blue"}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23009E4F' stroke-width='0.5'/%3E%3Cpath d='M30 10L50 30L30 50L10 30Z' fill='none' stroke='%23009E4F' stroke-width='0.5'/%3E%3C/svg%3E\")",backgroundSize:"60px 60px"}}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-20 transition-opacity duration-700 pointer-events-none",style:{background:`radial-gradient(ellipse 600px 400px at ${g.x}% ${g.y}%, rgba(0, 158, 79, 0.25), transparent 70%)`}}),(0,t.jsx)("div",{className:"absolute top-0 left-0 w-32 h-32",children:(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-pahlavi-green/15 via-transparent to-transparent animate-pulse",style:{animationDuration:"3s"}})}),(0,t.jsx)("div",{className:"absolute bottom-0 right-0 w-32 h-32",children:(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-tl from-pahlavi-green/15 via-transparent to-transparent animate-pulse",style:{animationDuration:"3.5s"}})}),(0,t.jsxs)("div",{className:"relative z-10 container mx-auto max-w-6xl px-4",children:[(0,t.jsxs)("div",{className:`flex items-center justify-center mb-8 transition-all duration-1000 ${f?"opacity-100 translate-y-0":"opacity-0 -translate-y-4"}`,children:[(0,t.jsx)("div",{className:"h-[1px] flex-1 max-w-24 bg-gradient-to-r from-transparent via-pahlavi-green/50 to-pahlavi-green"}),(0,t.jsxs)("div",{className:"mx-4 flex items-center gap-2",children:[(0,t.jsx)(c.Flame,{className:"w-4 h-4 text-pahlavi-green animate-pulse",style:{animationDuration:"2s"}}),(0,t.jsx)(s.Shield,{className:"w-5 h-5 text-pahlavi-green"}),(0,t.jsx)(c.Flame,{className:"w-4 h-4 text-pahlavi-green animate-pulse",style:{animationDuration:"2.5s"}})]}),(0,t.jsx)("div",{className:"h-[1px] flex-1 max-w-24 bg-gradient-to-l from-transparent via-pahlavi-green/50 to-pahlavi-green"})]}
53),(0,t.jsxs)("div",{className:`grid lg:grid-cols-5 gap-8 lg:gap-12 items-center transition-all duration-1000 delay-200 ${f?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[(0,t.jsxs)("div",{className:`lg:col-span-3 ${i?"lg:order-2":"lg:order-1"}`,children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-pahlavi-green/10 border border-pahlavi-green/30 rounded-full mb-6",children:[(0,t.jsx)(d.Lock,{className:"w-4 h-4 text-pahlavi-green"}),(0,t.jsx)("span",{className:"text-pahlavi-green text-sm font-medium",children:e("patrioticReports.badge")||"محرمانه و امن"})]}),(0,t.jsx)("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-4 leading-tight",children:e("patrioticReports.hero.title")||"گزارش میهن‌پرستانه"}),(0,t.jsx)("p",{className:"text-lg md:text-xl text-white/70 mb-6 leading-relaxed",children:e("patrioticReports.hero.subtitle")||"هر گزارش، هر سند، هر اطلاعات می‌تواند تغییری بزرگ ایجاد کند"}),(0,t.jsx)("div",{className:"relative mb-8 p-4 bg-gradient-to-r from-amber-500/10 to-red-500/10 border border-amber-500/30 rounded-xl",children:(0,t.jsxs)("div",{className:`flex gap-3 ${i?"flex-row-reverse":""}`,children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 flex items-center justify-center bg-amber-500/20 rounded-lg",children:(0,t.jsx)(m.AlertTriangle,{className:"w-5 h-5 text-amber-400"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:`text-amber-200 font-bold text-base mb-1 ${i?"text-right":"text-left"}`,children:i?"نام قاتلان و جنایتکاران را ثبت کنید!":"Document the names of killers and abusers!"}),(0,t.jsx)("p",{className:`text-white/60 text-sm ${i?"text-right":"text-left"}`,children:i?"آن‌ها که این دریای خون را در ایران به راه انداختند، بهای سنگینی خواهند پرداخت.":"Those who made this sea of blood in Iran will pay a heavy price."})]})]})}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2 mb-8",children:w.map((e,a)=>(0,t.jsx)(u,{label:e},a))}),(0,t.jsxs)(r.default,{href:`/${i?"fa":"en"}/patriotic-reports`,className:"group inline-flex items-center gap-3 px-6 py-3 bg-gradient-to-r from-pahlavi-green to-pahlavi-green-dark hover:from-pahlavi-green-light hover:to-pahlavi-green rounded-xl transition-all duration-300 shadow-lg shadow-pahlavi-green/30 hover:shadow-pahlavi-green/50",children:[(0,t.jsx)(s.Shield,{className:"w-5 h-5 text-white"}),(0,t.jsx)("span",{className:"text-white font-bold",children:e("patrioticReports.hero.cta")||"ارسال گزارش محرمانه"}),(0,t.jsx)(x,{className:"w-5 h-5 text-white group-hover:translate-x-1 rtl:group-hover:-translate-x-1 transition-transform duration-300"})]})]}),(0,t.jsx)("div",{className:`lg:col-span-2 ${i?"lg:order-1":"lg:order-2"}`,children:(0,t.jsx)(h,{videoId:"b6JG1XrYmXo",isRTL:i,customThumbnail:"/images/patriotic-report-cover.jpg"})})]}),(0,t.jsxs)("div",{className:`flex items-center justify-center mt-10 transition-all duration-1000 delay-500 ${f?"opacity-100 translate-y-0":"opacity-0 translate-y-4"}`,children:[(0,t.jsx)("div",{className:"h-[1px] flex-1 max-w-32 bg-gradient-to-r from-transparent to-white/20"}),(0,t.jsx)("div",{className:"mx-4 w-2 h-2 rotate-45 bg-pahlavi-green/60"}),(0,t.jsx)("div",{className:"h-[1px] flex-1 max-w-32 bg-gradient-to-l from-transparent to-white/20"})]})]})]})}])},455089,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(36837),i=e.i(28064),l=e.i(657688),s=e.i(846932),n=e.i(387652),o=e.i(972520),d=e.i(871689),c=e.i(323123),c=c,m=e.i(248256),x=e.i(931091),h=e.i(761911),u=e.i(431343),g=e.i(283086),p=e.i(57353),p=p,b=e.i(463059),f=e.i(278716),v=e.i(178583),w=e.i(387951),j=e.i(194983);e.s(["default",0,function({activities:e=[]}){let{t:y,lang:N,isRTL:k}=(0,r.useTranslations)(),T=(0,a.useRef)(null),$=(0,n.useInView)(T,{once:!0,margin:"-100px"}),[E,I]=(0,a.useState)(null),[C,L]=(0,a.useState)(new Date),A=e.map(e=>({...e,title:e.title[N]||e.title.en,date:e.date[N]||e.date.en,shortDescription:e.shortDe
53scription[N]||e.shortDescription.en})),S=A[0],F=A.slice(1,3),R=A.slice(3,9);(0,a.useEffect)(()=>{let e=setInterval(()=>L(new Date),6e4);return()=>clearInterval(e)},[]);let M={chart:c.default,users:h.Users,globe:m.Globe,megaphone:x.Megaphone,mic:w.Mic,video:f.Video,file:v.FileText,message:j.MessageCircle},z=e=>e.videoId||"video"===e.contentType,_={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15,delayChildren:.1}}},P={hidden:{y:30,opacity:0},visible:{y:0,opacity:1,transition:{type:"spring",damping:20,stiffness:100}}};return(0,t.jsxs)("section",{ref:T,className:"relative py-16 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 ",children:(0,t.jsxs)("div",{className:"absolute inset-0",children:[(0,t.jsx)("div",{className:"absolute top-0 left-0 w-96 h-96 bg-pahlavi-green/5 rounded-full blur-3xl animate-pulse"}),(0,t.jsx)("div",{className:"absolute bottom-0 right-0 w-96 h-96 bg-pahlavi-blue/5 rounded-full blur-3xl animate-pulse delay-1000"})]})}),(0,t.jsxs)("div",{className:"container mx-auto px-4 relative z-10",children:[(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:-20},animate:$?{opacity:1,y:0}:{},transition:{duration:.6},className:"text-center mb-16",children:(0,t.jsx)("h2",{className:"text-5xl md:text-6xl font-serif font-bold mb-6 text-white",children:k?"تازه‌ترین‌های کارزار 'ایران را پس می‌گیریم'":'Latest updates from the "Rise Iran!" campaign'})}),(0,t.jsxs)(s.motion.div,{variants:_,initial:"hidden",animate:$?"visible":"hidden",className:"grid lg:grid-cols-12 gap-6 mb-12",children:[S&&(0,t.jsx)(s.motion.article,{variants:P,className:"lg:col-span-7 group relative",onMouseEnter:()=>I("featured"),onMouseLeave:()=>I(null),children:(0,t.jsx)(i.default,{href:`/${N}/rise-iran-campaign-latest/${S.id}/${S.slug}`,children:(0,t.jsxs)("div",{className:"relative h-[500px] rounded-2xl overflow-hidden bg-gradient-to-br from-gray-900 to-gray-800 shadow-2xl",children:[S.image&&(0,t.jsx)(l.default,{src:S.image,alt:S.title,fill:!0,className:"object-cover opacity-60 group-hover:scale-105 transition-transform duration-700"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/50 to-transparent"}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-8",children:[1===S.priority&&(0,t.jsxs)(s.motion.div,{animate:{opacity:[1,.6,1]},transition:{duration:2,repeat:1/0},className:"inline-flex items-center gap-2 px-3 py-1 bg-red-600/90 backdrop-blur-sm text-white text-xs font-bold rounded-full mb-4",children:[(0,t.jsx)(p.default,{className:"w-3 h-3"}),(0,t.jsx)("span",{children:k?"تازه":"NEW"})]}),(0,t.jsx)("h3",{className:"text-3xl md:text-4xl font-bold text-white mb-6 leading-tight line-clamp-4",children:S.title}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("div",{className:"flex items-center gap-4 text-gray-300 text-sm"}),(0,t.jsx)(s.motion.div,{whileHover:{x:k?-5:5},className:"text-white",children:(0,t.jsx)(b.ChevronRight,{className:"w-6 h-6"})})]})]})]})})}),(0,t.jsx)("div",{className:"lg:col-span-5 grid grid-rows-2 gap-6",children:F.slice(0,2).map((e,a)=>{let r=M[e.icon]||m.Globe,n=!!e.image;return(0,t.jsx)(s.motion.article,{variants:P,className:"group relative",onMouseEnter:()=>I(e.id),onMouseLeave:()=>I(null),children:(0,t.jsx)(i.default,{href:`/${N}/rise-iran-campaign-latest/${e.id}/${e.slug}`,children:(0,t.jsx)("div",{className:"relative h-[240px] rounded-xl overflow-hidden shadow-lg hover:shadow-2xl transition-all duration-300",children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{src:e.image,alt:e.title,fill:!0,className:"object-cover object-[center_20%] group-hover:scale-105 transition-transform duration-700"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/60 to-black/20"}),(0,t.jsxs)("div",{className:"absolute inset-0 p-6 flex flex-col justify-between",children:[(0,t.jsx)("div",{className:"flex justify-end",children:z(e)&&(0,t.jsx)("div",{className:"w-10 h-10 bg-white/20 backdrop-blur-md rounded-full flex items-center justify-center",children:(0,t.jsx)(u.Play,{className:"w-5 h-5 text-white ml-0.5"})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-white mb-2 line-clamp-2 drop-shadow-[0_2px_4px_rgba(0,0,0,0.9)]",children:e.title}),(0,t.jsx)("p",{className:"text-gray-200 text-sm mb-3 line-clamp-2 drop-shadow-[0_1px_2px_rgba(0,0,0,0.8)]",children:e.shortDe
53scription}),(0,t.jsx)("div",{className:"flex items-center justify-between",children:(0,t.jsxs)(s.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:+(E===e.id),x:E===e.id?0:-10},className:"flex items-center gap-1 text-white",children:[(0,t.jsx)("span",{className:"text-sm font-medium drop-shadow-[0_1px_2px_rgba(0,0,0,0.8)]",children:k?"بیشتر":"Read"}),(0,t.jsx)(b.ChevronRight,{className:"w-4 h-4"})]})})]})]})]}):(0,t.jsxs)("div",{className:"h-full bg-white/90 dark:bg-gray-800/90 backdrop-blur-xl p-6 border border-gray-200/50 dark:border-gray-700/50",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-white/50 to-transparent dark:from-gray-800/50 rounded-xl pointer-events-none"}),(0,t.jsxs)("div",{className:"relative h-full flex flex-col",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[(0,t.jsx)("div",{className:`w-12 h-12 ${e.color||"bg-gradient-to-br from-pahlavi-green to-pahlavi-blue"} rounded-xl flex items-center justify-center shadow-lg`,children:(0,t.jsx)(r,{className:"w-6 h-6 text-white"})}),z(e)&&(0,t.jsx)(f.Video,{className:"w-5 h-5 text-pahlavi-green"})]}),(0,t.jsx)("h3",{className:"text-xl font-bold text-gray-900 dark:text-white mb-3 line-clamp-2 group-hover:text-pahlavi-green transition-colors",children:e.title}),(0,t.jsx)("p",{className:"text-gray-600 dark:text-gray-300 text-sm mb-4 line-clamp-2 flex-grow",children:e.shortDescription}),(0,t.jsx)("div",{className:"flex items-center justify-between mt-auto",children:(0,t.jsxs)(s.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:+(E===e.id),x:E===e.id?0:-10},className:"flex items-center gap-1 text-pahlavi-green",children:[(0,t.jsx)("span",{className:"text-sm font-medium",children:k?"بیشتر":"Read"}),(0,t.jsx)(b.ChevronRight,{className:"w-4 h-4"})]})})]})]})})})},e.id)})})]}),R.length>0&&(0,t.jsx)(s.motion.div,{variants:_,initial:"hidden",animate:$?"visible":"hidden",className:"grid md:grid-cols-3 gap-6 mb-12",children:R.map((e,a)=>{let r=M[e.icon]||m.Globe,n=!!e.image;return(0,t.jsx)(s.motion.article,{variants:P,className:"group relative",onMouseEnter:()=>I(e.id),onMouseLeave:()=>I(null),children:(0,t.jsx)(i.default,{href:`/${N}/rise-iran-campaign-latest/${e.id}/${e.slug}`,children:(0,t.jsx)("div",{className:"relative h-[300px] rounded-xl overflow-hidden shadow-lg hover:shadow-2xl transition-all duration-300",children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{src:e.image,alt:e.title,fill:!0,className:"object-cover object-[center_20%] group-hover:scale-105 transition-transform duration-700"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black via-black/60 to-black/20"}),(0,t.jsxs)("div",{className:"absolute inset-0 p-6 flex flex-col justify-between",children:[(0,t.jsx)("div",{className:"flex justify-end",children:z(e)&&(0,t.jsx)("div",{className:"w-10 h-10 bg-white/20 backdrop-blur-md rounded-full flex items-center justify-center",children:(0,t.jsx)(u.Play,{className:"w-5 h-5 text-white ml-0.5"})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-xl font-bold text-white mb-2 line-clamp-2 drop-shadow-[0_2px_4px_rgba(0,0,0,0.9)]",children:e.title}),(0,t.jsx)("p",{className:"text-gray-200 text-sm mb-3 line-clamp-2 drop-shadow-[0_1px_2px_rgba(0,0,0,0.8)]",children:e.shortDescription}),(0,t.jsx)("div",{className:"flex items-center justify-between",children:(0,t.jsxs)(s.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:+(E===e.id),x:E===e.id?0:-10},className:"flex items-center gap-1 text-white",children:[(0,t.jsx)("span",{className:"text-sm font-medium drop-shadow-[0_1px_2px_rgba(0,0,0,0.8)]",children:k?"بیشتر":"Read"}),(0,t.jsx)(b.ChevronRight,{className:"w-4 h-4"})]})})]})]})]}):(0,t.jsxs)("div",{className:"h-full bg-white/90 dark:bg-gray-800/90 backdrop-blur-xl p-6 border border-gray-200/50 dark:border-gray-700/50",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-white/50 to-transparent dark:from-gray-800/50 rounded-xl pointer-events-none"}),(0,t.jsxs)("div",{className:"relative h-full flex flex-col",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between mb-4",children:[(0,t.jsx)("div",{className:`w-12 h-12 ${e.color||"bg-gradient-to-br from-pahlavi-green to-pahlavi-blue"} rounded-xl flex items-center justify-center shadow-lg`,children:(0,t.jsx)(r,{className:"w-6 h-6 text-white"})}),z(e)&&(0,t.jsx)(f.Video,{className:"w-5 h-5 text-pahlavi-green"})]}),(0,t.jsx)("h3",{className:"text-xl font-bold text-gray-900 dark:text-white mb-3 line-clamp-2 group-hover:text-pahlavi-green transition-colors",children:e.title}),(0,t.jsx)("p",{className:"text-gray-600 dark:text-gray-300 text-sm mb-4 line-clamp-2 flex-grow",children:e.shortDe
53scription}),(0,t.jsx)("div",{className:"flex items-center justify-between mt-auto",children:(0,t.jsxs)(s.motion.div,{initial:{opacity:0,x:-10},animate:{opacity:+(E===e.id),x:E===e.id?0:-10},className:"flex items-center gap-1 text-pahlavi-green",children:[(0,t.jsx)("span",{className:"text-sm font-medium",children:k?"بیشتر":"Read"}),(0,t.jsx)(b.ChevronRight,{className:"w-4 h-4"})]})})]})]})})})},e.id)})}),(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:20},animate:$?{opacity:1,y:0}:{},transition:{delay:.5},className:"text-center",children:(0,t.jsx)(i.default,{href:`/${N}/rise-iran-campaign-latest`,children:(0,t.jsxs)(s.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"group relative inline-flex items-center gap-3 px-8 py-4 bg-gradient-to-r from-pahlavi-green to-pahlavi-green-dark text-white rounded-full font-bold overflow-hidden shadow-xl",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-pahlavi-green-dark to-pahlavi-green translate-x-full group-hover:translate-x-0 transition-transform duration-500"}),(0,t.jsxs)("span",{className:"relative flex items-center gap-3",children:[(0,t.jsx)(g.Sparkles,{className:"w-5 h-5"}),(0,t.jsx)("span",{children:k?"مشاهده همه رویدادها":"Explore All Activities"}),k?(0,t.jsx)(d.ArrowLeft,{className:"w-5 h-5"}):(0,t.jsx)(o.ArrowRight,{className:"w-5 h-5"})]})]})})})]})]})}],455089)},134177,e=>{"use strict";var t=e.i(843476),a=e.i(846932);e.s(["default",0,function({variant:e="default",className:r=""}){let i={default:(0,t.jsx)("div",{className:`relative h-24 ${r}`,children:(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-px h-full bg-gradient-to-b from-transparent via-gray-300 dark:via-gray-600 to-transparent"})})}),wave:(0,t.jsx)("div",{className:`relative h-16 overflow-hidden ${r}`,children:(0,t.jsx)("svg",{className:"absolute bottom-0 w-full h-full",preserveAspectRatio:"none",viewBox:"0 0 1440 100",children:(0,t.jsx)("path",{fill:"currentColor",className:"text-gray-100 dark:text-gray-800",d:"M0,50 C360,100 1080,0 1440,50 L1440,100 L0,100 Z"})})}),dots:(0,t.jsx)("div",{className:`relative h-16 ${r}`,children:(0,t.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center gap-2",children:[(0,t.jsx)(a.motion.div,{className:"w-1.5 h-1.5 rounded-full bg-pahlavi-green/40",animate:{opacity:[.3,1,.3]},transition:{duration:2,repeat:1/0}}),(0,t.jsx)(a.motion.div,{className:"w-1.5 h-1.5 rounded-full bg-pahlavi-blue/40",animate:{opacity:[.3,1,.3]},transition:{duration:2,delay:.5,repeat:1/0}}),(0,t.jsx)(a.motion.div,{className:"w-1.5 h-1.5 rounded-full bg-pahlavi-green/40",animate:{opacity:[.3,1,.3]},transition:{duration:2,delay:1,repeat:1/0}})]})}),gradient:(0,t.jsx)("div",{className:`relative h-2 ${r}`,children:(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-pahlavi-green/20 to-transparent"})})};return i[e]||i.default}])},231304,e=>{"use strict";var t=e.i(843476),a=e.i(437902),r=e.i(271645),i=e.i(28064),l=e.i(98919),s=e.i(958377),n=e.i(972520),o=e.i(871689),d=e.i(84181),d=d;e.s(["default",0,function({lang:e="fa",isRTL:c=!0,showCTA:m=!1,className:x=""}){let[h,u]=(0,r.useState)(!1),[g,p]=(0,r.useState)({x:0,y:0}),b=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=setTimeout(()=>u(!0),100);return()=>clearTimeout(e)},[]);let f={fa:{title:"گارد جاویدان ایران",subtitle:"ساخت گروه‌های کوچک، برای خیزش بزرگ ملی",ctaText:"راهنمای آغاز"},en:{title:"Immortal Guard of Iran",subtitle:"Building small groups for the great national uprising",ctaText:"A Guide to Beginning"}},v=f[e]||f.en,w=c?o.ArrowLeft:n.ArrowRight;return(0,t.jsxs)("section",{ref:b,onMouseMove:e=>{if(!b.current)return;let t=b.current.getBoundingClientRect();p({x:(e.clientX-t.left)/t.width*100,y:(e.clientY-t.top)/t.height*100})},dir:c?"rtl":"ltr",className:`jsx-e942c96852257ec9 gardeh-javidan-hero relative overflow-hidden py-8 md:py-12 ${x}`,children:[(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute inset-0 bg-gradient-to-b from-pahlavi-blue via-pahlavi-blue-dark to-pahlavi-blue"}),(0,t.jsx)("div",{style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg width='60' height='60' viewB
53ox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23009E4F' stroke-width='0.5'/%3E%3Cpath d='M30 10L50 30L30 50L10 30Z' fill='none' stroke='%23009E4F' stroke-width='0.5'/%3E%3Cpath d='M30 20L40 30L30 40L20 30Z' fill='none' stroke='%23009E4F' stroke-width='0.5'/%3E%3C/svg%3E\")",backgroundSize:"60px 60px"},className:"jsx-e942c96852257ec9 absolute inset-0 opacity-[0.04]"}),(0,t.jsx)("div",{style:{background:`radial-gradient(ellipse 500px 300px at ${g.x}% ${g.y}%, rgba(0, 158, 79, 0.2), transparent 70%)`},className:"jsx-e942c96852257ec9 absolute inset-0 opacity-15 transition-opacity duration-700 pointer-events-none"}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute top-0 left-0 w-20 h-20 md:w-28 md:h-28",children:(0,t.jsx)("div",{style:{animationDuration:"3s"},className:"jsx-e942c96852257ec9 absolute inset-0 bg-gradient-to-br from-pahlavi-green/10 via-transparent to-transparent animate-pulse"})}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute top-0 right-0 w-20 h-20 md:w-28 md:h-28",children:(0,t.jsx)("div",{style:{animationDuration:"3.5s"},className:"jsx-e942c96852257ec9 absolute inset-0 bg-gradient-to-bl from-pahlavi-green/10 via-trans
53parent to-transparent animate-pulse"})}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 relative container mx-auto max-w-6xl px-4",children:(0,t.jsxs)("div",{className:`jsx-e942c96852257ec9 relative transition-all duration-1000 ease-out ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-12"}`,children:[(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 flex items-center justify-center mb-4 md:mb-6",children:[(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 h-[1px] flex-1 max-w-20 bg-gradient-to-r from-transparent via-pahlavi-green/50 to-pahlavi-green"}),(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 mx-3 flex items-center gap-1.5",children:[(0,t.jsx)(s.Flame,{className:"w-3 h-3 text-pahlavi-green animate-pulse",style:{animationDuration:"2s"}}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 w-1.5 h-1.5 rotate-45 bg-pahlavi-green/80"}),(0,t.jsx)(s.Flame,{className:"w-3 h-3 text-pahlavi-green animate-pulse",style:{animationDuration:"2.5s"}})]}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 h-[1px] flex-1 max-w-20 bg-gradient-to-l from-transparent via-pahlavi-green/50 to-pahlavi-green"})]}),(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 relative group",children:[(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute -inset-[1px] bg-gradient-to-r from-pahlavi-green/40 via-pahlavi-green/20 to-pahlavi-green/40 rounded-2xl blur-sm opacity-60 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 relative backdrop-blur-xl bg-pahlavi-blue-dark/60 rounded-2xl border border-pahlavi-green/20 overflow-hidden",children:[(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute top-0 left-0 right-0 h-[1px] bg-gradient-to-r from-transparent via-pahlavi-green to-transparent opacity-50"}),(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 px-4 py-6 md:px-10 md:py-8",children:[(0,t.jsx)("div",{className:`jsx-e942c96852257ec9 flex justify-center mb-4 transition-all duration-1000 delay-200 ${h?"opacity-100 scale-100":"opacity-0 scale-75"}`,children:(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 relative",children:[(0,t.jsx)("div",{style:{animationDuration:"4s"},className:"jsx-e942c96852257ec9 absolute inset-0 -m-4 rounded-full bg-pahlavi-green/10 blur-xl animate-pulse"}),(0,t.jsx)("div",{style:{animationDuration:"3s"},className:"jsx-e942c96852257ec9 absolute inset-0 -m-2 rounded-full bg-pahlavi-green/20 blur-lg animate-pulse"}),(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 relative w-12 h-12 md:w-14 md:h-14 flex items-center justify-center",children:[(0,t.jsx)("div",{style:{animationDuration:"20s"},className:"jsx-e942c96852257ec9 absolute inset-0 rounded-full border border-pahlavi-green/30 animate-spin"}),(0,t.jsx)("div",{style:{animationDuration:"15s",animationDirection:"reverse"},className:"jsx-e942c96852257ec9 absolute inset-1 rounded-full border border-pahlavi-green/20 animate-spin"}),(0,t.jsx)(l.Shield,{className:"w-6 h-6 md:w-7 md:h-7 text-pahlavi-green drop-shadow-[0_0_10px_rgba(0,158,79,0.5)]",strokeWidth:1.5})]})]})}),(0,t.jsx)("h1",{className:`jsx-e942c96852257ec9 text-center mb-3 transition-all duration-1000 delay-400 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:(0,t.jsx)("span",{style:{background:"linear-gradient(135deg, #00C261 0%, #009E4F 50%, #007A3D 100%)",backgroundSize:"200% 200%",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",animation:"shimmer 8s ease-in-out infinite",textShadow:"0 0 60px rgba(0, 158, 79, 0.3)"},className:"jsx-e942c96852257ec9 block text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-black tracking-tight leading-tight",children:v.title})}),(0,t.jsxs)("div",{className:`jsx-e942c96852257ec9 flex flex-col items-center gap-2 mb-5 transition-all duration-1000 delay-500 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 flex items-center gap-2",children:[(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 h-[1px] w-10 md:w-16 bg-gradient-to-r from-transparent to-pahlavi-green/50"}),(0,t.jsx)(d.default,{className:"w-3.5 h-3.5 text-pahlavi-green/70 rotate-45"}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 h-[1px] w-10 md:w-16 bg-gradient-to-l from-transparent to-pahlavi-green/50"})]}),(0,t.jsx)("p",{className:"jsx-e942c96852257ec9 text-sm sm:text-base md:text-lg lg:text-xl font-medium text-white/80 text-center max-w-xl leading-relaxed",children:v.subt
53itle})]}),m&&(0,t.jsx)("div",{className:`jsx-e942c96852257ec9 flex justify-center transition-all duration-1000 delay-600 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:(0,t.jsxs)(i.default,{href:`/${e}/immortal-guard-of-iran`,className:"group relative inline-flex items-center gap-2 px-5 py-2.5 md:px-6 md:py-3 overflow-hidden rounded-lg font-bold text-sm md:text-base transition-all duration-300 transform hover:scale-105",children:[(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute inset-0 bg-gradient-to-r from-pahlavi-green via-pahlavi-green-light to-pahlavi-green opacity-90"}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute inset-0 bg-gradient-to-r from-pahlavi-green-light via-pahlavi-green to-pahlavi-green-light opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute inset-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute inset-0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-700 bg-gradient-to-r from-transparent via-white/30 to-transparent skew-x-12"})}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute -inset-[1px] bg-gradient-to-r from-pahlavi-green-light via-white/30 to-pahlavi-green-light rounded-lg opacity-0 group-hover:opacity-50 blur-sm transition-opacity duration-300"}),(0,t.jsxs)("span",{className:"jsx-e942c96852257ec9 relative flex items-center gap-2 text-white font-bold",children:[(0,t.jsx)(l.Shield,{className:"w-4 h-4"}),(0,t.jsx)("span",{className:"jsx-e942c96852257ec9",children:v.ctaText}),(0,t.jsx)(w,{className:"jsx-e942c96852257ec9 w-4 h-4 group-hover:translate-x-1 rtl:group-hover:-translate-x-1 transition-transform duration-300"})]})]})})]}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute bottom-0 left-0 right-0 h-[1px] bg-gradient-to-r from-transparent via-pahlavi-green/40 to-transparent"})]})]}),(0,t.jsxs)("div",{className:"jsx-e942c96852257ec9 flex items-center justify-center mt-4 md:mt-6",children:[(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 h-[1px] flex-1 max-w-16 bg-gradient-to-r from-transparent via-pahlavi-green/30 to-pahlavi-green/50"}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 mx-2 w-1 h-1 rotate-45 bg-pahlavi-green/60"}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 mx-0.5 w-0.5 h-0.5 rotate-45 bg-pahlavi-green/40"}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 mx-2 w-1 h-1 rotate-45 bg-pahlavi-green/60"}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 h-[1px] flex-1 max-w-16 bg-gradient-to-l from-transparent via-pahlavi-green/30 to-pahlavi-green/50"})]})]})}),(0,t.jsx)("div",{className:"jsx-e942c96852257ec9 absolute inset-0 pointer-events-none overflow-hidden",children:[...Array(8)].map((e,a)=>(0,t.jsx)("div",{style:{left:`${10+10*a}%`,top:`${20+a%3*25}%`,animation:`float ${4+a%3}s ease-in-out infinite`,animationDelay:`${.3*a}s`},className:"jsx-e942c96852257ec9 absolute w-1 h-1 rounded-full bg-pahlavi-green/30"},a))}),(0,t.jsx)(a.default,{id:"e942c96852257ec9",children:"@keyframes shimmer{0%,to{background-position:0%}50%{background-position:100%}}@keyframes float{0%,to{opacity:.3;transform:translateY(0)translate(0)}50%{opacity:.6;transform:translateY(-12px)translate(6px)}}"})]})}],231304)},471518,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(657688),i=e.i(28064);let l=["maxresdefault","sddefault","hqdefault","mqdefault"];e.s(["default",0,function({hero:e,lang:s,isRTL:n}){let[o,d]=(0,a.useState)(!1),[c,m]=(0,a.useState)(0),[x,h]=(0,a.useState)(!1),u="fa"===s?e.titleFA:e.titleEN,g="fa"===s?e.subtitleFA:e.subtitleEN,p="fa"===s?e.ctaTextFA:e.ctaTextEN;if(!e.videoId)return console.warn("[VideoHero] No video ID provided"),null;let b=(0,a.useCallback)(()=>{let t=l[c]||"hqdefault";return`https://i.ytimg.com/vi/${e.videoId}/${t}.jpg`},[e.videoId,c]),f=(0,a.useCallback)(()=>{c<l.length-1&&m(e=>e+1)},[c]);return(0,t.jsxs)("div",{className:`relative w-full overflow-hidden ${e.rounded} my-8`,children:[(0,t.jsxs)("div",{className:"relative w-full group/container",children:[(0,t.jsx)("div",{className:`absolute -inset-1 bg-gradient-to-r from-red-600/20 via-orange-500/20 to-red-600/20 rounded-2xl blur-xl transition-opacity duration-700 ${x?"opacity-100":"opacity-0"}`}),(0,t.jsxs)("div",{className:"relative aspect-video w-full bg-black overflow-hidden rounded-xl sm:rounded-2xl shadow-2xl shadow-black/50",onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:[o?(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${e.videoId}?autoplay=1&rel=0&modestbranding=1&playsinline=1`,className:"absolute inset-0 w-full h-full",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
53 web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:u||"Homepage Hero Video",style:{border:0}}):(0,t.jsxs)("button",{onClick:()=>{d(!0)},className:"absolute inset-0 w-full h-full cursor-pointer group focus:outline-none focus-visible:ring-2 focus-visible:ring-white/50 focus-visible:ring-offset-2 focus-visible:ring-offset-black","aria-label":`Play video${u?`: ${u}`:""}`,children:[(0,t.jsx)(r.default,{src:b(),alt:u||"Video thumbnail",fill:!0,className:"object-cover transition-transform duration-700 ease-out group-hover:scale-105",priority:!0,sizes:"100vw",onError:f,quality:90},c),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(0,0,0,0.3)_70%,rgba(0,0,0,0.7)_100%)]"}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-black/80 via-black/40 to-transparent"}),(0,t.jsx)("div",{className:"absolute inset-x-0 top-0 h-24 bg-gradient-to-b from-black/30 to-transparent"}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-[0.03] mix-blend-overlay pointer-events-none",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E\")"}}),(0,t.jsx)("div",{className:"absolute top-4 left-4 w-8 h-8 sm:w-12 sm:h-12 border-l-2 border-t-2 border-white/20 rounded-tl-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsx)("div",{className:"absolute top-4 right-4 w-8 h-8 sm:w-12 sm:h-12 border-r-2 border-t-2 border-white/20 rounded-tr-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsx)("div",{className:"absolute bottom-4 left-4 w-8 h-8 sm:w-12 sm:h-12 border-l-2 border-b-2 border-white/20 rounded-bl-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500 delay-75"}),(0,t.jsxs)("div",{className:"absolute bottom-4 right-4 sm:bottom-6 sm:right-6 md:bottom-8 md:right-8",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-full animate-ping bg-red-500/30 group-hover:bg-red-400/40",style:{animationDuration:"2s"}}),(0,t.jsx)("div",{className:"absolute -inset-2 rounded-full bg-gradient-to-r from-red-500/40 to-orange-500/40 blur-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsxs)("div",{className:"relative w-14 h-14 sm:w-16 sm:h-16 md:w-18 md:h-18 lg:w-20 lg:h-20 rounded-full flex items-center justify-center transition-all duration-300 ease-out group-hover:scale-110 group-hover:-translate-x-1 group-hover:-translate-y-1",style:{background:"linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(185, 28, 28, 0.95) 100%)",boxShadow:"0 8px 32px rgba(220, 38, 38, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2)"},children:[(0,t.jsx)("div",{className:"absolute inset-[2px] rounded-full bg-gradient-to-b from-white/20 to-transparent opacity-60"}),(0,t.jsx)("svg",{className:"relative w-6 h-6 sm:w-7 sm:h-7 md:w-8 md:h-8 lg:w-9 lg:h-9 text-white ml-1 drop-shadow-lg",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})]})]}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-xl sm:rounded-2xl border border-white/0 group-hover:border-white/10 transition-colors duration-500 pointer-events-none"})]}),(0,t.jsx)("div",{className:"absolute -bottom-px inset-x-0 h-px bg-gradient-to-r from-transparent via-white/20 to-transparent"})]})]}),(u||g||p)&&(0,t.jsx)("div",{className:"bg-gradient-to-b from-mainBlue-dark to-mainBlue p-6 md:p-8",children:(0,t.jsxs)("div",{className:"max-w-4xl mx-auto",children:[u&&(0,t.jsx)("h2",{className:"text-2xl md:text-4xl font-bold text-white mb-3",dir:n?"rtl":"ltr",children:u}),g&&(0,t.jsx)("p",{className:"text-base md:text-lg text-white/90 mb-4",dir:n?"rtl":"ltr",children:g}),p&&e.ctaLink&&(0,t.jsx)(i.default,{href:e.ctaLink,target:e.ctaNewTab?"_blank":void 0,rel:e.ctaNewTab?"noopener noreferrer":void 0,className:"inline-block px-6 py-3 bg-white text-mainBlue font-semibold rounded-lg hover:bg-gray-100 transition-colors",dir:n?"rtl":"ltr",children:p})]})})]})}])},833413,e=>{"use strict";
53var t=e.i(843476),a=e.i(271645),r=e.i(28064),i=e.i(657688),l=e.i(846932),s=e.i(88653),n=e.i(78571),o=e.i(36837),d=e.i(778917),c=e.i(373375),m=e.i(463059),x=e.i(503116),h=e.i(952571),u=e.i(269638),g=e.i(878894),p=e.i(958377),b=e.i(972520),f=e.i(871689),v=e.i(440160),w=e.i(431343),j=e.i(790597),y=e.i(870273),N=e.i(39312),k=e.i(514764),T=e.i(263488),$=e.i(343432),E=e.i(346897),I=e.i(87316),C=e.i(761911),L=e.i(98919),A=e.i(248256),S=e.i(178583),F=e.i(194983);let R=e=>{let t=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];return String(e).replace(/\d/g,e=>t[parseInt(e)])};function M(e){if(!e)return null;for(let t of[/(?:youtube\.com\/watch\?v=|youtu\.be\/|youtube\.com\/embed\/)([^&\s?]+)/,/youtube\.com\/shorts\/([^&\s?]+)/]){let a=e.match(t);if(a?.[1])return a[1]}return null}function z({value:e,label:a,isRTL:r}){let i=r?R(String(e).padStart(2,"0")):String(e).padStart(2,"0");return(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(s.AnimatePresence,{mode:"popLayout",children:(0,t.jsx)(l.motion.div,{initial:{rotateX:-90,opacity:0},animate:{rotateX:0,opacity:1},exit:{rotateX:90,opacity:0},transition:{duration:.3,ease:"easeOut"},className:"bg-gradient-to-b from-slate-100 to-slate-200 dark:from-gray-800 dark:to-gray-900 rounded-2xl px-3 py-2 md:px-5 md:py-3 lg:px-6 lg:py-4 shadow-xl dark:shadow-2xl border border-slate-300 dark:border-white/10",style:{transformStyle:"preserve-3d",perspective:"500px"},children:(0,t.jsx)("span",{className:"text-2xl md:text-4xl lg:text-5xl xl:text-6xl font-bold text-slate-800 dark:text-white tabular-nums",style:{fontFamily:"var(--font-vazirmatn)"},children:i})},e)}),(0,t.jsx)("div",{className:"absolute inset-0 bg-pahlavi-green/20 rounded-2xl blur-xl -z-10"})]}),(0,t.jsx)("span",{className:"mt-2 text-xs md:text-sm text-slate-500 dark:text-white/70",style:{fontFamily:"var(--font-vazirmatn)"},children:a})]})}function _({targetDate:e,labelEN:r,labelFA:i,isRTL:s}){let[n,o]=(0,a.useState)({days:0,hours:0,minutes:0,seconds:0}),[d,c]=(0,a.useState)(!1);if((0,a.useEffect)(()=>{let t=()=>{let t=new Date().getTime(),a=new Date(e).getTime()-t;a<=0?c(!0):o({days:Math.floor(a/864e5),hours:Math.floor(a%864e5/36e5),minutes:Math.floor(a%36e5/6e4),seconds:Math.floor(a%6e4/1e3)})};t();let a=setInterval(t,1e3);return()=>clearInterval(a)},[e]),d)return null;let m=s?i:r,x=[];return n.days>0&&x.push({value:n.days,label:s?"روز":"Days"}),(n.days>0||n.hours>0)&&x.push({value:n.hours,label:s?"ساعت":"Hours"}),x.push({value:n.minutes,label:s?"دقیقه":"Minutes"}),x.push({value:n.seconds,label:s?"ثانیه":"Seconds"}),(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},className:"mb-10 md:mb-12",children:[m&&(0,t.jsx)("p",{className:"text-center text-slate-600 dark:text-white/80 mb-6 text-base md:text-lg",style:{fontFamily:"var(--font-vazirmatn)"},children:m}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-2 md:gap-3 lg:gap-4",dir:"ltr",children:x.map((e,r)=>(0,t.jsxs)(a.default.Fragment,{children:[r>0&&(0,t.jsx)("span",{className:"text-2xl md:text-4xl lg:text-5xl text-slate-400 dark:text-white/40 font-light select-none",children:":"}),(0,t.jsx)(z,{value:e.value,label:e.label,isRTL:s})]},r))})]})}function P({value:e,label:a,isRTL:r}){let i=r?R(String(e).padStart(2,"0")):String(e).padStart(2,"0");return(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(s.AnimatePresence,{mode:"popLayout",children:(0,t.jsx)(l.motion.div,{initial:{rotateX:-90,opacity:0},animate:{rotateX:0,opacity:1},exit:{rotateX:90,opacity:0},transition:{duration:.25,ease:"easeOut"},className:"bg-gradient-to-b from-slate-100 to-slate-200 dark:from-gray-800/90 dark:to-gray-900/90 rounded-lg px-2 py-1.5 md:px-3 md:py-2 shadow-lg border border-slate-300 dark:border-white/10",style:{transformStyle:"preserve-3d",perspective:"300px"},children:(0,t.jsx)("span",{className:"text-lg md:text-xl lg:text-2xl font-bold text-slate-800 dark:text-white tabular-nums",style:{fontFamily:"var(--font-vazirmatn)"},children:i})},e)}),(0,t.jsx)("div",{className:"absolute inset-0 bg-pahlavi-green/15 rounded-lg blur-md -z-10"})]}),(0,t.jsx)("span",{className:"mt-1 text-[10px] md:text-xs text-slate-500 dark:text-white/60",style:{fontFamily:"var(--font-vazirmatn)"},children:a})]})}function D({targetDate:e,labelEN:r,labelFA:i,isRTL:s}
53){let[n,o]=(0,a.useState)({days:0,hours:0,minutes:0,seconds:0}),[d,c]=(0,a.useState)(!1);if((0,a.useEffect)(()=>{let t=()=>{let t=new Date().getTime(),a=new Date(e).getTime()-t;a<=0?c(!0):o({days:Math.floor(a/864e5),hours:Math.floor(a%864e5/36e5),minutes:Math.floor(a%36e5/6e4),seconds:Math.floor(a%6e4/1e3)})};t();let a=setInterval(t,1e3);return()=>clearInterval(a)},[e]),d)return null;let m=s?i:r,x=[];return n.days>0&&x.push({value:n.days,label:s?"روز":"Days"}),(n.days>0||n.hours>0)&&x.push({value:n.hours,label:s?"ساعت":"Hours"}),x.push({value:n.minutes,label:s?"دقیقه":"Min"}),x.push({value:n.seconds,label:s?"ثانیه":"Sec"}),(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.3},className:"flex flex-col items-center gap-3",children:[m&&(0,t.jsx)("p",{className:"text-sm md:text-base text-slate-600 dark:text-white/70",style:{fontFamily:"var(--font-vazirmatn)"},children:m}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-1.5 md:gap-2",dir:"ltr",children:x.map((e,r)=>(0,t.jsxs)(a.default.Fragment,{children:[r>0&&(0,t.jsx)("span",{className:"text-lg md:text-xl text-slate-400 dark:text-white/30 font-light select-none mx-0.5",children:":"}),(0,t.jsx)(P,{value:e.value,label:e.label,isRTL:s})]},r))})]})}function B({messageEN:e,messageFA:a,style:r,isRTL:i}){let s=i?a||e:e||a;if(!s)return null;let n={info:{bg:"bg-sky-100 dark:bg-sky-500/10",border:"border-sky-300 dark:border-sky-500/30",text:"text-sky-700 dark:text-sky-300",icon:h.Info,iconColor:"text-sky-600 dark:text-sky-400"},success:{bg:"bg-emerald-100 dark:bg-emerald-500/10",border:"border-emerald-300 dark:border-emerald-500/30",text:"text-emerald-700 dark:text-emerald-300",icon:u.CheckCircle,iconColor:"text-emerald-600 dark:text-emerald-400"},warning:{bg:"bg-amber-100 dark:bg-amber-500/10",border:"border-amber-300 dark:border-amber-500/30",text:"text-amber-700 dark:text-amber-300",icon:g.AlertTriangle,iconColor:"text-amber-600 dark:text-amber-400"},urgent:{bg:"bg-rose-100 dark:bg-rose-500/10",border:"border-rose-300 dark:border-rose-500/30",text:"text-rose-700 dark:text-rose-300",icon:p.Flame,iconColor:"text-rose-600 dar
53k:text-rose-400"}},o=n[r]||n.info,d=o.icon;return(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:`flex items-center gap-3 px-4 py-3 rounded-xl ${o.bg} border ${o.border} backdrop-blur-sm`,children:[(0,t.jsx)(d,{className:`w-5 h-5 flex-shrink-0 ${o.iconColor}`}),(0,t.jsx)("p",{className:`text-sm md:text-base ${o.text}`,style:{fontFamily:"var(--font-vazirmatn)"},children:s})]})}let V=["maxresdefault","sddefault","hqdefault","mqdefault"];function O({item:e,isRTL:r}){var s,n,o;let[d,c]=(0,a.useState)(!1),[m,x]=(0,a.useState)(0),[h,u]=(0,a.useState)(!1),g=(n=e.videoUrl,o=e.videoUrlFA,r&&o?o:n),p=M(g||""),b=e.isPortrait||!!(s=g||"")&&s.includes("/shorts/"),f=r?e.portraitTextFA||e.portraitTextEN:e.portraitTextEN||e.portraitTextFA,v=b&&f;if(!p)return null;let w=r?e.titleFA||e.titleEN:e.titleEN||e.titleFA,j=V[m]||"hqdefault",y=`https://i.ytimg.com/vi/${p}/${j}.jpg`,N=()=>{m<V.length-1&&x(e=>e+1)};return v?(0,t.jsxs)(l.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"relative w-full group/container",children:[(0,t.jsx)("div",{className:`absolute -inset-1 bg-gradient-to-r from-red-600/20 via-orange-500/20 to-red-600/20 rounded-2xl blur-xl transition-opacity duration-700 ${h?"opacity-100":"opacity-0"}`}),(0,t.jsxs)("div",{className:`relative w-full overflow-hidden rounded-xl sm:rounded-2xl bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900 shadow-2xl shadow-black/50 ${r?"flex-row-reverse":"flex-row"}`,onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:[(0,t.jsxs)("div",{className:`hidden md:flex ${r?"flex-row-reverse":"flex-row"} min-h-[400px] lg:min-h-[500px]`,children:[(0,t.jsxs)("div",{className:`flex-1 flex flex-col justify-center p-8 lg:p-12 ${r?"text-right":"text-left"}`,children:[(0,t.jsx)("div",{className:`w-16 h-1 bg-gradient-to-r from-red-500 to-orange-500 rounded-full mb-6 ${r?"ml-auto":""}`}),(0,t.jsx)("p",{className:"text-2xl lg:text-3xl xl:text-4xl font-medium text-white/95 leading-relaxed",style:{fontFamily:r?"var(--font-vazirmatn)":"var(--font-crimson)"},children:f}),w&&(0,t.jsx)("p",{className:"mt-6 text-sm text-white/50",children:w})]}),(0,t.jsx)("div",{className:"w-[280px] lg:w-[320px] xl:w-[360px] flex-shrink-0 relative",children:(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center p-4",children:(0,t.jsx)("div",{className:"relative w-full h-full overflow-hidden rounded-xl bg-black shadow-2xl",style:{aspectRatio:"9/16",maxHeight:"100%"},children:d?(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${p}?rel=0&modestbranding=1&autoplay=1&playsinline=1`,title:w||"YouTube video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",className:"absolute top-0 left-0 w-full h-full",style:{border:0}}):(0,t.jsxs)("button",{onClick:()=>c(!0),className:"absolute inset-0 w-full h-full cursor-pointer group focus:outline-none","aria-label":`Play video${w?`: ${w}`:""}`,children:[(0,t.jsx)(i.default,{src:y,alt:w||"Video thumbnail",fill:!0,className:"object-cover scale-[1.8]",sizes:"360px",onError:N,quality:90},m),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(0,0,0,0.4)_100%)]"}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-14 h-14 rounded-full bg-red-600/90 flex items-center justify-center shadow-xl group-hover:scale-110 transition-transform",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-white ml-1",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})})})]})})})})]}),(0,t.jsxs)("div",{className:"md:hidden",children:[(0,t.jsx)("div",{className:"relative w-full flex items-center justify-center bg-black p-4",style:{aspectRatio:"16/9"},children:(0,t.jsx)("div",{className:"relative h-full overflow-hidden rounded-lg",style:{aspectRatio:"9/16"},children:d?(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${p}?rel=0&modestbranding=1&autoplay=1&playsinline=1`,title:w||"YouTube video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
53 web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",className:"absolute top-0 left-0 w-full h-full",style:{border:0}}):(0,t.jsxs)("button",{onClick:()=>c(!0),className:"absolute inset-0 w-full h-full cursor-pointer group focus:outline-none",children:[(0,t.jsx)(i.default,{src:y,alt:w||"Video thumbnail",fill:!0,className:"object-cover scale-[1.8]",sizes:"50vw",onError:N,quality:90},m),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-red-600/90 flex items-center justify-center shadow-xl",children:(0,t.jsx)("svg",{className:"w-5 h-5 text-white ml-0.5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})})})]})})}),(0,t.jsx)("div",{className:`p-4 ${r?"text-right":"text-left"}`,children:(0,t.jsx)("p",{className:"text-lg font-medium text-white/90 leading-relaxed",style:{fontFamily:r?"var(--font-vazirmatn)":"var(--font-crimson)"},children:f})})]})]})]}):b&&!v?(0,t.jsxs)(l.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"relative w-full group/container",children:[(0,t.jsx)("div",{className:`absolute -inset-1 bg-gradient-to-r from-red-600/20 via-orange-500/20 to-red-600/20 rounded-2xl blur-xl transition-opacity duration-700 ${h?"opacity-100":"opacity-0"}`}),(0,t.jsx)("div",{className:"relative w-full overflow-hidden rounded-xl sm:rounded-2xl bg-black shadow-2xl shadow-black/50 flex items-center justify-center",style:{aspectRatio:"16/9"},onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:(0,t.jsx)("div",{className:"relative h-full overflow-hidden rounded-lg",style:{aspectRatio:"9/16"},children:d?(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${p}?rel=0&modestbranding=1&autoplay=1&playsinline=1`,title:w||"YouTube video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",className:"absolute top-0 left-0 w-full h-full",style:{border:0}}):(0,t.jsxs)("button",{onClick:()=>c(!0),className:"absolute inset-0 w-full h-full cursor-pointer group focus:outline-none","aria-label":`Play video${w?`: ${w}`:""}`,children:[(0,t.jsx)(i.default,{src:y,alt:w||"Video thumbnail",fill:!0,className:"object-cover object-center",sizes:"360px",onError:N,quality:90},m),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(0,0,0,0.3)_100%)]"}),(0,t.jsxs)("div",{className:"absolute bottom-4 right-4",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-full animate-ping bg-red-500/30",style:{animationDuration:"2s"}}),(0,t.jsx)("div",{className:"relative w-14 h-14 rounded-full bg-gradient-to-br from-red-600 to-red-700 flex items-center justify-center shadow-xl group-hover:scale-110 transition-transform",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-white ml-1",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})})]}),w&&(0,t.jsx)("div",{className:"absolute bottom-4 left-4 right-20",children:(0,t.jsx)("p",{className:"text-white/90 text-sm font-medium line-clamp-2 drop-shadow-lg",children:w})})]})})})]}):(0,t.jsxs)(l.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"relative w-full group/container",children:[(0,t.jsx)("div",{className:`absolute -inset-1 bg-gradient-to-r from-red-600/20 via-orange-500/20 to-red-600/20 rounded-2xl blur-xl transition-opacity duration-700 ${h?"opacity-100":"opacity-0"}`}),(0,t.jsxs)("div",{className:"relative w-full overflow-hidden rounded-xl sm:rounded-2xl bg-black shadow-2xl shadow-black/50",style:{aspectRatio:"16/9"},onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:[d?(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${p}?rel=0&modestbranding=1&autoplay=1&playsinline=1`,title:w||"YouTube video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",className:"absolute top-0 left-0 w-full h-full",style:{border:0}}):(0,t.jsxs)("button",{onClick:()=>c(!0),className:"absolute inset-0 w-full h-full cursor-pointer group focus:outline-none focus-visible:ring-2 focus-visible:ring-white/50 focus-visible:ring-offset-2 focus-visible:ring-offset-black","aria-label":`Play video${w?`: ${w}`:""}`,children:[(0,t.jsx)(i.default,{src:y,alt:w||"Video thumbnail",fill:!0,className:"object-cover transition-transform duration-700 ease-out group-hover:scale-105",sizes:"(max-width: 768px) 100vw, 50vw",onError:N,qual
53ity:90},m),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(0,0,0,0.3)_70%,rgba(0,0,0,0.7)_100%)]"}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-black/80 via-black/40 to-transparent"}),(0,t.jsx)("div",{className:"absolute inset-x-0 top-0 h-24 bg-gradient-to-b from-black/30 to-transparent"}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-[0.03] mix-blend-overlay pointer-events-none",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E\")"}}),(0,t.jsx)("div",{className:"absolute top-4 left-4 w-8 h-8 sm:w-12 sm:h-12 border-l-2 border-t-2 border-white/20 rounded-tl-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsx)("div",{className:"absolute top-4 right-4 w-8 h-8 sm:w-12 sm:h-12 border-r-2 border-t-2 border-white/20 rounded-tr-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsx)("div",{className:"absolute bottom-4 left-4 w-8 h-8 sm:w-12 sm:h-12 border-l-2 border-b-2 border-white/20 rounded-bl-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500 delay-75"}),(0,t.jsxs)("div",{className:"absolute bottom-3 right-3 sm:bottom-5 sm:right-5 md:bottom-6 md:right-6 lg:bottom-8 lg:right-8",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-full animate-ping bg-red-500/30 group-hover:bg-red-400/40",style:{animationDuration:"2s"}}),(0,t.jsx)("div",{className:"absolute -inset-1.5 sm:-inset-2 rounded-full bg-gradient-to-r from-red-500/40 to-orange-500/40 blur-md sm:blur-lg opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),(0,t.jsxs)("div",{className:"relative w-10 h-10 sm:w-12 sm:h-12 md:w-14 md:h-14 lg:w-16 lg:h-16 xl:w-18 xl:h-18 rounded-full flex items-center justify-center transition-all duration-300 ease-out group-hover:scale-110 group-hover:-translate-x-0.5 group-hover:-translate-y-0.5 sm:group-hover:-translate-x-1 sm:group-hover:-translate-y-1",style:{background:"linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(185, 28, 28, 0.95) 100%)",boxShadow:"0 4px 16px rgba(220, 38, 38, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2)"},children:[(0,t.jsx)("div",{className:"absolute inset-[2px] rounded-full bg-gradient-to-b from-white/20 to-transparent opacity-60"}),(0,t.jsx)("svg",{className:"relative w-4 h-4 sm:w-5 sm:h-5 md:w-6 md:h-6 lg:w-7 lg:h-7 xl:w-8 xl:h-8 text-white ml-0.5 sm:ml-1 drop-shadow-lg",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})]})]}),w&&(0,t.jsx)("div",{className:"absolute bottom-3 left-3 sm:bottom-5 sm:left-5 md:bottom-6 md:left-6 lg:bottom-8 lg:left-8 max-w-[55%] sm:max-w-[60%] opacity-0 group-hover:opacity-100 transition-all duration-500 translate-y-2 group-hover:translate-y-0",children:(0,t.jsx)("p",{className:"text-white/90 text-xs sm:text-sm md:text-base lg:text-lg font-medium line-clamp-2 drop-shadow-lg leading-tight sm:leading-normal",children:w})}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-xl sm:rounded-2xl border border-white/0 group-hover:border-white/10 transition-colors duration-500 pointer-events-none"})]}),(0,t.jsx)("div",{className:"absolute -bottom-px inset-x-0 h-px bg-gradient-to-r from-transparent via-white/20 to-transparent"})]})]})}let U=null;function q({item:e,isRTL:r}){var i,s;let o=(0,a.useRef)(null),c=(0,a.useRef)(null),[m,x]=(0,a.useState)(!1),[h,u]=(0,a.useState)(!1),g=(i=e.twitterUrl,s=e.twitterUrlFA,r&&s?s:i),p=g?.match(/(?:twitter\.com|x\.com)\/(\w+)\/status\/(\d+)/),b=p?.[1],f=p?.[2];(0,a.useEffect)(()=>{if(!o.current)return;let e=new IntersectionObserver(t=>{t[0].isIntersecting&&(setTimeout(()=>x(!0),100),e.disconnect())},{threshold:.1,rootMargin:"100px"});return e.observe(o.current),()=>e.disconnect()},[]),(0,a.useEffect)(()=>{if(!m||!f||h)return;let e=!0;return(async()=>{try{if(await new Promise(e=>setTimeout(e,1500)),!e||!c.current)return;let t=await (U||(U=window.twttr?.widgets?Promise.resolve(window.twttr):new Promise((e,t)=>
53{let a=document.createElement("script");a.src="https://platform.twitter.com/widgets.js",a.async=!0,a.charset="utf-8",a.onload=()=>{let a=window.twttr;a?.widgets?a.ready(()=>e(a)):t(Error("Twitter widget failed to initialize"))},a.onerror=()=>t(Error("Failed to load Twitter widget")),document.body.appendChild(a)})));if(!e||!c.current)return;let a=await t.widgets.createTweet(f,c.current,{theme:"dark",conversation:"none",cards:"visible"});if(!e)return;a&&(await new Promise(e=>setTimeout(e,500)),e&&u(!0))}catch(e){console.error("Failed to load Twitter widget:",e)}})(),()=>{e=!1}},[m,f,h]);let v=r?e.titleFA||e.titleEN:e.titleEN||e.titleFA;return(0,t.jsxs)(l.motion.div,{ref:o,initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white/80 dark:bg-slate-900/50 backdrop-blur-sm rounded-xl p-4 border border-slate-200/60 dark:border-slate-700/50 overflow-hidden shadow-md dark:shadow-none",children:[v&&(0,t.jsx)("h3",{className:"text-slate-800 dark:text-white font-semibold mb-3 text-sm md:text-base",children:v}),(0,t.jsx)("div",{className:"twitter-embed-container min-h-[200px] [&_.react-tweet-theme]:!bg-transparent relative",children:m&&f?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-theme":"dark",className:`flex justify-center transition-opacity duration-500 ${h?"opacity-0 absolute pointer-events-none":"opacity-100"}`,children:(0,t.jsx)(a.Suspense,{fallback:(0,t.jsxs)("div",{className:"animate-pulse space-y-3 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-slate-200 dark:bg-slate-700 rounded-full"}),(0,t.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,t.jsx)("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-32"}),(0,t.jsx)("div",{className:"h-3 bg-slate-200/70 dark:bg-slate-700/50 rounded w-24"})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-4/5"})]})]}),children:(0,t.jsx)(n.Tweet,{id:f,apiUrl:`/api/tweet/${f}`,fallback:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-8 text-center",children:[(0,t.jsx)("svg",{className:"w-10 h-10 text-slate-400 dark:text-slate-500 mb-3",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.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"})}),(0,t.jsxs)("a",{href:g||"",target:"_blank",rel:"noopener noreferrer",className:"text-sky-400 hover:text-sky-300 hover:underline text-sm flex items-center gap-1",children:["View on X/Twitter",(0,t.jsx)(d.ExternalLink,{className:"w-3 h-3"})]})]})})})}),(0,t.jsx)("div",{ref:c,className:`flex justify-center transition-opacity duration-500 ${h?"opacity-100":"opacity-0 absolute pointer-events-none"}`})]}):(0,t.jsx)("div",{className:"flex items-center justify-center h-48 bg-slate-100 dark:bg-slate-800/50 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-center gap-3 text-slate-400 dark:text-slate-500",children:[(0,t.jsx)("svg",{className:"w-6 h-6",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.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"})}),b&&(0,t.jsxs)("span",{children:["@",b]})]})})})]})}function H({item:e,isRTL:r}){var i,s;let n=(0,a.useRef)(null),[o,d]=(0,a.useState)(!1),c=(i=e.instagramUrl,s=e.instagramUrlFA,r&&s?s:i);(0,a.useEffect)(()=>{if(!c||!n.current)return;let e=document.createElement("script");e.src="https://www.instagram.com/embed.js",e.async=!0,e.onload=()=>{window.instgrm?.Embeds&&(window.instgrm.Embeds.process(),d(!0))},document.querySelector('script[src="https://www.instagram.com/embed.js"]')?window.instgrm?.Embeds&&(window.instgrm.Embeds.process(),d(!0)):document.body.appendChild(e)},[c]);let m=r?e.titleFA||e.titleEN:e.titleEN||e.titleFA,x=c?.match(/instagram\.com\/(?:p|reel)\/([A-Za-z0-9_-]+)/)?.[1];return(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:20}
53,animate:{opacity:1,y:0},className:"bg-white/80 dark:bg-slate-900/50 backdrop-blur-sm rounded-xl p-4 border border-slate-200/60 dark:border-slate-700/50 shadow-md dark:shadow-none",children:[m&&(0,t.jsx)("h3",{className:"text-slate-800 dark:text-white font-semibold mb-3 text-sm md:text-base",children:m}),(0,t.jsx)("div",{ref:n,className:"instagram-embed-container flex justify-center",children:x&&(0,t.jsx)("blockquote",{className:"instagram-media","data-instgrm-captioned":!0,"data-instgrm-permalink":c,"data-instgrm-version":"14",style:{background:"#1a1a1a",border:0,borderRadius:"12px",margin:0,maxWidth:"540px",minWidth:"326px",padding:0,width:"100%"}})}),!o&&(0,t.jsx)("div",{className:"animate-pulse bg-slate-200 dark:bg-slate-800 rounded-lg h-64 flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-slate-500 text-sm",children:"Loading Instagram post..."})})]})}function W({item:e,isRTL:r}){let[n,o]=(0,a.useState)(0),d=e.slideshowImageIds||[],x=()=>{o(e=>(e+1)%d.length)};if((0,a.useEffect)(()=>{if(d.length<=1)return;let e=setInterval(x,5e3);return()=>clearInterval(e)},[d.length]),0===d.length)return null;let h=r?e.titleFA||e.titleEN:e.titleEN||e.titleFA;return(0,t.jsxs)(l.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"relative aspect-video rounded-xl overflow-hidden bg-black shadow-2xl",children:[(0,t.jsx)(s.AnimatePresence,{mode:"wait",children:(0,t.jsx)(l.motion.div,{initial:{opacity:0}
53,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"absolute inset-0",children:(0,t.jsx)(i.default,{src:`/api/blog/images/${d[n]}`,alt:`${h||"Slideshow"} - ${n+1}`,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 100vw, 50vw"})},n)}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent"}),d.length>1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{onClick:()=>{o(e=>(e-1+d.length)%d.length)},className:"absolute left-2 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full bg-black/50 flex items-center justify-center text-white hover:bg-black/70 transition-colors","aria-label":"Previous slide",children:(0,t.jsx)(c.ChevronLeft,{className:"w-6 h-6"})}),(0,t.jsx)("button",{onClick:x,className:"absolute right-2 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full bg-black/50 flex items-center justify-center text-white hover:bg-black/70 transition-colors","aria-label":"Next slide",children:(0,t.jsx)(m.ChevronRight,{className:"w-6 h-6"})}),(0,t.jsx)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2",children:d.map((e,a)=>(0,t.jsx)("button",{onClick:()=>o(a),className:`w-2 h-2 rounded-full transition-all ${a===n?"bg-white w-6":"bg-white/50 hover:bg-white/70"}`,"aria-label":`Go to slide ${a+1}`},a))})]}),h&&(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-4",children:(0,t.jsx)("h3",{className:"text-white font-semibold text-sm md:text-base",children:h})})]})}function G({item:e,blogPost:a,isRTL:s,lang:n}){if(!a)return null;let o=s&&a.titleFA||a.titleEN,c=s&&a.excerptFA||a.excerptEN,m=s?e.titleFA||e.titleEN||o:e.titleEN||e.titleFA||o;return(0,t.jsx)(l.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},children:(0,t.jsxs)(r.default,{href:`/${n}/rise-iran-campaign-latest/${a.id}/${a.slug}`,className:"group block bg-white/80 dark:bg-slate-900/50 backdrop-blur-sm rounded-xl overflow-hidden border border-slate-200/60 dark:border-slate-700/50 hover:border-pahlavi-green/40 dark:hover:border-pahlavi-green/50 transition-colors shadow-md dark:shadow-none",children:[a.coverImageId&&(0,t.jsxs)("div",{className:"relative aspect-[16/9] overflow-hidden",children:[(0,t.jsx)(i.default,{src:`/api/blog/images/${a.coverImageId}`,alt:o||"Blog post",fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-105",sizes:"(max-width: 768px) 100vw, 33vw"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 dark:from-black/70 to-transparent"})]}),(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsx)("h3",{className:"text-slate-800 dark:text-white font-semibold text-base md:text-lg mb-2 group-hover:text-pahlavi-green transition-colors",children:m}),c&&(0,t.jsx)("p",{className:"text-slate-500 dark:text-slate-400 text-sm line-clamp-3",children:c}),(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-1 text-pahlavi-green text-sm font-medium",children:[(0,t.jsx)("span",{children:s?"ادامه مطلب":"Read more"}),(0,t.jsx)(d.ExternalLink,{className:"w-3 h-3"})]})]})]})})}let Y={ArrowRight:b.ArrowRight,ArrowLeft:f.ArrowLeft,Download:v.Download,Play:w.Play,Heart:j.Heart,Star:y.Star,Zap:N.Zap,Send:k.Send,Mail:T.Mail,Phone:$.Phone,MapPin:E.MapPin,Calendar:I.Calendar,Users:C.Users,Shield:L.Shield,Globe:A.Globe,FileText:S.FileText,MessageCircle:F.MessageCircle,ExternalLink:d.ExternalLink,ChevronRight:m.ChevronRight,ChevronLeft:c.ChevronLeft,Info:h.Info,CheckCircle:u.CheckCircle,Clock:x.Clock};function X({item:e,isRTL:a,lang:i}){let s=a?e.titleFA||e.titleEN:e.titleEN||e.titleFA,n=a?e.ctaSubtitleFA||e.ctaSubtitleEN:e.ctaSubtitleEN||e.ctaSubtitleFA,o=e.ctaHref||"#",d=e.ctaIsExternal,c=e.ctaButtonStyle||"solid",m=e.ctaButtonColor||"green",x=e.ctaIcon,h=e.ctaPosition||"center",u=e.ctaSize||"medium",g=e.ctaAnimation||"none",p=x?Y[x]:null,b={green:{solid:"bg-gradient-to-r from-pahlavi-green to-emerald-500 hover:from-emerald-500 hover:to-pahlavi-green text-white shadow-lg shadow-pahlavi-green/30 hover:shadow-pahlavi-green/50",outline:"border-2 border-pahlavi-green text-pahlavi-green hover:bg-pahlavi-green hover:text-white",ghost:"text-pahlavi-green hover:bg-pahlavi-green/10",gradient:"bg-gradient-to-r from-pahlavi-green via-emerald-400 to-teal-500 text-white shadow-lg shadow-emerald-500/30 hover:shadow-emerald-500/50"},red:{solid:"bg-gradient-to-r from-pahlavi-red to-rose-500 hover:from-rose-500 hover:to-pahlavi-red text-white shadow-lg shadow-pahlavi-red/30 hover:shadow-
53pahlavi-red/50",outline:"border-2 border-pahlavi-red text-pahlavi-red hover:bg-pahlavi-red hover:text-white",ghost:"text-pahlavi-red hover:bg-pahlavi-red/10",gradient:"bg-gradient-to-r from-pahlavi-red via-rose-400 to-orange-500 text-white shadow-lg shadow-rose-500/30 hover:shadow-rose-500/50"},blue:{solid:"bg-gradient-to-r from-sky-500 to-blue-600 hover:from-blue-600 hover:to-sky-500 text-white shadow-lg shadow-sky-500/30 hover:shadow-sky-500/50",outline:"border-2 border-sky-500 text-sky-500 hover:bg-sky-500 hover:text-white",ghost:"text-sky-500 hover:bg-sky-500/10",gradient:"bg-gradient-to-r from-sky-400 via-blue-500 to-indigo-500 text-white shadow-lg shadow-blue-500/30 hover:shadow-blue-500/50"},gold:{solid:"bg-gradient-to-r from-amber-400 to-yellow-500 hover:from-yellow-500 hover:to-amber-400 text-slate-900 shadow-lg shadow-amber-500/30 hover:shadow-amber-500/50",outline:"border-2 border-amber-500 text-amber-600 hover:bg-amber-500 hover:text-slate-900",ghost:"text-amber-600 hover:bg-amber-500/10",gradient:"bg-gradient-to-r from-amber-300 via-yellow-400 to-orange-400 text-slate-900 shadow-lg shadow-amber-500/30 hover:shadow-amber-500/50"}},f={small:"px-4 py-2 text-sm rounded-lg",medium:"px-6 py-3 text-base rounded-xl",large:"px-8 py-4 text-lg rounded-2xl",full:"px-8 py-4 text-lg rounded-2xl w-full"},v={left:"justify-start",center:"justify-center",right:"justify-end"},w=`
54    inline-flex items-center gap-2 md:gap-3 font-semibold
55    transition-all duration-300 ease-out
56    transform hover:scale-[1.02] active:scale-[0.98]
57    focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-pahlavi-green
58    ${b[m]?.[c]||b.green.solid}
59    ${f[u]||f.medium}
60    ${"glow"===g?"animate-[glow_2s_ease-in-out_infinite] [--glow-color:rgba(0,131,107,0.4)]":""}
61  `,j=()=>(0,t.jsxs)(t.Fragment,{children:[p&&a&&(0,t.jsx)(p,{className:`${"small"===u?"w-4 h-4":"large"===u||"full"===u?"w-6 h-6":"w-5 h-5"} transition-transform group-hover:scale-110`}),(0,t.jsxs)("span",{className:"flex flex-col items-start",children:[(0,t.jsx)("span",{className:"font-bold",style:{fontFamily:"var(--font-vazirmatn)"},children:s||(a?"کلیک کنید":"Click Here")}),n&&(0,t.jsx)("span",{className:`opacity-80 ${"small"===u?"text-xs":"text-sm"} font-normal`,style:{fontFamily:"var(--font-vazirmatn)"},children:n})]}),p&&!a&&(0,t.jsx)(p,{className:`${"small"===u?"w-4 h-4":"large"===u||"full"===u?"w-6 h-6":"w-5 h-5"} transition-transform group-hover:translate-x-1`})]});return(0,t.jsx)(l.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:`flex ${v[h]||v.center} py-4`,children:(0,t.jsxs)(l.motion.div,{animate:{none:{},pulse:{scale:[1,1.02,1],transition:{duration:2,repeat:1/0,ease:"easeInOut"}},bounce:{y:[0,-4,0],transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}},glow:{},shake:{x:[0,-2,2,-2,2,0],transition:{duration:.5,repeat:1/0,repeatDelay:3}}}[g]||{},className:"relative group",children:["glow"===g&&(0,t.jsx)("div",{className:`absolute inset-0 rounded-2xl blur-lg opacity-50 animate-pulse
62            ${"green"===m?"bg-pahlavi-green/40":""}
63            ${"red"===m?"bg-pahlavi-red/40":""}
64            ${"blue"===m?"bg-sky-500/40":""}
65            ${"gold"===m?"bg-amber-500/40":""}
66          `}),d?(0,t.jsx)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:w,children:(0,t.jsx)(j,{})}):(0,t.jsx)(r.default,{href:o,className:w,prefetch:!0,children:(0,t.jsx)(j,{})})]})})}function Z({item:e,blogPosts:a,isRTL:s,lang:n}){var o,c,m,x,h,u,g,p;let b=s?e.titleFA||e.titleEN:e.titleEN||e.titleFA,f=(o=e.videoUrl,c=e.videoUrlFA,s&&c?c:o),v=(m=e.twitterUrl,x=e.twitterUrlFA,s&&x?x:m),w=(h=e.instagramUrl,u=e.instagramUrlFA,s&&u?u:h),j=(g=e.blogPostId,p=e.blogPostIdFA,s&&p?p:g),y=null,N=b,k=null,T=!1,$=d.ExternalLink;switch(e.itemType){case"VIDEO":{let e=M(f||"");e&&(y=`https://i.ytimg.com/vi/${e}/mqdefault.jpg`,k=f,T=!0,$=({className:e})=>(0,t.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})}));break}case"TWITTER":if($=({className:e})=>
66(0,t.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.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"})}),k=v,T=!0,!N){let e=v?.match(/(?:twitter\.com|x\.com)\/(\w+)/);N=e?`@${e[1]}`:"View on X"}break;case"INSTAGRAM":$=({className:e})=>(0,t.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.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-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.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.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})}),k=w,T=!0,N||(N="View on Instagram");break;case"SLIDESHOW":e.slideshowImageIds&&e.slideshowImageIds.length>0&&(y=`/api/blog/images/${e.slideshowImageIds[0]}`),$=({className:e})=>(0,t.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,t.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.5"}),(0,t.jsx)("path",{d:"M21 15l-5-5L5 21"})]});break;case"BLOG_POST":{let r=a?.[j||""];r&&(r.coverImageId&&(y=`/api/blog/images/${r.coverImageId}`),N=s?e.titleFA||e.titleEN||r.titleFA||r.titleEN:e.titleEN||e.titleFA||r.titleEN,k=`/${n}/rise-iran-campaign-latest/${r.id}/${r.slug}`),$=({className:e})=>(0,t.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7",strokeLinecap:"round",strokeLinejoin:"round"})});break}case"CTA_BUTTON":k=e.ctaHref||"#",T=e.ctaIsExternal,$=({className:e})=>(0,t.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M13 2L3 14h9l-1 8 10-12h-9l1-8z"})})}let E=`
67    flex items-start gap-2.5 md:gap-3 lg:gap-4
68    p-2 md:p-3 lg:p-4
69    rounded-lg lg:rounded-xl border
70    transition-all duration-300 group cursor-pointer
71    backdrop-blur-sm shadow-sm
72
73    /* Light mode */
74    bg-gradient-to-br from-white/80 to-slate-50/80
75    hover:from-white hover:to-slate-100/90
76    border-slate-200/60 hover:border-pahlavi-green/40
77    hover:shadow-md hover:shadow-pahlavi-green/10
78
79    /* Dark mode */
80    dark:from-slate-800/60 dark:to-slate-900/60
81    dark:hover:from-slate-700/60 dark:hover:to-slate-800/60
82    dark:border-white/[0.06] dark:hover:border-pahlavi-green/25
83    dark:hover:shadow-pahlavi-green/5
84  `.replace(/\s+/g," ").trim();return(0,t.jsx)(l.motion.div,{initial:{opacity:0,x:s?12:-12},animate:{opacity:1,x:0},whileHover:{scale:1.01,x:s?-2:2},transition:{duration:.25,ease:"easeOut"},className:"w-full",children:(0,t.jsxs)(({children:e})=>k?T?(0,t.jsx)("a",{href:k,target:"_blank",rel:"noopener noreferrer",className:E,children:e}):(0,t.jsx)(r.default,{href:k,className:E,children:e}):(0,t.jsx)("div",{className:E.replace("cursor-pointer",""),children:e}),{children:[(0,t.jsxs)("div",{className:"relative w-10 h-10 md:w-12 md:h-12 lg:w-14 lg:h-14 xl:w-16 xl:h-16 flex-shrink-0 rounded-md lg:rounded-lg overflow-hidden bg-slate-100 dark:bg-slate-700/40 ring-1 ring-slate-200/50 dark:ring-white/5",children:[y?(0,t.jsx)(i.default,{src:y,alt:N||"Media thumbnail",fill:!0,className:"object-cover",sizes:"(max-width: 768px) 40px, (max-width: 1024px) 48px, 64px"}):(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center bg-gradient-to-br from-slate-100 to-slate-200 dark:from-slate-700/50 dark:to-slate-800/50",children:(0,t.jsx)($,{className:"w-4 h-4 md:w-5 md:h-5 lg:w-6 lg:h-6 text-slate-400 dark:text-slate-500"})}),"VIDEO"===e.itemType&&y&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/40",children:(0,t.jsx)("div",{className:"w-5 h-5 md:w-6 md:h-6 lg:w-8 lg:h-8 rounded-full bg-red-500/90 flex items-center justify-center shadow-lg shadow-red-500/30",children:(0,t.jsx)("svg",{className:"w-2 h-2 md:w-2.5 md:h-2.5 lg:w-3 lg:h-3 text-white ml-px",viewBox:"0 0 24 24",fill:"
84currentColor",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})})})]}),(0,t.jsx)("div",{className:"flex-1 min-w-0 py-0.5 lg:py-1",children:(0,t.jsx)("p",{className:"text-slate-800 dark:text-white/90 text-[11px] md:text-xs lg:text-sm xl:text-base leading-[1.4] lg:leading-[1.5] font-medium group-hover:text-pahlavi-green dark:group-hover:text-pahlavi-green/90 transition-colors duration-200",style:{fontFamily:"var(--font-vazirmatn)",wordBreak:"break-word",hyphens:"auto"},children:N||(s?"بدون عنوان":"Untitled")})}),(0,t.jsx)("div",{className:`
85          flex-shrink-0 w-6 h-6 md:w-7 md:h-7 lg:w-9 lg:h-9 xl:w-10 xl:h-10 rounded-full
86          bg-pahlavi-green/10 dark:bg-pahlavi-green/8
87          group-hover:bg-pahlavi-green/20 dark:group-hover:bg-pahlavi-green/15
88          flex items-center justify-center
89          transition-all duration-300
90          ${s?"group-hover:-translate-x-0.5":"group-hover:translate-x-0.5"}
91          ring-1 ring-pahlavi-green/20 dark:ring-pahlavi-green/10
92          group-hover:ring-pahlavi-green/30 dark:group-hover:ring-pahlavi-green/20
93        `,children:(0,t.jsx)($,{className:"w-3 h-3 md:w-3.5 md:h-3.5 lg:w-4 lg:h-4 xl:w-5 xl:h-5 text-pahlavi-green group-hover:text-pahlavi-green dark:text-pahlavi-green/80"})})]})})}function J({item:e,isRTL:a}){var r,i;let l=(r=e.telegramUrl,i=e.telegramUrlFA,a&&i?i:r);return l?(0,t.jsx)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-blue-50 to-sky-50 dark:from-blue-900/20 dark:to-sky-900/20 border border-blue-200/50 dark:border-blue-500/20 p-4",children:(0,t.jsxs)("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 group",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-blue-500 flex items-center justify-center flex-shrink-0",children:(0,t.jsx)(k.Send,{className:"w-6 h-6 text-white"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-blue-600 dark:text-blue-400 group-hover:underline",children:a?"مشاهده در تلگرام":"View on Telegram"}),(0,t.jsx)("p",{className:"text-xs text-blue-500/70 dark:text-blue-400/60 truncate",children:l})]}),(0,t.jsx)(d.ExternalLink,{className:"w-5 h-5 text-blue-500 dark:text-blue-400 group-hover:translate-x-0.5 transition-transform"})]})}):null}function K({item:e,isRTL:a}){var r,i,l,s;let n=(r=e.audioUrl,i=e.audioUrlFA,a&&i?i:r),o=(l=e.audioTitle,s=e.audioTitleFA,a&&s?s:l);return n?(0,t.jsxs)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-purple-50 to-violet-50 dark:from-purple-900/20 dark:to-violet-900/20 border border-purple-200/50 dark:border-purple-500/20 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-lg bg-purple-500 flex items-center justify-center",children:(0,t.jsx)("svg",{className:"w-5 h-5 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"})})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-purple-800 dark:text-purple-200 truncate",children:o||(a?"صوت":"Audio")}),e.audioArtist&&(0,t.jsx)("p",{className:"text-xs text-purple-600/70 dark:text-purple-300/60",children:e.audioArtist})]})]}),(0,t.jsx)("audio",{src:n,controls:!0,className:"w-full h-10 rounded-lg",style:{colorScheme:"dark light"}})]}):null}function Q({item:e,isRTL:r}){var i,l;let[s,n]=(0,a.useState)({days:0,hours:0,minutes:0,seconds:0}),o=(i=e.countdownLabelEN,l=e.countdownLabelFA,r&&l?l:i);return((0,a.useEffect)(()=>{if(!e.countdownDate)return;let t=new Date(e.countdownDate).getTime(),a=()=>{let e=Math.max(0,t-Date.now());n({days:Math.floor(e/864e5),hours:Math.floor(e%864e5/36e5),minutes:Math.floor(e%36e5/6e4),seconds:Math.floor(e%6e4/1e3)})};a();let r=setInterval(a,1e3);return()=>clearInterval(r)},[e.countdownDate]),e.countdownDate)?(0,t.jsxs)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-orange-50 to-amber-50 dark:from-orange-900/20 dark:to-amber-900/20 border border-orange-200/50 dark:border-orange-500/20 p-6 text-center",children:[o&&(0,t.jsx)("p",{className:`text-sm font-medium text-orange-700 dark:text-orange-300 mb-4 ${r?"font-vazirmatn":""}`,children:o}),(0,t.jsx)("div",{className:`flex justify-center gap-3 ${r?"flex-row-reverse":""}`,children:[{value:s.days,label:r?"روز":"Days"},{value:s.hours,label:r?"ساعت":"Hours"},{value:s.minutes,label:r?"دقیقه":"Min"},{value:s.seconds,label:r?"ثانیه":"Sec"}].map((e,a)=>{let i;return(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:"w-14 h-14 roun
93ded-lg bg-orange-500 dark:bg-orange-600 flex items-center justify-center text-white font-bold text-xl shadow-lg",children:(i=e.value,r?R(i.toString().padStart(2,"0")):i.toString().padStart(2,"0"))}),(0,t.jsx)("span",{className:`text-xs mt-1 text-orange-600 dark:text-orange-400 ${r?"font-vazirmatn":""}`,children:e.label})]},a)})})]}):null}function ee({item:e,isRTL:a}){var r,i,l,s;let n=(r=e.quoteTextEN,i=e.quoteTextFA,a&&i?i:r),o=(l=e.quoteAuthor,s=e.quoteAuthorFA,a&&s?s:l);if(!n)return null;let d={elegant:"bg-gradient-to-br from-indigo-50 to-purple-50 dark:from-indigo-900/20 dark:to-purple-900/20 border-indigo-200/50 dark:border-indigo-500/20",simple:"bg-slate-50 dark:bg-slate-800/50 border-slate-200/50 dark:border-slate-700/50",bold:"bg-gradient-to-br from-amber-50 to-yellow-50 dark:from-amber-900/20 dark:to-yellow-900/20 border-amber-200/50 dark:border-amber-500/20",bordered:"bg-white dark:bg-slate-900 border-2 border-indigo-400 dark:border-indigo-500"};return(0,t.jsxs)("div",{className:`w-full rounded-xl overflow-hidden p-6 ${d[e.quoteStyle]||d.elegant} border`,dir:a?"rtl":"ltr",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("svg",{className:"absolute -top-2 -left-2 w-8 h-8 text-indigo-300/50 dark:text-indigo-500/30",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z"})}),(0,t.jsx)("p",{className:`text-lg text-slate-700 dark:text-slate-200 italic leading-relaxed ${a?"font-vazirmatn pr-8":"pl-8"}`,children:n})]}),o&&(0,t.jsxs)("p",{className:`mt-4 text-sm font-medium text-indigo-600 dark:text-indigo-400 ${a?"font-vazirmatn text-right":"text-right"}`,children:["— ",o]})]})}function et({item:e,isRTL:a}){var r,i;let l=(r=e.announcementTextEN,i=e.announcementTextFA,a&&i?i:r);if(!l)return null;let s={info:h.Info,warning:g.AlertTriangle,success:u.CheckCircle,urgent:p.Flame,breaking:p.Flame},n=e.announcementStyle||"info",o=s[n];return(0,t.jsx)("div",{className:`w-full rounded-xl overflow-hidden p-4 border ${{info:"bg-blue-50 dark:bg-blue-900/20 border-blue-200 dark:border-blue-500/30 text-blue-800 dark:text-blue-200",warning:"bg-amber-50 dark:bg-amber-900/20 border-amber-200 dark:border-amber-500/30 text-amber-800 dark:text-amber-200",success:"bg-emerald-50 dark:bg-emerald-900/20 border-emerald-200 dark:border-emerald-500/30 text-emerald-800 dark:text-emerald-200",urgent:"bg-rose-50 dark:bg-rose-900/20 border-rose-200 dark:border-rose-500/30 text-rose-800 dark:text-rose-200",breaking:"bg-red-600 dark:bg-red-700 border-red-700 dark:border-red-600 text-white animate-pulse"}[n]}`,dir:a?"rtl":"ltr",children:(0,t.jsxs)("div",{className:`flex items-start gap-3 ${a?"flex-row-reverse":""}`,children:[(0,t.jsx)(o,{className:"w-5 h-5 flex-shrink-0 mt-0.5"}),(0,t.jsx)("p",{className:`flex-1 text-sm font-medium leading-relaxed ${a?"font-vazirmatn text-right":""}`,children:l})]})})}function ea({item:e,isRTL:a}){var r,i;let l=(r=e.typographyContentEN,i=e.typographyContentFA,a&&i?i:r);if(!l)return null;let s={prose:"text-base text-slate-700 dark:text-slate-200 leading-relaxed",heading:"text-2xl md:text-3xl font-bold text-slate-800 dark:text-white",lead:"text-lg md:text-xl text-slate-600 dark:text-slate-300 leading-relaxed",caption:"text-sm text-slate-500 dark:text-slate-400"},n=l.split("\n").filter(e=>e.trim());return(0,t.jsx)("div",{className:`w-full ${s[e.typographyStyle]||s.prose} ${a?"font-vazirmatn text-right":""}`,dir:a?"rtl":"ltr",children:n.map((e,a)=>(0,t.jsx)("p",{className:a>0?"mt-4":"",children:e},a))})}function er({item:e,isRTL:r}){var i,l;let s=(i=e.statLabel,l=e.statLabelFA,r&&l?l:i),[n,o]=(0,a.useState)("0");return((0,a.useEffect)(()=>{if(!e.statValue)return;let t=parseFloat(e.statValue.replace(/[^0-9.-]/g,""));if(isNaN(t)||"count"!==e.statAnimation)return void o(r?R(e.statValue):e.statValue);let a=t/60,i=0,l=setInterval(()=>{(i+=a)>=t&&(i=t,clearInterval(l));
93let e=Math.round(i).toLocaleString();o(r?R(e):e)},2e3/60);return()=>clearInterval(l)},[e.statValue,e.statAnimation,r]),e.statValue)?(0,t.jsxs)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-teal-50 to-cyan-50 dark:from-teal-900/20 dark:to-cyan-900/20 border border-teal-200/50 dark:border-teal-500/20 p-6 text-center",children:[(0,t.jsx)("div",{className:"text-4xl md:text-5xl font-bold text-teal-600 dark:text-teal-400 mb-2",children:n}),s&&(0,t.jsx)("p",{className:`text-sm text-teal-700/80 dark:text-teal-300/80 ${r?"font-vazirmatn":""}`,children:s})]}):null}function ei({item:e,isRTL:a}){var r,i;let l=(r=e.timelineTextEN,i=e.timelineTextFA,a&&i?i:r);if(!e.timelineDate&&!l)return null;let s=e.timelineDate?new Date(e.timelineDate).toLocaleDateString(a?"fa-IR":"en-US",{year:"numeric",month:"long",day:"numeric"}):null;return(0,t.jsx)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-cyan-50 to-sky-50 dark:from-cyan-900/20 dark:to-sky-900/20 border border-cyan-200/50 dark:border-cyan-500/20 p-4",dir:a?"rtl":"ltr",children:(0,t.jsxs)("div",{className:`flex items-start gap-3 ${a?"flex-row-reverse":""}`,children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-full bg-cyan-500 dark:bg-cyan-600 flex items-center justify-center flex-shrink-0",children:(0,t.jsx)(x.Clock,{className:"w-5 h-5 text-white"})}),(0,t.jsxs)("div",{className:"flex-1",children:[s&&(0,t.jsx)("p",{className:`text-sm font-medium text-cyan-600 dark:text-cyan-400 mb-1 ${a?"font-vazirmatn":""}`,children:s}),l&&(0,t.jsx)("p",{className:`text-slate-700 dark:text-slate-200 ${a?"font-vazirmatn text-right":""}`,children:l})]})]})})}function el({item:e,isRTL:a}){var r,i,l,s,n,o;let d=(r=e.testimonialTextEN,i=e.testimonialTextFA,a&&i?i:r),c=(l=e.testimonialAuthor,s=e.testimonialAuthorFA,a&&s?s:l),m=(n=e.testimonialRole,o=e.testimonialRoleFA,a&&o?o:n);return d?(0,t.jsxs)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-lime-50 to-green-50 dark:from-lime-900/20 dark:to-green-900/20 border border-lime-200/50 dark:border-lime-500/20 p-6",dir:a?"rtl":"ltr",children:[(0,t.jsxs)("p",{className:`text-slate-700 dark:text-slate-200 italic mb-4 ${a?"font-vazirmatn text-right":""}`,children:["“",d,"”"]}),(0,t.jsxs)("div",{className:`flex items-center gap-3 ${a?"flex-row-reverse":""}`,children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-full bg-lime-500 dark:bg-lime-600 flex items-center justify-center text-white font-bold",children:c?.[0]?.toUpperCase()||"?"}),(0,t.jsxs)("div",{children:[c&&(0,t.jsx)("p",{className:`text-sm font-medium text-lime-700 dark:text-lime-300 ${a?"font-vazirmatn":""}`,children:c}),m&&(0,t.jsx)("p",{className:`text-xs text-lime-600/70 dark:text-lime-400/60 ${a?"font-vazirmatn":""}`,children:m})]})]})]}):null}function es({item:e,isRTL:a}){var r,i,l,s;let n=(r=e.featureTitleEN,i=e.featureTitleFA,a&&i?i:r),o=(l=e.featureDescEN,s=e.featureDescFA,a&&s?s:l);return n?(0,t.jsxs)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-fuchsia-50 to-pink-50 dark:from-fuchsia-900/20 dark:to-pink-900/20 border border-fuchsia-200/50 dark:border-fuchsia-500/20 p-6",dir:a?"rtl":"ltr",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-lg bg-fuchsia-500 dark:bg-fuchsia-600 flex items-center justify-center mb-4",children:(0,t.jsx)(y.Star,{className:"w-6 h-6 text-white"})}),(0,t.jsx)("h4",{className:`text-lg font-semibold text-fuchsia-800 dark:text-fuchsia-200 mb-2 ${a?"font-vazirmatn":""}`,children:n}),o&&(0,t.jsx)("p",{className:`text-sm text-fuchsia-700/80 dark:text-fuchsia-300/70 ${a?"font-vazirmatn":""}`,children:o})]}):null}function en({item:e,isRTL:r}){let[i,n]=(0,a.useState)(null);return e.accordionItems&&0!==e.accordionItems.length?(0,t.jsx)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-yellow-50 to-amber-50 dark:from-yellow-900/20 dark:to-amber-900/20 border border-yellow-200/50 dark:border-yellow-500/20 divide-y divide-yellow-200/50 dark:divide-yellow-500/20",dir:r?"rtl":"ltr",children:e.accordionItems.map((e,a)=>{let o=r?e.questionFA||e.questionEN:e.questionEN||e.questionFA,d=r?e.answerFA||e.answerEN:e.answerEN||e.answerFA,c=i===a;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{onClick:()=>n(c?null:a),className:`w-full p-4 flex items-center justify-between gap-3 text-left hover:bg-yellow-100/50 dark:hover:bg-yellow-800/20 transition-colors ${r?"flex-row-reverse text-right":""}`,children:[(0,t.jsx)("span",{className:`text-sm font-medium text-yellow-800 dark:text-yellow-200 ${r?"font-vazirmatn":""}`,children:o}),(0,t.jsx)(m.ChevronRight,{className:`w-4 h-4 text-yellow-600 dark:text-yellow-400 transition-transform ${c?"rotate-90":""}`})]}),(0,t.jsx)(s.AnimatePresence,{children:c&&(0,t.jsx)(l.motion.div,{initial:{height:0,opacity:0}
93,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},className:"overflow-hidden",children:(0,t.jsx)("div",{className:`px-4 pb-4 text-sm text-yellow-700/80 dark:text-yellow-300/70 ${r?"font-vazirmatn":""}`,children:d})})})]},a)})}):null}function eo({item:e,isRTL:a}){var r,i;let l=(r=e.pdfTitle,i=e.pdfTitleFA,a&&i?i:r);return e.pdfUrl?(0,t.jsxs)("div",{className:"w-full rounded-xl overflow-hidden bg-gradient-to-br from-slate-50 to-gray-50 dark:from-slate-800/50 dark:to-gray-800/50 border border-slate-200/50 dark:border-slate-600/30",children:[(0,t.jsxs)("div",{className:"p-4 border-b border-slate-200/50 dark:border-slate-600/30 flex items-center gap-3",dir:a?"rtl":"ltr",children:[(0,t.jsx)(S.FileText,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"}),(0,t.jsx)("span",{className:`text-sm font-medium text-slate-700 dark:text-slate-200 ${a?"font-vazirmatn":""}`,children:l||(a?"سند PDF":"PDF Document")}),(0,t.jsxs)("a",{href:e.pdfUrl,target:"_blank",rel:"noopener noreferrer",className:`${a?"mr-auto":"ml-auto"} text-xs text-blue-600 dark:text-blue-400 hover:underline flex items-center gap-1`,children:[(0,t.jsx)(d.ExternalLink,{className:"w-3 h-3"}),a?"باز کردن":"Open"]})]}),(0,t.jsx)("iframe",{src:`${e.pdfUrl}#toolbar=0`,className:"w-full h-96 border-0",title:l||"PDF Document"})]}):null}function ed({item:e,isRTL:a}){let r=e.mapUrl||(e.mapLat&&e.mapLng?`https://www.openstreetmap.org/export/embed.html?bbox=${e.mapLng-.01}%2C${e.mapLat-.01}%2C${e.mapLng+.01}%2C${e.mapLat+.01}&layer=mapnik&marker=${e.mapLat}%2C${e.mapLng}`:null);return r?(0,t.jsxs)("div",{className:"w-full rounded-xl overflow-hidden bg-slate-100 dark:bg-slate-800 border border-slate-200/50 dark:border-slate-600/30",children:[(0,t.jsxs)("div",{className:"p-3 border-b border-slate-200/50 dark:border-slate-600/30 flex items-center gap-2",dir:a?"rtl":"ltr",children:[(0,t.jsx)(E.MapPin,{className:"w-4 h-4 text-green-500"}),(0,t.jsx)("span",{className:`text-xs text-slate-600 dark:text-slate-300 ${a?"font-vazirmatn":""}`,children:a?"نقشه":"Map Location"})]}),(0,t.jsx)("iframe",{src:r,className:"w-full h-64 border-0",allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"Map"})]}):null}function ec({item:e,isRTL:a,lang:i}){var l,s,n,o,d,c;let m=(l=e.heroTitleEN,s=e.heroTitleFA,a&&s?s:l),x=(n=e.heroSubtitleEN,o=e.heroSubtitleFA,a&&o?o:n),h=(d=e.heroCtaText,c=e.heroCtaTextFA,a&&c?c:d);return(0,t.jsxs)("div",{className:"relative w-full min-h-[300px] rounded-xl overflow-hidden flex items-center justify-center",style:{backgroundImage:e.heroBgImageId?`url(/api/blog/images/${e.heroBgImageId})`:"linear-gradient(135deg, #1a1a2e 0%, #16213e 100%)",backgroundSize:"cover",backgroundPosition:"center"},children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50"}),(0,t.jsxs)("div",{className:"relative z-10 text-center p-8",dir:a?"rtl":"ltr",children:[m&&(0,t.jsx)("h2",{className:`text-3xl md:text-4xl font-bold text-white mb-4 ${a?"font-vazirmatn":""}`,children:m}),x&&(0,t.jsx)("p",{className:`text-lg text-white/80 mb-6 max-w-2xl mx-auto ${a?"font-vazirmatn":""}`,children:x}),h&&e.heroCtaLink&&(0,t.jsxs)(r.default,{href:e.heroCtaLink,className:`inline-flex items-center gap-2 px-6 py-3 bg-pahlavi-green hover:bg-pahlavi-green/90 text-white font-medium rounded-lg transition-colors ${a?"flex-row-reverse font-vazirmatn":""}`,children:[h,(0,t.jsx)(b.ArrowRight,{className:`w-4 h-4 ${a?"rotate-180":""}`})]})]})]})}function em({item:e,blogPosts:a,isRTL:r,lang:i,isSubItem:l=!1}){var s,n;let o=(s=e.blogPostId,n=e.blogPostIdFA,r&&n?n:s);return(0,t.jsxs)("div",{className:"w-full",children:["VIDEO"===e.itemType&&(0,t.jsx)(O,{item:e,isRTL:r}),"TWITTER"===e.itemType&&(0,t.jsx)(q,{item:e,isRTL:r}),"INSTAGRAM"===e.itemType&&(0,t.jsx)(H,{item:e,isRTL:r}),"SLIDESHOW"===e.itemType&&(0,t.jsx)(W,{item:e,isRTL:r}),"BLOG_POST"===e.itemType&&(0,t.jsx)(G,{item:e,blogPost:a?.[o||""],isRTL:r,lang:i}),"CTA_BUTTON"===e.itemType&&(0,t.jsx)(X,{item:e,isRTL:r,lang:i}),"TELEGRAM"===e.itemType&&(0,t.jsx)(J,{item:e,isRTL:r}),"AUDIO"===e.itemType&&(0,t.jsx)(K,{item:e,isRTL:r}),"COUNTDOWN_EVENT"===e.itemType&&(0,t.jsx)(Q,{item:e,isRTL:r}),"QUOTE_CARD"===e.itemType&&(0,t.jsx)(ee,{item:e,isRTL:r}),"ANNOUNCEMENT"===e.itemType&&(0,t.jsx)(et,{item:e,isRTL:r}),"TYPOGRAPHY"===e.itemType&&(0,t.jsx)(ea,{item:e,isRTL:r}),"STAT_COUNTER"===e.itemType&&(0,t.jsx)(er,{item:e,isRTL:r}),"TIMELINE_EVENT"===e.itemType&&(0,t.jsx)(ei,{item:e,isRTL:r}),"TESTIMONIAL"===e.itemType&&(0,t.jsx)(el,{item:e,isRTL:r}),"FEATURE_CARD"===e.itemType&&(0,t.jsx)(es,{item:e,isRTL:r}),"ACCORDION"===e.itemType&&(0,t.jsx)(en,{item:e,isRTL:r}),"PDF_VIEWER"===e.itemType&&(0,t.jsx)(eo,{item:e,isRTL:r}),"MAP_EMBED"===e.itemType&&(0,t.jsx)(ed,{item:e,isRTL:r}),"HERO_BANNER"===e.itemType&&(0,t.jsx)(ec,{item:e,isRTL:r,lang:i})]})}function ex({subItems:e,layout:a,isRTL:r,blogPosts:i,lang:s}){if(e.reduce((e,t)=>
93e+(t.subItemSizeWeight||1),0),("featured-left"===a||"featured-right"===a)&&e.length>=2){let[n,...o]=e,d="featured-left"===a?!r:r,c=o.length>=3,m=o.reduce((e,t)=>e+(t.subItemSizeWeight||1),0);return(0,t.jsxs)(l.motion.div,{className:"flex flex-col md:flex-row gap-4 md:gap-5",initial:{opacity:0},animate:{opacity:1},transition:{duration:.3},children:[(0,t.jsx)(l.motion.div,{className:`${c?"md:w-3/5":"md:w-1/2"} flex-shrink-0 ${d?"order-1":"order-2"}`,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.4,delay:.1},children:(0,t.jsx)("div",{className:"h-full rounded-xl overflow-hidden shadow-xl shadow-slate-300/50 dark:shadow-black/30 border border-slate-200/60 dark:border-white/10",children:(0,t.jsx)(em,{item:n,blogPosts:i,isRTL:r,lang:s,isSubItem:!0})})}),(0,t.jsx)(l.motion.div,{className:`${c?"md:w-2/5":"md:w-1/2"} flex flex-col ${c?"gap-2 lg:gap-3 justify-center":"gap-3"} ${d?"order-2":"order-1"}`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.3,delay:.2},children:o.map((e,a)=>{let n=e.subItemSizeWeight||1;return(0,t.jsx)(l.motion.div,{style:c?{}:{flex:`${c?1:n/m} 1 0%`},initial:{opacity:0,x:d?20:-20},animate:{opacity:1,x:0},transition:{delay:.2+.08*a,duration:.35},children:c?(0,t.jsx)(Z,{item:e,blogPosts:i,isRTL:r,lang:s}):(0,t.jsx)("div",{className:"h-full rounded-lg overflow-hidden shadow-md shadow-slate-200/50 dark:shadow-black/15 border border-slate-200/50 dark:border-white/5",children:(0,t.jsx)(em,{item:e,blogPosts:i,isRTL:r,lang:s,isSubItem:!0})})},e.id)})})]})}let n="vertical"===a?"flex-col":r?"flex-row-reverse":"flex-row";return(0,t.jsx)(l.motion.div,{className:`flex ${n} gap-3 md:gap-4 h-full`,initial:{opacity:0}
93,animate:{opacity:1},transition:{duration:.3},children:e.map((e,a)=>{let n=e.subItemSizeWeight||1,o={flex:`${n} 1 0%`};return(0,t.jsx)(l.motion.div,{style:o,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.1*a,duration:.4,ease:[.25,.46,.45,.94]},className:"min-h-0 min-w-0",children:(0,t.jsx)("div",{className:"h-full rounded-lg overflow-hidden shadow-md shadow-slate-200/50 dark:shadow-black/15 border border-slate-200/50 dark:border-white/5 transition-shadow duration-300 hover:shadow-lg hover:shadow-pahlavi-green/15 dark:hover:shadow-pahlavi-green/10",children:(0,t.jsx)(em,{item:e,blogPosts:i,isRTL:r,lang:s,isSubItem:!0})})},e.id)})})}function eh({item:e,blogPosts:a,isRTL:r,lang:i}){let s=r?e.titleFA||e.titleEN:e.titleEN||e.titleFA;return e.subItems&&e.subItems.length>0?(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white/60 dark:bg-slate-900/30 backdrop-blur-sm rounded-xl p-4 md:p-5 border border-slate-200/60 dark:border-slate-700/30 shadow-sm dark:shadow-none",children:[s&&(0,t.jsx)(l.motion.h3,{initial:{opacity:0}
93,animate:{opacity:1},transition:{delay:.1},className:"text-slate-800 dark:text-white/90 font-semibold text-base md:text-lg mb-4 text-center",style:{fontFamily:"var(--font-vazirmatn)"},children:s}),(0,t.jsx)(ex,{subItems:e.subItems,layout:e.subItemLayout,isRTL:r,blogPosts:a,lang:i})]}):(0,t.jsx)(em,{item:e,blogPosts:a,isRTL:r,lang:i})}function eu({style:e,isRTL:a}){return e&&"none"!==e?(0,t.jsxs)("div",{className:"flex items-center justify-center py-3 md:py-4",children:["line"===e&&(0,t.jsx)(l.motion.div,{initial:{scaleX:0,opacity:0},whileInView:{scaleX:1,opacity:1},viewport:{once:!0},transition:{duration:.6},className:"w-12 md:w-20 lg:w-32 h-px bg-gradient-to-r from-transparent via-pahlavi-green/40 to-transparent"}),"dashed"===e&&(0,t.jsx)(l.motion.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5},className:"flex items-center gap-1.5 md:gap-2",children:[void 0,void 0,void 0,void 0,void 0].map((e,a)=>(0,t.jsx)(l.motion.div,{initial:{scale:0},whileInView:{scale:1},viewport:{once:!0},transition:{delay:.1*a},className:"w-1.5 md:w-2 h-px bg-pahlavi-green/30"},a))}),"glow"===e&&(0,t.jsxs)(l.motion.div,{initial:{scale:0,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{duration:.4},className:"relative",children:[(0,t.jsx)("div",{className:"w-2 h-2 md:w-2.5 md:h-2.5 bg-pahlavi-green/40 rounded-full"}),(0,t.jsx)("div",{className:"absolute inset-0 w-2 h-2 md:w-2.5 md:h-2.5 bg-pahlavi-green/60 rounded-full blur-sm animate-pulse"})]}),"arrow"===e&&(0,t.jsx)(l.motion.div,{initial:{y:-5,opacity:0},whileInView:{y:0,opacity:1},viewport:{once:!0},transition:{duration:.4},className:"flex flex-col items-center text-pahlavi-green/40 ",children:(0,t.jsx)("svg",{className:"w-4 h-4 md:w-5 md:h-5",viewBox:"0 0 24 24",fill:"none",children:(0,t.jsx)("path",{d:"M12 5v14M5 12l7 7 7-7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}):null}function eg(){return(0,t.jsx)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[...Array(30)].map((e,a)=>(0,t.jsx)(l.motion.div,{className:"absolute rounded-full",style:{width:4*Math.random()+2,height:4*Math.random()+2,left:`${100*Math.random()}%`,top:`${100*Math.random()}%`,background:a%3==0?"rgba(0, 131, 107, 0.4)":a%3==1?"rgba(227, 24, 55, 0.3)":"rgba(255, 255, 255, 0.2)"},animate:{y:[0,-30-50*Math.random(),0],x:[0,20*Math.random()-10,0],opacity:[.2,.6,.2],scale:[1,1.2,1]},transition:{duration:4+4*Math.random(),repeat:1/0,delay:3*Math.random(),ease:"easeInOut"}},a))})}function ep({index:e,isRTL:a}){return(0,t.jsxs)(l.motion.div,{className:`absolute top-6 z-20 ${a?"right-0 translate-x-1/2":"left-0 -translate-x-1/2"}`,initial:{scale:0,opacity:0},whileInView:{scale:1,opacity:1},transition:{delay:.15*e,type:"spring",stiffness:400,damping:15},viewport:{once:!0,margin:"-20px"},children:[(0,t.jsx)(l.motion.div,{className:"absolute inset-0 w-5 h-5 -m-[2px] rounded-full bg-pahlavi-green/20",animate:{scale:[1,1.8,1],opacity:[.4,0,.4]},transition:{duration:2.5,repeat:1/0,delay:.3*e,ease:"easeInOut"}}),(0,t.jsx)("div",{className:"absolute inset-0 w-5 h-5 -m-[2px] rounded-full bg-pahlavi-green/30 blur-sm"}),(0,t.jsx)("div",{className:"w-4 h-4 rounded-full bg-gradient-to-br from-pahlavi-green via-emerald-400 to-pahlavi-green shadow-lg shadow-pahlavi-green/60"}),(0,t.jsx)("div",{className:"absolute top-0.5 left-0.5 w-1.5 h-1.5 rounded-full bg-white/40"})]})}function eb({item:e,blogPosts:a,isRTL:r,lang:i}){return(0,t.jsx)(eh,{item:e,blogPosts:a,isRTL:r,lang:i})}function ef({items:e,blogPosts:a,isRTL:r,lang:i}){return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("div",{className:"md:hidden relative",children:[(0,t.jsxs)("div",{className:`absolute top-0 bottom-0 w-[2px] ${r?"right-0":"left-0"}`,children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-pahlavi-green/60 via-pahlavi-green/40 to-pahlavi-green/10"}),(0,t.jsx)("div",{className:`absolute inset-0 bg-gradient-to-b from-pahlavi-green/40 via-pahlavi-green/20 to-transparent blur-sm ${r?"-translate-x-1":"translate-x-1"}`})]}),(0,t.jsx)(l.motion.div,{className:`absolute -top-2 ${r?"right-0 translate-x-1/2":"left-0 -translate-x-1/2"}`,initial:{scale:0},whileInView:{scale:1},transition:{type:"spring",stiffness:300},viewport:{once:!0},children:(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-pahlavi-green/80 ring-2 ring-pahlavi-green/30"})}),(0,t.jsx)("div",{className:"space-y-8 py-4",children:e.map((s,n)=>(0,t.jsxs)(l.motion.div,{className:"relative",initial:{opacity:0,x:r?30:-30},whileInView:{opacity:1,x:0},transition:{delay:.1*n,duration:.6,ease:[.25,.46,.45,.94]},viewport:{once:!0,margin:"-30px"},children:[(0,t.jsx)(ep,{index:n,isRTL:r}),n<e.length-1&&(0,t.jsx)(l.motion.div,{className:`absolute top-10 bottom-0 w-[2px] ${r?"right-0":"left-0"}`,initial:{scaleY:0},whileInView:{scaleY:1},transition:{delay:.2*n+.3,duration:.5},viewport:{once:!0},style:{transformOrigin:"top"},children:(0,t.jsx)("div",{className:"h-full bg-gradient-to-b from-pahlavi-green/50 to-pahlavi-green/20"})}),(0,t.jsx)(l.motion.div,{className:`${r?"pr-6":"pl-6"}`,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:.1*n+.15,duration:.5,ease:"easeOut"},viewport:{once:!0,margin:"-30px"},children:(0,t.jsx)(eb,{item:s,blogPosts:a,isRTL:r,lang:i})})]},s.id))}),(0,t.jsx)(l.motion.div,{className:`absolute -bottom-2 ${r?"right-0 translate-x-1/2":"left-0 -translate-x-1/2"}`,initial:{scale:0,opacity:0}
93,whileInView:{scale:1,opacity:1},transition:{delay:.5,type:"spring"},viewport:{once:!0},children:(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-pahlavi-green/40 ring-2 ring-pahlavi-green/20"})})]}),(0,t.jsxs)("div",{className:"hidden md:block relative",children:[(0,t.jsxs)("div",{className:"absolute left-1/2 top-0 bottom-0 w-[2px] -translate-x-1/2",children:[(0,t.jsx)("div",{className:"h-full bg-gradient-to-b from-transparent via-pahlavi-green/50 to-transparent"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-pahlavi-green/30 to-transparent blur-md"})]}),(0,t.jsx)(l.motion.div,{className:"absolute left-1/2 -top-4 -translate-x-1/2",initial:{scale:0,opacity:0},whileInView:{scale:1,opacity:1},transition:{type:"spring",stiffness:300},viewport:{once:!0},children:(0,t.jsx)("div",{className:"w-4 h-4 rounded-full bg-gradient-to-br from-pahlavi-green to-emerald-500 shadow-lg shadow-pahlavi-green/40 ring-4 ring-pahlavi-green/20"})}),(0,t.jsx)("div",{className:"space-y-0",children:e.map((e,s)=>{let n=s%2==0;return(0,t.jsxs)(l.motion.div,{className:"relative py-6",initial:{opacity:0}
93,whileInView:{opacity:1},transition:{delay:.1*s},viewport:{once:!0,margin:"-50px"},children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-8 lg:gap-16 items-center",children:[(0,t.jsx)(l.motion.div,{className:`${r?"order-2":"order-1"}`,initial:{opacity:0,x:r?40:-40},whileInView:{opacity:+!!n,x:0},transition:{delay:.15*s,duration:.6,ease:"easeOut"},viewport:{once:!0},children:n&&(0,t.jsx)("div",{className:`${r?"pl-8":"pr-8"}`,children:(0,t.jsx)(eb,{item:e,blogPosts:a,isRTL:r,lang:i})})}),(0,t.jsx)(l.motion.div,{className:`${r?"order-1":"order-2"}`,initial:{opacity:0,x:r?-40:40},whileInView:{opacity:+!n,x:0},transition:{delay:.15*s,duration:.6,ease:"easeOut"},viewport:{once:!0},children:!n&&(0,t.jsx)("div",{className:`${r?"pr-8":"pl-8"}`,children:(0,t.jsx)(eb,{item:e,blogPosts:a,isRTL:r,lang:i})})})]}),(0,t.jsxs)(l.motion.div,{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-10",initial:{scale:0},whileInView:{scale:1},transition:{delay:.1*s+.1,type:"spring",stiffness:400,damping:15},viewport:{once:!0},children:[(0,t.jsx)(l.motion.div,{className:"absolute inset-0 w-5 h-5 -m-[2px] rounded-full bg-pahlavi-green/30",animate:{scale:[1,1.6,1],opacity:[.5,0,.5]},transition:{duration:2,repeat:1/0,delay:.2*s}}),(0,t.jsx)("div",{className:"absolute inset-0 w-5 h-5 -m-[2px] rounded-full bg-pahlavi-green/40 blur-sm"}),(0,t.jsx)("div",{className:"w-5 h-5 rounded-full bg-gradient-to-br from-pahlavi-green via-emerald-400 to-pahlavi-green shadow-xl shadow-pahlavi-green/50 ring-4 ring-pahlavi-green/20"}),(0,t.jsx)("div",{className:"absolute top-1 left-1 w-2 h-2 rounded-full bg-white/30"})]})]},e.id)})}),(0,t.jsx)(l.motion.div,{className:"flex justify-center mt-8",initial:{opacity:0,scale:0},whileInView:{opacity:1,scale:1},transition:{delay:.4,type:"spring"},viewport:{once:!0},children:(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-pahlavi-green/50 ring-4 ring-pahlavi-green/15"})})]})]})}e.s(["default",0,function({section:e,blogPosts:r}){let{isRTL:i,lang:s}=(0,o.useTranslations)(),n=i?e.titleFA||e.titleEN:e.titleEN||e.titleFA,d=i?e.subtitleFA||e.subtitleEN:e.subtitleEN||e.subtitleFA,c=(0,a.useMemo)(()=>e.items.filter(e=>e.active),[e.items]);return 0!==c.length||n?(0,t.jsx)("section",{className:"w-full py-12 md:py-20 lg:py-28 overflow-hidden",dir:i?"rtl":"ltr",children:(0,t.jsx)("div",{className:"w-full px-4 md:px-8 lg:px-12",children:(0,t.jsxs)(l.motion.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},transition:{duration:1,ease:"easeOut"},viewport:{once:!0},className:"relative w-full rounded-3xl overflow-hidden bg-gradient-to-br from-slate-50 via-white to-slate-100 dark:from-[#001a33] dark:via-[#002244] dark:to-[#000d1a] border border-slate-200/60 dark:border-transparent shadow-xl dark:shadow-2xl",children:[(0,t.jsx)(l.motion.div,{className:"absolute -top-40 -left-40 w-96 h-96 rounded-full blur-3xl bg-gradient-radial from-pahlavi-green/15 to-transparent dark:from-pahlavi-green/25 dark:to-transparent",animate:{scale:[1,1.2,1],x:[0,30,0],y:[0,20,0]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),(0,t.jsx)(l.motion.div,{className:"absolute -bottom-40 -right-40 w-96 h-96 rounded-full blur-3xl bg-gradient-radial from-pahlavi-red/10 to-transparent dark:from-pahlavi-red/20 dark:to-transparent",animate:{scale:[1.2,1,1.2],x:[0,-30,0],y:[0,-20,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}}),(0,t.jsx)(eg,{}),(0,t.jsxs)("div",{className:"relative z-10 py-12 md:py-20 lg:py-28 px-6 md:px-12 lg:px-16",children:[(n||d)&&(0,t.jsxs)("div",{className:"text-center mb-10 md:mb-14",children:[n&&(0,t.jsxs)(l.motion.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:.3,duration:.6},viewport:{once:!0},className:"relative inline-block",children:[(0,t.jsx)("span",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-black tracking-tight bg-gradient-to-r from-slate-800 via-pahlavi-green to-slate-800 dark:from-white dark:via-emerald-100 dark:to-white bg-clip-text text-transparent",children:n}),(0,t.jsx)(l.motion.div,{className:"absolute -bottom-2 left-1/2 -translate-x-1/2 h-1 rounded-full bg-gradient-to-r from-transparent via-pahlavi-green to-transparent",initial:{width:0},whileInView:{width:"60%"},transition:{delay:.6,duration:.8},viewport:{once:!0}})]}),d&&(0,t.jsx)(l.motion.p,{initial:{opacity:0}
93,whileInView:{opacity:1},transition:{delay:.5},viewport:{once:!0},className:"mt-4 text-lg md:text-xl text-slate-600 dark:text-white/70 max-w-2xl mx-auto",children:d}),e.showCountdown&&e.countdownTarget&&"compact"===e.countdownDisplayStyle&&(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(D,{targetDate:e.countdownTarget,labelEN:e.countdownLabelEN,labelFA:e.countdownLabelFA,isRTL:i})})]}),e.showCountdown&&e.countdownTarget&&"compact"!==e.countdownDisplayStyle&&(0,t.jsx)(_,{targetDate:e.countdownTarget,labelEN:e.countdownLabelEN,labelFA:e.countdownLabelFA,isRTL:i}),"top"===e.hintMessagePosition&&(e.hintMessageEN||e.hintMessageFA)&&(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)(B,{messageEN:e.hintMessageEN,messageFA:e.hintMessageFA,style:e.hintStyle,isRTL:i})}),c.length>0&&(0,t.jsx)(t.Fragment,{children:"timeline"===e.layoutMode?(0,t.jsx)(l.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{delay:.4,duration:.7},viewport:{once:!0},children:(0,t.jsx)(ef,{items:c,blogPosts:r,isRTL:i,lang:s||(i?"fa":"en")})}):(0,t.jsx)(l.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{delay:.4,duration:.7},viewport:{once:!0},className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-6 gap-6 md:gap-8",children:c.map((n,o)=>{let d=n.subItems&&n.subItems.length>0?"md:col-span-2 lg:col-span-6":function(e,t){switch(e){case"full":return"md:col-span-2 lg:col-span-6";case"half":return"md:col-span-1 lg:col-span-3";case"third":return"md:col-span-1 lg:col-span-2";default:if(1===t)return"md:col-span-2 lg:col-span-6";if(2===t)return"md:col-span-1 lg:col-span-3";return"md:col-span-1 lg:col-span-2"}}(n.layoutSize,c.length),m=e.connectorStyle&&"none"!==e.connectorStyle&&o<c.length-1;return(0,t.jsxs)(a.default.Fragment,{children:[(0,t.jsx)(l.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:.1*o},viewport:{once:!0},className:d,children:(0,t.jsx)(eh,{item:n,blogPosts:r,isRTL:i,lang:s||(i?"fa":"en")})}),m&&(0,t.jsx)("div",{className:"col-span-full",children:(0,t.jsx)(eu,{style:e.connectorStyle,isRTL:i})})]},n.id)})})}),("bottom"===e.hintMessagePosition||!e.hintMessagePosition)&&(e.hintMessageEN||e.hintMessageFA)&&(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)(B,{messageEN:e.hintMessageEN,messageFA:e.hintMessageFA,style:e.hintStyle,isRTL:i})}),(0,t.jsxs)(l.motion.div,{initial:{opacity:0}
93,whileInView:{opacity:1},transition:{delay:.8},viewport:{once:!0},className:"mt-12 md:mt-16 flex items-center justify-center gap-4",children:[(0,t.jsx)("div",{className:"w-16 md:w-24 h-px bg-gradient-to-r from-transparent to-pahlavi-green/40"}),(0,t.jsx)(l.motion.div,{animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},className:"w-2 h-2 border border-pahlavi-green/60 rotate-45"}),(0,t.jsx)("div",{className:"w-16 md:w-24 h-px bg-gradient-to-l from-transparent to-pahlavi-green/40"})]})]})]})})}):null}])},871429,e=>{"use strict";var t=e.i(843476),a=e.i(657688),r=e.i(28064),i=e.i(846932),l=e.i(772328),s=e.i(373375),n=e.i(463059),o=e.i(178286),o=o;let d={accountsTitle:"حساب‌های رسمی دفتر ارتباطات و رسانه شاهزاده رضا پهلوی",tvTitle:"تلویزیون انقلاب ملی ایران",live:"پخش زنده",youtube:"یوتیوب",frequencies:"اطلاعات فرکانس‌ها",openIn:(e,t)=>`${e} — ${t} (در پنجره جدید باز می‌شود)`,x:"ایکس",instagram:"اینستاگرام"},c={accountsTitle:"Official accounts of the Office of Communications and Media of Prince Reza Pahlavi",tvTitle:"Iran National Revolution TV",live:"LIVE",youtube:"YouTube",frequencies:"Frequencies & Info",openIn:(e,t)=>`${e} — ${t} (opens in a new window)`,x:"X",instagram:"Instagram"},m=(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",className:"w-5 h-5",children:(0,t.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"})}),x=(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",className:"w-5 h-5",children:(0,t.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 1.366.062 2.633.336 3.608 1.311.975.975 1.249 2.242 1.311 3.608.058 1.266.07 1.646.07 4.85s-.012 3.584-.07 4.85c-.062 1.366-.336 2.633-1.311 3.608-.975.975-2.242 1.249-3.608 1.311-1.266.058-1.646.07-4.85.07s-3.584-.012-4.85-.07c-1.366-.062-2.633-.336-3.608-1.311-.975-.975-1.249-2.242-1.311-3.608C2.175 15.584 2.163 15.204 2.163 12s.012-3.584.07-4.85c.062-1.366.336-2.633 1.311-3.608.975-.975 2.242-1.249 3.608-1.311C8.416 2.175 8.796 2.163 12 2.163zm0 3.965a5.871 5.871 0 1 0 0 11.742 5.871 5.871 0 0 0 0-11.742zm0 1.802a4.069 4.069 0 1 1 0 8.138 4.069 4.069 0 0 1 0-8.138zm6.208-2.14a1.395 1.395 0 1 1 0 2.79 1.395 1.395 0 0 1 0-2.79z"})}),h=(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",className:"w-[18px] h-[18px]",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})}),u=[{id:"x",label:{fa:"ایکس",en:"X"},handle:"@PahlaviComms",url:"https://x.com/PahlaviComms",glyph:m,surface:"bg-gray-900 text-white dark:bg-white/[0.09] dark:ring-1 dark:ring-inset dark:ring-white/[0.16]",surfaceStyle:void 0,tile:"bg-white/10 dark:bg-white/[0.14]",labelTone:"text-white",handleTone:"text-white/45 dark:text-white/50",arrowTone:"text-white/50 dark:text-white/55"},{id:"instagram",label:{fa:"اینستاگرام",en:"Instagram"},handle:"@pahlavicomms",url:"https://www.instagram.com/pahlavicomms/",glyph:x,surface:"text-white",surfaceStyle:{background:"linear-gradient(135deg,#f59e0b 0%,#ec4899 52%,#9333ea 100%)"},tile:"bg-white/20",labelTone:"text-white",handleTone:"text-white/65",arrowTone:"text-white/70"}];e.s(["default",0,function({lang:e}){let m="fa"===e,x="fa"===e?d:c,g=(0,l.useReducedMotion)(),p=m?s.ChevronLeft:n.ChevronRight,b=g?{}:{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,ease:[.22,1,.36,1]}};return(0,t.jsx)("section",{className:"relative",dir:m?"rtl":"ltr",children:(0,t.jsxs)("div",{className:"container-custom space-y-4 my-5",children:[(0,t.jsxs)(i.motion.div,{...b,className:"relative rounded-[28px] overflow-hidden bg-white dark:bg-zinc-900 ring-1 ring-black/[0.06] dark:ring-white/[0.12]",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 dark:hidden",style:{background:"radial-gradient(80% 70% at 50% 0%, rgba(14,43,150,0.05) 0%, transparent 62%)"}}),(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 hidden dark:block",style:{background:"radial-gradient(80% 70% at 50% 0%, rgba(120,145,255,0.10) 0%, transparent 62%)"}}),(0,t.jsxs)("div",{className:"relative flex flex-col lg:flex-row items-center justify-center gap-8 lg:gap-12 px-6 py-8 sm:px-10 sm:py-10",children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-5 sm:gap-6",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"block p-[4px] rounded-full shrink-0",style:{background:"linear-gradient(135deg,#0E2B96 0%,#4f6ad8 50%,#0E2B96 100%)"},children:(0,t.jsx)(a.default,{src:"/images/accounts/x-pahlavicomms.jpg",alt:"",width:264,height:264,className:"w-[116px] h-[116px] sm:w-[132px] sm:h-[132px] rounded-full object-cover ring-[5px] ring-white dark:ring-zinc-900"})}),(0,t.jsx)("h2",{className:"text-[17px] sm:text-[19px] lg:text-[20px] font-black text-gray-900 dark:text-white tracking-tight leading-snug text-center sm:text-start max-w-[280px]",children:x.accountsTitle})]}),(0,t.jsx)("ul",{className:"flex flex-col gap-3 w-full max-w-[320px] lg:w-[300px] list-none p-0 m-0",children:u.map(a=>{let r="fa"===e?a.label.fa:a.label.en;return(0,t.jsx)("li",{children:(0,t.jsxs)("a",{href:a.url,target:"_blank",rel:"noopener noreferrer","aria-label":x.openIn(r,a.handle),style:a.surfaceStyle,className:`group flex items-center gap-3.5 px-5 py-4 rounded-2xl transition-all duration-300 hover:-translate-y-1 hover:shadow-[0_18px_34px_-14px_rgba(0,0,0,0.45)] motion-reduce:hover:translate-y-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-amber-500 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-zinc-900 ${a.surface}`,children:[(0,t.jsx)("span",{"aria-hidden":"true",className:`w-10 h-10 rounded-xl flex items-center justify-center shrink-0 ${a.tile}`,children:a.glyph}),(0,t.jsxs)("span",{className:"flex-1 min-w-0 text-start",children:[(0,t.jsx)("span",{className:`block text-[14px] font-bold ${a.labelTone}`,children:r}),(0,t.jsx)("span",{dir:"ltr",className:`block font-mono text-[11px] truncate ${a.handleTone} ${m?"text-right":"text-left"}`,children:a.handle})]}),(0,t.jsx)(p,{"aria-hidden":"true",className:`w-4 h-4 shrink-0 transition-transform duration-300 group-hover:-translate-x-1 rtl:group-hover:translate-x-1 motion-reduce:transform-none ${a.arrowTone}`})]})},a.id)})})]})]}),(0,t.jsxs)(i.motion.div,{...b,className:"relative rounded-[28px] overflow-hidden bg-white dark:bg-zinc-900 ring-1 ring-black/[0.06] dark:ring-white/10",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 dark:hidden",style:{background:"radial-gradient(80% 90% at 100% 0%, rgba(220,38,38,0.07) 0%, transparent 62%),radial-gradient(70% 90% at 0% 100%, rgba(14,43,150,0.06) 0%, transparent 60%)"}}),(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 hidden dark:block",style:{background:"linear-gradient(150deg,#0b1d5b 0%,#0c0c11 72%),radial-gradient(80% 90% at 100% 0%, rgba(220,38,38,0.26) 0%, transparent 62%)"}}),(0,t.jsxs)("div",{className:"relative flex flex-col lg:flex-row items-center justify-center lg:justify-between gap-6 px-6 py-8 sm:px-10",children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-4",children:[(0,t.jsx)("span",{className:"w-16 h-16 rounded-2xl overflow-hidden ring-1 ring-black/10 dark:ring-white/15 shrink-0",style:{backgroundColor:"#0b1d5b"},children:(0,t.jsx)(a.default,{src:"/images/tv-logo.png",alt:"",width:128,height:128,className:"w-full h-full object-contain p-1"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("h2",{className:"text-[18px] sm:text-[20px] font-black text-gray-900 dark:text-white tracking-tight",children:x.tvTitle}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 px-2 py-1 rounded-full bg-red-50 dark:bg-red-500/20 ring-1 ring-red-500/25 dark:ring-red-500/35 shrink-0",children:[(0,t.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-red-500","aria-hidden":"true"}),(0,t.jsx)("span",{className:`text-[9px] font-black text-red-600 dark:text-red-300 ${m?"":"tracking-[0.12em]"}`,children:x.live})]})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-wrap justify-center",children:[(0,t.jsxs)("a",{href:"https://www.youtube.com/@IranNRTV",target:"_blank",rel:"noopener noreferrer","aria-label":x.openIn(x.youtube,"@IranNRTV"),className:"inline-flex items-center gap-2.5 px-6 py-3 rounded-full bg-red-600 text-white text-[14px] font-bold transition-transform duration-300 hover:-translate-y-0.5 motion-reduce:transform-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-red-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-zinc-900",children:[h,(0,t.jsx)("span",{className:"text-white",children:x.youtube})]}),(0,t.jsxs)(r.default,{href:`/${e}/iran-national-revolution-tv`,className:"inline-flex items-center gap-2.5 px-6 py-3 rounded-full bg-gray-100 text-gray-900 ring-1 ring-black/[0.08] hover:bg-gray-200 dark:bg-white/[0.08] dark:text-white dark:ring-white/15 dark:hover:bg-white/[0.14] text-[14px] font-bold transition-transform duration-300 hover:-translate-y-0.5 motion-reduce:transform-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-500 dark:focus-visible:ring-white/60 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-zinc-900",children:[(0,t.jsx)(o.default,{className:"w-[17px] h-[17px] text-gray-500 dark:text-white/70",strokeWidth:1.8,"aria-hidden":"true"}),(0,t.jsx)("span",{className:"text-gray-900 dark:text-white",children:x.frequencies})]})]})]})]})]})})}],871429)}]);

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.