public function verifyEmail(VerifyEmail $request, User $id): JsonResource|RedirectResponse 	{ 		if ($id->hasVerifiedEmail()) { 			return redirect()->intended(Fortify::redirects('email-verification')); 		}  		if ($id->markEmailAsVerified()) { 			event(new Verified($id)); 		}  		return $request->wantsJson() 			? $id->getModelResource() 			: redirect()->intended(Fortify::redirects('email-verification')); 	}