Let $ABCD$ be a quadrilateral such that $m(\widehat{A}) = m(\widehat{D}) = 90^\circ$. Let $M$ be the midpoint of $[DC]$. If $AC\perp BM$, $|DC|=12$, and $|AB|=9$, then what is the length of $|AD|$?

Let's think step by step and output the final answer within \boxed{}.
user