Newport Beach’s July 4th unrest, sparked by viral TikTok posts, led to 402 arrests. Officials highlight the struggle to manage rapid digital gatherings.