A 360.0 $g$ block is dropped onto a vertical spring with a spring constant k = 254.0 $N/m$. The block becomes attached to the spring, and the spring compresses 0.26 $m$ before momentarily stopping. While the spring is being compressed, what work is done by the block's weight?