1import{j as a,H as b,a as e,N as k,L as N,h as f,i as v,r as t,F as d}from"./index-e83202b1.js";import{S as w}from"./Account-b7d06948.js";function D(){const{user:r,loadClient:u}=f(),h=v(),[s,p]=t.useState(!1),[i,o]=t.useState(!1),[l,c]=t.useState(""),[m,y]=t.useState(!1);if(m)return e("p",{className:"account-status__title",role:"status",children:"Your Spark & Spiral account has been deleted."});if(!r)return h?e("p",{className:"account-note",children:"Checking your account..."}):a(d,{children:[e("p",{children:"Sign in with the email address on your account. Once you're signed in, the delete button appears here."}),e(w,{submitLabel:"Sign in"})]});const g=async()=>{o(!0),c("");try{const n=await u(),{error:S}=await n.deleteAccount();S?c("We could not delete your account just now. Please try again, or email us (below)."):y(!0)}catch{c("We could not reach the server. Please try again, or email us (below).")}o(!1)};return a(d,{children:[a("p",{children:["Signed in as ",e("strong",{children:r.email||"your Spark & Spiral account"}),"."]}),a("label",{className:"account-check",children:[e("input",{type:"checkbox",checked:s,onChange:n=>p(n.target.checked)}),e("span",{children:"I understand this deletes my account in every Spark & Spiral app and on this site, and it can't be undone."})]}),e("button",{type:"button",className:"button account-danger",onClick:g,disabled:!s||i,children:i?"Deleting...":"Delete my account"}),l&&e("p",{className:"account-error",role:"alert",children:l})]})}function j(){return a("div",{children:[a(b,{children:[e("title",{children:"Delete your Spark & Spiral account - Logic Puzzles"}),e("meta",{name:"description",content:"How to delete your Spark & Spiral account, in any of our apps or on this page, and what gets deleted."})]}),e(k,{}),e("header",{className:"sp-hero",children:a("div",{className:"container",children:[e("span",{className:"eyebrow",children:"Spark & Spiral account"}),e("h1",{children:"Delete your account"}),e("p",{className:"sp-hero__lead",children:"You can delete your Spark & Spiral account at any time. It's one account for every Spark & Spiral app and logicpuzzles.ca, so deleting it removes it everywhere."})]})}),a("div",{className:"container sp-main account-delete",children:[a("section",{className:"sp-section",children:[e("h2",{className:"sp-h2",children:"Before you delete"}),a("p",{children:[e("strong",{children:"Deleting your account doesn't cancel a subscription."})," The App Store or Google Play keeps billing until you cancel it there, so cancel first in the subscription settings on your phone or tablet."]})]}),a("section",{className:"sp-section",children:[e("h2",{className:"sp-h2",children:"What gets deleted"}),a("ul",{children:[e("li",{children:"Your account and the email address you sign in with."}),e("li",{children:"The purchase and subscription records linked to the account, including Spark & Spiral Plus."}),e("li",{children:"Game progress saved to the cloud with your account."})]}),e("p",{children:"Your leaderboard profile (display name and scores) is no longer linked to an account. Progress saved on your device stays on that device. Deletion happens straight away and can't be undone. Copies in our database backups are removed as those backups expire."})]}),a("section",{className:"sp-section",children:[e("h2",{className:"sp-h2",children:"Delete it in an app"}),a("p",{children:["Open the app's ",e("strong",{children:"Settings"}),", tap ",e("strong",{children:"Spark & Spiral account"}),", then tap ",e("strong",{children:"Delete account"}),"."]})]}),a("section",{className:"sp-section",children:[e("h2",{className:"sp-h2",children:"Delete it here"}),e("div",{className:"account-card sp-card",children:e(D,{})})]}),a("section",{className:"sp-section",children:[e("h2",{className:"sp-h2",children:"Can't sign in?"}),a("p",{children:["Email ",e("a",{className:"sp-link",href:"mailto:[email protected]?subject=Delete%20my%20account",children:"[email protected]"}),` from the address on your account with the subject "Delete my account" and we'll delete it for you.`]}),a("p",{className:"account-note",children:["Spark & Spiral is Spark and Spiral Software Inc. See our ",e(N,{to:"/privacy-policy",children:"Privacy Policy"}),"."]})]})]})]})}export{j as default}; 2//# sourceMappingURL=DeleteAccountPage-73fd0e26.js.map
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.