It shall be unlawful for any minor under the age of eighteen (18) to loiter, idle, wander, stroll or play in or upon the public streets, highways, roads, alleys, parks, playgrounds or other public grounds, public places and public buildings, places of amusement, eating establishments and vacant lots between the hours of 10:00 p.m. of any day and 5:00 a.m. of the following day. The provisions of this section do not apply when:
(a)
A minor is accompanied by a parent, guardian or other adult person having the care and custody of the minor.
(b)
A minor is on an emergency errand directed by his or her parent, guardian or other adult person having the care and custody of the minor.
(c)
A minor is returning directly to his or her place of residence without detour or stop after attending a place of amusement, entertainment, recreational activity, or school function; or
(d)
A minor is engaged in a lawful employment activity or is going or returning to his or her place of residence after completing a lawful employment activity, without detour or stop.