(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58154,2315,e=>{"use strict";var a=e.i(43476),t=e.i(33372),r=e.i(26200),s=e.i(5948),l=e.i(94229),n=e.i(33550);let o=(0,n.default)("outline","chevron-down","ChevronDown",[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]]);e.s(["IconChevronDown",0,o],2315);let i=(0,n.default)("outline","world","World",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]]);var d=e.i(61745),h=e.i(20133);e.s(["default",0,()=>{let e=(0,d.useLocale)(),n=(0,h.useRouter)(),c=(0,h.usePathname)();return(0,a.jsxs)(s.Menu,{shadow:"md",width:200,children:[(0,a.jsx)(s.Menu.Target,{children:(0,a.jsxs)(t.Button,{variant:"subtle",c:"white",className:"nav-item bg-transparent hover:bg-[rgba(251,207,10,0.1)] transition-all duration-300 ease-in-out relative overflow-hidden group text-white hover:text-white",leftSection:(0,a.jsx)(i,{size:18}),rightSection:(0,a.jsx)(o,{size:16}),children:[(0,a.jsx)("span",{className:"relative z-10 font-medium text-base",children:"ar"===e?"العربية":"English"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-500"})]})}),(0,a.jsx)(s.Menu.Dropdown,{className:"backdrop-blur-[25px] border border-white/20 shadow-[0_8px_32px_rgba(0,0,0,0.2)]",style:{background:"rgba(255, 255, 255, 0.95)"},children:[{code:"en",label:"English",flag:""},{code:"ar",label:"العربية",flag:""}].map(t=>(0,a.jsx)(s.Menu.Item,{onClick:()=>{var e;return e=t.code,void n.replace(c,{locale:e})},disabled:e===t.code,className:"text-black hover:!bg-[rgba(251,207,10,0.1)] transition-colors duration-200",children:(0,a.jsxs)(r.Group,{gap:"sm",children:[(0,a.jsx)(l.Text,{children:t.flag}),(0,a.jsx)(l.Text,{children:t.label})]})},t.code))})]})}],58154)}]);