limitCues

The part of cues that one overlay lays out, in order: at most MAX_CUES cues, at most MAX_CUE_LENGTH code units of text in each, and at most MAX_OVERLAY_TEXT_LENGTH code units and MAX_OVERLAY_SPANS spans over all of them. The cue that reaches a limit is cut there, and the cues after it are left out. A cut never splits a surrogate pair.

Return

cues itself when nothing is cut.