A prism has a base that is a regular triangle with unit side length. A plane intersects the prism's lateral surface forming an isosceles right triangle. What are the lengths of the sides of the intersecting triangle?