The analytic structure of an algebraic quantum group