const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./emails._id.verify-YR1uBJy9.js","./chunk-DrgAwqJ9.js","./main-BpPO1zAy.js","./preload-helper-BJNJFfYw.js","./Tooltip-Lf-InH2_.js","./link-DiTuM_g9.js","./useStore-BnK_t0Uy.js","./useTranslation-DVVidJl_.js","./jsx-runtime-C3uB2UIS.js","./useRouter-CHCc-Qju.js","./Dialog-B7h_fmap.js","./dist-D-kDXT9u.js","./Dialog-CcXToTKO.css","./Message-C3OrPzh0.js","./check-circle-solid-Ce55t5xT.js","./error-solid-D_cdpnqe.js","./graphql-BME5mLgf.js","./LoadingSpinner-BR8GsFxa.js","./LoadingSpinner-CwGXxUl9.css","./lazyRouteComponent-BrmVY6gZ.js","./useSearch-D5iXw-In.js","./matchContext-DhAYZKR8.js","./useNavigate-Dy0KAd9G.js","./redirect-DQeO7ATe.js","./not-found-D2Q6nITs.js","./Password-DFm2ysf4.js","./Action-hqmLDXqy.js","./Text-S2uXnuWC.js","./Button-BZSwK8Kg.js","./UnstyledButton-BprPCIHx.js","./IconButton-DsXdt-tQ.js","./Link-CDf7u1FX.js","./pagination-CJI_sjZ6.js","./dates-B4Xr_zGF.js","./main-DXlzhdwC.css","./shared-Dj9JzeQp.css","./arrow-left-BiR6P5Cm.js","./Submit-CmO9RMCD.js","./Trans-BxGYtb_x.js","./ButtonLink-BlaAAQga.js","./ButtonLink-C4AMHHR_.css"])))=>i.map(i=>d[i]);
import{i as e,o as t,t as n}from"./graphql-BME5mLgf.js";import{n as r}from"./not-found-D2Q6nITs.js";import{n as i}from"./redirect-DQeO7ATe.js";import{n as a,t as o}from"./lazyRouteComponent-BrmVY6gZ.js";import{t as s}from"./preload-helper-BJNJFfYw.js";var c=()=>s(()=>import(`./emails._id.verify-YR1uBJy9.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]),import.meta.url),l=e(`
  query VerifyEmail($id: ID!) {
    userEmailAuthentication(id: $id) {
      id
      email
      completedAt
    }
  }
`),u=e=>t({queryKey:[`verifyEmail`,e],queryFn:({signal:t})=>n({query:l,signal:t,variables:{id:e}})}),d=a({async loader({context:e,params:t}){let n=await e.queryClient.ensureQueryData(u(t.id));if(!n.userEmailAuthentication)throw r();if(n.userEmailAuthentication.completedAt)throw i({to:`/`})},component:o(c,`component`)});export{u as n,d as t};
//# sourceMappingURL=emails._id.verify-LOgEfaH_.js.map