Given the Jacobi theta function $$\vartheta_{4}(q)=1+2\sum_{n=1}^{\infty}(-1)^nq^{n^2}$$
where $q=e^{2\pi i\tau}$, and $|q|\lt1$. It is conjectured that it has the following continued fraction
$\vartheta_{4}(q)= 1-\cfrac{2q}{1-q+\cfrac{q}{1-\cfrac{q^2}{1-q^3+\cfrac{q^2}{1-\cfrac{q^3}{1-q^5+\cfrac{q^3}{1-\cfrac{q^{4}}{1-q^7+\cfrac{q^{4}}{1-\dots}}}}}}}}\tag{1a}$
and its reciprocal,
$\begin{aligned}\frac{1}{\vartheta_{4}(q)}=1+\cfrac{2q}{1-q-\cfrac{q}{1+\cfrac{q^2}{1-q^3-\cfrac{q^2}{1+\cfrac{q^3}{1-q^5-\cfrac{q^3}{1+\cfrac{q^{4}}{1-q^7-\cfrac{q^{4}}{1+\dots}}}}}}}}\end{aligned}\tag{1b}$
How do we prove the conjecture?
Edited later:
If we define the q-pochhammer symbol for any complex number $a$, $$ (a;q)_{\infty}=\prod^{\infty}_{n=0}\left(1-aq^n\right) $$
the conjectured continued fractions can be generalized to the following form
$\begin{aligned}\prod_{n=0}^\infty\frac{\big(1-aq^n\big)}{\big(1+aq^n\big)}=1-\cfrac{2a}{1-q+\cfrac{a}{1-\cfrac{aq}{1-q^3+\cfrac{aq}{1-\cfrac{aq^2}{1-q^5+\cfrac{aq^2}{1-\cfrac{aq^{3}}{1-q^7+\cfrac{aq^{3}}{1-\dots}}}}}}}}\end{aligned}\tag{1c}$
which obviously leads to the continued fraction for the reciprocal of $\vartheta_{4}(q)$ when $a\rightarrow -q$.