import{d as e,n as t,o as n,r,t as i}from"./createLucideIcon-P71pXhjD.js";import{t as a}from"./arrow-right-fno8yWQM.js";import{t as o}from"./map-KhDEpAgW.js";import{u as s}from"./app-AaPQHUQ2.js";var c=i(`BadgeCheck`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),l=i(`Menu`,[[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`,key:`1e0a9i`}],[`line`,{x1:`4`,x2:`20`,y1:`6`,y2:`6`,key:`1owob3`}],[`line`,{x1:`4`,x2:`20`,y1:`18`,y2:`18`,key:`yk5zj1`}]]),u=r(),d=t();function f(t){let r=(0,u.c)(31),{transparent:i}=t,c=i!==void 0&&i,{auth:f}=e().props,p=`relative z-30 border-b ${c?`border-white/10 bg-[#153b32]/90 text-white backdrop-blur-xl`:`border-[#d9ded8] bg-[#f7f6f0]/90 text-[#17332b] backdrop-blur-xl`}`,m=`flex size-10 items-center justify-center rounded-xl text-base font-bold ${c?`bg-[#f0b28c] text-[#17332b]`:`bg-[#1f684f] text-white`}`,h;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsx)(s,{className:`size-5`}),r[0]=h):h=r[0];let g;r[1]===m?g=r[2]:(g=(0,d.jsx)(`div`,{className:m,children:h}),r[1]=m,r[2]=g);let _;r[3]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,d.jsx)(`p`,{className:`text-lg leading-none font-semibold tracking-tight`,children:`Lotea`}),r[3]=_):_=r[3];let v=`mt-1 text-[9px] font-semibold tracking-[0.2em] uppercase ${c?`text-white/60`:`text-[#6c7b75]`}`,y;r[4]===v?y=r[5]:(y=(0,d.jsxs)(`div`,{children:[_,(0,d.jsx)(`p`,{className:v,children:`Terrenos seleccionados`})]}),r[4]=v,r[5]=y);let b;r[6]!==g||r[7]!==y?(b=(0,d.jsxs)(n,{href:`/`,className:`flex items-center gap-3`,children:[g,y]}),r[6]=g,r[7]=y,r[8]=b):b=r[8];let x;r[9]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,d.jsx)(`nav`,{className:`hidden items-center gap-7 text-sm font-medium lg:flex`,children:(0,d.jsx)(n,{href:`/#desarrollos`,className:`transition hover:opacity-65`,children:`Desarrollos`})}),r[9]=x):x=r[9];let S=`hidden items-center gap-2 rounded-xl px-4 py-2.5 text-sm font-semibold sm:inline-flex ${c?`bg-white text-[#17332b]`:`bg-[#17332b] text-white`}`,C;r[10]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,d.jsx)(o,{className:`size-4`}),r[10]=C):C=r[10];let w;r[11]===S?w=r[12]:(w=(0,d.jsxs)(n,{href:`/explorador-3d`,className:S,children:[C,`Explorar en 3D`]}),r[11]=S,r[12]=w);let T=f.user?f.user.role===`admin`?`/admin`:`/mi-cuenta`:`/login`,E=`hidden items-center gap-2 rounded-xl px-3 py-2.5 text-sm font-semibold md:inline-flex ${c?`text-white/85`:`text-[#38564c]`}`,D=f.user?`Panel`:`Acceso profesional`,O;r[13]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,d.jsx)(a,{className:`size-4`}),r[13]=O):O=r[13];let k;r[14]!==T||r[15]!==E||r[16]!==D?(k=(0,d.jsxs)(n,{href:T,className:E,children:[D,O]}),r[14]=T,r[15]=E,r[16]=D,r[17]=k):k=r[17];let A=`flex size-10 items-center justify-center rounded-xl lg:hidden ${c?`bg-white/10`:`bg-white`}`,j;r[18]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,d.jsx)(l,{className:`size-5`}),r[18]=j):j=r[18];let M;r[19]===A?M=r[20]:(M=(0,d.jsx)(n,{href:`/explorador-3d`,"aria-label":`Abrir el plano interactivo`,className:A,children:j}),r[19]=A,r[20]=M);let N;r[21]!==w||r[22]!==k||r[23]!==M?(N=(0,d.jsxs)(`div`,{className:`flex items-center gap-2`,children:[w,k,M]}),r[21]=w,r[22]=k,r[23]=M,r[24]=N):N=r[24];let P;r[25]!==N||r[26]!==b?(P=(0,d.jsxs)(`div`,{className:`mx-auto flex h-18 max-w-7xl items-center justify-between px-5 lg:px-8`,children:[b,x,N]}),r[25]=N,r[26]=b,r[27]=P):P=r[27];let F;return r[28]!==p||r[29]!==P?(F=(0,d.jsx)(`header`,{className:p,children:P}),r[28]=p,r[29]=P,r[30]=F):F=r[30],F}export{c as n,f as t};