<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def bs_progress_bar(*args, **kwargs):
 """A Standard Bootstrap Progress Bar. http://getbootstrap.com/components/#progress param args (Array of Numbers: 0-100):
 Percent of Progress Bars param context (String):
 Adds 'progress-bar-{context} to the class attribute param contexts (Array of Strings):
 Cycles through contexts for stacked bars param text (String):
 True: shows value within the bar, False: uses sr span param striped (Boolean):
 Adds 'progress-bar-striped' to the class attribute param animated (Boolean):
 Adds 'active' to the class attribute if striped param min_val (0):
 Used for the aria-min value param max_val (0):
 Used for the aria-max value """


    bars = []
    contexts = kwargs.get(
        'contexts',
        ['', 'success', 'info', 'warning', 'danger']
    )

    for ndx, arg in enumerate(args):
        bars.append(
            dict(percent=arg,
                 context=kwargs.get('context', contexts[ndx % len(contexts)]))
        )

    return {
        'bars': bars,
        'text': kwargs.pop('text', False),
        'striped': kwargs.pop('striped', False),
        'animated': kwargs.pop('animated', False),
        'min_val': kwargs.pop('min_val', 0),
        'max_val': kwargs.pop('max_val', 100),
    }