module.exports=[40163,a=>{"use strict";a.s(["default",()=>f],40163);var b=a.i(87924),c=a.i(46271),d=a.i(42343);function e(a){return(0,d.GenIcon)({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M464 720a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"},child:[]}]})(a)}let f=({Arabic:a,message:d,onConfirm:f,onCancel:g,children:h})=>(0,b.jsx)(c.motion.div,{className:"fixed inset-0 flex items-center justify-center bg-black/40 z-50 backdrop-blur-sm",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},onClick:g,children:(0,b.jsxs)(c.motion.div,{className:"bg-white rounded-2xl shadow-2xl p-8 w-[90%] max-w-md text-center relative overflow-hidden",initial:{scale:.8,opacity:0,y:30},animate:{scale:1,opacity:1,y:0},exit:{scale:.8,opacity:0,y:30},transition:{duration:.4,type:"spring",stiffness:120,damping:15},onClick:a=>a.stopPropagation(),children:[(0,b.jsx)(c.motion.div,{className:"flex items-center justify-center mb-6",initial:{scale:0},animate:{scale:[0,1.2,1],rotate:[0,10,0]},transition:{duration:.6},children:(0,b.jsx)(e,{className:"text-yellow-500 drop-shadow-md",size:80})}),(0,b.jsx)(c.motion.p,{className:"text-xl font-medium text-gray-800 mb-6",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.2,duration:.4},children:d}),h||(0,b.jsxs)("div",{className:"flex justify-center gap-4",children:[f&&(0,b.jsx)(c.motion.button,{onClick:f,className:"px-6 py-3 rounded-lg bg-red-600 text-white font-medium shadow-md hover:bg-red-700 transition-all",whileHover:{scale:1.05},whileTap:{scale:.95},children:a?"تأكيد":"Confirm"}),g&&(0,b.jsx)(c.motion.button,{onClick:g,className:"px-6 py-3 rounded-lg bg-gray-200 text-gray-700 font-medium shadow-md hover:bg-gray-300 transition-all",whileHover:{scale:1.05},whileTap:{scale:.95},children:a?"إلغاء":"Cancel"})]}),(0,b.jsx)(c.motion.div,{className:"absolute -bottom-10 -right-10 w-40 h-40 bg-yellow-100 rounded-full opacity-30 blur-2xl",animate:{scale:[1,1.2,1],opacity:[.2,.4,.2]},transition:{repeat:1/0,duration:3}})]})})}];

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