PageSourceSearch

https://joinaligned.ai/assets/DataPrivacyPage--4EG8eh-.js

js joinaligned.ai collected 2026-10-05 12:58:51 UTC 6,359 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-C8rJ6Qwf.js","assets/react-query-B4i0_DlC.js","assets/radix-ui-DdHDrzfD.js","assets/firebase-core-BLTXy0Gd.js","assets/firebase-firestore-CgPjk0t4.js","assets/firebase-database-ClaLrFE5.js","assets/firebase-storage-Dvs5WDrb.js","assets/utils-BcRwgjx2.js","assets/icons-BBbjOIlu.js","assets/framer-motion-DW1bmm4j.js","assets/md-react-Br4KiRmz.js","assets/index-CLHRsBNL.css"])))=>i.map(i=>d[i]);
2import{u as A,aj as U,L as I,B as L,_ as r}from"./index-C8rJ6Qwf.js";import{r as x,j as e}from"./react-query-B4i0_DlC.js";import{T as k,L as D}from"./icons-BBbjOIlu.js";import{m as f}from"./framer-motion-DW1bmm4j.js";import"./radix-ui-DdHDrzfD.js";import"./firebase-core-BLTXy0Gd.js";import"./firebase-firestore-CgPjk0t4.js";import"./firebase-database-ClaLrFE5.js";import"./firebase-storage-Dvs5WDrb.js";import"./utils-BcRwgjx2.js";import"./md-react-Br4KiRmz.js";function z(){const[,d]=A(),[,l]=U("/data-privacy/:email"),[c,y]=x.useState(!1),[p,h]=x.useState(!1),[g,w]=x.useState(!1),m=l!=null&&l.email?decodeURIComponent(l.email):"",j=async()=>{if(c){h(!0),w(!0);try{const{registerUser:i}=await r(async()=>{const{registerUser:a}=await import("./index-C8rJ6Qwf.js").then(t=>t.iW);return{registerUser:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])),{getUserProfile:v,getUserProfileIncludingDeleted:P}=await r(async()=>{const{getUserProfile:a,getUserProfileIncludingDeleted:t}=await import("./index-C8rJ6Qwf.js").then(u=>u.iW);return{getUserProfile:a,getUserProfileIncludingDeleted:t}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])),{getAuth:N}=await r(async()=>{const{getAuth:a}=await import("./firebase-core-BLTXy0Gd.js").then(t=>t.a6);return{getAuth:a}},[]),n=N().currentUser;if(n){let a=await v(n.uid);if(!a){const t=await P(n.uid);t&&!t.deletedAt&&(a=t)}if(a){const{updateUserProfile:t}=await r(async()=>{const{updateUserProfile:s}=await import("./index-C8rJ6Qwf.js").then(o=>o.iW);return{updateUserProfile:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]));await t(n.uid,{tosAccepted:!0,privacyUsageAccepted:!0}),await new Promise(s=>setTimeout(s,200));const{getUserProfile:u}=await r(async()=>{const{getUserProfile:s}=await import("./index-C8rJ6Qwf.js").then(o=>o.iW);return{getUserProfile:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])),b=await u(n.uid),{resolveSignupFlowPathAfterAuth:E}=await r(async()=>{const{resolveSignupFlowPathAfterAuth:s}=await import("./index-C8rJ6Qwf.js").then(o=>o.i_);return{resolveSignupFlowPathAfterAuth:s}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]));d(await E(b));return}}try{const a=await i({email:m,firstName:"",lastName:""},void 0,!0,!1,!0);await new Promise(t=>setTimeout(t,200)),d(`/phone-verification/${encodeURIComponent(m)}`);return}catch(a){console.error("❌ Error creating new user account:",a),alert("Error creating account. Please try again.")}}catch(i){console.error("❌ Error handling TOS acceptance:",i),alert("Error processing terms acceptance. Please try again.")}finally{h(!1)}}},_=()=>{d("/chat")};return e.jsx(f.div,{className:"auth-form-container",initial:{opacity:0,y:20},animate:{opacity:g?0:1,y:g?-20:0},exit:{opacity:0,y:-20},transition:{duration:.2,ease:[.22,1,.36,1]},children:e.jsxs("div",{className:"flex flex-col min-h-screen",children:[e.jsx(f.div,{className:"flex items-center justify-center pt-12 md:pt-16 lg:pt-20",style:{marginBottom:"2rem"},initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.5,delay:.1,ease:[.34,1.56,.64,1]},children:e.jsx("div",{className:"flex items-center justify-center w-10 h-10 sm:w-10 sm:h-10 bg-[#000000] rounded-lg shadow-lg",children:e.jsx(k,{className:"w-7 h-7 sm:w-7 sm:h-7",style:{color:"#ffffff",strokeWidth:1}})})}),e.jsxs(f.div,{className:"flex-1 flex flex-col justify-center text-center mb-2 w-full max-w-4xl mx-auto",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2,ease:[.22,1,.36,1]},children:[e.jsxs("div",{className:"max-w-lg mx-auto mb-6",children:[e.jsx("h1",{className:"greeting-text sm:text-4xl md:text-5xl mb-2",children:"Data, Safety, & You"}),e.jsx("p",{className:"subtitle-text sm:text-base lg:text-lg mb-6",style:{fontWeight:300,letterSpacing:"-0.01em"},children:"How Aligned AI ensures a safe AI experience"}),e.jsxs("div",{className:"px-4 md:px-6 lg:px-8 mt-6 max-w-2xl mx-auto",children:[e.jsx("p",{className:"text-gray-700 text-sm text-left mb-3",children:"• Your conversations stay private — we never sell or share your data with anyone."}),e.jsx("p",{className:"text-gray-700 text-sm text-left mb-3",children:"• You can delete any conversation or your entire account instantly, anytime."}),e.jsx("p",{className:"text-gray-700 text-sm text-left",children:"• We only use anonymized patterns (no personal info) to make our safety filters smarter for all users."})]})]}),e.jsxs("div",{className:"hero-content-container mt-8 mb-8 pb-2 mx-0 md:mx-4 lg:mx-4",children:[e.jsxs("div",{className:"email-signup-group",children:[e.jsx("div",{children:e.jsxs("label",{className:"flex justify-center mb-10 gap-3 cursor-pointer",children:[e.jsx("input",{type:"checkbox",checked:c,onChange:i=>y(i.target.checked),className:"mt-0.5 w-4 h-4 accent-black flex-shrink-0","data-testid":"checkbox-agree"}),e.jsxs("span",{className:"text-sm text-gray-700 leading-relaxed",children:["I agree to Aligned AI's"," ",e.jsx("a",{href:"https://tryaligned.ai/legal/consumer-terms",target:"_blank",rel:"noopener noreferrer",className:"underline",children:"Consumer Terms"})," ","and"," ",e.jsx(I,{href:"/acceptable-use",className:"underline",children:"Acceptable Use Policy"}),e.jsx("br",{}),"and confirm that I am at least 18 years of age."]})]})}),e.jsx(L,{onClick:j,disabled:!c||p,className:`auth-button-primary ${c?"":"opacity-50 cursor-not-allowed"}`,"data-testid":"button-continue",children:p?e.jsxs("span",{className:"flex items-center justify-center",children:[e.jsx(D,{className:"w-4 h-4 animate-spin mr-2"}),"Processing..."]}):"Continue"})]}),e.jsx("div",{className:"signup-disclaimer"})]}),m&&e.jsx("div",{className:"text-center text-sm text-gray-600 mt-2 px-4",children:e.jsxs("span",{className:"break-words",children:["Email verified as ",m]}
2)}),e.jsx("button",{onClick:_,className:"text-sm underline","data-testid":"button-different-email",children:"Use a different email"})]})]})})}export{z 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.