PageSourceSearch

https://www.vakinha.com.br/_next/static/chunks/pages/campaignCreat…/firstDonation-6020add00a16dbf0.js

js vakinha.com.br collected 2026-10-01 09:20:01 UTC 22,477 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4697],{19263:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var a=t(37876),r=t(49577);let o=e=>{let{width:n,height:t}=e;return(0,a.jsx)(r.CY,{width:n,height:t,children:(0,a.jsx)("path",{d:"M.284,9.52l7.863,7.863a.971.971,0,0,0,1.373,0l.917-.917a.971.971,0,0,0,0-1.372L4.208,8.834l6.231-6.261a.971.971,0,0,0,0-1.372L9.52.284a.971.971,0,0,0-1.373,0L.284,8.147A.971.971,0,0,0,.284,9.52Z"})})}},24205:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var a=t(37876),r=t(64137),o=t(34846),i=t(27415),l=t(95329),s=t(98922);let c=l.default.div.withConfig({componentId:"sc-799e7912-0"})(["width:100%;overflow:hidden;height:5px;background:",";display:inline-block;",""],s.Nd,e=>{let{borderRadius:n}=e;return n&&"\n    border-radius: 8px;\n  "}),d=l.default.div.withConfig({componentId:"sc-799e7912-1"})(["overflow:hidden;background:",";height:100%;width:",""],s.eU,e=>{let{progress:n}=e;return"".concat(n,"%")}),u=e=>{let{step:n,maxStep:t,color:l,borderRadius:s,displayStepNumbers:u=!0}=e,{t:h}=(0,o.Bd)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c,{borderRadius:s,children:(0,a.jsx)(d,{progress:n/t*100})}),u&&(0,a.jsx)(r.o5,{fontFamily:i.f,fontSize:12,align:"right",color:l,children:h("pages.campaignWizard.stepBar.step",{step:n,maxStep:t})})]})}},36520:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a,r=t(14232);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(null,arguments)}let i=function(e){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20"},e),a||(a=r.createElement("path",{fill:"#025432",d:"M10 18.333c4.6 0 8.333-3.733 8.333-8.333S14.6 1.667 10 1.667A8.336 8.336 0 0 0 1.667 10c0 4.6 3.733 8.333 8.333 8.333m-.833-12.5h1.666v5H9.167zm0 6.667h1.666v1.667H9.167z"})))}},59942:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/campaignCreation/firstDonation/firstDonation",function(){return t(73082)}])},62748:(e,n,t)=>{"use strict";t.d(n,{A:()=>w});var a=t(37876),r=t(15558),o=t.n(r),i=t(14232),l=t(64137),s=t(76082),c=t(88406),d=t(53928),u=t(27415),h=t(95329);let p=(0,h.default)(l.hh).withConfig({componentId:"sc-8488198c-0"})(["position:absolute;right:16px;bottom:12px;"]),g=(0,h.keyframes)(["0%{opacity:1;}70%{opacity:1;}100%{opacity:0;}"]),f=(0,h.default)(l.wn).withConfig({componentId:"sc-8488198c-1"})(["position:absolute;right:46px;bottom:8px;",""],e=>{let{isFading:n}=e;return n&&(0,h.css)(["animation:"," 2s ease-in-out;"],g)}),m=h.default.div.withConfig({componentId:"sc-8488198c-2"})(["position:relative;display:flex;"]),x=(0,h.default)(l.pd).withConfig({componentId:"sc-8488198c-3"})(["padding-right:50px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;",""],e=>{let{disabled:n}=e;return n&&(0,h.css)(["background-color:",";color:",";pointer-events:none;"],l.Tj.gray200,l.Tj.gray350)}),w=e=>{let{url:n,category:t,action:r,label:h,onCopied:g,content:w,iconHighlight:j,disabled:v,hiddenUrlToCopy:y}=e,b=(0,i.useRef)(),[C,k]=(0,i.useState)(!1),S=()=>{v||(null==g||g(),k(!0),setTimeout(()=>k(!1),2e3))};return(0,i.useEffect)(()=>{if(v)return;let e=new(o())(b.current,{text:()=>y||n});return e.on("success",e=>{(0,d.$s)(t,r,h),e.clearSelection()}),()=>e.destroy()},[n]),(0,a.jsxs)(m,{ref:b,children:[(0,a.jsx)(x,{value:n,disabled:v,readOnly:!0}),(0,a.jsx)(p,{color:v?"gray300":j||C?"green400":"gray400",children:C?(0,a.jsx)(c.A,{onClick:S}):(0,a.jsx)(s.A,{onClick:S})}),C&&!v?(0,a.jsx)(f,{backgroundColor:"gray600",padding:[8,16],borderRadius:8,isFading:C,children:(0,a.jsx)(l.o5,{fontFamily:u.f,fontSize:12,color:"white",children:w||"Copiado com sucesso"})}):null]})}},62874:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var a=t(37876);let r=e=>{let{id:n,width:t,height:r}=e;return(0,a.jsxs)("svg",{id:n,xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 25.403 25.403",children:[(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip-path",children:(0,a.jsx)("rect",{id:"Ret\xe2ngulo_767","data-name":"Ret\xe2ngulo 767",width:"25.403",height:"25.403",fill:"#000"})})}),(0,a.jsxs)("g",{id:"Grupo_1383","data-name":"Grupo 1383",clipPath:"url(#clip-path)",children:[(0,a.jsx)("path",{id:"Caminho_3622","data-name":"Caminho 3622",d:"M78.682,183.135a3.708,3.708,0,0,1-2.638-1.089l-3.811-3.813a.724.724,0,0,0-1,0l-3.824,3.824a3.709,3.709,0,0,1-2.638,1.092h-.746l4.829,4.829a3.863,3.863,0,0,0,5.458,0l4.839-4.84Z",transform:"translate(-58.87 -163.703)",fill:"#000"}),(0,a.jsx)("path",{id:"Caminho_3623","data-name":"Caminho 3623",d:"M64.77,5.955a3.709,3.709,0,0,1,2.638,1.092l3.824,3.825a.709.709,0,0,0,1,0l3.81-3.81a3.7,3.7,0,0,1,2.638-1.093h.459L74.3,1.13a3.858,3.858,0,0,0-5.457,0h0L64.023,5.955Z",transform:"translate(-58.87 0.001)",fill:"#000"}),(0,a.jsx)("path",{id:"Caminho_3624","data-name":"Caminho 3624",d:"M24.273,90.354,21.349,87.43a.564.564,0,0,1-.208.042h-1.33a2.626,2.626,0,0,0-1.846.765l-3.81,3.808a1.83,1.83,0,0,1-2.586,0L7.745,88.222A2.625,2.625,0,0,0,5.9,87.456H4.268a.574.574,0,0,1-.2-.039L1.129,90.354a3.863,3.863,0,0,0,0,5.458l2.936,2.936a.552.552,0,0,1,.2-.039H5.9a2.626,2.626,0,0,0,1.846-.765l3.824-3.824a1.874,1.874,0,0,1,2.587,0l3.81,3.809a2.626,2.626,0,0,0,1.846.765h1.33a.555.555,0,0,1,.208.042l2.924-2.924a3.858,3.858,0,0,0,0-5.457h0",transform:"translate(0 -80.381)",fill:"#000"})]})]})}},63357:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var a=t(37876),r=t(89099),o=t.n(r),i=t(33563),l=t(19263),s=t(95329),c=t(98922);let d=s.default.button.withConfig({componentId:"sc-99e54813-0"})(["background-color:",";border-color:",";cursor:pointer;padding:unset;"],c.JO,c.JO),u=e=>{let{onClick:n,useRouter:t=!0,fallbackRoute:r,params:s}=e,c=e=>{n&&n(),t&&window.history.length>1&&(null==e||e.preventDefault(),o().back())};return r?(0,a.jsx)(i.A,{route:r,passHref:!0,params:s,children:(0,a.jsx)(d,{onClick:c,children:(0,a.jsx)(l.A,{})})}):(0,a.jsx)(d,{onClick:c,children:(0,a.jsx)(l.A,{})})}},63672:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var a,r=t(14232);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(null,arguments)}let i=function(e){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:23.447,height:20,viewBox:"0 0 23.447 20"},e),a||(a=r.createElement("g",{"data-name":"clover svg"},r.createElement("path",{fill:"#007b43",d:"M15.738 12c1.512 1.244 3.545 2.575 5.268 2.518a2.523 2.523 0 0 0 .847-4.868 2.523 2.523 0 0 0-1.166-4.8c-1.723.057-3.664 1.519-5.091 2.859 1.244-1.509 2.576-3.545 2.519-5.268a2.523 2.523 0 0 0-4.867-.847 2.523 2.523 0 0 0-4.8 1.166c.057 1.723 1.519 3.664 2.86 5.091C9.794 6.607 7.76 5.276 6.037 5.332A2.523 2.523 0 0 0 5.19 10.2 2.523 2.523 0 0 0 6.356 15a7.8 7.8 0 0 0 4.226-2.092C8.64 14.6 4.678 17.648.7 18.333a.84.84 0 1 0 .407 1.624 22.1 22.1 0 0 0 9.3-6.43 7.13 7.13 0 0 0-1.478 3.883 2.523 2.523 0 0 0 4.868.847 2.523 2.523 0 0 0 4.8-1.166c-.057-1.723-1.519-3.664-2.86-5.091","data-name":"Caminho 3794"}))))}},73082:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>N,default:()=>B});var a,r,o=t(37876),i=t(29454),l=t(89099),s=t(14232),c=t(64137),d=t(11639),u=t(95433),h=t(27415),p=t(24205),g=t(64613),f=t(99216),m=t(63357),x=t(36520),w=t(99901),j=t(95863),v=t(20658),y=t(63672),b=t(3219),C=t(94416),k=t(82746),S=t(62874),A=t(62748);function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(null,arguments)}let I=function(e){return s.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20"},e),a||(a=s.createElement("path",{fill:"#B52230",d:"M10 1.667A8.326 8.326 0 0 0 1.667 10 8.326 8.326 0 0 0 10 18.333 8.326 8.326 0 0 0 18.333 10 8.326 8.326 0 0 0 10 1.667m3.583 11.916a.83.83 0 0 1-1.175 0L10 11.175l-2.408 2.408a.83.83 0 1 1-1.175-1.175L8.825 10 6.417 7.592a.83.83 0 1 1 1.175-1.175L10 8.825l2.408-2.408a.83.83 0 1 1 1.175 1.175L11.175 10l2.408 2.408a.846.846 0 0 1 0 1.175"})))},F=e=>{let{isOpen:n,isLoading:t,onClose:a,onConfirm:r,pixKey:i,qrCode:l,paymentNotApproved:s=!1}=e;return(0,o.jsxs)(c.dW,{isOpen:n&&!!i&&!!l,onClose:a,width:480,padding:24,children:[s&&(0,o.jsx)(c.wn,{padding:[24,0,0],children:(0,o.jsxs)(c.wn,{padding:[8],backgroundColor:"red300",borderRadius:8,flex:!0,alignItems:"center",columnGap:8,children:[(0,o.jsx)(I,{width:20,height:20}),(0,o.jsxs)(c.o5,{fontFamily:h.f,fontSize:12,color:"red500",children:[(0,o.jsx)("strong",{children:"Pagamento n\xe3o aprovado. "}),"Tente novamente seguindo as instru\xe7\xf5es abaixo."]})]})}),(0,o.jsxs)(c.wn,{flex:!0,flexDirection:"column",alignItems:"center",rowGap:8,padding:[16,0,8],children:[(0,o.jsx)(S.A,{width:40,height:40}),(0,o.jsx)(c.o5,{fontFamily:h.a,fontSize:20,weight:700,color:"gray600",align:"center",children:"Pague com o Pix"})]}),(0,o.jsx)(c.wn,{padding:[0,0,16],children:(0,o.jsx)(c.o5,{fontFamily:h.f,fontSize:14,color:"gray400",align:"center",children:"Clique no bot\xe3o para copiar o c\xf3digo e escolha pagar via Pix Copia e Cola no aplicativo do seu banco."})}),(0,o.jsx)(c.wn,{padding:[0,0,16],children:(0,o.jsx)(A.A,{url:i,category:"Interactions",action:"[First Donation] Copy Pix Code"})}),(0,o.jsx)(c.wn,{padding:[0,0,16],children:(0,o.jsx)(c.o5,{fontFamily:h.f,fontSize:14,color:"gray400",align:"center",children:"Ou pague escaneando o QR code abaixo no aplicativo do seu banco."})}),(0,o.jsx)(c.wn,{flex:!0,justifyContent:"center",padding:[0,0,24],children:(0,o.jsx)(k.Ay,{value:l,level:"M",size:160})}),(0,o.jsx)(c.$n,{variant:"dark",size:"large",block:!0,onClick:r,loading:t,disabled:t,children:(0,o.jsx)(c.o5,{fontFamily:h.a,fontSize:16,weight:700,color:"white",children:"Tudo certo, j\xe1 paguei!"})})]})};var q=t(85426),E=t(95329);function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(null,arguments)}let M=(0,E.default)(c.wn).withConfig({componentId:"sc-e02807d2-0"})(["transition:border-color 0.15s,background-color 0.15s;border:2px solid ",";"],e=>{let{isSelected:n}=e;return n?c.Tj.green400:c.Tj.gray200}),R=E.default.button.withConfig({componentId:"sc-e02807d2-1"})(["border:none;display:flex;padding:0 8px;cursor:pointer;align-items:center;justify-content:center;color:",";font-size:18px;line-height:1;height:48px;&:disabled{cursor:default;}"],c.Tj.gray600),L=E.default.input.withConfig({componentId:"sc-e02807d2-2"})(["flex:1;width:80px;border:none;outline:none;font-size:14px;padding:4px 0px;font-weight:700;text-align:center;background:transparent;color:",";transition:background-color 0.15s;&:focus{border-bottom:1px solid ",";}&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}-moz-appearance:textfield;"],c.Tj.gray600,c.Tj.green400),O=(0,E.default)(c.wn).withConfig({componentId:"sc-e02807d2-3"})(["*{fill:",";}
1"],c.Tj.gray400),P=(0,E.default)(function(e){return s.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,fill:"none",viewBox:"0 0 32 32"},e),r||(r=s.createElement("path",{fill:"#D9A300",d:"M9.333 14.4V9.333H6.667v1.334q0 1.266.733 2.283a4 4 0 0 0 1.933 1.45m13.334 0a4 4 0 0 0 1.933-1.45 3.8 3.8 0 0 0 .733-2.283V9.333h-2.666zm-8 10.933V21.2a7.16 7.16 0 0 1-2.917-1.383 6 6 0 0 1-1.883-2.55q-2.5-.3-4.184-2.184Q4 13.2 4 10.667V9.333q0-1.099.783-1.883a2.57 2.57 0 0 1 1.884-.783h2.666q0-1.1.784-1.884A2.57 2.57 0 0 1 12 4h8q1.1 0 1.883.783.784.784.784 1.884h2.666q1.1 0 1.884.783T28 9.333v1.334q0 2.533-1.683 4.416t-4.184 2.184a6 6 0 0 1-1.883 2.55 7.16 7.16 0 0 1-2.917 1.383v4.133h4q.567 0 .95.384.384.383.384.95 0 .566-.384.95a1.3 1.3 0 0 1-.95.383H10.667a1.3 1.3 0 0 1-.95-.383 1.3 1.3 0 0 1-.384-.95q0-.567.384-.95a1.3 1.3 0 0 1 .95-.384z"})))}).withConfig({componentId:"sc-e02807d2-4"})(["width:32px;height:32px;@media ","{width:24px;height:24px;}"],c.HP.phoneAndTablet),D=(0,E.default)(c.o5).withConfig({componentId:"sc-e02807d2-5"})(["width:calc(100% - 40px);@media ","{width:calc(100% - 32px);}"],c.HP.phoneAndTablet),T=[25,50,75];var N=!0;let B=e=>{let{campaign:n,campaignCreationCookie:t,token:a,loggedUser:r,productPack:k}=e,S=(0,l.useRouter)(),{openSurvey:A}=(0,s.useContext)(j.A),z=e=>(0,q.Ay)(e),[I,E]=(0,s.useState)(25),[_,N]=(0,s.useState)(100),[B,G]=(0,s.useState)(()=>z(100)),[H,V]=(0,s.useState)(!1),[$,U]=(0,s.useState)(!1),[Z,J]=(0,s.useState)(""),[Q,K]=(0,s.useState)(""),[W,X]=(0,s.useState)({}),[Y,ee]=(0,s.useState)(!1),[en,et]=(0,s.useState)(!1),[ea,er]=(0,s.useState)(null),[eo,ei]=(0,s.useState)(null),[el,es]=(0,s.useState)(!1),[ec,ed]=(0,s.useState)(!1),{maxStep:eu,campaignId:eh}=t,{executeRecaptcha:ep}=(0,f.A)("contribution"),eg=25*Math.floor(I/25),ef=(0,s.useRef)(_);ef.current=_;let em=(0,s.useRef)(null),ex=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,C.$)({eventName:e,properties:{...W,...n}})};(0,s.useEffect)(()=>{let e=i.A.get("userEventsProperties");return e&&X(JSON.parse(e)),ex("creationjourney-firstdonation-view"),()=>{em.current&&clearInterval(em.current)}},[]);let ew=()=>{V(!0),E(_)},ej=()=>{let e=Math.max(25,ef.current-1);N(e),E(e),G(z(e)),V(!0)},ev=()=>{let e=ef.current+1;N(e),E(e),G(z(e)),V(!0)},ey=e=>n=>{n.stopPropagation(),e(),em.current=setInterval(e,150)},eb=()=>{em.current&&(clearInterval(em.current),em.current=null)},eC=async()=>{if(ex("creationjourney-firstdonation-click"),I===eo)return void U(!0);let e=await ep();ee(!0);let n={amount:I,packId:k.id,campaignId:eh,paymentMethod:"pix",name:null==r?void 0:r.name,email:null==r?void 0:r.email,payerDocument:null==r?void 0:r.cpf,payerPhone:null==r?void 0:r.phone,recaptcha:e},{data:t}=await (0,w.k2)(a,n);J(t.pixKey),K(t.qrCode),er(t.id),ei(I),U(!0),ee(!1)},ek=()=>S.push("/criar-vaquinha/compartilhe"),eS=()=>{if(window.history.length>1)return void S.back();S.push("/criar-vaquinha/imagem")},eA=async e=>{if(!ec){ed(!0);try{let{data:n}=await (0,v.rG)(eh,a);if(n.surveyId&&n.subject)return void A({surveyId:n.surveyId,subject:n.subject,trackingLabel:"campaign_creation_first_donation_decline",onClosed:e,onSubmitted:e})}catch(e){}finally{ed(!1)}e()}},ez=async()=>{et(!0);let{data:{status:e}}=await (0,g.BS)(ea,null==r?void 0:r.id);"authorized"===e?(ex("creationjourney-firstdonation-pixmodal-confirm-click-success",{amount:eo}),es(!1),i.A.remove("campaignCreationData"),S.push("/criar-vaquinha/compartilhe?campaignId=".concat(n.id,"&firstDonationQuantity=").concat(eg))):(ex("creationjourney-firstdonation-pixmodal-confirm-click-failed"),es(!0),et(!1))},eI=async()=>{let{data:{status:e}}=await (0,g.BS)(ea,null==r?void 0:r.id);"authorized"===e&&(es(!1),i.A.remove("campaignCreationData"),S.push("/criar-vaquinha/compartilhe?campaignId=".concat(n.id,"&firstDonationQuantity=").concat(eg)))};return(0,s.useEffect)(()=>{if(!ea)return()=>{};let e=setInterval(()=>{eI()},5e3);return()=>{clearInterval(e)}},[ea]),(0,o.jsxs)(u.default,{title:"Fortalecer a vaquinha",withFooter:!1,disableNavbarLinks:!0,children:[(0,o.jsx)(d.Container,{children:(0,o.jsx)(d.Row,{justifyContent:"center",alignItems:"center",children:(0,o.jsxs)(d.Col,{lg:5,children:[(0,o.jsx)(c.wn,{padding:[16,0,24],children:(0,o.jsx)(m.A,{useRouter:!1,onClick:()=>eA(eS)})}),(0,o.jsx)(p.A,{step:eu-1,maxStep:eu,color:"gray600"}),(0,o.jsxs)(c.wn,{padding:[16,0,40],children:[(0,o.jsx)(c.o5,{as:"h1",fontFamily:h.a,fontSize:24,weight:700,color:"gray600",children:"Mais chances da sua vaquinha receber visitas!"}),(0,o.jsx)(c.wn,{padding:[12,0,8],children:(0,o.jsxs)(c.o5,{fontFamily:h.f,fontSize:14,color:"gray600",children:["Vaquinhas com pelo menos uma doa\xe7\xe3o"," ",(0,o.jsx)("strong",{children:"arrecadam mais"})," porque as pessoas se sentem mais seguras quando veem que"," ",(0,o.jsx)("strong",{children:"algu\xe9m j\xe1 acreditou primeiro"}),"."]})}),(0,o.jsx)(c.wn,{padding:[0,0,24],children:(0,o.jsxs)(c.o5,{fontFamily:h.f,fontSize:14,color:"gray600",children:["Seja o primeiro a acreditar na sua causa e ainda ",(0,o.jsx)("strong",{children:"ganhe cora\xe7\xf5es e"})," ",(0,o.jsx)("strong",{children:"n\xfameros da sorte"}
1)," para concorrer um pr\xeamio de ",(0,o.jsx)("strong",{children:"R$ 15.000,00"}),"."]})}),(0,o.jsxs)(c.wn,{flex:!0,columnGap:8,alignItems:"center",padding:[8,12],borderRadius:8,backgroundColor:"green100",children:[(0,o.jsx)(x.A,{width:20,height:20}),(0,o.jsxs)(c.o5,{fontFamily:h.f,fontSize:12,color:"gray600",children:["Oferta dispon\xedvel ",(0,o.jsx)("strong",{children:"s\xf3 durante a cria\xe7\xe3o"})," da sua vaquinha."]})]}),(0,o.jsx)(c.wn,{padding:[24,0,8],children:(0,o.jsx)(c.o5,{fontFamily:h.a,fontSize:14,weight:700,color:"gray600",children:"Valor da doa\xe7\xe3o"})}),(0,o.jsx)(c.wn,{flex:!0,columnGap:8,padding:[0,0,8],children:T.map(e=>(e=>(0,o.jsx)(M,{flex:!0,flexCssProp:1,cursor:"pointer",borderRadius:8,padding:[12,8],onClick:()=>{E(e),V(!1)},justifyContent:"center",isSelected:!H&&I===e,backgroundColor:H||I!==e?"white":"green50",children:(0,o.jsx)(c.o5,{weight:700,fontSize:14,fontFamily:h.a,color:"gray600",children:(0,q.Ay)(e)})},e))(e))}),(0,o.jsxs)(M,{flex:!0,columnGap:8,cursor:"pointer",borderRadius:8,padding:[0,12],alignItems:"center",onClick:ew,justifyContent:"space-between",isSelected:H,backgroundColor:H?"green50":"white",children:[(0,o.jsx)(R,{disabled:_<=25,onMouseDown:ey(ej),onMouseUp:eb,onMouseLeave:eb,onTouchStart:ey(ej),onTouchEnd:eb,children:(0,o.jsx)(c.o5,{fontFamily:h.f,fontSize:18,weight:700,color:_<=25?"gray300":"gray600",children:"−"})}),(0,o.jsx)(L,{type:"text",inputMode:"decimal",value:B,onChange:e=>{let[n="",t]=e.target.value.replace(/[^0-9,]/g,"").split(","),a=void 0!==t?"".concat(n.slice(0,5),",").concat(t.slice(0,2)):n.slice(0,5);G("R$ ".concat(a)),V(!0);let r=(0,q.IZ)(a);null!==r&&r>0&&(N(r),E(r))},onBlur:()=>{let e=Math.max(25,_||25);N(e),E(e),G(z(e))},onFocus:ew,onClick:e=>e.stopPropagation()}),(0,o.jsx)(R,{onMouseDown:ey(ev),onMouseUp:eb,onMouseLeave:eb,onTouchStart:ey(ev),onTouchEnd:eb,children:(0,o.jsx)(c.o5,{fontFamily:h.f,fontSize:18,weight:700,color:"gray600",children:"+"})})]}),(0,o.jsx)(c.wn,{padding:[24,0],children:(0,o.jsxs)(c.wn,{padding:[16],borderRadius:8,shadow:!0,children:[(0,o.jsx)(c.o5,{fontFamily:h.a,fontSize:12,color:"gray400",weight:700,children:"Total"}),(0,o.jsxs)(c.wn,{flex:!0,flexDirectionDesktop:"row",flexDirectionMobile:"column",columnGap:12,rowGap:8,paddingMobile:[0,0,16],paddingDesktop:[0,0,12],children:[(0,o.jsx)(c.o5,{fontFamily:h.a,fontSize:20,weight:700,color:"gray600",children:(0,q.Ay)(I)}),(0,o.jsxs)(c.wn,{flex:!0,columnGap:8,children:[(0,o.jsxs)(c.wn,{flex:!0,alignItems:"center",columnGap:4,padding:[4,8],backgroundColor:"gray100",borderRadius:8,children:[(0,o.jsx)(O,{children:(0,o.jsx)(b.A,{width:12,height:12})}),(0,o.jsxs)(c.o5,{fontFamily:h.a,fontSize:12,color:"gray600",weight:700,children:[eg," cora\xe7\xf5es"]})]}),(0,o.jsxs)(c.wn,{flex:!0,alignItems:"center",columnGap:4,padding:[4,8],backgroundColor:"gray100",borderRadius:8,children:[(0,o.jsx)(O,{children:(0,o.jsx)(y.A,{width:12,height:12})}),(0,o.jsxs)(c.o5,{fontFamily:h.a,fontSize:12,color:"gray600",weight:700,children:[eg," n\xfameros da sorte"]})]})]})]}),(0,o.jsxs)(c.wn,{padding:[12],backgroundColor:"yellow300",borderRadius:8,flex:!0,justifyContent:"space-between",alignItems:"center",children:[(0,o.jsx)(P,{}),(0,o.jsxs)(D,{fontFamily:h.f,fontSize:12,children:["O valor ser\xe1 depositado na sua vaquinha e voc\xea ainda ganha",(0,o.jsxs)("strong",{children:[" ",eg," n\xfameros da sorte"]})," para concorrer ao ",(0,o.jsx)("strong",{children:"sorteio de R$ 15.000,00 "}),"do Vakinha Premiada!"]})]})]})}),(0,o.jsx)(c.wn,{padding:[0,0,12],children:(0,o.jsx)(c.$n,{variant:"vakinha",size:"large",block:!0,loading:Y,disabled:Y,onClick:eC,children:(0,o.jsx)(c.o5,{fontFamily:h.a,fontSize:20,weight:700,color:"white",children:"Fortalecer a vaquinha"})})}),(0,o.jsx)(c.wn,{flex:!0,justifyContent:"center",padding:[8],onClick:()=>{ex("creationjourney-firstdonation-skip-click"),eA(ek)},cursor:"pointer",children:(0,o.jsx)(c.o5,{fontFamily:h.a,fontSize:12,weight:700,color:"gray400",align:"center",children:"N\xe3o quero fortalecer agora"})})]})]})})}),(0,o.jsx)(F,{pixKey:Z,qrCode:Q,isOpen:$,onConfirm:ez,onClose:()=>{U(!1),ex("creationjourney-firstdonation-pixmodal-close"),et(!1),es(!1)},selectedAmount:I,isLoading:en,paymentNotApproved:el})]})}},76082:(e,n,t)=>{"use strict";var a=t(29563);n.A=void 0;var r=a(t(73231)),o=t(37876);n.A=(0,r.default)((0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy")},85426:(e,n,t)=>{"use strict";t.d(n,{Ay:()=>
1l,IZ:()=>o,aL:()=>i});var a=t(97851),r=t.n(a);t(56082),r().locale("pt-br");let o=e=>r()(e).value(),i=e=>100>Math.abs(e)?new Intl.NumberFormat("pt-BR",{minimumFractionDigits:2,maximumFractionDigits:2}).format(e):new Intl.NumberFormat("pt-BR",{notation:"compact",compactDisplay:"short",maximumFractionDigits:2}).format(e),l=e=>r()(e).format("$ 0,0.00")},88406:(e,n,t)=>{"use strict";var a=t(29563);n.A=void 0;var r=a(t(73231)),o=t(37876);n.A=(0,r.default)((0,o.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},99216:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var a=t(14232);let r=e=>{let[n,t]=(0,a.useState)(!1),r=(0,a.useRef)(null),o="6LdxLr8UAAAAAJ7i5U_8qw7FSU_YuvpN5rsdK3_f";(0,a.useEffect)(()=>{let e=()=>{window.grecaptcha&&window.grecaptcha.ready(()=>t(!0))},n=document.querySelector('script[src*="recaptcha/api.js"]');if(window.grecaptcha)return void e();if(n)return n.addEventListener("load",e),()=>n.removeEventListener("load",e);let a=document.createElement("script");return a.src="https://www.google.com/recaptcha/api.js?render=".concat(o),a.async=!0,a.defer=!0,r.current=document.body.appendChild(a),a.addEventListener("load",e),()=>{var n;a.removeEventListener("load",e),(null==(n=r.current)?void 0:n.parentNode)&&(r.current.parentNode.removeChild(r.current),r.current=null),t(!1)}},[o]);let i=async()=>{if(!n||!window.grecaptcha)throw Error("Captcha must be ready before it can be executed.");return window.grecaptcha.execute(o,{action:e})};return{recaptchaIsReady:n,executeRecaptcha:i}}}},e=>{e.O(0,[1170,4928,7044,8787,5222,9886,6082,5558,2746,4208,5433,1137,636,6593,8792],()=>e(e.s=59942)),_N_E=e.O()}]);

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.