var __gh = require("react").createElement, __gf = require("react").Fragment; var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __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 __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=[];var import_react2=require("react");var money=v=>new Intl.NumberFormat("es-MX",{style:"currency",currency:"MXN",maximumFractionDigits:2,minimumFractionDigits:0}).format(Number(v))+" MXN",date=v=>v?new Date(String(v).slice(0,10)+"T12:00:00Z").toLocaleDateString("es-MX",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}):"Fecha a convenir";async function call(g,name,input={}){let v;if(typeof g.automation=="function"?(v=await g.automation(name,input),v&&typeof v.run=="function"&&(v=await v.run(input))):v=await g.publicAutomation(name).run(input),v?.error||v?.success===!1)throw Error(String(v.error?.message||v.error||"No se complet\xF3 la operaci\xF3n."));return v?.result??v?.data??v}var photo=(s,w=900)=>s?s.startsWith("company_")?"/api/files/serve?path="+encodeURIComponent(s)+"&w="+w:s:void 0;var import_react=require("react");function Booking({gufi,data,event,manual=!1,ensayo=!1,done}){let[f,F]=(0,import_react.useState)({horario:"",tarifa:"",unidades:1,nombre:event.ficticio?"Titular ficticio":"",apellidos:event.ficticio?"Demostraci\xF3n":"",correo:event.ficticio?"prueba@example.invalid":"",telefono:event.ficticio?"0000000000":"",huesped:!1,habitacion:"",restricciones:"",comentarios:"",acepta:!1,canal:"Tel\xE9fono"}),[step,S]=(0,import_react.useState)(1),[msg,M]=(0,import_react.useState)(""),[busy,B]=(0,import_react.useState)(!1),set=(k,v)=>F({...f,[k]:v}),slots=data.horarios.filter(h2=>h2.evento==event.id&&h2.disponibles>0),rates=data.tarifas.filter(t=>t.evento==event.id),r=rates.find(t=>t.id==f.tarifa),h=slots.find(t=>t.id==f.horario),total=Number(r?.precio||0)*f.unidades,next=async e=>{if(e.preventDefault(),M(""),step===1&&(!r||!h||f.unidades*(r.clase==="Paquete"?1:r.personas)>h.disponibles)){M("Elige una cantidad disponible.");return}if(step<3){S(step+1);return}B(!0);try{done(await call(gufi,"jwsf_reservar",{...f,accion:ensayo?"ensayo":manual?"manual":"portal"}))}catch(e2){M(e2.message)}finally{B(!1)}},field=(k,label,type="text",required=!1)=>__gh("label",{key:k,"data-gufi-src":"Booking.tsx:7"},label,__gh("input",{type,required,value:f[k],onChange:e=>set(k,e.target.value),maxLength:250,"data-gufi-src":"Booking.tsx:7"}));return __gh("form",{className:"panel stack",onSubmit:next,"data-gufi-src":"Booking.tsx:8"},__gh("p",{className:"kicker","data-gufi-src":"Booking.tsx:8"},"Reservaci\xF3n \xB7 ",step," de 3"),__gh("h3",{"data-gufi-src":"Booking.tsx:8"},["Selecciona tu experiencia","Datos del titular","Revisa tu reservaci\xF3n"][step-1]),step===1?__gh("div",{className:"fields","data-gufi-src":"Booking.tsx:8"},__gh("label",{"data-gufi-src":"Booking.tsx:8"},"Horario",__gh("select",{required:!0,value:f.horario,onChange:e=>set("horario",e.target.value),"data-gufi-src":"Booking.tsx:8"},__gh("option",{value:"","data-gufi-src":"Booking.tsx:8"},"Seleccionar"),slots.map(s=>__gh("option",{key:s.id,value:s.id,"data-gufi-src":"Booking.tsx:8"},date(s.fecha)," \xB7 ",s.hora," \xB7 ",s.disponibles," disponibles")))),__gh("label",{"data-gufi-src":"Booking.tsx:8"},"Tarifa",__gh("select",{required:!0,value:f.tarifa,onChange:e=>set("tarifa",e.target.value),"data-gufi-src":"Booking.tsx:8"},__gh("option",{value:"","data-gufi-src":"Booking.tsx:8"},"Seleccionar"),rates.map(t=>__gh("option",{key:t.id,value:t.id,"data-gufi-src":"Booking.tsx:8"},t.nombre," \xB7 ",money(t.precio))))),__gh("label",{"data-gufi-src":"Booking.tsx:8"},r?.clase==="Paquete"?"Paquetes":"Entradas",__gh("input",{type:"number",min:"1",step:"1",required:!0,value:f.unidades,onChange:e=>set("unidades",Number(e.target.value)),"data-gufi-src":"Booking.tsx:8"}))):step===2?__gh(__gf,null,__gh("div",{className:"fields","data-gufi-src":"Booking.tsx:8"},field("nombre","Nombre","text",!0),field("apellidos","Apellidos","text",!0),field("correo","Correo electr\xF3nico","email",!0),field("telefono","Tel\xE9fono","tel",!0),manual&&__gh("label",{"data-gufi-src":"Booking.tsx:8"},"Canal",__gh("select",{value:f.canal,onChange:e=>set("canal",e.target.value),"data-gufi-src":"Booking.tsx:8"},["Tel\xE9fono","WhatsApp","Correo electr\xF3nico","Recepci\xF3n","Otro"].map(v=>__gh("option",{key:v,"data-gufi-src":"Booking.tsx:8"},v))))),__gh("label",{className:"check","data-gufi-src":"Booking.tsx:8"},__gh("input",{type:"checkbox",checked:f.huesped,onChange:e=>set("huesped",e.target.checked),"data-gufi-src":"Booking.tsx:8"}),"Soy hu\xE9sped del hotel"),f.huesped&&field("habitacion","Habitaci\xF3n (opcional)"),field("comentarios","Comentarios (opcional)"),field("restricciones","Alergias o restricciones alimentarias (opcional)")):__gh(__gf,null,__gh("b",{"data-gufi-src":"Booking.tsx:8"},event.nombre),__gh("p",{"data-gufi-src":"Booking.tsx:8"},date(h?.fecha)," \xB7 ",h?.hora," \xB7 ",f.unidades*Number(r?.personas)," asistentes",__gh("br",{"data-gufi-src":"Booking.tsx:8"}),f.nombre," ",f.apellidos," \xB7 ",f.correo," \xB7 ",f.telefono),__gh("p",{"data-gufi-src":"Booking.tsx:8"},f.unidades," \xD7 ",money(r.precio)," \xB7 ",__gh("strong",{"data-gufi-src":"Booking.tsx:8"},money(total),", IVA incluido")),__gh("details",{"data-gufi-src":"Booking.tsx:8"},__gh("summary",{"data-gufi-src":"Booking.tsx:8"},"Pol\xEDticas, t\xE9rminos y aviso de privacidad"),__gh("p",{"data-gufi-src":"Booking.tsx:8"},event.politicas),__gh("p",{"data-gufi-src":"Booking.tsx:8"},data.config.terminos||(event.ficticio?"Condiciones ficticias para capacitaci\xF3n.":"")),__gh("p",{"data-gufi-src":"Booking.tsx:8"},data.config.privacidad||(event.ficticio?"Utiliza \xFAnicamente datos inventados.":""))),__gh("label",{className:"check","data-gufi-src":"Booking.tsx:8"},__gh("input",{required:!0,type:"checkbox",checked:f.acepta,onChange:e=>set("acepta",e.target.checked),"data-gufi-src":"Booking.tsx:8"}),"Acepto las condiciones y el aviso de privacidad.")),step===1&&r&&__gh("strong",{"data-gufi-src":"Booking.tsx:8"},money(total)," \xB7 IVA incluido"),msg&&__gh("p",{role:"alert","data-gufi-src":"Booking.tsx:8"},msg),__gh("div",{className:"actions","data-gufi-src":"Booking.tsx:8"},step>1&&__gh("button",{type:"button",onClick:()=>S(step-1),"data-gufi-src":"Booking.tsx:8"},"Atr\xE1s"),__gh("button",{className:"primary",disabled:busy,"data-gufi-src":"Booking.tsx:8"},step<3?"Continuar":busy?"Guardando\u2026":"Registrar reservaci\xF3n")))}var css=".jw{--ink:#24251f;--gold:#93743d;--paper:#faf8f2;--wine:#572c30;color:var(--ink);background:var(--paper);min-height:100%;font:15px/1.55 'DM Sans',Arial,sans-serif;overflow-wrap:anywhere}.jw *{box-sizing:border-box}.jw header,.jw footer,.jw .wrap{max-width:1340px;margin:auto;padding:22px clamp(18px,5vw,80px)}.jw header{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #ded9cc}.jw nav,.jw .actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.jw a{color:inherit}.jw h1,.jw h2,.jw h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.1;margin:0 0 14px}.jw h1{font-size:clamp(39px,5.6vw,88px);letter-spacing:-.045em}.jw h2{font-size:clamp(28px,3vw,46px)}.jw h3{font-size:25px}.jw .brand{font:19px/1.05 Georgia,serif;text-decoration:none;letter-spacing:.07em}.jw .brand small{display:block;font:9px/1.8 Arial,sans-serif;letter-spacing:.2em}.jw .kicker,.jw .meta{color:var(--gold);font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.jw .hero{background:#24251f;color:white;display:grid;grid-template-columns:1.05fr 1fr;min-height:360px}.jw .hero>div{padding:clamp(30px,6vw,88px);align-self:center}.jw .hero img{width:100%;height:100%;max-height:475px;object-fit:cover}.jw .hero .kicker{color:#d4bd87}.jw .hero p{max-width:480px}.jw .btn,.jw button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-height:40px;border:1px solid #c5b69a;background:white;color:var(--ink);padding:8px 14px;text-decoration:none;border-radius:3px;font:inherit}.jw .primary{background:var(--wine);border-color:var(--wine);color:white}.jw button:disabled{opacity:.5;cursor:default}.jw .hero .btn{background:#f6f0df;color:#25251f}.jw .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:30px 22px;margin:24px 0 38px}.jw .card{display:flex;flex-direction:column;border-bottom:1px solid #cfc6b7;padding-bottom:18px}.jw .card img{width:100%;height:180px;object-fit:cover}.jw .card h3{margin:8px 0}.jw .card p{margin:2px 0 12px}.jw .card .actions{margin-top:auto}.jw details{padding:14px 0;border-bottom:1px solid #ded9cc}.jw summary{cursor:pointer;font-weight:600}.jw .panel{border:1px solid #ded9cc;padding:clamp(16px,3vw,32px);background:white;border-radius:5px;margin:18px 0}.jw label{display:flex;flex-direction:column;gap:3px;font-size:14px}.jw input,.jw select,.jw textarea{border:1px solid #c9c7be;border-radius:4px;padding:9px;background:white;color:#222;font:inherit;min-width:0}.jw textarea{min-height:80px}.jw .fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px}.jw .check{display:flex;flex-direction:row;gap:10px;align-items:center;margin:12px 0}.jw .notice{background:#eee8db;padding:10px 14px}.jw .scroll{overflow-x:auto}.jw table{border-collapse:collapse;white-space:nowrap;width:100%}.jw th,.jw td{padding:9px 12px;border-bottom:1px solid #e4e2d7;text-align:left}.jw footer{border-top:1px solid #ddd7cb}.jw .metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.jw .metric{border:1px solid #ded9cc;background:white;padding:14px}.jw .metric strong{display:block;font:26px Georgia}.jw .row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.jw .stack>*+*{margin-top:12px}@media(max-width:650px){.jw .hero{grid-template-columns:1fr}.jw .hero img{height:185px;order:-1}.jw .hero>div{padding:24px}.jw header{padding:14px 18px}.jw .wrap{padding:20px 16px}.jw .cards{grid-template-columns:1fr}.jw .card img{height:200px}}@media print{.jw header,.jw footer,.jw nav,.jw button,.jw .actions{display:none}.jw .panel{border:0}}";function Page({gufi}){let[examples,X]=(0,import_react2.useState)([]),[d,D]=(0,import_react2.useState)(null),[msg,M]=(0,import_react2.useState)(""),[tick,T]=(0,import_react2.useState)(0),[receipt,R]=(0,import_react2.useState)(null),[busy,B]=(0,import_react2.useState)(!1),[view,go]=gufi.router.usePathView({initial:"inicio",routes:{inicio:"/",evento:"/experiencia/:id",reservar:"/reservar/:id",consulta:"/mi-reserva/:token",ensayo:"/ensayo",recibo:"/ensayo/:token"}}),p=gufi.router.params||{},u=s=>gufi.router.url(s);(0,import_react2.useEffect)(()=>{let sync=()=>{let path=window.location.hash.slice(1),match=/^\/(experiencia|reservar|ensayo|mi-reserva)(?:\/([a-zA-Z0-9-]+))?$/.exec(path);if(!match)return;let section=match[1],value=match[2];section==="ensayo"&&!value?go("ensayo"):value&&go(section==="ensayo"?"recibo":section==="experiencia"?"evento":section==="mi-reserva"?"consulta":"reservar",section==="experiencia"||section==="reservar"?{id:value}:{token:value})};return sync(),window.addEventListener("hashchange",sync),()=>window.removeEventListener("hashchange",sync)},[]),(0,import_react2.useEffect)(()=>{let active=!0;return M(""),D(null),call(gufi,"jwsf_catalogo",{accion:view==="ensayo"?"catalogo_interno":"publico"}).then(v=>{active&&D(v)}).catch(e=>active&&M(e.message)),()=>{active=!1}},[tick,view]),(0,import_react2.useEffect)(()=>{let active=!0;return R(null),(view==="consulta"||view==="recibo")&&call(gufi,view==="recibo"?"jwsf_pruebas":"jwsf_consulta",{token:p.token,accion:"recibo"}).then(v=>active&&R(v)).catch(e=>active&&M(e.message)),()=>{active=!1}},[view,p.token,tick]),(0,import_react2.useEffect)(()=>{let active=!0;return view==="ensayo"&&call(gufi,"jwsf_pruebas",{accion:"escenarios"}).then(r=>active&&X(r)).catch(e=>active&&M(e.message)),()=>{active=!1}},[view]);let event=d?.eventos?.find(e=>e.id==p.id),cfg=d?.config||{},rate=e=>d.tarifas.find(t=>t.evento==e.id),slots=e=>d.horarios.filter(h=>h.evento==e.id&&h.hora&&h.fecha&&h.disponibles>0&&(rate(e)?.clase!=="Paquete"||h.componentes>=2)),ready=e=>cfg.modo==="Producci\xF3n"&&!e.cerrado&&!!rate(e)&&slots(e).length>0&&e.politicas&&cfg.privacidad&&cfg.terminos&&Number(cfg.minutos_bloqueo)>0,precio=e=>{let t=rate(e);return t?money(t.precio)+(t.clase==="Paquete"?" / 2 adultos":" / persona"):"Tarifa por anunciar"},pic=(s,alt,props={})=>__gh("img",{src:photo(s),srcSet:photo(s,480)+" 480w, "+photo(s,900)+" 900w",sizes:"(max-width:650px) 100vw, 50vw",alt,...props,"data-gufi-src":"page.tsx:12"}),card=e=>__gh("article",{className:"card",key:e.id,"data-gufi-src":"page.tsx:13"},e.foto&&__gh("a",{href:u("/experiencia/"+e.id),"data-gufi-src":"page.tsx:13"},pic(e.foto,e.nombre,{loading:"lazy"})),__gh("p",{className:"meta","data-gufi-src":"page.tsx:13"},date(e.fecha)),__gh("h3",{"data-gufi-src":"page.tsx:13"},e.nombre),__gh("p",{"data-gufi-src":"page.tsx:13"},e.descripcion),__gh("strong",{"data-gufi-src":"page.tsx:13"},precio(e)),__gh("p",{"data-gufi-src":"page.tsx:13"},ready(e)?slots(e).reduce((a,h)=>a+Number(h.disponibles),0)+" disponibles":"Reservaciones por abrir"),__gh("div",{className:"actions","data-gufi-src":"page.tsx:13"},__gh("a",{className:"btn",href:u("/experiencia/"+e.id),"data-gufi-src":"page.tsx:13"},"Conoce m\xE1s"),ready(e)&&__gh("a",{className:"btn primary",href:u("/reservar/"+e.id),"data-gufi-src":"page.tsx:13"},"Reservar ahora"))),grouped={};for(let row of d?.carta||[])row.evento==event?.id&&(grouped[row.nombre]||(grouped[row.nombre]=[])).push(row.plato);return(0,import_react2.useEffect)(()=>{document.title=(event?.nombre||"Festive Collection 2026")+" \xB7 JW Marriott Mexico City Santa Fe"},[event?.id]),__gh("main",{className:"jw","data-gufi-src":"page.tsx:16"},__gh("style",{"data-gufi-src":"page.tsx:16"},css),__gh("header",{"data-gufi-src":"page.tsx:16"},__gh("a",{className:"brand",href:u("/"),"data-gufi-src":"page.tsx:16"},"JW MARRIOTT",__gh("small",{"data-gufi-src":"page.tsx:16"},"MEXICO CITY SANTA FE")),__gh("nav",{"data-gufi-src":"page.tsx:16"},__gh("a",{href:u("/"),"data-gufi-src":"page.tsx:16"},"Experiencias"),cfg.modo==="Pruebas"&&typeof gufi.automation=="function"&&__gh("a",{href:u("/ensayo"),"data-gufi-src":"page.tsx:16"},"Ensayo interno"))),msg&&__gh("div",{className:"wrap","data-gufi-src":"page.tsx:16"},__gh("p",{className:"notice",role:"alert","data-gufi-src":"page.tsx:16"},msg," ",__gh("button",{onClick:()=>T(tick+1),"data-gufi-src":"page.tsx:16"},"Reintentar"))),!d&&!msg?__gh("div",{className:"wrap","data-gufi-src":"page.tsx:16"},"Cargando la colecci\xF3n\u2026"):view==="ensayo"&&d?__gh("div",{className:"wrap","data-gufi-src":"page.tsx:16"},__gh("p",{className:"notice","data-gufi-src":"page.tsx:16"},"Demostraci\xF3n interna \xB7 Datos ficticios, sin cargos ni env\xEDo de correos."),__gh("h2",{"data-gufi-src":"page.tsx:16"},"Prueba de reservaci\xF3n"),examples.length>0&&__gh("details",{"data-gufi-src":"page.tsx:16"},__gh("summary",{"data-gufi-src":"page.tsx:16"},"Consultar reservaciones ficticias"),examples.map(v=>__gh("p",{key:v.folio,"data-gufi-src":"page.tsx:16"},__gh("a",{href:u("/ensayo/"+v.token),"data-gufi-src":"page.tsx:16"},v.folio," \xB7 ",v.estado_pago)))),d.eventos.find(e=>e.ficticio)&&__gh(Booking,{gufi,data:d,event:d.eventos.find(e=>e.ficticio),ensayo:!0,done:r=>go("recibo",{token:r.token})})):view==="consulta"||view==="recibo"?__gh("div",{className:"wrap","data-gufi-src":"page.tsx:16"},receipt?__gh("section",{className:"panel","data-gufi-src":"page.tsx:16"},receipt.ficticio&&__gh(__gf,null,__gh("p",{className:"notice","data-gufi-src":"page.tsx:16"},"Reservaci\xF3n ficticia \xB7 Sin valor comercial"),__gh("details",{"data-gufi-src":"page.tsx:16"},__gh("summary",{"data-gufi-src":"page.tsx:16"},"Vista previa del correo de prueba"),__gh("p",{"data-gufi-src":"page.tsx:16"},"JW Marriott Mexico City Santa Fe"),__gh("h3",{"data-gufi-src":"page.tsx:16"},receipt.estado==="Confirmada"?"Gracias por reservar con nosotros":receipt.estado==="Expirada"?"Tu bloqueo de lugares ha vencido":"Recibimos tu reservaci\xF3n"),__gh("p",{"data-gufi-src":"page.tsx:16"},receipt.evento," \xB7 ",date(receipt.fecha)," \xB7 ",receipt.hora),__gh("p",{"data-gufi-src":"page.tsx:16"},"Folio ",receipt.folio," \xB7 ",receipt.asistentes," asistentes \xB7 Pagado ",money(receipt.pagado),"."),__gh("p",{"data-gufi-src":"page.tsx:16"},"Mensaje ficticio disponible para revisi\xF3n interna."))),__gh("p",{className:"kicker","data-gufi-src":"page.tsx:16"},receipt.estado),__gh("h2",{"data-gufi-src":"page.tsx:16"},receipt.evento),__gh("p",{"data-gufi-src":"page.tsx:16"},"Folio ",receipt.folio),__gh("p",{"data-gufi-src":"page.tsx:16"},date(receipt.fecha)," \xB7 ",receipt.hora," \xB7 ",receipt.asistentes," asistentes"),__gh("p",{"data-gufi-src":"page.tsx:16"},"Total ",money(receipt.total)," \xB7 Pagado ",money(receipt.pagado)," \xB7 ",receipt.estado_pago),receipt.estado==="Confirmada"&&__gh(__gf,null,__gh("h3",{"data-gufi-src":"page.tsx:16"},"Gracias por reservar con nosotros"),__gh("img",{width:"190",alt:"QR de acceso",src:receipt.imagen,"data-gufi-src":"page.tsx:16"}),__gh("p",{"data-gufi-src":"page.tsx:16"},receipt.instrucciones),__gh("button",{onClick:()=>window.print(),"data-gufi-src":"page.tsx:16"},"Descargar o imprimir confirmaci\xF3n")),receipt.estado==="Pendiente de pago"&&receipt.ficticio&&__gh("div",{className:"actions","data-gufi-src":"page.tsx:16"},[["aprobar","Ensayar pago completo"],["rechazar","Ensayar rechazo"],["vencer","Ensayar vencimiento"]].map(([accion,l])=>__gh("button",{key:accion,disabled:busy,onClick:async()=>{B(!0);try{await call(gufi,"jwsf_pruebas",{token:p.token,accion}),T(tick+1),accion==="rechazar"&&M("Ensayo rechazado. La reservaci\xF3n sigue pendiente.")}catch(e){M(e.message)}finally{B(!1)}},"data-gufi-src":"page.tsx:16"},l))),receipt.estado==="Pendiente de pago"&&!receipt.ficticio&&__gh("div",{className:"actions","data-gufi-src":"page.tsx:16"},__gh("p",{"data-gufi-src":"page.tsx:16"},"Cobro en l\xEDnea pendiente de habilitaci\xF3n por el hotel."))):__gh("p",{"data-gufi-src":"page.tsx:16"},"Consultando reservaci\xF3n\u2026")):d&&view==="inicio"?__gh(__gf,null,__gh("section",{className:"hero","data-gufi-src":"page.tsx:16"},__gh("div",{"data-gufi-src":"page.tsx:16"},__gh("p",{className:"kicker","data-gufi-src":"page.tsx:16"},"Festive Collection 2026"),__gh("h1",{"data-gufi-src":"page.tsx:16"},"The Quiet Luxury Christmas"),__gh("p",{"data-gufi-src":"page.tsx:16"},"Te damos la bienvenida a nuestra mesa. Celebra el tiempo compartido y los sabores que permanecen en la memoria."),__gh("button",{onClick:()=>document.getElementById("catalogo-jw")?.scrollIntoView({behavior:"smooth"}),"data-gufi-src":"page.tsx:16"},"Explora la colecci\xF3n \u2193")),pic(d.eventos.find(e=>e.destacado&&e.foto)?.foto||d.eventos[0]?.foto,"Celebraciones de temporada en JW Santa Fe")),__gh("div",{className:"wrap",id:"catalogo-jw","data-gufi-src":"page.tsx:16"},__gh("h2",{"data-gufi-src":"page.tsx:16"},"Experiencias destacadas"),__gh("div",{className:"cards","data-gufi-src":"page.tsx:16"},d.eventos.filter(e=>e.destacado).map(card)),__gh("h2",{"data-gufi-src":"page.tsx:16"},"M\xE1s experiencias de temporada"),__gh("div",{className:"cards","data-gufi-src":"page.tsx:16"},d.eventos.filter(e=>!e.destacado).map(card)))):d&&event?__gh(__gf,null,__gh("section",{className:"hero","data-gufi-src":"page.tsx:16"},__gh("div",{"data-gufi-src":"page.tsx:16"},__gh("p",{className:"kicker","data-gufi-src":"page.tsx:16"},date(event.fecha),event.fin?" \u2013 "+date(event.fin):""),__gh("h1",{"data-gufi-src":"page.tsx:16"},event.nombre),__gh("p",{"data-gufi-src":"page.tsx:16"},event.descripcion),__gh("strong",{"data-gufi-src":"page.tsx:16"},precio(event))),event.foto&&pic(event.foto,event.nombre)),__gh("div",{className:"wrap","data-gufi-src":"page.tsx:16"},__gh("p",{"data-gufi-src":"page.tsx:16"},__gh("a",{href:u("/"),"data-gufi-src":"page.tsx:16"},"\u2190 Colecci\xF3n")),event.modalidad&&__gh("p",{"data-gufi-src":"page.tsx:16"},event.modalidad),event.incluidos&&__gh("p",{"data-gufi-src":"page.tsx:16"},__gh("b",{"data-gufi-src":"page.tsx:16"},"Incluye")," \xB7 ",event.incluidos),__gh("p",{"data-gufi-src":"page.tsx:16"},event.ubicacion||"Ubicaci\xF3n dentro del hotel por anunciar"," \xB7 ",slots(event).map(s=>s.hora).join(", ")||"Horario por anunciar"),view==="reservar"&&ready(event)?__gh(Booking,{gufi,data:d,event,done:r=>go("consulta",{token:r.token})}):ready(event)?__gh("a",{className:"btn primary",href:u("/reservar/"+event.id),"data-gufi-src":"page.tsx:16"},"Reservar ahora"):__gh("p",{className:"notice","data-gufi-src":"page.tsx:16"},"Reservaciones por abrir."),event.politicas&&__gh("p",{"data-gufi-src":"page.tsx:16"},event.politicas),Object.keys(grouped).length>0?__gh("section",{"data-gufi-src":"page.tsx:16"},__gh("h2",{"data-gufi-src":"page.tsx:16"},"Men\xFA de la experiencia"),Object.entries(grouped).map(([k,rows])=>__gh("details",{key:k,"data-gufi-src":"page.tsx:16"},__gh("summary",{"data-gufi-src":"page.tsx:16"},k.replace(event.nombre+" \xB7 ","")),__gh("ul",{"data-gufi-src":"page.tsx:16"},rows.filter(Boolean).map((r,i)=>__gh("li",{key:i,"data-gufi-src":"page.tsx:16"},r)))))):__gh("p",{"data-gufi-src":"page.tsx:16"},event.incluidos?"":"El hotel anunciar\xE1 el men\xFA pr\xF3ximamente."))):d?__gh("div",{className:"wrap","data-gufi-src":"page.tsx:16"},"Experiencia no disponible."):null,__gh("footer",{"data-gufi-src":"page.tsx:16"},__gh("b",{"data-gufi-src":"page.tsx:16"},cfg.hotel||"JW Marriott Mexico City Santa Fe"),__gh("p",{"data-gufi-src":"page.tsx:16"},[cfg.direccion,cfg.telefono,Array.isArray(cfg.correo)?cfg.correo.join(", "):cfg.correo].filter(Boolean).join(" \xB7 ")),__gh("small",{"data-gufi-src":"page.tsx:16"},"Precios en moneda nacional. IVA incluido.")))}var featureConfig={dataSources,meta:{name:"Festive Collection \xB7 JW Santa Fe",version:"1.0.0"}};var stdin_default=Page;