var __gh = require("react").createElement, __gf = require("react").Fragment; var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),__toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var stdin_exports={};__export(stdin_exports,{default:()=>stdin_default,featureConfig:()=>featureConfig});module.exports=__toCommonJS(stdin_exports);var dataSources=[{key:"inmuebles",table:"pms__inmuebles",access:["public:read"],sensitive:["__created_by__","__deleted_at__","__created_at__","__updated_at__","arrendador_razon_social","arrendador_cif","arrendador_direccion","arrendador_iban","arrendador_email","arrendador_telefono","facturacion_reutiliza","firmante_nombre","firmante_rol","firmante_dni","firmante_email","arrendatario_razon_social","arrendatario_nif","arrendatario_direccion","arrendatario_representante","arrendatario_email","arrendatario_telefono","nrua","referencia_catastral","direccion_detalle","checkin_desde","checkin_hasta","checkin_metodo","checkin_metodo__display","checkin_indicaciones","checkout_hora","checkout_indicaciones","comision_pct","precios_mensuales","descuentos","suministros_incluidos","suministros_incluidos__display","suministros_limite","limpieza_incluida","fianza_requerida","modo_reserva","modo_reserva__display","ical_export_token","ical_imports","propietario_id","propietario_id__display","arrendadores","arrendatarios","firmante_tratamiento","aseos"]},{key:"alojamientos",table:"pms__alojamientos",access:[]}];var automations=[{name:"web_solicitud",description:"Recibe solicitudes del formulario de la web p\xFAblica",public:!0},{name:"portal_acceso",description:"\xC1rea privada: datos del propietario o inquilino por email",public:!0},{name:"web_disponibilidad",description:"Buscador flexible: ocupaci\xF3n por alojamiento (sin PII) para calcular disponibilidad por fechas",public:!0}];var import_react15=__toESM(require("react"));var T={inmuebles:"pms__inmuebles",alojamientos:"pms__alojamientos"},toVivienda=inm=>{let ub=inm&&inm.ubicacion||{},items=inm&&inm.fotos&&Array.isArray(inm.fotos.items)?inm.fotos.items.filter(Boolean):[],portada=inm&&inm.foto_portada||items[0]||"",comod=Array.isArray(inm&&inm.comodidades)?inm.comodidades.join(" \xB7 "):String(inm&&inm.comodidades||""),ciudad=String(ub.city||"").split(",")[0].trim(),nHuesp=Number(inm&&inm.num_huespedes||0),nCamas=Number(inm&&inm.camas||0),nSofas=Number(inm&&inm.sofas_cama||0),capacidad=nHuesp>0?nHuesp:nCamas+nSofas||Number(inm&&inm.dormitorios||0)||void 0;return{...inm,id:inm&&inm.id,nombre:inm&&inm.titulo||"Vivienda",foto:portada,fotos_items:items,ciudad,lat:Number(ub.lat),lng:Number(ub.lng),cp:String(ub.postal_code||""),calle:[ub.street,ub.number].filter(Boolean).join(" "),precio_base:inm&&inm.precio_base,mensualidad:inm&&inm.precio_base,habitaciones:inm&&inm.dormitorios,camas:inm&&inm.camas,banos:inm&&inm.banos,capacidad,huespedes:capacidad,tipo:inm&&inm.tipo_alojamiento,direccion:[ub.street,ub.number].filter(Boolean).join(" "),m2:inm&&inm.superficie_m2,amenities:comod,descripcion:inm&&inm.descripcion||"",estado:inm&&inm.estado,referencia:inm&&inm.referencia,publicado:String(inm&&inm.estado&&(inm.estado.value??inm.estado)||"")==="Pausado"?"No":"S\xED"}},FONT_SANS="'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif",FONT_SERIF=FONT_SANS,INK="#1E3444",INK2="#14242F",BODY="#4A5568",MUTED="#636F82",FAINT="#A7B0BE",LINE="#E3E8EF",LINE2="#EDF1F6",PAPER="#FFFFFF",PAPER2="#F4F7FB";var RED="#EA682E",CLAY=RED;var uiToast=(msg,kind="error")=>{if(typeof document>"u")return;let prev=document.getElementById("hw-toast");prev&&prev.remove();let el=document.createElement("div");el.id="hw-toast",el.setAttribute("role","alert"),el.setAttribute("aria-live","assertive"),el.textContent=msg,el.style.cssText=["position:fixed","left:50%","bottom:24px","transform:translateX(-50%)","z-index:2147483000","max-width:min(92vw,420px)","text-align:center",`background:${kind==="error"?"#1E3444":"#0F7B4F"}`,"color:#fff","padding:13px 18px","border-radius:12px",`font:600 14px/1.4 ${FONT_SANS}`,"box-shadow:0 12px 32px rgba(0,0,0,.22)","pointer-events:none"].join(";"),document.body.appendChild(el),window.setTimeout(()=>{el.parentNode&&el.remove()},kind==="error"?6e3:3500)},impuestoTxt=a=>{let v=a&&a.impuesto;return String((v&&typeof v=="object"?v.value??v.label??v.name:v)??"")},llevaIva=a=>/iva/i.test(impuestoTxt(a)),tipoIva=a=>{let m=impuestoTxt(a).match(/(\d+(?:[.,]\d+)?)\s*%/);return m?Number(String(m[1]).replace(",","."))/100:llevaIva(a)?.21:0},ivaNota=a=>llevaIva(a)?"IVA incl.":"";var diaSiguiente=ymd=>{let s=String(ymd||"").slice(0,10);if(!/^\d{4}-\d{2}-\d{2}$/.test(s))return s;let[a,m,d]=s.split("-").map(Number);return new Date(Date.UTC(a,m-1,d+1)).toISOString().slice(0,10)},bloqueosDe=a=>{let pb=a&&a.periodos_bloqueados;return(Array.isArray(pb)?pb:pb&&Array.isArray(pb.items)?pb.items:[]).filter(x=>x&&x.desde&&x.hasta).map(x=>({desde:String(x.desde),hasta:diaSiguiente(String(x.hasta))}))},hoyISO=()=>new Date().toISOString().slice(0,10),intervalosDe=(a,ocupacion)=>{let ext=ocupacion&&Array.isArray(ocupacion[String(a?.id)])?ocupacion[String(a.id)]:[];return[...bloqueosDe(a),...ext]},ocupadaHoyDe=(a,ocupacion)=>{let h=hoyISO();return intervalosDe(a,ocupacion).some(x=>x&&String(x.desde)<=h&&String(x.hasta)>h)},libreDesdeDe=(a,ocupacion)=>{let h=hoyISO();return intervalosDe(a,ocupacion).filter(x=>x&&String(x.desde)<=h&&String(x.hasta)>h).map(x=>String(x.hasta)).sort().pop()||""},estanciaMinDe=a=>{let n=Number(a&&a.estancia_min_dias||0);return Number.isFinite(n)&&n>0?n:0},num=v=>v==null||v===""?0:Number(typeof v=="object"?v.amount??v.value??0:v);var mensualidadDe=a=>Math.round(num(a.precio_base)*(1+tipoIva(a))),OPC_EUR={style:"currency",currency:"EUR",maximumFractionDigits:0,useGrouping:"always"},OPC_NUM={maximumFractionDigits:0,useGrouping:"always"},fmtEur=v=>new Intl.NumberFormat("es-ES",OPC_EUR).format(num(v)),fmtNum=v=>new Intl.NumberFormat("es-ES",OPC_NUM).format(num(v)),amenitiesDe=a=>String(a.amenities||"").split(/·|,|;/).map(s=>s.trim()).filter(Boolean),UNSPLASH_HERO="photo-1600585154340-be6161a56a0c",unsplashSrc=(id,w)=>`https://images.unsplash.com/${id}?w=${w}&q=72&auto=format&fit=crop`,unsplashSrcSet=(id,anchos=[640,960,1400,1920])=>anchos.map(w=>`${unsplashSrc(id,w)} ${w}w`).join(", "),HERO_IMG=unsplashSrc(UNSPLASH_HERO,1400),HERO_SRCSET=unsplashSrcSet(UNSPLASH_HERO),galleryOf=a=>{let reales=Array.isArray(a&&a.fotos_items)?a.fotos_items.filter(Boolean):[];return reales.length?reales.slice(0,12):a&&typeof a.foto=="string"&&a.foto?[a.foto]:[]},pisoSlug=(titulo,id)=>{let base=String(titulo||"").normalize("NFD").replace(/[̀-ͯ]/g,"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,60).replace(/-+$/,"");return base?`${base}-${id}`:String(id)},pisoIdDeSlug=v=>{let s=String(v||"").trim();if(/^\d+$/.test(s))return s;let m=s.match(/-(\d+)$/);return m?m[1]:null};var pisosIdsDeParam=v=>{let out=[];for(let trozo of String(v||"").split(",")){let id=pisoIdDeSlug(trozo);if(id&&out.indexOf(id)===-1&&out.push(id),out.length>=30)break}return out},ymdDeParam=v=>{let s=String(v||"").trim().slice(0,10);if(!/^\d{4}-\d{2}-\d{2}$/.test(s))return"";let[a,m,d]=s.split("-").map(Number),t=new Date(Date.UTC(a,m-1,d));return t.getUTCFullYear()===a&&t.getUTCMonth()===m-1&&t.getUTCDate()===d?s:""},txtCiudad=v=>v==null?"":typeof v=="string"?v:typeof v=="number"?Number.isFinite(v)?String(v):"":String(typeof v=="object"?v.name??v.label??v.value??v.title??v.text??"":v),sinTildes=s=>{let d=String(s||"").normalize("NFD"),out="";for(let i=0;i=768&&c<=879||(out+=d.charAt(i))}return out},ARTICULOS=["a","o","as","os","la","el","las","los"],ciudadKey=v=>{let partes=sinTildes(txtCiudad(v)).toLowerCase().split(" ").filter(Boolean);return partes.length>1&&ARTICULOS.indexOf(partes[0])!==-1&&partes.shift(),partes.join(" ")},etiquetaCiudad=grafias=>{let cuenta=new Map;for(let g of grafias||[]){let t=txtCiudad(g).trim();t&&cuenta.set(t,(cuenta.get(t)||0)+1)}let mejor="",max=-1;for(let[t,n]of cuenta)(n>max||n===max&&(t.length>mejor.length||t.length===mejor.length&&t{let txt7=`Hola, me interesa ${a.nombre} en ${a.ciudad||""} \u2014 desde ${fmtEur(mensualidadDe(a))}/mes. \xBFEst\xE1 disponible?`;return`https://wa.me/34698771205?text=${encodeURIComponent(txt7)}`},scrollToId=id=>{let el=document.getElementById(id);el&&el.scrollIntoView({behavior:"smooth",block:"start"})};async function callAutomation(gufi,name,input={}){if(gufi&&typeof gufi.automation=="function")return await gufi.automation(name,input);let cid=gufi&&gufi.siteInfo&&gufi.siteInfo.company_id||gufi&&gufi.context&&gufi.context.companyId||751,res=await fetch(`/api/public/${cid}/automation/${encodeURIComponent(name)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(input||{})}),json={};try{json=await res.json()}catch{}if(!res.ok||json?.success===!1)throw new Error(json?.error||`Automation '${name}' HTTP ${res.status}`);return json.result}var import_react=require("react"),import_framer_motion=require("framer-motion"),import_lucide_react=require("lucide-react"),import_utils=require("@/shared/lib/utils");var LOGO_LIGHT="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEzNCIgaGVpZ2h0PSIzNjgiIHZpZXdCb3g9IjAgMCAxMTM0IDM2OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwNy42MjQgMzYzLjY2OUMxMDUuODc3IDM2My42NjkgMTA0LjMzMiAzNjIuNTM2IDEwMy44MDggMzYwLjg2OUw1OC42NzQxIDIxNy4yOTdDNTcuODY0IDIxNC43MiA1OS43ODg2IDIxMi4wOTggNjIuNDkgMjEyLjA5OEg3OC4xMTg5Qzc5Ljg1MTUgMjEyLjA5OCA4MS4zODcyIDIxMy4yMTMgODEuOTIyOSAyMTQuODYxTDExNy42OTUgMzI0Ljg3OUMxMTguMTI0IDMyNi4xOTcgMTE3LjA0OCAzMjcuNTE4IDExNS42NyAzMjcuMzY1QzExNC4yNjQgMzI3LjIwOSAxMTMuNTExIDMyNS42MjkgMTE0LjI3NiAzMjQuNDM4TDE3OS40NDggMjIyLjk3OUMxODAuMTg0IDIyMS44MzMgMTgxLjQ1MiAyMjEuMTQxIDE4Mi44MTMgMjIxLjE0MUgxODguMTc1QzE4OS41NjUgMjIxLjE0MSAxOTAuODU1IDIyMS44NjIgMTkxLjU4MyAyMjMuMDQ2TDI1NC4zMzMgMzI1LjA5OEMyNTUuMDc0IDMyNi4zMDQgMjU0LjMwOCAzMjcuODcyIDI1Mi45MDEgMzI4LjAyOEMyNTEuNTA4IDMyOC4xODMgMjUwLjQyIDMyNi44NDggMjUwLjg1MSAzMjUuNTE1TDI4Ni42NjYgMjE0Ljg2NkMyODcuMiAyMTMuMjE2IDI4OC43MzcgMjEyLjA5OCAyOTAuNDcxIDIxMi4wOThIMzA1LjY4M0M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43MTUgMTUyLjg0NiAyMTguNzE1IDE1MC42N1YxMTMuOTQ2QzIxOC43MTUgMTExLjczMiAyMTYuOTE2IDEwOS45MzggMjE0LjcwMSAxMDkuOTQ2TDM1LjkzNTggMTEwLjU4NEMzMy43MzIyIDExMC41OTIgMzEuOTUgMTEyLjM4IDMxLjk1IDExNC41ODRWMTUxLjI1M0MzMS45NSAxNTMuNDYyIDMwLjE1OTIgMTU1LjI1MyAyNy45NSAxNTUuMjUzSDQuNjkwNDNaIiBmaWxsPSIjRUE2ODJFIi8+Cjwvc3ZnPgo=";var EASE=[.22,.61,.36,1],LINKS=[{id:"viviendas",label:"Residencias"},{id:"como-funciona",label:"C\xF3mo funciona"},{id:"propietarios",label:"Propietarios"}];function Wordmark({dark}){return __gh("img",{src:dark?LOGO_DARK:LOGO_LIGHT,alt:"HostWorkers",draggable:!1,className:"block w-auto select-none h-[30px] sm:h-[34px]","data-gufi-src":"components/Nav.tsx:19"})}function Nav({ctx}){let[scrolled,setScrolled]=(0,import_react.useState)(!1),[open,setOpen]=(0,import_react.useState)(!1),panelRef=(0,import_react.useRef)(null),triggerRef=(0,import_react.useRef)(null),{scrollYProgress}=(0,import_framer_motion.useScroll)(),progress=(0,import_framer_motion.useSpring)(scrollYProgress,{stiffness:120,damping:30,mass:.3});(0,import_react.useEffect)(()=>{let onScroll=()=>setScrolled(window.scrollY>16);return onScroll(),window.addEventListener("scroll",onScroll,{passive:!0}),()=>window.removeEventListener("scroll",onScroll)},[]),(0,import_react.useEffect)(()=>{if(!open)return;let prevOverflow=document.body.style.overflow;document.body.style.overflow="hidden";let onResize=()=>{window.innerWidth>=1024&&setOpen(!1)};window.addEventListener("resize",onResize),window.addEventListener("orientationchange",onResize);let getFocusable=()=>{let p=panelRef.current;return p?Array.from(p.querySelectorAll('a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex="-1"])')).filter(el=>el.offsetParent!==null):[]},t=window.setTimeout(()=>getFocusable()[0]?.focus(),40),onKey=e=>{if(e.key==="Escape"){setOpen(!1);return}if(e.key!=="Tab")return;let f=getFocusable();if(f.length===0)return;let first=f[0],last=f[f.length-1];e.shiftKey&&document.activeElement===first?(e.preventDefault(),last.focus()):!e.shiftKey&&document.activeElement===last&&(e.preventDefault(),first.focus())};return document.addEventListener("keydown",onKey),()=>{window.clearTimeout(t),document.removeEventListener("keydown",onKey),window.removeEventListener("resize",onResize),window.removeEventListener("orientationchange",onResize),document.body.style.overflow=prevOverflow,triggerRef.current?.focus()}},[open]);let go=id=>{scrollToId(id),setOpen(!1)};return __gh(__gf,null,__gh(import_framer_motion.motion.header,{initial:{y:-20,opacity:0},animate:{y:0,opacity:1},transition:{duration:.6,ease:EASE},className:(0,import_utils.cn)("fixed top-0 inset-x-0 z-50 transition-all duration-500",scrolled?"bg-white/80 backdrop-blur-xl border-b border-[#E7ECF3] shadow-[0_10px_40px_-30px_rgba(20,36,47,0.45)]":"bg-transparent border-b border-transparent")},__gh("div",{className:(0,import_utils.cn)("max-w-[1240px] mx-auto px-5 sm:px-8 flex items-center justify-between gap-4 transition-all duration-500",scrolled?"h-[64px]":"h-[82px]"),"data-gufi-src":"components/Nav.tsx:112"},__gh("button",{onClick:()=>scrollToId("top"),"aria-label":"Inicio \xB7 HostWorkers",className:"shrink-0 transition-opacity duration-300 hover:opacity-70 min-h-[44px] flex items-center","data-gufi-src":"components/Nav.tsx:122"},__gh(Wordmark,null)),__gh("nav",{className:"hidden lg:flex items-center gap-7 xl:gap-9","data-gufi-src":"components/Nav.tsx:153"},LINKS.map(l=>__gh("button",{key:l.id,onClick:()=>scrollToId(l.id),className:"group relative text-[14px] font-medium py-1 min-h-[44px] flex items-center transition-colors duration-300 hover:text-[#1E3444]",style:{color:BODY},"data-gufi-src":"components/Nav.tsx:155"},l.label,__gh("span",{className:"absolute bottom-2 left-0 h-px w-0 bg-[#1E3444] transition-all duration-300 ease-out group-hover:w-full","data-gufi-src":"components/Nav.tsx:162"})))),__gh("div",{className:"hidden lg:flex shrink-0 items-center gap-5 xl:gap-6","data-gufi-src":"components/Nav.tsx:185"},__gh("button",{onClick:()=>ctx.openPortal(),className:"group inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap text-[13.5px] font-medium min-h-[44px] transition-colors duration-300 hover:text-[#1E3444]",style:{color:BODY},"data-gufi-src":"components/Nav.tsx:186"},__gh(import_lucide_react.Lock,{size:13,strokeWidth:1.9,style:{color:MUTED}})," Portal cliente"),__gh("button",{onClick:()=>ctx.openSolicitud({tipo:"Consulta general"}),className:"inline-flex shrink-0 items-center whitespace-nowrap text-[13.5px] font-medium min-h-[44px] transition-colors duration-300 hover:text-[#1E3444]",style:{color:BODY},"data-gufi-src":"components/Nav.tsx:195"},"Contactar"),__gh("button",{onClick:()=>ctx.openBuscador(),className:"inline-flex shrink-0 items-center gap-2 h-[44px] px-5 xl:px-6 whitespace-nowrap rounded-full text-[13.5px] font-semibold text-white bg-[#1E3444] hover:bg-[#14242F] active:scale-[0.98] transition-all duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444]/30 focus-visible:ring-offset-2","data-gufi-src":"components/Nav.tsx:214"},__gh(import_lucide_react.Search,{size:15,strokeWidth:2.1})," Buscar vivienda")),__gh("button",{ref:triggerRef,className:"lg:hidden w-11 h-11 -mr-2 inline-flex items-center justify-center rounded-xl transition-colors active:bg-[#F4F7FB]",onClick:()=>setOpen(!0),style:{color:INK2},"aria-label":"Abrir men\xFA","aria-haspopup":"dialog","aria-expanded":open,"aria-controls":"remax-mobile-menu","data-gufi-src":"components/Nav.tsx:223"},__gh(import_lucide_react.Menu,{size:22}))),__gh(import_framer_motion.motion.div,{"aria-hidden":!0,className:"absolute bottom-0 left-0 right-0 h-[2px] origin-left transition-opacity duration-300",style:{scaleX:progress,background:INK,opacity:scrolled?.55:0}})),__gh(import_framer_motion.AnimatePresence,null,open&&__gh(import_framer_motion.motion.div,{id:"remax-mobile-menu",ref:panelRef,role:"dialog","aria-modal":"true","aria-label":"Men\xFA de navegaci\xF3n",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:EASE},className:"lg:hidden fixed inset-0 z-[70] bg-white flex flex-col",style:{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)",height:"100dvh"}},__gh("div",{className:"px-5 h-[82px] flex items-center justify-between border-b",style:{borderColor:LINE2},"data-gufi-src":"components/Nav.tsx:266"},__gh(Wordmark,null),__gh("button",{onClick:()=>setOpen(!1),className:"w-11 h-11 -mr-2 inline-flex items-center justify-center rounded-xl transition-colors active:bg-[#F4F7FB]",style:{color:INK2},"aria-label":"Cerrar men\xFA","data-gufi-src":"components/Nav.tsx:268"},__gh(import_lucide_react.X,{size:22}))),__gh("div",{className:"flex-1 overflow-y-auto px-5 pt-4","data-gufi-src":"components/Nav.tsx:288"},LINKS.map((l,i)=>__gh(import_framer_motion.motion.button,{key:l.id,initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.34,delay:.04+i*.05,ease:EASE},onClick:()=>go(l.id),className:"group flex items-center justify-between w-full text-left py-5 border-b",style:{borderColor:LINE2}},__gh("span",{className:"text-[26px] font-light tracking-[-0.02em] transition-colors duration-300 group-hover:text-[#1E3444]",style:{fontFamily:FONT_SERIF,color:INK2},"data-gufi-src":"components/Nav.tsx:299"},l.label),__gh(import_lucide_react.ArrowRight,{size:18,className:"opacity-30 transition-transform duration-300 group-hover:translate-x-1",style:{color:INK}})))),__gh(import_framer_motion.motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.36,delay:.04+LINKS.length*.05,ease:EASE},className:"px-5 pt-4 pb-6 border-t",style:{borderColor:LINE2}},__gh("button",{onClick:()=>{ctx.openBuscador(),setOpen(!1)},className:"flex items-center justify-center gap-2 w-full h-[54px] rounded-full text-white text-[15px] font-semibold bg-[#1E3444] hover:bg-[#14242F] active:scale-[0.99] transition-all","data-gufi-src":"components/Nav.tsx:319"},__gh(import_lucide_react.Search,{size:16,strokeWidth:2.1})," Buscar vivienda"),__gh("button",{onClick:()=>{ctx.openSolicitud({tipo:"Consulta general"}),setOpen(!1)},className:"flex items-center justify-center gap-2 w-full h-[54px] mt-2.5 rounded-full text-[15px] font-semibold bg-white border transition-colors hover:bg-[#F4F7FB]",style:{color:INK2,borderColor:LINE},"data-gufi-src":"components/Nav.tsx:325"},"Contactar"),__gh("button",{onClick:()=>{ctx.openPortal(),setOpen(!1)},className:"flex items-center justify-center gap-2 w-full h-[46px] mt-1.5 text-[14px] font-medium transition-colors hover:text-[#1E3444]",style:{color:BODY},"data-gufi-src":"components/Nav.tsx:332"},__gh(import_lucide_react.Lock,{size:13,strokeWidth:1.9,style:{color:MUTED}})," Portal cliente"),__gh("p",{className:"pt-3 text-center text-[12.5px]",style:{color:MUTED},"data-gufi-src":"components/Nav.tsx:339"},"Atenci\xF3n personalizada \xB7 +34 698 771 205")))))}var import_react2=__toESM(require("react")),import_framer_motion2=require("framer-motion"),import_lucide_react2=require("lucide-react");var EASE2=[.22,.61,.36,1],R_IMG=18,R_CARD=18,CSS_HERO='.hw-fecha input[type="date"]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}';function Hero({ctx}){let ciudades=import_react2.default.useMemo(()=>{let m=new Map;for(let a of ctx.alojamientos||[]){let c=txtCiudad(a?.ciudad);if(!c)continue;let k=ciudadKey(c);k&&(m.get(k)||m.set(k,[]).get(k)).push(c)}let out=[];return m.forEach((grafias,key)=>out.push({key,label:etiquetaCiudad(grafias)})),out.sort((x,y)=>x.label.localeCompare(y.label,"es"))},[ctx.alojamientos]);(0,import_react2.useEffect)(()=>{if(typeof document>"u")return;let id="hw-hero-css";if(document.getElementById(id))return;let st=document.createElement("style");st.id=id,st.textContent=CSS_HERO,document.head.appendChild(st)},[]);let set=(k,v)=>ctx.setBusqueda(b=>({...b,[k]:v})),keySel=ciudadKey(ctx.busqueda.ciudad),setCiudadPorKey=k=>{let e=ciudades.find(c=>c.key===k);set("ciudad",e?e.label:"")};return __gh("section",{id:"top",className:"relative overflow-hidden bg-white","data-gufi-src":"components/Hero.tsx:86"},__gh("div",{className:"relative max-w-[1240px] mx-auto px-5 sm:px-8 pt-[104px] sm:pt-[128px] pb-16 sm:pb-24","data-gufi-src":"components/Hero.tsx:87"},__gh(import_framer_motion2.motion.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6,ease:EASE2},className:"text-[11px] font-semibold uppercase tracking-[0.28em]",style:{color:MUTED}},"Alquiler de temporada"),__gh(import_framer_motion2.motion.h1,{initial:{opacity:0,y:18},animate:{opacity:1,y:0},transition:{duration:.8,delay:.05,ease:EASE2},className:"mt-5 sm:mt-6 max-w-[15ch] sm:max-w-[16ch]",style:{fontFamily:FONT_SERIF,fontSize:"clamp(2.45rem, 1.4rem + 4.3vw, 4.4rem)",lineHeight:1.02,letterSpacing:"-0.04em"}},__gh("span",{className:"block font-extrabold",style:{color:INK2},"data-gufi-src":"components/Hero.tsx:110"},"Un hogar preparado"),__gh("span",{className:"block font-light",style:{color:INK},"data-gufi-src":"components/Hero.tsx:111"},"para cada temporada.")),__gh(import_framer_motion2.motion.p,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.8,delay:.12,ease:EASE2},className:"mt-5 max-w-[560px] text-[16px] sm:text-[18px] leading-[1.6] font-normal",style:{color:BODY}},"Pisos visitados en persona y listos para entrar, para estancias de meses. Contrato, llaves y gesti\xF3n \u2014 de principio a fin con HostWorkers."),__gh(import_framer_motion2.motion.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.7,delay:.2,ease:EASE2},role:"search","aria-label":"Buscar residencia",className:"mt-8 sm:mt-9 max-w-[980px] bg-white border p-2 sm:p-2.5 flex flex-col sm:flex-row items-stretch gap-1 transition-colors duration-300 focus-within:border-[#1E3444]/40",style:{borderRadius:R_CARD,borderColor:LINE,boxShadow:"0 18px 44px -34px rgba(20,36,47,0.45)"}},__gh(Field,{icon:import_lucide_react2.MapPin,label:"Ciudad",select:!0},__gh("select",{value:keySel,onChange:e=>setCiudadPorKey(e.target.value),"aria-label":"Ciudad",className:"w-full bg-transparent text-[16px] sm:text-[15px] font-semibold outline-none cursor-pointer appearance-none pr-5",style:{color:INK2},"data-gufi-src":"components/Hero.tsx:144"},__gh("option",{value:"","data-gufi-src":"components/Hero.tsx:151"},"Cualquier ciudad"),ciudades.map(c=>__gh("option",{key:c.key,value:c.key,"data-gufi-src":"components/Hero.tsx:152"},c.label)))),__gh(Divider,null),__gh(Field,{icon:import_lucide_react2.CalendarDays,label:"Entrada",className:"hw-fecha"},__gh("input",{type:"date",value:ctx.busqueda.entrada,onChange:e=>set("entrada",e.target.value),"aria-label":"Fecha de entrada",className:"w-full bg-transparent text-[16px] sm:text-[15px] font-semibold outline-none",style:{color:INK2},"data-gufi-src":"components/Hero.tsx:157"})),__gh(Divider,null),__gh(Field,{icon:import_lucide_react2.Clock,label:"Estancia",select:!0},__gh("select",{value:ctx.busqueda.meses,onChange:e=>set("meses",e.target.value),"aria-label":"Duraci\xF3n de la estancia",className:"w-full bg-transparent text-[16px] sm:text-[15px] font-semibold outline-none cursor-pointer appearance-none pr-5",style:{color:INK2},"data-gufi-src":"components/Hero.tsx:168"},__gh("option",{value:"","data-gufi-src":"components/Hero.tsx:175"},"Meses"),[1,2,3,6,9,12].map(m=>__gh("option",{key:m,value:m,"data-gufi-src":"components/Hero.tsx:176"},m," ",m===1?"mes":"meses")))),__gh("button",{onClick:()=>ctx.openBuscador(),"aria-label":"Buscar residencias",className:"shrink-0 min-h-[52px] sm:min-h-[56px] px-7 flex items-center justify-center gap-2 text-white text-[16px] sm:text-[15px] font-semibold bg-[#EA682E] hover:bg-[#CF5A26] active:scale-[0.995] transition-colors duration-300",style:{borderRadius:R_CARD-6},"data-gufi-src":"components/Hero.tsx:179"},__gh(import_lucide_react2.Search,{size:17,strokeWidth:2.2})," Buscar")),__gh(import_framer_motion2.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3,ease:EASE2},className:"mt-6 sm:mt-7 flex flex-wrap items-center gap-x-7 gap-y-3"},__gh(Stat,{value:`${ctx.alojamientos.length||"\u2014"}`,label:"residencias"}),__gh("span",{className:"hidden sm:block w-px h-6",style:{background:LINE},"data-gufi-src":"components/Hero.tsx:198"}),__gh(Stat,{value:`${ciudades.length||"\u2014"}`,label:"ciudades"}),__gh("button",{onClick:()=>scrollToId("viviendas"),className:"group inline-flex items-center gap-1.5 text-[14px] font-semibold w-full sm:w-auto sm:ml-auto min-h-[44px] transition-opacity duration-300 hover:opacity-60",style:{color:INK},"data-gufi-src":"components/Hero.tsx:203"},"Ver la colecci\xF3n",__gh(import_lucide_react2.ArrowRight,{size:16,strokeWidth:2.1,className:"transition-transform duration-300 group-hover:translate-x-1"}))),__gh(import_framer_motion2.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.9,delay:.38,ease:EASE2},className:"relative mt-10 sm:mt-14 overflow-hidden",style:{borderRadius:R_IMG}},__gh("img",{src:HERO_IMG,srcSet:HERO_SRCSET,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 92vw, 1180px",fetchPriority:"high",decoding:"async",alt:"",className:"w-full h-[230px] sm:h-[300px] lg:h-[340px] object-cover","data-gufi-src":"components/Hero.tsx:226"}),__gh("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 ring-1 ring-inset ring-black/[0.07]",style:{borderRadius:R_IMG},"data-gufi-src":"components/Hero.tsx:235"}))))}function Field({icon:Icon,label,children,select,className}){return __gh("label",{className:["group relative flex-1 flex items-center gap-3 px-4 sm:px-5 py-2.5 min-h-[56px] rounded-[12px]","hover:bg-[#F4F7FB] focus-within:bg-[#F4F7FB] transition-colors cursor-pointer min-w-0",className||""].join(" "),"data-gufi-src":"components/Hero.tsx:252"},__gh(Icon,{size:17,className:"shrink-0 text-[#7A8699] transition-colors duration-300 group-hover:text-[#1E3444] group-focus-within:text-[#1E3444]"}),__gh("span",{className:"min-w-0 flex-1","data-gufi-src":"components/Hero.tsx:263"},__gh("span",{className:"block text-[12px] font-medium mb-0.5",style:{color:MUTED},"data-gufi-src":"components/Hero.tsx:264"},label),children),select&&__gh(import_lucide_react2.ChevronDown,{size:15,className:"shrink-0",style:{color:MUTED}}))}function Divider(){return __gh("span",{className:"hidden sm:block w-px self-center h-10",style:{background:LINE},"data-gufi-src":"components/Hero.tsx:273"})}function Stat({value,label}){return __gh("span",{className:"inline-flex items-baseline gap-2","data-gufi-src":"components/Hero.tsx:278"},__gh("span",{className:"font-extrabold text-[24px] sm:text-[26px] tracking-[-0.03em] tabular-nums",style:{fontFamily:FONT_SERIF,color:INK2},"data-gufi-src":"components/Hero.tsx:279"},value),__gh("span",{className:"text-[13px] font-medium",style:{color:MUTED},"data-gufi-src":"components/Hero.tsx:285"},label))}var import_react4=require("react"),import_framer_motion4=require("framer-motion"),import_lucide_react4=require("lucide-react");var import_react3=__toESM(require("react")),import_framer_motion3=require("framer-motion"),import_lucide_react3=require("lucide-react"),import_utils2=require("@/shared/lib/utils");var EASE3=[.22,.61,.36,1];var GREEN_BG="rgba(13,124,90,0.10)",GREEN_INK="#0C6B4E",ZOOM_CLUSTER=12,CITY_COORDS={"A Coru\xF1a":[43.3623,-8.4115],Culleredo:[43.2783,-8.389],Oleiros:[43.33,-8.317],Arteixo:[43.304,-8.511],Pontedeume:[43.4075,-8.173],"Caldas de Reis":[42.605,-8.641]},CITY_COORDS_KEY=Object.keys(CITY_COORDS).reduce((acc,g)=>(acc[ciudadKey(g)]=CITY_COORDS[g],acc),{}),coordsDe=v=>CITY_COORDS_KEY[ciudadKey(v)]||CITY_COORDS["A Coru\xF1a"];var toMidnight=d=>new Date(d.getFullYear(),d.getMonth(),d.getDate()),parseYMD=s=>{if(!s)return null;let p=String(s).slice(0,10).split("-");if(p.length<3)return null;let y=+p[0],mo=+p[1],d=+p[2];if(!y||!mo||!d)return null;let dt=new Date(y,mo-1,d);return isNaN(dt.getTime())?null:dt},addDays=(d,n)=>new Date(d.getFullYear(),d.getMonth(),d.getDate()+n),fmtCorta=d=>d.toLocaleDateString("es-ES",{day:"numeric",month:"short"}),fmtISO=d=>`${d.getFullYear()}-${String(d.getMonth()+1).padStart(2,"0")}-${String(d.getDate()).padStart(2,"0")}`,txt=v=>v==null?"":typeof v=="string"?v:typeof v=="number"?Number.isFinite(v)?String(v):"":String(typeof v=="object"?v.name??v.label??v.value??v.title??v.text??"":v),GOLDEN=Math.PI*(3-Math.sqrt(5)),spiralOffset=i=>{let r=.0034*Math.sqrt(i+.5);return[r*Math.cos(i*GOLDEN),r*Math.sin(i*GOLDEN)]},rangeFree=(ivs,start,stayDays)=>{let s=start.getTime(),e=addDays(start,stayDays).getTime();for(let iv of ivs)if(s{let offs=[];for(let o=-F;o<=F;o++)offs.push(o);offs.sort((a,b)=>Math.abs(a)-Math.abs(b)||a-b);for(let o of offs){let c=addDays(D,o);if(!(c.getTime(){for(let i=0;i<420;i++){let c=addDays(today,i);if(rangeFree(ivs,c,stayDays))return c}return null},FLEX_OPTS=[0,3,7,14],MES_OPTS=[1,2,3,6,9,12];function Buscador({ctx,open,onClose}){let alo=ctx?.alojamientos||[],posById=(0,import_react3.useMemo)(()=>{let m=new Map,sinCoords=new Map;for(let a of alo){let la=Number(a?.lat),ln=Number(a?.lng);if(Number.isFinite(la)&&Number.isFinite(ln)&&(la!==0||ln!==0))m.set(String(a?.id),[la,ln]);else{let c=ciudadKey(a?.ciudad)||ciudadKey("A Coru\xF1a");(sinCoords.get(c)||sinCoords.set(c,[]).get(c)).push(a)}}return sinCoords.forEach((items,city)=>{let base=coordsDe(city),lngScale=1/Math.max(.3,Math.cos(base[0]*Math.PI/180));items.forEach((a,i)=>{let off=items.length>1?spiralOffset(i):[0,0];m.set(String(a?.id),[base[0]+off[0],base[1]+off[1]*lngScale])})}),m},[alo]),posOf=(0,import_react3.useCallback)(a=>posById.get(String(a?.id))||coordsDe(a?.ciudad),[posById]),[ciudad,setCiudadState]=(0,import_react3.useState)(""),[fechaEntrada,setFechaState]=(0,import_react3.useState)(""),[flexDias,setFlex]=(0,import_react3.useState)(7),[meses,setMesesState]=(0,import_react3.useState)(""),[precioMax,setPrecioMax]=(0,import_react3.useState)(null),[habMin,setHabMin]=(0,import_react3.useState)(0),[huespMin,setHuespMin]=(0,import_react3.useState)(0),[amenities,setAmenities]=(0,import_react3.useState)([]),[tipos,setTipos]=(0,import_react3.useState)([]),[banosMin,setBanosMin]=(0,import_react3.useState)(0),[filtersOpen,setFiltersOpen]=(0,import_react3.useState)(!1),[mobileView,setMobileView]=(0,import_react3.useState)("lista"),[ocupacion,setOcupacion]=(0,import_react3.useState)({}),[loadingOcup,setLoadingOcup]=(0,import_react3.useState)(!0),[mapReady,setMapReady]=(0,import_react3.useState)(!1),[mapFailed,setMapFailed]=(0,import_react3.useState)(!1),[mapObj,setMapObj]=(0,import_react3.useState)(null),[hoverId,setHoverId]=(0,import_react3.useState)(null),[activeId,setActiveId]=(0,import_react3.useState)(null),mapElRef=(0,import_react3.useRef)(null),listRef=(0,import_react3.useRef)(null),markersRef=(0,import_react3.useRef)(new Map),cardRefs=(0,import_react3.useRef)({}),setCiudad=v=>{setCiudadState(v),ctx.setBusqueda(b=>({...b,ciudad:v}))},setFecha=v=>{setFechaState(v),ctx.setBusqueda(b=>({...b,entrada:v}))},setMeses=v=>{setMesesState(v),ctx.setBusqueda(b=>({...b,meses:v}))};(0,import_react3.useEffect)(()=>{open&&(setCiudadState(ctx?.busqueda?.ciudad||""),setFechaState(ctx?.busqueda?.entrada||""),setMesesState(ctx?.busqueda?.meses||""),setActiveId(null),setHoverId(null))},[open]),(0,import_react3.useEffect)(()=>{if(!open)return;let prev=document.body.style.overflow;document.body.style.overflow="hidden";let onKey=e=>{e.key==="Escape"&&(document.querySelectorAll('[role="dialog"]').length>1||(filtersOpen?setFiltersOpen(!1):onClose()))};return document.addEventListener("keydown",onKey),()=>{document.body.style.overflow=prev,document.removeEventListener("keydown",onKey)}},[open,filtersOpen,onClose]),(0,import_react3.useEffect)(()=>{if(!open)return;let externa=ctx?.ocupacion||{},oc={};for(let a of alo){let k=String(a?.id),extra=Array.isArray(externa[k])?externa[k]:[];oc[k]=[...bloqueosDe(a),...extra]}setOcupacion(oc),setLoadingOcup(!1)},[open,alo,ctx?.ocupacion]),(0,import_react3.useEffect)(()=>{if(!open||typeof document>"u")return;if(!document.getElementById("leaflet-css")){let l=document.createElement("link");l.id="leaflet-css",l.rel="stylesheet",l.href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css",document.head.appendChild(l)}if(window.L){setMapReady(!0),setMapFailed(!1);return}if(!document.getElementById("leaflet-js")){let s=document.createElement("script");s.id="leaflet-js",s.async=!0,s.src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js",document.head.appendChild(s)}let waited=0,iv=window.setInterval(()=>{window.L?(window.clearInterval(iv),setMapReady(!0),setMapFailed(!1)):(waited+=150)>5e3&&(window.clearInterval(iv),setMapFailed(!0))},150);return()=>window.clearInterval(iv)},[open]);let ocupacionParsed=(0,import_react3.useMemo)(()=>{let out={};for(let k of Object.keys(ocupacion||{})){let arr=Array.isArray(ocupacion[k])?ocupacion[k]:[];out[k]=arr.map(iv=>{let d=parseYMD(iv?.desde),h=parseYMD(iv?.hasta);return d&&h?{_desde:d.getTime(),_hasta:h.getTime()}:null}).filter(Boolean)}return out},[ocupacion]),ivsOf=(0,import_react3.useCallback)(a=>ocupacionParsed[a?.id]||ocupacionParsed[String(a?.id)]||[],[ocupacionParsed]),ciudades=(0,import_react3.useMemo)(()=>{let m=new Map;for(let a of alo){let c=txt(a?.ciudad);if(!c)continue;let k=ciudadKey(c);if(!k)continue;let e=m.get(k);e||(e={key:k,label:"",grafias:[]},m.set(k,e)),e.grafias.push(c)}let out=[];return m.forEach(e=>out.push({key:e.key,label:etiquetaCiudad(e.grafias)})),out.sort((x,y)=>x.label.localeCompare(y.label,"es"))},[alo]),keySel=ciudadKey(ciudad),ciudadLabel=(0,import_react3.useMemo)(()=>{let e=ciudades.find(c=>c.key===keySel);return e?e.label:txt(ciudad)},[ciudades,keySel,ciudad]),setCiudadPorKey=k=>{let e=ciudades.find(c=>c.key===k);setCiudad(e?e.label:"")},priceBounds=(0,import_react3.useMemo)(()=>{let vals=alo.map(a=>mensualidadDe(a)).filter(v=>v>0);return vals.length?{min:Math.floor(Math.min(...vals)/50)*50,max:Math.ceil(Math.max(...vals)/50)*50}:{min:0,max:5e3}},[alo]),amenityUniverse=(0,import_react3.useMemo)(()=>{let m=new Map;for(let a of alo)for(let am of amenitiesDe(a)){let k=am.trim();k&&m.set(k,(m.get(k)||0)+1)}return[...m.entries()].sort((x,y)=>y[1]-x[1]).slice(0,16).map(e=>e[0])},[alo]),tiposUniverse=(0,import_react3.useMemo)(()=>[...new Set(alo.map(a=>txt(a?.tipo)).filter(Boolean))].sort((x,y)=>x.localeCompare(y,"es")),[alo]),allAmenities=(0,import_react3.useMemo)(()=>{let s=new Set;for(let a of alo)for(let am of amenitiesDe(a)){let k=am.trim();k&&s.add(k)}return[...s]},[alo]),presetAmenities=(0,import_react3.useMemo)(()=>({wifi:allAmenities.find(a=>/wi-?fi|internet/i.test(a))||null,pet:allAmenities.find(a=>/mascota|pet|animal/i.test(a))||null,parking:allAmenities.find(a=>/parking|garaje|aparca|garage/i.test(a))||null}),[allAmenities]),today=(0,import_react3.useMemo)(()=>toMidnight(new Date),[]),resultados=(0,import_react3.useMemo)(()=>{let D=parseYMD(fechaEntrada),F=Number(flexDias)||0,M=num(meses),stayPedida=M>0?M*30:7,precioActivo=precioMax!=null&&precioMax0&&m>precioMax)continue}if(habMin>0){let _h=num(a?.habitaciones);if(habMin>=4?_h<4:_h!==habMin)continue}if(huespMin>0){let cap2=num(a?.capacidad);if(cap2>0&&cap2set.includes(x)))continue}if(tipos.length&&!tipos.includes(txt(a?.tipo))||banosMin>0&&num(a?.banos)0&&minDias>stayPedida)continue;let stayDays=Math.max(stayPedida,minDias),ivs=ivsOf(a),info=D?matchWindow(ivs,D,F,stayDays,today):{matches:!0,matchDate:null,delta:null,proxima:firstFree(ivs,today,stayDays)};info.matches&&out.push({a,info})}return out.sort((x,y)=>{if(D){let dx=Math.abs(x.info.delta??0),dy=Math.abs(y.info.delta??0);if(dx!==dy)return dx-dy}return mensualidadDe(x.a)-mensualidadDe(y.a)}),out},[alo,keySel,fechaEntrada,flexDias,meses,precioMax,habMin,huespMin,amenities,tipos,banosMin,ocupacionParsed,priceBounds.max,today]),activeFilterCount=(precioMax!=null&&precioMax0?1:0)+tipos.length+amenities.length,hasAnyFilter=!!(ciudad||fechaEntrada||meses||habMin||huespMin||activeFilterCount),verDetalle=(0,import_react3.useCallback)(a=>{ctx.openDetalle(a)},[ctx]),solicitar=(0,import_react3.useCallback)((a,info)=>{ctx.openSolicitud({tipo:"Inquilino busca",vivienda_id:a?.id,fecha_entrada:info?.matchDate?fmtISO(info.matchDate):fechaEntrada||"",meses:meses||""})},[ctx,fechaEntrada,meses]),resetTodo=()=>{setCiudad(""),setFecha(""),setMeses(""),setFlex(7),setPrecioMax(null),setHabMin(0),setHuespMin(0),setAmenities([]),setTipos([]),setBanosMin(0)},addAmenity=am=>setAmenities(s=>s.includes(am)?s:[...s,am]),removeAmenity=am=>setAmenities(s=>s.filter(x=>x!==am)),scrollToCard=(0,import_react3.useCallback)(id=>{let el=cardRefs.current[String(id)];el&&el.scrollIntoView({behavior:"smooth",block:"center"})},[]),openPinPopup=(0,import_react3.useCallback)(id=>{let entry=markersRef.current.get(String(id));if(entry?.kind==="pin")try{entry.marker.openPopup()}catch{}},[]),focusOnMap=(0,import_react3.useCallback)(a=>{if(setActiveId(a?.id),!!mapObj)try{openPinPopup(a?.id),mapObj.flyTo(posOf(a),14,{duration:.6}),mapObj.once("moveend",()=>window.setTimeout(()=>openPinPopup(a?.id),80))}catch{}},[mapObj,openPinPopup]);(0,import_react3.useEffect)(()=>{if(!open||!mapReady||mapFailed)return;let L=window.L,el=mapElRef.current;if(!L||!el||mapObj)return;let created=null;try{created=L.map(el,{zoomControl:!0,attributionControl:!0,scrollWheelZoom:!0}),created.setView([43.35,-8.4],10),L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:"© OpenStreetMap"}).addTo(created),setMapObj(created)}catch{try{created&&created.remove()}catch{}setMapFailed(!0)}return()=>{try{created&&created.remove()}catch{}markersRef.current.clear(),setMapObj(null)}},[open,mapReady,mapFailed]);let pinIcon=(0,import_react3.useCallback)((a,active)=>{let L=window.L,label=fmtEur(mensualidadDe(a)),w=Math.max(52,22+label.length*8),h=30,bg=active?INK:RED,bw=active?"2px":"1.5px",html2=`
${label}
`;return L.divIcon({className:"remax-pin",html:html2,iconSize:[w,h],iconAnchor:[w/2,h]})},[]),clusterIcon=(0,import_react3.useCallback)((count,minPrice)=>{let L=window.L,size=count>=100?62:count>=10?56:50,numFont=count>=100?15:18,price=minPrice>0?`desde ${fmtEur(minPrice)}`:"",html2=`
${count}`+(price?`${price}`:"")+"
";return L.divIcon({className:"remax-cluster",html:html2,iconSize:[size,size],iconAnchor:[size/2,size/2]})},[]),buildPopup=(0,import_react3.useCallback)(a=>{let wrap=document.createElement("div");wrap.style.width="208px",wrap.style.fontFamily="Montserrat,system-ui,sans-serif";let foto=typeof a?.foto=="string"?a.foto:"";if(foto){let img=document.createElement("img");img.src=foto,img.alt=txt(a?.nombre)||"Residencia",img.loading="lazy",img.style.cssText="width:100%;height:110px;object-fit:cover;border-radius:10px;display:block;",wrap.appendChild(img)}let city=document.createElement("div");city.textContent=txt(a?.ciudad),city.style.cssText=`margin-top:8px;font:500 12px/1.2 inherit;color:${MUTED};`,wrap.appendChild(city);let name=document.createElement("div");name.textContent=txt(a?.nombre)||"Residencia",name.style.cssText=`margin-top:3px;font:700 14px/1.3 inherit;color:${INK};`,wrap.appendChild(name);let price=document.createElement("div"),_m=mensualidadDe(a),_txt=Number.isFinite(_m)&&_m>0?fmtEur(_m):"Consultar";price.innerHTML=`${_txt} /mes`,price.style.cssText=`margin-top:5px;font:700 15px/1.2 inherit;color:${INK2};`,wrap.appendChild(price);let btn=document.createElement("button");return btn.type="button",btn.textContent="Ver residencia",btn.style.cssText=`margin-top:10px;width:100%;height:38px;border:0;border-radius:9px;background:${RED};color:#fff;font:700 12px/1 inherit;letter-spacing:.04em;cursor:pointer;`,btn.onclick=()=>verDetalle(a),wrap.appendChild(btn),wrap},[verDetalle]);(0,import_react3.useEffect)(()=>{if(!mapObj)return;let L=window.L,clearMarkers=()=>{markersRef.current.forEach(({marker})=>{try{mapObj.removeLayer(marker)}catch{}}),markersRef.current.clear()},addPin=a=>{let marker=L.marker(posOf(a),{icon:pinIcon(a,!1),riseOnHover:!0});marker.bindPopup(buildPopup(a),{closeButton:!0,maxWidth:240,offset:[0,-12]}),marker.on("click",()=>{setActiveId(a?.id),scrollToCard(a?.id)}),marker.on("mouseover",()=>setHoverId(a?.id)),marker.on("mouseout",()=>setHoverId(null)),marker.addTo(mapObj),markersRef.current.set(String(a?.id),{marker,a,kind:"pin"})},addCluster=(city,items)=>{let centro=coordsDe(city),prices=items.map(x=>mensualidadDe(x)).filter(v=>v>0),minP=prices.length?Math.min(...prices):0,marker=L.marker(centro,{icon:clusterIcon(items.length,minP),riseOnHover:!0});marker.on("click",()=>{try{mapObj.flyTo(centro,13,{duration:.6})}catch{}}),marker.addTo(mapObj),markersRef.current.set(`city:${city}`,{marker,kind:"cluster"})},renderMarkers=()=>{try{clearMarkers();let zoom=10;try{zoom=mapObj.getZoom()}catch{}if(zoom>=ZOOM_CLUSTER)for(let{a}of resultados)addPin(a);else{let byCity=new Map;for(let{a}of resultados){let c=ciudadKey(a?.ciudad)||ciudadKey("A Coru\xF1a");(byCity.get(c)||byCity.set(c,[]).get(c)).push(a)}byCity.forEach((items,city)=>{if(items.length>=2)addCluster(city,items);else for(let a of items)addPin(a)})}}catch{}};renderMarkers();try{mapObj.on("zoomend",renderMarkers)}catch{}try{let pts=resultados.map(({a})=>posOf(a));pts.length&&mapObj.fitBounds(L.latLngBounds(pts).pad(.18),{animate:!0,maxZoom:14})}catch{}return()=>{try{mapObj.off("zoomend",renderMarkers)}catch{}clearMarkers()}},[mapObj,resultados]),(0,import_react3.useEffect)(()=>{if(!mapObj)return;let focus=hoverId??activeId;markersRef.current.forEach(({marker,a,kind},id)=>{if(kind==="pin")try{let on=String(focus)===id;marker.setIcon(pinIcon(a,on)),marker.setZIndexOffset(on?1e3:0)}catch{}})},[mapObj,hoverId,activeId]),(0,import_react3.useEffect)(()=>{if(!mapObj)return;let t=window.setTimeout(()=>{try{mapObj.invalidateSize();let L=window.L,pts=resultados.map(({a})=>posOf(a));pts.length&&mapObj.fitBounds(L.latLngBounds(pts).pad(.18),{animate:!1,maxZoom:14})}catch{}},260);return()=>window.clearTimeout(t)},[mobileView,mapObj]);let showMap=!mapFailed,N=resultados.length,dateSel=parseYMD(fechaEntrada),exactCount=dateSel?resultados.reduce((n,r)=>n+(r.info.delta===0?1:0),0):0,flexCount=dateSel?resultados.reduce((n,r)=>n+(r.info.delta!=null&&r.info.delta!==0?1:0),0):0,chips=[];if(ciudad&&chips.push({key:"ciudad",label:ciudadLabel,onClear:()=>setCiudad("")}),fechaEntrada){let d=parseYMD(fechaEntrada);chips.push({key:"fecha",label:`${d?fmtCorta(d):fechaEntrada}${flexDias?` \xB7 \xB1${flexDias}d`:""}`,onClear:()=>setFecha("")})}meses&&chips.push({key:"meses",label:`${meses} ${num(meses)===1?"mes":"meses"}`,onClear:()=>setMeses("")}),precioMax!=null&&precioMaxsetPrecioMax(null)}),huespMin>0&&chips.push({key:"huesp",label:`${huespMin}${huespMin>=6?"+":""} ${huespMin===1?"hu\xE9sped":"hu\xE9spedes"}`,onClear:()=>setHuespMin(0)}),habMin>0&&chips.push({key:"hab",label:`${habMin}${habMin>=4?"+":""} ${habMin===1?"dormitorio":"dormitorios"}`,onClear:()=>setHabMin(0)});for(let t of tipos)chips.push({key:`tipo-${t}`,label:t,onClear:()=>setTipos(s=>s.filter(x=>x!==t))});banosMin>0&&chips.push({key:"banos",label:`${banosMin}+ ${banosMin===1?"ba\xF1o":"ba\xF1os"}`,onClear:()=>setBanosMin(0)});for(let am of amenities)chips.push({key:`am-${am}`,label:am,onClear:()=>setAmenities(s=>s.filter(x=>x!==am))});let{wifi:wifiAm,pet:petAm,parking:parkAm}=presetAmenities,mkPreset=(key,label,icon,active,on,off)=>({key,label,icon,active,toggle:()=>active?off():on()}),presets=[mkPreset("trabajo","Para trabajar",import_lucide_react3.Laptop,huespMin===1&&habMin===1&&(!wifiAm||amenities.includes(wifiAm)),()=>{setHuespMin(1),setHabMin(1),wifiAm&&addAmenity(wifiAm)},()=>{setHuespMin(0),setHabMin(0),wifiAm&&removeAmenity(wifiAm)}),mkPreset("familia","En familia",import_lucide_react3.Users,huespMin===4&&habMin===2,()=>{setHuespMin(4),setHabMin(2)},()=>{setHuespMin(0),setHabMin(0)}),mkPreset("larga","Larga estancia",import_lucide_react3.CalendarRange,num(meses)===6,()=>setMeses("6"),()=>setMeses("")),...petAm?[mkPreset("mascota","Con mascota",import_lucide_react3.PawPrint,amenities.includes(petAm),()=>addAmenity(petAm),()=>removeAmenity(petAm))]:[],...parkAm?[mkPreset("parking","Con parking",import_lucide_react3.Car,amenities.includes(parkAm),()=>addAmenity(parkAm),()=>removeAmenity(parkAm))]:[]];return __gh(import_framer_motion3.AnimatePresence,null,open&&__gh(import_framer_motion3.motion.div,{key:"buscador",role:"dialog","aria-modal":"true","aria-label":"Buscador de residencias HostWorkers",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.28,ease:EASE3},className:"fixed inset-0 z-[90] bg-white flex flex-col",style:{height:"100dvh",paddingTop:"env(safe-area-inset-top)"}},__gh("div",{className:"shrink-0 border-b bg-white/95 backdrop-blur-xl",style:{borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:792"},__gh("div",{className:"max-w-[1600px] mx-auto px-4 sm:px-6","data-gufi-src":"components/Buscador.tsx:793"},__gh("div",{className:"flex items-center gap-3 h-[58px]","data-gufi-src":"components/Buscador.tsx:795"},__gh("button",{onClick:onClose,"aria-label":"Cerrar buscador",className:"w-11 h-11 -ml-1.5 inline-flex items-center justify-center rounded-xl transition-colors active:bg-[#F4F7FB] hover:bg-[#F4F7FB]",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:796"},__gh(import_lucide_react3.X,{size:22})),__gh("div",{className:"min-w-0","data-gufi-src":"components/Buscador.tsx:808"},__gh("h2",{className:"text-[15px] sm:text-[17px] font-extrabold tracking-[-0.02em] leading-tight truncate",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:809"},"Encuentra tu pr\xF3xima residencia")),__gh("div",{className:"ml-auto shrink-0 flex items-baseline gap-1.5","data-gufi-src":"components/Buscador.tsx:813"},__gh("span",{className:"text-[18px] sm:text-[20px] font-extrabold tabular-nums tracking-[-0.03em]",style:{color:INK},"data-gufi-src":"components/Buscador.tsx:814"},N),__gh("span",{className:"text-[11.5px] font-semibold",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:815"},N===1?"residencia":"residencias"))),__gh("div",{className:"flex items-center gap-2 pb-3 overflow-x-auto -mx-1 px-1 [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden","data-gufi-src":"components/Buscador.tsx:820"},__gh(ControlShell,{icon:import_lucide_react3.MapPin,chevron:!0},__gh("select",{value:keySel,onChange:e=>setCiudadPorKey(e.target.value),"aria-label":"Ciudad",className:"bg-transparent outline-none text-[16px] sm:text-[13.5px] font-semibold cursor-pointer appearance-none pr-1",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:822"},__gh("option",{value:"","data-gufi-src":"components/Buscador.tsx:829"},"Todas las ciudades"),ciudades.map(c=>__gh("option",{key:c.key,value:c.key,"data-gufi-src":"components/Buscador.tsx:830"},c.label)))),__gh(ControlShell,{icon:import_lucide_react3.CalendarDays},__gh("input",{type:"date",value:fechaEntrada,onChange:e=>setFecha(e.target.value),"aria-label":"Fecha de entrada",className:"bg-transparent outline-none text-[16px] sm:text-[13.5px] font-semibold min-w-[132px] sm:min-w-[118px]",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:835"})),__gh("div",{className:"shrink-0 inline-flex items-center gap-1.5 h-12 sm:h-11 pl-3 pr-1.5 rounded-full border bg-white",style:{borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:846"},__gh("span",{className:"text-[12px] font-medium",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:847"},"Flex"),__gh("div",{className:"inline-flex items-center","data-gufi-src":"components/Buscador.tsx:848"},FLEX_OPTS.map(v=>{let on=flexDias===v;return __gh("button",{key:v,onClick:()=>setFlex(v),"aria-pressed":on,className:(0,import_utils2.cn)("h-11 sm:h-8 px-3 sm:px-2.5 rounded-full text-[13px] sm:text-[12px] font-bold tabular-nums transition-colors",on?"text-white":""),style:on?{background:INK}:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:852"},v===0?"Exacta":`\xB1${v}`)}))),__gh(ControlShell,{icon:import_lucide_react3.Clock,chevron:!0},__gh("select",{value:meses,onChange:e=>setMeses(e.target.value),"aria-label":"Duraci\xF3n de la estancia",className:"bg-transparent outline-none text-[16px] sm:text-[13.5px] font-semibold cursor-pointer appearance-none pr-1",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:867"},__gh("option",{value:"","data-gufi-src":"components/Buscador.tsx:874"},"Cualquier estancia"),MES_OPTS.map(m=>__gh("option",{key:m,value:m,"data-gufi-src":"components/Buscador.tsx:875"},m," ",m===1?"mes":"meses")))),__gh(StepperControl,{icon:import_lucide_react3.Users,label:"Hu\xE9spedes",hint:"\xBFCu\xE1ntos sois?",display:huespMin===0?"Cualquiera":huespMin>=6?"6+":String(huespMin),active:huespMin>0,canDec:huespMin>0,canInc:huespMin<6,onDec:()=>setHuespMin(v=>Math.max(0,v-1)),onInc:()=>setHuespMin(v=>Math.min(6,v+1))}),__gh(StepperControl,{icon:import_lucide_react3.BedDouble,label:"Dormitorios",hint:"Habitaciones",display:habMin===0?"Cualquiera":habMin>=4?"4+":String(habMin),active:habMin>0,canDec:habMin>0,canInc:habMin<4,onDec:()=>setHabMin(v=>Math.max(0,v-1)),onInc:()=>setHabMin(v=>Math.min(4,v+1))}),__gh("button",{onClick:()=>setFiltersOpen(o=>!o),"aria-expanded":filtersOpen,className:"shrink-0 inline-flex items-center gap-2 h-12 sm:h-11 px-4 rounded-full border font-semibold text-[13.5px] transition-colors hover:border-[#B9C6DA]",style:{color:INK2,borderColor:filtersOpen?INK:LINE,background:filtersOpen?"#F4F7FB":"#fff"},"data-gufi-src":"components/Buscador.tsx:905"},__gh(import_lucide_react3.SlidersHorizontal,{size:16})," Filtros",activeFilterCount>0&&__gh("span",{className:"inline-flex items-center justify-center min-w-[20px] h-5 px-1 rounded-full text-[10.5px] font-bold text-white tabular-nums",style:{background:INK},"data-gufi-src":"components/Buscador.tsx:913"},activeFilterCount)))),presets.length>0&&__gh("div",{className:"border-t bg-white",style:{borderColor:LINE2},"data-gufi-src":"components/Buscador.tsx:923"},__gh("div",{className:"max-w-[1600px] mx-auto px-4 sm:px-6 py-2.5 flex items-center gap-2 overflow-x-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden","data-gufi-src":"components/Buscador.tsx:924"},__gh("span",{className:"shrink-0 text-[12px] font-medium pr-0.5",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:925"},"Perfiles"),presets.map(p=>{let Icon=p.icon;return __gh("button",{key:p.key,onClick:p.toggle,"aria-pressed":p.active,className:"shrink-0 inline-flex items-center gap-1.5 h-11 sm:h-9 px-3.5 rounded-full border text-[13px] sm:text-[12.5px] font-semibold transition-colors",style:p.active?{background:INK,borderColor:INK,color:"#fff"}:{background:"#fff",borderColor:LINE,color:INK2},"data-gufi-src":"components/Buscador.tsx:931"},__gh(Icon,{size:14,strokeWidth:2,style:{color:p.active?"#fff":MUTED}}),p.label)}))),__gh(import_framer_motion3.AnimatePresence,null,filtersOpen&&__gh(import_framer_motion3.motion.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.28,ease:EASE3},className:"overflow-hidden border-t",style:{borderColor:LINE2,background:PAPER2}},__gh("div",{className:"max-w-[1600px] mx-auto px-4 sm:px-6 py-5 grid grid-cols-1 md:grid-cols-2 gap-x-10 gap-y-6","data-gufi-src":"components/Buscador.tsx:960"},__gh("div",{"data-gufi-src":"components/Buscador.tsx:962"},__gh("div",{className:"flex items-baseline justify-between","data-gufi-src":"components/Buscador.tsx:963"},__gh(FieldLabel,null,"Renta m\xE1xima"),__gh("span",{className:"text-[13px] font-bold tabular-nums",style:{color:INK},"data-gufi-src":"components/Buscador.tsx:965"},precioMax!=null&&precioMax{let v=Number(e.target.value);setPrecioMax(v>=priceBounds.max?null:v)},"aria-label":"Renta mensual m\xE1xima",className:"mt-3 w-full accent-[#1E3444] cursor-pointer","data-gufi-src":"components/Buscador.tsx:969"}),__gh("div",{className:"flex justify-between mt-1 text-[11px] font-medium tabular-nums",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:979"},__gh("span",{"data-gufi-src":"components/Buscador.tsx:980"},fmtEur(priceBounds.min)),__gh("span",{"data-gufi-src":"components/Buscador.tsx:980"},fmtEur(priceBounds.max),"+"))),__gh("div",{"data-gufi-src":"components/Buscador.tsx:985"},__gh(FieldLabel,null,"Ba\xF1os (m\xEDnimo)"),__gh(Segmented,{value:banosMin,onChange:setBanosMin,options:[[0,"Todos"],[1,"1+"],[2,"2+"],[3,"3+"]]})),tiposUniverse.length>0&&__gh("div",{className:"md:col-span-2","data-gufi-src":"components/Buscador.tsx:992"},__gh(FieldLabel,null,"Tipo de vivienda"),__gh("div",{className:"flex flex-wrap gap-2 mt-1","data-gufi-src":"components/Buscador.tsx:994"},tiposUniverse.map(t=>{let on=tipos.includes(t);return __gh("button",{key:t,onClick:()=>setTipos(s=>on?s.filter(x=>x!==t):[...s,t]),"aria-pressed":on,className:(0,import_utils2.cn)("inline-flex items-center gap-1.5 h-11 sm:h-9 px-3.5 rounded-full text-[13px] sm:text-[12.5px] font-semibold border transition-colors",on?"text-white":"bg-white hover:border-[#B9C6DA]"),style:on?{background:INK,borderColor:INK}:{color:BODY,borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:998"},on&&__gh(import_lucide_react3.Check,{size:13,strokeWidth:3})," ",t)}))),amenityUniverse.length>0&&__gh("div",{className:"md:col-span-2","data-gufi-src":"components/Buscador.tsx:1015"},__gh(FieldLabel,null,"Servicios"),__gh("div",{className:"flex flex-wrap gap-2 mt-1","data-gufi-src":"components/Buscador.tsx:1017"},amenityUniverse.map(am=>{let on=amenities.includes(am);return __gh("button",{key:am,onClick:()=>setAmenities(s=>on?s.filter(x=>x!==am):[...s,am]),"aria-pressed":on,className:(0,import_utils2.cn)("inline-flex items-center gap-1.5 h-11 sm:h-9 px-3.5 rounded-full text-[13px] sm:text-[12.5px] font-semibold border transition-colors",on?"text-white":"bg-white hover:border-[#B9C6DA]"),style:on?{background:INK,borderColor:INK}:{color:BODY,borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:1021"},on&&__gh(import_lucide_react3.Check,{size:13,strokeWidth:3})," ",am)}))),__gh("div",{className:"md:col-span-2 flex items-center justify-between pt-1","data-gufi-src":"components/Buscador.tsx:1036"},__gh("button",{onClick:resetTodo,disabled:!hasAnyFilter,className:"inline-flex items-center gap-1.5 h-12 sm:h-11 text-[13px] font-semibold transition-opacity disabled:opacity-30 hover:opacity-70",style:{color:BODY},"data-gufi-src":"components/Buscador.tsx:1037"},__gh(import_lucide_react3.RotateCcw,{size:15})," Limpiar filtros"),__gh("button",{onClick:()=>setFiltersOpen(!1),className:"inline-flex items-center gap-2 h-12 sm:h-11 px-6 rounded-full text-white text-[14px] font-semibold transition-colors hover:bg-[#CF5A26]",style:{background:RED},"data-gufi-src":"components/Buscador.tsx:1047"},"Ver ",N," ",N===1?"residencia":"residencias"))))),chips.length>0&&__gh("div",{className:"border-t",style:{borderColor:LINE2},"data-gufi-src":"components/Buscador.tsx:1062"},__gh("div",{className:"max-w-[1600px] mx-auto px-4 sm:px-6 py-2.5 flex items-center gap-2 overflow-x-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden","data-gufi-src":"components/Buscador.tsx:1063"},chips.map(c=>__gh("button",{key:c.key,onClick:c.onClear,className:"shrink-0 inline-flex items-center gap-1.5 h-11 sm:h-8 pl-3.5 pr-2.5 sm:pl-3 sm:pr-2 rounded-full border text-[13px] sm:text-[12px] font-semibold transition-colors hover:border-[#B9C6DA]",style:{color:INK2,borderColor:LINE,background:"#fff"},"data-gufi-src":"components/Buscador.tsx:1065"},c.label,__gh(import_lucide_react3.X,{size:14,style:{color:MUTED}}))),__gh("button",{onClick:resetTodo,className:"shrink-0 h-11 sm:h-8 px-3 sm:px-2 text-[13px] sm:text-[12px] font-semibold whitespace-nowrap transition-opacity hover:opacity-70",style:{color:INK},"data-gufi-src":"components/Buscador.tsx:1075"},"Limpiar todo")))),__gh("div",{className:"flex-1 min-h-0 flex flex-col lg:flex-row","data-gufi-src":"components/Buscador.tsx:1084"},__gh("div",{className:(0,import_utils2.cn)("flex flex-col min-h-0",mapFailed?"w-full":"w-full lg:w-[44%] xl:w-[40%]",!mapFailed&&mobileView==="mapa"?"hidden lg:flex":"flex"),"data-gufi-src":"components/Buscador.tsx:1086"},mapFailed&&__gh("div",{className:"shrink-0 px-4 sm:px-6 py-2 text-[11.5px] font-medium border-b",style:{color:MUTED,borderColor:LINE2,background:PAPER2},"data-gufi-src":"components/Buscador.tsx:1094"},"Mapa no disponible ahora \u2014 mostrando resultados en lista."),__gh("div",{ref:listRef,className:"flex-1 overflow-y-auto px-4 sm:px-6 py-4",style:{WebkitOverflowScrolling:"touch"},"data-gufi-src":"components/Buscador.tsx:1098"},loadingOcup&&N===0?__gh("div",{className:"space-y-4","data-gufi-src":"components/Buscador.tsx:1100"},[0,1,2,3].map(i=>__gh(CardSkeleton,{key:i}))):N===0?__gh(EmptyState,{onWiden:flexDias<14?()=>setFlex(14):void 0,onReset:hasAnyFilter?resetTodo:void 0}):__gh(__gf,null,dateSel&&__gh("div",{className:"mb-4 flex items-start gap-2 text-[12.5px] leading-snug font-medium",style:{color:BODY},"data-gufi-src":"components/Buscador.tsx:1109"},__gh(import_lucide_react3.CalendarCheck,{size:15,strokeWidth:2,className:"shrink-0 mt-px",style:{color:exactCount>0?GREEN_INK:INK}}),__gh("span",{"data-gufi-src":"components/Buscador.tsx:1111"},exactCount>0?__gh(__gf,null,__gh("strong",{className:"font-bold",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:1114"},exactCount)," ",exactCount===1?"entra":"entran"," el ",fmtCorta(dateSel),flexCount>0&&flexDias>0&&__gh(__gf,null," \xB7 ",__gh("strong",{className:"font-bold",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:1117"},flexCount)," m\xE1s en \xB1",flexDias," d\xEDas")):__gh(__gf,null,__gh("strong",{className:"font-bold",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:1122"},flexCount)," ",flexCount===1?"disponible":"disponibles"," cerca del ",fmtCorta(dateSel),flexDias>0&&__gh(__gf,null," (\xB1",flexDias," d\xEDas)")))),__gh("div",{className:"space-y-4 pb-6","data-gufi-src":"components/Buscador.tsx:1130"},resultados.map(({a,info})=>__gh(ResultCard,{key:a?.id,a,info,loadingOcup,active:String(activeId)===String(a?.id),cardRef:el=>{cardRefs.current[String(a?.id)]=el},onEnter:()=>setHoverId(a?.id),onLeave:()=>setHoverId(h=>String(h)===String(a?.id)?null:h),onCardClick:()=>focusOnMap(a),onVer:()=>verDetalle(a),onSolicitar:()=>solicitar(a,info)})))))),showMap&&__gh("div",{className:(0,import_utils2.cn)("relative min-h-0 w-full lg:flex-1 bg-[#E8EEF6]",mobileView==="lista"?"hidden lg:block":"block"),"data-gufi-src":"components/Buscador.tsx:1154"},__gh("div",{ref:mapElRef,className:"absolute inset-0","aria-label":"Mapa de residencias","data-gufi-src":"components/Buscador.tsx:1160"}),!mapReady&&__gh("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:1162"},__gh("div",{className:"w-8 h-8 rounded-full border-2 border-[#C7D2E2] border-t-[#1E3444] animate-spin","data-gufi-src":"components/Buscador.tsx:1163"}),__gh("span",{className:"text-[12.5px] font-medium","data-gufi-src":"components/Buscador.tsx:1164"},"Cargando mapa\u2026")))),showMap&&!filtersOpen&&__gh("div",{className:"lg:hidden absolute left-1/2 -translate-x-1/2 z-[5]",style:{bottom:"calc(16px + env(safe-area-inset-bottom))"},"data-gufi-src":"components/Buscador.tsx:1178"},__gh("div",{className:"inline-flex items-center p-1 rounded-full bg-white border shadow-[0_10px_30px_-10px_rgba(20,35,46,0.45)]",style:{borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:1182"},__gh(ToggleBtn,{active:mobileView==="lista",onClick:()=>setMobileView("lista"),icon:import_lucide_react3.List,label:"Lista"}),__gh(ToggleBtn,{active:mobileView==="mapa",onClick:()=>setMobileView("mapa"),icon:import_lucide_react3.Map,label:"Mapa"})))))}function ControlShell({icon:Icon,children,chevron}){return __gh("div",{className:"shrink-0 relative flex items-center gap-2 h-12 sm:h-11 pl-4 pr-3 rounded-full border bg-white",style:{borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:1198"},__gh(Icon,{size:16,style:{color:MUTED},className:"shrink-0"}),children,chevron&&__gh(import_lucide_react3.ChevronDown,{size:15,style:{color:MUTED},className:"shrink-0 pointer-events-none"}))}function StepperControl({icon:Icon,label,hint,display,active,canDec,canInc,onDec,onInc}){return __gh("div",{className:"shrink-0 flex items-center gap-2 h-12 sm:h-11 pl-3.5 pr-1.5 rounded-full border bg-white",style:{borderColor:active?INK:LINE},title:hint||label,"data-gufi-src":"components/Buscador.tsx:1210"},__gh(Icon,{size:16,style:{color:active?INK:MUTED},className:"shrink-0"}),__gh("div",{className:"flex flex-col justify-center leading-none pr-0.5","data-gufi-src":"components/Buscador.tsx:1216"},__gh("span",{className:"text-[11px] font-medium leading-none",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:1217"},label),__gh("span",{className:"mt-[3px] text-[13px] font-bold leading-none tabular-nums whitespace-nowrap",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:1218"},display)),__gh("div",{className:"inline-flex items-center gap-0.5","data-gufi-src":"components/Buscador.tsx:1222"},__gh("button",{type:"button",onClick:onDec,disabled:!canDec,"aria-label":`Menos ${label.toLowerCase()}`,className:"w-11 h-11 sm:w-9 sm:h-9 rounded-full inline-flex items-center justify-center transition-colors disabled:opacity-25 disabled:cursor-default hover:bg-[#F4F7FB] active:bg-[#EDF1F6]",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:1223"},__gh(import_lucide_react3.Minus,{size:16})),__gh("button",{type:"button",onClick:onInc,disabled:!canInc,"aria-label":`M\xE1s ${label.toLowerCase()}`,className:"w-11 h-11 sm:w-9 sm:h-9 rounded-full inline-flex items-center justify-center transition-colors disabled:opacity-25 disabled:cursor-default hover:bg-[#F4F7FB] active:bg-[#EDF1F6]",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:1233"},__gh(import_lucide_react3.Plus,{size:16}))))}function FieldLabel({children}){return __gh("span",{className:"block text-[12.5px] font-medium mb-2.5",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:1251"},children)}function Segmented({value,onChange,options}){return __gh("div",{className:"inline-flex items-center rounded-full border p-0.5 bg-white",style:{borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:1256"},options.map(([v,label])=>{let on=value===v;return __gh("button",{key:v,onClick:()=>onChange(v),"aria-pressed":on,className:(0,import_utils2.cn)("h-11 sm:h-9 min-w-[44px] sm:min-w-[42px] px-3 sm:px-2.5 rounded-full text-[13px] sm:text-[12.5px] font-bold transition-colors",on?"text-white":""),style:on?{background:INK}:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:1260"},label)}))}function ToggleBtn({active,onClick,icon:Icon,label}){return __gh("button",{onClick,"aria-pressed":active,className:(0,import_utils2.cn)("inline-flex items-center gap-1.5 h-11 px-4 rounded-full text-[13px] font-bold transition-colors",active?"text-white":""),style:active?{background:INK}:{color:BODY},"data-gufi-src":"components/Buscador.tsx:1277"},__gh(Icon,{size:15})," ",label)}function AvailBadge({info,loadingOcup}){if(loadingOcup)return __gh("span",{className:"inline-flex items-center gap-1.5 h-6 px-2.5 rounded-full text-[10.5px] font-semibold",style:{background:"#F1F4F9",color:MUTED},"data-gufi-src":"components/Buscador.tsx:1299"},"Comprobando fechas\u2026");if(info?.matchDate&&info.delta===0)return __gh("span",{className:"inline-flex items-center gap-1.5 h-6 px-2.5 rounded-full text-[10.5px] font-bold",style:{background:GREEN_BG,color:GREEN_INK},"data-gufi-src":"components/Buscador.tsx:1306"},__gh(import_lucide_react3.CalendarCheck,{size:12})," Disponible el ",fmtCorta(info.matchDate));if(info?.matchDate){let d=info.delta;return __gh("span",{className:"inline-flex items-center gap-1.5 h-6 px-2.5 rounded-full text-[10.5px] font-bold",style:{background:"#EEF3FB",color:INK},"data-gufi-src":"components/Buscador.tsx:1314"},"Entra el ",fmtCorta(info.matchDate)," \xB7 ",Math.abs(d)," ",Math.abs(d)===1?"d\xEDa":"d\xEDas"," ",d<0?"antes":"despu\xE9s")}if(info?.proxima){let isNow=info.proxima.getTime()<=toMidnight(new Date).getTime();return __gh("span",{className:"inline-flex items-center gap-1.5 h-6 px-2.5 rounded-full text-[10.5px] font-semibold",style:{background:"#F4F7FB",color:MUTED},"data-gufi-src":"components/Buscador.tsx:1322"},isNow?"Disponible ahora":`Disponible desde ${fmtCorta(info.proxima)}`)}return null}function ResultCard({a,info,loadingOcup,active,cardRef,onEnter,onLeave,onCardClick,onVer,onSolicitar}){let nombre=txt(a?.nombre)||"Residencia",ciudad=txt(a?.ciudad),tipo=txt(a?.tipo)||"Residencia",foto=typeof a?.foto=="string"?a.foto:"",renta=mensualidadDe(a),rentaTxt=Number.isFinite(renta)&&renta>0?fmtEur(renta):"Consultar",metrics=[{Icon:import_lucide_react3.BedDouble,v:num(a?.habitaciones)},{Icon:import_lucide_react3.Bath,v:num(a?.banos)},{Icon:import_lucide_react3.Users,v:num(a?.capacidad)}].filter(m=>m.v>0);return __gh("div",{ref:cardRef,onMouseEnter:onEnter,onMouseLeave:onLeave,className:(0,import_utils2.cn)("group rounded-[16px] overflow-hidden border bg-white transition-[border-color,box-shadow] duration-300"),style:{borderColor:active?INK:LINE,boxShadow:active?"0 0 0 2px rgba(30,52,68,0.30), 0 20px 44px -26px rgba(30,52,68,0.5)":"0 1px 2px rgba(20,35,46,0.04)"},"data-gufi-src":"components/Buscador.tsx:1348"},__gh("button",{type:"button",onClick:onCardClick,onFocus:onEnter,onBlur:onLeave,"aria-label":`Ver ${nombre}${ciudad?` en ${ciudad}`:""} en el mapa`,className:"block w-full text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-inset","data-gufi-src":"components/Buscador.tsx:1362"},__gh("div",{className:"flex items-stretch gap-3.5 p-3","data-gufi-src":"components/Buscador.tsx:1370"},__gh("div",{className:"relative shrink-0 w-[38%] min-w-[112px] max-w-[184px] aspect-[4/3] rounded-[11px] overflow-hidden bg-[#E8EEF6]","data-gufi-src":"components/Buscador.tsx:1372"},foto?__gh("img",{src:foto,alt:nombre,loading:"lazy",decoding:"async",className:"w-full h-full object-cover","data-gufi-src":"components/Buscador.tsx:1374"}):__gh("div",{className:"w-full h-full flex items-center justify-center",style:{color:"#AFBBCC"},"data-gufi-src":"components/Buscador.tsx:1382"},__gh(import_lucide_react3.Building2,{size:22,strokeWidth:1.5})),__gh("span",{className:"absolute top-2 left-2 inline-flex items-center rounded-full bg-white/92 backdrop-blur-sm px-2 py-[3px] text-[11px] font-semibold",style:{color:INK},"data-gufi-src":"components/Buscador.tsx:1389"},tipo)),__gh("div",{className:"flex-1 min-w-0 flex flex-col py-0.5","data-gufi-src":"components/Buscador.tsx:1395"},ciudad&&__gh("div",{className:"text-[12px] font-medium truncate",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:1400"},ciudad),__gh("h3",{className:"mt-1 text-[16px] font-bold tracking-[-0.02em] leading-snug line-clamp-2",style:{color:INK},"data-gufi-src":"components/Buscador.tsx:1404"},nombre),metrics.length>0&&__gh("div",{className:"flex items-center gap-2.5 mt-2 text-[12px] font-medium tabular-nums",style:{color:BODY},"data-gufi-src":"components/Buscador.tsx:1408"},metrics.map((m,i)=>__gh(import_react3.default.Fragment,{key:i},i>0&&__gh("span",{className:"w-px h-3",style:{background:LINE},"data-gufi-src":"components/Buscador.tsx:1411"}),__gh("span",{className:"inline-flex items-center gap-1","data-gufi-src":"components/Buscador.tsx:1412"},__gh(m.Icon,{size:14,strokeWidth:1.7,style:{color:MUTED}})," ",m.v)))),__gh("div",{className:"mt-2","data-gufi-src":"components/Buscador.tsx:1417"},__gh(AvailBadge,{info,loadingOcup})),__gh("div",{className:"mt-auto pt-2","data-gufi-src":"components/Buscador.tsx:1420"},__gh("span",{className:"text-[12px] font-medium",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:1421"},"Renta desde"),__gh("div",{className:"text-[19px] font-bold tracking-[-0.025em] leading-none tabular-nums",style:{color:INK2},"data-gufi-src":"components/Buscador.tsx:1422"},rentaTxt,__gh("span",{className:"text-[11.5px] font-semibold ml-0.5",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:1424"},"/mes")))))),__gh("div",{className:"flex items-center gap-2 px-3 pb-3","data-gufi-src":"components/Buscador.tsx:1440"},__gh("button",{type:"button",onClick:onSolicitar,className:"flex-1 inline-flex items-center justify-center gap-1.5 h-11 rounded-full text-white text-[13.5px] font-semibold transition-colors hover:bg-[#14242F] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2",style:{background:INK},"data-gufi-src":"components/Buscador.tsx:1441"},__gh(import_lucide_react3.CalendarCheck,{size:15})," Solicitar visita"),__gh("button",{type:"button",onClick:onVer,className:"inline-flex items-center justify-center gap-1.5 h-11 px-4 rounded-full border text-[13.5px] font-semibold transition-colors hover:border-[#B9C6DA] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2",style:{color:INK2,borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:1449"},"Ver ",__gh(import_lucide_react3.ArrowRight,{size:15}))))}function CardSkeleton(){return __gh("div",{className:"rounded-[16px] border overflow-hidden bg-white p-3",style:{borderColor:LINE},"data-gufi-src":"components/Buscador.tsx:1464"},__gh("div",{className:"flex gap-3.5","data-gufi-src":"components/Buscador.tsx:1465"},__gh("div",{className:"shrink-0 w-[38%] min-w-[112px] max-w-[184px] aspect-[4/3] rounded-[11px] bg-[#E8EEF6] animate-pulse","data-gufi-src":"components/Buscador.tsx:1466"}),__gh("div",{className:"flex-1 space-y-2.5 py-1","data-gufi-src":"components/Buscador.tsx:1467"},__gh("div",{className:"h-2.5 w-1/3 bg-[#EDF1F6] rounded-full animate-pulse","data-gufi-src":"components/Buscador.tsx:1468"}),__gh("div",{className:"h-4 w-2/3 bg-[#E8EEF6] rounded-full animate-pulse","data-gufi-src":"components/Buscador.tsx:1469"}),__gh("div",{className:"h-3 w-1/2 bg-[#EDF1F6] rounded-full animate-pulse","data-gufi-src":"components/Buscador.tsx:1470"}),__gh("div",{className:"h-6 w-3/4 bg-[#E8EEF6] rounded-md animate-pulse mt-3","data-gufi-src":"components/Buscador.tsx:1471"}))))}function EmptyState({onWiden,onReset}){return __gh("div",{className:"py-16 px-6 text-center border rounded-[16px] mt-2",style:{borderColor:LINE,background:PAPER2},"data-gufi-src":"components/Buscador.tsx:1480"},__gh("div",{className:"mx-auto rounded-full bg-white flex items-center justify-center border",style:{borderColor:LINE,color:INK,width:52,height:52},"data-gufi-src":"components/Buscador.tsx:1481"},__gh(import_lucide_react3.Search,{size:22,strokeWidth:1.7})),__gh("p",{className:"text-[16px] font-bold mt-4 tracking-[-0.02em]",style:{color:INK},"data-gufi-src":"components/Buscador.tsx:1484"},"Sin residencias para esta b\xFAsqueda"),__gh("p",{className:"text-[13.5px] mt-1.5 max-w-[340px] mx-auto leading-relaxed",style:{color:MUTED},"data-gufi-src":"components/Buscador.tsx:1487"},"Prueba a ampliar la ventana de fechas o a relajar los filtros: quiz\xE1 hay opciones cercanas a lo que buscas."),__gh("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-2.5","data-gufi-src":"components/Buscador.tsx:1490"},onWiden&&__gh("button",{onClick:onWiden,className:"inline-flex items-center gap-2 h-11 px-5 rounded-full text-white text-[13px] font-semibold transition-colors",style:{background:INK},"data-gufi-src":"components/Buscador.tsx:1492"},"Ampliar ventana a \xB114 d\xEDas"),onReset&&__gh("button",{onClick:onReset,className:"inline-flex items-center gap-2 h-11 px-5 rounded-full border text-[13px] font-semibold transition-colors hover:border-[#B9C6DA]",style:{color:INK2,borderColor:LINE,background:"#fff"},"data-gufi-src":"components/Buscador.tsx:1501"},__gh(import_lucide_react3.RotateCcw,{size:14})," Quitar filtros")))}var EASE4=[.22,.61,.36,1],SHADOW_CARD="0 1px 2px rgba(20,35,46,0.04)",SHADOW_HOVER="0 2px 4px rgba(20,35,46,0.05), 0 40px 72px -44px rgba(20,35,46,0.48)",VERDE_FONDO="rgba(13,124,90,0.10)",VERDE_TINTA="#0C6B4E",AZUL_FONDO="#EEF3FB",GRIS_FONDO="#F4F7FB",AMBAR_FONDO="#FDF3E7",AMBAR_LINEA="#F3D9B8",AMBAR_TINTA="#8A5410",txt2=v=>v==null?"":typeof v=="string"?v:typeof v=="number"?Number.isFinite(v)?String(v):"":String(typeof v=="object"?v.name??v.label??v.value??v.title??v.text??"":v),ES_YMD=/^\d{4}-\d{2}-\d{2}$/,DIA_MS=864e5,fCorta=ymd=>{if(!ES_YMD.test(String(ymd||"")))return"";try{return new Date(ymd+"T00:00:00").toLocaleDateString("es-ES",{day:"numeric",month:"short"})}catch{return""}},fLarga=ymd=>{if(!ES_YMD.test(String(ymd||"")))return"";try{return new Date(ymd+"T00:00:00").toLocaleDateString("es-ES",{day:"numeric",month:"long"})}catch{return""}},rangoLargo=(e,s)=>e.slice(0,7)===s.slice(0,7)?`del ${Number(e.slice(8,10))} al ${fLarga(s)}`:`del ${fLarga(e)} al ${fLarga(s)}`,aMs=ymd=>Date.UTC(+ymd.slice(0,4),+ymd.slice(5,7)-1,+ymd.slice(8,10)),nochesEntre=(e,s)=>Math.round((aMs(s)-aMs(e))/DIA_MS),ivsDe=(a,ocupacion)=>{let k=String(a&&a.id),ext=ocupacion&&Array.isArray(ocupacion[k])?ocupacion[k]:[],out=[];for(let x of[...bloqueosDe(a),...ext]){if(!x||!ES_YMD.test(String(x.desde))||!ES_YMD.test(String(x.hasta)))continue;let d=parseYMD(String(x.desde)),h=parseYMD(String(x.hasta));d&&h&&out.push({_desde:d.getTime(),_hasta:h.getTime()})}return out},dispoDe=(a,ocupacion,lista,entrada,salida,noches)=>{if(!lista)return{tono:"espera",texto:"Comprobando disponibilidad\u2026"};if(!noches){if(!ocupadaHoyDe(a,ocupacion))return{tono:"ok",texto:"Disponible ahora"};let d=fCorta(libreDesdeDe(a,ocupacion));return{tono:"alt",texto:d?`Libre desde el ${d}`:"Ocupada ahora mismo"}}let ivs=ivsDe(a,ocupacion),D=parseYMD(entrada);if(!D)return{tono:"espera",texto:"Comprobando disponibilidad\u2026"};if(rangeFree(ivs,D,noches))return{tono:"ok",texto:"Libre en estas fechas"};let libre=firstFree(ivs,D,noches),alt=libre?fCorta(fmtISO(libre)):"";return alt?{tono:"alt",texto:`Ocupada \xB7 libre desde el ${alt}`}:{tono:"no",texto:"Ocupada en estas fechas"}},dispoEnRango=(a,ocupacion,lista,entrada,salida)=>dispoDe(a,ocupacion,lista,entrada,salida,entrada&&salida&&salida>entrada?nochesEntre(entrada,salida):0),TONOS={ok:{fondo:VERDE_FONDO,tinta:VERDE_TINTA},alt:{fondo:AZUL_FONDO,tinta:INK},no:{fondo:GRIS_FONDO,tinta:MUTED},espera:{fondo:GRIS_FONDO,tinta:MUTED}};function ChipDispo({dispo}){let t=TONOS[dispo&&dispo.tono||"espera"]||TONOS.espera;return __gh("span",{className:"inline-flex items-center gap-1.5 h-[26px] px-2.5 rounded-full text-[11.5px] font-semibold max-w-full",style:{background:t.fondo,color:t.tinta},"data-gufi-src":"components/Seleccion.tsx:195"},dispo&&dispo.tono==="ok"&&__gh(import_lucide_react4.CalendarCheck,{size:13,strokeWidth:2.2,className:"shrink-0"}),__gh("span",{className:"truncate","data-gufi-src":"components/Seleccion.tsx:200"},dispo&&dispo.texto||""))}var COMUNES=new Set(["menaje","toallas","ropa de cama","wifi","tv","lavadora","microondas","horno","calefaccion","plancha"]),distintivasDe=a=>amenitiesDe(a).filter(s=>!COMUNES.has(sinTildes(String(s)).toLowerCase().trim())),fichaTecnicaDe=a=>[{v:num(a&&a.habitaciones),uno:"dormitorio",varios:"dormitorios"},{v:num(a&&a.banos),uno:"ba\xF1o",varios:"ba\xF1os"},{v:num(a&&a.capacidad),uno:"hu\xE9sped",varios:"hu\xE9spedes"}].filter(m=>m.v>0).map(m=>`${fmtNum(m.v)} ${m.v===1?m.uno:m.varios}`).join(" \xB7 "),avisoMinimoDe=(a,noches)=>{let m=estanciaMinDe(a);return noches>0&&m>noches?`Estancia m\xEDnima de ${fmtNum(m)} d\xEDas`:""},REJILLA={1:"grid-cols-1 max-w-[520px]",2:"grid-cols-1 sm:grid-cols-2 max-w-[880px]",3:"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"};function TarjetaSel({a,dispo,estMinAviso,extras,reserva,i,reduce,onVer,onSolicitar}){let nombre=txt2(a&&a.nombre)||"Residencia",ciudad=txt2(a&&a.ciudad),tipo=txt2(a&&a.tipo)||"Residencia",foto=typeof(a&&a.foto)=="string"?a.foto:"",renta=mensualidadDe(a),hayPrecio=Number.isFinite(renta)&&renta>0,rentaTxt=hayPrecio?fmtEur(renta):"Consultar",ficha=fichaTecnicaDe(a),situacion=ciudad&&tipo?`${tipo} en ${ciudad}`:tipo||ciudad;return __gh(import_framer_motion4.motion.div,{initial:reduce?!1:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.5,delay:reduce?0:Math.min(i,5)*.06,ease:EASE4},className:"h-full"},__gh("div",{className:"group relative h-full flex flex-col bg-white rounded-[20px] overflow-hidden border transition-[transform,box-shadow,border-color] duration-500 hover:-translate-y-[5px] hover:border-[#D3DBE7]",style:{borderColor:LINE,boxShadow:SHADOW_CARD},onMouseEnter:e=>{e.currentTarget.style.boxShadow=SHADOW_HOVER},onMouseLeave:e=>{e.currentTarget.style.boxShadow=SHADOW_CARD},"data-gufi-src":"components/Seleccion.tsx:301"},__gh("button",{type:"button",onClick:onVer,"aria-label":`Ver ${nombre}${ciudad?` en ${ciudad}`:""}`,className:"absolute inset-0 z-10 w-full h-full rounded-[20px] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-inset","data-gufi-src":"components/Seleccion.tsx:324"}),__gh("div",{className:"relative shrink-0 aspect-[4/3] overflow-hidden bg-[#E8EEF6]","data-gufi-src":"components/Seleccion.tsx:334"},foto?__gh("img",{src:foto,alt:nombre,loading:i<3?"eager":"lazy",decoding:"async",className:"w-full h-full object-cover transition-transform duration-[1200ms] ease-out group-hover:scale-[1.05]","data-gufi-src":"components/Seleccion.tsx:336"}):__gh("div",{className:"w-full h-full flex flex-col items-center justify-center gap-2",style:{color:"#AFBBCC"},"data-gufi-src":"components/Seleccion.tsx:344"},__gh(import_lucide_react4.Building2,{size:28,strokeWidth:1.5}),__gh("span",{className:"text-[11px] font-medium tracking-[0.04em]","data-gufi-src":"components/Seleccion.tsx:346"},"Foto en camino")),__gh("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(180deg, transparent 0%, transparent 62%, rgba(20,35,46,0.22) 100%)"},"data-gufi-src":"components/Seleccion.tsx:354"}),__gh("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 p-3.5 flex justify-end opacity-0 translate-y-2 transition-all duration-[420ms] ease-out group-hover:opacity-100 group-hover:translate-y-0","data-gufi-src":"components/Seleccion.tsx:359"},__gh("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-white/95 backdrop-blur-md px-3.5 py-[7px] text-[11.5px] font-semibold",style:{color:INK},"data-gufi-src":"components/Seleccion.tsx:360"},"Ver residencia",__gh(import_lucide_react4.ArrowRight,{size:13,strokeWidth:2.4,style:{color:CLAY}})))),__gh("div",{className:"p-5 sm:p-[22px] pb-4 sm:pb-4","data-gufi-src":"components/Seleccion.tsx:367"},__gh("p",{className:"text-[12.5px] font-medium truncate",style:{color:MUTED},"data-gufi-src":"components/Seleccion.tsx:373"},situacion),__gh("h3",{className:`text-[18.5px] sm:text-[20px] font-bold tracking-[-0.02em] leading-snug line-clamp-2 mt-1.5 ${reserva.titulo?"sm:min-h-[2.75em]":""}`,style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Seleccion.tsx:395"},nombre),__gh("div",{className:"mt-2.5","data-gufi-src":"components/Seleccion.tsx:401"},__gh(ChipDispo,{dispo})),reserva.ficha&&__gh("p",{className:`mt-3 sm:min-h-[1.3em] text-[12.5px] font-medium truncate tabular-nums ${ficha?"":"hidden sm:block"}`,style:{color:BODY},"data-gufi-src":"components/Seleccion.tsx:405"},ficha),reserva.extras&&__gh("p",{className:`mt-2.5 sm:min-h-[20px] leading-[20px] text-[12px] truncate ${extras.length?"":"hidden sm:block"}`,style:{color:MUTED},"data-gufi-src":"components/Seleccion.tsx:413"},extras.join(" \xB7 ")),reserva.aviso&&__gh("p",{className:`mt-2 sm:min-h-[17px] leading-[17px] text-[11.5px] font-medium truncate ${estMinAviso?"":"hidden sm:block"}`,style:{color:MUTED},"data-gufi-src":"components/Seleccion.tsx:421"},estMinAviso)),__gh("div",{className:"px-5 sm:px-[22px] pb-5 pt-[14px] mt-auto border-t",style:{borderColor:LINE2},"data-gufi-src":"components/Seleccion.tsx:440"},__gh("span",{className:"block text-[21px] font-bold tracking-[-0.025em] leading-none tabular-nums",style:{color:INK2,fontFamily:FONT_SERIF},"data-gufi-src":"components/Seleccion.tsx:447"},rentaTxt,hayPrecio&&__gh("span",{className:"text-[12.5px] font-semibold ml-0.5",style:{color:MUTED},"data-gufi-src":"components/Seleccion.tsx:451"},"/mes"),hayPrecio&&ivaNota(a)&&__gh("span",{className:"text-[11px] font-medium ml-1.5",style:{color:MUTED},"data-gufi-src":"components/Seleccion.tsx:452"},ivaNota(a))),__gh("button",{type:"button",onClick:onSolicitar,"aria-label":`Pedir visita de ${nombre}`,className:"relative z-20 mt-3.5 w-full inline-flex items-center justify-center gap-1.5 h-11 px-4 rounded-full border bg-white text-[12.5px] font-semibold transition-colors duration-200 hover:border-[#B9C6DA] hover:bg-[#F4F7FB] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{color:INK2,borderColor:LINE},"data-gufi-src":"components/Seleccion.tsx:454"},__gh(import_lucide_react4.CalendarCheck,{size:15,strokeWidth:2,style:{color:MUTED}})," Pedir visita"))))}function EsqueletoSel(){return __gh("div",{className:"rounded-[20px] border overflow-hidden bg-white",style:{borderColor:LINE},"data-gufi-src":"components/Seleccion.tsx:471"},__gh("div",{className:"relative aspect-[4/3] overflow-hidden","data-gufi-src":"components/Seleccion.tsx:472"},__gh("div",{className:"absolute inset-0 animate-pulse",style:{background:"linear-gradient(100deg, #E8EEF6 30%, #F2F6FB 50%, #E8EEF6 70%)"},"data-gufi-src":"components/Seleccion.tsx:473"})),__gh("div",{className:"p-[22px]","data-gufi-src":"components/Seleccion.tsx:478"},__gh("div",{className:"h-3 w-2/5 bg-[#EDF1F6] rounded-full animate-pulse","data-gufi-src":"components/Seleccion.tsx:479"}),__gh("div",{className:"h-4 w-5/6 bg-[#E8EEF6] rounded-full animate-pulse mt-2.5","data-gufi-src":"components/Seleccion.tsx:480"}),__gh("div",{className:"h-4 w-1/2 bg-[#E8EEF6] rounded-full animate-pulse mt-2","data-gufi-src":"components/Seleccion.tsx:481"}),__gh("div",{className:"h-[26px] w-40 bg-[#EDF1F6] rounded-full animate-pulse mt-3","data-gufi-src":"components/Seleccion.tsx:482"}),__gh("div",{className:"h-3 w-3/5 bg-[#EDF1F6] rounded-full animate-pulse mt-4","data-gufi-src":"components/Seleccion.tsx:483"}),__gh("div",{className:"pt-5 mt-5 border-t",style:{borderColor:LINE2},"data-gufi-src":"components/Seleccion.tsx:484"},__gh("div",{className:"h-3 w-24 bg-[#EDF1F6] rounded-full animate-pulse","data-gufi-src":"components/Seleccion.tsx:485"}),__gh("div",{className:"h-6 w-1/3 bg-[#E8EEF6] rounded-md animate-pulse mt-2","data-gufi-src":"components/Seleccion.tsx:486"}),__gh("div",{className:"h-11 w-full bg-[#EDF1F6] rounded-full animate-pulse mt-3.5","data-gufi-src":"components/Seleccion.tsx:487"}))))}function Seleccion({ctx,ids,entrada,salida,loading}){let reduce=(0,import_framer_motion4.useReducedMotion)(),pedidos=Array.isArray(ids)?ids:[],alo=ctx&&ctx.alojamientos?ctx.alojamientos:[],ocupacion=ctx&&ctx.ocupacion||{},ocupacionLista=!!(ctx&&ctx.ocupacionLista),hayRango=!!(entrada&&salida&&salida>entrada),noches=hayRango?nochesEntre(entrada,salida):0,porId=(0,import_react4.useMemo)(()=>{let m=new Map;for(let a of alo)a&&a.id!=null&&m.set(String(a.id),a);return m},[alo]),encontradas=(0,import_react4.useMemo)(()=>pedidos.map(id=>porId.get(String(id))).filter(Boolean),[pedidos.join(","),porId]),n=encontradas.length,faltan=pedidos.length-n,catalogoCaido=!loading&&alo.length===0,ciudadComun=(0,import_react4.useMemo)(()=>{let cs=new Set(encontradas.map(a=>txt2(a&&a.ciudad)).filter(Boolean));return cs.size===1?[...cs][0]:""},[encontradas]),mesesPrefill=(0,import_react4.useMemo)(()=>{if(!noches)return"";let m=Math.round(noches/30);return[1,2,3,6,9,12].indexOf(m)>=0?String(m):""},[noches]),pedirVisita=a=>{let nombre=txt2(a&&a.nombre)||"la vivienda",ciudad=txt2(a&&a.ciudad);ctx.openSolicitud({tipo:"Inquilino busca",vivienda_id:a&&a.id,fecha_entrada:entrada||"",meses:mesesPrefill,mensaje:`Me interesa ${nombre}${ciudad?` en ${ciudad}`:""}${hayRango?`, ${rangoLargo(entrada,salida)}`:""}. La he visto en la selecci\xF3n que me hab\xE9is enviado.`})},escribirnos=()=>ctx.openSolicitud({tipo:"Inquilino busca",fecha_entrada:entrada||"",meses:mesesPrefill,mensaje:hayRango?`He recibido vuestra selecci\xF3n para la estancia ${rangoLargo(entrada,salida)} y me gustar\xEDa ver m\xE1s opciones.`:"He recibido vuestra selecci\xF3n y me gustar\xEDa ver m\xE1s opciones."}),rejilla=REJILLA[Math.min(Math.max(n||pedidos.length,1),3)]||REJILLA[3],tarjetas=(0,import_react4.useMemo)(()=>encontradas.map(a=>({a,extras:distintivasDe(a).slice(0,3),aviso:avisoMinimoDe(a,noches),ficha:!!fichaTecnicaDe(a)})),[encontradas,noches]),reserva=(0,import_react4.useMemo)(()=>({ficha:tarjetas.some(t=>t.ficha),extras:tarjetas.some(t=>t.extras.length>0),aviso:tarjetas.some(t=>!!t.aviso),titulo:tarjetas.length>1}),[tarjetas]);return __gh("section",{id:"top",className:"relative bg-white","data-gufi-src":"components/Seleccion.tsx:595"},__gh("div",{className:"max-w-[1240px] mx-auto px-5 sm:px-8 pt-[112px] sm:pt-[140px] pb-14 sm:pb-20","data-gufi-src":"components/Seleccion.tsx:596"},__gh(import_framer_motion4.motion.div,{initial:reduce?!1:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.6,ease:EASE4},className:"max-w-[760px]"},__gh("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.2em]",style:{color:MUTED},"data-gufi-src":"components/Seleccion.tsx:607"},"Tu selecci\xF3n"),__gh("h1",{className:"text-[31px] sm:text-[44px] font-bold tracking-[-0.035em] mt-4 leading-[1.04]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Seleccion.tsx:610"},catalogoCaido?"Tu selecci\xF3n":loading?pedidos.length===1?"La vivienda que te hemos enviado":`Las ${pedidos.length} viviendas que te hemos enviado`:n===0?"Tu selecci\xF3n ya no est\xE1 disponible":n===1?"La vivienda que hemos elegido para ti":`${n} viviendas elegidas para ti`),n>0&&!loading&&__gh("p",{className:"text-[15.5px] mt-4 leading-relaxed",style:{color:BODY},"data-gufi-src":"components/Seleccion.tsx:625"},"Esta es la selecci\xF3n que HostWorkers ha preparado",ciudadComun?` en ${ciudadComun}`:"","."," ",n===1?"Entra para ver sus fotos y el detalle, o pide la visita directamente.":"Entra en cualquiera para ver sus fotos y el detalle, o pide la visita directamente."),hayRango&&__gh("div",{className:"mt-5 inline-flex items-center gap-2.5 h-10 px-4 rounded-full border",style:{borderColor:LINE,background:PAPER2},"data-gufi-src":"components/Seleccion.tsx:633"},__gh(import_lucide_react4.CalendarRange,{size:16,strokeWidth:1.9,style:{color:CLAY}}),__gh("span",{className:"text-[13px] font-semibold tabular-nums",style:{color:INK2},"data-gufi-src":"components/Seleccion.tsx:635"},fCorta(entrada)," \u2192 ",fCorta(salida)),__gh("span",{className:"w-px h-4",style:{background:LINE},"data-gufi-src":"components/Seleccion.tsx:638"}),__gh("span",{className:"text-[12.5px] font-medium tabular-nums",style:{color:MUTED},"data-gufi-src":"components/Seleccion.tsx:639"},noches," ",noches===1?"noche":"noches"))),!loading&&faltan>0&&n>0&&__gh("div",{role:"status",className:"mt-8 rounded-2xl px-4 sm:px-5 py-4 flex items-start gap-3",style:{background:AMBAR_FONDO,border:`1px solid ${AMBAR_LINEA}`},"data-gufi-src":"components/Seleccion.tsx:649"},__gh("div",{className:"min-w-0","data-gufi-src":"components/Seleccion.tsx:654"},__gh("p",{className:"text-[14px] sm:text-[15px] font-semibold",style:{color:AMBAR_TINTA},"data-gufi-src":"components/Seleccion.tsx:655"},faltan===1?`Una de las ${pedidos.length} viviendas de este enlace ya no est\xE1 disponible`:`${faltan} de las ${pedidos.length} viviendas de este enlace ya no est\xE1n disponibles`),__gh("p",{className:"text-[13px] sm:text-[13.5px] leading-relaxed mt-1",style:{color:AMBAR_TINTA},"data-gufi-src":"components/Seleccion.tsx:660"},faltan===1?"Puede que se haya alquilado o que se haya retirado del cat\xE1logo desde que te enviamos el enlace. ":"Puede que se hayan alquilado o que se hayan retirado del cat\xE1logo desde que te enviamos el enlace. ","Te mostramos ",n===1?"la que sigue publicada":`las ${n} que siguen publicadas`," \u2014 y si quer\xEDas algo parecido, escr\xEDbenos y te buscamos opciones."),__gh("button",{type:"button",onClick:escribirnos,className:"mt-3 inline-flex items-center gap-1.5 h-11 px-4 rounded-full border bg-white text-[12.5px] font-semibold transition-colors hover:border-[#D8BE96] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444]",style:{color:AMBAR_TINTA,borderColor:AMBAR_LINEA},"data-gufi-src":"components/Seleccion.tsx:669"},__gh(import_lucide_react4.MessageCircle,{size:14,strokeWidth:2})," Escr\xEDbenos"))),!loading&&n===0&&__gh("div",{role:"status",className:"mt-9 rounded-[20px] border px-6 py-8 sm:px-8 sm:py-10 max-w-[720px]",style:{borderColor:catalogoCaido?LINE:AMBAR_LINEA,background:catalogoCaido?PAPER2:AMBAR_FONDO},"data-gufi-src":"components/Seleccion.tsx:685"},__gh("p",{className:"text-[16px] sm:text-[17px] font-bold tracking-[-0.02em]",style:{color:catalogoCaido?INK:AMBAR_TINTA,fontFamily:FONT_SERIF},"data-gufi-src":"components/Seleccion.tsx:690"},catalogoCaido?"No hemos podido cargar las residencias":pedidos.length===1?"Esa vivienda ya no est\xE1 disponible":`Ninguna de las ${pedidos.length} viviendas de este enlace sigue disponible`),__gh("p",{className:"text-[13.5px] sm:text-[14px] leading-relaxed mt-2",style:{color:catalogoCaido?BODY:AMBAR_TINTA},"data-gufi-src":"components/Seleccion.tsx:697"},catalogoCaido?"Recarga la p\xE1gina; si sigue igual, escr\xEDbenos a rumarflats@gmail.com y te las enviamos nosotros.":"Puede que se hayan alquilado o que se hayan retirado del cat\xE1logo desde que te enviamos el enlace. Abajo tienes todas las residencias publicadas, y si nos escribes te buscamos algo parecido."),__gh("div",{className:"flex flex-col sm:flex-row sm:items-center gap-2.5 mt-6","data-gufi-src":"components/Seleccion.tsx:702"},!catalogoCaido&&__gh("button",{type:"button",onClick:()=>scrollToId("viviendas"),className:"inline-flex items-center justify-center gap-2 h-12 px-6 rounded-full text-white text-[13.5px] font-semibold transition-colors hover:bg-[#1B3142] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{background:INK},"data-gufi-src":"components/Seleccion.tsx:706"},"Ver todas las residencias ",__gh(import_lucide_react4.ArrowRight,{size:15,strokeWidth:2.2})),__gh("button",{type:"button",onClick:escribirnos,className:"inline-flex items-center justify-center gap-2 h-12 px-6 rounded-full border bg-white text-[13.5px] font-semibold transition-colors hover:border-[#B9C6DA] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{color:INK2,borderColor:LINE},"data-gufi-src":"components/Seleccion.tsx:715"},__gh(import_lucide_react4.MessageCircle,{size:15,strokeWidth:2})," Escr\xEDbenos"))),loading?__gh("div",{className:`grid gap-6 sm:gap-7 mt-9 ${rejilla}`,"data-gufi-src":"components/Seleccion.tsx:731"},pedidos.slice(0,3).map(id=>__gh(EsqueletoSel,{key:id}))):n>0?__gh("div",{className:`grid gap-6 sm:gap-7 mt-9 ${rejilla}`,"data-gufi-src":"components/Seleccion.tsx:735"},tarjetas.map(({a,extras,aviso},i)=>__gh(TarjetaSel,{key:a.id,a,i,reduce,dispo:dispoDe(a,ocupacion,ocupacionLista,entrada,salida,noches),extras,estMinAviso:aviso,reserva,onVer:()=>ctx.openDetalle(a),onSolicitar:()=>pedirVisita(a)}))):null,n>0&&!loading&&__gh("div",{className:"mt-12 sm:mt-14 rounded-[20px] border px-6 py-6 sm:px-8 sm:py-7 flex flex-col lg:flex-row lg:items-center lg:justify-between gap-5",style:{borderColor:LINE,background:PAPER2},"data-gufi-src":"components/Seleccion.tsx:755"},__gh("div",{className:"min-w-0","data-gufi-src":"components/Seleccion.tsx:759"},__gh("p",{className:"text-[16px] font-bold tracking-[-0.02em]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Seleccion.tsx:760"},"\xBFQuieres ver m\xE1s opciones?"),__gh("p",{className:"text-[13.5px] leading-relaxed mt-1.5",style:{color:BODY},"data-gufi-src":"components/Seleccion.tsx:763"},alo.length>n?`En el cat\xE1logo tienes las ${alo.length} residencias publicadas. Y si prefieres que busquemos nosotros, escr\xEDbenos.`:"Escr\xEDbenos y te buscamos opciones a medida de lo que necesitas.")),__gh("div",{className:"flex flex-col sm:flex-row sm:items-center gap-2.5 shrink-0","data-gufi-src":"components/Seleccion.tsx:769"},__gh("button",{type:"button",onClick:()=>scrollToId("viviendas"),className:"inline-flex items-center justify-center gap-2 h-12 px-6 rounded-full text-white text-[13.5px] font-semibold transition-colors hover:bg-[#1B3142] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{background:INK},"data-gufi-src":"components/Seleccion.tsx:770"},"Ver todas las residencias ",__gh(import_lucide_react4.ArrowRight,{size:15,strokeWidth:2.2})),__gh("button",{type:"button",onClick:escribirnos,className:"inline-flex items-center justify-center gap-2 h-12 px-6 rounded-full border bg-white text-[13.5px] font-semibold transition-colors hover:border-[#B9C6DA] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{color:INK2,borderColor:LINE},"data-gufi-src":"components/Seleccion.tsx:778"},__gh(import_lucide_react4.MessageCircle,{size:15,strokeWidth:2})," Escr\xEDbenos")))))}var import_react5=require("react"),import_framer_motion5=require("framer-motion"),import_lucide_react5=require("lucide-react"),import_utils3=require("@/shared/lib/utils");var EASE5=[.22,.61,.36,1],OVERLAY="linear-gradient(to top, rgba(20,36,47,0.88) 0%, rgba(20,36,47,0.34) 46%, rgba(20,36,47,0) 78%)",txt3=v=>v==null?"":typeof v=="string"?v:typeof v=="number"?Number.isFinite(v)?String(v):"":String(typeof v=="object"?v.name??v.label??v.value??v.title??v.text??"":v),vieneConSeleccion=()=>{try{return pisosIdsDeParam(new URLSearchParams(window.location.search).get("pisos")).length>0}catch{return!1}};function Destinos({ctx}){let conSeleccion=(0,import_react5.useMemo)(vieneConSeleccion,[]),ciudades=(0,import_react5.useMemo)(()=>{let map=new Map;for(let a of ctx.alojamientos||[]){let ciudad=txt3(a?.ciudad);if(!ciudad)continue;let key=ciudadKey(ciudad);if(!key)continue;let foto=typeof a?.foto=="string"?a.foto:"",mens=mensualidadDe(a),e=map.get(key);e||(e={key,count:0,foto:"",desde:0,grafias:[]},map.set(key,e)),e.count+=1,e.grafias.push(ciudad),!e.foto&&foto&&(e.foto=foto),mens&&(e.desde===0||mensout.push({key:e.key,label:etiquetaCiudad(e.grafias),count:e.count,foto:e.foto,desde:e.desde})),out.sort((x,y)=>y.count-x.count||x.label.localeCompare(y.label,"es"))},[ctx.alojamientos]);if(conSeleccion||ciudades.length<2)return null;let totalRes=(ctx.alojamientos||[]).length,ir=label=>{ctx.setBusqueda(b=>({...b,ciudad:label})),scrollToId("viviendas")},verTodas=()=>{ctx.setBusqueda(b=>({...b,ciudad:""})),scrollToId("viviendas")},resLabel=n=>`${fmtNum(n)} ${n===1?"residencia":"residencias"}`,desdeLabel=v=>v?` \xB7 desde ${fmtEur(v)}/mes`:"",many=ciudades.length>=3,hero=many?ciudades[0]:null,rest=many?ciudades.slice(1,7):ciudades.slice(0,2),resto=many?ciudades.slice(7):[],restCols=many?(0,import_utils3.cn)("grid-cols-2",rest.length<=2?"lg:grid-cols-2":"lg:grid-cols-3"):"grid-cols-1 sm:grid-cols-2",restAspect=many?"aspect-[4/5]":"aspect-[16/11]";return __gh("section",{className:"bg-white border-t",style:{borderColor:LINE},"data-gufi-src":"components/Destinos.tsx:110"},__gh("div",{className:"max-w-[1240px] mx-auto px-5 sm:px-8 py-20 sm:py-28","data-gufi-src":"components/Destinos.tsx:111"},__gh("div",{className:"flex flex-wrap items-end justify-between gap-x-6 gap-y-7 mb-10 sm:mb-14","data-gufi-src":"components/Destinos.tsx:116"},__gh(import_framer_motion5.motion.div,{initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-70px"},transition:{duration:.6,ease:EASE5},className:"max-w-[580px]"},__gh("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.2em]",style:{color:MUTED},"data-gufi-src":"components/Destinos.tsx:121"},"Destinos"),__gh("h2",{className:"text-[34px] sm:text-[52px] font-extrabold tracking-[-0.038em] mt-4 leading-[0.98]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Destinos.tsx:124"},"Explora por ciudad"),__gh("p",{className:"text-[15.5px] sm:text-[16.5px] mt-4 leading-relaxed",style:{color:BODY},"data-gufi-src":"components/Destinos.tsx:127"},"De la costa al centro hist\xF3rico. Elige tu ciudad y descubre residencias listas para entrar.")),__gh(import_framer_motion5.motion.div,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-70px"},transition:{duration:.6,delay:.1,ease:EASE5},className:"flex items-center gap-6"},__gh("div",{className:"flex items-stretch gap-6 sm:pr-6 sm:border-r",style:{borderColor:LINE},"data-gufi-src":"components/Destinos.tsx:138"},__gh("div",{"data-gufi-src":"components/Destinos.tsx:139"},__gh("div",{className:"text-[27px] font-extrabold tabular-nums tracking-[-0.03em] leading-none",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Destinos.tsx:140"},fmtNum(ciudades.length)),__gh("div",{className:"text-[13px] font-medium mt-1.5",style:{color:MUTED},"data-gufi-src":"components/Destinos.tsx:141"},"ciudades")),__gh("div",{"data-gufi-src":"components/Destinos.tsx:143"},__gh("div",{className:"text-[27px] font-extrabold tabular-nums tracking-[-0.03em] leading-none",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Destinos.tsx:144"},fmtNum(totalRes)),__gh("div",{className:"text-[13px] font-medium mt-1.5",style:{color:MUTED},"data-gufi-src":"components/Destinos.tsx:145"},"residencias"))),__gh("button",{type:"button",onClick:verTodas,className:"group hidden sm:inline-flex items-center gap-2 pb-1 border-b text-[13.5px] font-semibold transition-colors hover:border-b-[#1E3444]",style:{color:INK,borderColor:LINE},"data-gufi-src":"components/Destinos.tsx:148"},"Ver toda la colecci\xF3n",__gh(import_lucide_react5.ArrowRight,{size:16,className:"transition-transform group-hover:translate-x-0.5",style:{color:MUTED}})))),hero&&__gh(import_framer_motion5.motion.button,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-70px"},transition:{duration:.7,ease:EASE5},type:"button",onClick:()=>ir(hero.label),"aria-label":`Ver ${resLabel(hero.count)} en ${hero.label}`,className:"group block w-full text-left mb-4 sm:mb-5 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white rounded-[20px]"},__gh("div",{className:"relative rounded-[20px] overflow-hidden h-[300px] sm:h-[380px] lg:h-[420px] ring-1 ring-black/[0.06] shadow-[0_28px_64px_-44px_rgba(20,35,46,0.42)] transition-shadow duration-500 group-hover:shadow-[0_38px_82px_-44px_rgba(20,35,46,0.52)]","data-gufi-src":"components/Destinos.tsx:175"},hero.foto?__gh("img",{src:hero.foto,alt:`Vivienda disponible en ${hero.label}`,loading:"lazy",decoding:"async",className:"absolute inset-0 w-full h-full object-cover","data-gufi-src":"components/Destinos.tsx:177"}):__gh("div",{className:"absolute inset-0",style:{background:"#E8EEF6"},"data-gufi-src":"components/Destinos.tsx:179"}),__gh("div",{className:"pointer-events-none absolute inset-0",style:{background:OVERLAY},"data-gufi-src":"components/Destinos.tsx:181"}),__gh("div",{className:"absolute inset-x-0 bottom-0 p-6 sm:p-9","data-gufi-src":"components/Destinos.tsx:183"},__gh("div",{className:"flex flex-wrap items-end justify-between gap-4","data-gufi-src":"components/Destinos.tsx:184"},__gh("div",{className:"min-w-0","data-gufi-src":"components/Destinos.tsx:185"},__gh("div",{className:"text-[36px] sm:text-[50px] font-extrabold tracking-[-0.038em] text-white leading-[0.98]",style:{fontFamily:FONT_SERIF},"data-gufi-src":"components/Destinos.tsx:186"},hero.label),__gh("div",{className:"text-[13.5px] mt-3 font-medium tabular-nums",style:{color:"rgba(255,255,255,0.85)"},"data-gufi-src":"components/Destinos.tsx:189"},resLabel(hero.count),desdeLabel(hero.desde))),__gh("span",{className:"shrink-0 inline-flex items-center gap-2 rounded-full border border-white/35 bg-white/[0.12] px-5 py-2.5 text-[13.5px] font-semibold text-white backdrop-blur-md transition-colors duration-300 group-hover:bg-white/[0.22]","data-gufi-src":"components/Destinos.tsx:193"},"Ver residencias ",__gh(import_lucide_react5.ArrowRight,{size:16,strokeWidth:2.2,className:"transition-transform duration-300 group-hover:translate-x-1"})))))),__gh("div",{className:(0,import_utils3.cn)("grid gap-4 sm:gap-5",restCols),"data-gufi-src":"components/Destinos.tsx:203"},rest.map((c,i)=>__gh(import_framer_motion5.motion.button,{key:c.key,initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.55,delay:Math.min(i,5)*.03,ease:EASE5},type:"button",onClick:()=>ir(c.label),"aria-label":`Ver ${resLabel(c.count)} en ${c.label}`,className:"group block text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white rounded-[16px]"},__gh("div",{className:(0,import_utils3.cn)("relative rounded-[16px] overflow-hidden ring-1 ring-black/[0.06] shadow-[0_18px_44px_-36px_rgba(20,35,46,0.38)] transition-shadow duration-500 group-hover:shadow-[0_28px_60px_-36px_rgba(20,35,46,0.48)]",restAspect),"data-gufi-src":"components/Destinos.tsx:216"},c.foto?__gh("img",{src:c.foto,alt:`Vivienda disponible en ${c.label}`,loading:"lazy",decoding:"async",className:"absolute inset-0 w-full h-full object-cover","data-gufi-src":"components/Destinos.tsx:218"}):__gh("div",{className:"absolute inset-0",style:{background:"#E8EEF6"},"data-gufi-src":"components/Destinos.tsx:220"}),__gh("div",{className:"pointer-events-none absolute inset-0",style:{background:OVERLAY},"data-gufi-src":"components/Destinos.tsx:222"}),__gh("div",{className:"absolute inset-x-0 bottom-0 p-3.5 sm:p-5","data-gufi-src":"components/Destinos.tsx:224"},__gh("div",{className:"flex items-center gap-2","data-gufi-src":"components/Destinos.tsx:231"},__gh("span",{className:"min-w-0 text-[18px] sm:text-[22px] font-bold tracking-[-0.02em] text-white leading-tight",style:{fontFamily:FONT_SERIF},"data-gufi-src":"components/Destinos.tsx:232"},c.label),__gh(import_lucide_react5.ArrowRight,{size:16,strokeWidth:2.1,"aria-hidden":!0,className:"hidden sm:block shrink-0 text-white/70 transition-transform duration-300 group-hover:translate-x-1"})),__gh("div",{className:"text-[11.5px] sm:text-[12.5px] mt-1.5 font-medium tabular-nums",style:{color:"rgba(255,255,255,0.82)"},"data-gufi-src":"components/Destinos.tsx:241"},resLabel(c.count),c.desde>0&&__gh(__gf,null,__gh("span",{className:"hidden sm:inline","data-gufi-src":"components/Destinos.tsx:245"}," \xB7 "),__gh("span",{className:"block sm:inline","data-gufi-src":"components/Destinos.tsx:246"},"desde ",fmtEur(c.desde),"/mes")))))))),resto.length>0&&__gh("div",{className:"mt-6 pt-6 border-t",style:{borderColor:LINE2},"data-gufi-src":"components/Destinos.tsx:259"},__gh("span",{className:"block text-[12px] font-medium mb-3",style:{color:MUTED},"data-gufi-src":"components/Destinos.tsx:260"},"Tambi\xE9n en"),__gh("div",{className:"flex flex-wrap gap-2","data-gufi-src":"components/Destinos.tsx:267"},resto.map(c=>__gh("button",{key:c.key,type:"button",onClick:()=>ir(c.label),"aria-label":`Ver ${resLabel(c.count)} en ${c.label}`,className:"group inline-flex items-center gap-x-2 gap-y-0.5 flex-wrap min-h-[44px] py-2 px-[18px] rounded-full border bg-white text-[13px] font-semibold transition-colors hover:border-[#B9C6DA] hover:text-[#1E3444] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{color:BODY,borderColor:LINE},"data-gufi-src":"components/Destinos.tsx:269"},__gh("span",{"data-gufi-src":"components/Destinos.tsx:277"},c.label),__gh("span",{className:"inline-flex items-center gap-2 text-[12px] font-medium tabular-nums",style:{color:MUTED},"data-gufi-src":"components/Destinos.tsx:280"},resLabel(c.count),desdeLabel(c.desde),__gh(import_lucide_react5.ArrowRight,{size:14,strokeWidth:2.2,className:"shrink-0 transition-transform group-hover:translate-x-0.5"})))))),__gh("button",{type:"button",onClick:verTodas,className:"group mt-8 flex sm:hidden w-full items-center justify-center gap-2 rounded-[13px] border py-3.5 text-[14px] font-semibold transition-colors",style:{color:INK,borderColor:LINE},"data-gufi-src":"components/Destinos.tsx:291"},"Ver toda la colecci\xF3n",__gh(import_lucide_react5.ArrowRight,{size:16,className:"transition-transform group-hover:translate-x-0.5",style:{color:MUTED}}))))}var import_react6=require("react"),import_framer_motion6=require("framer-motion"),import_lucide_react6=require("lucide-react"),import_utils4=require("@/shared/lib/utils");var EASE6=[.22,.61,.36,1],OVERLAY2="linear-gradient(to top, rgba(20,36,47,0.90) 0%, rgba(20,36,47,0.34) 46%, rgba(20,36,47,0.02) 78%)",OVERLAY_SUB="linear-gradient(to top, rgba(20,36,47,0.88) 0%, rgba(20,36,47,0.24) 54%, rgba(20,36,47,0) 82%)",txt4=v=>v==null?"":typeof v=="string"?v:typeof v=="number"?Number.isFinite(v)?String(v):"":String(typeof v=="object"?v.name??v.label??v.value??v.title??v.text??"":v),rentaLabel=a=>{let v=mensualidadDe(a);return Number.isFinite(v)&&v>0?fmtEur(v):"Consultar"},vieneConSeleccion2=()=>{try{return pisosIdsDeParam(new URLSearchParams(window.location.search).get("pisos")).length>0}catch{return!1}};function FeaturedCard({a,variant,onClick,ocupada,libreDesde}){let nombre=txt4(a?.nombre)||"Residencia",ciudad=txt4(a?.ciudad),tipo=txt4(a?.tipo)||"Residencia",foto=typeof a?.foto=="string"?a.foto:"",hero=variant==="hero",ficha=[{v:num(a?.habitaciones),uno:"dormitorio",varios:"dormitorios"},{v:num(a?.banos),uno:"ba\xF1o",varios:"ba\xF1os"},{v:num(a?.capacidad),uno:"hu\xE9sped",varios:"hu\xE9spedes"}].filter(m=>m.v>0).map(m=>`${m.v} ${m.v===1?m.uno:m.varios}`).join(" \xB7 "),libreTxt=libreDesde?`Libre el ${new Date(libreDesde+"T00:00:00").toLocaleDateString("es-ES",{day:"numeric",month:"short"})}`:"Ocupada",situacion=ciudad&&tipo?`${tipo} en ${ciudad}`:tipo||ciudad;return __gh("button",{type:"button",onClick,"aria-label":`Ver residencia ${nombre}${ciudad?` en ${ciudad}`:""}${ocupada?` \xB7 ${libreTxt}`:""}`,className:(0,import_utils4.cn)("group relative block w-full text-left overflow-hidden rounded-[20px] bg-[#E8EEF6] ring-1 ring-black/[0.06] transition-shadow duration-500 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",hero?"aspect-[4/5] sm:aspect-[16/11] lg:aspect-auto lg:h-full min-h-[340px] shadow-[0_30px_66px_-44px_rgba(20,35,46,0.5)]":"aspect-[16/10] lg:aspect-auto lg:h-full min-h-[190px] shadow-[0_20px_48px_-38px_rgba(20,35,46,0.45)]"),"data-gufi-src":"components/Featured.tsx:65"},foto?__gh("img",{src:foto,alt:nombre,loading:"lazy",decoding:"async",className:"absolute inset-0 w-full h-full object-cover","data-gufi-src":"components/Featured.tsx:77"}):__gh("div",{className:"absolute inset-0",style:{background:"#E8EEF6"},"data-gufi-src":"components/Featured.tsx:85"}),__gh("div",{className:"pointer-events-none absolute inset-0",style:{background:hero?OVERLAY2:OVERLAY_SUB},"data-gufi-src":"components/Featured.tsx:87"}),ocupada&&__gh(__gf,null,__gh("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 h-20",style:{background:"linear-gradient(180deg, rgba(20,36,47,0.30) 0%, rgba(20,36,47,0) 100%)"},"data-gufi-src":"components/Featured.tsx:94"}),__gh("span",{className:"pointer-events-none absolute top-4 left-4 sm:top-5 sm:left-5 inline-flex items-center rounded-full px-3 py-[6px] text-[11.5px] font-semibold",style:{background:"rgba(20,35,46,0.92)",color:"#fff"},"data-gufi-src":"components/Featured.tsx:99"},libreTxt)),__gh("div",{className:(0,import_utils4.cn)("absolute inset-x-0 bottom-0",hero?"p-6 sm:p-8":"p-4 sm:p-5"),"data-gufi-src":"components/Featured.tsx:109"},situacion&&__gh("p",{className:(0,import_utils4.cn)("font-medium text-white/80 truncate",hero?"text-[13px]":"text-[11.5px]"),"data-gufi-src":"components/Featured.tsx:111"},situacion),__gh("h3",{className:(0,import_utils4.cn)("font-extrabold tracking-[-0.03em] text-white leading-[1.04] mt-1.5 line-clamp-2",hero?"text-[26px] sm:text-[34px]":"text-[17px] sm:text-[19px]"),style:{fontFamily:FONT_SERIF},"data-gufi-src":"components/Featured.tsx:115"},nombre),hero?__gh(__gf,null,ficha&&__gh("p",{className:"mt-3 text-[13px] font-medium text-white/85 tabular-nums truncate","data-gufi-src":"components/Featured.tsx:128"},ficha),__gh("div",{className:"flex flex-wrap items-end justify-between gap-3 mt-5","data-gufi-src":"components/Featured.tsx:130"},__gh("span",{className:"block","data-gufi-src":"components/Featured.tsx:131"},__gh("span",{className:"block text-[28px] sm:text-[32px] font-extrabold tracking-[-0.03em] text-white tabular-nums leading-none",style:{fontFamily:FONT_SERIF},"data-gufi-src":"components/Featured.tsx:132"},rentaLabel(a),__gh("span",{className:"text-[14px] font-semibold text-white/70","data-gufi-src":"components/Featured.tsx:133"}," /mes")),ivaNota(a)&&__gh("span",{className:"block text-[11.5px] font-medium text-white/65 mt-1.5","data-gufi-src":"components/Featured.tsx:135"},ivaNota(a))),__gh("span",{className:"inline-flex items-center gap-2 rounded-full border border-white/35 bg-white/[0.12] px-5 py-2.5 text-[13.5px] font-semibold text-white backdrop-blur-md transition-colors duration-300 group-hover:bg-white/[0.22]","data-gufi-src":"components/Featured.tsx:140"},"Ver residencia ",__gh(import_lucide_react6.ArrowRight,{size:16,strokeWidth:2.2,className:"transition-transform duration-300 group-hover:translate-x-1"})))):__gh("div",{className:"flex items-end justify-between gap-3 mt-3","data-gufi-src":"components/Featured.tsx:146"},__gh("span",{className:"text-[16px] font-extrabold text-white tabular-nums leading-none",style:{fontFamily:FONT_SERIF},"data-gufi-src":"components/Featured.tsx:147"},rentaLabel(a),__gh("span",{className:"text-[11px] font-semibold text-white/70","data-gufi-src":"components/Featured.tsx:148"}," /mes")),__gh(import_lucide_react6.ArrowRight,{size:17,strokeWidth:2.1,"aria-hidden":!0,className:"shrink-0 text-white/80 transition-transform duration-300 group-hover:translate-x-1"}))))}function Featured({ctx}){let conSeleccion=(0,import_react6.useMemo)(vieneConSeleccion2,[]),todas=ctx.alojamientos||[],ocupacionLista=(0,import_react6.useMemo)(()=>{let o=ctx?.ocupacion;return!!o&&typeof o=="object"&&Object.keys(o).length>0},[ctx?.ocupacion]),libres=(0,import_react6.useMemo)(()=>todas.filter(a=>!ocupadaHoyDe(a,ctx?.ocupacion)),[todas,ctx?.ocupacion]),hayLibres=libres.length>0,destacadas=(0,import_react6.useMemo)(()=>{let base=hayLibres?libres:todas,conFoto=base.filter(a=>typeof a?.foto=="string"&&a.foto),universo=conFoto.length?conFoto:base,precios=universo.map(a=>num(a?.precio_base)).filter(n=>n>0).sort((x,y)=>x-y),medianaPrecio=precios.length?precios.length%2?precios[(precios.length-1)/2]:(precios[precios.length/2-1]+precios[precios.length/2])/2:0,vistos=new Set;return universo.slice().sort((a,b)=>Math.abs(num(a.precio_base)-medianaPrecio)-Math.abs(num(b.precio_base)-medianaPrecio)).filter(a=>{let k=a?.id??a?.nombre;return vistos.has(k)?!1:(vistos.add(k),!0)}).slice(0,3)},[libres,todas,hayLibres]);if(conSeleccion||destacadas.length===0)return null;let[hero,...subs]=destacadas,soloHero=subs.length===0,titulo=hayLibres?"Libres hoy mismo":"Residencias destacadas",antetitulo=hayLibres?"Disponibilidad":"Selecci\xF3n",bajada=hayLibres?ocupacionLista?`${fmtNum(libres.length)} de las ${fmtNum(todas.length)} residencias del cat\xE1logo est\xE1n libres hoy.`:"Residencias libres hoy, listas para entrar.":"Nuestras residencias de mayor categor\xEDa.";return __gh("section",{className:"border-t",style:{borderColor:LINE,background:`linear-gradient(180deg, #FFFFFF 0%, ${PAPER2} 100%)`},"data-gufi-src":"components/Featured.tsx:232"},__gh("div",{className:"max-w-[1240px] mx-auto px-5 sm:px-8 py-20 sm:py-28","data-gufi-src":"components/Featured.tsx:233"},__gh("div",{className:"flex flex-wrap items-end justify-between gap-x-6 gap-y-6 mb-9 sm:mb-12","data-gufi-src":"components/Featured.tsx:237"},__gh(import_framer_motion6.motion.div,{initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-70px"},transition:{duration:.6,ease:EASE6},className:"max-w-[600px]"},__gh("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.2em]",style:{color:MUTED},"data-gufi-src":"components/Featured.tsx:242"},antetitulo),__gh("h2",{className:"text-[32px] sm:text-[48px] font-extrabold tracking-[-0.038em] mt-4 leading-[0.99]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Featured.tsx:245"},titulo),__gh("p",{className:"text-[15.5px] mt-4 leading-relaxed tabular-nums",style:{color:BODY},"data-gufi-src":"components/Featured.tsx:248"},bajada)),__gh(import_framer_motion6.motion.button,{initial:{opacity:0,y:14},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-70px"},transition:{duration:.6,delay:.1,ease:EASE6},type:"button",onClick:()=>scrollToId("viviendas"),className:"group hidden sm:inline-flex items-center gap-2 pb-1 border-b text-[13.5px] font-semibold transition-colors hover:border-b-[#1E3444]",style:{color:INK,borderColor:LINE}},"Ver las ",fmtNum(todas.length)," residencias",__gh(import_lucide_react6.ArrowRight,{size:16,className:"transition-transform group-hover:translate-x-0.5",style:{color:MUTED}}))),__gh(import_framer_motion6.motion.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.75,ease:EASE6},className:(0,import_utils4.cn)("grid gap-4 sm:gap-5 grid-cols-1",soloHero?"":"lg:grid-cols-3 lg:grid-rows-2 lg:h-[600px]")},__gh("div",{className:(0,import_utils4.cn)(soloHero?"lg:aspect-[16/7]":"lg:col-span-2 lg:row-span-2 lg:min-h-0"),"data-gufi-src":"components/Featured.tsx:273"},__gh(FeaturedCard,{a:hero,variant:"hero",onClick:()=>ctx.openDetalle(hero),ocupada:ocupadaHoyDe(hero,ctx?.ocupacion),libreDesde:libreDesdeDe(hero,ctx?.ocupacion)})),subs.map((a,idx)=>__gh("div",{key:a?.id??idx,className:(0,import_utils4.cn)("lg:min-h-0",subs.length===1?"lg:row-span-2":""),"data-gufi-src":"components/Featured.tsx:278"},__gh(FeaturedCard,{a,variant:"sub",onClick:()=>ctx.openDetalle(a),ocupada:ocupadaHoyDe(a,ctx?.ocupacion),libreDesde:libreDesdeDe(a,ctx?.ocupacion)})))),__gh("button",{type:"button",onClick:()=>scrollToId("viviendas"),className:"group mt-6 flex sm:hidden w-full items-center justify-center gap-2 rounded-[13px] border py-3.5 text-[14px] font-semibold transition-colors",style:{color:INK,borderColor:LINE},"data-gufi-src":"components/Featured.tsx:286"},"Ver las ",fmtNum(todas.length)," residencias",__gh(import_lucide_react6.ArrowRight,{size:16,style:{color:MUTED}}))))}var import_react7=require("react"),import_framer_motion7=require("framer-motion"),import_lucide_react7=require("lucide-react"),import_utils5=require("@/shared/lib/utils");var EASE7=[.22,.61,.36,1],SHADOW_HOVER2="0 2px 4px rgba(20,35,46,0.05), 0 28px 56px -40px rgba(20,35,46,0.42)",SHADOW_BASE="0 1px 2px rgba(20,35,46,0.04)",PASO=12,txt5=v=>v==null?"":typeof v=="string"?v:typeof v=="number"?Number.isFinite(v)?String(v):"":String(typeof v=="object"?v.name??v.label??v.value??v.title??v.text??"":v),rentaLabel2=a=>{let v=mensualidadDe(a);return Number.isFinite(v)&&v>0?fmtEur(v):"Consultar"},ESCALERA=[1e3,1250,1500,1750,2e3,2500];function Chip({active,onClick,label,count,title}){return __gh("button",{type:"button",onClick,"aria-pressed":active,title:title||label,className:(0,import_utils5.cn)("group max-w-full shrink-0 inline-flex items-center justify-center gap-2 h-[44px] min-w-[44px] px-[18px] rounded-full text-[13px] font-semibold tracking-[-0.01em] transition-[color,background-color,border-color,box-shadow] duration-200 border whitespace-nowrap focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",active?"bg-[#1E3444] text-white border-[#1E3444] shadow-[0_10px_22px_-14px_rgba(30,52,68,0.9)]":"bg-white hover:border-[#B9C6DA] hover:text-[#1E3444]"),style:active?void 0:{color:BODY,borderColor:LINE},"data-gufi-src":"components/Viviendas.tsx:73"},__gh("span",{className:"truncate","data-gufi-src":"components/Viviendas.tsx:93"},label),count!=null&&__gh("span",{className:(0,import_utils5.cn)("inline-flex items-center justify-center min-w-[20px] h-[20px] px-1 rounded-full text-[10.5px] font-bold tabular-nums transition-colors",active?"bg-white/22 text-white":"bg-[#F1F4F9] group-hover:bg-[#E6ECF5]"),style:active?void 0:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:95"},count))}function Campo({label,children,className}){return __gh("div",{className:(0,import_utils5.cn)("min-w-0",className),"data-gufi-src":"components/Viviendas.tsx:117"},__gh("span",{className:"block text-[12px] font-medium mb-2.5",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:118"},label),children)}function Selector({value,onChange,children,ariaLabel}){return __gh("div",{className:"relative","data-gufi-src":"components/Viviendas.tsx:140"},__gh("select",{value,onChange,"aria-label":ariaLabel,className:"appearance-none w-full h-[44px] pl-4 pr-10 rounded-full border bg-white text-[16px] sm:text-[13.5px] font-semibold cursor-pointer transition-colors hover:border-[#B9C6DA] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{color:INK,borderColor:LINE},"data-gufi-src":"components/Viviendas.tsx:141"},children),__gh(import_lucide_react7.ChevronDown,{size:15,strokeWidth:2.2,className:"pointer-events-none absolute right-3.5 top-1/2 -translate-y-1/2",style:{color:MUTED}}))}function ViviendaCard({a,onClick,ocupada,libreDesde}){let nombre=txt5(a?.nombre)||"Residencia",ciudad=txt5(a?.ciudad),tipo=txt5(a?.tipo)||"Residencia",foto=typeof a?.foto=="string"?a.foto:"",ficha=[{v:num(a?.habitaciones),uno:"dormitorio",varios:"dormitorios"},{v:num(a?.banos),uno:"ba\xF1o",varios:"ba\xF1os"},{v:num(a?.capacidad),uno:"hu\xE9sped",varios:"hu\xE9spedes"}].filter(m=>m.v>0).map(m=>`${m.v} ${m.v===1?m.uno:m.varios}`).join(" \xB7 "),libreTxt=libreDesde?`Libre el ${new Date(libreDesde+"T00:00:00").toLocaleDateString("es-ES",{day:"numeric",month:"short"})}`:"Ocupada",situacion=ciudad&&tipo?`${tipo} en ${ciudad}`:tipo||ciudad;return __gh("button",{type:"button",onClick,"aria-label":`Ver residencia ${nombre}${ciudad?` en ${ciudad}`:""}${ocupada?` \xB7 ${libreTxt}`:""}`,className:"group flex flex-col w-full h-full text-left bg-white rounded-[20px] overflow-hidden border transition-[box-shadow,border-color] duration-300 hover:border-[#C9D3E2] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{borderColor:LINE,boxShadow:SHADOW_BASE},onMouseEnter:e=>{e.currentTarget.style.boxShadow=SHADOW_HOVER2},onMouseLeave:e=>{e.currentTarget.style.boxShadow=SHADOW_BASE},"data-gufi-src":"components/Viviendas.tsx:195"},__gh("div",{className:"relative shrink-0 aspect-[4/3] overflow-hidden bg-[#E8EEF6]","data-gufi-src":"components/Viviendas.tsx:205"},foto?__gh("img",{src:foto,alt:nombre,loading:"lazy",decoding:"async",className:"w-full h-full object-cover","data-gufi-src":"components/Viviendas.tsx:207"}):__gh("div",{className:"w-full h-full flex flex-col items-center justify-center gap-2",style:{color:"#AFBBCC"},"data-gufi-src":"components/Viviendas.tsx:217"},__gh(import_lucide_react7.Building2,{size:28,strokeWidth:1.5}),__gh("span",{className:"text-[11px] font-medium tracking-[0.04em]","data-gufi-src":"components/Viviendas.tsx:219"},"Foto en camino")),ocupada&&__gh(__gf,null,__gh("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 h-20",style:{background:"linear-gradient(180deg, rgba(20,35,46,0.24) 0%, rgba(20,35,46,0) 100%)"},"data-gufi-src":"components/Viviendas.tsx:233"}),__gh("span",{className:"absolute top-3.5 left-3.5 z-10 inline-flex items-center rounded-full px-3 py-[6px] text-[11.5px] font-semibold",style:{background:"rgba(20,35,46,0.92)",color:"#fff"},"data-gufi-src":"components/Viviendas.tsx:238"},libreTxt))),__gh("div",{className:"flex flex-col flex-1 p-5 sm:p-[22px]","data-gufi-src":"components/Viviendas.tsx:249"},__gh("p",{className:"text-[12.5px] font-medium truncate",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:251"},situacion),__gh("h3",{className:"mt-2 text-[18.5px] sm:text-[19.5px] sm:min-h-[2.75em] font-bold tracking-[-0.02em] leading-snug line-clamp-2",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Viviendas.tsx:260"},nombre),__gh("p",{className:"mt-2 text-[12.5px] sm:min-h-[1.3em] font-medium truncate tabular-nums",style:{color:BODY},"data-gufi-src":"components/Viviendas.tsx:270"},ficha),__gh("div",{"aria-hidden":!0,className:"flex-1 min-h-[18px]","data-gufi-src":"components/Viviendas.tsx:276"}),__gh("div",{className:"flex items-end justify-between gap-3 pt-[18px] border-t",style:{borderColor:LINE2},"data-gufi-src":"components/Viviendas.tsx:279"},__gh("span",{className:"block min-w-0","data-gufi-src":"components/Viviendas.tsx:280"},__gh("span",{className:"block text-[22px] font-bold tracking-[-0.025em] leading-none truncate tabular-nums",style:{color:INK2,fontFamily:FONT_SERIF},"data-gufi-src":"components/Viviendas.tsx:281"},rentaLabel2(a),__gh("span",{className:"text-[12.5px] font-semibold ml-0.5",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:283"},"/mes")),ivaNota(a)&&__gh("span",{className:"block text-[11px] font-medium mt-1.5",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:285"},ivaNota(a))),__gh(import_lucide_react7.ArrowRight,{size:18,strokeWidth:2,"aria-hidden":!0,className:"shrink-0 mb-0.5 transition-transform duration-300 group-hover:translate-x-1",style:{color:MUTED}}))))}function CardSkeleton2(){return __gh("div",{className:"rounded-[20px] border overflow-hidden bg-white",style:{borderColor:LINE},"data-gufi-src":"components/Viviendas.tsx:303"},__gh("div",{className:"relative aspect-[4/3] bg-[#E8EEF6] overflow-hidden","data-gufi-src":"components/Viviendas.tsx:304"},__gh("div",{className:"absolute inset-0 animate-pulse",style:{background:"linear-gradient(100deg, #E8EEF6 30%, #F2F6FB 50%, #E8EEF6 70%)"},"data-gufi-src":"components/Viviendas.tsx:306"})),__gh("div",{className:"p-[22px] space-y-3.5","data-gufi-src":"components/Viviendas.tsx:311"},__gh("div",{className:"h-3 w-1/3 bg-[#EDF1F6] rounded-full animate-pulse","data-gufi-src":"components/Viviendas.tsx:312"}),__gh("div",{className:"h-4 w-2/3 bg-[#E8EEF6] rounded-full animate-pulse","data-gufi-src":"components/Viviendas.tsx:313"}),__gh("div",{className:"h-3 w-1/2 bg-[#EDF1F6] rounded-full animate-pulse","data-gufi-src":"components/Viviendas.tsx:314"}),__gh("div",{className:"pt-4 border-t flex items-end justify-between",style:{borderColor:LINE2},"data-gufi-src":"components/Viviendas.tsx:315"},__gh("div",{className:"h-7 w-1/3 bg-[#E8EEF6] rounded-md animate-pulse","data-gufi-src":"components/Viviendas.tsx:316"}),__gh("div",{className:"h-4 w-16 bg-[#EDF1F6] rounded-full animate-pulse","data-gufi-src":"components/Viviendas.tsx:317"}))))}function Viviendas({ctx,loading}){let[orden,setOrden]=(0,import_react7.useState)("rec"),[dorm,setDorm]=(0,import_react7.useState)(0),[soloLibres,setSoloLibres]=(0,import_react7.useState)(!1),[techo,setTecho]=(0,import_react7.useState)(0),[visibles,setVisibles]=(0,import_react7.useState)(PASO),[todasCiudades,setTodasCiudades]=(0,import_react7.useState)(!1),alojamientos=ctx?.alojamientos||[],ciudadSel=txt5(ctx?.busqueda?.ciudad),keySel=ciudadKey(ciudadSel),ciudades=(0,import_react7.useMemo)(()=>{let m=new Map;for(let a of alojamientos){let c=txt5(a?.ciudad);if(!c)continue;let k=ciudadKey(c);if(!k)continue;let e=m.get(k);e||(e={key:k,n:0,grafias:[]},m.set(k,e)),e.n+=1,e.grafias.push(c)}let out=[];for(let e of m.values())out.push({key:e.key,label:etiquetaCiudad(e.grafias),n:e.n});return out.sort((x,y)=>y.n-x.n||x.label.localeCompare(y.label,"es"))},[alojamientos]),ciudadLabel=(0,import_react7.useMemo)(()=>{let e=ciudades.find(c=>c.key===keySel);return e?e.label:ciudadSel},[ciudades,keySel,ciudadSel]),escalera=(0,import_react7.useMemo)(()=>{let max=0;for(let a of alojamientos){let v=mensualidadDe(a);v>max&&(max=v)}return ESCALERA.filter(v=>v{let out=alojamientos.filter(a=>{if(keySel&&ciudadKey(txt5(a?.ciudad))!==keySel)return!1;if(dorm>0){let h=num(a?.habitaciones);if(dorm>=4?h<4:h!==dorm)return!1}if(techo>0){let v=mensualidadDe(a);if(v>0&&v>techo)return!1}return!(soloLibres&&ocupadaHoyDe(a,ctx?.ocupacion))});return orden==="asc"?out=out.slice().sort((a,b)=>mensualidadDe(a)-mensualidadDe(b)):orden==="desc"&&(out=out.slice().sort((a,b)=>mensualidadDe(b)-mensualidadDe(a))),out},[alojamientos,keySel,dorm,techo,soloLibres,orden,ctx?.ocupacion]),libresAhora=(0,import_react7.useMemo)(()=>lista.filter(a=>!ocupadaHoyDe(a,ctx?.ocupacion)).length,[lista,ctx?.ocupacion]),setCity=key=>{let e=ciudades.find(c=>c.key===key);typeof ctx?.setBusqueda=="function"&&ctx.setBusqueda(b=>({...b,ciudad:e?e.label:""}))},filtrosActivos=(keySel?1:0)+(dorm?1:0)+(techo?1:0)+(soloLibres?1:0),limpiar=()=>{setDorm(0),setTecho(0),setSoloLibres(!1),setCity("")};(0,import_react7.useEffect)(()=>{setVisibles(PASO)},[keySel,dorm,techo,soloLibres,orden]);let mostradas=lista.slice(0,visibles),restantes=Math.max(0,lista.length-mostradas.length),TOPE_CHIPS=6,chips=(0,import_react7.useMemo)(()=>{if(todasCiudades||ciudades.length<=TOPE_CHIPS+1)return ciudades;let base=ciudades.slice(0,TOPE_CHIPS);if(keySel&&!base.some(c=>c.key===keySel)){let e=ciudades.find(c=>c.key===keySel);e&&base.push(e)}return base},[ciudades,todasCiudades,keySel]),ocultas=ciudades.length-chips.length,resumen=`${fmtNum(lista.length)} ${lista.length===1?"residencia":"residencias"}`+(keySel&&ciudadLabel?` en ${ciudadLabel}`:"")+(lista.length>0?` \xB7 ${fmtNum(libresAhora)} libre${libresAhora===1?"":"s"} ahora`:"");return __gh("section",{id:"viviendas",className:"bg-white border-t scroll-mt-[84px]",style:{borderColor:LINE},"data-gufi-src":"components/Viviendas.tsx:443"},__gh("div",{className:"max-w-[1240px] mx-auto px-5 sm:px-8 py-20 sm:py-28","data-gufi-src":"components/Viviendas.tsx:444"},__gh(import_framer_motion7.motion.div,{initial:{opacity:0,y:18},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6,ease:EASE7},className:"max-w-[620px]"},__gh("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.2em]",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:458"},"Todas las residencias"),__gh("h2",{className:"text-[34px] sm:text-[48px] font-bold tracking-[-0.035em] mt-4 leading-[1.03]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Viviendas.tsx:461"},"La colecci\xF3n"),__gh("p",{className:"text-[15.5px] mt-4 leading-relaxed",style:{color:BODY},"data-gufi-src":"components/Viviendas.tsx:464"},"Cada residencia visitada en persona y lista para entrar. Alquiler por meses, con contrato y todo en regla.")),!loading&&alojamientos.length>0&&__gh("div",{className:"mt-10 border-y py-5 sm:py-6",style:{borderColor:LINE},"data-gufi-src":"components/Viviendas.tsx:471"},ciudades.length>1&&__gh(Campo,{label:"Ciudad"},__gh("div",{className:"flex flex-wrap items-center gap-2","data-gufi-src":"components/Viviendas.tsx:476"},__gh(Chip,{active:!keySel,onClick:()=>setCity(""),label:"Todas",count:fmtNum(alojamientos.length)}),chips.map(c=>__gh(Chip,{key:c.key,active:keySel===c.key,onClick:()=>setCity(c.key),label:c.label,count:fmtNum(c.n)})),ocultas>0&&__gh("button",{type:"button",onClick:()=>setTodasCiudades(!0),className:"shrink-0 inline-flex items-center h-[44px] px-4 text-[13px] font-semibold underline underline-offset-4 decoration-[#C9D3E2] hover:decoration-[#1E3444] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white rounded-full",style:{color:INK},"data-gufi-src":"components/Viviendas.tsx:482"},"+",fmtNum(ocultas)," ",ocultas===1?"ciudad":"ciudades"),todasCiudades&&ciudades.length>TOPE_CHIPS+1&&__gh("button",{type:"button",onClick:()=>setTodasCiudades(!1),className:"shrink-0 inline-flex items-center h-[44px] px-4 text-[13px] font-semibold underline underline-offset-4 decoration-[#C9D3E2] hover:decoration-[#1E3444] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white rounded-full",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:492"},"Ver menos"))),__gh("div",{className:(0,import_utils5.cn)("flex flex-wrap items-end gap-x-6 gap-y-5",ciudades.length>1&&"mt-5 pt-5 border-t"),style:ciudades.length>1?{borderColor:LINE2}:void 0,"data-gufi-src":"components/Viviendas.tsx:505"},__gh(Campo,{label:"Dormitorios"},__gh("div",{className:"flex flex-wrap items-center gap-2","data-gufi-src":"components/Viviendas.tsx:507"},__gh(Chip,{active:dorm===0,onClick:()=>setDorm(0),label:"Cualquiera"}),[1,2,3,4].map(d=>__gh(Chip,{key:d,active:dorm===d,onClick:()=>setDorm(dorm===d?0:d),label:d===4?"4 o m\xE1s":String(d),title:d===4?"4 dormitorios o m\xE1s":`${d} ${d===1?"dormitorio":"dormitorios"}`})))),escalera.length>0&&__gh(Campo,{label:"Renta m\xE1xima",className:"w-full sm:w-[178px]"},__gh(Selector,{ariaLabel:"Renta mensual m\xE1xima",value:String(techo),onChange:e=>setTecho(Number(e.target.value)||0)},__gh("option",{value:"0","data-gufi-src":"components/Viviendas.tsx:518"},"Sin tope"),escalera.map(v=>__gh("option",{key:v,value:String(v),"data-gufi-src":"components/Viviendas.tsx:520"},"Hasta ",fmtEur(v))))),__gh(Campo,{label:"Disponibilidad"},__gh(Chip,{active:soloLibres,onClick:()=>setSoloLibres(!soloLibres),label:"Libres ahora"})),__gh(Campo,{label:"Ordenar",className:"w-full sm:w-[208px] sm:ml-auto"},__gh(Selector,{ariaLabel:"Ordenar residencias",value:orden,onChange:e=>setOrden(e.target.value)},__gh("option",{value:"rec","data-gufi-src":"components/Viviendas.tsx:532"},"Recomendadas"),__gh("option",{value:"asc","data-gufi-src":"components/Viviendas.tsx:533"},"Renta: menor a mayor"),__gh("option",{value:"desc","data-gufi-src":"components/Viviendas.tsx:534"},"Renta: mayor a menor"))))),!loading&&alojamientos.length>0&&__gh("div",{className:"flex flex-wrap items-center justify-between gap-x-5 gap-y-3 mt-7 mb-7","data-gufi-src":"components/Viviendas.tsx:545"},__gh("p",{role:"status","aria-live":"polite",className:"text-[14px] font-semibold tabular-nums",style:{color:INK},"data-gufi-src":"components/Viviendas.tsx:546"},resumen),__gh("div",{className:"flex items-center gap-4","data-gufi-src":"components/Viviendas.tsx:549"},filtrosActivos>0&&__gh("button",{type:"button",onClick:limpiar,className:"inline-flex items-center gap-1.5 text-[13px] font-semibold min-h-[44px] transition-colors hover:text-[#1E3444] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 rounded-full px-1",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:551"},__gh(import_lucide_react7.RotateCcw,{size:14,strokeWidth:2.2})," Quitar filtros"),typeof ctx?.openBuscador=="function"&&__gh("button",{type:"button",onClick:()=>ctx.openBuscador({ciudad:keySel?ciudadLabel:""}),className:"group inline-flex items-center gap-2 text-[13px] font-semibold min-h-[44px] border-b transition-colors hover:border-b-[#1E3444] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 rounded-sm",style:{color:INK,borderColor:LINE},"data-gufi-src":"components/Viviendas.tsx:561"},__gh(import_lucide_react7.SlidersHorizontal,{size:15,strokeWidth:2,style:{color:MUTED}}),"Buscar por fechas y m\xE1s filtros"))),loading?__gh("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-7 lg:gap-8","data-gufi-src":"components/Viviendas.tsx:577"},[0,1,2,3,4,5].map(i=>__gh(CardSkeleton2,{key:i}))):alojamientos.length===0?__gh("div",{className:"py-20 px-6 text-center border rounded-[20px]",style:{borderColor:LINE,background:PAPER2},"data-gufi-src":"components/Viviendas.tsx:593"},__gh("div",{className:"w-14 h-14 mx-auto rounded-full bg-white flex items-center justify-center border",style:{borderColor:LINE,color:INK},"data-gufi-src":"components/Viviendas.tsx:594"},__gh(import_lucide_react7.Building2,{size:24,strokeWidth:1.6})),__gh("p",{className:"text-[18px] font-bold mt-5 tracking-[-0.02em]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Viviendas.tsx:597"},"No hemos podido mostrar las residencias"),__gh("p",{className:"text-[14px] mt-2 max-w-[440px] mx-auto leading-relaxed",style:{color:BODY},"data-gufi-src":"components/Viviendas.tsx:600"},"El cat\xE1logo no ha llegado a cargarse. Vuelve a intentarlo y, si sigue igual, escr\xEDbenos: te mandamos las opciones disponibles por correo el mismo d\xEDa."),__gh("div",{className:"flex flex-wrap items-center justify-center gap-3 mt-7","data-gufi-src":"components/Viviendas.tsx:603"},__gh("button",{type:"button",onClick:()=>{try{window.location.reload()}catch{}},className:"inline-flex items-center gap-2 h-[44px] px-6 rounded-full text-white text-[13.5px] font-semibold bg-[#1E3444] hover:bg-[#1B3142] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white","data-gufi-src":"components/Viviendas.tsx:604"},__gh(import_lucide_react7.RotateCcw,{size:15,strokeWidth:2.2})," Reintentar"),typeof ctx?.openSolicitud=="function"&&__gh("button",{type:"button",onClick:()=>ctx.openSolicitud({motivo:"catalogo"}),className:"inline-flex items-center gap-2 h-[44px] px-6 rounded-full border text-[13.5px] font-semibold transition-colors hover:border-[#B9C6DA] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{color:INK,borderColor:LINE,background:"#fff"},"data-gufi-src":"components/Viviendas.tsx:612"},"Escr\xEDbenos ",__gh(import_lucide_react7.ArrowRight,{size:15,strokeWidth:2.2,style:{color:MUTED}})))):lista.length===0?__gh("div",{className:"py-20 px-6 text-center border rounded-[20px]",style:{borderColor:LINE,background:PAPER2},"data-gufi-src":"components/Viviendas.tsx:626"},__gh("div",{className:"w-14 h-14 mx-auto rounded-full bg-white flex items-center justify-center border",style:{borderColor:LINE,color:INK},"data-gufi-src":"components/Viviendas.tsx:627"},__gh(import_lucide_react7.Building2,{size:24,strokeWidth:1.6})),__gh("p",{className:"text-[18px] font-bold mt-5 tracking-[-0.02em]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Viviendas.tsx:630"},"Ninguna residencia encaja con esta b\xFAsqueda"),__gh("p",{className:"text-[14px] mt-2 max-w-[420px] mx-auto leading-relaxed",style:{color:BODY},"data-gufi-src":"components/Viviendas.tsx:633"},"Hay ",fmtNum(alojamientos.length)," residencias en el cat\xE1logo. Quita alg\xFAn filtro para verlas, o escr\xEDbenos y te buscamos opciones a medida."),__gh("button",{type:"button",onClick:limpiar,className:"mt-7 inline-flex items-center gap-2 h-[44px] px-6 rounded-full text-white text-[13.5px] font-semibold bg-[#1E3444] hover:bg-[#1B3142] transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white","data-gufi-src":"components/Viviendas.tsx:636"},"Ver las ",fmtNum(alojamientos.length)," residencias",__gh(import_lucide_react7.ArrowRight,{size:15,strokeWidth:2.2}))):__gh(__gf,null,__gh("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-7 lg:gap-8","data-gufi-src":"components/Viviendas.tsx:651"},mostradas.map((a,i)=>__gh(ViviendaCard,{key:a?.id??i,a,onClick:()=>ctx.openDetalle(a),ocupada:ocupadaHoyDe(a,ctx?.ocupacion),libreDesde:libreDesdeDe(a,ctx?.ocupacion)}))),__gh("div",{className:"mt-12 flex flex-col items-center gap-3","data-gufi-src":"components/Viviendas.tsx:658"},__gh("p",{className:"text-[12.5px] font-medium tabular-nums",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:659"},restantes>0?`Mostrando ${fmtNum(mostradas.length)} de ${fmtNum(lista.length)}`:`${fmtNum(lista.length)} de ${fmtNum(lista.length)}`),restantes>0&&__gh("button",{type:"button",onClick:()=>setVisibles(v=>v+PASO),className:"inline-flex items-center gap-2 h-[48px] px-7 rounded-full border text-[14px] font-semibold bg-white transition-colors hover:border-[#B9C6DA] hover:text-[#1E3444] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2 focus-visible:ring-offset-white",style:{color:INK,borderColor:LINE},"data-gufi-src":"components/Viviendas.tsx:665"},"Ver ",fmtNum(Math.min(PASO,restantes))," m\xE1s",__gh("span",{className:"text-[12.5px] font-medium tabular-nums",style:{color:MUTED},"data-gufi-src":"components/Viviendas.tsx:672"},"(",fmtNum(restantes)," ",restantes===1?"restante":"restantes",")"))))))}var import_react8=require("react"),import_framer_motion8=require("framer-motion"),import_lucide_react8=require("lucide-react");var EASE8=[.22,.61,.36,1],PRESUPUESTOS=["Hasta 800 \u20AC","800 \u2013 1.200 \u20AC","1.200 \u2013 1.800 \u20AC","1.800 \u2013 2.500 \u20AC","M\xE1s de 2.500 \u20AC"],ESTANCIAS=["1 mes","2 meses","3 meses","6 meses","9 meses","12 meses","M\xE1s de un a\xF1o"],BENEFICIOS=[[import_lucide_react8.MapPin,"Buscamos en la zona exacta que necesitas"],[import_lucide_react8.Wallet,"Ajustado a tu presupuesto mensual"],[import_lucide_react8.Timer,"Respuesta de un asesor en 24 h"]];function Propuesta({ctx}){let ciudades=(0,import_react8.useMemo)(()=>[...new Set((ctx.alojamientos||[]).map(a=>a.ciudad).filter(Boolean))],[ctx.alojamientos]),linea=(0,import_react8.useMemo)(()=>{let n=(ctx.alojamientos||[]).length,c=ciudades.length;if(!n)return"";let resi=`${fmtNum(n)} ${n===1?"residencia publicada":"residencias publicadas"}`;return c?`${resi} \xB7 ${fmtNum(c)} ${c===1?"ciudad":"ciudades"}`:resi},[ctx.alojamientos,ciudades.length]),[zona,setZona]=(0,import_react8.useState)(""),[otraZona,setOtraZona]=(0,import_react8.useState)(""),[presupuesto,setPresupuesto]=(0,import_react8.useState)(""),[estancia,setEstancia]=(0,import_react8.useState)(""),[nombre,setNombre]=(0,import_react8.useState)(""),[email,setEmail]=(0,import_react8.useState)(""),[telefono,setTelefono]=(0,import_react8.useState)(""),[notas,setNotas]=(0,import_react8.useState)(""),[busy,setBusy]=(0,import_react8.useState)(!1),[ok,setOk]=(0,import_react8.useState)(!1),[err,setErr]=(0,import_react8.useState)(""),[consent,setConsent]=(0,import_react8.useState)(!1),nombreRef=(0,import_react8.useRef)(null),emailRef=(0,import_react8.useRef)(null),fallar=(msg,ref)=>{setErr(msg),uiToast(msg),ref&&ref.current&&ref.current.focus()},zonaFinal=zona==="__otra"?otraZona.trim():zona,enviar=async()=>{if(setErr(""),!consent){fallar("Necesitamos tu consentimiento para poder contactarte.");return}if(!nombre.trim()){fallar("Dinos tu nombre para poder responderte.",nombreRef);return}if(!email.trim()&&!telefono.trim()){fallar("D\xE9janos un email o un tel\xE9fono.",emailRef);return}setBusy(!0);try{let lineas=[zonaFinal?`Zona: ${zonaFinal}`:"Zona: cualquiera",`Presupuesto: ${presupuesto||"sin especificar"}`,`Estancia: ${estancia||"sin especificar"}`,notas.trim()?`Notas: ${notas.trim()}`:""].filter(Boolean);await ctx.enviarSolicitud({nombre:nombre.trim(),email:email.trim(),telefono:telefono.trim(),tipo:"Inquilino busca",mensaje:`[Propuesta a medida] ${lineas.join(" \xB7 ")}`}),setOk(!0)}catch(e){fallar(e?.message||"No se pudo enviar. Revisa tu conexi\xF3n e int\xE9ntalo de nuevo.")}finally{setBusy(!1)}};return __gh("section",{id:"propuesta",className:"border-t",style:{borderColor:LINE,background:`linear-gradient(180deg, #FFFFFF 0%, ${PAPER2} 100%)`},"data-gufi-src":"components/Propuesta.tsx:95"},__gh("div",{className:"max-w-[1240px] mx-auto px-5 sm:px-8 py-20 sm:py-28","data-gufi-src":"components/Propuesta.tsx:100"},__gh("div",{className:"grid grid-cols-1 lg:grid-cols-[0.92fr_1.08fr] gap-12 lg:gap-16 items-center","data-gufi-src":"components/Propuesta.tsx:101"},__gh(import_framer_motion8.motion.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,ease:EASE8}},__gh("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.18em]",style:{color:MUTED},"data-gufi-src":"components/Propuesta.tsx:111"},"Propuesta a medida"),__gh("h2",{className:"text-[32px] sm:text-[48px] font-extrabold tracking-[-0.038em] mt-4 leading-[1.0]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Propuesta.tsx:114"},"\xBFNo encuentras",__gh("br",{className:"hidden sm:block","data-gufi-src":"components/Propuesta.tsx:115"})," tu sitio? Cu\xE9ntanos."),__gh("p",{className:"text-[16px] sm:text-[17px] leading-relaxed mt-5 max-w-[460px]",style:{color:BODY},"data-gufi-src":"components/Propuesta.tsx:117"},"Dinos tu presupuesto, cu\xE1nto tiempo y la zona que buscas. Nuestro equipo local te prepara una selecci\xF3n a medida \u2014incluso residencias que a\xFAn no est\xE1n publicadas."),__gh("div",{className:"mt-9 space-y-2.5","data-gufi-src":"components/Propuesta.tsx:123"},BENEFICIOS.map(([Icon,t],i)=>__gh(import_framer_motion8.motion.div,{key:t,initial:{opacity:0,y:6},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.5,delay:.08+i*.07,ease:EASE8},className:"flex items-center gap-3.5 text-[14.5px]",style:{color:BODY}},__gh("span",{className:"inline-flex shrink-0 w-9 h-9 rounded-[11px] items-center justify-center border bg-white",style:{borderColor:LINE},"data-gufi-src":"components/Propuesta.tsx:134"},__gh(Icon,{size:16,strokeWidth:1.8,style:{color:INK}})),t))),linea&&__gh(import_framer_motion8.motion.p,{initial:{opacity:0,y:6},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.5,delay:.3,ease:EASE8},className:"mt-8 pt-6 border-t text-[13.5px] tabular-nums",style:{borderColor:LINE,color:MUTED}},linea)),__gh(import_framer_motion8.motion.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6,delay:.1,ease:EASE8},className:"bg-white rounded-[24px] border p-6 sm:p-8",style:{borderColor:LINE,boxShadow:"0 40px 90px -55px rgba(20,35,46,0.45)"}},ok?__gh("div",{className:"text-center py-10","data-gufi-src":"components/Propuesta.tsx:170"},__gh(import_lucide_react8.CheckCircle2,{size:34,strokeWidth:1.7,className:"mx-auto",style:{color:"#34c759"}}),__gh("h3",{className:"text-[24px] font-extrabold mt-5 tracking-[-0.02em]",style:{color:INK2,fontFamily:FONT_SERIF},"data-gufi-src":"components/Propuesta.tsx:175"},"Propuesta en camino"),__gh("p",{className:"text-[14.5px] mt-2.5 leading-relaxed max-w-[360px] mx-auto",style:{color:MUTED},"data-gufi-src":"components/Propuesta.tsx:176"},"Hemos recibido lo que buscas. Un asesor de HostWorkers te contactar\xE1 muy pronto con una selecci\xF3n a tu medida."),__gh("button",{onClick:()=>{setOk(!1),setZona(""),setOtraZona(""),setPresupuesto(""),setEstancia(""),setNombre(""),setEmail(""),setTelefono(""),setNotas("")},className:"mt-6 min-h-[44px] text-[13.5px] font-semibold inline-flex items-center gap-1.5",style:{color:INK},"data-gufi-src":"components/Propuesta.tsx:179"},"Enviar otra ",__gh(import_lucide_react8.ArrowRight,{size:15}))):__gh(__gf,null,__gh("div",{className:"pb-5 mb-5 border-b",style:{borderColor:LINE2},"data-gufi-src":"components/Propuesta.tsx:192"},__gh("span",{className:"text-[15.5px] font-bold tracking-[-0.01em]",style:{color:INK},"data-gufi-src":"components/Propuesta.tsx:193"},"Cu\xE9ntanos qu\xE9 buscas")),__gh("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3","data-gufi-src":"components/Propuesta.tsx:198"},__gh(Field2,{label:"Zona",icon:import_lucide_react8.MapPin},__gh("select",{value:zona,onChange:e=>setZona(e.target.value),className:"w-full bg-transparent text-[16px] sm:text-[14px] font-semibold outline-none cursor-pointer appearance-none",style:{color:INK},"data-gufi-src":"components/Propuesta.tsx:200"},__gh("option",{value:"","data-gufi-src":"components/Propuesta.tsx:201"},"Cualquiera"),ciudades.map(c=>__gh("option",{key:c,value:c,"data-gufi-src":"components/Propuesta.tsx:202"},c)),__gh("option",{value:"__otra","data-gufi-src":"components/Propuesta.tsx:203"},"Otra zona\u2026"))),__gh(Field2,{label:"Presupuesto",icon:import_lucide_react8.Wallet},__gh("select",{value:presupuesto,onChange:e=>setPresupuesto(e.target.value),className:"w-full bg-transparent text-[16px] sm:text-[14px] font-semibold outline-none cursor-pointer appearance-none",style:{color:INK},"data-gufi-src":"components/Propuesta.tsx:207"},__gh("option",{value:"","data-gufi-src":"components/Propuesta.tsx:208"},"Ind\xEDcalo"),PRESUPUESTOS.map(p=>__gh("option",{key:p,value:p,"data-gufi-src":"components/Propuesta.tsx:209"},p)))),__gh(Field2,{label:"Estancia",icon:import_lucide_react8.Clock},__gh("select",{value:estancia,onChange:e=>setEstancia(e.target.value),className:"w-full bg-transparent text-[16px] sm:text-[14px] font-semibold outline-none cursor-pointer appearance-none",style:{color:INK},"data-gufi-src":"components/Propuesta.tsx:213"},__gh("option",{value:"","data-gufi-src":"components/Propuesta.tsx:214"},"Duraci\xF3n"),ESTANCIAS.map(m=>__gh("option",{key:m,value:m,"data-gufi-src":"components/Propuesta.tsx:215"},m))))),zona==="__otra"&&__gh("input",{value:otraZona,onChange:e=>setOtraZona(e.target.value),placeholder:"\xBFQu\xE9 zona o ciudad?",className:"w-full mt-3 h-[48px] px-4 rounded-[12px] border text-[16px] sm:text-[14px] outline-none transition-all focus:border-[#1E3444] focus:ring-4 focus:ring-[#1E3444]/10",style:{borderColor:LINE,color:INK},"data-gufi-src":"components/Propuesta.tsx:221"}),__gh("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mt-3","data-gufi-src":"components/Propuesta.tsx:228"},__gh("input",{ref:nombreRef,value:nombre,onChange:e=>setNombre(e.target.value),placeholder:"Tu nombre*",autoComplete:"name",className:"h-[48px] px-4 rounded-[12px] border text-[16px] sm:text-[14px] outline-none transition-all focus:border-[#1E3444] focus:ring-4 focus:ring-[#1E3444]/10",style:{borderColor:LINE,color:INK},"data-gufi-src":"components/Propuesta.tsx:229"}),__gh("input",{value:telefono,onChange:e=>setTelefono(e.target.value),placeholder:"Tel\xE9fono",type:"tel",inputMode:"tel",autoComplete:"tel",className:"h-[48px] px-4 rounded-[12px] border text-[16px] sm:text-[14px] outline-none transition-all focus:border-[#1E3444] focus:ring-4 focus:ring-[#1E3444]/10",style:{borderColor:LINE,color:INK},"data-gufi-src":"components/Propuesta.tsx:230"})),__gh("input",{ref:emailRef,value:email,onChange:e=>setEmail(e.target.value),placeholder:"Tu email",type:"email",inputMode:"email",autoComplete:"email",className:"w-full h-[48px] px-4 mt-3 rounded-[12px] border text-[16px] sm:text-[14px] outline-none transition-all focus:border-[#1E3444] focus:ring-4 focus:ring-[#1E3444]/10",style:{borderColor:LINE,color:INK},"data-gufi-src":"components/Propuesta.tsx:232"}),__gh("textarea",{value:notas,onChange:e=>setNotas(e.target.value),rows:2,placeholder:"Cu\xE9ntanos algo m\xE1s (opcional): n\xBA de habitaciones, mascotas, fecha de entrada\u2026",className:"w-full mt-3 px-4 py-3 rounded-[12px] border text-[16px] sm:text-[14px] outline-none resize-none leading-relaxed transition-all focus:border-[#1E3444] focus:ring-4 focus:ring-[#1E3444]/10",style:{borderColor:LINE,color:INK},"data-gufi-src":"components/Propuesta.tsx:233"}),__gh("button",{onClick:enviar,disabled:busy,className:"group w-full h-[54px] rounded-[14px] text-white font-semibold text-[15px] flex items-center justify-center gap-2 mt-4 bg-[#EA682E] hover:bg-[#CF5A26] transition-colors disabled:opacity-60 disabled:pointer-events-none focus:outline-none focus:ring-4 focus:ring-[#EA682E]/25","data-gufi-src":"components/Propuesta.tsx:235"},busy?__gh(__gf,null,__gh(import_lucide_react8.Loader2,{size:17,className:"animate-spin"})," Enviando\u2026"):__gh(__gf,null,__gh(import_lucide_react8.Send,{size:16})," Recibir mi propuesta ",__gh(import_lucide_react8.ArrowRight,{size:16,className:"transition-transform duration-300 group-hover:translate-x-0.5"}))),__gh("label",{className:"flex items-start gap-2.5 cursor-pointer select-none mt-3.5","data-gufi-src":"components/Propuesta.tsx:241"},__gh("input",{type:"checkbox",checked:consent,onChange:e=>setConsent(e.target.checked),className:"mt-[3px] w-[17px] h-[17px] shrink-0 accent-[#EA682E] cursor-pointer","data-gufi-src":"components/Propuesta.tsx:242"}),__gh("span",{className:"text-[12px] leading-relaxed",style:{color:MUTED},"data-gufi-src":"components/Propuesta.tsx:243"},"Acepto que ",__gh("b",{style:{fontWeight:600},"data-gufi-src":"components/Propuesta.tsx:244"},"Rumar Flats, S.L.")," (HostWorkers) trate mis datos para responder a esta solicitud. No se ceden a terceros. Puedes ejercer tus derechos en"," ",__gh("a",{href:"mailto:rumarflats@gmail.com",className:"underline",style:{color:"inherit"},"data-gufi-src":"components/Propuesta.tsx:246"},"rumarflats@gmail.com")," \xB7 ",__gh("a",{href:"?legal=privacidad",onClick:e=>{e.preventDefault(),ctx?.openLegal?.("privacidad")},className:"underline",style:{color:"inherit"},"data-gufi-src":"components/Propuesta.tsx:247"},"Pol\xEDtica de privacidad"),".")),err&&__gh("p",{role:"alert",className:"flex items-center justify-center gap-2 text-[13px] font-semibold text-center mt-3",style:{color:INK},"data-gufi-src":"components/Propuesta.tsx:253"},__gh("span",{"aria-hidden":!0,className:"inline-block w-[7px] h-[7px] shrink-0 rounded-full",style:{background:"#ff3b30"},"data-gufi-src":"components/Propuesta.tsx:254"}),err),__gh("p",{className:"text-[12px] text-center mt-3.5",style:{color:MUTED},"data-gufi-src":"components/Propuesta.tsx:260"},"Sin compromiso \xB7 datos tratados con confidencialidad"))))))}function Field2({label,icon:Icon,children}){return __gh("label",{className:"flex items-center gap-2.5 px-3.5 h-[54px] rounded-[12px] border cursor-pointer transition-all focus-within:border-[#1E3444] focus-within:ring-4 focus-within:ring-[#1E3444]/10",style:{borderColor:LINE},"data-gufi-src":"components/Propuesta.tsx:274"},__gh(Icon,{size:16,className:"shrink-0",style:{color:MUTED}}),__gh("span",{className:"min-w-0 flex-1","data-gufi-src":"components/Propuesta.tsx:276"},__gh("span",{className:"block text-[11px] font-medium mb-0.5",style:{color:MUTED},"data-gufi-src":"components/Propuesta.tsx:280"},label),children))}var import_framer_motion9=require("framer-motion"),import_lucide_react9=require("lucide-react");var EASE9=[.22,.61,.36,1],PASOS=[{icon:import_lucide_react9.Search,t:"Encuentra tu residencia",d:"Explora la selecci\xF3n verificada y filtra por ciudad, fechas y duraci\xF3n de tu estancia."},{icon:import_lucide_react9.FileSignature,t:"Firma sin papeleo",d:"Contrato de temporada digital, fianza y primer mes. Todo en regla, sin colas ni gestor\xEDas."},{icon:import_lucide_react9.KeyRound,t:"Entra con tu c\xF3digo",d:"Recibes el c\xF3digo de acceso a la cerradura. Sin recoger llaves: entras cuando llegas."}];function ComoFunciona(){return __gh("section",{id:"como-funciona",className:"relative bg-white border-t overflow-hidden",style:{borderColor:LINE},"data-gufi-src":"components/ComoFunciona.tsx:16"},__gh("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 h-[320px]",style:{background:`linear-gradient(180deg, ${PAPER2} 0%, rgba(244,247,251,0) 100%)`},"data-gufi-src":"components/ComoFunciona.tsx:19"}),__gh("div",{className:"relative max-w-[1240px] mx-auto px-5 sm:px-8 py-20 sm:py-28","data-gufi-src":"components/ComoFunciona.tsx:25"},__gh(import_framer_motion9.motion.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,ease:EASE9},className:"max-w-[680px]"},__gh("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.18em]",style:{color:MUTED},"data-gufi-src":"components/ComoFunciona.tsx:38"},"C\xF3mo funciona"),__gh("h2",{className:"text-[33px] sm:text-[48px] font-extrabold tracking-[-0.038em] mt-4 leading-[1.02]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/ComoFunciona.tsx:41"},"De la b\xFAsqueda a las llaves,",__gh("br",{className:"hidden sm:block","data-gufi-src":"components/ComoFunciona.tsx:42"})," en tres pasos"),__gh("p",{className:"text-[16px] sm:text-[17px] mt-5 leading-relaxed max-w-[560px]",style:{color:BODY},"data-gufi-src":"components/ComoFunciona.tsx:44"},"Nos ocupamos de todo el proceso para que t\xFA solo pienses en instalarte. Sin tr\xE1mites presenciales, sin sorpresas.")),__gh("ol",{className:"mt-16 sm:mt-20 grid grid-cols-1 md:grid-cols-3 gap-y-11 md:gap-x-8 md:gap-y-0","data-gufi-src":"components/ComoFunciona.tsx:50"},PASOS.map((p,i)=>{let Icon=p.icon,last=i===PASOS.length-1;return __gh(import_framer_motion9.motion.li,{key:p.t,initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.55,delay:i*.08,ease:EASE9},className:"group relative pl-[72px] md:pl-0"},!last&&__gh("span",{"aria-hidden":!0,className:"md:hidden absolute left-[27px] top-[58px] w-px",style:{height:"calc(100% + 30px)",background:`linear-gradient(180deg, ${INK}2E 0%, ${LINE2} 100%)`},"data-gufi-src":"components/ComoFunciona.tsx:65"}),__gh("div",{className:"absolute left-0 top-0 md:static md:flex md:items-center","data-gufi-src":"components/ComoFunciona.tsx:77"},__gh("span",{className:"relative z-10 inline-flex w-14 h-14 rounded-full items-center justify-center bg-white border",style:{borderColor:LINE},"data-gufi-src":"components/ComoFunciona.tsx:78"},__gh(Icon,{size:22,strokeWidth:1.7,style:{color:INK}})),!last&&__gh("span",{"aria-hidden":!0,className:"hidden md:block flex-1 h-px ml-4 -mr-8",style:{background:`linear-gradient(90deg, ${INK}33 0%, ${LINE} 90%)`},"data-gufi-src":"components/ComoFunciona.tsx:85"})),__gh("div",{className:"md:mt-7","data-gufi-src":"components/ComoFunciona.tsx:97"},__gh("h3",{className:"text-[20px] sm:text-[21px] font-extrabold tracking-[-0.02em]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/ComoFunciona.tsx:98"},p.t),__gh("p",{className:"text-[14.5px] leading-relaxed mt-2.5 max-w-[320px]",style:{color:MUTED},"data-gufi-src":"components/ComoFunciona.tsx:101"},p.d)))}))))}var import_framer_motion10=require("framer-motion"),import_lucide_react10=require("lucide-react");var EASE10=[.22,.61,.36,1],VENTAJAS=[{icon:import_lucide_react10.TrendingUp,t:"Rentabilidad sin esfuerzo",d:"Buscamos inquilinos solventes y maximizamos tu ocupaci\xF3n durante todo el a\xF1o."},{icon:import_lucide_react10.ShieldCheck,t:"Cobros y fianzas garantizados",d:"Gesti\xF3n \xEDntegra de contratos, cobros mensuales y dep\xF3sitos. T\xFA recibes tu liquidaci\xF3n."},{icon:import_lucide_react10.Wrench,t:"Limpieza y mantenimiento",d:"Coordinamos limpiezas, suministros e incidencias. Tu vivienda siempre impecable."}],ASEGURA=["Sin permanencia","Sin coste de alta","Liquidaci\xF3n mensual"],INCLUYE=["Renta de mercado estimada para tu zona","Plan de ocupaci\xF3n a tu medida","Sin permanencia ni coste de alta"];function Propietarios({ctx}){return __gh("section",{id:"propietarios",className:"bg-white border-t",style:{borderColor:LINE},"data-gufi-src":"components/Propietarios.tsx:24"},__gh("div",{className:"max-w-[1240px] mx-auto px-5 sm:px-8 py-20 sm:py-28","data-gufi-src":"components/Propietarios.tsx:25"},__gh("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-20 items-center","data-gufi-src":"components/Propietarios.tsx:26"},__gh("div",{"data-gufi-src":"components/Propietarios.tsx:28"},__gh(import_framer_motion10.motion.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,ease:EASE10}},__gh("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.18em]",style:{color:MUTED},"data-gufi-src":"components/Propietarios.tsx:37"},"Para propietarios"),__gh("h2",{className:"text-[32px] sm:text-[48px] font-extrabold tracking-[-0.038em] mt-4 leading-[1.02]",style:{color:INK,fontFamily:FONT_SERIF},"data-gufi-src":"components/Propietarios.tsx:40"},"Tu vivienda,",__gh("br",{className:"hidden sm:block","data-gufi-src":"components/Propietarios.tsx:41"})," en las mejores manos"),__gh("p",{className:"text-[16.5px] sm:text-[17px] leading-relaxed mt-5 max-w-[470px]",style:{color:BODY},"data-gufi-src":"components/Propietarios.tsx:43"},"Deja la gesti\xF3n de tu alquiler de temporada a HostWorkers. Nosotros nos ocupamos de todo; t\xFA, de cobrar.")),__gh("div",{className:"mt-9 space-y-1","data-gufi-src":"components/Propietarios.tsx:48"},VENTAJAS.map((v,i)=>{let Icon=v.icon;return __gh(import_framer_motion10.motion.div,{key:v.t,initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.5,delay:i*.07,ease:EASE10},className:"group flex items-start gap-4 rounded-2xl -mx-4 p-4 transition-colors duration-300 hover:bg-[#F4F7FB]"},__gh("span",{className:"inline-flex shrink-0 w-11 h-11 rounded-xl items-center justify-center border bg-white",style:{borderColor:LINE},"data-gufi-src":"components/Propietarios.tsx:63"},__gh(Icon,{size:19,strokeWidth:1.85,style:{color:INK}})),__gh("div",{className:"pt-0.5","data-gufi-src":"components/Propietarios.tsx:66"},__gh("div",{className:"font-bold text-[16px] tracking-[-0.01em]",style:{color:INK},"data-gufi-src":"components/Propietarios.tsx:67"},v.t),__gh("div",{className:"text-[14px] mt-1.5 leading-relaxed",style:{color:MUTED},"data-gufi-src":"components/Propietarios.tsx:68"},v.d)))})),__gh(import_framer_motion10.motion.p,{initial:{opacity:0,y:6},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.5,delay:.24,ease:EASE10},className:"mt-8 pt-6 border-t text-[13.5px] leading-relaxed",style:{borderColor:LINE,color:MUTED}},ASEGURA.join(" \xB7 "))),__gh(import_framer_motion10.motion.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6,ease:EASE10},className:"relative overflow-hidden rounded-[26px] p-8 sm:p-11 text-white",style:{background:INK2,boxShadow:"0 30px 60px -40px rgba(20,36,47,0.6)"}},__gh("div",{className:"pointer-events-none absolute inset-0 rounded-[26px] ring-1 ring-inset ring-white/10","data-gufi-src":"components/Propietarios.tsx:103"}),__gh("div",{className:"relative","data-gufi-src":"components/Propietarios.tsx:105"},__gh("span",{className:"block text-[13px] font-medium",style:{color:"rgba(255,255,255,0.58)"},"data-gufi-src":"components/Propietarios.tsx:110"},"Valoraci\xF3n gratuita"),__gh("h3",{className:"text-[26px] sm:text-[31px] font-extrabold mt-3 tracking-[-0.025em] leading-tight",style:{fontFamily:FONT_SERIF},"data-gufi-src":"components/Propietarios.tsx:114"},"Calcula lo que puedes ganar"),__gh("p",{className:"text-[14.5px] sm:text-[15px] mt-3 leading-relaxed max-w-[380px]",style:{color:"rgba(255,255,255,0.68)"},"data-gufi-src":"components/Propietarios.tsx:117"},"Un estudio honesto de la rentabilidad de tu vivienda, elaborado por nuestro equipo local."),__gh("ul",{className:"mt-8 space-y-3.5 border-t pt-8",style:{borderColor:"rgba(255,255,255,0.14)"},"data-gufi-src":"components/Propietarios.tsx:121"},INCLUYE.map((it,i)=>__gh(import_framer_motion10.motion.li,{key:it,initial:{opacity:0,y:6},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-30px"},transition:{duration:.45,delay:.12+i*.07,ease:EASE10},className:"flex items-start gap-3 text-[14.5px] leading-relaxed",style:{color:"rgba(255,255,255,0.86)"}},__gh(import_lucide_react10.Check,{size:15,strokeWidth:2.4,className:"shrink-0 mt-[3px]",style:{color:"rgba(255,255,255,0.5)"}}),it))),__gh("button",{onClick:()=>ctx.openSolicitud({tipo:"Propietario ofrece"}),className:"group w-full h-[56px] mt-9 rounded-[15px] font-bold text-[15.5px] flex items-center justify-center gap-2 text-[#EA682E] bg-white border border-[#EA682E]/35 hover:bg-[#FFF6F1] hover:border-[#EA682E]/60 transition-colors focus:outline-none focus:ring-4 focus:ring-white/30","data-gufi-src":"components/Propietarios.tsx:149"},"Publicar mi vivienda",__gh(import_lucide_react10.ArrowRight,{size:18,className:"transition-transform duration-300 group-hover:translate-x-1"})),__gh("div",{className:"mt-4 text-center text-[12.5px]",style:{color:"rgba(255,255,255,0.52)"},"data-gufi-src":"components/Propietarios.tsx:157"},"Respuesta en 24 h \xB7 Sin compromiso"))))))}var import_react9=__toESM(require("react")),import_framer_motion11=require("framer-motion"),import_lucide_react11=require("lucide-react");var EASE11=[.22,.61,.36,1],CTA_IMG=unsplashSrc("photo-1512917774080-9991f1c4c750",1400),TRUST=["Sin permanencia","Todo en regla","Soporte local en 24 h"],V={hidden:{},show:{transition:{staggerChildren:.07,delayChildren:.04}}},item=(y=6,d=.6)=>({hidden:{opacity:0,y},show:{opacity:1,y:0,transition:{duration:d,ease:EASE11}}});function CtaFinal({ctx}){return __gh("section",{className:"relative overflow-hidden",style:{background:`linear-gradient(160deg, ${INK} 0%, ${INK2} 100%)`},"data-gufi-src":"components/CtaFinal.tsx:27"},__gh("img",{src:CTA_IMG,alt:"Residencia luminosa de alquiler de temporada de HostWorkers",loading:"lazy",decoding:"async",onError:e=>{e.currentTarget.style.display="none"},className:"absolute inset-0 w-full h-full object-cover","data-gufi-src":"components/CtaFinal.tsx:35"}),__gh("div",{"aria-hidden":!0,className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(30,52,68,0.42) 0%, rgba(20,36,47,0.66) 50%, rgba(0,25,52,0.92) 100%)"},"data-gufi-src":"components/CtaFinal.tsx:47"}),__gh("div",{"aria-hidden":!0,className:"absolute inset-x-0 top-0 h-px",style:{background:"rgba(255,255,255,0.16)"},"data-gufi-src":"components/CtaFinal.tsx:56"}),__gh("div",{className:"relative z-10 max-w-[1240px] mx-auto px-5 sm:px-8 py-24 sm:py-32 min-h-[540px] sm:min-h-[620px] flex items-center","data-gufi-src":"components/CtaFinal.tsx:58"},__gh(import_framer_motion11.motion.div,{variants:V,initial:"hidden",whileInView:"show",viewport:{once:!0,margin:"-90px"},className:"w-full max-w-[820px] mx-auto text-center"},__gh(import_framer_motion11.motion.h2,{variants:item(8,.7),className:"text-[40px] sm:text-[64px] font-extrabold tracking-[-0.038em] leading-[1.0] text-white",style:{fontFamily:FONT_SERIF}},"Tu pr\xF3xima estancia",__gh("br",{className:"hidden sm:block","data-gufi-src":"components/CtaFinal.tsx:76"})," empieza aqu\xED."),__gh(import_framer_motion11.motion.p,{variants:item(6,.65),className:"text-[16.5px] sm:text-[18px] leading-relaxed mt-6 max-w-[540px] mx-auto",style:{color:"rgba(255,255,255,0.82)"}},"Encuentra una residencia lista para entrar o conf\xEDa la tuya a nuestro equipo. Sin ataduras, con todo en regla."),__gh(import_framer_motion11.motion.div,{variants:item(6,.65),className:"flex flex-col sm:flex-row items-center justify-center gap-3.5 mt-10"},__gh("button",{onClick:()=>scrollToId("viviendas"),className:"group w-full sm:w-auto h-[56px] px-8 rounded-[14px] text-white font-bold text-[15px] inline-flex items-center justify-center gap-2 bg-[#EA682E] hover:bg-[#CF5A26] shadow-[0_10px_26px_-14px_rgba(0,0,0,0.65)] transition-colors duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/80 focus-visible:ring-offset-2 focus-visible:ring-offset-[#14242F]","data-gufi-src":"components/CtaFinal.tsx:95"},"Explorar residencias",__gh(import_lucide_react11.ArrowRight,{size:18,className:"transition-transform duration-300 group-hover:translate-x-1"})),__gh("button",{onClick:()=>ctx.openSolicitud({tipo:"Propietario ofrece"}),className:"w-full sm:w-auto h-[56px] px-8 rounded-[14px] font-bold text-[15px] inline-flex items-center justify-center gap-2 text-white border border-white/30 transition-colors duration-300 hover:bg-white/10 hover:border-white/55 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70 focus-visible:ring-offset-2 focus-visible:ring-offset-[#14242F]","data-gufi-src":"components/CtaFinal.tsx:102"},"Publicar mi vivienda")),__gh(import_framer_motion11.motion.div,{variants:item(6,.65),className:"mt-11 flex flex-wrap items-center justify-center gap-x-3 gap-y-2 text-[13px]",style:{color:"rgba(255,255,255,0.7)"}},TRUST.map((t,i)=>__gh(import_react9.default.Fragment,{key:t},i>0&&__gh("span",{"aria-hidden":!0,className:"w-[3px] h-[3px] rounded-full",style:{background:"rgba(255,255,255,0.35)"},"data-gufi-src":"components/CtaFinal.tsx:121"}),__gh("span",{"data-gufi-src":"components/CtaFinal.tsx:123"},t)))))))}var import_framer_motion12=require("framer-motion"),import_lucide_react12=require("lucide-react");var EASE12=[.22,.61,.36,1],TEL="+34698771205",TEL_TXT="698 771 205",MAILTO="rumarflats@gmail.com",WA="https://wa.me/34698771205";function WhatsAppIcon({size=16}){return __gh("svg",{width:size,height:size,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,focusable:"false","data-gufi-src":"components/Footer.tsx:29"},__gh("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51l-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.71.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z","data-gufi-src":"components/Footer.tsx:30"}))}var HEAD="text-[12px] font-semibold tracking-[-0.005em] mb-4",HEAD_DIM={color:"rgba(255,255,255,0.54)"},linkCls="block w-full text-left text-[14px] py-[7px] min-h-[44px] transition-colors duration-300 hover:text-white focus-visible:outline-none focus-visible:text-white",contactCls="flex items-center gap-2.5 text-[14px] py-[7px] min-h-[44px] transition-colors hover:text-white focus-visible:outline-none focus-visible:text-white",dim={color:"rgba(255,255,255,0.62)"},iconDim={color:"rgba(255,255,255,0.4)"};function Footer({ctx}){let explora=[["Residencias","viviendas"],["C\xF3mo funciona","como-funciona"],["Propietarios","propietarios"]],compania=[["Sobre nosotros",()=>scrollToId("como-funciona")],["Publicar vivienda",()=>ctx.openSolicitud({tipo:"Propietario ofrece"})],["\xC1rea privada",()=>ctx.openPortal()]],social=[{href:WA,label:"WhatsApp",el:__gh(WhatsAppIcon,{size:16}),ext:!0},{href:`mailto:${MAILTO}`,label:"Escr\xEDbenos por email",el:__gh(import_lucide_react12.Mail,{size:16}),ext:!1},{href:`tel:${TEL}`,label:"Ll\xE1manos",el:__gh(import_lucide_react12.Phone,{size:16}),ext:!1}];return __gh("footer",{className:"relative overflow-hidden",style:{background:INK2,color:"rgba(255,255,255,0.62)"},"data-gufi-src":"components/Footer.tsx:75"},__gh("div",{"aria-hidden":!0,className:"w-full h-px",style:{background:"rgba(255,255,255,0.14)"},"data-gufi-src":"components/Footer.tsx:80"}),__gh(import_framer_motion12.motion.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6,ease:EASE12},className:"relative max-w-[1240px] mx-auto px-5 sm:px-8 py-16 sm:py-20"},__gh("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-[1.6fr_1fr_1fr_1.4fr] gap-y-12 gap-x-8 md:gap-x-10","data-gufi-src":"components/Footer.tsx:89"},__gh("div",{className:"sm:col-span-2 md:col-span-1","data-gufi-src":"components/Footer.tsx:91"},__gh(Wordmark,{dark:!0}),__gh("p",{className:"text-[14px] leading-relaxed mt-5 max-w-[300px]",style:{color:"rgba(255,255,255,0.58)"},"data-gufi-src":"components/Footer.tsx:93"},"Alquiler de temporada gestionado de principio a fin. Residencias verificadas en A Coru\xF1a y toda Galicia."),__gh("button",{onClick:()=>scrollToId("top"),className:"group mt-7 inline-flex items-center gap-2 h-[44px] pl-4 pr-3.5 rounded-full text-[12.5px] font-semibold text-white/80 border border-white/18 transition-colors hover:text-white hover:border-white/45 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/50","data-gufi-src":"components/Footer.tsx:96"},"Volver arriba",__gh(import_lucide_react12.ArrowUp,{size:14,strokeWidth:2.2,className:"transition-transform duration-300 group-hover:-translate-y-0.5"}))),__gh("nav",{"aria-label":"Explora","data-gufi-src":"components/Footer.tsx:106"},__gh("div",{className:HEAD,style:HEAD_DIM,"data-gufi-src":"components/Footer.tsx:107"},"Explora"),explora.map(([l,id])=>__gh("button",{key:id,onClick:()=>scrollToId(id),className:linkCls,style:dim,"data-gufi-src":"components/Footer.tsx:109"},l))),__gh("nav",{"aria-label":"Compa\xF1\xEDa","data-gufi-src":"components/Footer.tsx:116"},__gh("div",{className:HEAD,style:HEAD_DIM,"data-gufi-src":"components/Footer.tsx:117"},"Compa\xF1\xEDa"),compania.map(([l,fn])=>__gh("button",{key:l,onClick:fn,className:linkCls,style:dim,"data-gufi-src":"components/Footer.tsx:119"},l))),__gh("div",{"data-gufi-src":"components/Footer.tsx:126"},__gh("div",{className:HEAD,style:HEAD_DIM,"data-gufi-src":"components/Footer.tsx:127"},"Contacto"),__gh("a",{href:`tel:${TEL}`,className:contactCls,style:dim,"data-gufi-src":"components/Footer.tsx:128"},__gh(import_lucide_react12.Phone,{size:14,className:"shrink-0",style:iconDim})," ",TEL_TXT),__gh("a",{href:`mailto:${MAILTO}`,className:contactCls,style:dim,"data-gufi-src":"components/Footer.tsx:131"},__gh(import_lucide_react12.Mail,{size:14,className:"shrink-0",style:iconDim})," ",MAILTO),__gh("span",{className:"flex items-center gap-2.5 text-[14px] py-[7px] min-h-[44px]",style:dim,"data-gufi-src":"components/Footer.tsx:134"},__gh(import_lucide_react12.MapPin,{size:14,className:"shrink-0",style:iconDim})," A Coru\xF1a \xB7 Oleiros \xB7 Culleredo"),__gh("button",{onClick:()=>ctx.openSolicitud({tipo:"Consulta general"}),className:"group mt-5 inline-flex items-center gap-2 h-[46px] px-5 rounded-full text-[13.5px] font-bold text-white border border-white/35 hover:bg-white/10 hover:border-white/60 transition-colors duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70","data-gufi-src":"components/Footer.tsx:137"},"Escr\xEDbenos ",__gh(import_lucide_react12.ArrowRight,{size:15,className:"transition-transform duration-300 group-hover:translate-x-1"})))),__gh("div",{className:"mt-14 pt-7 border-t flex flex-col-reverse sm:flex-row items-center sm:justify-between gap-6",style:{borderColor:"rgba(255,255,255,0.12)"},"data-gufi-src":"components/Footer.tsx:151"},__gh("div",{className:"flex flex-col sm:flex-row items-center gap-x-4 gap-y-2 text-[12.5px] text-center sm:text-left",style:{color:"rgba(255,255,255,0.54)"},"data-gufi-src":"components/Footer.tsx:160"},__gh("span",{"data-gufi-src":"components/Footer.tsx:164"},"\xA9 2026 HostWorkers. Todos los derechos reservados."),__gh("span",{"aria-hidden":!0,className:"hidden sm:inline w-px h-3",style:{background:"rgba(255,255,255,0.18)"},"data-gufi-src":"components/Footer.tsx:165"}),__gh("span",{className:"flex items-center gap-5","data-gufi-src":"components/Footer.tsx:177"},__gh("a",{href:"?legal=aviso",onClick:e=>{e.preventDefault(),ctx?.openLegal?.("aviso")},className:"inline-flex items-center min-h-[44px] transition-colors hover:text-white","data-gufi-src":"components/Footer.tsx:178"},"Aviso legal"),__gh("a",{href:"?legal=privacidad",onClick:e=>{e.preventDefault(),ctx?.openLegal?.("privacidad")},className:"inline-flex items-center min-h-[44px] transition-colors hover:text-white","data-gufi-src":"components/Footer.tsx:185"},"Privacidad"))),__gh("div",{className:"flex items-center gap-2.5","data-gufi-src":"components/Footer.tsx:196"},social.map(s=>__gh("a",{key:s.label,href:s.href,...s.ext?{target:"_blank",rel:"noopener noreferrer"}:{},"aria-label":s.label,className:"inline-flex items-center justify-center w-11 h-11 rounded-full border text-white/70 transition-colors duration-300 hover:text-white hover:border-white/45 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/60",style:{borderColor:"rgba(255,255,255,0.16)"},"data-gufi-src":"components/Footer.tsx:198"},s.el))))))}var import_react10=require("react"),import_framer_motion13=require("framer-motion"),import_lucide_react13=require("lucide-react");var FICHA_ID="ficha-vivienda",EASE13=[.22,.61,.36,1],WA2="#1DA851",OK_VERDE="#0C6B4E",txt6=v=>v==null?"":typeof v=="string"?v:typeof v=="number"?Number.isFinite(v)?String(v):"":String(typeof v=="object"?v.name??v.label??v.value??v.title??v.text??"":v),amenityIcon=label=>{let s=label.toLowerCase();return/wifi|internet|fibra|wi-fi/.test(s)?import_lucide_react13.Wifi:/parking|garaje|aparca|plaza/.test(s)?import_lucide_react13.Car:/piscina|pool/.test(s)?import_lucide_react13.Waves:/aire|clima|a\/c|a\.c|refriger/.test(s)?import_lucide_react13.Snowflake:/calef|heat|chimenea/.test(s)?import_lucide_react13.Flame:/cocina|kitchen|office/.test(s)?import_lucide_react13.Utensils:/\btv\b|televis|smart/.test(s)?import_lucide_react13.Tv:/gimnasio|\bgym\b|fitness/.test(s)?import_lucide_react13.Dumbbell:/terraza|jard|garden|patio|exterior/.test(s)?import_lucide_react13.Trees:/mascot|\bpet\b|perro|gato|animal/.test(s)?import_lucide_react13.PawPrint:/lavad|washing|colada/.test(s)?import_lucide_react13.WashingMachine:/vista|view|\bmar\b|\bsea\b|panor/.test(s)?import_lucide_react13.Mountain:/cafe|coffee|nespresso/.test(s)?import_lucide_react13.Coffee:import_lucide_react13.Check},vinoConSeleccion=()=>{try{return typeof window>"u"?!1:pisosIdsDeParam(new URLSearchParams(window.location.search).get("pisos")).length>1}catch{return!1}},fechaCorta=iso=>{if(!/^\d{4}-\d{2}-\d{2}$/.test(String(iso||"")))return"";try{return new Date(iso+"T00:00:00").toLocaleDateString("es-ES",{day:"numeric",month:"short"})}catch{return""}},direccionLimpia=partes=>partes.filter(Boolean).join(", ").replace(/\s+/g," ").replace(/\s*,\s*/g,", ").replace(/(?:,\s*){2,}/g,", ").replace(/^[,\s]+|[,\s]+$/g,""),imgMueve={enter:d=>({opacity:0,x:d>0?26:-26}),center:{opacity:1,x:0},exit:d=>({opacity:0,x:d>0?-18:18})},imgQuieto={enter:{opacity:0},center:{opacity:1},exit:{opacity:0}},COLS={1:"sm:grid-cols-1",2:"sm:grid-cols-2",3:"sm:grid-cols-3",4:"sm:grid-cols-4"},ROTULO="block text-[10.5px] font-semibold uppercase tracking-[0.18em]";function ViviendaModal({ctx,vivienda,onClose,entrada="",salida="",enlaceFicha}){let[img,setImg]=(0,import_react10.useState)(0),[copiado,setCopiado]=(0,import_react10.useState)(!1),[rotas,setRotas]=(0,import_react10.useState)({}),dirRef=(0,import_react10.useRef)(0),tactoRef=(0,import_react10.useRef)({x:0,y:0}),tiraRef=(0,import_react10.useRef)(null),reduce=(0,import_framer_motion13.useReducedMotion)(),a=vivienda,idActual=a&&a.id!=null?String(a.id):"",vistoRef=(0,import_react10.useRef)(idActual);idActual!==vistoRef.current&&(vistoRef.current=idActual,dirRef.current=0,setImg(0),setRotas({}));let portada=a&&typeof a.foto=="string"?a.foto:"",fotosCrudas=galleryOf({fotos_items:a&&a.fotos_items,foto:portada}).filter(f=>typeof f=="string"&&f),fotos=(portada?[portada,...fotosCrudas.filter(f=>f!==portada)]:fotosCrudas).filter(f=>!rotas[f]),n=fotos.length,idx=n>0?Math.min(img,n-1):0;if((0,import_react10.useEffect)(()=>{if(n<2||typeof Image>"u")return;let pedir=j=>{let src=fotos[(j%n+n)%n];if(src){let im=new Image;im.src=src}};pedir(idx+1),pedir(idx-1)},[idx,n,idActual]),(0,import_react10.useEffect)(()=>{let cont=tiraRef.current;if(!cont||n<2||typeof cont.scrollTo!="function")return;let el=cont.children[idx];if(!el)return;let izq=el.offsetLeft,der=izq+el.offsetWidth,vista=cont.scrollLeft,comportamiento=reduce?"auto":"smooth";izqvista+cont.clientWidth-8&&cont.scrollTo({left:der-cont.clientWidth+8,behavior:comportamiento})},[idx,n,reduce]),!a)return null;let nombre=txt6(a.nombre)||"Residencia",ciudad=txt6(a.ciudad),tipo=txt6(a.tipo)||"Residencia",direccion=txt6(a.direccion),descripcion=txt6(a.descripcion),referencia=txt6(a.referencia),safe={...a,nombre,ciudad,foto:portada},amen=amenitiesDe(a),renta=mensualidadDe(a),hayPrecio=Number.isFinite(renta)&&renta>0,rentaLabel3=hayPrecio?fmtEur(renta):"Consultar",hab=num(a.habitaciones),ban=num(a.banos),cap2=num(a.capacidad),m2=num(a.m2),datos=[{Icon:import_lucide_react13.BedDouble,v:hab,l:hab===1?"dormitorio":"dormitorios"},{Icon:import_lucide_react13.Bath,v:ban,l:ban===1?"ba\xF1o":"ba\xF1os"},{Icon:import_lucide_react13.Users,v:cap2,l:cap2===1?"hu\xE9sped":"hu\xE9spedes"},{Icon:import_lucide_react13.Ruler,v:m2,l:"m\xB2"}].filter(d=>d.v>0),hayRango=!!entrada&&!!salida&&salida>entrada,dispo=dispoEnRango(a,ctx&&ctx.ocupacion,!!(ctx&&ctx.ocupacionLista),hayRango?entrada:"",hayRango?salida:""),estMin=estanciaMinDe(a),go=d=>{n>1&&(dirRef.current=d,setImg(((idx+d)%n+n)%n))},jump=i=>{dirRef.current=i>idx?1:-1,setImg(i)},marcarRota=f=>setRotas(r=>!f||r[f]?r:{...r,[f]:1}),teclaTira=e=>{if(n<2)return;let d=e.key==="ArrowRight"?1:e.key==="ArrowLeft"?-1:0;if(!d)return;e.preventDefault();let j=((idx+d)%n+n)%n;dirRef.current=d,setImg(j);let cont=tiraRef.current,el=cont&&cont.children[j];el&&typeof el.focus=="function"&&el.focus({preventScroll:!0})},solicitarVisita=()=>{ctx.openSolicitud({tipo:"Inquilino busca",vivienda_id:a.id,fecha_entrada:ctx&&ctx.busqueda&&ctx.busqueda.entrada||"",mensaje:""})},copiarEnlace=async()=>{try{let url=enlaceFicha(a);if(navigator.clipboard&&navigator.clipboard.writeText)await navigator.clipboard.writeText(url);else{let t=document.createElement("textarea");t.value=url,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}setCopiado(!0),window.setTimeout(()=>setCopiado(!1),2e3)}catch{uiToast("No hemos podido copiar el enlace. Est\xE1 en la barra de direcciones del navegador.")}},variantes=reduce?imgQuieto:imgMueve,flecha="absolute top-1/2 -translate-y-1/2 w-10 h-10 sm:w-11 sm:h-11 rounded-full flex items-center justify-center bg-white/90 backdrop-blur transition-colors duration-200 hover:bg-white focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444]";return __gh(import_framer_motion13.motion.section,{id:FICHA_ID,"aria-label":`Ficha de ${nombre}`,initial:reduce?!1:{opacity:0},animate:{opacity:1},transition:{duration:.34,ease:EASE13},className:"relative border-y",style:{borderColor:LINE,background:PAPER2}},__gh("div",{className:"sticky z-30 border-b backdrop-blur-md",style:{top:64,borderColor:LINE,background:"rgba(244,247,251,0.92)"},"data-gufi-src":"components/ViviendaModal.tsx:360"},__gh("div",{className:"max-w-[1240px] mx-auto px-5 sm:px-8 h-[54px] flex items-center justify-between gap-3","data-gufi-src":"components/ViviendaModal.tsx:364"},__gh("button",{type:"button",onClick:onClose,className:"group inline-flex items-center gap-2 h-11 pr-2 text-[13px] sm:text-[13.5px] font-semibold tracking-[-0.01em] transition-colors duration-200 hover:text-[#EA682E] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] rounded-full",style:{color:INK},"data-gufi-src":"components/ViviendaModal.tsx:365"},__gh(import_lucide_react13.ArrowLeft,{size:16,strokeWidth:2.2,className:"transition-transform duration-200 group-hover:-translate-x-0.5"}),vinoConSeleccion()?"Volver a tu selecci\xF3n":"Volver al cat\xE1logo"),__gh("button",{type:"button",onClick:copiarEnlace,"aria-label":copiado?"Enlace copiado al portapapeles":`Copiar el enlace de ${nombre}`,className:"inline-flex items-center gap-1.5 h-11 px-4 rounded-full border text-[12.5px] font-semibold transition-colors duration-200 hover:border-[#CFD8E4] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444]",style:{borderColor:LINE,background:PAPER,color:copiado?OK_VERDE:INK2},"data-gufi-src":"components/ViviendaModal.tsx:377"},copiado?__gh(__gf,null,__gh(import_lucide_react13.Check,{size:14,strokeWidth:2.4})," Enlace copiado"):__gh(__gf,null,__gh(import_lucide_react13.Link2,{size:14,strokeWidth:2})," Compartir")))),__gh("div",{className:"max-w-[1240px] mx-auto px-5 sm:px-8 pt-9 sm:pt-12 pb-16 sm:pb-24","data-gufi-src":"components/ViviendaModal.tsx:391"},__gh(import_framer_motion13.motion.div,{initial:reduce?!1:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,ease:EASE13}},__gh("p",{className:"text-[12.5px] font-medium truncate",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:403"},ciudad&&tipo?`${tipo} en ${ciudad}`:tipo||ciudad),__gh("h2",{className:"text-[28px] sm:text-[36px] lg:text-[42px] font-bold tracking-[-0.035em] mt-3.5 leading-[1.06]",style:{color:INK,fontFamily:FONT_SERIF,maxWidth:"34ch"},"data-gufi-src":"components/ViviendaModal.tsx:407"},nombre),(direccion||ciudad)&&__gh("p",{className:"text-[13.5px] sm:text-[14.5px] mt-3.5 flex items-start gap-2",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:415"},__gh(import_lucide_react13.MapPin,{size:15,strokeWidth:1.8,className:"shrink-0 mt-0.5",style:{color:FAINT}}),__gh("span",{"data-gufi-src":"components/ViviendaModal.tsx:417"},direccionLimpia([direccion,ciudad])))),__gh(import_framer_motion13.motion.div,{initial:reduce?!1:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.55,delay:reduce?0:.06,ease:EASE13},className:"mt-8 sm:mt-10"},n===0&&__gh("div",{className:"rounded-[18px] sm:rounded-[22px] border py-12 sm:py-14 px-6 flex flex-col items-center justify-center gap-2.5 text-center",style:{borderColor:LINE,background:"#E8EEF6"},"data-gufi-src":"components/ViviendaModal.tsx:439"},__gh(import_lucide_react13.ImageOff,{size:24,strokeWidth:1.4,style:{color:FAINT}}),__gh("span",{className:"text-[13.5px] font-semibold",style:{color:BODY},"data-gufi-src":"components/ViviendaModal.tsx:444"},"Todav\xEDa no tenemos fotos de esta residencia"),__gh("span",{className:"text-[12.5px]",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:445"},"P\xEDdenoslas y te las enviamos.")),n>0&&__gh("div",{role:"group",tabIndex:n>1?0:-1,"aria-label":n>1?`Galer\xEDa de ${nombre}: ${n} im\xE1genes. Usa las flechas izquierda y derecha`:void 0,onKeyDown:e=>{n<2||(e.key==="ArrowLeft"?(e.preventDefault(),go(-1)):e.key==="ArrowRight"&&(e.preventDefault(),go(1)))},onTouchStart:e=>{dirRef.current=0,tactoRef.current={x:e.touches[0].clientX,y:e.touches[0].clientY}},onTouchEnd:e=>{let dx=e.changedTouches[0].clientX-tactoRef.current.x,dy=e.changedTouches[0].clientY-tactoRef.current.y;Math.abs(dx)>44&&Math.abs(dx)>Math.abs(dy)*1.3&&go(dx<0?1:-1)},className:"relative overflow-hidden rounded-[18px] sm:rounded-[22px] aspect-[4/3] sm:aspect-[3/2] lg:aspect-[16/9] select-none focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444]",style:{background:"#E8EEF6"},"data-gufi-src":"components/ViviendaModal.tsx:450"},__gh(import_framer_motion13.AnimatePresence,{mode:"wait",custom:dirRef.current,initial:!1},__gh(import_framer_motion13.motion.img,{key:`${idx}|${fotos[idx]}`,custom:dirRef.current,src:fotos[idx],alt:`${nombre}${ciudad?` \xB7 ${ciudad}`:""} \u2014 imagen ${idx+1} de ${n}`,onError:()=>marcarRota(fotos[idx]),variants:variantes,initial:"enter",animate:"center",exit:"exit",transition:{duration:.4,ease:EASE13},className:"absolute inset-0 w-full h-full object-cover",draggable:!1})),n>1&&__gh(__gf,null,__gh("button",{type:"button",onClick:()=>go(-1),"aria-label":"Imagen anterior",className:`${flecha} left-3 sm:left-4`,style:{color:INK2},"data-gufi-src":"components/ViviendaModal.tsx:489"},__gh(import_lucide_react13.ChevronLeft,{size:19,strokeWidth:2})),__gh("button",{type:"button",onClick:()=>go(1),"aria-label":"Imagen siguiente",className:`${flecha} right-3 sm:right-4`,style:{color:INK2},"data-gufi-src":"components/ViviendaModal.tsx:492"},__gh(import_lucide_react13.ChevronRight,{size:19,strokeWidth:2})),__gh("span",{"aria-hidden":!0,className:"pointer-events-none absolute bottom-3.5 right-3.5 sm:bottom-4 sm:right-4 rounded-full px-2.5 py-1 text-[11px] font-semibold text-white tabular-nums",style:{background:"rgba(20,36,47,0.62)"},"data-gufi-src":"components/ViviendaModal.tsx:495"},idx+1," / ",n))),n>1&&__gh("span",{"aria-live":"polite",style:{position:"absolute",width:1,height:1,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap"},"data-gufi-src":"components/ViviendaModal.tsx:511"},`Imagen ${idx+1} de ${n}`),n>1&&__gh("div",{ref:tiraRef,role:"group","aria-label":`Miniaturas de ${nombre}`,onKeyDown:teclaTira,className:"mt-2.5 flex gap-2.5 overflow-x-auto pb-1.5 [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden","data-gufi-src":"components/ViviendaModal.tsx:520"},fotos.map((f,i)=>__gh("button",{type:"button",key:f+i,onClick:()=>jump(i),"aria-label":`Ver imagen ${i+1} de ${n}`,"aria-current":idx===i,tabIndex:idx===i?0:-1,className:"relative shrink-0 w-20 sm:w-24 aspect-[4/3] rounded-[10px] overflow-hidden transition-opacity duration-300 focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444]",style:{opacity:idx===i?1:.5,outline:idx===i?`2px solid ${INK2}`:void 0,outlineOffset:2},"data-gufi-src":"components/ViviendaModal.tsx:528"},__gh("img",{src:f,alt:"",loading:"lazy",decoding:"async",onError:()=>marcarRota(f),className:"w-full h-full object-cover",draggable:!1,"data-gufi-src":"components/ViviendaModal.tsx:543"}))))),datos.length>0&&__gh("div",{className:"mt-7 sm:mt-9 border-y py-4 sm:py-5",style:{borderColor:LINE},"data-gufi-src":"components/ViviendaModal.tsx:558"},__gh("div",{className:`grid grid-cols-2 ${COLS[datos.length]||"sm:grid-cols-4"} gap-x-5 gap-y-3.5 sm:gap-y-0`,"data-gufi-src":"components/ViviendaModal.tsx:559"},datos.map(({Icon,v,l},k)=>__gh("div",{key:k,className:k===0?"min-w-0 flex items-center gap-2.5":"min-w-0 flex items-center gap-2.5 sm:border-l sm:pl-5",style:k===0?void 0:{borderColor:LINE},"data-gufi-src":"components/ViviendaModal.tsx:561"},__gh(Icon,{size:16,strokeWidth:1.7,className:"shrink-0",style:{color:FAINT}}),__gh("span",{className:"min-w-0 truncate text-[13px] sm:text-[13.5px]",style:{color:BODY},"data-gufi-src":"components/ViviendaModal.tsx:567"},__gh("span",{className:"text-[15.5px] font-semibold tabular-nums",style:{color:INK2},"data-gufi-src":"components/ViviendaModal.tsx:568"},fmtNum(v))," ",l))))),__gh("div",{className:"mt-10 sm:mt-14 grid grid-cols-1 lg:grid-cols-[1fr_340px] xl:grid-cols-[1fr_380px] gap-10 lg:gap-14 xl:gap-20 items-start","data-gufi-src":"components/ViviendaModal.tsx:582"},__gh("aside",{className:"order-first lg:order-last min-w-0 lg:sticky",style:{top:132},"data-gufi-src":"components/ViviendaModal.tsx:583"},__gh("div",{className:"rounded-[20px] border p-6 sm:p-7",style:{borderColor:LINE,background:PAPER,boxShadow:"0 1px 2px rgba(20,35,46,0.04), 0 28px 56px -44px rgba(20,35,46,0.4)"},"data-gufi-src":"components/ViviendaModal.tsx:584"},__gh("span",{className:"block text-[11.5px] font-medium",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:596"},"Renta mensual"),__gh("div",{className:"flex items-baseline gap-1.5 mt-2.5","data-gufi-src":"components/ViviendaModal.tsx:597"},__gh("span",{className:`${hayPrecio?"text-[32px] sm:text-[34px]":"text-[24px]"} font-bold leading-none tracking-[-0.035em] tabular-nums`,style:{color:INK2,fontFamily:FONT_SERIF},"data-gufi-src":"components/ViviendaModal.tsx:598"},rentaLabel3),hayPrecio&&__gh("span",{className:"text-[14px] font-semibold",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:604"},"/mes")),hayPrecio&&ivaNota(a)&&__gh("span",{className:"block text-[11.5px] font-medium mt-2",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:607"},ivaNota(a)),__gh("div",{className:"mt-5","data-gufi-src":"components/ViviendaModal.tsx:622"},__gh(ChipDispo,{dispo}),hayRango&&__gh("p",{className:"text-[12.5px] mt-2.5",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:629"},"Para tu estancia del ",fechaCorta(entrada)," al ",fechaCorta(salida)),estMin>0&&__gh("p",{className:"text-[12.5px] mt-1.5",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:634"},"Estancia m\xEDnima de ",fmtNum(estMin)," ",estMin===1?"d\xEDa":"d\xEDas")),__gh("div",{className:"h-px my-6",style:{background:LINE2},"data-gufi-src":"components/ViviendaModal.tsx:640"}),__gh("button",{type:"button",onClick:solicitarVisita,className:"group w-full inline-flex items-center justify-center gap-2 h-[52px] rounded-full text-[16px] font-semibold text-white transition-[background-color,box-shadow] duration-200 shadow-[0_1px_2px_rgba(234,104,46,0.3)] hover:shadow-[0_14px_30px_-14px_rgba(234,104,46,0.7)] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2",style:{background:RED},onMouseEnter:e=>e.currentTarget.style.background="#D85F28",onMouseLeave:e=>e.currentTarget.style.background=RED,"data-gufi-src":"components/ViviendaModal.tsx:646"},"Solicitar visita",__gh(import_lucide_react13.ArrowRight,{size:16,strokeWidth:2.3,className:"transition-transform duration-200 group-hover:translate-x-0.5"})),__gh("a",{href:waLink(safe),target:"_blank",rel:"noreferrer",className:"mt-2.5 w-full inline-flex items-center justify-center gap-2 h-[50px] rounded-full border text-[14px] font-semibold transition-colors duration-200 hover:border-[#CFD8E4] hover:bg-[#F4F7FB] focus:outline-none focus-visible:ring-2 focus-visible:ring-[#1E3444] focus-visible:ring-offset-2",style:{borderColor:LINE,color:INK2},"data-gufi-src":"components/ViviendaModal.tsx:658"},__gh(import_lucide_react13.MessageCircle,{size:17,strokeWidth:2,style:{color:WA2}}),"Preguntar por WhatsApp"),__gh("p",{className:"text-[12.5px] leading-[1.55] mt-4",style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:673"},"Nos dices tus fechas y un asesor te confirma la disponibilidad y coordina la visita. Respuesta habitual en menos de 24 h, sin compromiso."),referencia&&__gh(__gf,null,__gh("div",{className:"h-px my-5",style:{background:LINE2},"data-gufi-src":"components/ViviendaModal.tsx:680"}),__gh("p",{className:"text-[12px] tabular-nums",style:{color:FAINT},"data-gufi-src":"components/ViviendaModal.tsx:681"},"Referencia ",referencia)))),__gh("div",{className:"min-w-0","data-gufi-src":"components/ViviendaModal.tsx:687"},descripcion?__gh("div",{"data-gufi-src":"components/ViviendaModal.tsx:689"},__gh("h3",{className:ROTULO,style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:690"},"Sobre la residencia"),__gh("div",{className:"mt-4",style:{maxWidth:"68ch"},"data-gufi-src":"components/ViviendaModal.tsx:694"},descripcion.split(/\n+/).map((parrafo,k)=>__gh("p",{key:k,className:`text-[15px] sm:text-[15.5px] leading-[1.75] ${k>0?"mt-4":""}`,style:{color:BODY},"data-gufi-src":"components/ViviendaModal.tsx:696"},parrafo.trim())))):null,amen.length>0&&__gh("div",{className:descripcion?"mt-10 pt-10 border-t":"",style:descripcion?{borderColor:LINE}:void 0,"data-gufi-src":"components/ViviendaModal.tsx:705"},__gh("h3",{className:ROTULO,style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:706"},"Equipamiento"),__gh("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-x-8 gap-y-4 mt-5","data-gufi-src":"components/ViviendaModal.tsx:707"},amen.map((s,k)=>{let Icon=amenityIcon(s);return __gh("div",{key:k,className:"flex items-start gap-3 min-w-0","data-gufi-src":"components/ViviendaModal.tsx:711"},__gh(Icon,{size:16,strokeWidth:1.7,className:"shrink-0 mt-0.5",style:{color:FAINT}}),__gh("span",{className:"text-[13.5px] font-medium leading-snug",style:{color:BODY},"data-gufi-src":"components/ViviendaModal.tsx:713"},s))}))),!descripcion&&amen.length===0&&__gh("div",{"data-gufi-src":"components/ViviendaModal.tsx:722"},__gh("h3",{className:ROTULO,style:{color:MUTED},"data-gufi-src":"components/ViviendaModal.tsx:723"},"Sobre la residencia"),__gh("p",{className:"text-[15px] leading-[1.75] mt-4",style:{color:BODY,maxWidth:"58ch"},"data-gufi-src":"components/ViviendaModal.tsx:724"},"Todav\xEDa no hemos publicado la descripci\xF3n de esta residencia. Solicita una visita y un asesor te cuenta c\xF3mo es, qu\xE9 incluye y desde cu\xE1ndo puedes entrar."))))))}var import_react12=require("react"),import_lucide_react15=require("lucide-react"),import_framer_motion15=require("framer-motion");var import_react11=require("react"),import_framer_motion14=require("framer-motion"),import_lucide_react14=require("lucide-react");var EASE14=[.22,.61,.36,1],RING_ERR="rgba(234,104,46,0.55)",ANILLO_FOCO=`inset 0 0 0 1.5px ${INK}, inset 0 0 0 4.5px rgba(30,52,68,0.10)`,ANILLO_TECLA="0 0 0 3px rgba(30,52,68,0.22)",EMAIL_RE=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,cleanTel=s=>s.replace(/[^\d+]/g,"");function computeErrors(f){let errs={},nombre=(f.nombre||"").trim(),email=(f.email||"").trim(),tel=(f.telefono||"").trim();return nombre?nombre.length<2&&(errs.nombre="Nombre demasiado corto"):errs.nombre="Indica tu nombre",email&&!EMAIL_RE.test(email)&&(errs.email="Revisa el email"),tel&&cleanTel(tel).replace("+","").length<7&&(errs.telefono="Revisa el tel\xE9fono"),!email&&!tel&&(errs.contacto="D\xE9janos un email o un tel\xE9fono"),f.consent||(errs.consent="Necesitamos tu consentimiento para poder contactarte"),errs}var GRUPO={display:"grid",gap:1,background:LINE2,border:`1px solid ${LINE}`,borderRadius:14,overflow:"hidden",boxShadow:"0 1px 2px rgba(20,36,47,0.035)"},FILA={display:"grid",gap:1,background:LINE2,minWidth:0},CELDA={position:"relative",minWidth:0,background:"#FFFFFF",padding:"9px 14px 9px"},ETIQUETA={display:"block",fontSize:11,fontWeight:600,lineHeight:"11px",marginBottom:6},VALOR={width:"100%",minWidth:0,height:24,lineHeight:"24px",fontSize:16,fontWeight:500,color:INK2,background:"transparent",border:0,padding:0,margin:0,outline:"none"};function Celda({label,htmlFor,bad,children}){let[foc,setFoc]=(0,import_react11.useState)(!1);return __gh("div",{onFocusCapture:()=>setFoc(!0),onBlurCapture:()=>setFoc(!1),className:"transition-shadow duration-200",style:{...CELDA,boxShadow:foc?ANILLO_FOCO:bad?`inset 0 0 0 1.5px ${RING_ERR}`:"none",zIndex:foc?2:bad?1:void 0},"data-gufi-src":"components/Form.tsx:81"},__gh("label",{htmlFor,style:{...ETIQUETA,color:foc?INK:MUTED},"data-gufi-src":"components/Form.tsx:91"},label),children)}var ErrorMsg=({id,show,children})=>__gh(import_framer_motion14.AnimatePresence,{initial:!1},show&&__gh(import_framer_motion14.motion.p,{id,role:"alert",initial:{opacity:0,height:0,y:-2},animate:{opacity:1,height:"auto",y:0},exit:{opacity:0,height:0,y:-2},transition:{duration:.22,ease:EASE14},className:"flex items-center",style:{fontSize:12,fontWeight:500,color:RED,marginTop:8,gap:6}},__gh(import_lucide_react14.AlertCircle,{size:12.5,strokeWidth:2.2,className:"shrink-0"})," ",children)),PERFILES=[{v:"Inquilino busca",label:"Busco vivienda"},{v:"Propietario ofrece",label:"Soy propietario"}],prefiereCalma=()=>{try{return!!(window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)}catch{return!1}},esTeclado=e=>{try{return!!e.target.matches(":focus-visible")}catch{return!1}};function SolicitudForm({ctx,prefill,compact,onTipo,onDone,onExito}){let[f,setF]=(0,import_react11.useState)({nombre:"",email:"",telefono:"",tipo:prefill?.tipo||"Inquilino busca",vivienda_id:prefill?.vivienda_id||"",fecha_entrada:prefill?.fecha_entrada||"",meses:prefill?.meses||"",mensaje:prefill?.mensaje||"",consent:!1}),[busy,setBusy]=(0,import_react11.useState)(!1),[ok,setOk]=(0,import_react11.useState)(!1),[touched,setTouched]=(0,import_react11.useState)({}),[tried,setTried]=(0,import_react11.useState)(!1),[envioErr,setEnvioErr]=(0,import_react11.useState)(""),[foco,setFoco]=(0,import_react11.useState)(""),[calma]=(0,import_react11.useState)(prefiereCalma),set=(k,v)=>setF(p=>({...p,[k]:v})),touch=k=>setTouched(t=>({...t,[k]:!0})),anillo=k=>foco===k?ANILLO_TECLA:void 0,onFoco=k=>e=>{esTeclado(e)&&setFoco(k)},sinFoco=()=>setFoco(""),nombreRef=(0,import_react11.useRef)(null),emailRef=(0,import_react11.useRef)(null),telRef=(0,import_react11.useRef)(null),consentRef=(0,import_react11.useRef)(null),cerrarRef=(0,import_react11.useRef)(null),errs=(0,import_react11.useMemo)(()=>computeErrors(f),[f]),showErr=k=>(touched[k]||tried)&&!!errs[k],showContacto=(touched.email||touched.telefono||tried)&&!!errs.contacto,errContacto=showContacto||showErr("email")||showErr("telefono"),viv=(0,import_react11.useMemo)(()=>{let id=prefill?.vivienda_id;return id&&(ctx.alojamientos||[]).find(a=>String(a.id)===String(id))||null},[prefill?.vivienda_id,ctx.alojamientos]);(0,import_react11.useEffect)(()=>{if(!ok)return;let t=window.setTimeout(()=>cerrarRef.current?.focus(),80);return()=>window.clearTimeout(t)},[ok]);let elegirPerfil=v=>{set("tipo",v),typeof onTipo=="function"&&onTipo(v)},enviandoRef=(0,import_react11.useRef)(!1),enviar=async()=>{if(enviandoRef.current)return;setTried(!0),setEnvioErr("");let e=computeErrors(f);if(e.nombre||e.email||e.telefono||e.contacto||e.consent){e.nombre?nombreRef.current?.focus():e.email||e.contacto?emailRef.current?.focus():e.telefono?telRef.current?.focus():e.consent&&consentRef.current?.focus();return}enviandoRef.current=!0,setBusy(!0);try{await ctx.enviarSolicitud({nombre:f.nombre.trim(),email:f.email.trim(),telefono:f.telefono.trim(),tipo:f.tipo,vivienda_id:prefill?.vivienda_id||f.vivienda_id||void 0,fecha_entrada:f.fecha_entrada||void 0,meses:f.meses||void 0,mensaje:f.mensaje.trim()}),setOk(!0),typeof onExito=="function"&&onExito(!0)}catch(err){let m=err?.message||"No se pudo enviar. Revisa tu conexi\xF3n e int\xE9ntalo de nuevo.";setEnvioErr(m),uiToast(m)}finally{enviandoRef.current=!1,setBusy(!1)}};if(ok)return __gh(import_framer_motion14.motion.div,{initial:calma?{opacity:0}:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.36,ease:EASE14},className:"text-center",style:{paddingTop:16,paddingBottom:6}},__gh(import_framer_motion14.motion.svg,{viewBox:"0 0 48 48",width:46,height:46,"aria-hidden":!0,className:"block",style:{margin:"0 auto"},initial:calma?{opacity:0}:{opacity:0,scale:.88},animate:{opacity:1,scale:1},transition:calma?{duration:.2}:{delay:.06,type:"spring",stiffness:260,damping:20}},__gh("circle",{cx:"24",cy:"24",r:"22.5",fill:"none",stroke:INK,strokeWidth:"1.25","data-gufi-src":"components/Form.tsx:261"}),__gh("path",{d:"M15.8 24.6 L21.4 30.2 L32.4 18.6",fill:"none",stroke:INK,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","data-gufi-src":"components/Form.tsx:262"})),__gh("h3",{style:{fontSize:20,fontWeight:700,letterSpacing:"-0.02em",color:INK2,marginTop:20},"data-gufi-src":"components/Form.tsx:265"},"Solicitud enviada"),__gh("p",{style:{fontSize:13.5,lineHeight:1.55,color:BODY,marginTop:10,maxWidth:330,marginLeft:"auto",marginRight:"auto"},"data-gufi-src":"components/Form.tsx:268"},"Gracias",f.nombre?`, ${f.nombre.split(" ")[0]}`:"",". Un asesor de HostWorkers revisar\xE1 tu",viv?` inter\xE9s en ${viv.nombre}`:" solicitud"," y se pondr\xE1 en contacto contigo personalmente."),__gh("p",{style:{fontSize:12,color:MUTED,marginTop:12},"data-gufi-src":"components/Form.tsx:272"},"Respuesta habitual en menos de 24 h"),typeof onDone=="function"&&__gh("button",{ref:cerrarRef,type:"button",onClick:()=>onDone(),onFocus:onFoco("cerrar"),onBlur:sinFoco,className:"w-full transition-colors duration-200 hover:bg-[#F4F7FB]",style:{marginTop:28,height:46,borderRadius:12,fontSize:14,fontWeight:600,color:INK2,background:"#FFFFFF",border:`1px solid ${LINE}`,boxShadow:anillo("cerrar"),outline:"none",cursor:"pointer"},"data-gufi-src":"components/Form.tsx:277"},"Cerrar"));let esProp=f.tipo==="Propietario ofrece";return __gh("form",{noValidate:!0,onSubmit:e=>{e.preventDefault(),enviar()},style:{display:"grid",gridTemplateColumns:"minmax(0, 1fr)",gap:compact?14:17},"data-gufi-src":"components/Form.tsx:303"},viv&&__gh(import_framer_motion14.motion.div,{initial:calma?{opacity:0}:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.32,ease:EASE14},className:"flex items-center",style:{gap:12,minWidth:0,background:PAPER2,border:`1px solid ${LINE}`,borderRadius:13,padding:10,paddingRight:16}},viv.foto?__gh("img",{src:viv.foto,alt:viv.nombre||"Residencia",className:"shrink-0",style:{width:52,height:52,borderRadius:10,objectFit:"cover"},"data-gufi-src":"components/Form.tsx:316"}):__gh("div",{className:"shrink-0",style:{width:52,height:52,borderRadius:10,background:"#E8EEF6"},"data-gufi-src":"components/Form.tsx:317"}),__gh("div",{style:{minWidth:0},"data-gufi-src":"components/Form.tsx:318"},__gh("div",{className:"truncate",style:{fontSize:14,fontWeight:600,color:INK2},"data-gufi-src":"components/Form.tsx:319"},viv.nombre),__gh("div",{className:"truncate",style:{fontSize:12.5,color:MUTED,marginTop:3},"data-gufi-src":"components/Form.tsx:320"},viv.ciudad,mensualidadDe(viv)?` \xB7 desde ${fmtEur(mensualidadDe(viv))}/mes`:""))),!prefill?.vivienda_id&&__gh("div",{"data-gufi-src":"components/Form.tsx:332"},__gh("div",{style:{fontSize:11.5,fontWeight:600,color:BODY,marginBottom:8},"data-gufi-src":"components/Form.tsx:333"},"\xBFQu\xE9 te trae por aqu\xED?"),__gh("div",{role:"radiogroup","aria-label":"Qu\xE9 te trae por aqu\xED",style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8},"data-gufi-src":"components/Form.tsx:336"},PERFILES.map(p=>{let on=p.v==="Propietario ofrece"?esProp:!esProp;return __gh("button",{key:p.v,type:"button",role:"radio","aria-checked":on,onClick:()=>elegirPerfil(p.v),onFocus:onFoco(p.v),onBlur:sinFoco,className:"flex items-center justify-center text-center transition-colors duration-200",style:{height:46,borderRadius:11,padding:"0 8px",cursor:"pointer",outline:"none",fontSize:"clamp(12.5px, 3.4vw, 13px)",fontWeight:600,color:on?INK2:BODY,background:on?"#FFFFFF":PAPER2,border:on?`1.5px solid ${INK}`:`1px solid ${LINE}`,boxShadow:anillo(p.v)},"data-gufi-src":"components/Form.tsx:340"},p.label)}))),__gh("div",{"data-gufi-src":"components/Form.tsx:367"},__gh("div",{style:GRUPO,"data-gufi-src":"components/Form.tsx:368"},__gh(Celda,{label:"Nombre y apellidos",htmlFor:"sf-nombre",bad:showErr("nombre")},__gh("input",{id:"sf-nombre",ref:nombreRef,style:VALOR,className:"placeholder:text-gray-400",autoComplete:"name","aria-required":!0,value:f.nombre,"aria-invalid":showErr("nombre"),"aria-describedby":"sf-nombre-err",onChange:e=>set("nombre",e.target.value),onBlur:()=>touch("nombre"),"data-gufi-src":"components/Form.tsx:370"})),__gh("div",{className:"sm:grid-cols-2",style:FILA,"data-gufi-src":"components/Form.tsx:385"},__gh(Celda,{label:"Email",htmlFor:"sf-email",bad:showErr("email")||showContacto},__gh("input",{id:"sf-email",ref:emailRef,style:VALOR,className:"placeholder:text-gray-400",type:"email",inputMode:"email",autoComplete:"email",value:f.email,"aria-invalid":showErr("email")||showContacto,"aria-describedby":"sf-contacto-err",onChange:e=>set("email",e.target.value),onBlur:()=>touch("email"),"data-gufi-src":"components/Form.tsx:387"})),__gh(Celda,{label:"Tel\xE9fono",htmlFor:"sf-telefono",bad:showErr("telefono")||showContacto},__gh("input",{id:"sf-telefono",ref:telRef,style:VALOR,className:"placeholder:text-gray-400",type:"tel",inputMode:"tel",autoComplete:"tel",value:f.telefono,"aria-invalid":showErr("telefono")||showContacto,"aria-describedby":"sf-contacto-err",onChange:e=>set("telefono",e.target.value),onBlur:()=>touch("telefono"),"data-gufi-src":"components/Form.tsx:403"})))),__gh(ErrorMsg,{id:"sf-nombre-err",show:showErr("nombre")},errs.nombre),__gh(ErrorMsg,{id:"sf-contacto-err",show:errContacto},errs.contacto||errs.email||errs.telefono),!showErr("nombre")&&!errContacto&&__gh("p",{style:{fontSize:11.5,color:MUTED,marginTop:8},"data-gufi-src":"components/Form.tsx:425"},"Con un email o un tel\xE9fono nos basta.")),__gh(import_framer_motion14.AnimatePresence,{initial:!1},!esProp&&__gh(import_framer_motion14.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3,ease:EASE14},className:"overflow-hidden"},__gh("div",{className:"sm:grid-cols-2",style:GRUPO,"data-gufi-src":"components/Form.tsx:443"},__gh(Celda,{label:"Entrada",htmlFor:"sf-fecha"},__gh("input",{id:"sf-fecha",type:"date",className:"cursor-pointer",style:{...VALOR,colorScheme:"light",color:f.fecha_entrada?INK2:FAINT},value:f.fecha_entrada,onChange:e=>set("fecha_entrada",e.target.value),onClick:e=>{try{e.currentTarget.showPicker?.()}catch{}},"data-gufi-src":"components/Form.tsx:445"})),__gh(Celda,{label:"Estancia",htmlFor:"sf-meses"},__gh("select",{id:"sf-meses",className:"appearance-none cursor-pointer",style:{...VALOR,appearance:"none",WebkitAppearance:"none",paddingRight:22,color:f.meses?INK2:FAINT},value:f.meses,onChange:e=>set("meses",e.target.value),"data-gufi-src":"components/Form.tsx:456"},__gh("option",{value:"","data-gufi-src":"components/Form.tsx:463"},"Indiferente"),[1,2,3,6,9,12].map(m=>__gh("option",{key:m,value:m,"data-gufi-src":"components/Form.tsx:464"},m," ",m===1?"mes":"meses"))),__gh(import_lucide_react14.ChevronDown,{size:15,className:"absolute pointer-events-none",style:{right:14,bottom:14,color:FAINT}}))))),__gh("div",{style:GRUPO,"data-gufi-src":"components/Form.tsx:479"},__gh(Celda,{label:esProp?"Sobre tu vivienda":viv?"Para la visita":"Qu\xE9 est\xE1s buscando",htmlFor:"sf-mensaje"},__gh("textarea",{id:"sf-mensaje",rows:compact?2:3,className:"resize-none placeholder:text-gray-400",style:{...VALOR,height:"auto",lineHeight:1.45,resize:"none",paddingBottom:2},placeholder:esProp?"Zona, tipo de vivienda, disponibilidad\u2026":viv?"D\xEDas y horas que te vengan bien, o cualquier duda\u2026":"Zona, presupuesto, n\xBA de habitaciones\u2026",value:f.mensaje,onChange:e=>set("mensaje",e.target.value),"data-gufi-src":"components/Form.tsx:481"}))),__gh("div",{"data-gufi-src":"components/Form.tsx:500"},__gh("label",{className:"flex items-start cursor-pointer select-none",style:{gap:12,minWidth:0},"data-gufi-src":"components/Form.tsx:501"},__gh("span",{className:"relative shrink-0",style:{width:19,height:19,marginTop:1},"data-gufi-src":"components/Form.tsx:502"},__gh("input",{ref:consentRef,type:"checkbox",checked:!!f.consent,onChange:e=>set("consent",e.target.checked),onFocus:onFoco("consent"),onBlur:sinFoco,"aria-invalid":showErr("consent")||void 0,"aria-describedby":"sf-consent-err",className:"appearance-none cursor-pointer transition-all duration-200",style:{appearance:"none",WebkitAppearance:"none",width:19,height:19,margin:0,borderRadius:6,outline:"none",background:f.consent?INK:"#FFFFFF",border:`1px solid ${f.consent?INK:showErr("consent")?RING_ERR:"#CFD8E4"}`,boxShadow:anillo("consent")},"data-gufi-src":"components/Form.tsx:503"}),f.consent&&__gh(import_lucide_react14.Check,{size:12,strokeWidth:3,color:"#FFFFFF",className:"absolute pointer-events-none",style:{left:3,top:3}})),__gh("span",{style:{fontSize:11.5,lineHeight:1.55,color:MUTED},"data-gufi-src":"components/Form.tsx:524"},"Acepto que ",__gh("b",{style:{fontWeight:600,color:BODY},"data-gufi-src":"components/Form.tsx:525"},"Rumar Flats, S.L.")," (HostWorkers) trate mis datos para responder a esta solicitud. No se ceden a terceros. Puedes ejercer tus derechos en"," ",__gh("a",{href:"mailto:rumarflats@gmail.com",className:"underline",style:{color:"inherit"},"data-gufi-src":"components/Form.tsx:528"},"rumarflats@gmail.com")," \xB7 ",__gh("a",{href:"?legal=privacidad",onClick:e=>{e.preventDefault(),ctx?.openLegal?.("privacidad")},className:"underline",style:{color:"inherit"},"data-gufi-src":"components/Form.tsx:529"},"Pol\xEDtica de privacidad"),".")),__gh(ErrorMsg,{id:"sf-consent-err",show:showErr("consent")},errs.consent)),__gh("div",{"data-gufi-src":"components/Form.tsx:541"},__gh(import_framer_motion14.motion.button,{type:"submit",disabled:busy,transition:{duration:.16,ease:EASE14},"aria-busy":busy,onFocus:onFoco("enviar"),onBlur:sinFoco,className:"w-full flex items-center justify-center transition-colors duration-200 hover:bg-[#CF5A26] active:bg-[#CF5A26] disabled:pointer-events-none",style:{height:52,borderRadius:12,gap:8,cursor:"pointer",outline:"none",border:0,fontSize:16,fontWeight:600,color:"#FFFFFF",background:RED,opacity:busy?.7:1,boxShadow:foco==="enviar"?"0 0 0 3px rgba(234,104,46,0.35)":"0 1px 2px rgba(20,36,47,0.10)"}},busy?__gh(__gf,null,__gh(import_lucide_react14.Loader2,{size:16,className:"animate-spin"})," Enviando\u2026"):"Enviar solicitud"),envioErr&&__gh("p",{role:"alert",className:"text-center",style:{fontSize:12.5,fontWeight:600,color:RED,marginTop:12},"data-gufi-src":"components/Form.tsx:563"},envioErr),__gh("p",{className:"text-center",style:{fontSize:11.5,color:MUTED,marginTop:12},"data-gufi-src":"components/Form.tsx:568"},"Sin compromiso \xB7 un asesor te responde personalmente")))}var EASE15=[.22,.61,.36,1],PAD_X="clamp(20px, 5vw, 28px)",FOCUSABLE='a[href],button:not([disabled]),input:not([disabled]),textarea:not([disabled]),select:not([disabled]),[tabindex]:not([tabindex="-1"])',prefiereCalma2=()=>{try{return!!(window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)}catch{return!1}},VELO='[data-hw-solicitud="velo"]',TARJETA='[data-hw-solicitud="tarjeta"]';function SolicitudModal({ctx,prefill,onClose}){let[cerrarFoco,setCerrarFoco]=(0,import_react12.useState)(!1),[calma]=(0,import_react12.useState)(prefiereCalma2),[tipo,setTipo]=(0,import_react12.useState)(prefill?.tipo||""),[exito,setExito]=(0,import_react12.useState)(!1);(0,import_react12.useEffect)(()=>{setTipo(prefill?.tipo||""),setExito(!1)},[prefill]);let vueloRef=(0,import_react12.useRef)(null),ctxUnEnvio={...ctx,enviarSolicitud:payload=>{if(vueloRef.current)return vueloRef.current;let vuelo=Promise.resolve(ctx.enviarSolicitud(payload)).finally(()=>{vueloRef.current=null});return vueloRef.current=vuelo,vuelo}};(0,import_react12.useEffect)(()=>{if(!prefill)return;document.documentElement.setAttribute("data-modal-solicitud","1");let prevFocus=document.activeElement,html2=document.documentElement,body=document.body,prevH=html2.style.overflow,prevB=body.style.overflow;html2.style.overflow="hidden",body.style.overflow="hidden";let intentos=0,raf=0,meterFoco=()=>{let velo=document.querySelector(VELO);velo&&(velo.contains(document.activeElement)||(document.querySelector(TARJETA)?.focus({preventScroll:!0}),velo.contains(document.activeElement)||(velo.querySelector('[data-hw-solicitud="cerrar"]')||velo.querySelector(FOCUSABLE))?.focus({preventScroll:!0}),velo.contains(document.activeElement)))||(intentos+=1,intentos<20&&(raf=requestAnimationFrame(meterFoco)))};raf=requestAnimationFrame(meterFoco);let onKey=e=>{if(e.key==="Escape"){onClose();return}if(e.key!=="Tab")return;let velo=document.querySelector(VELO),card=document.querySelector(TARJETA);if(!velo)return;let list=Array.from(velo.querySelectorAll(FOCUSABLE)).filter(el=>el.offsetParent!==null);if(!list.length)return;let first=list[0],last=list[list.length-1],act=document.activeElement;if(!velo.contains(act)){e.preventDefault(),(e.shiftKey?last:first).focus();return}e.shiftKey&&(act===first||act===card)?(e.preventDefault(),last.focus()):!e.shiftKey&&act===last&&(e.preventDefault(),first.focus())};return window.addEventListener("keydown",onKey),()=>{cancelAnimationFrame(raf),window.removeEventListener("keydown",onKey),document.documentElement.removeAttribute("data-modal-solicitud"),html2.style.overflow=prevH,body.style.overflow=prevB,prevFocus?.focus?.()}},[prefill,onClose]);let[teclado,setTeclado]=(0,import_react12.useState)(0);(0,import_react12.useEffect)(()=>{if(!prefill)return;let vv=window.visualViewport;if(!vv)return;let medir=()=>{let h=window.innerHeight-vv.height-(vv.offsetTop||0);setTeclado(h>100?Math.round(h):0)};return medir(),vv.addEventListener("resize",medir),vv.addEventListener("scroll",medir),()=>{vv.removeEventListener("resize",medir),vv.removeEventListener("scroll",medir),setTeclado(0)}},[prefill]);let esProp=tipo==="Propietario ofrece",esVisita=!!prefill?.vivienda_id,viv=(0,import_react12.useMemo)(()=>{let id=prefill?.vivienda_id;return id&&(ctx.alojamientos||[]).find(v=>String(v.id)===String(id))||null},[prefill?.vivienda_id,ctx?.alojamientos]),titulo=esProp?"Publica tu vivienda":esVisita?"Solicita una visita":"Hablemos",subtitulo=esProp?"Lo gestionamos todo por ti: inquilinos verificados, contratos y cobros.":esVisita?"Cu\xE9ntanos tus fechas y un asesor coordina la visita contigo.":"Cu\xE9ntanos qu\xE9 buscas y un asesor te ayuda a encontrarlo.";return __gh(import_framer_motion15.AnimatePresence,null,prefill&&__gh(import_framer_motion15.motion.div,{"data-hw-solicitud":"velo",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 flex items-start justify-center overflow-y-auto",style:{zIndex:130,background:"rgba(20,36,47,0.5)",backdropFilter:"blur(6px)",WebkitBackdropFilter:"blur(6px)",padding:"clamp(18px, 4.5vh, 64px) clamp(12px, 2vw, 16px)",paddingBottom:teclado?teclado+20:void 0},onMouseDown:e=>e.target===e.currentTarget&&onClose()},__gh(import_framer_motion15.motion.div,{"data-hw-solicitud":"tarjeta",role:"dialog","aria-modal":"true",...exito?{"aria-label":"Solicitud enviada"}:{"aria-labelledby":"solicitud-titulo"},tabIndex:-1,initial:calma?{opacity:0}:{opacity:0,y:12,scale:.985},animate:{opacity:1,y:0,scale:1},exit:calma?{opacity:0}:{opacity:0,y:8,scale:.99},transition:{duration:calma?.18:.28,ease:EASE15},className:"relative w-full",style:{maxWidth:460,background:"#FFFFFF",borderRadius:20,border:`1px solid ${LINE}`,outline:"none",boxShadow:"0 1px 2px rgba(20,36,47,0.05), 0 28px 64px -24px rgba(20,36,47,0.38)"}},__gh("div",{className:"flex items-center justify-between",style:{height:58,padding:`0 ${PAD_X}`,gap:12,borderBottom:`1px solid ${LINE2}`},"data-gufi-src":"components/SolicitudModal.tsx:242"},__gh("img",{src:LOGO_LIGHT,alt:"HostWorkers",draggable:!1,className:"block select-none",style:{height:22,width:"auto"},"data-gufi-src":"components/SolicitudModal.tsx:246"}),__gh("button",{type:"button","data-hw-solicitud":"cerrar",onClick:onClose,"aria-label":"Cerrar",onFocus:e=>{try{e.target.matches(":focus-visible")&&setCerrarFoco(!0)}catch{}},onBlur:()=>setCerrarFoco(!1),className:"shrink-0 flex items-center justify-center transition-colors duration-200 hover:bg-[#F4F7FB]",style:{width:44,height:44,marginRight:-12,borderRadius:999,color:MUTED,background:"transparent",border:0,cursor:"pointer",outline:"none",boxShadow:cerrarFoco?"0 0 0 3px rgba(30,52,68,0.22)":void 0},"data-gufi-src":"components/SolicitudModal.tsx:253"},__gh(import_lucide_react15.X,{size:18,strokeWidth:2}))),__gh("div",{style:{padding:`clamp(22px, 3vw, 26px) ${PAD_X}`},"data-gufi-src":"components/SolicitudModal.tsx:271"},!exito&&__gh("div",{"data-gufi-src":"components/SolicitudModal.tsx:275"},__gh(import_framer_motion15.motion.h2,{key:titulo,id:"solicitud-titulo",initial:calma?{opacity:0}:{opacity:0,y:3},animate:{opacity:1,y:0},transition:{duration:.26,ease:EASE15},style:{fontSize:"clamp(22px, 2.4vw, 25px)",fontWeight:700,letterSpacing:"-0.025em",lineHeight:1.14,color:INK2}},titulo),__gh("p",{style:{fontSize:14,lineHeight:1.5,color:BODY,marginTop:8},"data-gufi-src":"components/SolicitudModal.tsx:285"},subtitulo)),__gh("div",{style:{marginTop:exito?0:24},"data-gufi-src":"components/SolicitudModal.tsx:291"},__gh(SolicitudForm,{ctx:ctxUnEnvio,prefill,onTipo:setTipo,onDone:onClose,onExito:setExito}))))))}var import_react13=__toESM(require("react")),import_framer_motion16=require("framer-motion"),import_lucide_react16=require("lucide-react");var EASE16=[.22,.61,.36,1],MESES_L=["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"],MESES=["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],mesLargo=p=>p?`${MESES_L[Number(p.slice(5,7))-1]} ${p.slice(0,4)}`:"",mesCorto=p=>p?MESES[Number(p.slice(5,7))-1]:"";var cap=t=>t?t.charAt(0).toUpperCase()+t.slice(1):"",INK_CARD="#1E3444",SS_KEY="remax_portal",initials=nombre=>String(nombre||"").trim().split(/\s+/).slice(0,2).map(w=>w[0]).join("").toUpperCase(),TONO_AVISO="#ff9f0a",TONO_MAL="#ff3b30",payTono=e=>e==="Cobrada"?"":e==="Vencida"||e==="Impagada"?TONO_MAL:TONO_AVISO;function Estado({children,tono,sobreFoto}){if(!children)return null;let base="inline-flex items-center gap-1.5 whitespace-nowrap shrink-0 text-[12px] font-medium";return sobreFoto?__gh("span",{className:`${base} rounded-full px-2.5 py-1`,style:{background:"#FFFFFF",color:INK},"data-gufi-src":"components/Portal.tsx:51"},tono&&__gh("span",{className:"w-[7px] h-[7px] rounded-full shrink-0",style:{background:tono},"data-gufi-src":"components/Portal.tsx:52"}),children):__gh("span",{className:base,style:{color:tono?INK:MUTED},"data-gufi-src":"components/Portal.tsx:58"},tono&&__gh("span",{className:"w-[7px] h-[7px] rounded-full shrink-0",style:{background:tono},"data-gufi-src":"components/Portal.tsx:59"}),children)}var ctrl="w-full h-[50px] px-4 rounded-[12px] border border-[#E3E8EF] bg-white text-[16px] outline-none transition-all focus:border-[#1E3444] focus:shadow-[0_0_0_3px_rgba(20,35,46,0.08)]",esc=v=>String(v??"").replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");function printDoc(title,bodyHtml){let w=window.open("","_blank","width=820,height=1000");if(!w){uiToast("Permite las ventanas emergentes para descargar.");return}w.document.write(`${esc(title)} ${bodyHtml}