PageSourceSearch

https://timeout-lead-generator.lovable.app/assets/CoqueteLancamento-BMXOt4vB.js

js timeout-lead-generator.lovable.app collected 2026-10-03 03:50:24 UTC 10,277 bytes, 6 lines download raw bytes

1import{c as C,r as h,j as e,m as d,n as S,s as R,f as g}from"./index-B7DbhkgB.js";import{u as _,F,a as l,b as o,c as t,d as n,e as i,t as $}from"./form-4uVfw-CW.js";import{I as m,L as X}from"./input-B2ZJJM4K.js";import{S as j,a as b,b as f,c as v,d as y}from"./select-Swoal9jq.js";import{C as E}from"./calendar-C-t0fHe-.js";import{C as V}from"./clock-BRxMFwTV.js";import{M}from"./map-pin-R9VnoQaR.js";import{S as q}from"./send-Cf0gBKXC.js";import{o as I,s as c}from"./types-3c7sL9OC.js";import"./label-DThxe-a-.js";import"./index-C0zlKoxO.js";import"./index-BT_i-wVq.js";import"./index-CNzhP8PW.js";import"./check-D5b_86Ga.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const x=C("Wine",[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]]),L=I({fullName:c().trim().min(3,"Nome deve ter pelo menos 3 caracteres").max(100),whatsapp:c().trim().min(10,"WhatsApp inválido").max(15).regex(/^[\d\s\-()]+$/,"Use apenas números"),email:c().trim().email("Email inválido").max(255),companyName:c().trim().min(2,"Nome da empresa é obrigatório").max(100),position:c().trim().min(2,"Cargo é obrigatório").max(100),employeeCount:c().min(1,"Selecione uma opção"),revenueRange:c().min(1,"Selecione uma opção")}),A=[{value:"1-10",label:"1 a 10 funcionários"},{value:"11-50",label:"11 a 50 funcionários"},{value:"51-200",label:"51 a 200 funcionários"},{value:"201-500",label:"201 a 500 funcionários"},{value:"501-1000",label:"501 a 1000 funcionários"},{value:"1001+",label:"Mais de 1000 funcionários"}],H=[{value:"ate-100k",label:"Até R$ 100 mil/mês"},{value:"100k-500k",label:"R$ 100 mil a R$ 500 mil/mês"},{value:"500k-1m",label:"R$ 500 mil a R$ 1 milhão/mês"},{value:"1m-5m",label:"R$ 1 milhão a R$ 5 milhões/mês"},{value:"5m-10m",label:"R$ 5 milhões a R$ 10 milhões/mês"},{value:"10m-25m",label:"R$ 10 milhões a R$ 25 milhões/mês"},{value:"25m+",label:"Acima de R$ 25 milhões/mês"}],ee=()=>{const[p,u]=h.useState(!1),[N,k]=h.useState(!1),r=_({resolver:$(L),defaultValues:{fullName:"",whatsapp:"",email:"",companyName:"",position:"",employeeCount:"",revenueRange:""}}),w=async a=>{u(!0);try{const{error:s}=await R.functions.invoke("ghl-create-contact",{body:{full_name:a.fullName,whatsapp:a.whatsapp,email:a.email,company_name:a.companyName,position:a.position,employee_count:a.employeeCount,revenue_range:a.revenueRange,lead_type:"coquetel-lancamento"}});if(s)throw s;k(!0),g.success("Presença confirmada com sucesso!")}catch(s){console.error("Submit error:",s),g.error("Erro ao confirmar presença. Tente novamente.")}finally{u(!1)}};return e.jsxs("div",{className:"min-h-screen bg-secondary relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_hsl(var(--primary)/0.15),transparent_60%)]"}),e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_bottom_left,_hsl(var(--primary)/0.08),transparent_50%)]"}),e.jsxs("div",{className:"relative z-10 container mx-auto px-4 py-8 md:py-16",children:[e.jsx(d.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},className:"flex justify-center mb-8",children:e.jsx("img",{src:S,alt:"Expo Time Out",className:"h-20 md:h-28"})}),e.jsxs("div",{className:"max-w-5xl mx-auto grid md:grid-cols-2 gap-8 md:gap-12 items-start",children:[e.jsxs(d.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{delay:.2},className:"text-secondary-foreground space-y-6 text-center md:text-left",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-primary font-bold uppercase tracking-[0.3em] text-sm mb-2",children:"Convite Exclusivo"}),e.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-black leading-[0.9] uppercase",children:["Coquetel de",e.jsx("br",{}),e.jsx("span",{className:"text-primary",children:"Lançamento"})]})]}
6),e.jsx("p",{className:"text-secondary-foreground/80 text-lg leading-relaxed max-w-md",children:"Você faz parte de um grupo seleto de empresários que impulsiona o desenvolvimento da nossa região. Queremos você em um encontro exclusivo."}),e.jsxs("div",{className:"space-y-4 bg-secondary-foreground/5 border border-secondary-foreground/10 rounded-lg p-6",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(E,{className:"w-5 h-5 text-primary flex-shrink-0"}),e.jsx("span",{className:"font-bold text-lg",children:"25 de Fevereiro de 2026"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(V,{className:"w-5 h-5 text-primary flex-shrink-0"}),e.jsx("span",{className:"font-bold text-lg",children:"20 horas"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(M,{className:"w-5 h-5 text-primary flex-shrink-0"}),e.jsxs("div",{children:[e.jsx("span",{className:"font-bold text-lg block",children:"Hotel Boulevard"}),e.jsx("span",{className:"text-secondary-foreground/60 text-sm",children:"Av. Higienópolis, 199 - Londrina/PR"})]})]})]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{className:"text-sm font-bold uppercase tracking-widest text-primary",children:"Neste encontro você terá acesso a:"}),e.jsxs("ul",{className:"space-y-2 text-secondary-foreground/80",children:[e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(x,{className:"w-4 h-4 text-primary mt-1 flex-shrink-0"}),"A visão oficial do evento"]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(x,{className:"w-4 h-4 text-primary mt-1 flex-shrink-0"}),"Oportunidades de negócios e parcerias"]}),e.jsxs("li",{className:"flex items-start gap-2",children:[e.jsx(x,{className:"w-4 h-4 text-primary mt-1 flex-shrink-0"}),"Vantagens exclusivas para quem lidera"]})]})]})]}),e.jsx(d.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{delay:.4},children:N?e.jsxs("div",{className:"bg-card/95 backdrop-blur-sm rounded-lg p-8 md:p-10 shadow-2xl border border-primary/20 text-center space-y-4",children:[e.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto",children:e.jsx(x,{className:"w-8 h-8 text-primary"})}),e.jsx("h2",{className:"text-2xl font-black text-foreground uppercase",children:"Presença Confirmada!"}),e.jsxs("p",{className:"text-muted-foreground",children:["Nos vemos no dia ",e.jsx("strong",{children:"25 de fevereiro"})," no Hotel Boulevard. Um brinde ao futuro dos negócios! 🥂"]})]}):e.jsxs("div",{className:"bg-card/95 backdrop-blur-sm rounded-lg p-8 md:p-10 shadow-2xl border border-primary/20",children:[e.jsx("h2",{className:"text-xl font-black text-foreground uppercase mb-6 text-center",children:"Confirme sua presença"}),e.jsx(F,{...r,children:e.jsxs("form",{onSubmit:r.handleSubmit(w),className:"space-y-4",children:[e.jsx(l,{control:r.control,name:"fullName",render:({field:a})=>e.jsxs(o,{children:[e.jsx(t,{className:"text-xs font-bold uppercase tracking-wide text-foreground",children:"Nome Completo"}),e.jsx(n,{children:e.jsx(m,{placeholder:"Seu nome completo",className:"h-12 bg-background border-border",...a})}),e.jsx(i,{})]})}),e.jsx(l,{control:r.control,name:"whatsapp",render:({field:a})=>e.jsxs(o,{children:[e.jsx(t,{className:"text-xs font-bold uppercase tracking-wide text-foreground",children:"WhatsApp com DDD"}),e.jsx(n,{children:e.jsx(m,{placeholder:"(XX) XXXXX-XXXX",className:"h-12 bg-background border-border",...a})}),e.jsx(i,{})]})}),e.jsx(l,{control:r.control,name:"email",render:({field:a})=>e.jsxs(o,{children:[e.jsx(t,{className:"text-xs font-bold uppercase tracking-wide text-foreground",children:"E-mail"}),e.jsx(n,{children:e.jsx(m,{type:"email",placeholder:"[email protected]",className:"h-12 bg-background border-border",...a})}),e.jsx(i,{})]})}),e.jsx(l,{control:r.control,name:"companyName",render:({field:a})=>e.jsxs(o,{children:[e.jsx(t,{className:"text-xs font-bold uppercase tracking-wide text-foreground",children:"Empresa"}),e.jsx(n,{children:e.jsx(m,{placeholder:"Nome da empresa",className:"h-12 bg-background border-border",...a})}),e.jsx(i,{})]})}),e.jsx(l,{control:r.control,name:"position",render:({field:a})=>e.jsxs(o,{children:[e.jsx(t,{className:"text-xs font-bold uppercase tracking-wide text-foreground",children:"Cargo"}),e.jsx(n,{children:e.jsx(m,{placeholder:"Ex: CEO, Diretor, Gerente...",className:"h-12 bg-background border-border",...a})}),e.jsx(i,{})]})}),e.jsx(l,{control:r.control,name:"employeeCount",render:({field:a})=>e.jsxs(o,{children:[e.jsx(t,{className:"text-xs font-bold uppercase tracking-wide text-foreground",children:"Funcionários na empresa"}),e.jsxs(j,{onValueChange:a.onChange,defaultValue:a.value,children:[e.jsx(n,{children:e.jsx(b,{className:"h-12 bg-background border-border",children:e.jsx(f,{placeholder:"Selecione"})})}),e.jsx(v,{children:A.map(s=>e.jsx(y,{value:s.value,children:s.label},s.value))})]}),e.jsx(i,{})]})}),e.jsx(l,{control:r.control,name:"revenueRange",render:({field:a})=>e.jsxs(o,{children:[e.jsx(t,{className:"text-xs font-bold uppercase tracking-wide text-foreground",children:"Faturamento mensal da empresa"}),e.jsxs(j,{onValueChange:a.onChange,defaultValue:a.value,children:[e.jsx(n,{children:e.jsx(b,{className:"h-12 bg-background border-border",children:e.jsx(f,{placeholder:"Selecione"})})}),e.jsx(v,{children:H.map(s=>e.jsx(y,{value:s.value,children:s.label},s.value))})]}),e.jsx(i,{})]})}),e.jsx("button",{type:"submit",disabled:p,className:"w-full h-14 bg-primary text-primary-foreground font-bold text-lg uppercase tracking-wide hover:brightness-110 transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-3 mt-6",children:p?e.jsxs(e.Fragment,{children:[e.jsx(X,{className:"w-5 h-5 animate-spin"}),"Confirmando..."]}):e.jsxs(e.Fragment,{children:[e.jsx(q,{className:"w-5 h-5"}),"Confirmar Presença"]})})]})})]})})]}),e.jsx(d.p,{initial:{opacity:0}
6,animate:{opacity:1},transition:{delay:.8},className:"text-center text-secondary-foreground/40 text-xs mt-12 uppercase tracking-widest",children:"Há oportunidades que só acontecem para quem chega antes."})]})]})};export{ee 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.