1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-DiVRNtpo.js";import{t as n}from"./jsx-runtime-BdxMnOeJ.js";import{o as r}from"./router-compat-JKn2DVtK.js";import{t as i}from"./client-CfaTC9MX.js";import{t as a}from"./proxy-CoW8_bvx.js";import{t as o}from"./arrow-right-CR6WbiCi.js";import{o as s,t as c}from"./Footer-BSgwkgOY.js";import{t as l}from"./building-2-CGqHINFt.js";import{t as u}from"./chart-column-CI8Pqq6J.js";import{t as d}from"./globe-CHf-DjlM.js";import{t as f}from"./mail-Bz7El1Ux.js";import{t as p}from"./message-square-CEEHIHO3.js";import{t as m}from"./rocket-BCCbR0j6.js";import{t as h}from"./sparkles-_HJQlWwg.js";import{t as g}from"./target-DvW7qG1m.js";import{t as _}from"./trophy-D-GJomzj.js";import{t as v}from"./user-Chswbh4l.js";import{r as y}from"./I18nContext-CJ2mEzU6.js";import{C as b,O as x,Qn as S,Qt as C,Vt as w,h as T,j as E,k as D,y as O,z as k,zt as A}from"./index-D2smvkUg.js";import{n as j,t as M}from"./zod-KclDw5qs.js";import{t as N}from"./label-CuNQHg9_.js";import{t as P}from"./checkbox-DNnzsyd6.js";var F=e(t(),1),I=n(),L=({icon:e,error:t,children:n})=>(0,I.jsxs)(`div`,{children:[(0,I.jsxs)(`div`,{className:`input-focus-ring relative flex items-center rounded-md border bg-background`,children:[(0,I.jsx)(e,{size:16,className:`absolute left-3 text-muted-foreground pointer-events-none`,"aria-hidden":`true`}),n]}),t&&(0,I.jsx)(`p`,{className:`text-xs text-destructive mt-1`,role:`alert`,children:t})]}),R=D({fullName:E().trim().min(1,`Full name is required`).max(100),email:E().trim().email(`Invalid email address`).max(255),company:E().trim().min(1,`Company name is required`).max(100),website:E().trim().url(`Invalid URL`).max(255).or(x(``)),productUrl:E().trim().url(`Invalid URL`).max(255).or(x(``)),message:E().trim().min(1,`Message is required`).max(2e3),terms:x(!0,{errorMap:()=>({message:`You must accept the terms`})})}),z=[{icon:m,title:`Experienced Product Hunt Hunter`,desc:`I know the Product Hunt ecosystem, the community, and what makes a launch successful.`},{icon:g,title:`Strategic Launch Planning`,desc:`We'll plan your launch day strategy together â timing, assets, messaging, and outreach.`},{icon:_,title:`Maximise Visibility`,desc:`My network and audience will help amplify your launch to get the traction it deserves.`},{icon:u,title:`Post-Launch Insights`,desc:`After launch day, you'll receive a full debrief with metrics, learnings, and next steps.`}],B=()=>{let[e,t]=(0,F.useState)(!1),n=r(),{t:u,locale:g,localePath:_,altLocalePath:x}=y(),E=g===`es`,{register:D,handleSubmit:B,setValue:V,watch:H,formState:{errors:U}}=j({resolver:M(R),defaultValues:{terms:void 0,website:``,productUrl:``}}),W=H(`terms`);return(0,I.jsxs)(`div`,{className:`min-h-screen bg-background`,children:[(0,I.jsx)(A,{title:E?`Hunter de Product Hunt â Ruben Lozano`:`Product Hunt Hunter â Ruben Lozano`,description:E?`Lanzaré tu producto en Product Hunt como hunter. Estrategia de lanzamiento, amplificación y soporte el dÃa del lanzamiento.`:`I'll hunt your product on Product Hunt. Launch strategy, amplification, and launch day support for B2B and SaaS products.`,canonical:_(`/product-hunt-hunter`),locale:g,altLocaleCanonical:x(`/product-hunt-hunter`),jsonLd:[w([{name:u.nav.home,url:_(``)},{name:`Product Hunt Hunter`,url:_(`/product-hunt-hunter`)}])]}),(0,I.jsx)(s,{}),(0,I.jsxs)(`main`,{children:[(0,I.jsxs)(`section`,{className:`relative overflow-hidden bg-background border-b border-border`,"aria-labelledby":`hunter-heading`,children:[(0,I.jsx)(`div`,{className:`absolute top-0 right-0 w-[500px] h-[500px] bg-primary/[0.03] rounded-full -translate-y-1/2 translate-x-1/3 pointer-events-none`}),(0,I.jsx)(`div`,{className:`container mx-auto px-4 md:px-8 py-16 md:py-24 relative`,children:(0,I.jsxs)(`div`,{className:`grid md:grid-cols-2 gap-10 md:gap-16 items-center`,children:[(0,I.jsxs)(a.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:[(0,I.jsxs)(`div`,{className:`inline-flex items-center gap-2 text-xs font-semibold tracking-widest uppercase text-primary mb-5`,children:[(0,I.jsx)(h,{size:14}),(0,I.jsx)(`span`,{children:E?`Servicio`:`Service`})]}),(0,I.jsx)(`h1`,{id:`hunter-heading`,className:`text-4xl md:text-5xl lg:text-6xl font-extrabold text-foreground tracking-tight leading-[1.1] mb-6`,children:E?`Tu Hunter de Product Hunt`:`Your Product Hunt Hunter`}),(0,I.jsx)(`p`,{className:`text-lg md:text-xl text-muted-foreground max-w-xl leading-relaxed mb-8`,children:E?`Lanzaré tu producto en Product Hunt como hunter. Me encargo de la estrategia de lanzamiento, la amplificación y el soporte el dÃa del lanzamiento para maximizar tu visibilidad.`:`I'll hunt your product on Product Hunt. I handle launch strategy, amplification, and launch day support to maximise your visibility and get the traction your product deserves.`}),(0,I.jsxs)(`a`,{href:`#request-form`,className:`inline-flex items-center gap-2 bg-primary text-primary-foreground px-7 py-3 rounded-lg font-medium hover:opacity-90 transition-opacity`,children:[E?`Solicitar Lanzamiento`:`Request a Launch`,` `,(0,I.jsx)(o,{size:16})]})]}),(0,I.jsxs)(a.div,{initial:{opacity:0,y:24}
1,animate:{opacity:1,y:0},transition:{duration:.5,delay:.15},className:`bg-card border border-border rounded-2xl p-7 shadow-xs`,children:[(0,I.jsx)(`h2`,{className:`text-xl font-bold text-foreground mb-2`,children:E?`¿Cómo funciona?`:`How It Works`}),(0,I.jsx)(`p`,{className:`text-sm text-muted-foreground mb-6`,children:E?`Un proceso probado para lanzamientos exitosos.`:`A proven process for successful launches.`}),(0,I.jsx)(`ol`,{className:`space-y-4`,children:(E?[`EnvÃas el formulario con los detalles de tu producto`,`Revisamos juntos la estrategia de lanzamiento`,`Preparo los assets y el tagline para Product Hunt`,`Lanzo tu producto como hunter y amplifico el dÃa del lanzamiento`]:[`Submit the form with your product details`,`We plan the launch strategy together`,`I prepare the assets and tagline for Product Hunt`,`I hunt your product and amplify on launch day`]).map((e,t)=>(0,I.jsxs)(`li`,{className:`flex items-start gap-3`,children:[(0,I.jsx)(`span`,{className:`flex items-center justify-center w-7 h-7 rounded-full bg-primary/10 text-primary text-sm font-bold shrink-0`,children:t+1}),(0,I.jsx)(`span`,{className:`text-muted-foreground text-sm leading-relaxed`,children:e})]},t))})]})]})})]}),(0,I.jsxs)(`section`,{className:`container mx-auto px-4 md:px-8 py-16 md:py-24`,"aria-labelledby":`benefits-heading`,children:[(0,I.jsxs)(T,{children:[(0,I.jsx)(`p`,{className:`section-label mb-2`,children:E?`Beneficios`:`Benefits`}),(0,I.jsx)(`h2`,{id:`benefits-heading`,className:`section-title mb-2`,children:E?`¿Por qué elegirme como Hunter?`:`Why Choose Me as Your Hunter?`}),(0,I.jsx)(`span`,{className:`section-title-accent`})]}),(0,I.jsx)(`div`,{className:`grid sm:grid-cols-2 gap-6 mt-10`,children:z.map((e,t)=>(0,I.jsx)(T,{delay:t*.1,children:(0,I.jsxs)(`div`,{className:`bg-card border border-border rounded-xl p-6 h-full`,children:[(0,I.jsx)(`div`,{className:`flex items-center justify-center w-10 h-10 rounded-lg bg-primary/10 mb-4`,children:(0,I.jsx)(e.icon,{className:`w-5 h-5 text-primary`})}),(0,I.jsx)(`h3`,{className:`text-lg font-bold text-foreground mb-2`,children:e.title}),(0,I.jsx)(`p`,{className:`text-sm text-muted-foreground leading-relaxed`,children:e.desc})]})},t))})]}),(0,I.jsx)(`section`,{id:`request-form`,className:`bg-secondary/50 py-16 md:py-24`,"aria-labelledby":`form-heading`,children:(0,I.jsx)(`div`,{className:`container mx-auto px-4 md:px-8`,children:(0,I.jsx)(`div`,{className:`max-w-2xl mx-auto`,children:(0,I.jsx)(T,{children:(0,I.jsxs)(`div`,{className:`bg-card border border-border rounded-2xl p-8 shadow-xs`,children:[(0,I.jsx)(`h2`,{id:`form-heading`,className:`text-2xl font-bold text-foreground mb-2`,children:E?`Solicitar Lanzamiento`:`Request a Launch`}),(0,I.jsx)(`p`,{className:`text-muted-foreground mb-6`,children:E?`Cuéntame sobre tu producto y cuándo quieres lanzar.`:`Tell me about your product and when you'd like to launch.`}),(0,I.jsxs)(`form`,{onSubmit:B(async e=>{t(!0);try{let t=crypto.randomUUID(),{error:r}=await i.from(`service_requests`).insert({id:t,full_name:e.fullName,email:e.email,company:e.company,website:e.website||null,product_url:e.productUrl||null,message:e.message,service_type:`product_hunt_hunter`});if(r)throw r;i.functions.invoke(`send-transactional-email`,{body:{templateName:`product-hunt-hunter-confirmation`,recipientEmail:e.email,idempotencyKey:`product-hunt-hunter-confirm-${t}`,templateData:{name:e.fullName,company:e.company,message:e.message}}}).catch(e=>console.error(`Product Hunt hunter confirmation email failed`,e)),S.success(E?`¡Solicitud enviada!`:`Request submitted!`),n(_(E?`/hunter-product-hunt/gracias`:`/product-hunt-hunter/thank-you`))}catch{S.error(E?`Algo salió mal. Inténtalo de nuevo.`:`Something went wrong. Please try again.`)}finally{t(!1)}}),className:`space-y-5`,noValidate:!0,children:[(0,I.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-4`,children:[(0,I.jsxs)(`div`,{children:[(0,I.jsxs)(N,{htmlFor:`fullName`,children:[E?`Nombre Completo`:`Full Name`,` `,(0,I.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,I.jsx)(L,{icon:v,error:U.fullName?.message,children:(0,I.jsx)(O,{id:`fullName`,...D(`fullName`),className:`border-0 pl-9 shadow-none focus-visible:ring-0`,autoComplete:`name`})})]}),(0,I.jsxs)(`div`,{children:[(0,I.jsxs)(N,{htmlFor:`email`,children:[`Email `,(0,I.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,I.jsx)(L,{icon:f,error:U.email?.message,children:(0,I.jsx)(O,{id:`email`,type:`email`,...D(`email`),className:`border-0 pl-9 shadow-none focus-visible:ring-0`,autoComplete:`email`})})]})]}),(0,I.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-4`,children:[(0,I.jsxs)(`div`,{children:[(0,I.jsxs)(N,{htmlFor:`company`,children:[E?`Empresa`:`Company`,` `,(0,I.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,I.jsx)(L,{icon:l,error:U.company?.message,children:(0,I.jsx)(O,{id:`company`,...D(`company`),className:`border-0 pl-9 shadow-none focus-visible:ring-0`,autoComplete:`organization`})})]}),(0,I.jsxs)(`div`,{children:[(0,I.jsx)(N,{htmlFor:`website`,children:E?`Sitio Web`:`Website`}),(0,I.jsx)(L,{icon:d,error:U.website?.message,children:(0,I.jsx)(O,{id:`website`,...D(`website`),className:`border-0 pl-9 shadow-none focus-visible:ring-0`,placeholder:`https://`,autoComplete:`url`})})]})]}),(0,I.jsxs)(`div`,{children:[(0,I.jsx)(N,{htmlFor:`productUrl`,children:E?`URL del Producto`:`Product URL`}),(0,I.jsx)(L,{icon:m,error:U.productUrl?.message,children:(0,I.jsx)(O,{id:`productUrl`,...D(`productUrl`),className:`border-0 pl-9 shadow-none focus-visible:ring-0`,placeholder:`https://yourproduct.com`})})]}),(0,I.jsxs)(`div`,{children:[(0,I.jsxs)(N,{htmlFor:`message`,children:[E?`Mensaje`:`Message`,` `,(0,I.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,I.jsxs)(`div`,{className:`input-focus-ring relative flex items-start rounded-md border bg-background`,children:[(0,I.jsx)(p,{size:16,className:`absolute left-3 top-3 text-muted-foreground pointer-events-none`}),(0,I.jsx)(b,{id:`message`,...D(`message`),className:`border-0 pl-9 shadow-none focus-visible:ring-0 min-h-[120px]`,placeholder:E?`Cuéntame sobre tu producto, tu fecha de lanzamiento ideal y qué buscas de un hunter...`:`Tell me about your product, your ideal launch date, and what you're looking for in a hunter...`})]}),U.message&&(0,I.jsx)(`p`,{className:`text-xs text-destructive mt-1`,role:`alert`,children:U.message.message})]}),(0,I.jsxs)(`div`,{className:`flex items-start gap-2`,children:[(0,I.jsx)(P,{id:`terms`,checked:W===!0,onCheckedChange:e=>V(`terms`,e===!0||void 0,{shouldValidate:!0})}),(0,I.jsx)(N,{htmlFor:`terms`,className:`text-sm text-muted-foreground leading-snug cursor-pointer`,children:E?`He leÃdo y acepto la PolÃtica de Privacidad y los Términos y Condiciones.`:`I've read and I accept the Privacy Policy and Terms and Conditions.`})]}),U.terms&&(0,I.jsx)(`p`,{className:`text-xs text-destructive`,role:`alert`,children:U.terms.message}),(0,I.jsx)(C,{type:`submit`,size:`lg`,disabled:e,className:`w-full sm:w-auto`,children:e?E?`Enviando...`:`Sending...`:E?`Enviar Solicitud`:`Submit Request`})]})]})})})})}),(0,I.jsx)(k,{variant:`banner`,source:`product-hunt-hunter`})]}),(0,I.jsx)(c,{})]})};export{B as t};
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.