\(A=\frac{\sqrt{3}-1}{1+\sqrt{1+\frac{\sqrt{3}}{2}}}+\frac{\sqrt{3}+1}{1-\sqrt{1-\frac{\sqrt{3}}{2}}}=\frac{\sqrt{3}-1}{1+\sqrt{\frac{2+\sqrt{3}}{2}}}+\frac{\sqrt{3}+1}{1-\sqrt{\frac{2-\sqrt{3}}{2}}}\)
\(=\frac{\sqrt{3}-1}{1+\frac{\sqrt{4+2\sqrt{3}}}{2}}+\frac{\sqrt{3}+1}{1-\frac{\sqrt{4-2\sqrt{3}}}{2}}=\frac{\sqrt{3}-1}{1+\frac{\sqrt{\left(\sqrt{3}+1\right)^2}}{2}}+\frac{\sqrt{3}+1}{1-\frac{\sqrt{\left(\sqrt{3}-1\right)^2}}{2}}\)
\(=\frac{\sqrt{3}-1}{\frac{3+\sqrt{3}}{2}}+\frac{\sqrt{3}+1}{\frac{3-\sqrt{3}}{2}}=\frac{2\left(\sqrt{3}-1\right)}{\sqrt{3}\left(\sqrt{3}+1\right)}+\frac{2\left(\sqrt{3}+1\right)}{\sqrt{3}\left(\sqrt{3}-1\right)}\)
\(=\frac{2}{\sqrt{3}}\left(\frac{4-2\sqrt{3}+4+2\sqrt{3}}{\left(\sqrt{3}-1\right)\left(\sqrt{3}+1\right)}\right)=\frac{2}{\sqrt{3}}.\frac{8}{2}=\frac{8}{\sqrt{3}}=\frac{8\sqrt{3}}{3}\)