PageSourceSearch

https://www.causes.com/_next/static/chunks/7036-a9cc92d6431d2b9a.js

js causes.com collected 2026-09-24 08:36:08 UTC 25,762 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7036],{1333:(e,t,n)=>{n.d(t,{A:()=>B}),n(14232);var r=n(65484),a=n(3412),i=n(81490),o=n(21911),s=n(31866),c=n(60696),l=n(39533),d=n(42969),p=n(57683),u=n(12524),m=n(45793),h=(0,p.Ay)("div")(function(e){return{backgroundColor:e.theme.palette.grey[50]}}),x=(0,p.Ay)(o.A)({paddingTop:"65px",paddingBottom:"120px"}),A=(0,p.Ay)(r.A)(function(e){return{display:"inline-block",borderBottom:"solid",borderBottomColor:e.theme.palette.primary.light,fontWeight:700,fontSize:"24px"}}),f=(0,p.Ay)(i.A)(function(e){return e.theme,{paddingTop:"30px",paddingBottom:"30px"}}),g=(0,p.Ay)(r.A)(function(e){return{color:e.theme.palette.grey[700]}}),v=(0,p.Ay)(i.A)({paddingBottom:"35px"}),j=(0,p.Ay)(i.A)(function(e){var t=e.theme;return(0,d.A)({paddingTop:0,paddingLeft:"12px"},t.breakpoints.down("md"),{paddingTop:"12px",paddingLeft:0})}),y=(0,p.Ay)(i.A)({display:"flex",justifyContent:"flex-end"}),b=(0,p.Ay)(i.A)({display:"flex",justifyContent:"space-between",alignItems:"flex-start"}),w=(0,p.Ay)(u.A)({padding:"32px 0 32px",display:"flex",flexDirection:"column",rowGap:"8px"}),S=(0,p.Ay)(u.A)({width:"215px",height:"100px",backgroundColor:m.X1}),C=(0,p.Ay)(i.A)(function(e){var t=e.theme;return(0,d.A)({paddingTop:0,paddingLeft:"12px",alignItems:"center"},t.breakpoints.down("md"),{paddingTop:"12px",paddingLeft:0})}),E=(0,p.Ay)(r.A)({fontWeight:700,fontSize:"13px",lineHeight:"17px"}),O=(0,p.Ay)(u.A)({display:"flex",justifyContent:"space-between",width:"100%",alignItems:"flex-end"}),N=(0,p.Ay)(r.A)({fontSize:"13px",lineHeight:"17px"}),T=(0,p.Ay)(r.A)({fontSize:"16px",color:"#666666"}),k=(0,p.Ay)(i.A)({paddingTop:"35px",paddingBottom:"75px",justifyContent:"flex-end"}),z=(0,p.Ay)(i.A)({display:"flex"}),P=(0,p.Ay)(r.A)({marginRight:"27px"}),I=(0,p.Ay)(u.A)({width:"170px",height:"170px",backgroundColor:m.X1}),D=(0,p.Ay)("img")({objectFit:"cover",width:"100%",height:"100%"}),W=n(37876);let B=function(e){var t=e.donation,n=e.paymentInfo,d=e.confirmationNo,p=e.walletBalance,u=e.walletConfirmationNo,m=e.gridObj,B=void 0===m?[]:m,F=e.donationFrequency,M=e.tipAmount,L=void 0===M?0:M,U=(0,c.Lb)(n.donationAmount,p),V=(0,c.yJ)(n.donationAmount,p),R=(0,l.lz)(n.donationAmount-L,L),H=function(e,t){return(0,W.jsxs)(b,{size:12,flexDirection:"row",children:[(0,W.jsx)(r.A,{noWrap:!0,variant:"subtitle1",children:e}),(0,W.jsxs)(r.A,{noWrap:!0,variant:"h6",children:["$",t.toFixed(2)]})]})};return(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(h,{children:(0,W.jsxs)(x,{maxWidth:"md",children:[(0,W.jsx)(A,{variant:"h5",children:"Transaction Details"}),(0,W.jsx)(a.A,{}),(0,W.jsxs)(f,{container:!0,children:[(0,W.jsxs)(i.A,{container:!0,size:{xs:12,md:7},children:[(0,W.jsxs)(i.A,{size:{xs:6,md:4},children:[(0,W.jsx)(g,{noWrap:!0,variant:"subtitle1",children:"Date"}),(0,W.jsx)(r.A,{noWrap:!0,variant:"subtitle1",children:n.date})]}),(0,W.jsxs)(i.A,{size:{xs:6,md:8},children:[(0,W.jsx)(g,{noWrap:!0,variant:"subtitle1",children:"Confirmation Number"}),(0,W.jsx)(r.A,{noWrap:!0,variant:"subtitle1",children:U?void 0===u?"":u:d})]})]}),(0,W.jsxs)(i.A,{container:!0,size:{xs:12,md:5},children:[(0,W.jsxs)(i.A,{size:{xs:6},children:[(0,W.jsx)(g,{noWrap:!0,variant:"subtitle1",children:"Payment Type"}),(0,W.jsx)(r.A,{noWrap:!0,variant:"subtitle1",children:U?"Wallet":"Credit Card"})]}),(0,W.jsxs)(i.A,{size:{xs:6},children:[(0,W.jsx)(g,{noWrap:!0,variant:"subtitle1",children:"Cardholder Name"}),(0,W.jsx)(r.A,{variant:"subtitle1",children:U?"N/A":n.cardholderName})]})]})]}),(0,W.jsx)(v,{container:!0,children:(0,W.jsxs)(i.A,{container:!0,size:{xs:12},children:[(0,W.jsx)(i.A,{size:{xs:12,md:3},children:(0,W.jsx)(I,{children:(0,W.jsx)(D,{src:t.image,alt:"Donation Image"})})}),(0,W.jsxs)(j,{container:!0,size:{xs:12,md:9},children:[(0,W.jsx)(y,{size:{xs:12},container:!0,direction:"column",alignItems:"flex-start",children:(0,W.jsx)(r.A,{variant:"h6",children:t.name})}),H("".concat(p?"Direct":F&&"once"!==F?F.charAt(0).toUpperCase()+F.slice(1):"One-time"," Donation"),s.Lm?R:(0,c.jv)(n.donationAmount,p)),p?H("Wallet Donation",V):(0,W.jsx)(W.Fragment,{})]})]})}),0!==B.length&&(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(A,{variant:"h5",children:"Donation Breakdown"}),(0,W.jsx)(a.A,{}),(0,W.jsx)(w,{children:B.map(function(e){var t;return(0,W.jsxs)(i.A,{container:!0,size:{xs:12},children:[(0,W.jsx)(i.A,{size:{xs:12,md:3},children:(0,W.jsx)(S,{children:(0,W.jsx)(D,{src:e.src,alt:e.organization})})}),(0,W.jsx)(C,{container:!0,size:{xs:12,md:9},children:(0,W.jsxs)(y,{size:{xs:12},container:!0,direction:"column",alignItems:"flex-start",children:[(0,W.jsx)(E,{children:e.organization}),(0,W.jsxs)(O,{children:[(0,W.jsxs)(N,{children:[e.size,"%"]}),(0,W.jsx)(T,{children:(t=e.size,"$".concat((t/100*R).toFixed(2)))})]})]})})]},e.organizationId)})})]}),(0,W.jsx)(a.A,{}),(0,W.jsxs)(k,{children:[(0,W.jsxs)(z,{children:[(0,W.jsx)(P,{noWrap:!0,variant:"h6",children:"Donation Total:"}),(0,W.jsxs)(r.A,{noWrap:!0,variant:"h6",children:["$",R.toFixed(2)]})]}),s.Lm&&(0,W.jsxs)(z,{children:[(0,W.jsx)(P,{noWrap:!0,variant:"h6",children:"Payment Total:"}),(0,W.jsxs)(r.A,{noWrap:!0,variant:"h6",children:["$",(0,c.d)(n.donationAmount)]})]})]}),(0,W.jsx)(o.A,{maxWidth:"sm",children:(0,W.jsxs)(r.A,{variant:"h6",align:"center",children:["Your donation to ",(0,W.jsx)("strong",{children:t.name})," may take 6-10 business days to be posted and available in your tax docs."]})})]})})})}}
1,19189:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(14232),a=n(99447),i=n(23215);let o=function(e){var t=(0,a.A)(),n=(0,r.useState)({height:i.pc.md,width:i.pc.md}),o=n[0],s=n[1];return(0,r.useEffect)(function(){var n=(e||i.pc)[t];s({height:n,width:n})},[t]),o}},32596:(e,t,n)=>{n.d(t,{A:()=>L});var r,a=n(63857),i=n(43081),o=n.n(i),s=n(14232),c=n(12524),l=n(65484),d=n(61902),p=n(4241),u=n(31866),m=n(60696),h=n(45793),x=n(42969),A=n(81490),f=n(65401),g=n(64743),v=n(52833),j=n(59860),y=n(27925),b=n(39548),w=n(37876),S=["component","options"];function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){(0,x.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var O=s.forwardRef(function(e,t){var n=e.component,r=e.options,a=(0,j.A)(e,S),i=(0,b.A)(),o=s.useState(null),c=(0,y.A)(o,2),l=c[0],d=c[1];return s.useImperativeHandle(t,function(){return{focus:function(){return l.focus()}}},[l]),(0,w.jsx)(n,E({onReady:d,options:E(E({},r),{},{style:{base:{color:i.palette.text.primary,fontSize:"16px",lineHeight:"1.4375em",fontFamily:i.typography.fontFamily,fontWeight:400},invalid:{color:i.palette.text.primary}}})},a))}),N=["helperText","InputLabelProps","InputProps","inputProps","error","labelErrorMessage","stripeElement"];function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach(function(t){(0,x.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var z=function(e){var t=e.helperText,n=e.InputLabelProps,r=e.InputProps,a=void 0===r?{}:r,i=e.inputProps,o=e.error,s=e.labelErrorMessage,c=e.stripeElement,l=(0,j.A)(e,N);return(0,w.jsx)(f.A,k({fullWidth:!0,variant:"outlined",required:!0,InputLabelProps:k(k({},n),{},{shrink:!0}),error:o,InputProps:k(k({},a),{},{inputProps:k(k(k({},i),a.inputProps),{},{component:c}),inputComponent:O}),helperText:o?s:t},l))};function P(e){return(0,w.jsx)(z,k({label:"Card number",stripeElement:d.CardNumberElement},e))}function I(e){return(0,w.jsx)(z,k({label:"Expiry date",stripeElement:d.CardExpiryElement},e))}function D(e){return(0,w.jsx)(z,k({label:"CVC/CVV",stripeElement:d.CardCvcElement},e))}var W=(0,n(57683).Ay)(c.A)({maxWidth:"350px",margin:"28px auto 0px auto",".fieldsContainer":{margin:"-8px"},".fieldItem":{padding:"8px"},".cardholderNameField":{input:{"&::placeholder":{opacity:1,color:h.iS,fontWeight:500}}},".snackbarItem":{padding:"0px"},".snackbarContainer":{left:"50% !important",transform:"translateX(-50%)"}});function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach(function(t){(0,x.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let M=function(e){var t=e.errorOpen,n=e.paymentError,r=e.paymentInfo,a=e.setElements,i=e.setErrorOpen,o=e.setPaymentInfo,c=e.setStripe,l=e.setSuccessOpen,p=e.successOpen,u=e.cardNumberState,m=e.setCardNumberState,h=e.expiredState,j=e.setExpiredState,y=e.cvcState,b=e.setCvcState,S=e.cardholderError,C=e.setCardholderError,E=e.setCardholderName,O=(0,d.useStripe)(),N=(0,d.useElements)();(0,s.useEffect)(function(){c(O)},[O,c]),(0,s.useEffect)(function(){a(N)},[N,a]);var T=function(e,t){"clickaway"!==t&&(l(!1),i(!1))},k=u.cardNumberError,z=h.expiredError,B=y.cvcError;return(0,w.jsx)(W,{children:(0,w.jsxs)(A.A,{container:!0,spacing:2,className:"fieldsContainer",children:[(0,w.jsx)(A.A,{size:12,className:"fieldItem",children:(0,w.jsx)(P,{error:!!k,labelErrorMessage:k,onChange:function(e){var t=e.complete,n=e.error;m({cardNumberComplete:t,cardNumberError:(void 0===n?{message:""}:n).message})}})}),(0,w.jsx)(A.A,{size:{xs:12,md:6},className:"fieldItem",children:(0,w.jsx)(I,{error:!!z,labelErrorMessage:z,onChange:function(e){var t=e.complete,n=e.error;j({expiredComplete:t,expiredError:(void 0===n?{message:""}:n).message})}})}),(0,w.jsx)(A.A,{size:{xs:12,md:6},className:"fieldItem",children:(0,w.jsx)(D,{error:!!B,labelErrorMessage:B,onChange:function(e){var t=e.complete,n=e.error;b({cvcComplete:t,cvcError:(void 0===n?{message:""}:n).message})}})}),(0,w.jsx)(A.A,{size:12,className:"fieldItem",children:(0,w.jsx)(f.A,{label:"Cardholder name *",name:"cardholderName",placeholder:"Name",value:r.cardholderName?r.cardholderName:"",onChange:function(e){C(e.currentTarget.value?"":"Your cardholder name is incomplete."),o(F(F({},r),{},(0,x.A)({},e.currentTarget.name,e.currentTarget.value))),E&&E(e.currentTarget.value)},variant:"outlined",fullWidth:!0,error:!!S,helperText:S||"",InputLabelProps:{shrink:!0},className:"cardholderNameField"})}),(0,w.jsx)(A.A,{container:!0,size:12,justifyContent:"center",className:"fieldItem",children:(0,w.jsxs)(A.A,{className:"snackbarItem",children:[(0,w.jsx)(g.A,{open:p,autoHideDuration:6e3,onClose:T,className:"snackbarContainer",children:(0,w.jsx)(v.A,{onClose:T,severity:"success",children:"Payment Successful"})}),(0,w.jsx)(g.A,{open:t,autoHideDuration:6e3,onClose:T,className:"snackbarContainer",children:(0,w.jsx)(v.A,{onClose:T,severity:"error",children:n})})]})})]})})};(0,a.A)(o().mark(function e(){return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=(0,p.c)("pk_live_51JpawSAP6g1sIwBVkCTa5r7YSyvIzlJCx4pOzvOfuK5dQuZFIV6FelIbFN29bcGD9NE4fjOl0e4XJ9hpcNPbwEbE00dc8scGvr");case 2:case"end":return e.stop()}},e)}))();let L=function(e){var t,n=e.errorOpen,a=e.paymentError,i=e.paymentInfo,o=e.setElements,s=e.setErrorOpen,p=e.setPaymentInfo,x=e.setStripe,A=e.setSuccessOpen,f=e.successOpen,g=e.walletBalance,v=e.cardNumberState,j=e.setCardNumberState,y=e.expiredState,b
1=e.setExpiredState,S=e.cvcState,C=e.setCvcState,E=e.cardholderError,O=e.setCardholderError,N=e.setCardholderName,T=(0,m.jv)(i.donationAmount,g);return(0,w.jsxs)(c.A,{sx:{maxWidth:"638px",margin:"0 auto",border:"1px solid ".concat(h.A2),borderRadius:"10px",textAlign:"center",padding:"0 10px"},children:[(0,w.jsxs)(l.A,{sx:{textAlign:"center",fontWeight:700,fontSize:"18px",marginTop:"26px",marginBottom:"16px"},children:["Payment: ",((t=T)<0&&(t=0),new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(t))]}),(0,w.jsx)(d.Elements,{stripe:r,options:{fonts:[{cssSrc:"https://fonts.googleapis.com/css2?family=".concat(u.mw,"&display=swap")}]},children:(0,w.jsx)(M,{paymentInfo:i,setPaymentInfo:p,setSuccessOpen:A,setErrorOpen:s,successOpen:f,errorOpen:n,paymentError:a,setStripe:x,setElements:o,cardNumberState:v,setCardNumberState:j,expiredState:y,setExpiredState:b,cvcState:S,setCvcState:C,cardholderError:E,setCardholderError:O,setCardholderName:N})})]})}},39921:(e,t,n)=>{n.d(t,{A:()=>S});var r=n(14232),a=n(42118),i=n(81490),o=n(52189),s=n(39548),c=n(34711),l=n(14780),d=n(65484),p=n(44254),u=n(21911),m=n(79762),h=n(65401),x=n(25778),A=n(88992),f=n(94555),g=n(31866),v=n(60696),j=n(57683),y=n(96709),b=(0,j.Ay)(y.A)({".contentContainer":{padding:"30px 40px 35px 40px !important",textAlign:"center"},".formContents":{maxWidth:"705px",margin:"20px auto 0"},".mappedFieldGrid":{paddingBottom:"24px"},".fieldLabelText":{fontSize:"12px"},".fieldLabelExplanation":{marginTop:"5px",fontSize:"12px"},".iconButton":{position:"absolute",right:8,top:8},".dialogTitle":{padding:"48px 42px 0px 42px"},".titleText":{fontWeight:700,fontSize:"24px",textAlign:"center"},".disclaimerText":{marginBottom:"20px"},".saveButtonGrid":{paddingRight:"8px"},".optionTitle":{marginBottom:"5px",fontStyle:"italic"},".customAmountInput":{label:{paddingRight:"5px",background:"white"}}}),w=n(37876);let S=function(e){var t,n=e.open,j=e.handleOpenClose,y=e.donationAmount,S=e.tipAmount,C=e.setTipAmount,E=(0,r.useState)(S),O=E[0],N=E[1],T=y*g.d9/100,k=(0,r.useState)(""),z=k[0],P=k[1];(0,r.useEffect)(function(){N(S)},[S]);var I=(0,A.mN)({}),D=I.handleSubmit,W=I.trigger,B=function(e){""===e||0>+e?P("Cover must be 0 or positive"):P("")},F=function(e){var t=(0,v.MC)(e.currentTarget.value,!0);B(t),N(t)},M=[{id:"None",amount:0},{id:"Cover",amount:T},{id:"Grow",amount:y*g.Q2/100}],L=function(){N(S),j(),W()},U=(0,s.A)(),V=(0,c.A)(U.breakpoints.down("sm")),R=(0,f.S)().isMobileApp;return(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(b,{onClose:L,open:n,fullScreen:V,sx:R?{marginTop:"50px"}:{},children:[(0,w.jsxs)(l.A,{className:"dialogTitle",children:[(0,w.jsx)(d.A,{className:"titleText",children:"Help cover the cost of your donation"}),(0,w.jsx)(p.A,{className:"iconButton","aria-label":"close",onClick:L,children:(0,w.jsx)(a.A,{})})]}),(0,w.jsxs)(u.A,{className:"contentContainer",children:[(0,w.jsx)("div",{className:"messageInfo",children:(0,w.jsxs)("p",{style:{marginTop:"0"},children:["A donation costs more than ",g.d9,"% to process.",(0,w.jsx)("br",{}),"Please help cover that cost."]})}),(0,w.jsx)(d.A,{sx:{lineHeight:"18.75px",maxWidth:"515px",margin:"auto",fontWeight:"bold"},children:"Select cover amount:"}),(0,w.jsx)(i.A,{container:!0,sx:{marginTop:"16px",marginBottom:"16px"},justifyContent:"center",wrap:"wrap",children:(t=function(e){var t={style:"currency",currency:"USD",minimumFractionDigits:2};return e%1==0&&(t.minimumFractionDigits=0),new Intl.NumberFormat("en-US",t).format(e)},M.map(function(e){return(0,w.jsx)(i.A,{sx:{margin:"8px !important"},children:(0,w.jsxs)("div",{children:[(0,w.jsx)("div",{className:"optionTitle",children:e.id}),(0,w.jsx)(o.A,{size:"large",variant:"outlined",sx:{minWidth:"75px",maxWidth:"75px",fontWeight:e.amount===+O?"900":"normal"},onClick:F,value:e.amount,children:t(e.amount)})]})},e.id)}))}),(0,w.jsx)(m.A,{children:(0,w.jsx)(h.A,{id:"cover-amount-input",variant:"outlined",label:"Custom Amount",type:"number",value:O,onChange:function(e){var t=(0,v.MC)(e.currentTarget.value);B(t),N(t)},className:"customAmountInput",error:z.length>0,helperText:z,InputProps:{startAdornment:(0,w.jsx)(x.A,{position:"start",children:"$"})},inputProps:{min:"0",step:"any"}}
1)}),(0,w.jsxs)(d.A,{sx:{marginTop:"20px",fontStyle:"italic"},children:["Your charities will receive"," ",+O<T?(0,w.jsxs)("span",{children:["$".concat((0,v.d)(+(y-T+ +O)),"."),(0,w.jsx)("br",{}),"\xa0"]}):+O>T?(0,w.jsxs)("span",{children:["your full donation, and",(0,w.jsx)("br",{}),"you are helping us reach more charities."]}):(0,w.jsxs)("span",{children:["your full donation.",(0,w.jsx)("br",{}),"\xa0"]})]}),(0,w.jsx)("form",{id:"gtDonationTip",className:"formContents",children:(0,w.jsx)(i.A,{container:!0,direction:"row-reverse",children:(0,w.jsx)(i.A,{className:"saveButtonGrid",children:(0,w.jsx)(o.A,{variant:"contained",color:"primary",size:"large",onClick:D(function(){""===O||0>+O||(C(O),j())}),children:"Save"})})})})]})]})})}},47135:(e,t,n)=>{n.d(t,{A:()=>d}),n(14232);var r=n(39548),a=n(65484),i=n(42969),o=n(57683),s=n(45793),c=(0,o.Ay)("div")(function(e){var t=e.theme;return{margin:"20px auto",".gridDescriptionText":{fontSize:"16px",textAlign:"center"},".editTextField":{width:"100%",backgroundColor:s.Ni,"& .MuiInputBase-root":(0,i.A)((0,i.A)({fontSize:"1.5rem"},t.breakpoints.down("lg"),{fontSize:"1.2rem"}),t.breakpoints.down("md"),{fontSize:"1rem"})}}}),l=n(37876);let d=function(e){var t=e.gridWidth,n=e.gridDescription,i=e.landingPage,o=(0,r.A)(),s=void 0!==i&&i&&!n;return(0,l.jsx)(c,{style:{width:t},children:(0,l.jsx)(a.A,{className:"gridDescriptionText",sx:{color:s?o.palette.grey[600]:o.palette.common.black},children:n||(s?"Tell us about why you give...":"")})})}},49594:(e,t,n)=>{n.d(t,{A:()=>r});let r={src:"/_next/static/media/circleCheckmark.b95ea748.png",height:240,width:240,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJ1BMVEVDscdEs8lEtstDs8hEtMZMaXE/rcNDs8dDscVCsMZFts1HvdRFuM22i9B4AAAAC3RSTlP3s+r9LQAwp1SPzAXco9EAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAA3SURBVHicNctBDsAwCAPBNSSByPz/vVUr9T7DXgKtzQlnOg7ypCsElKsB5nbHgJw3cvRif/jvDytWATfLlcb5AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},54202:(e,t,n)=>{n.d(t,{A:()=>b}),n(14232);var r=n(81490),a=n(21911),i=n(52189),o=n(65484),s=n(48230),c=n.n(s),l=n(31866),d=n(39533),p=n(42969),u=n(57683),m=(0,u.Ay)(a.A)({paddingTop:"30px",paddingBottom:"70px"}),h=(0,u.Ay)(r.A)(function(e){var t=e.theme;return(0,p.A)((0,p.A)({},t.breakpoints.down("md"),{padding:"0px 10px 0px 10px"}),"margin","-16px")}),x=(0,u.Ay)(r.A)({display:"flex",justifyContent:"center",alignSelf:"center",padding:"16px !important"}),A=(0,u.Ay)("img")({width:"45%"}),f=(0,u.Ay)(o.A)(function(e){var t=e.theme;return(0,p.A)({fontSize:"2.5rem",fontWeight:500},t.breakpoints.down("md"),{fontSize:"1.5rem",fontWeight:500})}),g=(0,u.Ay)(o.A)(function(e){var t=e.theme;return(0,p.A)({fontSize:"1.5rem",fontWeight:400},t.breakpoints.down("md"),{fontSize:"1rem",fontWeight:400})}),v=(0,u.Ay)(r.A)({marginTop:"2em",padding:"16px !important"}),j=n(49594),y=n(37876);let b=function(e){var t=e.userEmail,n=e.cashout,s=void 0!==n&&n,p=e.setWalletState,u=e.support,b=void 0!==u&&u,w=e.supportNext,S=e.donationFrequency,C=void 0===S?"":S;return(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(m,{maxWidth:"md",children:(0,y.jsxs)(h,{container:!0,direction:"column",alignContent:"center",spacing:4,children:[(0,y.jsx)(x,{size:12,children:(0,y.jsx)(A,{src:j.A.src,alt:"Email"})}),(0,y.jsx)(r.A,{sx:{padding:"16px !important"},children:(0,y.jsx)(f,{variant:"h4",align:"center",children:s?"Cash-Out Successful":"Thank you!"})}),(0,y.jsxs)(r.A,{sx:{padding:"16px !important"},children:[(0,y.jsxs)(g,{variant:"h6",align:"center",children:[s?"A money transfer has been initiated.":"Your donation was successful."," A confirmation email has been sent to ",(0,y.jsx)("strong",{children:t}),"."]}),b?(0,y.jsxs)(g,{variant:"h6",align:"center",sx:{marginTop:"20px",fontSize:"16px"},children:["This is a ","once"===C?"one-time":C," donation."," ","once"!==C?(0,y.jsxs)("span",{children:["Future payments will be made automatically at the beginning of each period until canceled, starting on ",(0,d.tU)(C),"."]}):null]}):null]}),(0,y.jsx)(v,{children:(0,y.jsx)(a.A,{sx:{maxWidth:"300px !important"},children:s&&p?(0,y.jsx)(i.A,{variant:"contained",color:"primary",fullWidth:!0,onClick:function(){return p("")},children:"Back to My Wallet"}):b?(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(g,{variant:"h6",align:"center",children:(0,y.jsxs)("a",{href:void 0===w?"":w,children:["Back to ",l.KM]})})}):(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(o.A,{align:"center",children:(0,y.jsx)(c(),{href:"/discover",children:(0,y.jsx)(i.A,{variant:"contained",color:"primary",fullWidth:!0,children:"Discover"})})})})})})]})})})}},56203:(e,t,n)=>{n.d(t,{A:()=>r});let r={src:"/_next/static/media/leaf.3e0a3365.png",height:1e3,width:700,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAALVBMVEX///+ksEicqDiNnBqptFOvuV7N1Jru79v19uu4wW/f48Dy9Obn6s/AyIHU2qrjauuoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMElEQVR4nBXKRxLAIBAEsZ6NBMP/n+tCZ4FsAGU+gZT8Qig9YNpxQVtGAV1fvwt7/RHvALobYhniAAAAAElFTkSuQmCC",blurWidth:6,blurHeight:8}},70041:(e,t,n)=>{n.d(t,{k2:()=>l,lS:()=>d,zm:()=>p});var r=n(63857),a=n(43081),i=n.n(a),o=n(95417),s=n(31866),c=function(e,t){var n=new Intl.NumberFormat(["en-US"],{style:"currency",currency:t,currencyDisplay:"symbol"}).formatToParts(e),r=!0;
1return n.forEach(function(e){"decimal"===e.type&&(r=!1)}),r?e:Math.round(100*e)},l=function(){var e=(0,r.A)(i().mark(function e(t,n,a){var l,d,p;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s.Bo){e.next=2;break}throw Error("Donations not enabled.");case 2:if(!(t<1)){e.next=4;break}throw Error("Invalid amount.");case 4:return l={amount:c(t,"usd"),currency:"usd",metadata:a||{}},n&&(l.payment_method=n),e.t0="Bearer ",e.next=9,o.N.currentSession();case 9:return e.t1=e.sent.getIdToken().getJwtToken(),e.t2=e.t0.concat.call(e.t0,e.t1),e.t3={Authorization:e.t2,"Content-Type":"application/json"},e.t4=JSON.stringify(l),d={method:"POST",headers:e.t3,body:e.t4},p=function(){var e=(0,r.A)(i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=1,e.next=4,fetch("https://cvc06hbxwg.execute-api.us-east-2.amazonaws.com/api/gravvyStripe-".concat("prod","/createPaymentIntent"),d);case 4:return t=e.sent,e.abrupt("return",t.json());case 8:throw e.prev=8,e.t0=e.catch(1),Error(e.t0.message);case 11:case"end":return e.stop()}},e,null,[[1,8]])}));return function(){return e.apply(this,arguments)}}(),e.abrupt("return",p());case 16:case"end":return e.stop()}},e)}));return function(t,n,r){return e.apply(this,arguments)}}(),d=function(){var e=(0,r.A)(i().mark(function e(t,n,a,s,l){var d,p,u;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t<1)){e.next=2;break}throw Error("Invalid amount.");case 2:return d={amount:c(t,"usd"),currency:"usd",frequency:n,paymentMethodId:a,confirmationNo:s,metadata:l||{}},e.t0="Bearer ",e.next=6,o.N.currentSession();case 6:return e.t1=e.sent.getIdToken().getJwtToken(),e.t2=e.t0.concat.call(e.t0,e.t1),e.t3={Authorization:e.t2,"Content-Type":"application/json"},e.t4=JSON.stringify(d),p={method:"POST",headers:e.t3,body:e.t4},u=function(){var e=(0,r.A)(i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=1,e.next=4,fetch("https://cvc06hbxwg.execute-api.us-east-2.amazonaws.com/api/gravvyStripe-".concat("prod","/createSubscriptionSchedule"),p);case 4:return t=e.sent,e.abrupt("return",t.json());case 8:throw e.prev=8,e.t0=e.catch(1),Error(e.t0.message);case 11:case"end":return e.stop()}},e,null,[[1,8]])}));return function(){return e.apply(this,arguments)}}(),e.abrupt("return",u());case 13:case"end":return e.stop()}},e)}));return function(t,n,r,a,i){return e.apply(this,arguments)}}(),p=function(){var e=(0,r.A)(i().mark(function e(t){var n,a,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n={subscriptionScheduleId:t},e.t0="Bearer ",e.next=4,o.N.currentSession();case 4:return e.t1=e.sent.getIdToken().getJwtToken(),e.t2=e.t0.concat.call(e.t0,e.t1),e.t3={Authorization:e.t2,"Content-Type":"application/json"},e.t4=JSON.stringify(n),a={method:"POST",headers:e.t3,body:e.t4},s=function(){var e=(0,r.A)(i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=1,e.next=4,fetch("https://cvc06hbxwg.execute-api.us-east-2.amazonaws.com/api/gravvyStripe-".concat("prod","/cancelSubscriptionSchedule"),a);case 4:return t=e.sent,e.abrupt("return",t.json());case 8:throw e.prev=8,e.t0=e.catch(1),Error(e.t0.message);case 11:case"end":return e.stop()}},e,null,[[1,8]])}));return function(){return e.apply(this,arguments)}}(),e.abrupt("return",s());case 11:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()},81420:(e,t,n)=>{n.d(t,{A:()=>r});let r={"Special Purpose":"Special Purpose","In Memory of":"Loved One's Name",Subcharity:"Subcharity Name"}},94349:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(63857),a=n(43081),i=n.n(a),o=n(31866);let s=function(){var e=(0,r.A)(i().mark(function e(t){var n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o.Bo){e.next=2;break}throw Error("Donations are currently disabled.");case 2:return e.prev=2,e.next=5,fetch("https://0e4mfq2b4c.execute-api.us-east-2.amazonaws.com/default/givinga-dev/getCharityId?ein=".concat(t));case 5:return n=e.sent,e.abrupt("return",n.json());case 9:throw e.prev=9,e.t0=e.catch(2),Error(e.t0.message);case 12:case"end":return e.stop()}},e,null,[[2,9]])}
1));return function(t){return e.apply(this,arguments)}}()}}]);

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.