PageSourceSearch

https://mstudio.ai/build/assets/PaymentThankYouPage.C9W-jfA2.js

js mstudio.ai collected 2026-10-05 12:17:33 UTC 2,646 bytes, 1 lines download raw bytes

1import{r as o}from"./rolldown-runtime.C1f3BsDW.js";import"./inertia.BE4YqsTM.js";import"./http.DWpeO7Ui.js";import{Hr as n,Qr as l,_r as c}from"./icons.ChOq_Y4q.js";import{t as u}from"./react-core.CAMe6Z4j.js";import"./utils.CgzVjNgC.js";import"./state.L8kQliOB.js";import{d,h as p,k as i}from"./entry-client.DX3aUoe5.js";import"./dist.CoNAZqlp.js";import"./dist.DxccqHSW.js";import"./dist.D4237Rk6.js";import"./dist.BhzTvz6X.js";import"./es2015.Cr2X04_P.js";import"./dist.C1cc-Zbw.js";import"./badge.CK53iWwP.js";import"./dropdown-menu.D1MnQ7U0.js";import{t as x}from"./SEO.gPDL2mFy.js";import{t as h}from"./useRoute.D5WEuP_a.js";import"./logo.7ZVhR9ER.js";import{t as f}from"./Header.C54sFzrK.js";import{t as j}from"./Card.CbhBZ5MF.js";var g=o(l(),1),e=o(u(),1);const _=({transactionId:t,amountCents:m=0,alreadyTracked:a=!1})=>{const s=h(),r=m/100;return(0,g.useEffect)(()=>{!t||a||window.purchaseTracked||(window.purchaseTracked=!0,d("Purchase",{value:r,currency:"USD",content_category:"wallet",content_name:"Wallet Top-Up",content_ids:[t],content_type:"product"},t),p("purchase",{event_id:t,ecommerce:{transaction_id:t,value:r,currency:"USD",payment_type:"card",items:[{item_id:"wallet_topup",item_name:"Wallet Top-Up",item_category:"wallet",price:r,quantity:1}]}}))},[t,r,a]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(x,{title:"Payment received",description:"Your payment went through.",noIndex:!0}),(0,e.jsxs)("div",{className:"flex min-h-screen flex-col bg-background",children:[(0,e.jsx)(f,{}),(0,e.jsx)("main",{className:"container flex flex-1 items-center justify-center px-4 py-16",children:(0,e.jsx)("div",{className:"w-full max-w-md",children:(0,e.jsxs)(j,{className:"p-8 text-center",children:[(0,e.jsx)("div",{className:"mx-auto mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-green-100 dark:bg-green-900/30",children:(0,e.jsx)(c,{className:"h-10 w-10 text-success"})}),(0,e.jsx)("h1",{className:"mb-2 text-2xl font-bold text-foreground",children:"Payment received"}),(0,e.jsxs)("p",{className:"mb-6 text-muted-foreground",children:["Your wallet has been credited 
1with"," ",(0,e.jsxs)("span",{className:"font-semibold text-foreground",children:["$",r.toFixed(2)]})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:justify-center",children:[(0,e.jsx)(i,{asChild:!0,children:(0,e.jsxs)("a",{href:`${s("dashboard")}?create-project`,children:["Start a film",(0,e.jsx)(n,{className:"h-4 w-4"})]})}),(0,e.jsx)(i,{variant:"outline",asChild:!0,children:(0,e.jsx)("a",{href:`${s("settings")}?tab=billing`,children:"View billing"})})]})]})})})]})]})};var W=_;export{_ as PaymentThankYouPage,W 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.