Temporary (so you can still sail for a while in less than storm conditions) repair can be made with good quality duct tape. Suggest the product Hurricane Tape Duct Tape which is used in Florida to protect windows for a hurricane. It is available at Amazon. If that is too ugly, Westmarine sells an aramid/kevlar self adhesive tape that is made for temporary repairs from Bainbridge. Insignia cloth will also work
https://www.sailmakerssupply.com/produc ... /sailcloth . Make sure you clean the surrounding area before trying to apply the tape and let dry completely. I usually apply on both sides of the rip.
I would have expected the leach to be torn and not the window.
But the best fix will be taking to a sailmaker.