Smallest Square Inscribed in Two Pythagorean Triangles

Theorem
The smallest square with integer sides that can be inscribed within two different Pythagorean triangles so that one side of the square lies on the hypotenuse has side length $780$.

The two Pythagorean triangles in question have side lengths $\left({1443, 1924, 2405}\right)$ and $\left({1145, 2748, 2977}\right)$.