I have come across two different defintions of a topological manifold -
Def 1: A topological manifold of dimension n is a second-countable Hausdorff space M such that for all $p\in $M, there exists open neighborhood $U$ at $p$ and a homeomorphism $x:U\to x(U)\subseteq \mathbb{R}^{n}$
Def 2: A topological manifold M of dim. n is a Hausdorff topological space with an open cover $C$ with countable elements $U_i\in C$ and a collection of homeomorphism $\phi_i:U_i\to \phi_i(U)\subseteq\mathbb{R}^{n}$ where $\phi_i(U)$ is an open subset in $\mathbb{R}^{n}$.
Are these two equivalent? If not, which one of them is the correct one (if any of them is)?
Is second-countable same as to have an open cover $C$ with countable elements?
Does the target of chart map ($x/\phi$) need to be an open subset in $\mathbb{R}^{n}$?