This is just conjecture, supposition on my part, I have NO proof.
I presume she wrote it herself. She is fully qualified to write her own speeches.