1import{r as m,j as e}from"./react-CRjXmzdu.js";import{L as d}from"./router-BDpR9Pxq.js";import{f as u}from"./index-De75rBSf.js";import{B as o,al as h,T as i,aA as g,V as x}from"./mui-CNr6W-ty.js";import"./vendor-IdvdfVCJ.js";import"./redux-Dts5QXDw.js";import"./iconify-BNxKwMGw.js";import"./react-query-Cwaq9TKo.js";import"./lodash-CpjO0APP.js";import"./ui-utils-DqNXFlDe.js";import"./http-3ukMoIbY.js";import"./date-utils-Cj6NCtA4.js";import"./sanitize-RB1-lMRI.js";import"./validation-B8dh9o27.js";import"./i18n-89tvej9L.js";import"./emotion-CfcNTy1E.js";import"./firebase-UICncsdF.js";const n="/images/help/gmail-migration",p=[{id:"start",heading:"Step 1 â Open the migration card",body:["Sign in to your Sarv Workspace account. On the Dashboard page, look for the sync icon in the top-right toolbar (it looks like two circular arrows).",'Click it. A window titled "Connect your Google account" will open.',"Note: if you don't see the circular arrows yet, reload the Dashboard (or hard-refresh with â/Ctrl + Shift + R). The icon appears once the page finishes loading."],figure:{src:`${n}/01-sync-icon.png`,caption:"Top-right toolbar. The sync icon is the leftmost one â click it to open the migration panel."}},{id:"review",heading:"Step 2 â Review what will be migrated",body:["The panel shows what Sarv will pull over from your Google account. By default that's your Drive files, Contacts, Calendar events, and Mail messages.","You have 10 days from the day the panel first appears to complete this migration. After 10 days the option goes away.",`When you're ready, click "Connect with Google".`],figure:{src:`${n}/02-connect-modal.png`,caption:'The "Connect your Google account" window. Four things get migrated: Drive, Contacts, Calendar, Mail.'}},{id:"sign-in",heading:"Step 3 â Sign in with Google",body:["Google will open its own sign-in window. Pick the Google account whose data you want to migrate.",`If you're already signed in to Google in this browser, Google may show "You're signing back in to sarv.com" â click Continue.`],figure:{src:`${n}/03-google-signin.png`,caption:"Google's sign-in prompt. Choose the account you want to migrate FROM."}},{id:"consent",heading:"Step 4 â Grant read access",body:["Google will list exactly what Sarv is asking to read from your account â Gmail, Drive, Contacts, and Calendar.","These are read-only permissions for the purpose of copying the data over. Sarv doesn't send mail, modify your Drive, or change your Calendar events on the Google side.",'Click "Allow" to continue. Nothing is copied yet â this step just gives Sarv permission to start reading.'],figure:{src:`${n}/04-google-scopes.png`,caption:"Google's consent screen. Review what Sarv is asking to access, then click Allow."}},{id:"connected",heading:"Step 5 â Confirmation",body:[`Google redirects back to Sarv with a "Connected" confirmation. The migration will begin in the background â you don't need to keep this tab open.`,"You can close this window and go back to Sarv Workspace at any time."],figure:{src:`${n}/05-connected.png`,caption:'Once you see the "Connected" screen, your permission is registered.'}},{id:"processing",heading:"Step 6 â Watch progress",body:[`Back in Sarv, click the sync icon again. Instead of the "Connect" window you'll now see the "Data Processing" panel.`,"The panel has tabs for Email, Contacts, Drive, Calendar, and Real Time Sync. Each tab shows a table of what's being pulled over, how many items are done, how many are pending, and the overall status.","Migration runs in the background. Small accounts finish within minutes; large mailboxes and drives can take several hours. You can keep using Sarv Workspace normally while it runs."],figure:{src:`${n}/06-processing-empty.png`,caption:"The Data Processing panel just after connecting â the Email tab starts empty."}},{id:"completed",heading:"Step 7 â Done",body:['When a tab shows every row as "Completed" with a green tick, that data is fully in Sarv.',"You can now use Sarv's Mail, Drive, Contacts, and Calendar as normal â everything from your Google account is available."],figure:{src:`${n}/07-drive-completed.png`,caption:"The Drive tab after a successful migration â 459 files pulled over, 0 pending, status Completed."}}],f=[{q:"Does Sarv delete anything from my Google account?",a:"No. The migration is a one-way COPY from Google to Sarv. Your Gmail, Drive files, contacts, and calendar events stay exactly as they are on the Google side."},{q:"I closed the browser mid-migration â did I lose progress?",a:"No. The migration runs on Sarv's servers, not in your browser tab. It keeps going in the background even if you close the tab or turn off your computer."},{q:'I picked "Not now" earlier by accident. How do I re-open the panel?',a:`Click the sync icon in the top toolbar again. The "Connect your Google account" window will appear until you've either completed the migration or the 10-day window has closed.`},{q:"Does Real Time Sync mean my Gmail keeps forwarding to Sarv after migration?",a:"Real Time Sync mirrors new messages that arrive in your Google mailbox into Sarv while the sync is active. It's designed to bridge the cut-over peri
1od so you don't miss messages between when you started the migration and when you switch DNS. It's not a permanent forwarding rule."},{q:"My migration seems stuck at the same number for a long time.",a:"Very large mailboxes take time â Google's API rate-limits how quickly we can pull messages. Check back in an hour. If the numbers still haven't moved after that, contact support with your account email."}],y=l=>`#${l}`,M=()=>{const l=m.useMemo(()=>p.map(t=>({id:t.id,label:t.heading})).concat([{id:"faq",label:"FAQ"},{id:"support",label:"Need more help?"}]),[]);return e.jsxs(o,{sx:{minHeight:"100vh",backgroundColor:"#F7F8FA",color:"#1A1A1A",fontFamily:"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"},children:[e.jsx(o,{sx:{borderBottom:"1px solid #E5E7EB",backgroundColor:"#FFFFFF"},children:e.jsxs(h,{maxWidth:"lg",sx:{py:2,display:"flex",alignItems:"center",gap:2},children:[e.jsx(d,{to:"/",style:{display:"inline-flex",textDecoration:"none"},children:e.jsx(u,{isAuth:!0,height:32})}),e.jsx(o,{sx:{flex:1}}),e.jsx(i,{sx:{fontSize:13,color:"#6B7280"},children:"Help center"})]})}),e.jsxs(h,{maxWidth:"lg",sx:{py:{xs:4,sm:6}},children:[e.jsxs(o,{sx:{mb:4},children:[e.jsx(i,{sx:{fontSize:12,fontWeight:600,letterSpacing:"0.12em",textTransform:"uppercase",color:"#4F46E5",mb:1},children:"Migration guide"}),e.jsx(i,{component:"h1",sx:{fontSize:{xs:28,sm:36},fontWeight:700,letterSpacing:"-0.01em",lineHeight:1.2,mb:1.5},children:"How to migrate your Gmail data to Sarv Workspace"}),e.jsx(i,{sx:{fontSize:15,color:"#6B7280",maxWidth:720,lineHeight:1.6},children:"A step-by-step walkthrough for bringing your Google mail, Drive files, contacts, and calendar events across to your new Sarv Workspace account â no admin help required."}),e.jsx(i,{sx:{fontSize:12,color:"#9CA3AF",mt:1.5},children:"Reading time · about 4 minutes"})]}),e.jsxs(o,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"220px 1fr"},gap:{xs:3,md:6},alignItems:"start"},children:[e.jsxs(o,{component:"nav","aria-label":"On this page",sx:{position:{md:"sticky"},top:{md:24},alignSelf:"start",pt:1,borderTop:"1px solid #E5E7EB",display:{xs:"none",md:"block"}},children:[e.jsx(i,{sx:{fontSize:11,fontWeight:700,letterSpacing:"0.09em",textTransform:"uppercase",color:"#9CA3AF",mt:1.5,mb:1},children:"On this page"}),e.jsx(o,{component:"ol",sx:{pl:0,m:0,listStyle:"none"},children:l.map((t,r)=>e.jsxs(o,{component:"li",sx:{display:"flex",gap:1,alignItems:"baseline",py:.5},children:[e.jsx(i,{component:"span",sx:{fontSize:11,color:"#9CA3AF",minWidth:18,fontVariantNumeric:"tabular-nums"},children:String(r+1).padStart(2,"0")}),e.jsx(g,{href:y(t.id),underline:"hover",sx:{fontSize:13,color:"#4B5563","&:hover":{color:"#4F46E5"}},children:t.label})]},t.id))})]}),e.jsxs(o,{children:[e.jsxs(o,{sx:{borderLeft:"3px solid #4F46E5",backgroundColor:"#EEF0FF",borderRadius:"0 8px 8px 0",px:3,py:2,mb:4},children:[e.jsx(i,{sx:{fontWeight:600,mb:.5,fontSize:14},children:"Before you start"}),e.jsx(i,{sx:{fontSize:14,color:"#374151",lineHeight:1.6},children:"You need to be signed in to Sarv Workspace and know the Google account that holds the data you want to bring over. Have that Google password (or Google session) handy. Nothing on the Google side changes â this is a one-way copy."})]}),p.map((t,r)=>e.jsxs(o,{id:t.id,sx:{mb:6,scrollMarginTop:32},children:[e.jsxs(i,{component:"h2",sx:{fontSize:22,fontWeight:700,letterSpacing:"-0.005em",color:"#111827",mb:1.5,display:"flex",alignItems:"baseline",gap:1.5},children:[e.jsx(o,{component:"span",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:28,height:28,borderRadius:"50%",backgroundColor:"#4F46E5",color:"#FFFFFF",fontSize:13,fontWeight:700},children:r+1}),t.heading.replace(/^Step \d+ â /,"")]}),t.body.map((a,s)=>{const c=/^Note:\s*/i.test(a);return e.jsx(i,{sx:{fontSize:15,lineHeight:1.7,color:c?"#111827":"#374151",fontWeight:c?600:400,mb:1.25,maxWidth:720},children:a},s)}),t.figure&&e.jsxs(o,{component:"figure",sx:{m:0,mt:2,p:2,backgroundColor:"#FFFFFF",border:"1px solid #E5E7EB",borderRadius:2,maxWidth:720},children:[e.jsx(o,{component:"img",src:t.figure.src,alt:t.figure.caption,loading:"lazy",onError:a=>{const s=a.currentTarget.closest("figure");s&&(s.style.display="none")},sx:{display:"block",maxWidth:"100%",height:"auto",borderRadius:1,border:"1px solid #F3F4F6"}}),e.jsx(i,{component:"figcaption",sx:{fontSize:12.5,color:"#6B7280",mt:1.25,fontStyle:"italic",lineHeight:1.5},children:t.figure.caption})]})]},t.id)),e.jsx(x,{sx:{my:5,borderColor:"#E5E7EB"}}),e.jsxs(o,{id:"faq",sx:{mb:5,scrollMarginTop:32},children:[e.jsx(i,{component:"h2",sx:{fontSize:24,fontWeight:700,letterSpacing:"-0.005em",color:"#111827",mb:2.5},children:"FAQ"}),e.jsx(o,{children:f.map((t,r)=>e.jsxs(o,{sx:{py:2.25,borderTop:"1px solid #E5E7EB","&:last-child":{borderBottom:"1px solid #E5E7EB"}},children:[e.jsx(i,{sx:{fontSize:15,fontWeight:600,color:"#111827",mb:.75},children:t.q}),e.jsx(i,{sx:{fontSize:14,lineHeight:1.65,color:"#4B5563"},children:t.a})]},r))})]}),e.jsxs(o,{id:"support",sx:{mt:5,p:3,backgroundColor:"#FFFFFF",border:"1px solid #E5E7EB",borderRadius:2,scrollMarginTop:32},children:[e.jsx(i,{sx:{fontSize:16,fontWeight:700,mb:.75},children:"Need more help?"}),e.jsx(i,{sx:{fontSize:14,color:"#4B5563",lineHeight:1.65,mb:1.5},children:"If something above didn't work, or your migration is stuck for more than an hour with no progress, our team can help."}),e.jsx(g,{component:d,to:"/migration-feedback",underline:"none",sx:{dis
1play:"inline-flex",alignItems:"center",gap:.75,fontSize:14,fontWeight:600,color:"#4F46E5","&:hover":{color:"#4338CA"}},children:"Contact Sarv support â"})]})]})]}),e.jsx(o,{sx:{mt:8,pt:4,borderTop:"1px solid #E5E7EB"},children:e.jsxs(i,{sx:{fontSize:12,color:"#9CA3AF",textAlign:"center"},children:["© ",new Date().getFullYear()," Sarv · This page is safe to share with teammates who haven't finished their migration yet."]})})]})]})};export{M 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.