PageSourceSearch

https://yohost.app/assets/Pricing-Nj8cCsL5.js

js yohost.app collected 2026-09-24 14:33:27 UTC 13,898 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-ui-ihy8RoKU.js";import{u as A,r as k,L as j}from"./vendor-react-B2ng-oX_.js";import{j as n,bc as P,bd as v,a0 as N,S,z as c,W as f,B as _,be as p,N as R,P as M,a as B,K as E,bf as L,au as T,a_ as I,bg as z,bh as O}from"./index-CU5O_Ncp.js";import{B as h}from"./badge-BSKpN1pk.js";import{A as q,a as F,b as D,c as W}from"./accordion-DHdwv9RP.js";import{C as G,a as U,b as V,d as $,c as H}from"./card-RnU1Vx3d.js";import{M as Y}from"./minus-CP79lsEO.js";import{u as K}from"./useCheckoutReturn-igqumZi-.js";import"./vendor-charts-ByiLzC1b.js";import"./chevron-down-Dp_vHRpB.js";import"./chevron-up-BY1F5dwD.js";const m="starter";function J({value:s,onChange:r}){const a=s==="annual";return e.jsxs("div",{role:"radiogroup","aria-label":"Seleccionar facturación mensual o anual",className:"border-border/70 bg-muted/60 inline-flex items-center gap-1 rounded-full border p-1 shadow-sm backdrop-blur",children:[e.jsx("button",{type:"button",role:"radio","aria-checked":!a,onClick:()=>r("monthly"),className:n("relative cursor-pointer rounded-full px-5 py-2 text-sm font-medium transition-all duration-200",a?"text-muted-foreground hover:text-foreground":"bg-background text-foreground shadow-sm"),children:"Mensual"}),e.jsxs("button",{type:"button",role:"radio","aria-checked":a,onClick:()=>r("annual"),className:n("relative inline-flex cursor-pointer items-center gap-2 rounded-full px-5 py-2 text-sm font-medium transition-all duration-200",a?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:["Anual",e.jsx("span",{className:n("rounded-full px-1.5 py-0.5 text-[10px] font-semibold tabular-nums tracking-wide transition-colors",a?"bg-success/15 text-success":"bg-muted text-muted-foreground"),children:"−17%"})]})]})}function Q({plan:s,interval:r,isCurrent:a=!1,isPending:x=!1,onSelect:i,ctaLabel:u}){const t=N[s],d=r==="annual",l=s==="free",o=s===m,y=P(s),C=d?v(s):t.monthly,w=u??(a?"Plan actual":l?"Crear cuenta gratis":`Elegir ${t.label}`);return e.jsxs("div",{className:n("relative h-full",o&&"lg:-mt-4"),children:[o&&e.jsx("div",{className:"absolute -top-3 left-1/2 z-10 -translate-x-1/2",children:e.jsxs(h,{className:"gap-1.5 px-3 py-1 shadow-sm",children:[e.jsx(S,{className:"h-3 w-3 fill-current"}),"Más popular"]})}),e.jsxs(G,{className:n("relative flex h-full flex-col overflow-hidden transition-all duration-300 hover:-translate-y-1",o?"border-primary/30 shadow-[0_20px_50px_-20px_hsl(var(--primary)/0.30)] hover:shadow-[0_28px_60px_-15px_hsl(var(--primary)/0.40)] dark:shadow-[0_20px_50px_-20px_hsl(var(--primary)/0.45)] dark:hover:shadow-[0_28px_60px_-15px_hsl(var(--primary)/0.55)]":"border-border hover:border-primary/25 hover:shadow-[0_20px_45px_-20px_hsl(var(--primary)/0.20)]"),children:[o&&e.jsx("div",{className:"via-primary absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent to-transparent","aria-hidden":!0}),e.jsxs(U,{className:"space-y-4 pb-4",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx(V,{className:"text-xl font-semibold",children:t.label}),e.jsx($,{className:"text-sm",children:t.tagline})]}),l?e.jsxs("div",{className:"flex flex-col items-center text-center",children:[e.jsx("div",{className:"h-5","aria-hidden":!0}),e.jsx("span",{className:"text-foreground font-sans text-5xl font-bold leading-none tracking-tight tabular-nums",children:"Gratis"}),e.jsx("p",{className:"text-muted-foreground mt-3 text-xs",children:"Para siempre · 1 alojamiento activo"}),e.jsx("div",{className:"mt-1 h-4","aria-hidden":!0})]}):e.jsxs("div",{className:"flex flex-col items-center text-center",children:[e.jsx("div",{className:"h-5",children:d&&e.jsx("span",{className:"text-muted-foreground/70 font-sans text-sm font-medium tabular-nums line-through decoration-from-font","aria-label":`Precio mensual: ${c(t.monthly,"ARS")}`,children:c(t.monthly,"ARS")})}),e.jsxs("div",{className:"flex items-baseline gap-1.5",children:[e.jsx("span",{className:"text-foreground font-sans text-5xl font-bold leading-none tracking-tight tabular-nums",children:c(C,"ARS")}),e.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"/mes"})]}),d?e.jsxs("div",{className:"mt-3 space-y-0.5",children:[e.jsxs("p",{className:"text-muted-foreground text-xs",children:["Facturado anual:"," ",e.jsx("span",{className:"text-foreground
1/80 font-medium tabular-nums",children:c(t.annual,"ARS")})]}),e.jsxs("p",{className:"text-muted-foreground text-xs",children:["≈ ",y," meses gratis"]})]}):e.jsxs("div",{className:"mt-3 space-y-0.5",children:[e.jsxs("p",{className:"text-muted-foreground text-xs",children:["En anual ahorrás ",e.jsx("span",{className:"text-success font-medium",children:"−17%"})]}),e.jsxs("p",{className:"text-muted-foreground text-xs",children:[e.jsx("span",{className:"text-foreground/80 font-medium tabular-nums",children:c(v(s),"ARS")}),"/mes"]})]})]})]}),e.jsxs(H,{className:"flex flex-1 flex-col pb-3 pt-0",children:[e.jsx("ul",{className:"mb-4 space-y-2.5",children:t.highlights.map(g=>e.jsxs("li",{className:"flex items-start gap-2 text-sm/relaxed",children:[e.jsx("span",{className:n("mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded-full",o?"bg-primary/15":"bg-muted"),children:e.jsx(f,{className:n("h-3 w-3",o?"text-primary":"text-foreground/70")})}),e.jsx("span",{children:g})]},g))}),t.includes&&e.jsx("div",{className:"border-border/60 mb-6 border-t pt-3",children:e.jsxs("p",{className:"text-muted-foreground flex items-center gap-1.5 text-xs",children:[e.jsx(f,{className:"h-3.5 w-3.5 shrink-0"}),t.includes]})}),e.jsxs("div",{className:"mt-auto space-y-2",children:[e.jsx(_,{className:"h-11 w-full px-4 text-sm font-semibold",variant:o?"default":"outline",disabled:a||x,onClick:i,children:x?"Abriendo…":w}),l&&e.jsx("p",{className:"text-muted-foreground text-center text-[0.6875rem]",children:"Sin tarjeta · Sin vencimiento"})]})]})]})]})}const X=[{label:"Capacidad",group:!0,values:{free:"",starter:"",pro:"",business:""}},{label:"Alojamientos activos",values:{free:"1",starter:"3",pro:"10",business:"Ilimitadas"}},{label:"Agenda de equipo (compartible por link)",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Usuarios / colaboradores",values:{free:"Solo dueño",starter:"Solo dueño",pro:{label:"15",soon:!0},business:{label:"Ilimitados",soon:!0}}},{label:"Mensajes del bot por mes",values:{free:"20",starter:"Sin límite",pro:"Sin límite",business:"Sin límite"}},{label:"Operación",group:!0,values:{free:"",starter:"",pro:"",business:""}},{label:"Dashboard y analytics",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Gastos y reservas",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Calendario y sync iCal",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Calendario multi-propiedad (timeline)",values:{free:!1,starter:!0,pro:!0,business:!0}},{label:"Bot WhatsApp + Telegram",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Mensajes listos por WhatsApp",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Complejos (multi-unidad)",values:{free:!1,starter:!0,pro:!0,business:!0}},{label:"Tareas de limpieza",values:{free:!1,starter:!0,pro:!0,business:!0}},{label:"Check-in online + página del huésped",values:{free:!1,starter:!0,pro:!0,business:!0}},{label:"Alertas por WhatsApp",values:{free:!1,starter:{label:"Starter+",soon:!0},pro:{label:"Pro",soon:!0},business:{label:"Business",soon:!0}}},{label:"Inteligencia de mercado (extensión de Chrome)",group:!0,values:{free:"",starter:"",pro:"",business:""}},{label:"Sync de reservas desde Airbnb y Booking",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Lente de Mercado en Airbnb",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Radar de Competencia",values:{free:!1,starter:!0,pro:!0,business:!0}},{label:"Copiloto de Precios",values:{free:!1,starter:!1,pro:!0,business:!0}},{label:"Funciones avanzadas",group:!0,values:{free:"",starter:"",pro:"",business:""}},{label:"Export CSV",values:{free:!0,starter:!0,pro:!0,business:!0}},{label:"Reportes en PDF",values:{free:!1,starter:!1,pro:!0,business:!0}},{label:"Marca propia (logo en reportes y agenda)",values:{free:!1,starter:!1,pro:!1,business:!0}},{label:"Transcripción de audio",values:{free:!1,starter:!1,pro:!0,business:!0}},{label:"Notificaciones inteligentes",values:{free:!1,starter:!1,pro:{label:"Pro",soon:!0},business:{label:"Business",soon:!0}}},{label:"Equipo multiusuario",values:{free:!1,starter:!1,pro:{label:"Pro",soon:!0},business:{label:"Business",soon:!0}}},{label:"API y webhooks",values:{free:!1,starter:!1,pro:!1,business:{label:"Business",soon:!0}}},{label:"Soporte",group:!0,values:{free:"",starter:"",pro:"",business:""}},{label:"Soporte",values:{free:"Comunidad",starter:"Email",pro:"Email prioritario",business:{label:"Prioritario 1:1",soon:!0}}}];function Z(){return e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full min-w-[640px] border-collapse text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-border/60 border-b",children:[e.jsx("th",{className:"text-muted-foreground w-[34%] py-3 pl-3 text-left text-xs font-medium uppercase tracking-wider md:w-[40%]",children:"Característica"}),p.map(s=>e.jsx("th",{className:n("px-3 py-3 text-center text-sm font-semibold",s===m&&"text-primary"),children:N[s].label},s))]})}),e.jsx("tbody",{children:X.map(s=>s.group?e.jsx("tr",{className:"bg-muted/30",children:e.jsx("td",{colSpan:1+p.length,className:"text-muted-foreground py-2 pl-3 text-[0.6875rem] font-semibold uppercase tracking-wider",children:s.label})},`g-${s.label}`):e.jsxs("tr",{className:"border-border/40 hover:bg-muted/20 border-b last:border-b-0",children:[e.jsx("td",{className:"text-foreground
1/90 py-3 pl-3",children:s.label}),p.map(r=>{const a=s.values[r];return e.jsx("td",{className:n("px-3 py-3 text-center",r===m&&"bg-primary/[0.03]"),children:typeof a=="boolean"?a?e.jsx(f,{className:n("mx-auto h-4 w-4",r===m?"text-primary":"text-foreground/70")}):e.jsx(Y,{className:"text-muted-foreground/40 mx-auto h-4 w-4"}):typeof a=="object"?e.jsxs("span",{className:"inline-flex flex-col items-center gap-1",children:[e.jsx("span",{className:"text-foreground/80 tabular-nums",children:a.label}),e.jsxs(h,{variant:"outline",size:"small",className:"gap-1 whitespace-nowrap text-[0.625rem]",children:[e.jsx(R,{className:"h-3 w-3"}),"Próximamente"]})]}):e.jsx("span",{className:n("tabular-nums",r===m?"text-foreground font-medium":"text-foreground/80"),children:a})},r)})]},s.label))})]})})}const ce=()=>{const s=M.get("/pricing"),r=A(),{user:a}=B(),{plan:x}=E(),i=L(),[u,t]=k.useState("annual");K();const d=l=>{if(l==="free"){r(a?"/today":"/signup");return}if(!a){r("/signup");return}i.mutate({plan:l,interval:u})};return e.jsxs("div",{className:"bg-background min-h-screen",children:[e.jsxs("header",{className:"border-border/40 bg-background/80 sticky top-0 z-30 flex h-16 items-center justify-between border-b px-4 backdrop-blur md:px-8",children:[e.jsxs(j,{to:a?"/today":"/",className:"text-muted-foreground hover:text-foreground inline-flex items-center gap-1.5 text-sm transition-colors","aria-label":"Volver",children:[e.jsx(T,{className:"h-3.5 w-3.5"}),"Volver"]}),e.jsx(j,{to:a?"/today":"/","aria-label":"Inicio",children:e.jsx(I,{className:"h-6 w-auto"})}),e.jsx("div",{className:"w-16","aria-hidden":!0})]}),e.jsxs("main",{className:"container mx-auto px-4 py-12 md:py-20",children:[e.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[e.jsx(h,{variant:"outline",size:"small",className:"border-primary/30 text-primary mb-4",children:"Precios en pesos argentinos"}),e.jsx("h1",{className:"text-4xl font-bold tracking-tight md:text-6xl",children:s.h1}),e.jsx("p",{className:"text-muted-foreground mx-auto mt-5 max-w-xl text-base md:text-lg",children:"Empezás gratis con 1 alojamiento activo. Cuando sumás más, pasás a un plan pago — sin migrar datos, sin reinventar tu operación."}),e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsx(z,{variant:"chip"})}),e.jsx("div",{className:"mt-6 flex justify-center",children:e.jsx(J,{value:u,onChange:t})})]}),e.jsx("div",{className:"mx-auto mt-14 grid max-w-7xl gap-6 md:grid-cols-2 lg:grid-cols-4 lg:gap-5",children:p.map(l=>e.jsx(Q,{plan:l,interval:u,isCurrent:!!a&&x===l,isPending:i.isPending&&i.variables?.plan===l,onSelect:()=>d(l)},l))}),e.jsx("div",{className:"mx-auto mt-16 max-w-3xl space-y-3 text-center",children:e.jsxs("p",{className:"text-muted-foreground flex flex-wrap items-center justify-center gap-2 text-xs",children:[e.jsx(O,{className:"text-success h-3.5 w-3.5 shrink-0"}),e.jsx("span",{children:"Tus datos están a salvo: cambiar de plan nunca borra nada. Si bajás a Free, lo que excede el plan queda visible y exportable, solo en pausa."})]})}),e.jsx("section",{className:"mx-auto mt-20 max-w-5xl",children:e.jsx(q,{type:"single",collapsible:!0,className:"border-border/60 bg-card/40 rounded-2xl",children:e.jsxs(F,{value:"compare",children:[e.jsx(D,{className:"px-6 py-5 text-base font-semibold hover:no-underline",children:"Comparar todas las features"}),e.jsx(W,{className:"px-3 pb-6 md:px-6",children:e.jsx(Z,{})})]})})}),e.jsxs("section",{className:"mx-auto mt-16 grid max-w-4xl gap-6 md:grid-cols-3",children:[e.jsx(b,{title:"¿Puedo cambiar después?",body:"Sí. Subís, bajás o cancelás cuando quieras. Tus datos viajan con vos."}),e.jsx(b,{title:"¿Anual o mensual?",body:"Anual es ≈ 2 meses gratis. Mensual da más flexibilidad."}),e.jsx(b,{title:"¿Y la tarjeta?",body:"No hace falta para empezar. Probás 14 días de Pro al crear tu cuenta."})]})]})]})};function b({title:s,body:r}){return e.jsxs("div",{className:"border-border/60 bg-card/50 rounded-lg border p-4",children:[e.jsx("p",{className:"text-sm font-medium",children:s}),e.jsx("p",{className:"text-muted-foreground mt-1 text-xs/relaxed",children:r})]})}
1export{ce as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.