const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./emails._id.verify-BsnKmXlo.js","./chunk-DrgAwqJ9.js","./main-DACBFXOf.js","./preload-helper-DCPwm7Mm.js","./Tooltip-CSUySiKe.js","./link-VCY2pbBh.js","./useRouterState-xMX6SC4L.js","./useRouter-BLlZ-uQj.js","./jsx-runtime-C3uB2UIS.js","./useTranslation-BVvb1eZr.js","./utils-BxghApVV.js","./Dialog-CxmUmsxH.js","./dist-BOjaLK_s.js","./Dialog-CcXToTKO.css","./Message-B8MJF762.js","./check-circle-solid-BqI0B4OJ.js","./error-solid-Cj1sWQZ5.js","./graphql-EmLTCMus.js","./LoadingSpinner-DQVgK-Eo.js","./LoadingSpinner-CwGXxUl9.css","./lazyRouteComponent-DV0hD8Wg.js","./useSearch-BnhMxnIE.js","./matchContext-DJGtnHV7.js","./useNavigate-Boe1aPvc.js","./redirect-DQeO7ATe.js","./not-found-D2Q6nITs.js","./Password-CGd2u5KU.js","./Action-5bNJuLmh.js","./Text-BNPBW_LC.js","./Button-CNLyPAFT.js","./UnstyledButton-S--1HsBA.js","./IconButton-DRO4GNq3.js","./Link-DIpMIcH9.js","./pagination-C7tq9V9m.js","./dates-BjnXKeip.js","./main-DXlzhdwC.css","./shared-DxKFJG1t.css","./arrow-left-DvSf6jSH.js","./Submit-BXhV48nu.js","./Trans-Bucpz3Ir.js","./ButtonLink-C8OiTy_H.js","./ButtonLink-C4AMHHR_.css"])))=>i.map(i=>d[i]);
import{i as e,o as t,t as n}from"./graphql-EmLTCMus.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-DV0hD8Wg.js";import{t as s}from"./preload-helper-DCPwm7Mm.js";var c=()=>s(()=>import(`./emails._id.verify-BsnKmXlo.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,41]),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-BykEG842.js.map