import"./chunk-QTnfLwEv.js";import{n as e}from"./index-7yDgay5u.js";import{i as t,o as n,t as r}from"./jsx-runtime-DHSfUA5-.js";import{s as i}from"./test.id-DxQrYxPk.js";import{n as a,t as o}from"./cloud-upload-UlV8oOt0.js";import{d as s}from"./route-CPr17rXr.js";import{t as c}from"./HeaderLayoutPage-CDZOzzod.js";import{n as l,t as u}from"./FormPage-B0BqbKo9.js";n();var d=r();function f(){let n=s(),r=e=>{n(`/startup/setup/sync`,{state:{mode:e}})};return(0,d.jsx)(c,{rootClassName:t.Page.SurfaceRoot,contentClassName:t.S3SettingsPage.SetupContent,pageTestId:i.page,contentTestId:i.setupContent,header:{tone:`surface`,showBack:!0},children:(0,d.jsx)(u,{title:e(`settings.sync.title`,`Cloud Sync`),testId:i.startCard,children:(0,d.jsx)(l,{title:e(`settings.sync.initMode`,`Sync setup`),items:[{type:`navigation`,icon:(0,d.jsx)(o,{size:26,strokeWidth:1.5}),title:e(`settings.sync.mode.auto`,`Create new sync`),description:e(`settings.sync.mode.autoDesc`,`Generate a new recovery key and create an encrypted remote library.`),testId:i.createMode,onClick:()=>r(`auto`)},{type:`navigation`,icon:(0,d.jsx)(a,{size:26,strokeWidth:1.5}),title:e(`settings.sync.mode.import`,`Connect existing sync`),description:e(`settings.sync.mode.importDesc`,`Use a previous recovery key to connect to an encrypted remote library.`),testId:i.importMode,onClick:()=>r(`import`)}]})})})}export{f as StartupSetupPage};
//# sourceMappingURL=setup-osNGlsqz.js.map