5. (15%) A curve is defined by the parametric equations $$x = \int_{1}^{t} \frac{\cos u}{u} du, \quad y = \int_{1}^{t} \frac{\sin u}{u} du.$$ Find the length of the arc of the curve from the origin to the nearest point where there is a vertical tangent line.