const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CashAppPayButton._Cw8aBXc.js","./client.ySKnF1Cn.js","./alert.L02_PIIX.js","./loader-circle.BwcL2Xcc.js","./useTranslation.Cb9bYI5g.js","./context.ZwV2gUb-.js","./circle-alert.D9xMeaAw.js","./refresh-cw.D_zjBwcO.js","./VenmoPayButton.C9pZgya4.js"])))=>i.map(i=>d[i]);
import{c as e,j as t}from"./client.ySKnF1Cn.js";import{_ as a}from"./preload-helper.CTSyBIan.js";const o=()=>{const o=document.getElementById("wallet-up-cashapp-api-button");o&&a(async()=>{const{default:e}=await import("./CashAppPayButton._Cw8aBXc.js");return{default:e}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(({default:a})=>{e.createRoot(o).render(t.jsx(a,{amount:o.dataset.amount||"0",currency:o.dataset.currency||"USD",referenceId:o.dataset.referenceId||"",redirectUrl:window.location.href,onSuccess:e=>{setTimeout(()=>window.location.reload(),2e3)},onError:e=>{console.error("Cash App Pay error:",e)}}))});const r=document.getElementById("wallet-up-venmo-api-button");r&&a(async()=>{const{default:e}=await import("./VenmoPayButton.C9pZgya4.js");return{default:e}},__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url).then(({default:a})=>{e.createRoot(r).render(t.jsx(a,{amount:r.dataset.amount||"0",orderId:r.dataset.orderId||"",email:r.dataset.email||"",firstName:r.dataset.firstName||"",lastName:r.dataset.lastName||"",onSuccess:e=>{setTimeout(()=>window.location.reload(),2e3)},onError:e=>{console.error("Venmo Pay error:",e)}}))})};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",o):o(),document.addEventListener("DOMContentLoaded",()=>{const a=document.getElementById("wallet-up-thankyou-root");if(!a)return;e.createRoot(a).render(t.jsx("div",{}))});
