Repeated phrases within a bar, made into slashes?

Screen Shot 2022-10-06 at 1.19.57 PM
I would like to save space by using slashes for the second and third phrase in this example,
and
I would like to do so by hiding, not deleting, the 2nd and 3rd phrase.
Can do?

Shift click the second/third beats (so that all 8 of the 16th notes are highlighted)

Shift-R

Type “slash” and press enter