Which of the following best describes the setting for Flamenco during the period Rilke composed "Spanish Dancer?"

a folk dance performed on public festival days
a spur of the moment dance performed for a small group of people
an elaborately choreographed dance for large audiences in a theater
a formal dance performed competitively between cities in Spain