PageSourceSearch

https://brigadeiros-que-encantam.vercel.app/assets/CheckoutModal-C8dKVbp-.js

js brigadeiros-que-encantam.vercel.app collected 2026-10-03 05:47:23 UTC 28,520 bytes, 61 lines download raw bytes

1import{r as s,j as e}from"./vendor-react-C6RTMQQ1.js";import{c as o,C as E,S as Q}from"./index-Dz_sLNLG.js";/**
2 * @license lucide-react v0.546.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=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],H=o("award",X);/**
7 * @license lucide-react v0.546.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const Y=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],A=o("chevron-right",Y);/**
12 * @license lucide-react v0.546.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const K=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],J=o("credit-card",K);/**
17 * @license lucide-react v0.546.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */const W=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],ee=o("download",W);/**
22 * @license lucide-react v0.546.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */const te=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],y=o("lock",te);/**
27 * @license lucide-react v0.546.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */const re=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],se=o("mail",re);/**
32 * @license lucide-react v0.546.0 - ISC
33 *
34 * This source code is licensed under the ISC license.
35 * See the LICENSE file in the root directory of this source tree.
36 */const ae=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],oe=o("shield-check",ae);/**
37 * @license lucide-react v0.546.0 - ISC
38 *
39 * This source code is licensed under the ISC license.
40 * See the LICENSE file in the root directory of this source tree.
41 */const le=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],ce=o("smartphone",le);/**
42 * @license lucide-react v0.546.0 - ISC
43 *
44 * This source code is licensed under the ISC license.
45 * See the LICENSE file in the root directory of this source tree.
46 */const ie=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],de=o("square-check-big",ie);/**
47 * @license lucide-react v0.546.0 - ISC
48 *
49 * This source code is licensed under the ISC license.
50 * See the LICENSE file in the root directory of this source tree.
51 */const ne=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],xe=o("user",ne);/**
52 * @license lucide-react v0.546.0 - ISC
53 *
54 * This source code is licensed under the ISC license.
55 * See the LICENSE file in the root directory of this source tree.
56 */const he=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],me=o("x",he);/**
57 * @license lucide-react v0.546.0 - ISC
58 *
59 * This source code is licensed under the ISC license.
60 * See the LICENSE file in the root directory of this source tree.
61 */const ue=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}
61]],pe=o("zap",ue);function be({isOpen:x,onClose:h,price:m}){const[a,l]=s.useState("form"),[c,v]=s.useState("pix"),[N,M]=s.useState(""),[n,I]=s.useState(""),[w,u]=s.useState(""),[p,_]=s.useState(""),[f,$]=s.useState(""),[g,T]=s.useState(""),[C,R]=s.useState(""),[B,q]=s.useState("1"),[k,d]=s.useState(""),[S,b]=s.useState(!1),[j,P]=s.useState(600);s.useEffect(()=>{if(a==="payment"&&c==="pix"&&j>0){const t=setTimeout(()=>{P(r=>r-1)},1e3);return()=>clearTimeout(t)}},[a,c,j]);const V=t=>{const r=Math.floor(t/60),i=t%60;return`${r.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`},D=t=>{if(t.preventDefault(),!N.trim()){u("Por favor, digite seu nome completo.");return}if(!n.trim()||!n.includes("@")){u("Por favor, insira um e-mail válido.");return}u(""),l("payment")},L=()=>{l("processing"),setTimeout(()=>{l("success")},2800)},z=t=>{if(t.preventDefault(),p.replace(/\s/g,"").length<16){d("Número do cartão inválido.");return}if(!f.trim()){d("Nome impresso no cartão é obrigatório.");return}if(!g.includes("/")){d("Validade incorreta.");return}if(C.length<3){d("CVV incorreto.");return}d(""),l("processing"),setTimeout(()=>{l("success")},2800)};s.useEffect(()=>{x&&(l("form"),P(600),b(!1))},[x]);const U="00020101021226840014br.gov.bcb.pix0136brigadeirosqueencantam19reais0215acessoimediato520400005303986540519.005802BR5925BRIGADEIROS_QUE_ENCANTAM6009Sao_Paulo62400516ACESSOGUIAPREMIUM6304CA1B",G=()=>{navigator.clipboard.writeText(U),b(!0),setTimeout(()=>b(!1),3e3)},F=t=>{const r=t.target.value.replace(/\D/g,"");if(r.length<=16){const i=r.replace(/(\d{4})(?=\d)/g,"$1 ");_(i)}},O=t=>{const r=t.target.value.replace(/\D/g,"");if(r.length<=4){let i=r;r.length>2&&(i=`${r.slice(0,2)}/${r.slice(2)}`),T(i)}},Z=t=>{const r=t.target.value.replace(/\D/g,"");r.length<=4&&R(r)};return x?e.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 transition-all",children:[e.jsx("div",{className:"fixed inset-0 bg-chocolate-950/70 backdrop-blur-sm transition-opacity duration-300",onClick:h}),e.jsxs("div",{className:"bg-cream-50 border border-gold-300 rounded-3xl shadow-2xl max-w-lg w-full overflow-hidden relative z-10 max-h-[90vh] flex flex-col font-sans transition-all duration-300 transform scale-100",children:[e.jsxs("div",{className:"bg-amber-500/10 border-b border-amber-500/20 text-[11px] text-amber-950 font-bold px-4 py-1.5 text-center flex items-center justify-center gap-1.5",children:[e.jsx(pe,{className:"w-3.5 h-3.5 fill-amber-500 text-amber-950"}),e.jsx("span",{children:"AMBIENTE DE SIMULAÇÃO DE PAGAMENTO PARA EXIBIÇÃO FINANCEIRA"})]}),e.jsxs("div",{className:"bg-gradient-to-r from-chocolate-900 to-chocolate-950 px-6 py-5 text-cream-50 flex items-center justify-between relative",children:[e.jsx("div",{className:"absolute top-0 right-10 w-24 h-24 bg-gold-500/15 rounded-full blur-2xl pointer-events-none"}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-full bg-gold-500/20 flex items-center justify-center border border-gold-500/30",children:e.jsx(H,{className:"w-5 h-5 text-gold-300"})}),e.jsxs("div",{children:[e.jsx("span",{className:"text-[10px] text-gold-300 font-bold uppercase tracking-wider block",children:"Você está Adquirindo"}),e.jsx("h2",{className:"font-serif text-lg font-bold text-cream-50 leading-tight",children:"Brigadeiros que Encantam"})]})]}),e.jsx("button",{onClick:h,className:"w-8 h-8 rounded-full bg-cream-50/10 hover:bg-cream-50/20 text-cream-100 flex items-center justify-center transition-all cursor-pointer",children:e.jsx(me,{className:"w-4 h-4"})})]}),e.jsxs("div",{className:"overflow-y-auto p-6 flex-1 space-y-6",children:[a!=="success"&&e.jsxs("div",{className:"flex items-center justify-center gap-2 text-xs font-semibold",children:[e.jsxs("div",{className:`flex items-center gap-1.5 pb-2 border-b-2 px-3 transition-all ${a==="form"?"border-gold-600 text-gold-700":"border-emerald-600 text-emerald-700"}`,children:[e.jsx("div",{className:`w-5 h-5 rounded-full flex items-center justify-center ${a==="form"?"bg-gold-600 text-white":"bg-emerald-600 text-white"}`,children:a==="form"?"1":e.jsx(E,{className:"w-3.5 h-3.5"})}),e.jsx("span",{children:"Seus Dados"})]}),e.jsx(A,{className:"w-4 h-4 text-chocolate-200"}),e.jsxs("div",{className:`flex items-center gap-1.5 pb-2 border-b-2 px-3 transition-all ${a==="payment"?"border-gold-600 text-gold-700":"border-transparent text-chocolate-300"}`,children:[e.jsx("div",{className:`w-5 h-5 rounded-full flex items-center justify-center ${a==="payment"?"bg-gold-600 text-white":"bg-chocolate-200 text-chocolate-700"}`,children:"2"}),e.jsx("span",{children:"Pagamento"})]})]}),a==="form"&&e.jsxs("form",{onSubmit:D,className:"space-y-4",children:[e.jsx("div",{className:"text-center",children:e.jsx("p",{className:"text-chocolate-850 font-medium text-sm md:text-base",children:"Preencha seus dados para receber o e-mail de acesso e os downloads dos Bônus:"})}),w&&e.jsx("div",{className:"bg-red-50 border border-red-200 text-red-700 text-xs px-4 py-2.5 rounded-xl",children:w}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-xs font-bold text-chocolate-700 uppercase tracking-wider block",children:"Nome Completo"}),e.jsxs("div",{className:"relative",children:[e.jsx(xe,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4.5 h-4.5 text-chocolate-700"}),e.jsx("input",{type:"text",required:!0,placeholder:"Ex: Ana Maria da Silva",value:N,onChange:t=>M(t.target.value),className:"w-full bg-white border border-cream-300 rounded-xl pl-10 pr-4 py-2.5 text-sm font-medium focus:outline-none focus:ring-2 focus:ring-gold-500/55 focus:border-gold-500 text-chocolate-950 placeholder-chocolate-300"})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-xs font-bold text-chocolate-700 uppercase tracking-wider block",children:"E-mail de Recebimento"}),e.jsxs("div",{className:"relative",children:[e.jsx(se,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4.5 h-4.5 text-chocolate-600"}),e.jsx("input",{type:"email",required:!0,placeholder:"Ex: [email protected]",value:n,onChange:t=>I(t.target.value),className:"w-full bg-white border border-cream-300 rounded-xl pl-10 pr-4 py-2.5 text-sm font-medium focus:outline-none focus:ring-2 focus:ring-gold-500/55 focus:border-gold-500 text-chocolate-950 placeholder-chocolate-300"})]}),e.jsx("span",{className:"text-[10px] text-chocolate-700 block mt-1",children:"Este e-mail será usado para enviar os arquivos PDF e atualizações futuras."})]})]}),e.jsxs("div",{className:"bg-chocolate-50 border border-chocolate-100 rounded-2xl p-4 flex justify-between items-center text-sm",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-xs text-chocolate-600 block leading-tight",children:"Valor Total com 6 bônus inclusos"}),e.jsxs("span",{className:"text-lg font-bold text-chocolate-900 font-serif",children:["R$ ",m.toFixed(2)]})]}),e.jsx("div",{className:"bg-emerald-100 text-emerald-800 text-xs font-bold px-2.5 py-1 rounded-lg",children:"SALVOU R$ 464,00 (94% OFF)"})]}),e.jsxs("button",{type:"submit",className:"w-full py-3.5 bg-gradient-to-r from-emerald-800 via-emerald-700 to-emerald-800 hover:from-emerald-700 hover:via-emerald-600 hover:to-emerald-700 text-white font-bold rounded-xl text-sm transition-all shadow-md hover:scale-[1.01] flex items-center justify-center gap-2 cursor-pointer border-b-2 border-emerald-950",children:[e.jsx("span",{children:"Ir para o Pagamento Seguro"}),e.jsx(A,{className:"w-4 h-4 text-emerald-100"})]}),e.jsxs("div",{className:"flex items-center justify-center gap-1.5 text-chocolate-700 text-[10px] uppercase font-bold tracking-widest pt-2",children:[e.jsx(y,{className:"w-3.5 h-3.5 text-emerald-800"}),e.jsx("span",{children:"Dados Criptografados e Protegidos"})]})]}),a==="payment"&&e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-2 bg-cream-100 p-1 rounded-xl",children:[e.jsxs("button",{onClick:()=>v("pix"),className:`py-2 rounded-lg font-bold text-xs md:text-sm flex items-center justify-center gap-2 cursor-pointer transition-all ${c==="pix"?"bg-white text-chocolate-900 shadow-sm border border-gold-400":"text-chocolate-700 hover:text-chocolate-900"}`,children:[e.jsx(ce,{className:"w-4 h-4 text-emerald-750"}),e.jsx("span",{children:"Pix (Ideal/Rápido)"})]}),e.jsxs("button",{onClick:()=>v("card"),className:`py-2 rounded-lg font-bold text-xs md:text-sm flex items-center justify-center gap-2 cursor-pointer transition-all ${c==="card"?"bg-white text-chocolate-900 shadow-sm border border-gold-400":"text-chocolate-700 hover:text-chocolate-900"}`,children:[e.jsx(J,{className:"w-4 h-4 text-chocolate-700"}),e.jsx("span",{children:"Cartão de Crédito"})]})]}),c==="pix"&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"text-center space-y-1",children:[e.jsx("span",{className:"text-emerald-900 font-bold text-sm bg-emerald-100 border border-emerald-300 px-3 py-1 rounded-full inline-flex items-center gap-1 mb-1",children:"⚡ Liberação Imediata em Segundos"}),e.jsx("p",{className:"text-xs text-chocolate-850",children:"Escaneie o QR Code abaixo ou copie a chave Pix para finalizar sua simulação e liberar o guia:"})]}),e.jsxs("div",{className:"flex flex-col items-center justify-center bg-white p-5 rounded-2xl border border-cream-200 shadow-sm max-w-[240px] mx-auto",children:[e.jsx("div",{className:"w-36 h-36 bg-stone-100 border border-gold-300 rounded-xl relative p-1.5 flex items-center justify-center mb-2",children:e.jsxs("svg",{viewBox:"0 0 100 100",className:"w-full h-full text-chocolate-950",children:[e.jsx("path",{d:"M5,5 h20 v5 h-15 v15 h-5 Z",fill:"currentColor"}),e.jsx("path",{d:"M95,5 h-20 v5 h15 v15 h5 Z",fill:"currentColor"}),e.jsx("path",{d:"M5,95 h20 v-5 h-15 v-15 h-5 Z",fill:"currentColor"}),e.jsx("path",{d:"M95,95 h-20 v-5 h15 v-15 h5 Z",fill:"currentColor"}
61),e.jsx("rect",{x:"10",y:"10",width:"12",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"78",y:"10",width:"12",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"10",y:"78",width:"12",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"30",y:"10",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"42",y:"10",width:"8",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"58",y:"10",width:"4",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"66",y:"10",width:"8",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"30",y:"18",width:"12",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"46",y:"18",width:"4",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"66",y:"18",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"10",y:"30",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"22",y:"30",width:"8",height:"8",fill:"currentColor"}),e.jsx("rect",{x:"34",y:"30",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"42",y:"30",width:"16",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"62",y:"30",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"70",y:"30",width:"4",height:"8",fill:"currentColor"}),e.jsx("rect",{x:"82",y:"30",width:"10",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"10",y:"42",width:"16",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"30",y:"42",width:"4",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"42",y:"42",width:"6",height:"6",fill:"currentColor"}),e.jsx("rect",{x:"54",y:"42",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"62",y:"42",width:"12",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"78",y:"42",width:"4",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"86",y:"42",width:"8",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"14",y:"54",width:"4",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"22",y:"54",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"38",y:"54",width:"12",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"54",y:"54",width:"4",height:"8",fill:"currentColor"}),e.jsx("rect",{x:"62",y:"54",width:"8",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"74",y:"54",width:"12",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"10",y:"70",width:"8",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"26",y:"70",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"34",y:"70",width:"8",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"46",y:"70",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"54",y:"70",width:"12",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"70",y:"70",width:"4",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"78",y:"70",width:"12",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"46",y:"82",width:"20",height:"4",fill:"currentColor"}),e.jsx("rect",{x:"70",y:"82",width:"4",height:"12",fill:"currentColor"}),e.jsx("rect",{x:"78",y:"82",width:"4",height:"4",fill:"currentColor"}),e.jsx("circle",{cx:"50",cy:"50",r:"14",fill:"#bfa15f"}),e.jsx("path",{d:"M50,44 l1.5,3.5 l3.5,1.5 l-3.5,1.5 l-1.5,3.5 l-1.5,-3.5 l-3.5,-1.5 l3.5,-1.5 Z",fill:"#2c140a"})]})}),e.jsxs("span",{className:"text-[10px] font-mono text-chocolate-700 font-bold",children:["PIX EXPIRA EM ",e.jsx("b",{className:"text-red-700",children:V(j)})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("button",{onClick:G,className:"w-full py-2.5 bg-chocolate-100 hover:bg-chocolate-200 text-chocolate-900 text-xs font-bold rounded-xl flex items-center justify-center gap-2 border border-chocolate-350 transition-all cursor-pointer",children:e.jsx("span",{children:S?"✓ Código Copiado para a Área de Transferência!":"Copiar Chave Pix Copia e Cola"})}),!S&&e.jsx("span",{className:"text-[10px] text-chocolate-700 block text-center leading-normal",children:'Copie o código acima e utilize a opção "Pix Copia e Cola" ou "Pagar via Link IP" no app do seu banco.'})]}),e.jsx("hr",{className:"border-cream-200"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("button",{onClick:L,className:"w-full py-3.5 bg-gradient-to-r from-emerald-800 to-emerald-700 hover:brightness-105 text-white font-bold rounded-xl text-sm transition-all shadow-md flex items-center justify-center gap-2 cursor-pointer",children:[e.jsx(de,{className:"w-4 h-4"}),e.jsx("span",{children:"Confirmar Pagamento do Pix (Simular Aprovação)"})]}),e.jsx("p",{className:"text-[10px] text-center text-chocolate-700 font-semibold italic",children:"ℹ Em ambiente de produção real, o sistema detecta automaticamente a transferência em 1,5 segundos sem precisar apertar o botão."})]})]}),c==="card"&&e.jsxs("form",{onSubmit:z,className:"space-y-4",children:[k&&e.jsx("div",{className:"bg-red-50 border border-red-200 text-red-700 text-xs px-4 py-2 rounded-xl",children:k}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"bg-gradient-to-br from-chocolate-850 to-chocolate-950 text-cream-50 rounded-2xl p-4 border border-gold-400/40 relative shadow-md overflow-hidden aspect-[1.586/1] h-36 mx-auto flex flex-col justify-between",children:[e.jsx("div",{className:"absolute top-0 right-0 w-24 h-24 bg-gold-400/10 rounded-full blur-2xl"}),e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsx("span",{className:"text-[10px] font-bold text-gold-300 tracking-wider",children:"PREMIUM PAYMENT"}),e.jsx("div",{className:"w-8 h-5 bg-cream-100/10 rounded-md flex items-center justify-center font-serif text-[9px] font-bold border border-cream-100/20 text-gold-200",children:"VISA"})]}),e.jsx("div",{className:"w-8 h-6 bg-gold-400/35 rounded-md border border-gold-300/30"}),e.jsxs("div",{children:[e.jsx("div",{className:"font-mono text-sm tracking-widest text-[#f5ebd3]",children:p||"•••• •••• •••• ••••"}),e.jsxs("div",{className:"flex justify-between items-end mt-1.5",children:[e.jsx("div",{className:"text-[10px] uppercase font-semibold leading-none text-chocolate-100/90 max-w-[170px] truncate",children:f||"TITULAR DO CARTÃO"}),e.jsx("div",{className:"text-[10px] font-mono leading-none text-chocolate-200",children:g||"MM/AA"})]})]})]}),e.jsxs("div",{className:"space-y-3 pt-2",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-bold text-chocolate-700 uppercase tracking-wider block",children:"Número do Cartão"}),e.jsx("input",{type:"text",required:!0,placeholder:"4444 4444 4444 4444",value:p,onChange:F,className:"w-full bg-white border border-cream-300 rounded-xl px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-gold-500/55 text-chocolate-950 placeholder-chocolate-300 font-mono"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-bold text-chocolate-700 uppercase tracking-wider block",children:"Nome do Titular (Idêntico ao do Cartão)"}),e.jsx("input",{type:"text",required:!0,placeholder:"ANA M SILVA",value:f,onChange:t=>$(t.target.value),className:"w-full bg-white border border-cream-300 rounded-xl px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-gold-500/55 text-chocolate-950 placeholder-chocolate-300"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-bold text-chocolate-700 uppercase tracking-wider block",children:"Validade"}),e.jsx("input",{type:"text",required:!0,placeholder:"12/30",value:g,onChange:O,className:"w-full bg-white border border-cream-300 rounded-xl px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-gold-500/55 text-chocolate-950 placeholder-chocolate-300 font-mono"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-bold text-chocolate-700 uppercase tracking-wider block",children:"CVV"}),e.jsx("input",{type:"password",required:!0,placeholder:"123",value:C,onChange:Z,maxLength:4,className:"w-full bg-white border border-cream-300 rounded-xl px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-gold-500/55 text-chocolate-950 placeholder-chocolate-300 font-mono"})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-bold text-chocolate-700 uppercase tracking-wider block",children:"Opção de Pagamento"}),e.jsx("select",{value:B,onChange:t=>q(t.target.value),className:"w-full bg-white border border-cream-300 rounded-xl px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-gold-500/55 text-chocolate-950 text-chocolate-850 font-medium cursor-pointer",children:e.jsxs("option",{value:"1",children:["1x de R$ ",m.toFixed(2)," à vista"]})})]})]})]}),e.jsxs("button",{type:"submit",className:"w-full py-3.5 bg-gradient-to-r from-emerald-800 via-emerald-700 to-emerald-800 hover:from-emerald-700 hover:via-emerald-600 hover:to-emerald-700 text-white font-bold rounded-xl text-sm transition-all shadow-md hover:scale-[1.01] flex items-center justify-center gap-2 cursor-pointer mt-4 border-b-2 border-emerald-950",children:[e.jsx(oe,{className:"w-4 h-4 text-emerald-100"}),e.jsxs("span",{children:["Concluir Simulação Seguro - R$ ",m.toFixed(2)]})]}),e.jsxs("div",{className:"flex items-center justify-center gap-2 text-chocolate-700 text-[10px] font-medium pt-1",children:[e.jsx(y,{className:"w-3.5 h-3.5 text-emerald-800"}),e.jsx("span",{children:"Transações protegidas por SSL com criptografia 256-bits."})]})]})]}),a==="processing"&&e.jsxs("div",{className:"py-12 flex flex-col items-center justify-center space-y-4 text-center",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-gold-300/30 border-t-gold-600 animate-spin"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(Q,{className:"w-6 h-6 text-gold-500 animate-pulse"})})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("h3",{className:"font-serif text-lg font-bold text-chocolate-900",children:"Processando Pagamento Seguro"}),e.jsx("p",{className:"text-xs text-chocolate-500",children:"Autenticando transação bancária e preparando liberação dos Bônus..."}),e.jsx("div",{className:"bg-emerald-50 text-emerald-800 text-[10px] px-3 py-1 rounded-full border border-emerald-100 inline-block font-mono font-medium",children:"Gateway de Pagamento ID: SIM-9284-SECURE"})]})]}),a==="success"&&e.jsxs("div",{className:"space-y-6 py-4",children:[e.jsxs("div",{className:"text-center space-y-2",children:[e.jsx("div",{className:"w-14 h-14 roun
61ded-full bg-emerald-100 border border-emerald-300 text-emerald-800 flex items-center justify-center mx-auto shadow-sm",children:e.jsx(E,{className:"w-8 h-8"})}),e.jsx("h3",{className:"font-serif text-2xl font-black text-emerald-800 tracking-tight",children:"Eba! Acesso Liberado! 🌸"}),e.jsxs("p",{className:"text-xs text-chocolate-750 max-w-sm mx-auto",children:["Parabéns pela sua decisão! Em minutos, você receberá a confirmação no e-mail: ",e.jsx("br",{}),e.jsx("strong",{className:"text-chocolate-900 font-bold underline",children:n||"[email protected]"})]})]}),e.jsxs("div",{className:"bg-gradient-to-br from-cream-100 to-cream-50 border border-gold-300/40 rounded-2xl p-5 space-y-3 shadow-inner",children:[e.jsxs("div",{className:"flex justify-between items-center text-xs pb-2 border-b border-cream-205/80 text-chocolate-700 font-bold uppercase tracking-wider",children:[e.jsx("span",{children:"Conteúdos Liberados p/ Baixar"}),e.jsx("span",{className:"text-emerald-800 text-[10px]",children:"Aprovado ✓"})]}),e.jsxs("div",{className:"space-y-2 text-xs text-chocolate-900",children:[e.jsxs("div",{className:"flex items-center justify-between font-bold bg-white/70 p-2 rounded-lg border border-chocolate-100",children:[e.jsx("span",{className:"flex items-center gap-1.5",children:"📖 Guia Brigadeiros Que Encantam.pdf"}),e.jsxs("button",{className:"text-emerald-800 hover:text-emerald-950 flex items-center gap-1 font-bold",children:[e.jsx(ee,{className:"w-3.5 h-3.5"})," Baixar"]})]}),e.jsxs("div",{className:"space-y-1.5 pl-2 pt-1 border-l-2 border-gold-400",children:[e.jsx("span",{className:"text-[10px] uppercase font-bold text-gold-700 tracking-wider block",children:"Todos os 6 Bônus Integrados Gratuitos:"}),["Bônus 1: Plano de 7 Dias para sua Primeira Venda","Bônus 2: Planilha de Precificação Inteligente","Bônus 3: Manual de Embalagens DIY","Bônus 4: Guia de Conservação & Congelamento","Bônus 5: Guia dos Erros Que Arruínam Seus Brigadeiros","Bônus 6: Sobremesas Leves e Irresistíveis"].map((t,r)=>e.jsxs("div",{className:"flex justify-between items-center text-[11px] py-0.5",children:[e.jsxs("span",{className:"text-stone-800",children:["🎁 ",t]}),e.jsx("span",{className:"text-emerald-800 font-bold text-[10px] bg-emerald-50 px-1.5 rounded",children:"Liberado"})]},r))]})]})]}),e.jsx("div",{className:"bg-chocolate-900 text-cream-50 rounded-2xl p-4 border border-gold-400/20 text-xs",children:e.jsxs("div",{className:"flex gap-2.5",children:[e.jsx("div",{className:"w-6 h-6 rounded-full bg-gold-400 text-chocolate-950 flex items-center justify-center font-bold text-[10px] flex-shrink-0 mt-0.5",children:"1"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gold-300",children:"Como acessar meu material de agora em diante?"}),e.jsx("p",{className:"text-chocolate-200 mt-1 leading-relaxed",children:"Seu arquivo principal já está disponível para baixar acima. Uma cópia do guia e os links editáveis dos bônus foram disparados automaticamente para o seu e-mail. Caso não receba em 5 minutos, confira as pastas Spam ou Promoções."})]})]})}),e.jsx("button",{onClick:h,className:"w-full py-3 bg-gradient-to-r from-gold-600 to-gold-500 text-chocolate-950 font-bold rounded-xl text-sm transition-all hover:scale-[1.01] flex items-center justify-center gap-1.5 cursor-pointer shadow",children:e.jsx("span",{children:"Voltar para a Página Principal"})})]})]}),e.jsxs("div",{className:"bg-cream-100/50 border-t border-cream-200 p-4 text-center text-[10px] text-chocolate-700 font-medium flex flex-wrap justify-center items-center gap-4",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(y,{className:"w-3 h-3 text-emerald-800"})," Transação Protegida"]}),e.jsx("span",{children:"•"}),e.jsx("span",{children:"Garantia de Satisfação: 7 Dias Úteis"}),e.jsx("span",{children:"•"}),e.jsx("span",{children:"Suporte ao Aluno: [email protected]"})]})]})]}):null}export{be 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.