module.exports=[63024,a=>{"use strict";a.s(["default",()=>f]);var b=a.i(87924),c=a.i(32886),d=a.i(38246),e=a.i(46271);let f=({data:a})=>{let f="ar"===(0,c.useLocale)();return(0,b.jsxs)(e.motion.section,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"w-full px-16 py-10 h-[200px] cc bg-gradient-to-r from-[#2F537D] to-[#1d3f83] relative overflow-hidden",children:[(0,b.jsx)(e.motion.div,{className:"absolute inset-0 bg-[radial-gradient(circle_at_30%_30%,rgba(255,255,255,0.1),transparent_60%)]",animate:{backgroundPosition:["0% 0%","100% 100%","0% 0%"]},transition:{duration:10,repeat:1/0,ease:"linear"}}),(0,b.jsxs)(e.motion.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.3,duration:.6},className:"relative text-sm md:text-md text-white font-medium",children:[(0,b.jsx)(d.default,{className:"hover:text-blue-200 duration-200",href:"/",children:f?"الرئيسية":"Home Page"})," ","/",a.title]}),(0,b.jsx)(e.motion.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5,duration:.8},className:"relative text-2xl max-md:text-2xl max-md:font-bold md:text-5xl font-[500] text-white mt-3 drop-shadow-md",children:a.title})]})}},15824,a=>{"use strict";a.s(["default",()=>c]);var b=a.i(87924);let c=({tabs:a,activeTab:c,onTabChange:d,Arabic:e=!1})=>{let f=a.findIndex(a=>a.key===c),g=100/a.length;return(0,b.jsxs)("div",{className:"w-full flex flex-col items-center mb-6",children:[(0,b.jsx)("div",{className:"w-full flex justify-center gap-5",children:a.map(a=>{let e=c===a.key;return(0,b.jsx)("button",{onClick:()=>d(a.key),className:`w-full h-12 rounded-2xl cursor-pointer transition-all duration-300 
                ${e?"bg-[#DAE5F1] text-[#2F537D]":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:a.label},a.key)})}),(0,b.jsx)("div",{className:"relative w-full h-[4px] mt-2 rounded-full overflow-hidden bg-[#DAE5F1]",children:(0,b.jsx)("div",{className:"absolute top-0 h-full rounded-full transition-all duration-500 ease-in-out",style:{[e?"right":"left"]:`${f*g}%`,width:`${g}%`,background:e?"linear-gradient(to left, #2F537D 0%, #2F537D 100%, #DAE5F1 50%, #DAE5F1 100%)":"linear-gradient(to right, #2F537D 0%, #2F537D 50%, #DAE5F1 50%, #DAE5F1 100%)"}})})]})}},5666,a=>{"use strict";a.s(["default",()=>f]);var b=a.i(87924),c=a.i(32886),d=a.i(72131),e=a.i(8560);let f=({placeholder:a,onSearch:f})=>{let g="ar"===(0,c.useLocale)(),[h,i]=(0,d.useState)("");return(0,b.jsxs)("div",{className:"flex items-center gap-2 w-full",children:[(0,b.jsxs)("div",{className:"relative flex-1",children:[(0,b.jsx)("span",{className:`absolute top-1/2 -translate-y-1/2 text-gray-400 ${g?"right-3":"left-3"}`,children:(0,b.jsx)(e.CiSearch,{size:20})}),(0,b.jsx)("input",{className:`w-full h-10 rounded-xl outline-none border border-gray-200 shadow-sm text-sm ${g?"pr-10 pl-4 text-right":"pl-10 pr-4 text-left"}`,type:"text",placeholder:a||(g?"بحث عن كوبون أو عرض":"Search for coupon or offer"),value:h,onChange:a=>{let b=a.target.value;i(b),f(b)}})]}),(0,b.jsx)("button",{className:"w-10 h-10 rounded-xl bg-[#2F537D] text-white flex items-center justify-center cursor-pointer hover:bg-[#2f537dd1]",onClick:()=>f(h),children:(0,b.jsx)(e.CiSearch,{size:20})})]})}}];

//# sourceMappingURL=src_components_ui_1483f9d6._.js.map