Unless the context clearly requires otherwise, the definitions in this section apply throughout this chapter.
(1) "Course of conduct" means a pattern of conduct composed of a series of acts over a period of time, however short, evidencing a continuity of purpose. "Course of conduct" includes, in addition to any other form of communication, contact, or conduct, the sending of an electronic communication, but does not include constitutionally protected free speech. Constitutionally protected activity is not included within the meaning of "course of conduct."
(2) "Unlawful harassment" means a knowing and willful course of conduct directed at a specific person which seriously alarms, annoys, harasses, or is detrimental to such person, and which serves no legitimate or lawful purpose. The course of conduct shall be such as would cause a reasonable person to suffer substantial emotional distress, and shall actually cause substantial emotional distress to the petitioner, or, when the course of conduct would cause a reasonable parent to fear for the well-being of their child.