import{r as v,j as e}from"./index-x-IbNx01.js";import{W as j,S as N}from"./SearchModal-Bnx9hCMB.js";import{S as k}from"./search-CiMed_5s.js";import{S as y,C}from"./AppContent-OZvJ19iO.js";import{U as S}from"./user-DuZcmvXH.js";import"./arrow-right-BIb2kQ4e.js";import"./file-text-DT8Zjg4-.js";import"./book-open-DNKNWzUh.js";const L="https://wskekruygyqiuhqtbbgg.supabase.co/storage/v1/object/sign/PlayXO%20Content/Logged%20out%20pages/Logo/PlaysXO%20Logo.png?token=eyJraWQiOiJzdG9yYWdlLXVybC1zaWduaW5nLWtleV80NjFmYzA1Ny0wOGEyLTQxMWYtYWViYy1hNDdlNmU5Njg3Y2IiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJQbGF5WE8gQ29udGVudC9Mb2dnZWQgb3V0IHBhZ2VzL0xvZ28vUGxheXNYTyBMb2dvLnBuZyIsImlhdCI6MTc2MjI2MjkyNCwiZXhwIjoxOTE5OTQyOTI0fQ.q6kmiNBsDvQyCAjWMTjFbjBb2SvhtH9PnQqkcNi9PPg";function A({onBackToHome:n,onNavigateToRelationships:h,onNavigateToSex:c,onNavigateToSensualWellness:x,onNavigateToHealth:p,onNavigateToSexualHealth:I,onNavigateToMembership:d,onNavigateToShop:m,onNavigateToArtGallery:W,onGetStarted:b,onLogin:a,onNavigate:i,currentPage:l,isComingSoonMode:g=!1,isMaintenanceMode:u=!1}){const[w,r]=v.useState(!1),f=t=>{i&&i(t)},o=[{label:"Relationships",shortLabel:"Relationships",onClick:()=>h?.(),active:l==="relationships"},{label:"Sex",shortLabel:"Sex",onClick:()=>c?.(),active:l==="sex"},{label:"Sensual Wellness",shortLabel:"Wellness",onClick:()=>x?.(),active:l==="sensual-wellness"},{label:"Health",shortLabel:"Health",onClick:()=>p?.(),active:l==="health"},{label:"Shop",shortLabel:"Shop",onClick:()=>m?.(),active:l==="shop"},{label:"Membership",shortLabel:"Members",onClick:()=>d?.(),active:l==="membership"}];return e.jsxs("div",{className:"fixed top-0 left-0 right-0 z-50 bg-black/80 backdrop-blur-xl",children:[e.jsxs("div",{className:"max-w-[1800px] mx-auto pl-4 pr-6 h-24 flex items-center gap-3",children:[e.jsx("button",{onClick:n,className:"flex-shrink-0 hover:opacity-80 transition-opacity flex items-center",children:e.jsx("img",{src:L,alt:"PlaysXO",className:"h-[100px] w-auto"})}),e.jsx("nav",{className:"hidden md:flex items-center gap-1.5 lg:gap-2 xl:gap-3 flex-1 mr-4 lg:mr-6 xl:mr-8",children:o.map((t,s)=>e.jsxs("button",{onClick:t.onClick,className:`px-3 lg:px-4 xl:px-6 py-2.5 rounded-full font-medium transition-all duration-300 text-sm lg:text-base whitespace-nowrap ${t.active?"bg-white text-black":"bg-transparent text-white/70 hover:text-white hover:bg-white/5 border border-white/20"}`,children:[e.jsx("span",{className:"hidden lg:inline",children:t.label}),e.jsx("span",{className:"inline lg:hidden",children:t.shortLabel})]},s))}),e.jsxs("div",{className:"flex items-center gap-2 lg:gap-3 xl:gap-4 ml-auto flex-shrink-0",children:[e.jsx("button",{onClick:()=>r(!0),className:"w-10 h-10 rounded-full hover:bg-white/5 flex items-center justify-center text-white/70 hover:text-white transition-colors",children:e.jsx(k,{className:"w-5 h-5"})}),u?e.jsxs("button",{className:"px-4 lg:px-5 xl:px-6 py-2.5 text-sm lg:text-base rounded-full bg-orange-600 hover:bg-orange-700 text-white transition-all duration-300 hover:scale-105 whitespace-nowrap flex items-center gap-2 cursor-default",children:[e.jsx(j,{className:"w-4 h-4"}),"Maintenance"]}):g?e.jsxs("button",{className:"px-4 lg:px-5 xl:px-6 py-2.5 text-sm lg:text-base rounded-full bg-purple-600 hover:bg-purple-700 text-white transition-all duration-300 hover:scale-105 whitespace-nowrap flex items-center gap-2 cursor-default",children:[e.jsx(y,{className:"w-4 h-4"}),"Coming Soon"]}):a?e.jsxs("div",{className:"flex items-center gap-2 lg:gap-3",children:[e.jsx("button",{onClick:a,className:"hidden lg:block px-4 lg:px-5 xl:px-6 py-2.5 text-sm lg:text-base text-white/80 hover:text-white transition-colors rounded-full hover:bg-white/5 border border-white/20 whitespace-nowrap",children:"Sign In"}),e.jsx("button",{onClick:b,className:"px-4 lg:px-5 xl:px-6 py-2.5 text-sm lg:text-base rounded-full bg-[#A00008] hover:bg-[#A00008]/90 text-white transition-all duration-300 hover:scale-105 whitespace-nowrap",children:"Get Started"})]}):e.jsxs("button",{className:"flex items-center gap-2 px-4 py-2 rounded-full hover:bg-white/5 transition-colors border border-white/20",children:[e.jsx("div",{className:"w-8 h-8 rounded-full bg-gradient-to-br from-[#A00008] to-pink-600 flex items-center justify-center",children:e.jsx(S,{className:"w-4 h-4 text-white"})}),e.jsx("span",{className:"hidden xl:block text-white text-sm font-medium",children:"Guest"}),e.jsx(C,{className:"w-4 h-4 text-white/50 hidden xl:block"})]})]})]}),e.jsx("div",{className:"md:hidden pb-4",children:e.jsx("div",{className:"flex gap-2 overflow-x-auto scrollbar-hide px-6 snap-x snap-mandatory scroll-pl-6 scroll-pr-6",children:o.map((t,s)=>e.jsx("button",{onClick:t.onClick,className:`flex-shrink-0 px-5 py-2 rounded-full transition-all duration-300 text-sm snap-start ${t.active?"bg-white text-black":"text-white/70 hover:text-white bg-transparent border border-white/20"}`,children:t.shortLabel},s))})}),e.jsx(N,{isOpen:w,onClose:()=>r(!1),onNavigate:f})]})}export{A as InfoPageHeader};