(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,344575,e=>{"use strict";let t=(0,e.i(475254).default)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["default",()=>t])},729065,e=>{"use strict";var t=e.i(843476),o=e.i(271645),r=e.i(344575),r=r,a=e.i(167881),l=e.i(985728);e.s(["ScrollToTop",0,()=>{let{t:e}=(0,l.useLanguage)(),[i,s]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=()=>{window.scrollY>400?s(!0):s(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsx)(a.Button,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:`
        fixed bottom-24 md:bottom-32 right-8 md:right-10 z-40 rounded-full 
        w-10 h-10 md:w-12 md:h-12 p-0 
        shadow-xl transition-all duration-300 
        bg-secondary hover:bg-secondary/90 text-secondary-foreground border-2 border-primary/20
        ${i?"opacity-100 translate-y-0":"opacity-0 translate-y-16 pointer-events-none"}
      `,"aria-label":e("العودة للأعلى","Scroll to top"),children:(0,t.jsx)(r.default,{className:"w-4 h-4 md:w-5 md:h-5"})})}],729065)},227236,e=>{e.n(e.i(729065))}]);