Let \( \hat{a} \) and \( \hat{b} \) be two unit vectors such that the angle between them is \( \dfrac{\pi}{4} \). If \( \theta \) is the angel between the vectors \( (\hat{a}+\hat{b}) \) and \( (\hat{a}+2\hat{b}+2(\hat{a}\times\hat{b})) \), then the value of \( 164\cos^{2}\theta \) is equal to: