diff --git a/dist/css/idai-components.css b/dist/css/idai-components.css index c3b0a5c..5bf0207 100644 --- a/dist/css/idai-components.css +++ b/dist/css/idai-components.css @@ -125,7 +125,8 @@ select { text-transform: none; } button, -html input[type="button"], input[type="reset"], +html input[type="button"], +input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } @@ -1072,8 +1073,7 @@ textarea { a { color: #37588e; text-decoration: none; } - a:hover, - a:focus { + a:hover, a:focus { color: #223657; text-decoration: underline; } a:focus { @@ -1127,8 +1127,7 @@ hr { clip: rect(0, 0, 0, 0); border: 0; } -.sr-only-focusable:active, -.sr-only-focusable:focus { +.sr-only-focusable:active, .sr-only-focusable:focus { position: static; width: auto; height: auto; @@ -1376,8 +1375,7 @@ dt { dd { margin-left: 0; } -.dl-horizontal dd:before, -.dl-horizontal dd:after { +.dl-horizontal dd:before, .dl-horizontal dd:after { content: " "; display: table; } @@ -1507,8 +1505,7 @@ pre { margin-left: auto; padding-left: 15px; padding-right: 15px; } - .container:before, - .container:after { + .container:before, .container:after { content: " "; display: table; } .container:after { @@ -1528,8 +1525,7 @@ pre { margin-left: auto; padding-left: 15px; padding-right: 15px; } - .container-fluid:before, - .container-fluid:after { + .container-fluid:before, .container-fluid:after { content: " "; display: table; } .container-fluid:after { @@ -1538,8 +1534,7 @@ pre { .row { margin-left: -15px; margin-right: -15px; } - .row:before, - .row:after { + .row:before, .row:after { content: " "; display: table; } .row:after { @@ -2341,8 +2336,7 @@ output { .form-control::-ms-expand { border: 0; background-color: transparent; } - .form-control[disabled], - .form-control[readonly], + .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { background-color: #eeeeee; opacity: 1; } @@ -2362,8 +2356,7 @@ input[type="search"] { input[type="datetime-local"].form-control, input[type="month"].form-control { line-height: 34px; } - input[type="date"].input-sm, - .input-group-sm > input[type="date"].form-control, + input[type="date"].input-sm, .input-group-sm > input[type="date"].form-control, .input-group-sm > input[type="date"].input-group-addon, .input-group-sm > .input-group-btn > input[type="date"].btn, .input-group-sm input[type="date"], @@ -2371,20 +2364,22 @@ input[type="search"] { .input-group-sm > input[type="time"].form-control, .input-group-sm > input[type="time"].input-group-addon, .input-group-sm > .input-group-btn > input[type="time"].btn, - .input-group-sm input[type="time"], + .input-group-sm + input[type="time"], input[type="datetime-local"].input-sm, .input-group-sm > input[type="datetime-local"].form-control, .input-group-sm > input[type="datetime-local"].input-group-addon, .input-group-sm > .input-group-btn > input[type="datetime-local"].btn, - .input-group-sm input[type="datetime-local"], + .input-group-sm + input[type="datetime-local"], input[type="month"].input-sm, .input-group-sm > input[type="month"].form-control, .input-group-sm > input[type="month"].input-group-addon, .input-group-sm > .input-group-btn > input[type="month"].btn, - .input-group-sm input[type="month"] { + .input-group-sm + input[type="month"] { line-height: 30px; } - input[type="date"].input-lg, - .input-group-lg > input[type="date"].form-control, + input[type="date"].input-lg, .input-group-lg > input[type="date"].form-control, .input-group-lg > input[type="date"].input-group-addon, .input-group-lg > .input-group-btn > input[type="date"].btn, .input-group-lg input[type="date"], @@ -2392,17 +2387,20 @@ input[type="search"] { .input-group-lg > input[type="time"].form-control, .input-group-lg > input[type="time"].input-group-addon, .input-group-lg > .input-group-btn > input[type="time"].btn, - .input-group-lg input[type="time"], + .input-group-lg + input[type="time"], input[type="datetime-local"].input-lg, .input-group-lg > input[type="datetime-local"].form-control, .input-group-lg > input[type="datetime-local"].input-group-addon, .input-group-lg > .input-group-btn > input[type="datetime-local"].btn, - .input-group-lg input[type="datetime-local"], + .input-group-lg + input[type="datetime-local"], input[type="month"].input-lg, .input-group-lg > input[type="month"].form-control, .input-group-lg > input[type="month"].input-group-addon, .input-group-lg > .input-group-btn > input[type="month"].btn, - .input-group-lg input[type="month"] { + .input-group-lg + input[type="month"] { line-height: 46px; } } .form-group { @@ -2449,24 +2447,26 @@ input[type="search"] { margin-top: 0; margin-left: 10px; } -input[type="radio"][disabled], -input[type="radio"].disabled, +input[type="radio"][disabled], input[type="radio"].disabled, fieldset[disabled] input[type="radio"], input[type="checkbox"][disabled], input[type="checkbox"].disabled, -fieldset[disabled] input[type="checkbox"] { +fieldset[disabled] +input[type="checkbox"] { cursor: not-allowed; } .radio-inline.disabled, fieldset[disabled] .radio-inline, .checkbox-inline.disabled, -fieldset[disabled] .checkbox-inline { +fieldset[disabled] +.checkbox-inline { cursor: not-allowed; } .radio.disabled label, fieldset[disabled] .radio label, .checkbox.disabled label, -fieldset[disabled] .checkbox label { +fieldset[disabled] +.checkbox label { cursor: not-allowed; } .form-control-static { @@ -2474,11 +2474,9 @@ fieldset[disabled] .checkbox label { padding-bottom: 7px; margin-bottom: 0; min-height: 34px; } - .form-control-static.input-lg, - .input-group-lg > .form-control-static.form-control, + .form-control-static.input-lg, .input-group-lg > .form-control-static.form-control, .input-group-lg > .form-control-static.input-group-addon, - .input-group-lg > .input-group-btn > .form-control-static.btn, - .form-control-static.input-sm, .input-group-sm > .form-control-static.form-control, + .input-group-lg > .input-group-btn > .form-control-static.btn, .form-control-static.input-sm, .input-group-sm > .form-control-static.form-control, .input-group-sm > .form-control-static.input-group-addon, .input-group-sm > .input-group-btn > .form-control-static.btn { padding-left: 0; @@ -2499,11 +2497,11 @@ select.input-sm, .input-group-sm > select.form-control, height: 30px; line-height: 30px; } -textarea.input-sm, -.input-group-sm > textarea.form-control, +textarea.input-sm, .input-group-sm > textarea.form-control, .input-group-sm > textarea.input-group-addon, .input-group-sm > .input-group-btn > textarea.btn, -select[multiple].input-sm, .input-group-sm > select[multiple].form-control, +select[multiple].input-sm, +.input-group-sm > select[multiple].form-control, .input-group-sm > select[multiple].input-group-addon, .input-group-sm > .input-group-btn > select[multiple].btn { height: auto; } @@ -2545,11 +2543,11 @@ select.input-lg, .input-group-lg > select.form-control, height: 46px; line-height: 46px; } -textarea.input-lg, -.input-group-lg > textarea.form-control, +textarea.input-lg, .input-group-lg > textarea.form-control, .input-group-lg > textarea.input-group-addon, .input-group-lg > .input-group-btn > textarea.btn, -select[multiple].input-lg, .input-group-lg > select[multiple].form-control, +select[multiple].input-lg, +.input-group-lg > select[multiple].form-control, .input-group-lg > select[multiple].input-group-addon, .input-group-lg > .input-group-btn > select[multiple].btn { height: auto; } @@ -2593,8 +2591,7 @@ select[multiple].input-lg, .input-group-lg > select[multiple].form-control, text-align: center; pointer-events: none; } -.input-lg + .form-control-feedback, -.input-group-lg > .form-control + .form-control-feedback, +.input-lg + .form-control-feedback, .input-group-lg > .form-control + .form-control-feedback, .input-group-lg > .input-group-addon + .form-control-feedback, .input-group-lg > .input-group-btn > .btn + .form-control-feedback, .input-group-lg + .form-control-feedback, @@ -2603,8 +2600,7 @@ select[multiple].input-lg, .input-group-lg > select[multiple].form-control, height: 46px; line-height: 46px; } -.input-sm + .form-control-feedback, -.input-group-sm > .form-control + .form-control-feedback, +.input-sm + .form-control-feedback, .input-group-sm > .form-control + .form-control-feedback, .input-group-sm > .input-group-addon + .form-control-feedback, .input-group-sm > .input-group-btn > .btn + .form-control-feedback, .input-group-sm + .form-control-feedback, @@ -2766,8 +2762,7 @@ select[multiple].input-lg, .input-group-lg > select[multiple].form-control, .form-horizontal .form-group { margin-left: -15px; margin-right: -15px; } - .form-horizontal .form-group:before, - .form-horizontal .form-group:after { + .form-horizontal .form-group:before, .form-horizontal .form-group:after { content: " "; display: table; } .form-horizontal .form-group:after { @@ -2811,28 +2806,19 @@ select[multiple].input-lg, .input-group-lg > select[multiple].form-control, -moz-user-select: none; -ms-user-select: none; user-select: none; } - .btn:focus, - .btn.focus, - .btn:active:focus, - .btn:active.focus, - .btn.active:focus, - .btn.active.focus { + .btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } - .btn:hover, - .btn:focus, - .btn.focus { + .btn:hover, .btn:focus, .btn.focus { color: #333; text-decoration: none; } - .btn:active, - .btn.active { + .btn:active, .btn.active { outline: 0; background-image: none; -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } - .btn.disabled, - .btn[disabled], + .btn.disabled, .btn[disabled], fieldset[disabled] .btn { cursor: not-allowed; opacity: 0.65; @@ -2848,8 +2834,7 @@ fieldset[disabled] a.btn { color: #333; background-color: #fff; border-color: #ccc; } - .btn-default:focus, - .btn-default.focus { + .btn-default:focus, .btn-default.focus { color: #333; background-color: #e6e6e6; border-color: #8c8c8c; } @@ -2857,34 +2842,22 @@ fieldset[disabled] a.btn { color: #333; background-color: #e6e6e6; border-color: #adadad; } - .btn-default:active, - .btn-default.active, + .btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle { color: #333; background-color: #e6e6e6; border-color: #adadad; } - .btn-default:active:hover, - .btn-default:active:focus, - .btn-default:active.focus, - .btn-default.active:hover, - .btn-default.active:focus, - .btn-default.active.focus, + .btn-default:active:hover, .btn-default:active:focus, .btn-default:active.focus, .btn-default.active:hover, .btn-default.active:focus, .btn-default.active.focus, .open > .btn-default.dropdown-toggle:hover, .open > .btn-default.dropdown-toggle:focus, .open > .btn-default.dropdown-toggle.focus { color: #333; background-color: #d4d4d4; border-color: #8c8c8c; } - .btn-default:active, - .btn-default.active, + .btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle { background-image: none; } - .btn-default.disabled:hover, - .btn-default.disabled:focus, - .btn-default.disabled.focus, - .btn-default[disabled]:hover, - .btn-default[disabled]:focus, - .btn-default[disabled].focus, + .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled.focus, .btn-default[disabled]:hover, .btn-default[disabled]:focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default:hover, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default.focus { @@ -2898,8 +2871,7 @@ fieldset[disabled] a.btn { color: #fff; background-color: #37588e; border-color: #304d7c; } - .btn-primary:focus, - .btn-primary.focus { + .btn-primary:focus, .btn-primary.focus { color: #fff; background-color: #294169; border-color: #0c1420; } @@ -2907,34 +2879,22 @@ fieldset[disabled] a.btn { color: #fff; background-color: #294169; border-color: #1f3150; } - .btn-primary:active, - .btn-primary.active, + .btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle { color: #fff; background-color: #294169; border-color: #1f3150; } - .btn-primary:active:hover, - .btn-primary:active:focus, - .btn-primary:active.focus, - .btn-primary.active:hover, - .btn-primary.active:focus, - .btn-primary.active.focus, + .btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus, .open > .btn-primary.dropdown-toggle:hover, .open > .btn-primary.dropdown-toggle:focus, .open > .btn-primary.dropdown-toggle.focus { color: #fff; background-color: #1f3150; border-color: #0c1420; } - .btn-primary:active, - .btn-primary.active, + .btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle { background-image: none; } - .btn-primary.disabled:hover, - .btn-primary.disabled:focus, - .btn-primary.disabled.focus, - .btn-primary[disabled]:hover, - .btn-primary[disabled]:focus, - .btn-primary[disabled].focus, + .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary.focus { @@ -2948,8 +2908,7 @@ fieldset[disabled] a.btn { color: #fff; background-color: #5cb85c; border-color: #4cae4c; } - .btn-success:focus, - .btn-success.focus { + .btn-success:focus, .btn-success.focus { color: #fff; background-color: #449d44; border-color: #255625; } @@ -2957,34 +2916,22 @@ fieldset[disabled] a.btn { color: #fff; background-color: #449d44; border-color: #398439; } - .btn-success:active, - .btn-success.active, + .btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle { color: #fff; background-color: #449d44; border-color: #398439; } - .btn-success:active:hover, - .btn-success:active:focus, - .btn-success:active.focus, - .btn-success.active:hover, - .btn-success.active:focus, - .btn-success.active.focus, + .btn-success:active:hover, .btn-success:active:focus, .btn-success:active.focus, .btn-success.active:hover, .btn-success.active:focus, .btn-success.active.focus, .open > .btn-success.dropdown-toggle:hover, .open > .btn-success.dropdown-toggle:focus, .open > .btn-success.dropdown-toggle.focus { color: #fff; background-color: #398439; border-color: #255625; } - .btn-success:active, - .btn-success.active, + .btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle { background-image: none; } - .btn-success.disabled:hover, - .btn-success.disabled:focus, - .btn-success.disabled.focus, - .btn-success[disabled]:hover, - .btn-success[disabled]:focus, - .btn-success[disabled].focus, + .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled.focus, .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled].focus, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success.focus { @@ -2998,8 +2945,7 @@ fieldset[disabled] a.btn { color: #fff; background-color: #5bc0de; border-color: #46b8da; } - .btn-info:focus, - .btn-info.focus { + .btn-info:focus, .btn-info.focus { color: #fff; background-color: #31b0d5; border-color: #1b6d85; } @@ -3007,34 +2953,22 @@ fieldset[disabled] a.btn { color: #fff; background-color: #31b0d5; border-color: #269abc; } - .btn-info:active, - .btn-info.active, + .btn-info:active, .btn-info.active, .open > .btn-info.dropdown-toggle { color: #fff; background-color: #31b0d5; border-color: #269abc; } - .btn-info:active:hover, - .btn-info:active:focus, - .btn-info:active.focus, - .btn-info.active:hover, - .btn-info.active:focus, - .btn-info.active.focus, + .btn-info:active:hover, .btn-info:active:focus, .btn-info:active.focus, .btn-info.active:hover, .btn-info.active:focus, .btn-info.active.focus, .open > .btn-info.dropdown-toggle:hover, .open > .btn-info.dropdown-toggle:focus, .open > .btn-info.dropdown-toggle.focus { color: #fff; background-color: #269abc; border-color: #1b6d85; } - .btn-info:active, - .btn-info.active, + .btn-info:active, .btn-info.active, .open > .btn-info.dropdown-toggle { background-image: none; } - .btn-info.disabled:hover, - .btn-info.disabled:focus, - .btn-info.disabled.focus, - .btn-info[disabled]:hover, - .btn-info[disabled]:focus, - .btn-info[disabled].focus, + .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled.focus, .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled].focus, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info.focus { @@ -3048,8 +2982,7 @@ fieldset[disabled] a.btn { color: #fff; background-color: #f0ad4e; border-color: #eea236; } - .btn-warning:focus, - .btn-warning.focus { + .btn-warning:focus, .btn-warning.focus { color: #fff; background-color: #ec971f; border-color: #985f0d; } @@ -3057,34 +2990,22 @@ fieldset[disabled] a.btn { color: #fff; background-color: #ec971f; border-color: #d58512; } - .btn-warning:active, - .btn-warning.active, + .btn-warning:active, .btn-warning.active, .open > .btn-warning.dropdown-toggle { color: #fff; background-color: #ec971f; border-color: #d58512; } - .btn-warning:active:hover, - .btn-warning:active:focus, - .btn-warning:active.focus, - .btn-warning.active:hover, - .btn-warning.active:focus, - .btn-warning.active.focus, + .btn-warning:active:hover, .btn-warning:active:focus, .btn-warning:active.focus, .btn-warning.active:hover, .btn-warning.active:focus, .btn-warning.active.focus, .open > .btn-warning.dropdown-toggle:hover, .open > .btn-warning.dropdown-toggle:focus, .open > .btn-warning.dropdown-toggle.focus { color: #fff; background-color: #d58512; border-color: #985f0d; } - .btn-warning:active, - .btn-warning.active, + .btn-warning:active, .btn-warning.active, .open > .btn-warning.dropdown-toggle { background-image: none; } - .btn-warning.disabled:hover, - .btn-warning.disabled:focus, - .btn-warning.disabled.focus, - .btn-warning[disabled]:hover, - .btn-warning[disabled]:focus, - .btn-warning[disabled].focus, + .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled.focus, .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled].focus, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning.focus { @@ -3098,8 +3019,7 @@ fieldset[disabled] a.btn { color: #fff; background-color: #d9534f; border-color: #d43f3a; } - .btn-danger:focus, - .btn-danger.focus { + .btn-danger:focus, .btn-danger.focus { color: #fff; background-color: #c9302c; border-color: #761c19; } @@ -3107,34 +3027,22 @@ fieldset[disabled] a.btn { color: #fff; background-color: #c9302c; border-color: #ac2925; } - .btn-danger:active, - .btn-danger.active, + .btn-danger:active, .btn-danger.active, .open > .btn-danger.dropdown-toggle { color: #fff; background-color: #c9302c; border-color: #ac2925; } - .btn-danger:active:hover, - .btn-danger:active:focus, - .btn-danger:active.focus, - .btn-danger.active:hover, - .btn-danger.active:focus, - .btn-danger.active.focus, + .btn-danger:active:hover, .btn-danger:active:focus, .btn-danger:active.focus, .btn-danger.active:hover, .btn-danger.active:focus, .btn-danger.active.focus, .open > .btn-danger.dropdown-toggle:hover, .open > .btn-danger.dropdown-toggle:focus, .open > .btn-danger.dropdown-toggle.focus { color: #fff; background-color: #ac2925; border-color: #761c19; } - .btn-danger:active, - .btn-danger.active, + .btn-danger:active, .btn-danger.active, .open > .btn-danger.dropdown-toggle { background-image: none; } - .btn-danger.disabled:hover, - .btn-danger.disabled:focus, - .btn-danger.disabled.focus, - .btn-danger[disabled]:hover, - .btn-danger[disabled]:focus, - .btn-danger[disabled].focus, + .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled.focus, .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled].focus, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger.focus { @@ -3148,26 +3056,18 @@ fieldset[disabled] a.btn { color: #37588e; font-weight: normal; border-radius: 0; } - .btn-link, - .btn-link:active, - .btn-link.active, - .btn-link[disabled], + .btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link { background-color: transparent; -webkit-box-shadow: none; box-shadow: none; } - .btn-link, - .btn-link:hover, - .btn-link:focus, - .btn-link:active { + .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { border-color: transparent; } - .btn-link:hover, - .btn-link:focus { + .btn-link:hover, .btn-link:focus { color: #223657; text-decoration: underline; background-color: transparent; } - .btn-link[disabled]:hover, - .btn-link[disabled]:focus, + .btn-link[disabled]:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:hover, fieldset[disabled] .btn-link:focus { color: #777777; @@ -3288,27 +3188,21 @@ tbody.collapse.in { color: #333333; white-space: nowrap; } -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus { +.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { text-decoration: none; color: #262626; background-color: #f5f5f5; } -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { +.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { color: #fff; text-decoration: none; outline: 0; background-color: #37588e; } -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { +.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { color: #777777; } -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { +.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { text-decoration: none; background-color: transparent; background-image: none; @@ -3379,10 +3273,7 @@ tbody.collapse.in { .btn-group-vertical > .btn { position: relative; float: left; } - .btn-group > .btn:hover, - .btn-group > .btn:focus, - .btn-group > .btn:active, - .btn-group > .btn.active, + .btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn:hover, .btn-group-vertical > .btn:focus, .btn-group-vertical > .btn:active, @@ -3397,8 +3288,7 @@ tbody.collapse.in { .btn-toolbar { margin-left: -5px; } - .btn-toolbar:before, - .btn-toolbar:after { + .btn-toolbar:before, .btn-toolbar:after { content: " "; display: table; } .btn-toolbar:after { @@ -3478,8 +3368,7 @@ tbody.collapse.in { width: 100%; max-width: 100%; } -.btn-group-vertical > .btn-group:before, -.btn-group-vertical > .btn-group:after { +.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after { content: " "; display: table; } @@ -3588,12 +3477,14 @@ tbody.collapse.in { background-color: #eeeeee; border: 1px solid #ccc; border-radius: 4px; } - .input-group-addon.input-sm, .input-group-sm > .input-group-addon, + .input-group-addon.input-sm, + .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .input-group-addon.btn { padding: 5px 10px; font-size: 12px; border-radius: 3px; } - .input-group-addon.input-lg, .input-group-lg > .input-group-addon, + .input-group-addon.input-lg, + .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .input-group-addon.btn { padding: 10px 16px; font-size: 18px; @@ -3636,9 +3527,7 @@ tbody.collapse.in { position: relative; } .input-group-btn > .btn + .btn { margin-left: -1px; } - .input-group-btn > .btn:hover, - .input-group-btn > .btn:focus, - .input-group-btn > .btn:active { + .input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active { z-index: 2; } .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group { @@ -3652,8 +3541,7 @@ tbody.collapse.in { margin-bottom: 0; padding-left: 0; list-style: none; } - .nav:before, - .nav:after { + .nav:before, .nav:after { content: " "; display: table; } .nav:after { @@ -3665,21 +3553,17 @@ tbody.collapse.in { position: relative; display: block; padding: 10px 15px; } - .nav > li > a:hover, - .nav > li > a:focus { + .nav > li > a:hover, .nav > li > a:focus { text-decoration: none; background-color: #eeeeee; } .nav > li.disabled > a { color: #777777; } - .nav > li.disabled > a:hover, - .nav > li.disabled > a:focus { + .nav > li.disabled > a:hover, .nav > li.disabled > a:focus { color: #777777; text-decoration: none; background-color: transparent; cursor: not-allowed; } - .nav .open > a, - .nav .open > a:hover, - .nav .open > a:focus { + .nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color: #eeeeee; border-color: #37588e; } .nav .nav-divider { @@ -3702,9 +3586,7 @@ tbody.collapse.in { border-radius: 4px 4px 0 0; } .nav-tabs > li > a:hover { border-color: #eeeeee #eeeeee #ddd; } - .nav-tabs > li.active > a, - .nav-tabs > li.active > a:hover, - .nav-tabs > li.active > a:focus { + .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: #555555; background-color: #fff; border: 1px solid #ddd; @@ -3717,9 +3599,7 @@ tbody.collapse.in { border-radius: 4px; } .nav-pills > li + li { margin-left: 2px; } - .nav-pills > li.active > a, - .nav-pills > li.active > a:hover, - .nav-pills > li.active > a:focus { + .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { color: #fff; background-color: #37588e; } @@ -3751,17 +3631,17 @@ tbody.collapse.in { .nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a { margin-right: 0; border-radius: 4px; } - .nav-tabs-justified > .active > a, - .nav-tabs.nav-justified > .active > a, .nav-tabs-justified > .active > a:hover, - .nav-tabs.nav-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus, .nav-tabs.nav-justified > .active > a:focus { + .nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a, + .nav-tabs-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus, .nav-tabs.nav-justified > .active > a:focus { border: 1px solid #ddd; } @media (min-width: 768px) { .nav-tabs-justified > li > a, .nav-tabs.nav-justified > li > a { border-bottom: 1px solid #ddd; border-radius: 4px 4px 0 0; } - .nav-tabs-justified > .active > a, - .nav-tabs.nav-justified > .active > a, .nav-tabs-justified > .active > a:hover, - .nav-tabs.nav-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus, .nav-tabs.nav-justified > .active > a:focus { + .nav-tabs-justified > .active > a, .nav-tabs.nav-justified > .active > a, + .nav-tabs-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus, .nav-tabs.nav-justified > .active > a:focus { border-bottom-color: #fff; } } .tab-content > .tab-pane { @@ -3780,8 +3660,7 @@ tbody.collapse.in { min-height: 50px; margin-bottom: 20px; border: 1px solid transparent; } - .navbar:before, - .navbar:after { + .navbar:before, .navbar:after { content: " "; display: table; } .navbar:after { @@ -3790,8 +3669,7 @@ tbody.collapse.in { .navbar { border-radius: 4px; } } -.navbar-header:before, -.navbar-header:after { +.navbar-header:before, .navbar-header:after { content: " "; display: table; } @@ -3809,8 +3687,7 @@ tbody.collapse.in { border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); -webkit-overflow-scrolling: touch; } - .navbar-collapse:before, - .navbar-collapse:after { + .navbar-collapse:before, .navbar-collapse:after { content: " "; display: table; } .navbar-collapse:after { @@ -3890,8 +3767,7 @@ tbody.collapse.in { font-size: 18px; line-height: 20px; height: 50px; } - .navbar-brand:hover, - .navbar-brand:focus { + .navbar-brand:hover, .navbar-brand:focus { text-decoration: none; } .navbar-brand > img { display: block; } @@ -3944,8 +3820,7 @@ tbody.collapse.in { padding: 5px 15px 5px 25px; } .navbar-nav .open .dropdown-menu > li > a { line-height: 20px; } - .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-nav .open .dropdown-menu > li > a:focus { + .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus { background-image: none; } } @media (min-width: 992px) { .navbar-nav { @@ -4066,58 +3941,44 @@ tbody.collapse.in { border-color: transparent; } .navbar-default .navbar-brand { color: #fff; } - .navbar-default .navbar-brand:hover, - .navbar-default .navbar-brand:focus { + .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #e6e6e6; background-color: transparent; } .navbar-default .navbar-text { color: #fff; } .navbar-default .navbar-nav > li > a { color: #fff; } - .navbar-default .navbar-nav > li > a:hover, - .navbar-default .navbar-nav > li > a:focus { + .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #fff; background-color: rgba(116, 141, 181, 0.9); } - .navbar-default .navbar-nav > .active > a, - .navbar-default .navbar-nav > .active > a:hover, - .navbar-default .navbar-nav > .active > a:focus { + .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { color: #fff; background-color: rgba(116, 141, 181, 0.9); } - .navbar-default .navbar-nav > .disabled > a, - .navbar-default .navbar-nav > .disabled > a:hover, - .navbar-default .navbar-nav > .disabled > a:focus { + .navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus { color: #ccc; background-color: transparent; } .navbar-default .navbar-toggle { border-color: #ddd; } - .navbar-default .navbar-toggle:hover, - .navbar-default .navbar-toggle:focus { + .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: rgba(116, 141, 181, 0.9); } .navbar-default .navbar-toggle .icon-bar { background-color: #ddd; } .navbar-default .navbar-collapse, .navbar-default .navbar-form { border-color: transparent; } - .navbar-default .navbar-nav > .open > a, - .navbar-default .navbar-nav > .open > a:hover, - .navbar-default .navbar-nav > .open > a:focus { + .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { background-color: rgba(116, 141, 181, 0.9); color: #fff; } @media (max-width: 991px) { .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #fff; } - .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { color: #fff; background-color: rgba(116, 141, 181, 0.9); } - .navbar-default .navbar-nav .open .dropdown-menu > .active > a, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { color: #fff; background-color: rgba(116, 141, 181, 0.9); } - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #ccc; background-color: transparent; } } .navbar-default .navbar-link { @@ -4126,11 +3987,9 @@ tbody.collapse.in { color: #fff; } .navbar-default .btn-link { color: #fff; } - .navbar-default .btn-link:hover, - .navbar-default .btn-link:focus { + .navbar-default .btn-link:hover, .navbar-default .btn-link:focus { color: #fff; } - .navbar-default .btn-link[disabled]:hover, - .navbar-default .btn-link[disabled]:focus, + .navbar-default .btn-link[disabled]:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:hover, fieldset[disabled] .navbar-default .btn-link:focus { color: #ccc; } @@ -4140,41 +3999,32 @@ tbody.collapse.in { border-color: #090909; } .navbar-inverse .navbar-brand { color: #9d9d9d; } - .navbar-inverse .navbar-brand:hover, - .navbar-inverse .navbar-brand:focus { + .navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus { color: #fff; background-color: transparent; } .navbar-inverse .navbar-text { color: #9d9d9d; } .navbar-inverse .navbar-nav > li > a { color: #9d9d9d; } - .navbar-inverse .navbar-nav > li > a:hover, - .navbar-inverse .navbar-nav > li > a:focus { + .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { color: #fff; background-color: transparent; } - .navbar-inverse .navbar-nav > .active > a, - .navbar-inverse .navbar-nav > .active > a:hover, - .navbar-inverse .navbar-nav > .active > a:focus { + .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { color: #fff; background-color: #090909; } - .navbar-inverse .navbar-nav > .disabled > a, - .navbar-inverse .navbar-nav > .disabled > a:hover, - .navbar-inverse .navbar-nav > .disabled > a:focus { + .navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus { color: #444; background-color: transparent; } .navbar-inverse .navbar-toggle { border-color: #333; } - .navbar-inverse .navbar-toggle:hover, - .navbar-inverse .navbar-toggle:focus { + .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { background-color: #333; } .navbar-inverse .navbar-toggle .icon-bar { background-color: #fff; } .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { border-color: #101010; } - .navbar-inverse .navbar-nav > .open > a, - .navbar-inverse .navbar-nav > .open > a:hover, - .navbar-inverse .navbar-nav > .open > a:focus { + .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { background-color: #090909; color: #fff; } @media (max-width: 991px) { @@ -4184,18 +4034,13 @@ tbody.collapse.in { background-color: #090909; } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { color: #9d9d9d; } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { color: #fff; background-color: transparent; } - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { color: #fff; background-color: #090909; } - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #444; background-color: transparent; } } .navbar-inverse .navbar-link { @@ -4204,11 +4049,9 @@ tbody.collapse.in { color: #fff; } .navbar-inverse .btn-link { color: #9d9d9d; } - .navbar-inverse .btn-link:hover, - .navbar-inverse .btn-link:focus { + .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus { color: #fff; } - .navbar-inverse .btn-link[disabled]:hover, - .navbar-inverse .btn-link[disabled]:focus, + .navbar-inverse .btn-link[disabled]:hover, .navbar-inverse .btn-link[disabled]:focus, fieldset[disabled] .navbar-inverse .btn-link:hover, fieldset[disabled] .navbar-inverse .btn-link:focus { color: #444; } @@ -4255,17 +4098,14 @@ tbody.collapse.in { .pagination > li:last-child > span { border-bottom-right-radius: 4px; border-top-right-radius: 4px; } - .pagination > li > a:hover, - .pagination > li > a:focus, + .pagination > li > a:hover, .pagination > li > a:focus, .pagination > li > span:hover, .pagination > li > span:focus { z-index: 2; color: #223657; background-color: #eeeeee; border-color: #ddd; } - .pagination > .active > a, - .pagination > .active > a:hover, - .pagination > .active > a:focus, + .pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, .pagination > .active > span, .pagination > .active > span:hover, .pagination > .active > span:focus { @@ -4322,8 +4162,7 @@ tbody.collapse.in { margin: 20px 0; list-style: none; text-align: center; } - .pager:before, - .pager:after { + .pager:before, .pager:after { content: " "; display: table; } .pager:after { @@ -4357,7 +4196,7 @@ tbody.collapse.in { .label { display: inline; - padding: 0.2em 0.6em 0.3em; + padding: .2em .6em .3em; font-size: 75%; font-weight: bold; line-height: 1; @@ -4372,46 +4211,39 @@ tbody.collapse.in { position: relative; top: -1px; } -a.label:hover, -a.label:focus { +a.label:hover, a.label:focus { color: #fff; text-decoration: none; cursor: pointer; } .label-default { background-color: #777777; } - .label-default[href]:hover, - .label-default[href]:focus { + .label-default[href]:hover, .label-default[href]:focus { background-color: #5e5e5e; } .label-primary { background-color: #37588e; } - .label-primary[href]:hover, - .label-primary[href]:focus { + .label-primary[href]:hover, .label-primary[href]:focus { background-color: #294169; } .label-success { background-color: #5cb85c; } - .label-success[href]:hover, - .label-success[href]:focus { + .label-success[href]:hover, .label-success[href]:focus { background-color: #449d44; } .label-info { background-color: #5bc0de; } - .label-info[href]:hover, - .label-info[href]:focus { + .label-info[href]:hover, .label-info[href]:focus { background-color: #31b0d5; } .label-warning { background-color: #f0ad4e; } - .label-warning[href]:hover, - .label-warning[href]:focus { + .label-warning[href]:hover, .label-warning[href]:focus { background-color: #ec971f; } .label-danger { background-color: #d9534f; } - .label-danger[href]:hover, - .label-danger[href]:focus { + .label-danger[href]:hover, .label-danger[href]:focus { background-color: #c9302c; } .badge { @@ -4432,8 +4264,7 @@ a.label:focus { .btn .badge { position: relative; top: -1px; } - .btn-xs .badge, - .btn-group-xs > .btn .badge, + .btn-xs .badge, .btn-group-xs > .btn .badge, .btn-group-xs > .btn .badge { top: 0; padding: 1px 5px; } @@ -4448,8 +4279,7 @@ a.label:focus { .nav-pills > li > a > .badge { margin-left: 3px; } -a.badge:hover, -a.badge:focus { +a.badge:hover, a.badge:focus { color: #fff; text-decoration: none; cursor: pointer; } @@ -4531,9 +4361,11 @@ a.thumbnail.active { .alert > p + p { margin-top: 5px; } -.alert-dismissable, .alert-dismissible { +.alert-dismissable, +.alert-dismissible { padding-right: 35px; } - .alert-dismissable .close, .alert-dismissible .close { + .alert-dismissable .close, + .alert-dismissible .close { position: relative; top: -2px; right: -21px; @@ -4723,8 +4555,7 @@ button.list-group-item { a.list-group-item .list-group-item-heading, button.list-group-item .list-group-item-heading { color: #333; } - a.list-group-item:hover, - a.list-group-item:focus, + a.list-group-item:hover, a.list-group-item:focus, button.list-group-item:hover, button.list-group-item:focus { text-decoration: none; @@ -4735,41 +4566,29 @@ button.list-group-item { width: 100%; text-align: left; } -.list-group-item.disabled, -.list-group-item.disabled:hover, -.list-group-item.disabled:focus { +.list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus { background-color: #eeeeee; color: #777777; cursor: not-allowed; } - .list-group-item.disabled .list-group-item-heading, - .list-group-item.disabled:hover .list-group-item-heading, - .list-group-item.disabled:focus .list-group-item-heading { + .list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading { color: inherit; } - .list-group-item.disabled .list-group-item-text, - .list-group-item.disabled:hover .list-group-item-text, - .list-group-item.disabled:focus .list-group-item-text { + .list-group-item.disabled .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text { color: #777777; } -.list-group-item.active, -.list-group-item.active:hover, -.list-group-item.active:focus { +.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus { z-index: 2; color: #fff; background-color: #37588e; border-color: #37588e; } .list-group-item.active .list-group-item-heading, .list-group-item.active .list-group-item-heading > small, - .list-group-item.active .list-group-item-heading > .small, - .list-group-item.active:hover .list-group-item-heading, + .list-group-item.active .list-group-item-heading > .small, .list-group-item.active:hover .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading > small, - .list-group-item.active:hover .list-group-item-heading > .small, - .list-group-item.active:focus .list-group-item-heading, + .list-group-item.active:hover .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading, .list-group-item.active:focus .list-group-item-heading > small, .list-group-item.active:focus .list-group-item-heading > .small { color: inherit; } - .list-group-item.active .list-group-item-text, - .list-group-item.active:hover .list-group-item-text, - .list-group-item.active:focus .list-group-item-text { + .list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text { color: #b0c3e1; } .list-group-item-success { @@ -4782,15 +4601,12 @@ button.list-group-item-success { a.list-group-item-success .list-group-item-heading, button.list-group-item-success .list-group-item-heading { color: inherit; } - a.list-group-item-success:hover, - a.list-group-item-success:focus, + a.list-group-item-success:hover, a.list-group-item-success:focus, button.list-group-item-success:hover, button.list-group-item-success:focus { color: #3c763d; background-color: #d0e9c6; } - a.list-group-item-success.active, - a.list-group-item-success.active:hover, - a.list-group-item-success.active:focus, + a.list-group-item-success.active, a.list-group-item-success.active:hover, a.list-group-item-success.active:focus, button.list-group-item-success.active, button.list-group-item-success.active:hover, button.list-group-item-success.active:focus { @@ -4808,15 +4624,12 @@ button.list-group-item-info { a.list-group-item-info .list-group-item-heading, button.list-group-item-info .list-group-item-heading { color: inherit; } - a.list-group-item-info:hover, - a.list-group-item-info:focus, + a.list-group-item-info:hover, a.list-group-item-info:focus, button.list-group-item-info:hover, button.list-group-item-info:focus { color: #31708f; background-color: #c4e3f3; } - a.list-group-item-info.active, - a.list-group-item-info.active:hover, - a.list-group-item-info.active:focus, + a.list-group-item-info.active, a.list-group-item-info.active:hover, a.list-group-item-info.active:focus, button.list-group-item-info.active, button.list-group-item-info.active:hover, button.list-group-item-info.active:focus { @@ -4834,15 +4647,12 @@ button.list-group-item-warning { a.list-group-item-warning .list-group-item-heading, button.list-group-item-warning .list-group-item-heading { color: inherit; } - a.list-group-item-warning:hover, - a.list-group-item-warning:focus, + a.list-group-item-warning:hover, a.list-group-item-warning:focus, button.list-group-item-warning:hover, button.list-group-item-warning:focus { color: #8a6d3b; background-color: #faf2cc; } - a.list-group-item-warning.active, - a.list-group-item-warning.active:hover, - a.list-group-item-warning.active:focus, + a.list-group-item-warning.active, a.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus, button.list-group-item-warning.active, button.list-group-item-warning.active:hover, button.list-group-item-warning.active:focus { @@ -4860,15 +4670,12 @@ button.list-group-item-danger { a.list-group-item-danger .list-group-item-heading, button.list-group-item-danger .list-group-item-heading { color: inherit; } - a.list-group-item-danger:hover, - a.list-group-item-danger:focus, + a.list-group-item-danger:hover, a.list-group-item-danger:focus, button.list-group-item-danger:hover, button.list-group-item-danger:focus { color: #a94442; background-color: #ebcccc; } - a.list-group-item-danger.active, - a.list-group-item-danger.active:hover, - a.list-group-item-danger.active:focus, + a.list-group-item-danger.active, a.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus, button.list-group-item-danger.active, button.list-group-item-danger.active:hover, button.list-group-item-danger.active:focus { @@ -4894,8 +4701,7 @@ button.list-group-item-danger { .panel-body { padding: 15px; } - .panel-body:before, - .panel-body:after { + .panel-body:before, .panel-body:after { content: " "; display: table; } .panel-body:after { @@ -5242,8 +5048,7 @@ button.list-group-item-danger { text-shadow: 0 1px 0 #fff; opacity: 0.2; filter: alpha(opacity=20); } - .close:hover, - .close:focus { + .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; @@ -5324,8 +5129,7 @@ button.close { .modal-header { padding: 15px; border-bottom: 1px solid #e5e5e5; } - .modal-header:before, - .modal-header:after { + .modal-header:before, .modal-header:after { content: " "; display: table; } .modal-header:after { @@ -5346,8 +5150,7 @@ button.close { padding: 15px; text-align: right; border-top: 1px solid #e5e5e5; } - .modal-footer:before, - .modal-footer:after { + .modal-footer:before, .modal-footer:after { content: " "; display: table; } .modal-footer:after { @@ -5541,8 +5344,7 @@ button.close { .popover-content { padding: 9px 14px; } -.popover > .arrow, -.popover > .arrow:after { +.popover > .arrow, .popover > .arrow:after { position: absolute; display: block; width: 0; @@ -5644,19 +5446,15 @@ button.close { -webkit-perspective: 1000px; -moz-perspective: 1000px; perspective: 1000px; } - .carousel-inner > .item.next, - .carousel-inner > .item.active.right { + .carousel-inner > .item.next, .carousel-inner > .item.active.right { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); left: 0; } - .carousel-inner > .item.prev, - .carousel-inner > .item.active.left { + .carousel-inner > .item.prev, .carousel-inner > .item.active.left { -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); left: 0; } - .carousel-inner > .item.next.left, - .carousel-inner > .item.prev.right, - .carousel-inner > .item.active { + .carousel-inner > .item.next.left, .carousel-inner > .item.prev.right, .carousel-inner > .item.active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); left: 0; } } @@ -5710,8 +5508,7 @@ button.close { background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); } - .carousel-control:hover, - .carousel-control:focus { + .carousel-control:hover, .carousel-control:focus { outline: 0; color: #fff; text-decoration: none; @@ -5808,8 +5605,7 @@ button.close { .carousel-indicators { bottom: 20px; } } -.clearfix:before, -.clearfix:after { +.clearfix:before, .clearfix:after { content: " "; display: table; } diff --git a/dist/css/idai-components.min.css b/dist/css/idai-components.min.css index e7d2201..f1e31ec 100644 --- a/dist/css/idai-components.min.css +++ b/dist/css/idai-components.min.css @@ -1,4 +1,4 @@ -@charset "UTF-8";.label,sub,sup{vertical-align:baseline}hr,img{border:0}body,figure{margin:0}.img-responsive,.img-thumbnail,.table,label{max-width:100%}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.pre-scrollable{max-height:340px}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:400;src:local('Source Sans Pro'),local('SourceSansPro-Regular'),url(../../fonts.gstatic.com/s/sourcesanspro/v9/ODelI1aHBYDBqgeIAH2zlFzCdIATDt8zXO3QNtzVeJ8.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:700;src:local('Source Sans Pro Bold'),local('SourceSansPro-Bold'),url(../../fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGGAlZ1PukdtTN2z-JxSzbe8.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:400;src:local('Source Sans Pro Italic'),local('SourceSansPro-It'),url(../../fonts.gstatic.com/s/sourcesanspro/v9/M2Jd71oPJhLKp0zdtTvoM6xot8ENfkYez2Lz7rcrw70.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:700;src:local('Source Sans Pro Bold Italic'),local('SourceSansPro-BoldIt'),url(../../fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6KQ4IK8jcFikBX2R8jKe4LU.ttf) format('truetype')}/*! +@charset "UTF-8";.label,sub,sup{vertical-align:baseline}hr,img{border:0}body,figure{margin:0}.img-responsive,.img-thumbnail,.table,label{max-width:100%}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.pre-scrollable{max-height:340px}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:400;src:local('Source Sans Pro'),local('SourceSansPro-Regular'),url(https://fonts.gstatic.com/s/sourcesanspro/v9/ODelI1aHBYDBqgeIAH2zlFzCdIATDt8zXO3QNtzVeJ8.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:700;src:local('Source Sans Pro Bold'),local('SourceSansPro-Bold'),url(https://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGGAlZ1PukdtTN2z-JxSzbe8.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:400;src:local('Source Sans Pro Italic'),local('SourceSansPro-It'),url(https://fonts.gstatic.com/s/sourcesanspro/v9/M2Jd71oPJhLKp0zdtTvoM6xot8ENfkYez2Lz7rcrw70.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:italic;font-weight:700;src:local('Source Sans Pro Bold Italic'),local('SourceSansPro-BoldIt'),url(https://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6KQ4IK8jcFikBX2R8jKe4LU.ttf) format('truetype')}/*! * Bootstrap v3.3.6 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) diff --git a/dist/idai-components-deps.js b/dist/idai-components-deps.js index 9f97b90..4569fab 100644 --- a/dist/idai-components-deps.js +++ b/dist/idai-components-deps.js @@ -1,10 +1,10 @@ -!function(e,t,n){"use strict";function r(e){return function(){var t,n=arguments[0];for(t="["+(e?e+":":"")+n+"] http://errors.angularjs.org/1.4.6/"+(e?e+"/":"")+n,n=1;n0&&t-1 in e}function a(e,t,n){var r,o;if(e)if(S(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(Xn(e)||i(e)){var s="object"!=typeof e;for(r=0,o=e.length;o>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==a)e.forEach(t,n,e);else if(x(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)Hn.call(e,r)&&t.call(n,e[r],r,e);return e}function o(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var o=t[i];if(w(o)||S(o))for(var s=Object.keys(o),l=0,p=s.length;p>l;l++){var d=s[l],f=o[d];n&&w(f)?D(f)?e[d]=new Date(f.valueOf()):T(f)?e[d]=new RegExp(f):(w(e[d])||(e[d]=Xn(f)?[]:{}),c(e[d],[f],!0)):e[d]=f}}return u(e,r),e}function p(e){return c(e,_n.call(arguments,1),!1)}function d(e){return c(e,_n.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function h(e,t){return p(Object.create(e),t)}function m(){}function g(e){return e}function $(e){return function(){return e}}function v(e){return S(e.toString)&&e.toString!==Object.prototype.toString}function b(e){return"undefined"==typeof e}function y(e){return"undefined"!=typeof e}function w(e){return null!==e&&"object"==typeof e}function x(e){return null!==e&&"object"==typeof e&&!Yn(e)}function k(e){return"string"==typeof e}function C(e){return"number"==typeof e}function D(e){return"[object Date]"===Wn.call(e)}function S(e){return"function"==typeof e}function T(e){return"[object RegExp]"===Wn.call(e)}function M(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function O(e){return"boolean"==typeof e}function A(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t={};e=e.split(",");var n;for(n=0;n=0&&e.splice(n,1),n}function V(e,t,n,r){if(M(e)||E(e))throw Gn("cpws");if(Qn.test(Wn.call(t)))throw Gn("cpta");if(t){if(e===t)throw Gn("cpi");n=n||[],r=r||[],w(e)&&(n.push(e),r.push(t));var i;if(Xn(e))for(i=t.length=0;in;n++)t[n]=e[n]}else if(w(e))for(n in t=t||{},e)("$"!==n.charAt(0)||"$"!==n.charAt(1))&&(t[n]=e[n]);return t||e}function F(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r=typeof e;if(r==typeof t&&"object"==r){if(!Xn(e)){if(D(e))return D(t)?F(e.getTime(),t.getTime()):!1;if(T(e))return T(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||M(e)||M(t)||Xn(t)||D(t)||T(t))return!1;r=ue();for(n in e)if("$"!==n.charAt(0)&&!S(e[n])){if(!F(e[n],t[n]))return!1;r[n]=!0}for(n in t)if(!(n in r)&&"$"!==n.charAt(0)&&y(t[n])&&!S(t[n]))return!1;return!0}if(!Xn(t))return!1;if((r=e.length)==t.length){for(n=0;r>n;n++)if(!F(e[n],t[n]))return!1;return!0}}return!1}function R(e,t,n){return e.concat(_n.call(t,n))}function j(e,t){var n=2").append(e).html();try{return e[0].nodeType===lr?qn(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+qn(t)})}catch(r){return qn(n)}}function W(e){try{return decodeURIComponent(e)}catch(t){}}function Y(e){var t={};return a((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=W(r),y(r)&&(i=y(i)?W(i):!0,Hn.call(t,r)?Xn(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function G(e){var t=[];return a(e,function(e,n){Xn(e)?a(e,function(e){t.push(J(n,!0)+(!0===e?"":"="+J(e,!0)))}):t.push(J(n,!0)+(!0===e?"":"="+J(e,!0)))}),t.length?t.join("&"):""}function K(e){return J(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function J(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function Z(e,t){var n,r,i=ir.length;for(r=0;i>r;++r)if(n=ir[r]+t,k(n=e.getAttribute(n)))return n;return null}function X(e,t){var n,r,i={};a(ir,function(t){t+="app",!n&&e.hasAttribute&&e.hasAttribute(t)&&(n=e,r=e.getAttribute(t))}),a(ir,function(t){t+="app";var i;!n&&(i=e.querySelector("["+t.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(t))}),n&&(i.strictDi=null!==Z(n,"strict-di"),t(n,r?[r]:[],i))}function Q(n,r,i){w(i)||(i={}),i=p({strictDi:!1},i);var o=function(){if(n=Un(n),n.injector()){var e=n[0]===t?"document":z(n);throw Gn("btstrpd",e.replace(//,">"))}return r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng"),e=Fe(r,i.strictDi),e.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),e},s=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!l.test(e.name)?o():(e.name=e.name.replace(l,""),Kn.resumeBootstrap=function(e){return a(e,function(e){r.push(e)}),o()},void(S(Kn.resumeDeferredBootstrap)&&Kn.resumeDeferredBootstrap()))}function ee(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function te(e){if(e=Kn.element(e).injector(),!e)throw Gn("test");return e.get("$$testability")}function ne(e,t){return t=t||"_",e.replace(ar,function(e,n){return(n?t:"")+e.toLowerCase()})}function re(){var t;if(!or){var r=rr();(Fn=b(r)?e.jQuery:r?e[r]:n)&&Fn.fn.on?(Un=Fn,p(Fn.fn,{scope:wr.scope,isolateScope:wr.isolateScope,controller:wr.controller,injector:wr.injector,inheritedData:wr.inheritedData}),t=Fn.cleanData,Fn.cleanData=function(e){var n;if(Zn)Zn=!1;else for(var r,i=0;null!=(r=e[i]);i++)(n=Fn._data(r,"events"))&&n.$destroy&&Fn(r).triggerHandler("$destroy");t(e)}):Un=me,Kn.element=Un,or=!0}}function ie(e,t,n){if(!e)throw Gn("areq",t||"?",n||"required");return e}function ae(e,t,n){return n&&Xn(e)&&(e=e[e.length-1]),ie(S(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function oe(e,t){if("hasOwnProperty"===e)throw Gn("badname",t)}function se(e,t,n){if(!t)return e;t=t.split(".");for(var r,i=e,a=t.length,o=0;a>o;o++)r=t[o],e&&(e=(i=e)[r]);return!n&&S(e)?j(i,e):e}function le(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Un(_n.call(e,0,i))),t.push(n));return t||e}function ue(){return Object.create(null)}function ce(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng");return e=t(e,"angular",Object),e.$$minErr=e.$$minErr||r,t(e,"module",function(){var e={};return function(r,a,o){if("hasOwnProperty"===r)throw i("badname","module");return a&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function t(e,t){return function(n,a){return a&&S(a)&&(a.$$moduleName=r),i.push([e,t,arguments]),c}}if(!a)throw n("nomod",r);var i=[],s=[],l=[],u=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:l,requires:a,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),config:u,run:function(e){return l.push(e),this}};return o&&u(o),c})}})}function pe(t){p(t,{bootstrap:Q,copy:V,extend:p,merge:d,equals:F,element:Un,forEach:a,injector:Fe,noop:m,bind:j,toJson:H,fromJson:L,identity:g,isUndefined:b,isDefined:y,isString:k,isFunction:S,isObject:w,isNumber:C,isElement:A,isArray:Xn,version:ur,isDate:D,lowercase:qn,uppercase:Ln,callbacks:{counter:0},getTestability:te,$$minErr:r,$$csp:nr,reloadWithDebugInfo:ee}),(Rn=ce(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:zt}),e.provider("$compile",We).directive({a:bi,input:Vi,textarea:Vi,form:ki,script:ka,select:Sa,style:Ma,option:Ta,ngBind:Ri,ngBindHtml:qi,ngBindTemplate:ji,ngClass:Li,ngClassEven:Bi,ngClassOdd:_i,ngCloak:zi,ngController:Wi,ngForm:Ci,ngHide:$a,ngIf:Ki,ngInclude:Ji,ngInit:Xi,ngNonBindable:ca,ngPluralize:ha,ngRepeat:ma,ngShow:ga,ngStyle:va,ngSwitch:ba,ngSwitchWhen:ya,ngSwitchDefault:wa,ngOptions:fa,ngTransclude:xa,ngModel:sa,ngList:Qi,ngChange:Hi,pattern:Oa,ngPattern:Oa,required:Ea,ngRequired:Ea,minlength:Pa,ngMinlength:Pa,maxlength:Aa,ngMaxlength:Aa,ngValue:Fi,ngModelOptions:ua}).directive({ngInclude:Zi}).directive(yi).directive(Yi),e.provider({$anchorScroll:Re,$animate:Ir,$animateCss:Vr,$$animateQueue:Nr,$$AnimateRunner:Pr,$browser:_e,$cacheFactory:Be,$controller:Je,$document:Ze,$exceptionHandler:Xe,$filter:on,$$forceReflow:qr,$interpolate:ct,$interval:pt,$http:ot,$httpParamSerializer:et,$httpParamSerializerJQLike:tt,$httpBackend:lt,$location:kt,$log:Ct,$parse:jt,$rootScope:Bt,$q:qt,$$q:Ht,$sce:Kt,$sceDelegate:Gt,$sniffer:Jt,$templateCache:ze,$templateRequest:Zt,$$testability:Xt,$timeout:Qt,$window:nn,$$rAF:_t,$$jqLite:Ne,$$HashMap:Dr,$$cookieReader:an})}])}function de(e){return e.replace(dr,function(e,t,n,r){return r?n.toUpperCase():n}).replace(fr,"Moz$1")}function fe(e){return e=e.nodeType,e===sr||!e||9===e}function he(e,t){var n,r,i=t.createDocumentFragment(),o=[];if($r.test(e)){for(n=n||i.appendChild(t.createElement("div")),r=(vr.exec(e)||["",""])[1].toLowerCase(),r=yr[r]||yr._default,n.innerHTML=r[1]+e.replace(br,"<$1>")+r[2],r=r[0];r--;)n=n.lastChild;o=R(o,n.childNodes),n=i.firstChild,n.textContent=""}else o.push(t.createTextNode(e));return i.textContent="",i.innerHTML="",a(o,function(e){i.appendChild(e)}),i}function me(e){if(e instanceof me)return e;var n;if(k(e)&&(e=er(e),n=!0),!(this instanceof me)){if(n&&"<"!=e.charAt(0))throw mr("nosel");return new me(e)}if(n){n=t;var r;e=(r=gr.exec(e))?[n.createElement(r[1])]:(r=he(e,n))?r.childNodes:[]}De(this,e)}function ge(e){return e.cloneNode(!0)}function $e(e,t){if(t||be(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)be(n[r])}function ve(e,t,n,r){if(y(r))throw mr("offargs");var i=(r=ye(e))&&r.events,o=r&&r.handle;if(o)if(t)a(t.split(" "),function(t){if(y(n)){var r=i[t];if(I(r||[],n),r&&0r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Se(e,t){return Te(e,"$"+(t||"ngController")+"Controller")}function Te(e,t,n){for(9==e.nodeType&&(e=e.documentElement),t=Xn(t)?t:[t];e;){for(var r=0,i=t.length;i>r;r++)if(y(n=Un.data(e,t[r])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function Me(e){for($e(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Ee(e,t){t||$e(e);var n=e.parentNode;n&&n.removeChild(e)}function Oe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Un(n).on("load",t)}function Ae(e,t){var n=xr[t.toLowerCase()];return n&&kr[N(e)]&&n}function Pe(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],a=i?i.length:0;if(a){if(b(n.immediatePropagationStopped)){var o=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),o&&o.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped},a>1&&(i=U(i));for(var s=0;a>s;s++)n.isImmediatePropagationStopped()||i[s].call(e,n)}};return n.elem=e,n}function Ne(){this.$get=function(){return p(me,{hasClass:function(e,t){return e.attr&&(e=e[0]),xe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Ce(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),ke(e,t)}})}}function Ie(e,t){var n=e&&e.$$hashKey;return n?("function"==typeof n&&(n=e.$$hashKey()),n):(n=typeof e,n="function"==n||"object"==n&&null!==e?e.$$hashKey=n+":"+(t||l)():n+":"+e)}function Ve(e,t){if(t){var n=0;this.nextUid=function(){return++n}}a(e,this.put,this)}function Ue(e){return(e=e.toString().replace(Er,"").match(Sr))?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Fe(e,t){function r(e){return function(t,n){return w(t)?void a(t,s(e)):e(t,n)}}function i(e,t){if(oe(e,"service"),(S(t)||Xn(t))&&(t=m.instantiate(t)),!t.$get)throw Or("pget",e);return h[e+"Provider"]=t}function o(e,t){return function(){var n=v.invoke(t,this);if(b(n))throw Or("undef",e);return n}}function l(e,t,n){return i(e,{$get:!1!==n?o(e,t):t})}function u(e){ie(b(e)||Xn(e),"modulesToLoad","not an array");var t,n=[];return a(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=m.get(r[0]);i[r[1]].apply(i,r[2])}}if(!f.get(e)){f.put(e,!0);try{k(e)?(t=Rn(e),n=n.concat(u(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):S(e)?n.push(m.invoke(e)):Xn(e)?n.push(m.invoke(e)):ae(e,"module")}catch(i){throw Xn(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Or("modulerr",e,i.stack||i.message||i)}}}),n}function c(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw Or("cdep",t+" <- "+d.join(" <- "));return e[t]}try{return d.unshift(t),e[t]=p,e[t]=n(t,r)}catch(i){throw e[t]===p&&delete e[t],i}finally{d.shift()}}function i(e,n,i,a){"string"==typeof i&&(a=i,i=null);var o,s,l,u=[],c=Fe.$$annotate(e,t,a);for(s=0,o=c.length;o>s;s++){if(l=c[s],"string"!=typeof l)throw Or("itkn",l);u.push(i&&i.hasOwnProperty(l)?i[l]:r(l,a))}return Xn(e)&&(e=e[o]),e.apply(n,u)}return{invoke:i,instantiate:function(e,t,n){var r=Object.create((Xn(e)?e[e.length-1]:e).prototype||null);return e=i(e,r,t,n),w(e)||S(e)?e:r},get:r,annotate:Fe.$$annotate,has:function(t){return h.hasOwnProperty(t+"Provider")||e.hasOwnProperty(t)}}}t=!0===t;var p={},d=[],f=new Ve([],!0),h={$provide:{provider:r(i),factory:r(l),service:r(function(e,t){return l(e,["$injector",function(e){return e.instantiate(t)}])}),value:r(function(e,t){return l(e,$(t),!1)}),constant:r(function(e,t){oe(e,"constant"),h[e]=t,g[e]=t}),decorator:function(e,t){var n=m.get(e+"Provider"),r=n.$get;n.$get=function(){var e=v.invoke(r,n);return v.invoke(t,null,{$delegate:e})}}}},m=h.$injector=c(h,function(e,t){throw Kn.isString(t)&&d.push(t),Or("unpr",d.join(" <- "))}),g={},v=g.$injector=c(g,function(e,t){var r=m.get(e+"Provider",t);return v.invoke(r.$get,r,n,e)});return a(u(e),function(e){e&&v.invoke(e)}),v}function Re(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===N(e)?(t=e,!0):void 0}),t}function a(e){if(e){e.scrollIntoView();var n;n=o.yOffset,S(n)?n=n():A(n)?(n=n[0],n="fixed"!==t.getComputedStyle(n).position?0:n.getBoundingClientRect().bottom):C(n)||(n=0),n&&(e=e.getBoundingClientRect().top,t.scrollBy(0,e-n))}else t.scrollTo(0,0)}function o(e){e=k(e)?e:n.hash();var t;e?(t=s.getElementById(e))?a(t):(t=i(s.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var s=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||Oe(function(){r.$evalAsync(o)})}),o}]}function je(e,t){return e||t?e?t?(Xn(e)&&(e=e.join(" ")),Xn(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function qe(e){k(e)&&(e=e.split(" "));var t=ue();return a(e,function(e){e.length&&(t[e]=!0)}),t}function He(e){return w(e)?e:{}}function Le(e,t,n,r){function i(e){try{e.apply(null,_n.call(arguments,1))}finally{if(g--,0===g)for(;$.length;)try{$.pop()()}catch(t){n.error(t)}}}function o(){k=null,s(),l()}function s(){e:{try{v=p.state;break e}catch(e){}v=void 0}v=b(v)?null:v,F(v,S)&&(v=S),S=v}function l(){(w!==u.url()||y!==v)&&(w=u.url(),y=v,a(C,function(e){e(u.url(),v)}))}var u=this,c=e.location,p=e.history,d=e.setTimeout,f=e.clearTimeout,h={};u.isMock=!1;var g=0,$=[];u.$$completeOutstandingRequest=i,u.$$incOutstandingRequestCount=function(){g++},u.notifyWhenNoOutstandingRequests=function(e){0===g?e():$.push(e)};var v,y,w=c.href,x=t.find("base"),k=null;s(),y=v,u.url=function(t,n,i){if(b(i)&&(i=null),c!==e.location&&(c=e.location),p!==e.history&&(p=e.history),t){var a=y===i;if(w===t&&(!r.history||a))return u;var o=w&>(w)===gt(t);return w=t,y=i,!r.history||o&&a?((!o||k)&&(k=t),n?c.replace(t):o?(n=c,i=t.indexOf("#"),i=-1===i?"":t.substr(i),n.hash=i):c.href=t,c.href!==t&&(k=t)):(p[n?"replaceState":"pushState"](i,"",t),s(),y=v),u}return k||c.href.replace(/%27/g,"'")},u.state=function(){return v};var C=[],D=!1,S=null;u.onUrlChange=function(t){return D||(r.history&&Un(e).on("popstate",o),Un(e).on("hashchange",o),D=!0),C.push(t),t},u.$$applicationDestroyed=function(){Un(e).off("hashchange popstate",o)},u.$$checkUrlChange=l,u.baseHref=function(){var e=x.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},u.defer=function(e,t){var n;return g++,n=d(function(){delete h[n],i(e)},t||0),h[n]=!0,n},u.defer.cancel=function(e){return h[e]?(delete h[e],f(e),i(m),!0):!1}}function _e(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Le(e,r,t,n)}]}function Be(){this.$get=function(){function e(e,n){function i(e){e!=d&&(f?f==e&&(f=e.n):f=e,a(e.n,e.p),a(e,d),d=e,d.n=null)}function a(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid",e);var o=0,s=p({},n,{id:e}),l={},u=n&&n.capacity||Number.MAX_VALUE,c={},d=null,f=null;return t[e]={put:function(e,t){if(!b(t)){if(uu&&this.remove(f.key),t}},get:function(e){if(u").parent()[0])});var o=P(e,t,e,n,r,i);A.$$addScopeClass(e);var s=null;return function(t,n,r){ie(t,"scope"),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers;if(r=r.futureParentElement,i&&i.$$boundTransclude&&(i=i.$$boundTransclude),s||(s=(r=r&&r[0])&&"foreignobject"!==N(r)&&r.toString().match(/SVG/)?"svg":"html"),r="html"!==s?Un(J(s,Un("
").append(e).html())):n?wr.clone.call(e):e,a)for(var l in a)r.data("$"+l+"Controller",a[l].instance);return A.$$addScopeInfo(r,t),n&&n(r,t),o&&o(t,r,r,i),r}}function P(e,t,r,i,a,o){function s(e,r,i,a){var o,s,l,u,c,p,h;if(d)for(h=Array(r.length),u=0;uu;)s=h[f[u++]],r=f[u++],o=f[u++],r?(r.scope?(l=e.$new(),A.$$addScopeInfo(Un(s),l),(p=r.$$destroyBindings)&&(r.$$destroyBindings=null,l.$on("$destroyed",p))):l=e,p=r.transcludeOnThisElement?V(e,r.transclude,a):!r.templateOnThisElement&&a?a:!a&&t?V(e,t):null,r(o,l,s,i,p,r)):o&&o(e,s.childNodes,n,a)}for(var l,u,c,p,d,f=[],h=0;hf;f++){var m=!1,g=!1;s=d[f],a=s.name,l=er(s.value),s=Ye(a),(p=ce.test(s))&&(a=a.replace(Fr,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var $=s.replace(/(Start|End)$/,"");_($)&&s===$+"Start"&&(m=a,g=a.substr(0,a.length-5)+"end",a=a.substr(0,a.length-6)),s=Ye(a.toLowerCase()),o[s]=a,(p||!n.hasOwnProperty(s))&&(n[s]=l,Ae(e,s)&&(n[s]=!0)),X(e,t,l,s,p),L(t,s,"A",r,i,m,g)}if(e=e.className,w(e)&&(e=e.animVal),k(e)&&""!==e)for(;a=c.exec(e);)s=Ye(a[2]),L(t,s,"C",r,i)&&(n[s]=er(a[3])),e=e.substr(a.index+a[0].length);break;case lr:if(11===Vn)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===lr;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);K(t,e.nodeValue);break;case 8:try{(a=u.exec(e.nodeValue))&&(s=Ye(a[1]),L(t,s,"M",r,i)&&(n[s]=er(a[2])))}catch(v){}}return t.sort(Y),t}function R(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Ur("uterdir",t,n);e.nodeType==sr&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Un(r)}function j(e,t,n){return function(r,i,a,o,s){return i=R(i[0],t,n),e(r,i,a,o,s)}}function q(e,r,a,o,s,l,u,c,p){function d(e,t,n,r){e&&(n&&(e=j(e,n,r)),e.require=v.require,e.directiveName=b,(M===v||v.$$isolateScope)&&(e=ee(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=j(t,n,r)),t.require=v.require,t.directiveName=b,(M===v||v.$$isolateScope)&&(t=ee(t,{isolateScope:!0})),c.push(t))}function h(e,t,n,r){var i;if(k(t)){var a=t.match(f);t=t.substring(a[0].length);var o=a[1]||a[3],a="?"===a[2];if("^^"===o?n=n.parent():i=(i=r&&r[t])&&i.instance,i||(r="$"+t+"Controller",i=o?n.inheritedData(r):n.data(r)),!i&&!a)throw Ur("ctreq",t,e)}else if(Xn(t))for(i=[],o=0,a=t.length;a>o;o++)i[o]=h(e,t[o],n,r);return i||null}function m(e,t,n,r,i,a){var o,s=ue();for(o in r){var l=r[o],u={$scope:l===M||l.$$isolateScope?i:a,$element:e,$attrs:t,$transclude:n},c=l.controller;"@"==c&&(c=t[l.name]),u=$(c,u,!0,l.controllerAs),s[l.name]=u,V||e.data("$"+l.name+"Controller",u.instance)}return s}function g(e,t,i,o,s,l){function p(e,t,r){var i;return E(e)||(r=t,t=e,e=n),V&&(i=v),r||(r=V?y.parent():y),s(e,t,i,r,C)}var d,f,g,$,v,b,y;if(r===i?(o=a,y=a.$$element):(y=Un(i),o=new ae(y,a)),M&&($=t.$new(!0)),s&&(b=p,b.$$boundTransclude=s),T&&(v=m(y,o,b,T,$,t)),M&&(A.$$addScopeInfo(y,$,!0,!(O&&(O===M||O===M.$$originalDirective))),A.$$addScopeClass(y,!0),$.$$isolateBindings=M.$$isolateBindings,re(t,o,$,$.$$isolateBindings,M,$)),v){var w,x=M||D;x&&v[x.name]&&(f=x.$$bindings.bindToController,(g=v[x.name])&&g.identifier&&f&&(w=g,l.$$destroyBindings=re(t,o,g.instance,f,x)));for(d in v){g=v[d];var k=g();k!==g.instance&&(g.instance=k,y.data("$"+d+"Controller",k),g===w&&(l.$$destroyBindings(),l.$$destroyBindings=re(t,o,k,f,x)))}}for(d=0,l=u.length;l>d;d++)f=u[d],te(f,f.isolateScope?$:t,y,o,f.require&&h(f.directiveName,f.require,y,v),b);var C=t;for(M&&(M.template||null===M.templateUrl)&&(C=$),e&&e(C,i.childNodes,n,s),d=c.length-1;d>=0;d--)f=c[d],te(f,f.isolateScope?$:t,y,o,f.require&&h(f.directiveName,f.require,y,v),b)}p=p||{};for(var v,b,y,x,C=-Number.MAX_VALUE,D=p.newScopeDirective,T=p.controllerDirectives,M=p.newIsolateScopeDirective,O=p.templateDirective,P=p.nonTlbTranscludeDirective,N=!1,I=!1,V=p.hasElementTranscludeDirective,F=a.$$element=Un(r),q=o,L=0,_=e.length;_>L;L++){v=e[L];var Y=v.$$start,K=v.$$end;if(Y&&(F=R(r,Y,K)),y=n,C>v.priority)break;if((y=v.scope)&&(v.templateUrl||(w(y)?(G("new/isolated scope",M||D,v,F),M=v):G("new/isolated scope",M,v,F)),D=D||v),b=v.name,!v.templateUrl&&v.controller&&(y=v.controller,T=T||ue(),G("'"+b+"' controller",T[b],v,F),T[b]=v),(y=v.transclude)&&(N=!0,v.$$tlb||(G("transclusion",P,v,F),P=v),"element"==y?(V=!0,C=v.priority,y=F,F=a.$$element=Un(t.createComment(" "+b+": "+a[b]+" ")),r=F[0],Q(s,_n.call(y,0),r),q=A(y,o,C,l&&l.name,{nonTlbTranscludeDirective:P})):(y=Un(ge(r)).contents(),F.empty(),q=A(y,o))),v.template)if(I=!0,G("template",O,v,F),O=v,y=S(v.template)?v.template(F,a):v.template,y=le(y),v.replace){if(l=v,y=$r.test(y)?Ke(J(v.templateNamespace,er(y))):[],r=y[0],1!=y.length||r.nodeType!==sr)throw Ur("tplrt",b,"");Q(s,F,r),_={$attr:{}},y=U(r,[],_);var Z=e.splice(L+1,e.length-(L+1));M&&H(y),e=e.concat(y).concat(Z),B(a,_),_=e.length}else F.html(y);if(v.templateUrl)I=!0,G("template",O,v,F),O=v,v.replace&&(l=v),g=W(e.splice(L,e.length-L),F,a,s,N&&q,u,c,{controllerDirectives:T,newScopeDirective:D!==v&&D,newIsolateScopeDirective:M,templateDirective:O,nonTlbTranscludeDirective:P}),_=e.length;else if(v.compile)try{x=v.compile(F,a,q),S(x)?d(null,x,Y,K):x&&d(x.pre,x.post,Y,K)}catch(X){i(X,z(F))}v.terminal&&(g.terminal=!0,C=Math.max(C,v.priority))}return g.scope=D&&!0===D.scope,g.transcludeOnThisElement=N,g.templateOnThisElement=I,g.transclude=q,p.hasElementTranscludeDirective=V,g}function H(e){for(var t=0,n=e.length;n>t;t++)e[t]=h(e[t],{$$isolateScope:!0})}function L(t,n,r,a,o,s,u){if(n===o)return null;if(o=null,l.hasOwnProperty(n)){var c;n=e.get(n+"Directive");for(var p=0,d=n.length;d>p;p++)try{c=n[p],(b(a)||a>c.priority)&&-1!=c.restrict.indexOf(r)&&(s&&(c=h(c,{$$start:s,$$end:u})),t.push(c),o=c)}catch(f){i(f)}}return o}function _(t){if(l.hasOwnProperty(t))for(var n=e.get(t+"Directive"),r=0,i=n.length;i>r;r++)if(t=n[r],t.multiElement)return!0;return!1}function B(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;a(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),a(t,function(t,a){"class"==a?(O(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==a?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==a.charAt(0)||e.hasOwnProperty(a)||(e[a]=t,r[a]=n[a])})}function W(e,t,n,r,i,s,l,u){var c,p,d=[],f=t[0],m=e.shift(),g=h(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),$=S(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,v=m.templateNamespace;return t.empty(),o($).then(function(o){var h,b;if(o=le(o),m.replace){if(o=$r.test(o)?Ke(J(v,er(o))):[],h=o[0],1!=o.length||h.nodeType!==sr)throw Ur("tplrt",m.name,$);o={$attr:{}},Q(r,t,h);var y=U(h,[],o);w(m.scope)&&H(y),e=y.concat(e),B(n,o)}else h=f,t.html(o);for(e.unshift(g),c=q(e,h,n,i,t,m,s,l,u),a(r,function(e,n){e==h&&(r[n]=t[0])}),p=P(t[0].childNodes,i);d.length;){o=d.shift(),b=d.shift();var x=d.shift(),k=d.shift(),y=t[0];if(!o.$$destroyed){if(b!==f){var C=b.className;u.hasElementTranscludeDirective&&m.replace||(y=ge(h)),Q(x,Un(b),y),O(Un(y),C)}b=c.transcludeOnThisElement?V(o,c.transclude,k):k,c(p,o,y,r,b,c)}}d=null}),function(e,t,n,r,i){e=i,t.$$destroyed||(d?d.push(t,n,r,e):(c.transcludeOnThisElement&&(e=V(t,c.transclude,i)),c(p,t,n,r,e,c))); -}}function Y(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function Z(e,t){if("srcdoc"==t)return D.HTML;var n=N(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?D.RESOURCE_URL:void 0}function X(e,t,n,i,a){var o=Z(e,i);a=d[i]||a;var s=r(n,!0,o,a);if(s){if("multiple"===i&&"select"===N(e))throw Ur("selmulti",z(e));t.push({priority:100,compile:function(){return{pre:function(e,t,l){if(t=l.$$observers||(l.$$observers={}),v.test(i))throw Ur("nodomevents");var u=l[i];u!==n&&(s=u&&r(u,!0,o,a),n=u),s&&(l[i]=s(e),(t[i]||(t[i]=[])).$$inter=!0,(l.$$observers&&l.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?l.$updateClass(e,t):l.$set(i,e)}))}}}})}}function Q(e,n,r){var i,a,o=n[0],s=n.length,l=o.parentNode;if(e)for(i=0,a=e.length;a>i;i++)if(e[i]==o){e[i++]=r,a=i+s-1;for(var u=e.length;u>i;i++,a++)u>a?e[i]=e[a]:delete e[i];e.length-=s-1,e.context===o&&(e.context=r);break}for(l&&l.replaceChild(r,o),e=t.createDocumentFragment(),e.appendChild(o),Un.hasData(o)&&(Un(r).data(Un(o).data()),Fn?(Zn=!0,Fn.cleanData([o])):delete Un.cache[o[Un.expando]]),o=1,s=n.length;s>o;o++)l=n[o],Un(l).remove(),e.appendChild(l),delete n[o];n[0]=r,n.length=1}function ee(e,t){return p(function(){return e.apply(null,arguments)},e,t)}function te(e,t,n,r,a,o){try{e(t,n,r,a,o)}catch(s){i(s,z(n))}}function re(e,t,n,i,o,l){var u;return a(i,function(i,a){var l,c,p,d,f=i.attrName,h=i.optional;switch(i.mode){case"@":h||Hn.call(t,f)||(n[a]=t[f]=void 0),t.$observe(f,function(e){k(e)&&(n[a]=e)}),t.$$observers[f].$$scope=e,k(t[f])&&(n[a]=r(t[f])(e));break;case"=":if(!Hn.call(t,f)){if(h)break;t[f]=void 0}if(h&&!t[f])break;c=s(t[f]),d=c.literal?F:function(e,t){return e===t||e!==e&&t!==t},p=c.assign||function(){throw l=n[a]=c(e),Ur("nonassign",t[f],o.name)},l=n[a]=c(e),h=function(t){return d(t,n[a])||(d(t,l)?p(e,t=n[a]):n[a]=t),l=t},h.$stateful=!0,h=i.collection?e.$watchCollection(t[f],h):e.$watch(s(t[f],h),null,c.literal),u=u||[],u.push(h);break;case"&":if(c=t.hasOwnProperty(f)?s(t[f]):m,c===m&&h)break;n[a]=function(t){return c(e,t)}}}),i=u?function(){for(var e=0,t=u.length;t>e;++e)u[e]()}:m,l&&i!==m?(l.$on("$destroy",i),m):i}var ae=function(e,t){if(t){var n,r,i,a=Object.keys(t);for(n=0,r=a.length;r>n;n++)i=a[n],this[i]=t[i]}else this.$attr={};this.$$element=e};ae.prototype={$normalize:Ye,$addClass:function(e){e&&0c;c++)var p=2*c,o=o+M(er(s[p]),!0),o=o+(" "+er(s[p+1]));s=er(s[2*c]).split(/\s/),o+=M(er(s[0]),!0),2===s.length&&(o+=" "+er(s[1])),this[e]=t=o}!1!==n&&(null===t||b(t)?this.$$element.removeAttr(r):this.$$element.attr(r,t)),(e=this.$$observers)&&a(e[l],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ue()),i=r[e]||(r[e]=[]);return i.push(t),y.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||b(n[e])||t(n[e])}),function(){I(i,t)}}};var oe=r.startSymbol(),se=r.endSymbol(),le="{{"==oe||"}}"==se?g:function(e){return e.replace(/\{\{/g,oe).replace(/}}/g,se)},ce=/^ngAttr[A-Z]/;return A.$$addBindingInfo=x?function(e,t){var n=e.data("$binding")||[];Xn(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,A.$$addBindingClass=x?function(e){O(e,"ng-binding")}:m,A.$$addScopeInfo=x?function(e,t,n,r){e.data(n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:m,A.$$addScopeClass=x?function(e,t){O(e,t?"ng-isolate-scope":"ng-scope")}:m,A}]}function Ye(e){return de(e.replace(Fr,""))}function Ge(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/),a=0;e:for(;a=t)return e;for(;t--;)8===e[t].nodeType&&Bn.call(e,t,1);return e}function Je(){var e={},t=!1;this.register=function(t,n){oe(t,"controller"),w(t)?p(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(i,a){function o(e,t,n,i){if(!e||!w(e.$scope))throw r("$controller")("noscp",i,t);e.$scope[t]=n}return function(r,s,l,u){var c,d,f;if(l=!0===l,u&&k(u)&&(f=u),k(r)){if(u=r.match(jr),!u)throw Rr("ctrlfmt",r);d=u[1],f=f||u[3],r=e.hasOwnProperty(d)?e[d]:se(s.$scope,d,!0)||(t?se(a,d,!0):n),ae(r,d,!0)}return l?(l=(Xn(r)?r[r.length-1]:r).prototype,c=Object.create(l||null),f&&o(s,f,c,d||r.name),p(function(){var e=i.invoke(r,c,s,d);return e!==c&&(w(e)||S(e))&&(c=e,f&&o(s,f,c,d||r.name)),c},{instance:c,identifier:f})):(c=i.instantiate(r,s,d),f&&o(s,f,c,d||r.name),c)}}]}function Ze(){this.$get=["$window",function(e){return Un(e.document)}]}function Xe(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Qe(e){return w(e)?D(e)?e.toISOString():H(e):e}function et(){this.$get=function(){return function(e){if(!e)return"";var t=[];return o(e,function(e,n){null===e||b(e)||(Xn(e)?a(e,function(e,r){t.push(J(n)+"="+J(Qe(e)))}):t.push(J(n)+"="+J(Qe(e))))}),t.join("&")}}}function tt(){this.$get=function(){return function(e){function t(e,r,i){null===e||b(e)||(Xn(e)?a(e,function(e,n){t(e,r+"["+(w(e)?n:"")+"]")}):w(e)&&!D(e)?o(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):n.push(J(r)+"="+J(Qe(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function nt(e,t){if(k(e)){var n=e.replace(zr,"").trim();if(n){var r=t("Content-Type");(r=r&&0===r.indexOf(Hr))||(r=(r=n.match(_r))&&Br[r[0]].test(n)),r&&(e=L(n))}}return e}function rt(e){var t,n=ue();return k(e)?a(e.split("\n"),function(e){t=e.indexOf(":");var r=qn(er(e.substr(0,t)));e=er(e.substr(t+1)),r&&(n[r]=n[r]?n[r]+", "+e:e)}):w(e)&&a(e,function(e,t){var r=qn(t),i=er(e);r&&(n[r]=n[r]?n[r]+", "+i:i)}),n}function it(e){var t;return function(n){return t||(t=rt(e)),n?(n=t[qn(n)],void 0===n&&(n=null),n):t}}function at(e,t,n,r){return S(r)?r(e,t,n):(a(r,function(r){e=r(e,t,n)}),e)}function ot(){var e=this.defaults={transformResponse:[nt],transformRequest:[function(e){return w(e)&&"[object File]"!==Wn.call(e)&&"[object Blob]"!==Wn.call(e)&&"[object FormData]"!==Wn.call(e)?H(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Lr),put:U(Lr),patch:U(Lr)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return y(e)?(t=!!e,this):t};var i=!0;this.useLegacyPromiseExtensions=function(e){return y(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(s,l,u,c,d,f){function h(t){function o(e){var t=p({},e);return t.data=e.data?at(e.data,e.headers,e.status,l.transformResponse):e.data,e=e.status,e>=200&&300>e?t:d.reject(t)}function s(e,t){var n,r={};return a(e,function(e,i){S(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}if(!Kn.isObject(t))throw r("$http")("badreq",t);var l=p({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},t);l.headers=function(t){var n,r,i,a=e.headers,o=p({},t.headers),a=p({},a.common,a[qn(t.method)]);e:for(n in a){r=qn(n);for(i in o)if(qn(i)===r)continue e;o[n]=a[n]}return s(o,U(t))}(t),l.method=Ln(l.method),l.paramSerializer=k(l.paramSerializer)?f.get(l.paramSerializer):l.paramSerializer;var u=[function(t){var r=t.headers,i=at(t.data,it(r),n,t.transformRequest);return b(i)&&a(r,function(e,t){"content-type"===qn(t)&&delete r[t]}),b(t.withCredentials)&&!b(e.withCredentials)&&(t.withCredentials=e.withCredentials),m(t,i).then(o,o)},n],c=d.when(l);for(a(v,function(e){(e.request||e.requestError)&&u.unshift(e.request,e.requestError),(e.response||e.responseError)&&u.push(e.response,e.responseError)});u.length;){t=u.shift();var h=u.shift(),c=c.then(t,h)}return i?(c.success=function(e){return ae(e,"fn"),c.then(function(t){e(t.data,t.status,t.headers,l)}),c},c.error=function(e){return ae(e,"fn"),c.then(null,function(t){e(t.data,t.status,t.headers,l)}),c}):(c.success=Yr("success"),c.error=Yr("error")),c}function m(r,i){function a(e,n,r,i){function a(){o(n,e,r,i)}f&&(e>=200&&300>e?f.put(C,[e,n,rt(r),i]):f.remove(C)),t?c.$applyAsync(a):(a(),c.$$phase||c.$apply())}function o(e,t,n,i){t=t>=-1?t:0,(t>=200&&300>t?v.resolve:v.reject)({data:e,status:t,headers:it(n),config:r,statusText:i})}function u(e){o(e.data,e.status,U(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(r);-1!==e&&h.pendingRequests.splice(e,1)}var f,m,v=d.defer(),x=v.promise,k=r.headers,C=g(r.url,r.paramSerializer(r.params));return h.pendingRequests.push(r),x.then(p,p),!r.cache&&!e.cache||!1===r.cache||"GET"!==r.method&&"JSONP"!==r.method||(f=w(r.cache)?r.cache:w(e.cache)?e.cache:$),f&&(m=f.get(C),y(m)?m&&S(m.then)?m.then(u,u):Xn(m)?o(m[1],m[0],U(m[2]),m[3]):o(m,200,{},"OK"):f.put(C,x)),b(m)&&((m=tn(r.url)?l()[r.xsrfCookieName||e.xsrfCookieName]:n)&&(k[r.xsrfHeaderName||e.xsrfHeaderName]=m),s(r.method,C,i,a,k,r.timeout,r.withCredentials,r.responseType)),x}function g(e,t){return 00)var k=n(h,p);else p&&S(p.then)&&p.then(h)}}function ct(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function a(e){return"\\\\\\"+e}function o(n){return n.replace(c,e).replace(d,t)}function s(a,s,c,d){function f(e){try{var t=e;e=c?i.getTrusted(c,t):i.valueOf(t);var n;if(d&&!y(e))n=e;else if(null==e)n="";else{switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=H(e)}n=e}return n}catch(o){r(Gr.interr(a,o))}}d=!!d;for(var h,m,g=0,$=[],v=[],w=a.length,x=[],k=[];w>g;){if(-1==(h=a.indexOf(e,g))||-1==(m=a.indexOf(t,h+l))){g!==w&&x.push(o(a.substring(g)));break}g!==h&&x.push(o(a.substring(g,h))),g=a.substring(h+l,m),$.push(g),v.push(n(g,f)),g=m+u,k.push(x.length),x.push("")}if(c&&1t;t++){if(d&&b(e[t]))return;x[k[t]]=e[t]}return x.join("")};return p(function(e){var t=0,n=$.length,i=Array(n);try{for(;n>t;t++)i[t]=v[t](e);return C(i)}catch(o){r(Gr.interr(a,o))}},{exp:a,expressions:$,$$watchDelegate:function(e,t){var n;return e.$watchGroup(v,function(r,i){var a=C(r);S(t)&&t.call(this,a,r!==i?n:a,e),n=a})}})}}var l=e.length,u=t.length,c=new RegExp(e.replace(/./g,a),"g"),d=new RegExp(t.replace(/./g,a),"g");return s.startSymbol=function(){return e},s.endSymbol=function(){return t},s}]}function pt(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,r){function i(i,o,s,l){var u=40&&f>=s&&(m.resolve(f),d(g.$$intervalId),delete a[g.$$intervalId]),h||e.$apply()},o),a[g.$$intervalId]=m,g}var a={};return i.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},i}]}function dt(e){e=e.split("/");for(var t=e.length;t--;)e[t]=K(e[t]);return e.join("/")}function ft(e,t){var n=en(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||Jr[n.protocol]||null}function ht(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=en(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=Y(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function mt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function gt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function $t(e){return e.replace(/(#.+)|#$/,"$1")}function vt(e,t,n){this.$$html5=!0,n=n||"",ft(e,this),this.$$parse=function(e){var n=mt(t,e);if(!k(n))throw Zr("ipthprfx",e,t);ht(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=G(this.$$search),n=this.$$hash?"#"+K(this.$$hash):"";this.$$url=dt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var a,o;return y(a=mt(e,r))?(o=a,o=y(a=mt(n,a))?t+(mt("/",a)||a):e+o):y(a=mt(t,r))?o=t+a:t==r+"/"&&(o=t),o&&this.$$parse(o),!!o}}function bt(e,t,n){ft(e,this),this.$$parse=function(r){var i,a=mt(e,r)||mt(t,r);b(a)||"#"!==a.charAt(0)?this.$$html5?i=a:(i="",b(a)&&(e=r,this.replace())):(i=mt(n,a),b(i)&&(i=a)),ht(i,this),r=this.$$path;var a=e,o=/^\/[A-Z]:(\/.*)/;0===i.indexOf(a)&&(i=i.replace(a,"")),o.exec(i)||(r=(i=o.exec(r))?i[1]:r),this.$$path=r,this.$$compose()},this.$$compose=function(){var t=G(this.$$search),r=this.$$hash?"#"+K(this.$$hash):"";this.$$url=dt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return gt(e)==gt(t)?(this.$$parse(t),!0):!1}}function yt(e,t,n){this.$$html5=!0,bt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var a,o;return e==gt(r)?a=r:(o=mt(t,r))?a=e+n+o:t===r+"/"&&(a=t),a&&this.$$parse(a),!!a},this.$$compose=function(){var t=G(this.$$search),r=this.$$hash?"#"+K(this.$$hash):"";this.$$url=dt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function wt(e){return function(){return this[e]}}function xt(e,t){return function(n){return b(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function kt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return O(e)?(t.enabled=e,this):w(e)?(O(e.enabled)&&(t.enabled=e.enabled),O(e.requireBase)&&(t.requireBase=e.requireBase),O(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,a,o){function s(e,t,n){var i=u.url(),a=u.$$state;try{r.url(e,t,n),u.$$state=r.state()}catch(o){throw u.url(i),u.$$state=a,o}}function l(e,t){n.$broadcast("$locationChangeSuccess",u.absUrl(),e,u.$$state,t)}var u,c;c=r.baseHref();var p,d=r.url();if(t.enabled){if(!c&&t.requireBase)throw Zr("nobase");p=d.substring(0,d.indexOf("/",d.indexOf("//")+2))+(c||"/"),c=i.history?vt:yt}else p=gt(d),c=bt;var f=p.substr(0,gt(p).lastIndexOf("/")+1);u=new c(p,f,"#"+e),u.$$parseLinkUrl(d,d),u.$$state=r.state();var h=/^\s*(javascript|mailto):/i;a.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Un(e.target);"a"!==N(i[0]);)if(i[0]===a[0]||!(i=i.parent())[0])return;var s=i.prop("href"),l=i.attr("href")||i.attr("xlink:href");w(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=en(s.animVal).href),h.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||!u.$$parseLinkUrl(s,l)||(e.preventDefault(),u.absUrl()!=r.url()&&(n.$apply(),o.angular["ff-684208-preventDefault"]=!0))}}),$t(u.absUrl())!=$t(d)&&r.url(u.absUrl(),!0);var m=!0;return r.onUrlChange(function(e,t){b(mt(f,e))?o.location.href=e:(n.$evalAsync(function(){var r,i=u.absUrl(),a=u.$$state;u.$$parse(e),u.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,a).defaultPrevented,u.absUrl()===e&&(r?(u.$$parse(i),u.$$state=a,s(i,!1,a)):(m=!1,l(i,a)))}),n.$$phase||n.$digest())}),n.$watch(function(){var e=$t(r.url()),t=$t(u.absUrl()),a=r.state(),o=u.$$replace,c=e!==t||u.$$html5&&i.history&&a!==u.$$state;(m||c)&&(m=!1,n.$evalAsync(function(){var t=u.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,u.$$state,a).defaultPrevented;u.absUrl()===t&&(r?(u.$$parse(e),u.$$state=a):(c&&s(t,o,a===u.$$state?null:u.$$state),l(e,a)))})),u.$$replace=!1}),u}]}function Ct(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||m;e=!1;try{e=!!i.apply}catch(o){}return e?function(){var e=[];return a(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Dt(e,t){if(e=w(e)&&e.toString?e.toString():e,"__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw Qr("isecfld",t);return e}function St(e,t){if(e){if(e.constructor===e)throw Qr("isecfn",t);if(e.window===e)throw Qr("isecwindow",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw Qr("isecdom",t);if(e===Object)throw Qr("isecobj",t)}return e}function Tt(e,t){if(e){if(e.constructor===e)throw Qr("isecfn",t);if(e===ei||e===ti||e===ni)throw Qr("isecff",t)}}function Mt(e,t){return"undefined"!=typeof e?e:t}function Et(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function Ot(e,t){var n,r;switch(e.type){case oi.Program:n=!0,a(e.body,function(e){Ot(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case oi.Literal:e.constant=!0,e.toWatch=[];break;case oi.UnaryExpression:Ot(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case oi.BinaryExpression:Ot(e.left,t),Ot(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case oi.LogicalExpression:Ot(e.left,t),Ot(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case oi.ConditionalExpression:Ot(e.test,t),Ot(e.alternate,t),Ot(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case oi.Identifier:e.constant=!1,e.toWatch=[e];break;case oi.MemberExpression:Ot(e.object,t),e.computed&&Ot(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case oi.CallExpression:n=e.filter?!t(e.callee.name).$stateful:!1,r=[],a(e.arguments,function(e){Ot(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&!t(e.callee.name).$stateful?r:[e];break;case oi.AssignmentExpression:Ot(e.left,t),Ot(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case oi.ArrayExpression:n=!0,r=[],a(e.elements,function(e){Ot(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case oi.ObjectExpression:n=!0,r=[],a(e.properties,function(e){Ot(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case oi.ThisExpression:e.constant=!1,e.toWatch=[]}}function At(e){if(1==e.length){e=e[0].expression;var t=e.toWatch;return 1!==t.length?t:t[0]!==e?t:n}}function Pt(e){return e.type===oi.Identifier||e.type===oi.MemberExpression}function Nt(e){return 1===e.body.length&&Pt(e.body[0].expression)?{type:oi.AssignmentExpression,left:e.body[0].expression,right:{type:oi.NGValueParameter},operator:"="}:void 0}function It(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===oi.Literal||e.body[0].expression.type===oi.ArrayExpression||e.body[0].expression.type===oi.ObjectExpression)}function Vt(e,t){this.astBuilder=e,this.$filter=t}function Ut(e,t){this.astBuilder=e,this.$filter=t}function Ft(e){return"constructor"==e}function Rt(e){return S(e.valueOf)?e.valueOf():li.call(e)}function jt(){var e=ue(),t=ue();this.$get=["$filter",function(r){function i(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=Rt(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function o(e,t,r,a,o){var s,l=a.inputs;if(1===l.length){var u=i,l=l[0];return e.$watch(function(e){var t=l(e);return i(t,u)||(s=a(e,n,n,[t]),u=t&&Rt(t)),s},t,r,o)}for(var c=[],p=[],d=0,f=l.length;f>d;d++)c[d]=i,p[d]=null;return e.$watch(function(e){for(var t=!1,r=0,o=l.length;o>r;r++){var u=l[r](e);(t||(t=!i(u,c[r])))&&(p[r]=u,c[r]=u&&Rt(u))}return t&&(s=a(e,n,n,p)),s},t,r,o)}function s(e,t,n,r){var i,a;return i=e.$watch(function(e){return r(e)},function(e,n,r){a=e,S(t)&&t.apply(this,arguments),y(e)&&r.$$postDigest(function(){y(a)&&i()})},n)}function l(e,t,n,r){function i(e){var t=!0;return a(e,function(e){y(e)||(t=!1)}),t}var o,s;return o=e.$watch(function(e){return r(e)},function(e,n,r){s=e,S(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&o()})},n)}function u(e,t,n,r){var i;return i=e.$watch(function(e){return r(e)},function(e,n,r){S(t)&&t.apply(this,arguments),i()},n)}function c(e,t){if(!t)return e;var n=e.$$watchDelegate,n=n!==l&&n!==s?function(n,r,i,a){return i=e(n,r,i,a),t(i,n,r)}:function(n,r,i,a){return i=e(n,r,i,a),n=t(i,n,r),y(i)?n:i};return e.$$watchDelegate&&e.$$watchDelegate!==o?n.$$watchDelegate=e.$$watchDelegate:t.$stateful||(n.$$watchDelegate=o,n.inputs=e.inputs?e.inputs:[e]),n}var p=nr().noUnsafeEval,d={csp:p,expensiveChecks:!1},f={csp:p,expensiveChecks:!0};return function(n,i,a){var p,h,g;switch(typeof n){case"string":g=n=n.trim();var $=a?t:e;return p=$[g],p||(":"===n.charAt(0)&&":"===n.charAt(1)&&(h=!0,n=n.substring(2)),a=a?f:d,p=new ai(a),p=new si(p,r,a).parse(n),p.constant?p.$$watchDelegate=u:h?p.$$watchDelegate=p.literal?l:s:p.inputs&&(p.$$watchDelegate=o),$[g]=p),c(p,i);case"function":return c(n,i);default:return m}}}]}function qt(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return Lt(function(t){e.$evalAsync(t)},t)}]}function Ht(){this.$get=["$browser","$exceptionHandler",function(e,t){return Lt(function(t){e.defer(t)},t)}]}function Lt(e,t){function i(e,t,n){function r(t){return function(n){i||(i=!0,t.call(e,n))}}var i=!1;return[r(t),r(n)]}function o(){this.$$state={status:0}}function s(e,t){return function(n){t.call(e,n)}}function l(r){!r.processScheduled&&r.pending&&(r.processScheduled=!0,e(function(){var e,i,a;a=r.pending,r.processScheduled=!1,r.pending=n;for(var o=0,s=a.length;s>o;++o){i=a[o][0],e=a[o][r.status];try{S(e)?i.resolve(e(r.value)):1===r.status?i.resolve(r.value):i.reject(r.value)}catch(l){i.reject(l),t(l)}}}))}function u(){this.promise=new o,this.resolve=s(this,this.resolve),this.reject=s(this,this.reject),this.notify=s(this,this.notify)}var c=r("$q",TypeError);p(o.prototype,{then:function(e,t,n){if(b(e)&&b(t)&&b(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),0=this.promise.$$state.status&&r&&r.length&&e(function(){for(var e,i,a=0,o=r.length;o>a;a++){i=r[a][0],e=r[a][3];try{i.notify(S(e)?e(n):n)}catch(s){t(s)}}})}});var d=function(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise},f=function(e,t,n){var r=null;try{S(n)&&(r=n())}catch(i){return d(i,!1)}return r&&S(r.then)?r.then(function(){return d(e,t)},function(e){return d(e,!1)}):d(e,t)},h=function(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)},m=function g(e){if(!S(e))throw c("norslvr",e);if(!(this instanceof g))return new g(e);var t=new u;return e(function(e){t.resolve(e)},function(e){t.reject(e)}),t.promise};return m.defer=function(){return new u},m.reject=function(e){var t=new u;return t.reject(e),t.promise},m.when=h,m.resolve=h,m.all=function(e){var t=new u,n=0,r=Xn(e)?[]:{};return a(e,function(e,i){n++,h(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise},m}function _t(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,a=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return a.supported=i,a}]}function Bt(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=++Jn,this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),o=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,l,u,c){function p(e){e.currentScope.$$destroyed=!0}function d(){this.$id=++Jn,this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function f(e){if(x.$$phase)throw n("inprog",x.$$phase);x.$$phase=e}function h(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function g(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function $(){}function v(){for(;D.length;)try{D.shift()()}catch(e){l(e)}s=null}function y(){null===s&&(s=c.defer(function(){x.$apply(v)}))}d.prototype={constructor:d,$new:function(t,n){var r;return n=n||this,t?(r=new d,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",p),r},$watch:function(e,t,n,r){var i=u(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var a=this,s=a.$$watchers,l={fn:t,last:$,get:i,exp:r||e,eq:!!n};return o=null,S(t)||(l.fn=m),s||(s=a.$$watchers=[]),s.unshift(l),h(this,1),function(){0<=I(s,l)&&h(a,-1),o=null}},$watchGroup:function(e,t){function n(){l=!1,u?(u=!1,t(i,i,s)):t(i,r,s)}var r=Array(e.length),i=Array(e.length),o=[],s=this,l=!1,u=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,a){i[0]=e,r[0]=n,t(i,e===n?i:r,a)}):(a(e,function(e,t){var a=s.$watch(e,function(e,a){i[t]=e,r[t]=a,l||(l=!0,s.$evalAsync(n))});o.push(a)}),function(){for(;o.length;)o.shift()()})},$watchCollection:function(e,t){function n(e){r=e;var t,n,o,s;if(!b(r)){if(w(r))if(i(r))for(a!==d&&(a=d,m=a.length=0,c++),e=r.length,m!==e&&(c++,a.length=m=e),t=0;e>t;t++)s=a[t],o=r[t],n=s!==s&&o!==o,n||s===o||(c++,a[t]=o);else{a!==f&&(a=f={},m=0,c++),e=0;for(t in r)Hn.call(r,t)&&(e++,o=r[t],s=a[t],t in a?(n=s!==s&&o!==o,n||s===o||(c++,a[t]=o)):(m++,a[t]=o,c++));if(m>e)for(t in c++,a)Hn.call(r,t)||(m--,delete a[t])}else a!==r&&(a=r,c++);return c}}n.$stateful=!0;var r,a,o,s=this,l=1g&&(h=4-g,b[h]||(b[h]=[]),b[h].push({msg:S(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:r,oldVal:i}))}catch(w){l(w)}if(!(a=d.$$watchersCount&&d.$$childHead||d!==this&&d.$$nextSibling))for(;d!==this&&!(a=d.$$nextSibling);)d=d.$parent}while(d=a);if((p||k.length)&&!g--)throw x.$$phase=null,n("infdig",t,b)}while(p||k.length);for(x.$$phase=null;C.length;)try{C.shift()()}catch(D){l(D)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===x&&c.$$applicationDestroyed(),h(this,-this.$$watchersCount);for(var t in this.$$listenerCount)g(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=m, -this.$on=this.$watch=this.$watchGroup=function(){return m},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}},$eval:function(e,t){return u(e)(this,t)},$evalAsync:function(e,t){x.$$phase||k.length||c.defer(function(){k.length&&x.$digest()}),k.push({scope:this,expression:e,locals:t})},$$postDigest:function(e){C.push(e)},$apply:function(e){try{f("$apply");try{return this.$eval(e)}finally{x.$$phase=null}}catch(t){l(t)}finally{try{x.$digest()}catch(n){throw l(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&D.push(t),y()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,g(i,1,e))}},$emit:function(e,t){var n,r,i,a=[],o=this,s=!1,u={name:e,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=R([u],arguments,1);do{for(n=o.$$listeners[e]||a,u.currentScope=o,r=0,i=n.length;i>r;r++)if(n[r])try{n[r].apply(null,c)}catch(p){l(p)}else n.splice(r,1),r--,i--;if(s)return u.currentScope=null,u;o=o.$parent}while(o);return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=this,i={name:e,targetScope:this,preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return i;for(var a,o,s=R([i],arguments,1);n=r;){for(i.currentScope=n,r=n.$$listeners[e]||[],a=0,o=r.length;o>a;a++)if(r[a])try{r[a].apply(null,s)}catch(u){l(u)}else r.splice(a,1),a--,o--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return i.currentScope=null,i}};var x=new d,k=x.$$asyncQueue=[],C=x.$$postDigestQueue=[],D=x.$$applyAsyncQueue=[];return x}]}function zt(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,a=r?t:e;return i=en(n).href,""===i||i.match(a)?n:"unsafe:"+i}}}function Wt(e){if("self"===e)return e;if(k(e)){if(-1l;l++)if(r(e[l],o)){c=!0;break}if(c)for(l=0,u=t.length;u>l;l++)if(r(t[l],o)){c=!1;break}if(c)return i;throw ui("insecurl",i.toString())}if(n===ci.HTML)return a(i);throw ui("unsafe")},valueOf:function(e){return e instanceof o?e.$$unwrapTrustedValue():e}}}]}function Kt(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Vn)throw ui("iequirks");var r=U(ci);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=g),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,o=r.getTrusted,s=r.trustAs;return a(ci,function(e,t){var n=qn(t);r[de("parse_as_"+n)]=function(t){return i(e,t)},r[de("get_trusted_"+n)]=function(t){return o(e,t)},r[de("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Jt(){this.$get=["$window","$document",function(e,t){var n,r={},i=f((/android (\d+)/.exec(qn((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),o=t[0]||{},s=/^(Moz|webkit|ms)(?=[A-Z])/,l=o.body&&o.body.style,u=!1,c=!1;if(l){for(var p in l)if(u=s.exec(p)){n=u[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),u=!!("transition"in l||n+"Transition"in l),c=!!("animation"in l||n+"Animation"in l),!i||u&&c||(u=k(l.webkitTransition),c=k(l.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>i||a),hasEvent:function(e){if("input"===e&&11>=Vn)return!1;if(b(r[e])){var t=o.createElement("div");r[e]="on"+e in t}return r[e]},csp:nr(),vendorPrefix:n,transitions:u,animations:c,android:i}}]}function Zt(){this.$get=["$templateCache","$http","$q","$sce",function(e,t,n,r){function i(a,o){i.totalPendingRequests++,k(a)&&e.get(a)||(a=r.getTrustedResourceUrl(a));var s=t.defaults&&t.defaults.transformResponse;return Xn(s)?s=s.filter(function(e){return e!==nt}):s===nt&&(s=null),t.get(a,{cache:e,transformResponse:s})["finally"](function(){i.totalPendingRequests--}).then(function(t){return e.put(a,t.data),t.data},function(e){if(!o)throw Ur("tpload",a,e.status,e.statusText);return n.reject(e)})}return i.totalPendingRequests=0,i}]}function Xt(){this.$get=["$rootScope","$browser","$location",function(e,t,n){return{findBindings:function(e,t,n){e=e.getElementsByClassName("ng-binding");var r=[];return a(e,function(e){var i=Kn.element(e).data("$binding");i&&a(i,function(i){n?new RegExp("(^|\\s)"+tr(t)+"(\\s|\\||$)").test(i)&&r.push(e):-1!=i.indexOf(t)&&r.push(e)})}),r},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(l=t(a.substring(0,s)),b(r[l])&&(r[l]=t(a.substring(s+1))));return r}}function an(){this.$get=rn}function on(e){function t(n,r){if(w(n)){var i={};return a(n,function(e,n){i[n]=t(n,e)}),i}return e.factory(n+"Filter",r)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",pn),t("date",yn),t("filter",sn),t("json",wn),t("limitTo",xn),t("lowercase",$i),t("number",dn),t("orderBy",kn),t("uppercase",vi)}function sn(){return function(e,t,n){if(!i(e)){if(null==e)return e;throw r("filter")("notarray",e)}var a;switch(cn(t)){case"function":break;case"boolean":case"null":case"number":case"string":a=!0;case"object":t=ln(t,n,a);break;default:return e}return Array.prototype.filter.call(e,t)}}function ln(e,t,n){var r=w(e)&&"$"in e;return!0===t?t=F:S(t)||(t=function(e,t){return b(e)?!1:null===e||null===t?e===t:w(t)||w(e)&&!v(e)?!1:(e=qn(""+e),t=qn(""+t),-1!==e.indexOf(t))}),function(i){return r&&!w(i)?un(i,e.$,t,!1):un(i,e,t,n)}}function un(e,t,n,r,i){var a=cn(e),o=cn(t);if("string"===o&&"!"===t.charAt(0))return!un(e,t.substring(1),n,r);if(Xn(e))return e.some(function(e){return un(e,t,n,r)});switch(a){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&un(e[s],t,n,!0))return!0;return i?!1:un(e,t,n,!1)}if("object"===o){for(s in t)if(i=t[s],!S(i)&&!b(i)&&(a="$"===s,!un(a?e:e[s],i,n,a,a)))return!1;return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function cn(e){return null===e?"null":typeof e}function pn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return b(n)&&(n=t.CURRENCY_SYM),b(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:fn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function dn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:fn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function fn(e,t,n,r,i){if(w(e))return"";var a=0>e;e=Math.abs(e);var o=1/0===e;if(!o&&!isFinite(e))return"";var s=e+"",l="",u=!1,c=[];if(o&&(l="∞"),!o&&-1!==s.indexOf("e")){var p=s.match(/([\d\.]+)e(-?)(\d+)/);p&&"-"==p[2]&&p[3]>i+1?e=0:(l=s,u=!0)}if(o||u)i>0&&1>e&&(l=e.toFixed(i),e=parseFloat(l));else{o=(s.split(fi)[1]||"").length,b(i)&&(i=Math.min(Math.max(t.minFrac,o),t.maxFrac)),e=+(Math.round(+(e.toString()+"e"+i)).toString()+"e"+-i);var o=(""+e).split(fi),s=o[0],o=o[1]||"",p=0,d=t.lgSize,f=t.gSize;if(s.length>=d+f)for(p=s.length-d,u=0;p>u;u++)0===(p-u)%f&&0!==u&&(l+=n),l+=s.charAt(u);for(u=p;ue&&(r="-",e=-e),e=""+e;e.length0||i>-n)&&(i+=n),0===i&&-12==n&&(i=12),hn(i,t,r)}}function gn(e,t){return function(n,r){var i=n["get"+e](),a=Ln(t?"SHORT"+e:e);return r[a][i]}}function $n(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function vn(e){return function(t){var n=$n(t.getFullYear());return t=+new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))-+n,t=1+Math.round(t/6048e5),hn(t,e)}}function bn(e,t){return 0>=e.getFullYear()?t.ERAS[0]:t.ERAS[1]}function yn(e){function t(e){var t;if(t=e.match(n)){e=new Date(0);var r=0,i=0,a=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=f(t[9]+t[10]),i=f(t[9]+t[11])),a.call(e,f(t[1]),f(t[2])-1,f(t[3])),r=f(t[4]||0)-r,i=f(t[5]||0)-i,a=f(t[6]||0),t=Math.round(1e3*parseFloat("0."+(t[7]||0))),o.call(e,r,i,a,t)}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var o,s,l="",u=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,k(n)&&(n=gi.test(n)?f(n):t(n)),C(n)&&(n=new Date(n)),!D(n)||!isFinite(n.getTime()))return n;for(;r;)(s=mi.exec(r))?(u=R(u,s,1),r=u.pop()):(u.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=_(i,n.getTimezoneOffset()),n=B(n,i,!0)),a(u,function(t){o=hi[t],l+=o?o(n,e.DATETIME_FORMATS,c):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function wn(){return function(e,t){return b(t)&&(t=2),H(e,t)}}function xn(){return function(e,t,n){return t=1/0===Math.abs(Number(t))?Number(t):f(t),isNaN(t)?e:(C(e)&&(e=e.toString()),Xn(e)||k(e)?(n=!n||isNaN(n)?0:f(n),n=0>n&&n>=-e.length?e.length+n:n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function kn(e){function t(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=g;if(S(t))i=t;else if(k(t)&&(("+"==t.charAt(0)||"-"==t.charAt(0))&&(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant)))var a=i(),i=function(e){return e[a]};return{get:i,descending:r*n}})}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}return function(e,r,a){if(!i(e))return e;Xn(r)||(r=[r]),0===r.length&&(r=["+"]);var o=t(r,a);return o.push({get:function(){return{}},descending:a?-1:1}),e=Array.prototype.map.call(e,function(e,t){return{value:e,predicateValues:o.map(function(r){var i=r.get(e);return r=typeof i,null===i?(r="string",i="null"):"string"===r?i=i.toLowerCase():"object"===r&&("function"==typeof i.valueOf&&(i=i.valueOf(),n(i))||v(i)&&(i=i.toString(),n(i))||(i=t)),{value:i,type:r}})}}),e.sort(function(e,t){for(var n=0,r=0,i=o.length;i>r;++r){var n=e.predicateValues[r],a=t.predicateValues[r],s=0;if(n.type===a.type?n.value!==a.value&&(s=n.value15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function Mn(e,t){return function(n,r){var i,o;if(D(n))return n;if(k(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Di.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},a(i,function(e,n){n=g},s.$observe("min",function(e){g=f(e),l.$validate()})}if(y(s.max)||s.ngMax){var $;l.$validators.max=function(e){return!d(e)||b($)||r(e)<=$},s.$observe("max",function(e){$=f(e),l.$validate()})}}}function On(e,t,r,i){(i.$$hasNativeValidators=w(t[0].validity))&&i.$parsers.push(function(e){var r=t.prop("validity")||{};return r.badInput&&!r.typeMismatch?n:e})}function An(e,t,n,r,i){if(y(r)){if(e=e(r),!e.constant)throw aa("constexpr",n,r);return e(t)}return i}function Pn(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[],r=0;e:for(;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function c(e){if(!0===t||o.$index%2===t){var a=i(e||[]);if(p){if(!F(e,p)){var c=i(p),d=r(a,c),a=r(c,a),d=u(d,1),a=u(a,-1);d&&d.length&&n.addClass(s,d),a&&a.length&&n.removeClass(s,a)}}else{var d=u(a,1);l.$addClass(d)}}p=U(e)}var p;o.$watch(l[e],c,!0),l.$observe("class",function(t){c(o.$eval(l[e]))}),"ngClass"!==e&&o.$watch("$index",function(n,r){var a=1&n;if(a!==(1&r)){var s=i(o.$eval(l[e]));a===t?(a=u(s,1),l.$addClass(a)):(a=u(s,-1),l.$removeClass(a))}})}}}]}function Nn(e){function t(e,t){t&&!o[e]?(u.addClass(a,e),o[e]=!0):!t&&o[e]&&(u.removeClass(a,e),o[e]=!1)}function r(e,n){e=e?"-"+ne(e,"-"):"",t(ea+e,!0===n),t(ta+e,!1===n)}var i=e.ctrl,a=e.$element,o={},s=e.set,l=e.unset,u=e.$animate;o[ta]=!(o[ea]=a.hasClass(ea)),i.$setValidity=function(e,a,o){b(a)?(i.$pending||(i.$pending={}),s(i.$pending,e,o)):(i.$pending&&l(i.$pending,e,o),In(i.$pending)&&(i.$pending=n)),O(a)?a?(l(i.$error,e,o),s(i.$$success,e,o)):(s(i.$error,e,o),l(i.$$success,e,o)):(l(i.$error,e,o),l(i.$$success,e,o)),i.$pending?(t(ia,!0),i.$valid=i.$invalid=n,r("",null)):(t(ia,!1),i.$valid=In(i.$error),i.$invalid=!i.$valid,r("",i.$valid)),a=i.$pending&&i.$pending[e]?n:i.$error[e]?!1:i.$$success[e]?!0:null,r(e,a),i.$$parentForm.$setValidity(e,a,i)}}function In(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Vn,Un,Fn,Rn,jn=/^\/(.+)\/([a-z]*)$/,qn=function(e){return k(e)?e.toLowerCase():e},Hn=Object.prototype.hasOwnProperty,Ln=function(e){return k(e)?e.toUpperCase():e},_n=[].slice,Bn=[].splice,zn=[].push,Wn=Object.prototype.toString,Yn=Object.getPrototypeOf,Gn=r("ng"),Kn=e.angular||(e.angular={}),Jn=0;Vn=t.documentMode,m.$inject=[],g.$inject=[];var Zn,Xn=Array.isArray,Qn=/^\[object (Uint8(Clamped)?)|(Uint16)|(Uint32)|(Int8)|(Int16)|(Int32)|(Float(32)|(64))Array\]$/,er=function(e){return k(e)?e.trim():e},tr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=ir[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return rr.name_=i},ir=["ng-","data-ng-","ng:","x-ng-"],ar=/[A-Z]/g,or=!1,sr=1,lr=3,ur={full:"1.4.6",major:1,minor:4,dot:6,codeName:"multiplicative-elevation"};me.expando="ng339";var cr=me.cache={},pr=1;me._data=function(e){return this.cache[e[this.expando]]||{}};var dr=/([\:\-\_]+(.))/g,fr=/^moz([A-Z])/,hr={mouseleave:"mouseout",mouseenter:"mouseover"},mr=r("jqLite"),gr=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,$r=/<|&#?\w+;/,vr=/<([\w:]+)/,br=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,yr={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};yr.optgroup=yr.option,yr.tbody=yr.tfoot=yr.colgroup=yr.caption=yr.thead,yr.th=yr.td;var wr=me.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),me(e).on("load",r))},toString:function(){var e=[];return a(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Un(e>=0?this[e]:this[this.length+e])},length:0,push:zn,sort:[].sort,splice:[].splice},xr={};a("multiple selected checked disabled readOnly required open".split(" "),function(e){xr[qn(e)]=e});var kr={};a("input select option textarea button form details".split(" "),function(e){kr[e]=!0});var Cr={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};a({data:we,removeData:be,hasData:function(e){for(var t in cr[e.ng339])return!0;return!1}},function(e,t){me[t]=e}),a({data:we,inheritedData:Te,scope:function(e){return Un.data(e,"$scope")||Te(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Un.data(e,"$isolateScope")||Un.data(e,"$isolateScopeNoTemplate")},controller:Se,injector:function(e){return Te(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:xe,css:function(e,t,n){return t=de(t),y(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==lr&&2!==i&&8!==i)if(i=qn(t),xr[i]){if(!y(r))return e[t]||(e.attributes.getNamedItem(t)||m).specified?i:n;r?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(y(r))e.setAttribute(t,r);else if(e.getAttribute)return e=e.getAttribute(t,2),null===e?n:e},prop:function(e,t,n){return y(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(b(t)){var n=e.nodeType;return n===sr||n===lr?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(b(t)){if(e.multiple&&"select"===N(e)){var n=[];return a(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return b(t)?e.innerHTML:($e(e,!0),void(e.innerHTML=t))},empty:Me},function(e,t){me.prototype[t]=function(t,n){var r,i,a=this.length;if(e!==Me&&b(2==e.length&&e!==xe&&e!==Se?t:n)){if(w(t)){for(r=0;a>r;r++)if(e===we)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(r=e.$dv,a=b(r)?Math.min(a,1):a,i=0;a>i;i++){var o=e(this[i],t,n);r=r?r+o:o}return r}for(r=0;a>r;r++)e(this[r],t,n);return this}}),a({removeData:be,on:function Na(e,t,n,r){if(y(r))throw mr("onargs");if(fe(e)){var i=ye(e,!0);r=i.events;var a=i.handle;a||(a=i.handle=Pe(e,r));for(var i=0<=t.indexOf(" ")?t.split(" "):[t],o=i.length;o--;){t=i[o];var s=r[t];s||(r[t]=[],"mouseenter"===t||"mouseleave"===t?Na(e,hr[t],function(e){var n=e.relatedTarget;n&&(n===this||this.contains(n))||a(e,t)}):"$destroy"!==t&&e.addEventListener(t,a,!1),s=r[t]),s.push(n)}}},off:ve,one:function(e,t,n){e=Un(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;$e(e),a(new me(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return a(e.childNodes,function(e){e.nodeType===sr&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===sr||11===n){t=new me(t);for(var n=0,r=t.length;r>n;n++)e.appendChild(t[n])}},prepend:function(e,t){if(e.nodeType===sr){var n=e.firstChild;a(new me(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=Un(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:Ee,detach:function(e){Ee(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new me(t);for(var i=0,a=t.length;a>i;i++){var o=t[i];r.insertBefore(o,n.nextSibling),n=o}},addClass:Ce,removeClass:ke,toggleClass:function(e,t,n){t&&a(t.split(" "),function(t){var r=n;b(r)&&(r=!xe(e,t)),(r?Ce:ke)(e,t)})},parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:ge,triggerHandler:function(e,t,n){var r,i,o=t.type||t,s=ye(e);(s=(s=s&&s.events)&&s[o])&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:m,type:o,target:e},t.type&&(r=p(r,t)),t=U(s),i=n?[r].concat(n):[r],a(t,function(t){r.isImmediatePropagationStopped()||t.apply(e,i)}))}},function(e,t){me.prototype[t]=function(t,n,r){for(var i,a=0,o=this.length;o>a;a++)b(i)?(i=e(this[a],t,n,r),y(i)&&(i=Un(i))):De(i,e(this[a],t,n,r));return y(i)?i:this},me.prototype.bind=me.prototype.on,me.prototype.unbind=me.prototype.off}),Ve.prototype={put:function(e,t){this[Ie(e,this.nextUid)]=t},get:function(e){return this[Ie(e,this.nextUid)]},remove:function(e){var t=this[e=Ie(e,this.nextUid)];return delete this[e],t}};var Dr=[function(){this.$get=[function(){return Ve}]}],Sr=/^[^\(]*\(\s*([^\)]*)\)/m,Tr=/,/,Mr=/^\s*(_?)(\S+?)\1\s*$/,Er=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Or=r("$injector");Fe.$$annotate=function(e,t,n){var r;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw k(n)&&n||(n=e.name||Ue(e)),Or("strictdi",n);t=e.toString().replace(Er,""),t=t.match(Sr),a(t[1].split(Tr),function(e){e.replace(Mr,function(e,t,n){r.push(n)})})}e.$inject=r}}else Xn(e)?(t=e.length-1,ae(e[t],"fn"),r=e.slice(0,t)):ae(e,"fn",!0);return r};var Ar=r("$animate"),Pr=function(){this.$get=["$q","$$rAF",function(e,t){function n(){}return n.all=m,n.chain=m,n.prototype={end:m,cancel:m,resume:m,pause:m,complete:m,then:function(n,r){return e(function(e){t(function(){e()})}).then(n,r)}},n}]},Nr=function(){var e=new Ve,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=k(t)?t.split(" "):Xn(t)?t:[],a(t,function(t){t&&(r=!0,e[t]=n)})),r}function o(){a(t,function(t){var n=e.get(t);if(n){var r=qe(t.attr("class")),i="",o="";a(n,function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:o+=(o.length?" ":"")+t)}),a(t,function(e){i&&Ce(e,i),o&&ke(e,o)}),e.remove(t)}}),t.length=0}return{enabled:m,on:m,off:m,pin:m,push:function(a,s,l,u){return u&&u(),l=l||{},l.from&&a.css(l.from),l.to&&a.css(l.to),(l.addClass||l.removeClass)&&(s=l.addClass,u=l.removeClass,l=e.get(a)||{},s=i(l,s,!0),u=i(l,u,!1),(s||u)&&(e.put(a,l),t.push(a),1===t.length&&r.$$postDigest(o))),new n}}}]},Ir=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ar("notcsel",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null)&&/(\s+|\/)ng-animate(\s+|\/)/.test(this.$$classNameFilter.toString()))throw Ar("nongcls","ng-animate");return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r;e:{for(r=0;r <= >= && || ! = |".split(" "),function(e){ri[e]=!0});var ii={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'", -'"':'"'},ai=function(e){this.options=e};ai.prototype={constructor:ai,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||" "===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){throw n=n||this.index,t=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n,Qr("lexerr",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index","<=",">=");)t={type:oi.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:oi.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:oi.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:oi.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.constants.hasOwnProperty(this.peek().text)?e=V(this.constants[this.consume().text]):this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:oi.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:oi.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:oi.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){e=[e];for(var t={type:oi.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return t},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:oi.Identifier,name:e.text}},constant:function(){return{type:oi.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:oi.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:oi.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:oi.ObjectExpression,properties:t}},throwError:function(e,t){throw Qr("syntax",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw Qr("ueoe",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw Qr("ueoe",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){e=this.tokens[e];var a=e.text;if(a===t||a===n||a===r||a===i||!(t||n||r||i))return e}return!1},expect:function(e,t,n,r){return(e=this.peek(e,t,n,r))?(this.tokens.shift(),e):!1},constants:{"true":{type:oi.Literal,value:!0},"false":{type:oi.Literal,value:!1},"null":{type:oi.Literal,value:null},undefined:{type:oi.Literal,value:n},"this":{type:oi.ThisExpression}}},Vt.prototype={compile:function(e,t){var r=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Ot(i,r.$filter);var o,s="";return this.stage="assign",(o=Nt(i))&&(this.state.computing="assign",s=this.nextId(),this.recurse(o,s),this.return_(s),s="fn.assign="+this.generateFunction("assign","s,v,l")),o=At(i.body),r.stage="inputs",a(o,function(e,t){var n="fn"+t;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(e,i),r.return_(i),r.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i),s='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+s+this.watchFns()+"return fn;",s=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","ifDefined","plus","text",s)(this.$filter,Dt,St,Tt,Mt,Et,e),this.state=this.stage=n,s.literal=It(i),s.constant=i.constant,s},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return a(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return a(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,r,i,o,s){var l,u,c,p,d=this;if(i=i||m,!s&&y(e.watchId))t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,r,i,o,!0));else switch(e.type){case oi.Program:a(e.body,function(t,r){d.recurse(t.expression,n,n,function(e){u=e}),r!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case oi.Literal:p=this.escape(e.value),this.assign(t,p),i(p);break;case oi.UnaryExpression:this.recurse(e.argument,n,n,function(e){u=e}),p=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,p),i(p);break;case oi.BinaryExpression:this.recurse(e.left,n,n,function(e){l=e}),this.recurse(e.right,n,n,function(e){u=e}),p="+"===e.operator?this.plus(l,u):"-"===e.operator?this.ifDefined(l,0)+e.operator+this.ifDefined(u,0):"("+l+")"+e.operator+"("+u+")",this.assign(t,p),i(p);break;case oi.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),i(t);break;case oi.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),i(t);break;case oi.Identifier:t=t||this.nextId(),r&&(r.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),r.computed=!1,r.name=e.name),Dt(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.not(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),(d.state.expensiveChecks||Ft(e.name))&&d.addEnsureSafeObject(t),i(t);break;case oi.MemberExpression:l=r&&(r.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,l,n,function(){d.if_(d.notNull(l),function(){e.computed?(u=d.nextId(),d.recurse(e.property,u),d.addEnsureSafeMemberName(u),o&&1!==o&&d.if_(d.not(d.computedMember(l,u)),d.lazyAssign(d.computedMember(l,u),"{}")),p=d.ensureSafeObject(d.computedMember(l,u)),d.assign(t,p),r&&(r.computed=!0,r.name=u)):(Dt(e.property.name),o&&1!==o&&d.if_(d.not(d.nonComputedMember(l,e.property.name)),d.lazyAssign(d.nonComputedMember(l,e.property.name),"{}")),p=d.nonComputedMember(l,e.property.name),(d.state.expensiveChecks||Ft(e.property.name))&&(p=d.ensureSafeObject(p)),d.assign(t,p),r&&(r.computed=!1,r.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case oi.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),c=[],a(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),c.push(t)}),p=u+"("+c.join(",")+")",d.assign(t,p),i(t)):(u=d.nextId(),l={},c=[],d.recurse(e.callee,u,l,function(){d.if_(d.notNull(u),function(){d.addEnsureSafeFunction(u),a(e.arguments,function(e){d.recurse(e,d.nextId(),n,function(e){c.push(d.ensureSafeObject(e))})}),l.name?(d.state.expensiveChecks||d.addEnsureSafeObject(l.context),p=d.member(l.context,l.name,l.computed)+"("+c.join(",")+")"):p=u+"("+c.join(",")+")",p=d.ensureSafeObject(p),d.assign(t,p)},function(){d.assign(t,"undefined")}),i(t)}));break;case oi.AssignmentExpression:if(u=this.nextId(),l={},!Pt(e.left))throw Qr("lval");this.recurse(e.left,n,l,function(){d.if_(d.notNull(l.context),function(){d.recurse(e.right,u),d.addEnsureSafeObject(d.member(l.context,l.name,l.computed)),p=d.member(l.context,l.name,l.computed)+e.operator+u,d.assign(t,p),i(t||p)})},1);break;case oi.ArrayExpression:c=[],a(e.elements,function(e){d.recurse(e,d.nextId(),n,function(e){c.push(e)})}),p="["+c.join(",")+"]",this.assign(t,p),i(p);break;case oi.ObjectExpression:c=[],a(e.properties,function(e){d.recurse(e.value,d.nextId(),n,function(t){c.push(d.escape(e.key.type===oi.Identifier?e.key.name:""+e.key.value)+":"+t)})}),p="{"+c.join(",")+"}",this.assign(t,p),i(p);break;case oi.ThisExpression:this.assign(t,"s"),i("s");break;case oi.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return e+"."+t},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},lazyRecurse:function(e,t,n,r,i,a){var o=this;return function(){o.recurse(e,t,n,r,i,a)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(k(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(C(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw Qr("esc")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},Ut.prototype={compile:function(e,t){var n=this,r=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,Ot(r,n.$filter);var i,o;(i=Nt(r))&&(o=this.recurse(i)),i=At(r.body);var s;i&&(s=[],a(i,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];return a(r.body,function(e){l.push(n.recurse(e.expression))}),i=0===r.body.length?function(){}:1===r.body.length?l[0]:function(e,t){var n;return a(l,function(r){n=r(e,t)}),n},o&&(i.assign=function(e,t,n){return o(e,n,t)}),s&&(i.inputs=s),i.literal=It(r),i.constant=r.constant,i},recurse:function(e,t,r){var i,o,s,l=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case oi.Literal:return this.value(e.value,t);case oi.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case oi.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case oi.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case oi.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case oi.Identifier:return Dt(e.name,l.expression),l.identifier(e.name,l.expensiveChecks||Ft(e.name),t,r,l.expression);case oi.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Dt(e.property.name,l.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,r,l.expression):this.nonComputedMember(i,o,l.expensiveChecks,t,r,l.expression);case oi.CallExpression:return s=[],a(e.arguments,function(e){s.push(l.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,r,i,a){for(var l=[],u=0;u":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)>t(r,i,a,o),n?{value:r}:r}},"binary<=":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)<=t(r,i,a,o),n?{value:r}:r}},"binary>=":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)>=t(r,i,a,o),n?{value:r}:r}},"binary&&":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)&&t(r,i,a,o),n?{value:r}:r}},"binary||":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)||t(r,i,a,o),n?{value:r}:r}},"ternary?:":function(e,t,n,r){return function(i,a,o,s){return i=e(i,a,o,s)?t(i,a,o,s):n(i,a,o,s),r?{value:i}:i}},value:function(e,t){return function(){return t?{context:n,name:n,value:e}:e}},identifier:function(e,t,r,i,a){return function(o,s,l,u){return o=s&&e in s?s:o,i&&1!==i&&o&&!o[e]&&(o[e]={}),s=o?o[e]:n,t&&St(s,a),r?{context:o,name:e,value:s}:s}},computedMember:function(e,t,n,r,i){return function(a,o,s,l){var u,c,p=e(a,o,s,l);return null!=p&&(u=t(a,o,s,l),Dt(u,i),r&&1!==r&&p&&!p[u]&&(p[u]={}),c=p[u],St(c,i)),n?{context:p,name:u,value:c}:c}},nonComputedMember:function(e,t,r,i,a,o){return function(s,l,u,c){return s=e(s,l,u,c),a&&1!==a&&s&&!s[t]&&(s[t]={}),l=null!=s?s[t]:n,(r||Ft(t))&&St(l,o),i?{context:s,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,a){return a?a[t]:e(n,r,i)}}};var si=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new oi(this.lexer),this.astCompiler=n.csp?new Ut(this.ast,t):new Vt(this.ast,t)};si.prototype={constructor:si,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}},ue(),ue();var li=Object.prototype.valueOf,ui=r("$sce"),ci={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ur=r("$compile"),pi=t.createElement("a"),di=en(e.location.href);rn.$inject=["$document"],on.$inject=["$provide"],pn.$inject=["$locale"],dn.$inject=["$locale"];var fi=".",hi={yyyy:mn("FullYear",4),yy:mn("FullYear",2,0,!0),y:mn("FullYear",1),MMMM:gn("Month"),MMM:gn("Month",!0),MM:mn("Month",2,1),M:mn("Month",1,1),dd:mn("Date",2),d:mn("Date",1),HH:mn("Hours",2),H:mn("Hours",1),hh:mn("Hours",2,-12),h:mn("Hours",1,-12),mm:mn("Minutes",2),m:mn("Minutes",1),ss:mn("Seconds",2),s:mn("Seconds",1),sss:mn("Milliseconds",3),EEEE:gn("Day"),EEE:gn("Day",!0),a:function(e,t){return 12>e.getHours()?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){return e=-1*n,e=(e>=0?"+":"")+(hn(Math[e>0?"floor":"ceil"](e/60),2)+hn(Math.abs(e%60),2))},ww:vn(2),w:vn(1),G:bn,GG:bn,GGG:bn,GGGG:function(e,t){return 0>=e.getFullYear()?t.ERANAMES[0]:t.ERANAMES[1]}},mi=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,gi=/^\-?\d+$/;yn.$inject=["$locale"];var $i=$(qn),vi=$(Ln);kn.$inject=["$parse"];var bi=$({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Wn.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),yi={};a(xr,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=Ye("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),yi[r]=function(){return{restrict:"A",priority:100,link:i}}}}),a(Cr,function(e,t){yi[t]=function(){return{priority:100,link:function(e,n,r){return"ngPattern"===t&&"/"==r.ngPattern.charAt(0)&&(n=r.ngPattern.match(jn))?void r.$set("ngPattern",new RegExp(n[1],n[2])):void e.$watch(r[t],function(e){r.$set(t,e)})}}}}),a(["src","srcset","href"],function(e){var t=Ye("ng-"+e);yi[t]=function(){return{priority:99,link:function(n,r,i){var a=e,o=e;"href"===e&&"[object SVGAnimatedString]"===Wn.call(r.prop("href"))&&(o="xlinkHref",i.$attr[o]="xlink:href",a=null),i.$observe(t,function(t){t?(i.$set(o,t),Vn&&a&&r.prop(a,i[o])):"href"===e&&i.$set(o,null)})}}}});var wi={$addControl:m,$$renameControl:function(e,t){e.$name=t},$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m};Dn.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var xi=function(e){return["$timeout","$parse",function(t,r){function i(e){return""===e?r('this[""]').assign:r(e).assign||m}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Dn,compile:function(r,a){r.addClass(na).addClass(ea);var o=a.name?"name":e&&a.ngForm?"ngForm":!1;return{pre:function(e,r,a,s){var l=s[0];if(!("action"in a)){var u=function(t){e.$apply(function(){l.$commitViewValue(),l.$setSubmitted()}),t.preventDefault()};r[0].addEventListener("submit",u,!1),r.on("$destroy",function(){t(function(){r[0].removeEventListener("submit",u,!1)},0,!1)})}(s[1]||l.$$parentForm).$addControl(l);var c=o?i(l.$name):m;o&&(c(e,l),a.$observe(o,function(t){l.$name!==t&&(c(e,n),l.$$parentForm.$$renameControl(l,t),(c=i(l.$name))(e,l))})),r.on("$destroy",function(){l.$$parentForm.$removeControl(l),c(e,n),p(l,wi)})}}}}}]},ki=xi(),Ci=xi(!0),Di=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,Si=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Ti=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Mi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Ei=/^(\d{4})-(\d{2})-(\d{2})$/,Oi=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Ai=/^(\d{4})-W(\d\d)$/,Pi=/^(\d{4})-(\d\d)$/,Ni=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Ii={text:function(e,t,n,r,i,a){Tn(e,t,n,r,i,a),Sn(r)},date:En("date",Ei,Mn(Ei,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":En("datetimelocal",Oi,Mn(Oi,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:En("time",Ni,Mn(Ni,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:En("week",Ai,function(e,t){if(D(e))return e;if(k(e)){Ai.lastIndex=0;var n=Ai.exec(e);if(n){var r=+n[1],i=+n[2],a=n=0,o=0,s=0,l=$n(r),i=7*(i-1);return t&&(n=t.getHours(),a=t.getMinutes(),o=t.getSeconds(),s=t.getMilliseconds()),new Date(r,0,l.getDate()+i,n,a,o,s)}}return NaN},"yyyy-Www"),month:En("month",Pi,Mn(Pi,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,r,i,a,o){if(On(e,t,r,i),Tn(e,t,r,i,a,o),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:Mi.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!C(e))throw aa("numfmt",e);e=e.toString()}return e}),y(r.min)||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||b(s)||e>=s},r.$observe("min",function(e){y(e)&&!C(e)&&(e=parseFloat(e,10)),s=C(e)&&!isNaN(e)?e:n,i.$validate()})}if(y(r.max)||r.ngMax){var l;i.$validators.max=function(e){return i.$isEmpty(e)||b(l)||l>=e},r.$observe("max",function(e){y(e)&&!C(e)&&(e=parseFloat(e,10)),l=C(e)&&!isNaN(e)?e:n,i.$validate()})}},url:function(e,t,n,r,i,a){Tn(e,t,n,r,i,a),Sn(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Si.test(n)}},email:function(e,t,n,r,i,a){Tn(e,t,n,r,i,a),Sn(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Ti.test(n)}},radio:function(e,t,n,r){b(n.name)&&t.attr("name",++Jn),t.on("click",function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)}),r.$render=function(){t[0].checked=n.value==r.$viewValue},n.$observe("value",r.$render)},checkbox:function(e,t,n,r,i,a,o,s){var l=An(s,e,"ngTrueValue",n.ngTrueValue,!0),u=An(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("click",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return F(e,l)}),r.$parsers.push(function(e){return e?l:u})},hidden:m,button:m,submit:m,reset:m,file:m},Vi=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,a,o,s){s[0]&&(Ii[qn(o.type)]||Ii.text)(i,a,o,s[0],t,e,n,r)}}}}],Ui=/^(true|false|\d+)$/,Fi=function(){return{restrict:"A",priority:100,compile:function(e,t){return Ui.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ri=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=b(e)?"":e})}}}}],ji=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){n=e(r.attr(i.$attr.ngBindTemplate)),t.$$addBindingInfo(r,n.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=b(e)?"":e})}}}}],qi=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var a=t(i.ngBindHtml),o=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(o,function(){r.html(e.getTrustedHtml(a(t))||"")})}}}}],Hi=$({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Li=Pn("",!0),_i=Pn("Odd",0),Bi=Pn("Even",1),zi=Cn({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),Wi=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Yi={},Gi={blur:!0,focus:!0};a("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Ye("ng-"+e);Yi[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,a){var o=n(a[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){o(t,{$event:n})};Gi[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var Ki=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,a,o){var s,l,u;n.$watch(i.ngIf,function(n){n?l||o(function(n,a){l=a,n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)}):(u&&(u.remove(),u=null),l&&(l.$destroy(),l=null),s&&(u=le(s.clone),e.leave(u).then(function(){u=null}),s=null))})}}}],Ji=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Kn.noop,compile:function(r,i){var a=i.ngInclude||i.src,o=i.onload||"",s=i.autoscroll;return function(r,i,l,u,c){var p,d,f,h=0,m=function(){d&&(d.remove(),d=null),p&&(p.$destroy(),p=null),f&&(n.leave(f).then(function(){d=null}),d=f,f=null)};r.$watch(a,function(a){var l=function(){!y(s)||s&&!r.$eval(s)||t()},d=++h;a?(e(a,!0).then(function(e){if(d===h){var t=r.$new();u.template=e,e=c(t,function(e){m(),n.enter(e,null,i).then(l)}),p=t,f=e,p.$emit("$includeContentLoaded",a),r.$eval(o)}},function(){d===h&&(m(),r.$emit("$includeContentError",a))}),r.$emit("$includeContentRequested",a)):(m(),u.template=null)})}}}}],Zi=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,a){/SVG/.test(r[0].toString())?(r.empty(),e(he(a.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(a.template),e(r.contents())(n))}}}],Xi=Cn({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Qi=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var o=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,l=s?er(o):o;i.$parsers.push(function(e){if(!b(e)){var t=[];return e&&a(e.split(l),function(e){e&&t.push(s?er(e):e)}),t}}),i.$formatters.push(function(e){return Xn(e)?e.join(o):n}),i.$isEmpty=function(e){return!e||!e.length}}}},ea="ng-valid",ta="ng-invalid",na="ng-pristine",ra="ng-dirty",ia="ng-pending",aa=r("ngModel"),oa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,o,s,l,u,c,p){this.$modelValue=this.$viewValue=Number.NaN,this.$$rawModelValue=n,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=p(r.name||"",!1)(e), -this.$$parentForm=wi;var d,f=o(r.ngModel),h=f.assign,g=f,$=h,v=null,w=this;this.$$setOptions=function(e){if((w.$options=e)&&e.getterSetter){var t=o(r.ngModel+"()"),n=o(r.ngModel+"($$$p)");g=function(e){var n=f(e);return S(n)&&(n=t(e)),n},$=function(e,t){S(f(e))?n(e,{$$$p:w.$modelValue}):h(e,w.$modelValue)}}else if(!f.assign)throw aa("nonassign",r.ngModel,z(i))},this.$render=m,this.$isEmpty=function(e){return b(e)||""===e||null===e||e!==e};var x=0;Nn({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:s}),this.$setPristine=function(){w.$dirty=!1,w.$pristine=!0,s.removeClass(i,ra),s.addClass(i,na)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,na),s.addClass(i,ra),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,"ng-untouched","ng-touched")},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,"ng-touched","ng-untouched")},this.$rollbackViewValue=function(){l.cancel(v),w.$viewValue=w.$$lastCommittedViewValue,w.$render()},this.$validate=function(){if(!C(w.$modelValue)||!isNaN(w.$modelValue)){var e=w.$$rawModelValue,t=w.$valid,r=w.$modelValue,i=w.$options&&w.$options.allowInvalid;w.$$runValidators(e,w.$$lastCommittedViewValue,function(a){i||t===a||(w.$modelValue=a?e:n,w.$modelValue!==r&&w.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var n=!0;return a(w.$validators,function(r,i){var a=r(e,t);n=n&&a,s(i,a)}),n?!0:(a(w.$asyncValidators,function(e,t){s(t,null)}),!1)}function o(){var r=[],i=!0;a(w.$asyncValidators,function(a,o){var l=a(e,t);if(!l||!S(l.then))throw aa("$asyncValidators",l);s(o,n),r.push(l.then(function(){s(o,!0)},function(e){i=!1,s(o,!1)}))}),r.length?c.all(r).then(function(){l(i)},m):l(!0)}function s(e,t){u===x&&w.$setValidity(e,t)}function l(e){u===x&&r(e)}x++;var u=x;(function(){var e=w.$$parserName||"parse";return b(d)?(s(e,null),!0):(d||(a(w.$validators,function(e,t){s(t,null)}),a(w.$asyncValidators,function(e,t){s(t,null)})),s(e,d),d)})()&&i()?o():l(!1)},this.$commitViewValue=function(){var e=w.$viewValue;l.cancel(v),(w.$$lastCommittedViewValue!==e||""===e&&w.$$hasNativeValidators)&&(w.$$lastCommittedViewValue=e,w.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var t=w.$$lastCommittedViewValue;if(d=b(t)?n:!0)for(var r=0;ra;a++){var l=e===n?a:n[a],u=y(e[l],l),l=f(e[l],u);t.push(l),(s[2]||s[1])&&(l=m(r,u),t.push(l)),s[4]&&(u=$(r,u),t.push(u))}return t}),getOptions:function(){for(var e=[],t={},n=v(r)||[],i=o(n),s=i.length,l=0;s>l;l++){var u=n===i?l:i[l],d=y(n[u],u),b=p(r,d),u=f(b,d),w=m(r,d),x=g(r,d),d=$(r,d),b=new a(u,b,w,x,d);e.push(b),t[u]=b}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[h(e)]},getViewValueFromOption:function(e){return c?Kn.copy(e.viewValue):e.viewValue}}}}}var o=t.createElement("option"),s=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","?ngModel"],link:function(t,n,i,l){function u(e,t){e.element=t,t.disabled=e.disabled,e.value!==t.value&&(t.value=e.selectValue),e.label!==t.label&&(t.label=e.label,t.textContent=e.label)}function c(e,t,n,r){return t&&qn(t.nodeName)===n?n=t:(n=r.cloneNode(!1),t?e.insertBefore(n,t):e.appendChild(n)),n}function p(e){for(var t;e;)t=e.nextSibling,Ee(e),e=t}function d(e){var t=g&&g[0],n=w&&w[0];if(t||n)for(;e&&(e===t||e===n);)e=e.nextSibling;return e}function f(){var e=x&&m.readValue();x=k.getOptions();var t={},r=n[0].firstChild;if(y&&n.prepend(g),r=d(r),x.items.forEach(function(e){var i,a;e.group?(i=t[e.group],i||(i=c(n[0],r,"optgroup",s),r=i.nextSibling,i.label=e.group,i=t[e.group]={groupElement:i,currentOptionElement:i.firstChild}),a=c(i.groupElement,i.currentOptionElement,"option",o),u(e,a),i.currentOptionElement=a.nextSibling):(a=c(n[0],r,"option",o),u(e,a),r=a.nextSibling)}),Object.keys(t).forEach(function(e){p(t[e].currentOptionElement)}),p(r),h.$render(),!h.$isEmpty(e)){var i=m.readValue();(k.trackBy?F(e,i):e===i)||(h.$setViewValue(i),h.$render())}}var h=l[1];if(h){var m=l[0];l=i.multiple;for(var g,$=0,v=n.children(),b=v.length;b>$;$++)if(""===v[$].value){g=v.eq($);break}var y=!!g,w=Un(o.cloneNode(!1));w.val("?");var x,k=r(i.ngOptions,n,t);l?(h.$isEmpty=function(e){return!e||0===e.length},m.writeValue=function(e){x.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){(e=x.getOptionFromViewValue(e))&&!e.disabled&&(e.element.selected=!0)})},m.readValue=function(){var e=n.val()||[],t=[];return a(e,function(e){(e=x.selectValueMap[e])&&!e.disabled&&t.push(x.getViewValueFromOption(e))}),t},k.trackBy&&t.$watchCollection(function(){return Xn(h.$viewValue)?h.$viewValue.map(function(e){return k.getTrackByValue(e)}):void 0},function(){h.$render()})):(m.writeValue=function(e){var t=x.getOptionFromViewValue(e);t&&!t.disabled?n[0].value!==t.selectValue&&(w.remove(),y||g.remove(),n[0].value=t.selectValue,t.element.selected=!0,t.element.setAttribute("selected","selected")):null===e||y?(w.remove(),y||n.prepend(g),n.val(""),g.prop("selected",!0),g.attr("selected",!0)):(y||g.remove(),n.prepend(w),n.val("?"),w.prop("selected",!0),w.attr("selected",!0))},m.readValue=function(){var e=x.selectValueMap[n.val()];return e&&!e.disabled?(y||g.remove(),w.remove(),x.getViewValueFromOption(e)):null},k.trackBy&&t.$watch(function(){return k.getTrackByValue(h.$viewValue)},function(){h.$render()})),y?(g.remove(),e(g)(t),g.removeClass("ng-scope")):g=Un(o.cloneNode(!1)),f(),t.$watchCollection(k.getWatchables,f)}}}}],ha=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,s,l){function u(e){s.text(e||"")}var c,p=l.count,d=l.$attr.when&&s.attr(l.$attr.when),f=l.offset||0,h=o.$eval(d)||{},g={},$=t.startSymbol(),v=t.endSymbol(),y=$+p+"-"+f+v,w=Kn.noop;a(l,function(e,t){var n=i.exec(t);n&&(n=(n[1]?"-":"")+qn(n[2]),h[n]=s.attr(l.$attr[t]))}),a(h,function(e,n){g[n]=t(e.replace(r,y))}),o.$watch(p,function(t){var r=parseFloat(t),i=isNaN(r);i||r in h||(r=e.pluralCat(r-f)),r===c||i&&C(c)&&isNaN(c)||(w(),i=g[r],b(i)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=m,u()):w=o.$watch(i,u),c=r)})}}}],ma=["$parse","$animate",function(e,o){var s=r("ngRepeat"),l=function(e,t,n,r,i,a,o){e[n]=r,i&&(e[i]=a),e.$index=t,e.$first=0===t,e.$last=t===o-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,u){var c=u.ngRepeat,p=t.createComment(" end ngRepeat: "+c+" "),d=c.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!d)throw s("iexp",c);var f=d[1],h=d[2],m=d[3],g=d[4],d=f.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/);if(!d)throw s("iidexp",f);var $=d[3]||d[1],v=d[2];if(m&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(m)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(m)))throw s("badident",m);var b,y,w,x,k={$id:Ie};return g?b=e(g):(w=function(e,t){return Ie(t)},x=function(e){return e}),function(e,t,r,u,d){b&&(y=function(t,n,r){return v&&(k[v]=t),k[$]=n,k.$index=r,b(e,k)});var f=ue();e.$watchCollection(h,function(r){var u,h,g,b,k,C,D,S,T,M,E=t[0],O=ue();if(m&&(e[m]=r),i(r))S=r,h=y||w;else for(M in h=y||x,S=[],r)Hn.call(r,M)&&"$"!==M.charAt(0)&&S.push(M);for(b=S.length,M=Array(b),u=0;b>u;u++)if(k=r===S?u:S[u],C=r[k],D=h(k,C,u),f[D])T=f[D],delete f[D],O[D]=T,M[u]=T;else{if(O[D])throw a(M,function(e){e&&e.scope&&(f[e.id]=e)}),s("dupes",c,D,C);M[u]={id:D,scope:n,clone:n},O[D]=!0}for(g in f){if(T=f[g],D=le(T.clone),o.leave(D),D[0].parentNode)for(u=0,h=D.length;h>u;u++)D[u].$$NG_REMOVED=!0;T.scope.$destroy()}for(u=0;b>u;u++)if(k=r===S?u:S[u],C=r[k],T=M[u],T.scope){g=E;do g=g.nextSibling;while(g&&g.$$NG_REMOVED);T.clone[0]!=g&&o.move(le(T.clone),null,Un(E)),E=T.clone[T.clone.length-1],l(T.scope,u,$,C,v,k,b)}else d(function(e,t){T.scope=t;var n=p.cloneNode(!1);e[e.length++]=n,o.enter(e,null,Un(E)),E=n,T.clone=e,O[T.id]=T,l(T.scope,u,$,C,v,k,b)});f=O})}}}}],ga=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],$a=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],va=Cn(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&a(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),ba=["$animate",function(e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var s=[],l=[],u=[],c=[],p=function(e,t){return function(){e.splice(t,1)}};n.$watch(i.ngSwitch||i.on,function(n){var r,i;for(r=0,i=u.length;i>r;++r)e.cancel(u[r]);for(r=u.length=0,i=c.length;i>r;++r){var d=le(l[r].clone);c[r].$destroy(),(u[r]=e.leave(d)).then(p(u,r))}l.length=0,c.length=0,(s=o.cases["!"+n]||o.cases["?"])&&a(s,function(n){n.transclude(function(r,i){c.push(i);var a=n.element;r[r.length++]=t.createComment(" end ngSwitchWhen: "),l.push({clone:r}),e.enter(r,a.parent(),a)})})})}}}],ya=Cn({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),wa=Cn({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),xa=Cn({restrict:"EAC",link:function(e,t,n,i,a){if(!a)throw r("ngTransclude")("orphan",z(t));a(function(e){t.empty(),t.append(e)})}}),ka=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){"text/ng-template"==n.type&&e.put(n.id,t[0].text)}}}],Ca={$setViewValue:m,$render:m},Da=["$element","$scope","$attrs",function(e,r,i){var a=this,o=new Ve;a.ngModelCtrl=Ca,a.unknownOption=Un(t.createElement("option")),a.renderUnknownOption=function(t){t="? "+Ie(t)+" ?",a.unknownOption.val(t),e.prepend(a.unknownOption),e.val(t)},r.$on("$destroy",function(){a.renderUnknownOption=m}),a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.readValue=function(){return a.removeUnknownOption(),e.val()},a.writeValue=function(t){a.hasOption(t)?(a.removeUnknownOption(),e.val(t),""===t&&a.emptyOption.prop("selected",!0)):null==t&&a.emptyOption?(a.removeUnknownOption(),e.val("")):a.renderUnknownOption(t)},a.addOption=function(e,t){oe(e,'"option value"'),""===e&&(a.emptyOption=t);var n=o.get(e)||0;o.put(e,n+1)},a.removeOption=function(e){var t=o.get(e);t&&(1===t?(o.remove(e),""===e&&(a.emptyOption=n)):o.put(e,t-1))},a.hasOption=function(e){return!!o.get(e)}}],Sa=function(){return{restrict:"E",require:["select","?ngModel"],controller:Da,link:function(e,t,n,r){var i=r[1];if(i){var o=r[0];if(o.ngModelCtrl=i,i.$render=function(){o.writeValue(i.$viewValue)},t.on("change",function(){e.$apply(function(){i.$setViewValue(o.readValue())})}),n.multiple){o.readValue=function(){var e=[];return a(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},o.writeValue=function(e){var n=new Ve(e);a(t.find("option"),function(e){e.selected=y(n.get(e.value))})};var s,l=NaN;e.$watch(function(){l!==i.$viewValue||F(s,i.$viewValue)||(s=U(i.$viewValue),i.$render()),l=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}}}},Ta=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if(y(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){function a(e){s.addOption(e,t),s.ngModelCtrl.$render(),t[0].hasAttribute("selected")&&(t[0].selected=!0)}var o=t.parent(),s=o.data("$selectController")||o.parent().data("$selectController");if(s&&s.ngModelCtrl){if(r){var l;n.$observe("value",function(e){y(l)&&s.removeOption(l),l=e,a(e)})}else i?e.$watch(i,function(e,t){n.$set("value",e),t!==e&&s.removeOption(t),a(e)}):a(n.value);t.on("$destroy",function(){s.removeOption(n.value),s.ngModelCtrl.$render()})}}}}}],Ma=$({restrict:"E",terminal:!1}),Ea=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Oa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,a){if(a){var o,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(k(e)&&0i||r.$isEmpty(t)||t.length<=i}}}}},Pa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};e.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):(re(),pe(Kn),Kn.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",pluralCat:function(e,r){var i=0|e,a=r;return n===a&&(a=Math.min(t(e),3)),Math.pow(10,a),1==i&&0==a?"one":"other"}})}]),Un(t).ready(function(){X(t,Q)}))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(''),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/backdrop.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(e,t,n,r){var i=r.has("$animateCss")?r.get("$animateCss"):null;return{link:function(r,a,o){function s(){a.hasClass("collapse")&&a.hasClass("in")||t.resolve(p(r)).then(function(){a.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),i?i(a,{addClass:"in",easing:"ease",to:{height:a[0].scrollHeight+"px"}}).start()["finally"](l):e.addClass(a,"in",{to:{height:a[0].scrollHeight+"px"}}).then(l)})}function l(){a.removeClass("collapsing").addClass("collapse").css({height:"auto"}),d(r)}function u(){return a.hasClass("collapse")||a.hasClass("in")?void t.resolve(f(r)).then(function(){a.css({height:a[0].scrollHeight+"px"}).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),i?i(a,{removeClass:"in",to:{height:"0"}}).start()["finally"](c):e.removeClass(a,"in",{to:{height:"0"}}).then(c)}):c()}function c(){a.css({height:"0"}),a.removeClass("collapsing").addClass("collapse"),h(r)}var p=n(o.expanding),d=n(o.expanded),f=n(o.collapsing),h=n(o.collapsed);r.$eval(o.uibCollapse)||a.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css({height:"auto"}),r.$watch(o.uibCollapse,function(e){e?u():s()})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(e,t,n){this.groups=[],this.closeOthers=function(r){var i=angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers;i&&angular.forEach(this.groups,function(e){e!==r&&(e.isOpen=!1)})},this.addGroup=function(e){var t=this;this.groups.push(e),e.$on("$destroy",function(n){t.removeGroup(e)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(e,t,n,r){r.addGroup(e),e.openClass=n.openClass||"panel-open",e.panelClass=n.panelClass||"panel-default",e.$watch("isOpen",function(n){t.toggleClass(e.openClass,!!n),n&&r.closeOthers(e)}),e.toggleOpen=function(t){e.isDisabled||t&&32!==t.which||(e.isOpen=!e.isOpen)};var i="accordiongroup-"+e.$id+"-"+Math.floor(1e4*Math.random());e.headingId=i+"-tab",e.panelId=i+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(e,t,n,r,i){r.setHeading(i(e,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(e,t,n,r){e.$watch(function(){return r[n.uibAccordionTransclude]},function(e){if(e){var n=angular.element(t[0].querySelector("[uib-accordion-header]"));n.html(""),n.append(e)}})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$attrs","$interpolate","$timeout",function(e,t,n,r){e.closeable=!!t.close;var i=angular.isDefined(t.dismissOnTimeout)?n(t.dismissOnTimeout)(e.$parent):null;i&&r(function(){e.close()},parseInt(i,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",templateUrl:function(e,t){return t.templateUrl||"uib/template/alert/alert.html"},transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(e){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(t,n,r,i){var a=i[0],o=i[1],s=e(r.uibUncheckable);n.find("input").css({display:"none"}),o.$render=function(){n.toggleClass(a.activeClass,angular.equals(o.$modelValue,t.$eval(r.uibBtnRadio)))},n.on(a.toggleEvent,function(){if(!r.disabled){var e=n.hasClass(a.activeClass);e&&!angular.isDefined(r.uncheckable)||t.$apply(function(){o.$setViewValue(e?null:t.$eval(r.uibBtnRadio)),o.$render()})}}),r.uibUncheckable&&t.$watch(s,function(e){r.$set("uncheckable",e?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(e,t,n,r){function i(){return o(n.btnCheckboxTrue,!0)}function a(){return o(n.btnCheckboxFalse,!1)}function o(t,n){return angular.isDefined(t)?e.$eval(t):n}var s=r[0],l=r[1];t.find("input").css({display:"none"}),l.$render=function(){t.toggleClass(s.activeClass,angular.equals(l.$modelValue,i()))},t.on(s.toggleEvent,function(){n.disabled||e.$apply(function(){l.$setViewValue(t.hasClass(s.activeClass)?a():i()),l.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(e,t,n,r,i){function a(){for(;b.length;)b.shift()}function o(e){for(var t=0;t1){g[r].element.data($,n.direction);var u=m.getCurrentIndex();angular.isNumber(u)&&g[u].element&&g[u].element.data($,n.direction),e.$currentTransition=!0,i.on("addClass",g[r].element,function(t,n){if("close"===n&&(e.$currentTransition=null,i.off("addClass",t),b.length)){var r=b.pop().slide,o=r.index,l=o>m.getCurrentIndex()?"next":"prev";a(),s(r,o,l)}})}e.active=n.index,v=n.index,o(r),p()}}function l(e){for(var t=0;t0&&(f=n(d,t))}function d(){var t=+e.interval;h&&!isNaN(t)&&t>0&&g.length?e.next():e.pause()}var f,h,m=this,g=m.slides=e.slides=[],$="uib-slideDirection",v=e.active,b=[],y=!1;m.addSlide=function(t,n){g.push({slide:t,element:n}),g.sort(function(e,t){return+e.slide.index-+t.slide.index}),(t.index===e.active||1===g.length&&!angular.isNumber(e.active))&&(e.$currentTransition&&(e.$currentTransition=null),v=t.index,e.active=t.index,o(v),m.select(g[l(t)]),1===g.length&&e.play())},m.getCurrentIndex=function(){for(var e=0;e0&&v===n?n>=g.length?(v=g.length-1,e.active=v,o(v),m.select(g[g.length-1])):(v=n,e.active=v,o(v),m.select(g[n])):v>n&&(v--,e.active=v),0===g.length&&(v=null,e.active=null,a())},m.select=e.select=function(t,n){var r=l(t.slide);void 0===n&&(n=r>m.getCurrentIndex()?"next":"prev"),t.slide.index===v||e.$currentTransition?t&&t.slide.index!==v&&e.$currentTransition&&b.push(g[r]):s(t.slide,r,n)},e.indexOfSlide=function(e){return+e.slide.index},e.isActive=function(t){return e.active===t.slide.index},e.isPrevDisabled=function(){return 0===e.active&&e.noWrap()},e.isNextDisabled=function(){return e.active===g.length-1&&e.noWrap()},e.pause=function(){e.noPause||(h=!1,u())},e.play=function(){h||(h=!0,p())},e.$on("$destroy",function(){y=!0,u()}),e.$watch("noTransition",function(e){i.enabled(t,!e)}),e.$watch("interval",p),e.$watchCollection("slides",c),e.$watch("active",function(e){if(angular.isNumber(e)&&v!==e){for(var t=0;t-1){var o=!1;e=e.split("");for(var s=a;s-1){e=e.split(""),i[a]="("+r.regex+")",e[a]="$";for(var o=a+1,s=a+r.key.length;s>o;o++)i[o]="",e[o]="$";e=e.join(""),n.push({index:a,key:r.key,apply:r[t],matcher:r.regex})}}),{regex:new RegExp("^"+i.join("")+"$"),map:r(n,"index")}}function a(e,t,n){return 1>n?!1:1===t&&n>28?29===n&&(e%4===0&&e%100!==0||e%400===0):3===t||5===t||8===t||10===t?31>n:!0}function o(e){return parseInt(e,10)}function s(e,t){return e&&t?p(e,t):e}function l(e,t){return e&&t?p(e,t,!0):e}function u(e,t){var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function c(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function p(e,t,n){n=n?-1:1;var r=u(t,e.getTimezoneOffset());return c(e,n*(r-e.getTimezoneOffset()))}var d,f,h=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.init=function(){d=t.id,this.parsers={},this.formatters={},f=[{key:"yyyy",regex:"\\d{4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(e){e=+e,this.year=69>e?e+2e3:e+1900},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){var t=e.getMonth();return/^[0-9]$/.test(t)?n(e,"MM"):n(e,"M")}},{key:"MMMM",regex:t.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.MONTH.indexOf(e)},formatter:function(e){return n(e,"MMMM")}},{key:"MMM",regex:t.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.SHORTMONTH.indexOf(e)},formatter:function(e){return n(e,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){var t=e.getDate(); -return/^[1-9]$/.test(t)?n(e,"dd"):n(e,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"d")}},{key:"EEEE",regex:t.DATETIME_FORMATS.DAY.join("|"),formatter:function(e){return n(e,"EEEE")}},{key:"EEE",regex:t.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(e){return n(e,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e},formatter:function(e){return n(e,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"s")}},{key:"a",regex:t.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)},formatter:function(e){return n(e,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(e){var t=e.match(/([+-])(\d{2})(\d{2})/),n=t[1],r=t[2],i=t[3];this.hours+=o(n+r),this.minutes+=o(n+i)},formatter:function(e){return n(e,"Z")}},{key:"ww",regex:"[0-4][0-9]|5[0-3]",formatter:function(e){return n(e,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(e){return n(e,"w")}},{key:"GGGG",regex:t.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(e){return n(e,"GGGG")}},{key:"GGG",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GGG")}},{key:"GG",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GG")}},{key:"G",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"G")}}]},this.init(),this.filter=function(e,n){if(!angular.isDate(e)||isNaN(e)||!n)return"";n=t.DATETIME_FORMATS[n]||n,t.id!==d&&this.init(),this.formatters[n]||(this.formatters[n]=i(n,"formatter"));var r=this.formatters[n],a=r.map,o=n;return a.reduce(function(t,n,r){var i=o.match(new RegExp("(.*)"+n.key));i&&angular.isString(i[1])&&(t+=i[1],o=o.replace(i[1]+n.key,""));var s=r===a.length-1?o:"";return n.apply?t+n.apply.call(null,e)+s:t+s},"")},this.parse=function(n,r,o){if(!angular.isString(n)||!r)return n;r=t.DATETIME_FORMATS[r]||r,r=r.replace(h,"\\$&"),t.id!==d&&this.init(),this.parsers[r]||(this.parsers[r]=i(r,"apply"));var s=this.parsers[r],l=s.regex,u=s.map,c=n.match(l),p=!1;if(c&&c.length){var f,m;angular.isDate(o)&&!isNaN(o.getTime())?f={year:o.getFullYear(),month:o.getMonth(),date:o.getDate(),hours:o.getHours(),minutes:o.getMinutes(),seconds:o.getSeconds(),milliseconds:o.getMilliseconds()}:(o&&e.warn("dateparser:","baseDate is not a valid date"),f={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var g=1,$=c.length;$>g;g++){var v=u[g-1];"Z"===v.matcher&&(p=!0),v.apply&&v.apply.call(f,c[g])}var b=p?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,y=p?Date.prototype.setUTCHours:Date.prototype.setHours;return a(f.year,f.month,f.date)&&(!angular.isDate(o)||isNaN(o.getTime())||p?(m=new Date(0),b.call(m,f.year,f.month,f.date),y.call(m,f.hours||0,f.minutes||0,f.seconds||0,f.milliseconds||0)):(m=new Date(o),b.call(m,f.year,f.month,f.date),y.call(m,f.hours,f.minutes,f.seconds,f.milliseconds))),m}},this.toTimezone=s,this.fromTimezone=l,this.timezoneToOffset=u,this.addDateMinutes=c,this.convertTimezoneToLocal=p}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(e){var t=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,n=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(r,i){function a(e,t,n){l.push(e),u.push({scope:e,element:t}),h.forEach(function(t,n){o(t,e)}),e.$on("$destroy",s)}function o(t,r){var i=t.match(n),a=r.$eval(i[1]),o=i[2],s=c[t];if(!s){var l=function(t){var n=null;u.some(function(e){var r=e.scope.$eval(d);return r===t?(n=e,!0):void 0}),s.lastActivated!==n&&(s.lastActivated&&e.removeClass(s.lastActivated.element,a),n&&e.addClass(n.element,a),s.lastActivated=n)};c[t]=s={lastActivated:null,scope:r,watchFn:l,compareWithExp:o,watcher:r.$watch(o,l)}}s.watchFn(r.$eval(o))}function s(e){var t=e.targetScope,n=l.indexOf(t);if(l.splice(n,1),u.splice(n,1),l.length){var r=l[0];angular.forEach(c,function(e){e.scope===t&&(e.watcher=r.$watch(e.compareWithExp,e.watchFn),e.scope=r)})}else c={}}var l=[],u=[],c={},p=i.uibIsClass.match(t),d=p[2],f=p[1],h=f.split(",");return a}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(e,t,n,r,i,a,o,s,l,u,c){function p(t){e.datepickerMode=t,e.datepickerOptions.datepickerMode=t}var d=this,f={$setViewValue:angular.noop},h={},m=[];!!t.datepickerOptions,e.datepickerOptions||(e.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(t){switch(t){case"customClass":case"dateDisabled":e[t]=e.datepickerOptions[t]||angular.noop;break;case"datepickerMode":e.datepickerMode=angular.isDefined(e.datepickerOptions.datepickerMode)?e.datepickerOptions.datepickerMode:s.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":d[t]=angular.isDefined(e.datepickerOptions[t])?r(e.datepickerOptions[t])(e.$parent):s[t];break;case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":d[t]=angular.isDefined(e.datepickerOptions[t])?e.datepickerOptions[t]:s[t];break;case"startingDay":angular.isDefined(e.datepickerOptions.startingDay)?d.startingDay=e.datepickerOptions.startingDay:angular.isNumber(s.startingDay)?d.startingDay=s.startingDay:d.startingDay=(i.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":e.$watch("datepickerOptions."+t,function(e){e?angular.isDate(e)?d[t]=c.fromTimezone(new Date(e),h.timezone):(l&&a.warn("Literal date support has been deprecated, please switch to date object usage"),d[t]=new Date(o(e,"medium"))):d[t]=s[t]?c.fromTimezone(new Date(s[t]),h.timezone):null,d.refreshView()});break;case"maxMode":case"minMode":e.datepickerOptions[t]?e.$watch(function(){return e.datepickerOptions[t]},function(n){d[t]=e[t]=angular.isDefined(n)?n:datepickerOptions[t],("minMode"===t&&d.modes.indexOf(e.datepickerOptions.datepickerMode)d.modes.indexOf(d[t]))&&(e.datepickerMode=d[t],e.datepickerOptions.datepickerMode=d[t])}):d[t]=e[t]=s[t]||null}}),e.uniqueId="datepicker-"+e.$id+"-"+Math.floor(1e4*Math.random()),e.disabled=angular.isDefined(t.disabled)||!1,angular.isDefined(t.ngDisabled)&&m.push(e.$parent.$watch(t.ngDisabled,function(t){e.disabled=t,d.refreshView()})),e.isActive=function(t){return 0===d.compare(t.date,d.activeDate)?(e.activeDateId=t.uid,!0):!1},this.init=function(t){f=t,h=t.$options||s.ngModelOptions,e.datepickerOptions.initDate?(d.activeDate=c.fromTimezone(e.datepickerOptions.initDate,h.timezone)||new Date,e.$watch("datepickerOptions.initDate",function(e){e&&(f.$isEmpty(f.$modelValue)||f.$invalid)&&(d.activeDate=c.fromTimezone(e,h.timezone),d.refreshView())})):d.activeDate=new Date,this.activeDate=f.$modelValue?c.fromTimezone(new Date(f.$modelValue),h.timezone):c.fromTimezone(new Date,h.timezone),f.$render=function(){d.render()}},this.render=function(){if(f.$viewValue){var e=new Date(f.$viewValue),t=!isNaN(e);t?this.activeDate=c.fromTimezone(e,h.timezone):u||a.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){e.selectedDt=null,this._refreshView(),e.activeDt&&(e.activeDateId=e.activeDt.uid);var t=f.$viewValue?new Date(f.$viewValue):null;t=c.fromTimezone(t,h.timezone),f.$setValidity("dateDisabled",!t||this.element&&!this.isDisabled(t))}},this.createDateObject=function(t,n){var r=f.$viewValue?new Date(f.$viewValue):null;r=c.fromTimezone(r,h.timezone);var i=new Date;i=c.fromTimezone(i,h.timezone);var a=this.compare(t,i),o={date:t,label:c.filter(t,n),selected:r&&0===this.compare(t,r),disabled:this.isDisabled(t),past:0>a,current:0===a,future:a>0,customClass:this.customClass(t)||null};return r&&0===this.compare(t,r)&&(e.selectedDt=o),d.activeDate&&0===this.compare(o.date,d.activeDate)&&(e.activeDt=o),o},this.isDisabled=function(t){return e.disabled||this.minDate&&this.compare(t,this.minDate)<0||this.maxDate&&this.compare(t,this.maxDate)>0||e.dateDisabled&&e.dateDisabled({date:t,mode:e.datepickerMode})},this.customClass=function(t){return e.customClass({date:t,mode:e.datepickerMode})},this.split=function(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n},e.select=function(t){if(e.datepickerMode===d.minMode){var n=f.$viewValue?c.fromTimezone(new Date(f.$viewValue),h.timezone):new Date(0,0,0,0,0,0,0);n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n=c.toTimezone(n,h.timezone),f.$setViewValue(n),f.$render()}else d.activeDate=t,p(d.modes[d.modes.indexOf(e.datepickerMode)-1]),e.$emit("uib:datepicker.mode");e.$broadcast("uib:datepicker.focus")},e.move=function(e){var t=d.activeDate.getFullYear()+e*(d.step.years||0),n=d.activeDate.getMonth()+e*(d.step.months||0);d.activeDate.setFullYear(t,n,1),d.refreshView()},e.toggleMode=function(t){t=t||1,e.datepickerMode===d.maxMode&&1===t||e.datepickerMode===d.minMode&&-1===t||(p(d.modes[d.modes.indexOf(e.datepickerMode)+t]),e.$emit("uib:datepicker.mode"))},e.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var g=function(){d.element[0].focus()};e.$on("uib:datepicker.focus",g),e.keydown=function(t){var n=e.keys[t.which];if(n&&!t.shiftKey&&!t.altKey&&!e.disabled)if(t.preventDefault(),d.shortcutPropagation||t.stopPropagation(),"enter"===n||"space"===n){if(d.isDisabled(d.activeDate))return;e.select(d.activeDate)}else!t.ctrlKey||"up"!==n&&"down"!==n?(d.handleKeyDown(n,t),d.refreshView()):e.toggleMode("up"===n?1:-1)},e.$on("$destroy",function(){for(;m.length;)m.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(e,t,n){function r(e,t){return 1!==t||e%4!==0||e%100===0&&e%400!==0?a[t]:29}function i(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}var a=[31,28,31,30,31,30,31,31,30,31,30,31];this.step={months:1},this.element=t,this.init=function(t){angular.extend(t,this),e.showWeeks=t.showWeeks,t.refreshView()},this.getDates=function(e,t){for(var n,r=new Array(t),i=new Date(e),a=0;t>a;)n=new Date(i),r[a++]=n,i.setDate(i.getDate()+1);return r},this._refreshView=function(){var t=this.activeDate.getFullYear(),r=this.activeDate.getMonth(),a=new Date(this.activeDate);a.setFullYear(t,r,1);var o=this.startingDay-a.getDay(),s=o>0?7-o:-o,l=new Date(a);s>0&&l.setDate(-s+1);for(var u=this.getDates(l,42),c=0;42>c;c++)u[c]=angular.extend(this.createDateObject(u[c],this.formatDay),{secondary:u[c].getMonth()!==r,uid:e.uniqueId+"-"+c});e.labels=new Array(7);for(var p=0;7>p;p++)e.labels[p]={abbr:n(u[p].date,this.formatDayHeader),full:n(u[p].date,"EEEE")};if(e.title=n(this.activeDate,this.formatDayTitle),e.rows=this.split(u,7),e.showWeeks){e.weekNumbers=[];for(var d=(11-this.startingDay)%7,f=e.rows.length,h=0;f>h;h++)e.weekNumbers.push(i(e.rows[h][d].date))}},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getDate();if("left"===e)n-=1;else if("up"===e)n-=7;else if("right"===e)n+=1;else if("down"===e)n+=7;else if("pageup"===e||"pagedown"===e){var i=this.activeDate.getMonth()+("pageup"===e?-1:1);this.activeDate.setMonth(i,1),n=Math.min(r(this.activeDate.getFullYear(),this.activeDate.getMonth()),n)}else"home"===e?n=1:"end"===e&&(n=r(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(n)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(e,t,n){this.step={years:1},this.element=t,this.init=function(e){angular.extend(e,this),e.refreshView()},this._refreshView=function(){for(var t,r=new Array(12),i=this.activeDate.getFullYear(),a=0;12>a;a++)t=new Date(this.activeDate),t.setFullYear(i,a,1),r[a]=angular.extend(this.createDateObject(t,this.formatMonth),{uid:e.uniqueId+"-"+a});e.title=n(this.activeDate,this.formatMonthTitle),e.rows=this.split(r,3)},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth()),r=new Date(t.getFullYear(),t.getMonth());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getMonth();if("left"===e)n-=1;else if("up"===e)n-=3;else if("right"===e)n+=1;else if("down"===e)n+=3;else if("pageup"===e||"pagedown"===e){var r=this.activeDate.getFullYear()+("pageup"===e?-1:1);this.activeDate.setFullYear(r)}else"home"===e?n=0:"end"===e&&(n=11);this.activeDate.setMonth(n)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(e,t,n){function r(e){return parseInt((e-1)/a,10)*a+1}var i,a;this.element=t,this.yearpickerInit=function(){i=this.yearColumns,a=this.yearRows*i,this.step={years:a}},this._refreshView=function(){for(var t,n=new Array(a),o=0,s=r(this.activeDate.getFullYear());a>o;o++)t=new Date(this.activeDate),t.setFullYear(s+o,0,1),n[o]=angular.extend(this.createDateObject(t,this.formatYear),{uid:e.uniqueId+"-"+o});e.title=[n[0].label,n[a-1].label].join(" - "),e.rows=this.split(n,i),e.columns=i},this.compare=function(e,t){return e.getFullYear()-t.getFullYear()},this.handleKeyDown=function(e,t){var n=this.activeDate.getFullYear();"left"===e?n-=1:"up"===e?n-=i:"right"===e?n+=1:"down"===e?n+=i:"pageup"===e||"pagedown"===e?n+=("pageup"===e?-1:1)*a:"home"===e?n=r(this.activeDate.getFullYear()):"end"===e&&(n=r(this.activeDate.getFullYear())+a-1),this.activeDate.setFullYear(n)}}]).directive("uibDatepicker",function(){return{replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],controller:"UibDatepickerController",controllerAs:"datepicker",link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}).directive("uibDaypicker",function(){return{replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],controller:"UibDaypickerController",link:function(e,t,n,r){var i=r[0],a=r[1];a.init(i)}}}).directive("uibMonthpicker",function(){return{replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],controller:"UibMonthpickerController",link:function(e,t,n,r){var i=r[0],a=r[1];a.init(i)}}}).directive("uibYearpicker",function(){return{replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],controller:"UibYearpickerController",link:function(e,t,n,r){var i=r[0];angular.extend(i,r[1]),i.yearpickerInit(),i.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(e,t){var n,r,i={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},a={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},o=/(HTML|BODY)/;return{getRawNode:function(e){return e.nodeName?e:e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(n){function r(e){return"static"===(t.getComputedStyle(e).position||"static")}n=this.getRawNode(n);for(var i=n.offsetParent||e[0].documentElement;i&&i!==e[0].documentElement&&r(i);)i=i.offsetParent;return i||e[0].documentElement},scrollbarWidth:function(i){if(i){if(angular.isUndefined(r)){var a=e.find("body");a.addClass("uib-position-body-scrollbar-measure"),r=t.innerWidth-a[0].clientWidth,r=isFinite(r)?r:0,a.removeClass("uib-position-body-scrollbar-measure")}return r}if(angular.isUndefined(n)){var o=angular.element('
');e.find("body").append(o),n=o[0].offsetWidth-o[0].clientWidth,n=isFinite(n)?n:0,o.remove()}return n},scrollbarPadding:function(e){e=this.getRawNode(e);var n=t.getComputedStyle(e),r=this.parseStyle(n.paddingRight),i=this.parseStyle(n.paddingBottom),a=this.scrollParent(e,!1,!0),s=this.scrollbarWidth(a,o.test(a.tagName));return{scrollbarWidth:s,widthOverflow:a.scrollWidth>a.clientWidth,right:r+s,originalRight:r,heightOverflow:a.scrollHeight>a.clientHeight,bottom:i+s,originalBottom:i}},isScrollable:function(e,n){e=this.getRawNode(e);var r=n?i.hidden:i.normal,a=t.getComputedStyle(e);return r.test(a.overflow+a.overflowY+a.overflowX)},scrollParent:function(n,r,a){n=this.getRawNode(n);var o=r?i.hidden:i.normal,s=e[0].documentElement,l=t.getComputedStyle(n);if(a&&o.test(l.overflow+l.overflowY+l.overflowX))return n;var u="absolute"===l.position,c=n.parentElement||s;if(c===s||"fixed"===l.position)return s;for(;c.parentElement&&c!==s;){var p=t.getComputedStyle(c);if(u&&"static"!==p.position&&(u=!1),!u&&o.test(p.overflow+p.overflowY+p.overflowX))break;c=c.parentElement}return c},position:function(n,r){n=this.getRawNode(n);var i=this.offset(n);if(r){var a=t.getComputedStyle(n);i.top-=this.parseStyle(a.marginTop),i.left-=this.parseStyle(a.marginLeft)}var o=this.offsetParent(n),s={top:0,left:0};return o!==e[0].documentElement&&(s=this.offset(o),s.top+=o.clientTop-o.scrollTop,s.left+=o.clientLeft-o.scrollLeft),{width:Math.round(angular.isNumber(i.width)?i.width:n.offsetWidth),height:Math.round(angular.isNumber(i.height)?i.height:n.offsetHeight),top:Math.round(i.top-s.top),left:Math.round(i.left-s.left)}},offset:function(n){n=this.getRawNode(n);var r=n.getBoundingClientRect();return{width:Math.round(angular.isNumber(r.width)?r.width:n.offsetWidth),height:Math.round(angular.isNumber(r.height)?r.height:n.offsetHeight),top:Math.round(r.top+(t.pageYOffset||e[0].documentElement.scrollTop)),left:Math.round(r.left+(t.pageXOffset||e[0].documentElement.scrollLeft))}},viewportOffset:function(n,r,i){n=this.getRawNode(n),i=i!==!1;var a=n.getBoundingClientRect(),o={top:0,left:0,bottom:0,right:0},s=r?e[0].documentElement:this.scrollParent(n),l=s.getBoundingClientRect();if(o.top=l.top+s.clientTop,o.left=l.left+s.clientLeft,s===e[0].documentElement&&(o.top+=t.pageYOffset,o.left+=t.pageXOffset),o.bottom=o.top+s.clientHeight,o.right=o.left+s.clientWidth,i){var u=t.getComputedStyle(s);o.top+=this.parseStyle(u.paddingTop),o.bottom-=this.parseStyle(u.paddingBottom),o.left+=this.parseStyle(u.paddingLeft),o.right-=this.parseStyle(u.paddingRight)}return{top:Math.round(a.top-o.top),bottom:Math.round(o.bottom-a.bottom),left:Math.round(a.left-o.left),right:Math.round(o.right-a.right)}},parsePlacement:function(e){var t=a.auto.test(e);return t&&(e=e.replace(a.auto,"")),e=e.split("-"),e[0]=e[0]||"top",a.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",a.secondary.test(e[1])||(e[1]="center"),t?e[2]=!0:e[2]=!1,e},positionElements:function(e,n,r,i){e=this.getRawNode(e),n=this.getRawNode(n);var o=angular.isDefined(n.offsetWidth)?n.offsetWidth:n.prop("offsetWidth"),s=angular.isDefined(n.offsetHeight)?n.offsetHeight:n.prop("offsetHeight");r=this.parsePlacement(r);var l=i?this.offset(e):this.position(e),u={top:0,left:0,placement:""};if(r[2]){var c=this.viewportOffset(e,i),p=t.getComputedStyle(n),d={width:o+Math.round(Math.abs(this.parseStyle(p.marginLeft)+this.parseStyle(p.marginRight))),height:s+Math.round(Math.abs(this.parseStyle(p.marginTop)+this.parseStyle(p.marginBottom)))};if(r[0]="top"===r[0]&&d.height>c.top&&d.height<=c.bottom?"bottom":"bottom"===r[0]&&d.height>c.bottom&&d.height<=c.top?"top":"left"===r[0]&&d.width>c.left&&d.width<=c.right?"right":"right"===r[0]&&d.width>c.right&&d.width<=c.left?"left":r[0],r[1]="top"===r[1]&&d.height-l.height>c.bottom&&d.height-l.height<=c.top?"bottom":"bottom"===r[1]&&d.height-l.height>c.top&&d.height-l.height<=c.bottom?"top":"left"===r[1]&&d.width-l.width>c.right&&d.width-l.width<=c.left?"right":"right"===r[1]&&d.width-l.width>c.left&&d.width-l.width<=c.right?"left":r[1],"center"===r[1])if(a.vertical.test(r[0])){var f=l.width/2-o/2;c.left+f<0&&d.width-l.width<=c.right?r[1]="left":c.right+f<0&&d.width-l.width<=c.left&&(r[1]="right")}else{var h=l.height/2-d.height/2;c.top+h<0&&d.height-l.height<=c.bottom?r[1]="top":c.bottom+h<0&&d.height-l.height<=c.top&&(r[1]="bottom")}}switch(r[0]){case"top":u.top=l.top-s;break;case"bottom":u.top=l.top+l.height;break;case"left":u.left=l.left-o;break;case"right":u.left=l.left+l.width}switch(r[1]){case"top":u.top=l.top;break;case"bottom":u.top=l.top+l.height-s;break;case"left":u.left=l.left;break;case"right":u.left=l.left+l.width-o;break;case"center":a.vertical.test(r[0])?u.left=l.left+l.width/2-o/2:u.top=l.top+l.height/2-s/2}return u.top=Math.round(u.top),u.left=Math.round(u.left),u.placement="center"===r[1]?r[0]:r[0]+"-"+r[1],u},positionArrow:function(e,n){e=this.getRawNode(e);var r=e.querySelector(".tooltip-inner, .popover-inner");if(r){var i=angular.element(r).hasClass("tooltip-inner"),o=i?e.querySelector(".tooltip-arrow"):e.querySelector(".arrow");if(o){var s={top:"",bottom:"",left:"",right:""};if(n=this.parsePlacement(n),"center"===n[1])return void angular.element(o).css(s);var l="border-"+n[0]+"-width",u=t.getComputedStyle(o)[l],c="border-";c+=a.vertical.test(n[0])?n[0]+"-"+n[1]:n[1]+"-"+n[0],c+="-radius";var p=t.getComputedStyle(i?r:e)[c];switch(n[0]){case"top":s.bottom=i?"0":"-"+u;break;case"bottom":s.top=i?"0":"-"+u;break;case"left":s.right=i?"0":"-"+u;break;case"right":s.left=i?"0":"-"+u}s[n[1]]=p,angular.element(o).css(s)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"Clear",closeOnDateSelection:!0,closeText:"Done",currentText:"Today",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepickerPopup/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(e,t,n,r,i,a,o,s,l,u,c,p,d,f,h,m){function g(t){var n=p.parse(t,x,e.date);if(isNaN(n))for(var r=0;r
"),P?(V=P.timezone,e.ngModelOptions=angular.copy(P),e.ngModelOptions.timezone=null,e.ngModelOptions.updateOnDefault===!0&&(e.ngModelOptions.updateOn=e.ngModelOptions.updateOn?e.ngModelOptions.updateOn+" default":"default"),M.attr("ng-model-options","ngModelOptions")):V=null,M.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":S}),E=angular.element(M.children()[0]),E.attr("template-url",T),e.datepickerOptions||(e.datepickerOptions={}),U&&"month"===n.type&&(e.datepickerOptions.datepickerMode="month",e.datepickerOptions.minMode="month"),E.attr("datepicker-options","datepickerOptions"),U?A.$formatters.push(function(t){return e.date=p.fromTimezone(t,V),t}):(A.$$parserName="date",A.$validators.date=v,A.$parsers.unshift($),A.$formatters.push(function(t){return A.$isEmpty(t)?(e.date=t,t):(e.date=p.fromTimezone(t,V),angular.isNumber(e.date)&&(e.date=new Date(e.date)),p.filter(e.date,x))})),A.$viewChangeListeners.push(function(){e.date=g(A.$viewValue)}),t.on("keydown",y),N=r(M)(e),M.remove(),C?s.find("body").append(N):t.after(N),e.$on("$destroy",function(){for(e.isOpen===!0&&(l.$$phase||e.$apply(function(){e.isOpen=!1})),N.remove(),t.off("keydown",y),s.off("click",b),O&&O.off("scroll",w),angular.element(o).off("resize",w);F.length;)F.shift()()})},e.getText=function(t){return e[t+"Text"]||d[t+"Text"]},e.isDisabled=function(t){"today"===t&&(t=p.fromTimezone(new Date,V));var n={};return angular.forEach(["minDate","maxDate"],function(t){e.datepickerOptions[t]?angular.isDate(e.datepickerOptions[t])?n[t]=p.fromTimezone(new Date(e.datepickerOptions[t]),V):(m&&i.warn("Literal date support has been deprecated, please switch to date object usage"),n[t]=new Date(c(e.datepickerOptions[t],"medium"))):n[t]=null}),e.datepickerOptions&&n.minDate&&e.compare(t,n.minDate)<0||n.maxDate&&e.compare(t,n.maxDate)>0},e.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},e.dateSelection=function(n){angular.isDefined(n)&&(e.date=n);var r=e.date?p.filter(e.date,x):null;t.val(r),A.$setViewValue(r),k&&(e.isOpen=!1,t[0].focus())},e.keydown=function(n){27===n.which&&(n.stopPropagation(),e.isOpen=!1,t[0].focus())},e.select=function(t,n){if(n.stopPropagation(),"today"===t){var r=new Date;angular.isDate(e.date)?(t=new Date(e.date),t.setFullYear(r.getFullYear(),r.getMonth(),r.getDate())):t=new Date(r.setHours(0,0,0,0))}e.dateSelection(t)},e.close=function(n){n.stopPropagation(),e.isOpen=!1,t[0].focus()},e.disabled=angular.isDefined(n.disabled)||!1,n.ngDisabled&&F.push(e.$parent.$watch(a(n.ngDisabled),function(t){e.disabled=t})),e.$watch("isOpen",function(r){r?e.disabled?e.isOpen=!1:f(function(){w(),D&&e.$broadcast("uib:datepicker.focus"),s.on("click",b);var r=n.popupPlacement?n.popupPlacement:d.placement;C||u.parsePlacement(r)[2]?(O=O||angular.element(u.scrollParent(t)),O&&O.on("scroll",w)):O=null,angular.element(o).on("resize",w)},0,!1):(s.off("click",b),O&&O.off("scroll",w),angular.element(o).off("resize",w))}),e.$on("uib:datepicker.mode",function(){f(w,0,!1)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(e,t,n,r){var i=r[0],a=r[1];a.init(i)}}}).directive("uibDatepickerPopupWrap",function(){return{replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(e){return function(t,n){var r;return function(){var i=this,a=Array.prototype.slice.call(arguments);r&&e.cancel(r),r=e(function(){t.apply(i,a)},n)}}}]),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope",function(e,t){var n=null;this.open=function(t,a){n||(e.on("click",r),a.on("keydown",i)),n&&n!==t&&(n.isOpen=!1),n=t},this.close=function(t,a){n===t&&(n=null,e.off("click",r),a.off("keydown",i))};var r=function(e){if(n&&!(e&&"disabled"===n.getAutoClose()||e&&3===e.which)){var r=n.getToggleElement();if(!(e&&r&&r[0].contains(e.target))){var i=n.getDropdownElement();e&&"outsideClick"===n.getAutoClose()&&i&&i[0].contains(e.target)||(n.isOpen=!1,t.$$phase||n.$apply())}}},i=function(e){27===e.which?(e.stopPropagation(),n.focusToggleElement(),r()):n.isKeynavEnabled()&&-1!==[38,40].indexOf(e.which)&&n.isOpen&&(e.preventDefault(),e.stopPropagation(),n.focusDropdownEntry(e.which))}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(e,t,n,r,i,a,o,s,l,u,c){var p,d,f=this,h=e.$new(),m=i.appendToOpenClass,g=i.openClass,$=angular.noop,v=n.onToggle?r(n.onToggle):angular.noop,b=!1,y=null,w=!1,x=l.find("body");t.addClass("dropdown"),this.init=function(){if(n.isOpen&&(d=r(n.isOpen),$=d.assign,e.$watch(d,function(e){h.isOpen=!!e})),angular.isDefined(n.dropdownAppendTo)){var i=r(n.dropdownAppendTo)(h);i&&(y=angular.element(i))}b=angular.isDefined(n.dropdownAppendToBody),w=angular.isDefined(n.keyboardNav),b&&!y&&(y=x),y&&f.dropdownMenu&&(y.append(f.dropdownMenu),t.on("$destroy",function(){ -f.dropdownMenu.remove()}))},this.toggle=function(e){return h.isOpen=arguments.length?!!e:!h.isOpen,angular.isFunction($)&&$(h,h.isOpen),h.isOpen},this.isOpen=function(){return h.isOpen},h.getToggleElement=function(){return f.toggleElement},h.getAutoClose=function(){return n.autoClose||"always"},h.getElement=function(){return t},h.isKeynavEnabled=function(){return w},h.focusDropdownEntry=function(e){var n=f.dropdownMenu?angular.element(f.dropdownMenu).find("a"):t.find("ul").eq(0).find("a");switch(e){case 40:angular.isNumber(f.selectedOption)?f.selectedOption=f.selectedOption===n.length-1?f.selectedOption:f.selectedOption+1:f.selectedOption=0;break;case 38:angular.isNumber(f.selectedOption)?f.selectedOption=0===f.selectedOption?0:f.selectedOption-1:f.selectedOption=n.length-1}n[f.selectedOption].focus()},h.getDropdownElement=function(){return f.dropdownMenu},h.focusToggleElement=function(){f.toggleElement&&f.toggleElement[0].focus()},h.$watch("isOpen",function(n,r){if(y&&f.dropdownMenu){var i,l,d=s.positionElements(t,f.dropdownMenu,"bottom-left",!0);if(i={top:d.top+"px",display:n?"block":"none"},l=f.dropdownMenu.hasClass("dropdown-menu-right"),l?(i.left="auto",i.right=window.innerWidth-(d.left+t.prop("offsetWidth"))+"px"):(i.left=d.left+"px",i.right="auto"),!b){var w=s.offset(y);i.top=d.top-w.top+"px",l?i.right=window.innerWidth-(d.left-w.left+t.prop("offsetWidth"))+"px":i.left=d.left-w.left+"px"}f.dropdownMenu.css(i)}var x=y?y:t,k=x.hasClass(y?m:g);if(k===!n&&o[n?"addClass":"removeClass"](x,y?m:g).then(function(){angular.isDefined(n)&&n!==r&&v(e,{open:!!n})}),n)f.dropdownMenuTemplateUrl&&c(f.dropdownMenuTemplateUrl).then(function(e){p=h.$new(),u(e.trim())(p,function(e){var t=e;f.dropdownMenu.replaceWith(t),f.dropdownMenu=t})}),h.focusToggleElement(),a.open(h,t);else{if(f.dropdownMenuTemplateUrl){p&&p.$destroy();var C=angular.element('');f.dropdownMenu.replaceWith(C),f.dropdownMenu=C}a.close(h,t),f.selectedOption=null}angular.isFunction($)&&$(e,n)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(e,t,n,r){r.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(e,t,n,r){if(r&&!angular.isDefined(n.dropdownNested)){t.addClass("dropdown-menu");var i=n.templateUrl;i&&(r.dropdownMenuTemplateUrl=i),r.dropdownMenu||(r.dropdownMenu=t)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(e,t,n,r){if(r){t.addClass("dropdown-toggle"),r.toggleElement=t;var i=function(i){i.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply(function(){r.toggle()})};t.bind("click",i),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(r.isOpen,function(e){t.attr("aria-expanded",!!e)}),e.$on("$destroy",function(){t.unbind("click",i)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n-1&&C>e&&(e=C),e}function p(e,t){var n=w.get(e).value,r=n.appendTo;w.remove(e),D=w.top(),D&&(C=parseInt(D.value.modalDomEl.attr("index"),10)),h(n.modalDomEl,n.modalScope,function(){var t=n.openedClass||y;x.remove(t,e);var i=x.hasKey(t);r.toggleClass(t,i),!i&&b&&b.heightOverflow&&b.scrollbarWidth&&(b.originalRight?r.css({paddingRight:b.originalRight+"px"}):r.css({paddingRight:""}),b=null),d(!0)},n.closedDeferred),f(),t&&t.focus?t.focus():r.focus&&r.focus()}function d(e){var t;w.length()>0&&(t=w.top().value,t.modalDomEl.toggleClass(t.windowTopClass||"",e))}function f(){if($&&-1===c()){var e=v;h($,v,function(){e=null}),$=void 0,v=void 0}}function h(t,n,r,i){function o(){o.done||(o.done=!0,e.leave(t).then(function(){t.remove(),i&&i.resolve()}),n.$destroy(),r&&r())}var s,l=null,u=function(){return s||(s=a.defer(),l=s.promise),function(){s.resolve()}};return n.$broadcast(k.NOW_CLOSING_EVENT,u),a.when(l).then(o)}function m(e){if(e.isDefaultPrevented())return e;var t=w.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),i.$apply(function(){k.dismiss(t.key,"escape key press")}));break;case 9:var n=k.loadFocusElementList(t),r=!1;e.shiftKey?(k.isFocusInFirstItem(e,n)||k.isModalFocused(e,t))&&(r=k.focusLastFocusableElement(n)):k.isFocusInLastItem(e,n)&&(r=k.focusFirstFocusableElement(n)),r&&(e.preventDefault(),e.stopPropagation())}}function g(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}var $,v,b,y="modal-open",w=s.createNew(),x=o.createNew(),k={NOW_CLOSING_EVENT:"modal.stack.now-closing"},C=0,D=null,S="a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]";return i.$watch(c,function(e){v&&(v.index=e)}),n.on("keydown",m),i.$on("$destroy",function(){n.off("keydown",m)}),k.open=function(t,a){var o=n[0].activeElement,s=a.openedClass||y;d(!1),D=w.top(),w.add(t,{deferred:a.deferred,renderDeferred:a.renderDeferred,closedDeferred:a.closedDeferred,modalScope:a.scope,backdrop:a.backdrop,keyboard:a.keyboard,openedClass:a.openedClass,windowTopClass:a.windowTopClass,animation:a.animation,appendTo:a.appendTo}),x.put(s,t);var u=a.appendTo,p=c();if(!u.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");p>=0&&!$&&(v=i.$new(!0),v.modalOptions=a,v.index=p,$=angular.element('
'),$.attr("backdrop-class",a.backdropClass),a.animation&&$.attr("modal-animation","true"),r($)(v),e.enter($,u),b=l.scrollbarPadding(u),b.heightOverflow&&b.scrollbarWidth&&u.css({paddingRight:b.right+"px"})),C=D?parseInt(D.value.modalDomEl.attr("index"),10)+1:0;var f=angular.element('
');f.attr({"template-url":a.windowTemplateUrl,"window-class":a.windowClass,"window-top-class":a.windowTopClass,size:a.size,index:C,animate:"animate"}).html(a.content),a.animation&&f.attr("modal-animation","true"),u.addClass(s),e.enter(r(f)(a.scope),u),w.top().value.modalDomEl=f,w.top().value.modalOpener=o},k.close=function(e,t){var n=w.get(e);return n&&g(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),p(e,n.value.modalOpener),!0):!n},k.dismiss=function(e,t){var n=w.get(e);return n&&g(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),p(e,n.value.modalOpener),!0):!n},k.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},k.getTop=function(){return w.top()},k.modalRendered=function(e){var t=w.get(e);t&&t.value.renderDeferred.resolve()},k.focusFirstFocusableElement=function(e){return e.length>0?(e[0].focus(),!0):!1},k.focusLastFocusableElement=function(e){return e.length>0?(e[e.length-1].focus(),!0):!1},k.isModalFocused=function(e,t){if(e&&t){var n=t.value.modalDomEl;if(n&&n.length)return(e.target||e.srcElement)===n[0]}return!1},k.isFocusInFirstItem=function(e,t){return t.length>0?(e.target||e.srcElement)===t[0]:!1},k.isFocusInLastItem=function(e,t){return t.length>0?(e.target||e.srcElement)===t[t.length-1]:!1},k.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var n=t[0].querySelectorAll(S);return n?Array.prototype.filter.call(n,function(e){return u(e)}):n}}},k}]).provider("$uibModal",function(){var e={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(t,n,r,i,a,o,s){function l(e){return e.template?n.when(e.template):i(angular.isFunction(e.templateUrl)?e.templateUrl():e.templateUrl)}var u={},c=null;return u.getPromiseChain=function(){return c},u.open=function(i){function u(){return $}var p=n.defer(),d=n.defer(),f=n.defer(),h=n.defer(),m={result:p.promise,opened:d.promise,closed:f.promise,rendered:h.promise,close:function(e){return s.close(m,e)},dismiss:function(e){return s.dismiss(m,e)}};if(i=angular.extend({},e.options,i),i.resolve=i.resolve||{},i.appendTo=i.appendTo||r.find("body").eq(0),!i.template&&!i.templateUrl)throw new Error("One of template or templateUrl options is required.");var g,$=n.all([l(i),o.resolve(i.resolve,{},null,null)]);return g=c=n.all([c]).then(u,u).then(function(e){var n=i.scope||t,r=n.$new();r.$close=m.close,r.$dismiss=m.dismiss,r.$on("$destroy",function(){r.$$uibDestructionScheduled||r.$dismiss("$uibUnscheduledDestruction")});var o,l,u={};i.controller&&(u.$scope=r,u.$uibModalInstance=m,angular.forEach(e[1],function(e,t){u[t]=e}),l=a(i.controller,u,!0),i.controllerAs?(o=l.instance,i.bindToController&&(o.$close=r.$close,o.$dismiss=r.$dismiss,angular.extend(o,n)),o=l(),r[i.controllerAs]=o):o=l(),angular.isFunction(o.$onInit)&&o.$onInit()),s.open(m,{scope:r,deferred:p,renderDeferred:h,closedDeferred:f,content:e[0],animation:i.animation,backdrop:i.backdrop,keyboard:i.keyboard,backdropClass:i.backdropClass,windowTopClass:i.windowTopClass,windowClass:i.windowClass,windowTemplateUrl:i.windowTemplateUrl,size:i.size,openedClass:i.openedClass,appendTo:i.appendTo}),d.resolve(!0)},function(e){d.reject(e),p.reject(e)})["finally"](function(){c===g&&(c=null)}),m},u}]};return e}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(e){return{create:function(t,n,r){t.setNumPages=r.numPages?e(r.numPages).assign:angular.noop,t.ngModelCtrl={$setViewValue:angular.noop},t._watchers=[],t.init=function(e,i){t.ngModelCtrl=e,t.config=i,e.$render=function(){t.render()},r.itemsPerPage?t._watchers.push(n.$parent.$watch(r.itemsPerPage,function(e){t.itemsPerPage=parseInt(e,10),n.totalPages=t.calculateTotalPages(),t.updatePage()})):t.itemsPerPage=i.itemsPerPage,n.$watch("totalItems",function(e,r){(angular.isDefined(e)||e!==r)&&(n.totalPages=t.calculateTotalPages(),t.updatePage())})},t.calculateTotalPages=function(){var e=t.itemsPerPage<1?1:Math.ceil(n.totalItems/t.itemsPerPage);return Math.max(e||0,1)},t.render=function(){n.page=parseInt(t.ngModelCtrl.$viewValue,10)||1},n.selectPage=function(e,r){r&&r.preventDefault();var i=!n.ngDisabled||!r;i&&n.page!==e&&e>0&&e<=n.totalPages&&(r&&r.target&&r.target.blur(),t.ngModelCtrl.$setViewValue(e),t.ngModelCtrl.$render())},n.getText=function(e){return n[e+"Text"]||t.config[e+"Text"]},n.noPrevious=function(){return 1===n.page},n.noNext=function(){return n.page===n.totalPages},t.updatePage=function(){t.setNumPages(n.$parent,n.totalPages),n.page>n.totalPages?n.selectPage(n.totalPages):t.ngModelCtrl.$render()},n.$on("$destroy",function(){for(;t._watchers.length;)t._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(e,t,n,r){e.align=angular.isDefined(t.align)?e.$parent.$eval(t.align):r.align,n.create(this,e,t)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(e){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],controller:"UibPagerController",controllerAs:"pager",templateUrl:function(e,t){return t.templateUrl||"uib/template/pager/pager.html"},replace:!0,link:function(t,n,r,i){var a=i[0],o=i[1];o&&a.init(o,e)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(e,t,n,r,i){function a(e,t,n){return{number:e,text:t,active:n}}function o(e,t){var n=[],r=1,i=t,o=angular.isDefined(l)&&t>l;o&&(u?(r=Math.max(e-Math.floor(l/2),1),i=r+l-1,i>t&&(i=t,r=i-l+1)):(r=(Math.ceil(e/l)-1)*l+1,i=Math.min(r+l-1,t)));for(var s=r;i>=s;s++){var f=a(s,d(s),s===e);n.push(f)}if(o&&l>0&&(!u||c||p)){if(r>1){if(!p||r>3){var h=a(r-1,"...",!1);n.unshift(h)}if(p){if(3===r){var m=a(2,"2",!1);n.unshift(m)}var g=a(1,"1",!1);n.unshift(g)}}if(t>i){if(!p||t-2>i){var $=a(i+1,"...",!1);n.push($)}if(p){if(i===t-2){var v=a(t-1,t-1,!1);n.push(v)}var b=a(t,t,!1);n.push(b)}}}return n}var s=this,l=angular.isDefined(t.maxSize)?e.$parent.$eval(t.maxSize):i.maxSize,u=angular.isDefined(t.rotate)?e.$parent.$eval(t.rotate):i.rotate,c=angular.isDefined(t.forceEllipses)?e.$parent.$eval(t.forceEllipses):i.forceEllipses,p=angular.isDefined(t.boundaryLinkNumbers)?e.$parent.$eval(t.boundaryLinkNumbers):i.boundaryLinkNumbers,d=angular.isDefined(t.pageLabel)?function(n){return e.$parent.$eval(t.pageLabel,{$page:n})}:angular.identity;e.boundaryLinks=angular.isDefined(t.boundaryLinks)?e.$parent.$eval(t.boundaryLinks):i.boundaryLinks,e.directionLinks=angular.isDefined(t.directionLinks)?e.$parent.$eval(t.directionLinks):i.directionLinks,r.create(this,e,t),t.maxSize&&s._watchers.push(e.$parent.$watch(n(t.maxSize),function(e){l=parseInt(e,10),s.render()}));var f=this.render;this.render=function(){f(),e.page>0&&e.page<=e.totalPages&&(e.pages=o(e.page,e.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(e,t){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"uib/template/pagination/pagination.html"},replace:!0,link:function(e,n,r,i){var a=i[0],o=i[1];o&&a.init(o,t)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){function e(e){var t=/[A-Z]/g,n="-";return e.replace(t,function(e,t){return(t?n:"")+e.toLowerCase()})}var t={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},n={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},r={};this.options=function(e){angular.extend(r,e)},this.setTriggers=function(e){angular.extend(n,e)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(i,a,o,s,l,u,c,p,d){function f(e){if(27===e.which){var t=h.top();t&&(t.value.close(),h.removeTop(),t=null)}}var h=d.createNew();return s.on("keypress",f),c.$on("$destroy",function(){s.off("keypress",f)}),function(i,c,d,f){function m(e){var t=(e||f.trigger||d).split(" "),r=t.map(function(e){return n[e]||e});return{show:t,hide:r}}f=angular.extend({},t,r,f);var g=e(i),$=u.startSymbol(),v=u.endSymbol(),b="
';return{compile:function(e,t){var n=a(b);return function(e,t,r,a){function u(){j.isOpen?g():d()}function d(){R&&!e.$eval(r[c+"Enable"])||(y(),k(),j.popupDelay?P||(P=o($,j.popupDelay,!1)):$())}function g(){v(),j.popupCloseDelay?N||(N=o(b,j.popupCloseDelay,!1)):b()}function $(){return v(),y(),j.content?(w(),void j.$evalAsync(function(){j.isOpen=!0,C(!0),B()})):angular.noop}function v(){P&&(o.cancel(P),P=null),I&&(o.cancel(I),I=null)}function b(){j&&j.$evalAsync(function(){j&&(j.isOpen=!1,C(!1),j.animation?A||(A=o(x,150,!1)):x())})}function y(){N&&(o.cancel(N),N=null),A&&(o.cancel(A),A=null)}function w(){E||(O=j.$new(),E=n(O,function(e){U?s.find("body").append(e):t.after(e)}),D())}function x(){v(),y(),S(),E&&(E.remove(),E=null),O&&(O.$destroy(),O=null)}function k(){j.title=r[c+"Title"],L?j.content=L(e):j.content=r[i],j.popupClass=r[c+"Class"],j.placement=angular.isDefined(r[c+"Placement"])?r[c+"Placement"]:f.placement;var t=l.parsePlacement(j.placement);V=t[1]?t[0]+"-"+t[1]:t[0];var n=parseInt(r[c+"PopupDelay"],10),a=parseInt(r[c+"PopupCloseDelay"],10);j.popupDelay=isNaN(n)?f.popupDelay:n,j.popupCloseDelay=isNaN(a)?f.popupCloseDelay:a}function C(t){H&&angular.isFunction(H.assign)&&H.assign(e,t)}function D(){_.length=0,L?(_.push(e.$watch(L,function(e){j.content=e,!e&&j.isOpen&&b()})),_.push(O.$watch(function(){q||(q=!0,O.$$postDigest(function(){q=!1,j&&j.isOpen&&B()}))}))):_.push(r.$observe(i,function(e){j.content=e,!e&&j.isOpen?b():B()})),_.push(r.$observe(c+"Title",function(e){j.title=e,j.isOpen&&B()})),_.push(r.$observe(c+"Placement",function(e){j.placement=e?e:f.placement,j.isOpen&&B()}))}function S(){_.length&&(angular.forEach(_,function(e){e()}),_.length=0)}function T(e){j&&j.isOpen&&E&&(t[0].contains(e.target)||E[0].contains(e.target)||g())}function M(){var e=r[c+"Trigger"];z(),F=m(e),"none"!==F.show&&F.show.forEach(function(e,n){"outsideClick"===e?(t.on("click",u),s.on("click",T)):e===F.hide[n]?t.on(e,u):e&&(t.on(e,d),t.on(F.hide[n],g)),t.on("keypress",function(e){27===e.which&&g()})})}var E,O,A,P,N,I,V,U=angular.isDefined(f.appendToBody)?f.appendToBody:!1,F=m(void 0),R=angular.isDefined(r[c+"Enable"]),j=e.$new(!0),q=!1,H=angular.isDefined(r[c+"IsOpen"])?p(r[c+"IsOpen"]):!1,L=f.useContentExp?p(r[i]):!1,_=[],B=function(){E&&E.html()&&(I||(I=o(function(){var e=l.positionElements(t,E,j.placement,U);E.css({top:e.top+"px",left:e.left+"px"}),E.hasClass(e.placement.split("-")[0])||(E.removeClass(V.split("-")[0]),E.addClass(e.placement.split("-")[0])),E.hasClass(f.placementClassPrefix+e.placement)||(E.removeClass(f.placementClassPrefix+V),E.addClass(f.placementClassPrefix+e.placement)),E.hasClass("uib-position-measure")?(l.positionArrow(E,e.placement),E.removeClass("uib-position-measure")):V!==e.placement&&l.positionArrow(E,e.placement),V=e.placement,I=null},0,!1)))};j.origScope=e,j.isOpen=!1,h.add(j,{close:b}),j.contentExp=function(){return j.content},r.$observe("disabled",function(e){e&&v(),e&&j.isOpen&&b()}),H&&e.$watch(H,function(e){j&&!e===j.isOpen&&u()});var z=function(){F.show.forEach(function(e){"outsideClick"===e?t.off("click",u):(t.off(e,d),t.off(e,u))}),F.hide.forEach(function(e){"outsideClick"===e?s.off("click",T):t.off(e,g)})};M();var W=e.$eval(r[c+"Animation"]);j.animation=angular.isDefined(W)?!!W:f.animation;var Y,G=c+"AppendToBody";Y=G in r&&void 0===r[G]?!0:e.$eval(r[G]),U=angular.isDefined(Y)?Y:U,e.$on("$destroy",function(){z(),x(),h.remove(j),j=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(e,t,n,r){return{link:function(i,a,o){var s,l,u,c=i.$eval(o.tooltipTemplateTranscludeScope),p=0,d=function(){l&&(l.remove(),l=null),s&&(s.$destroy(),s=null),u&&(e.leave(u).then(function(){l=null}),l=u,u=null)};i.$watch(t.parseAsResourceUrl(o.uibTooltipTemplateTransclude),function(t){var o=++p;t?(r(t,!0).then(function(r){if(o===p){var i=c.$new(),l=r,f=n(l)(i,function(t){d(),e.enter(t,a)});s=i,u=f,s.$emit("$includeContentLoaded",t)}},function(){o===p&&(d(),i.$emit("$includeContentError",t))}),i.$emit("$includeContentRequested",t)):d()}),i.$on("$destroy",d)}}}]).directive("uibTooltipClasses",["$uibPosition",function(e){return{restrict:"A",link:function(t,n,r){if(t.placement){var i=e.parsePlacement(t.placement);n.addClass(i[0])}t.popupClass&&n.addClass(t.popupClass),t.animation()&&n.addClass(r.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(e){return e("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(e){return e("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(e){return e("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{replace:!0,scope:{uibTitle:"@",contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(e){return e("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{replace:!0,scope:{contentExp:"&",uibTitle:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(e){return e("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{replace:!0,scope:{uibTitle:"@",content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(e){return e("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(e,t,n){function r(){return angular.isDefined(e.maxParam)?e.maxParam:n.max}var i=this,a=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;this.bars=[],e.max=r(),this.addBar=function(e,t,n){a||t.css({transition:"none"}),this.bars.push(e),e.max=r(),e.title=n&&angular.isDefined(n.title)?n.title:"progressbar",e.$watch("value",function(t){e.recalculatePercentage()}),e.recalculatePercentage=function(){var t=i.bars.reduce(function(e,t){return t.percent=+(100*t.value/t.max).toFixed(2),e+t.percent},0);t>100&&(e.percent-=t-100)},e.$on("$destroy",function(){t=null,i.removeBar(e)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1),this.bars.forEach(function(e){e.recalculatePercentage()})},e.$watch("maxParam",function(e){i.bars.forEach(function(e){e.max=r(),e.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(e,t,n,r){r.addBar(e,t,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(e,t,n,r){r.addBar(e,angular.element(t.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(e,t,n){var r={$setViewValue:angular.noop},i=this;this.init=function(i){r=i,r.$render=this.render,r.$formatters.push(function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e}),this.stateOn=angular.isDefined(t.stateOn)?e.$parent.$eval(t.stateOn):n.stateOn,this.stateOff=angular.isDefined(t.stateOff)?e.$parent.$eval(t.stateOff):n.stateOff,this.enableReset=angular.isDefined(t.enableReset)?e.$parent.$eval(t.enableReset):n.enableReset;var a=angular.isDefined(t.titles)?e.$parent.$eval(t.titles):n.titles;this.titles=angular.isArray(a)&&a.length>0?a:n.titles;var o=angular.isDefined(t.ratingStates)?e.$parent.$eval(t.ratingStates):new Array(angular.isDefined(t.max)?e.$parent.$eval(t.max):n.max);e.range=this.buildTemplateObjects(o)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;n>t;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},e.rate=function(t){if(!e.readonly&&t>=0&&t<=e.range.length){var n=i.enableReset&&r.$viewValue===t?0:t;r.$setViewValue(n),r.$render()}},e.enter=function(t){e.readonly||(e.value=t),e.onHover({value:t})},e.reset=function(){e.value=r.$viewValue,e.onLeave()},e.onKeydown=function(t){/(37|38|39|40)/.test(t.which)&&(t.preventDefault(),t.stopPropagation(),e.rate(e.value+(38===t.which||39===t.which?1:-1)))},this.render=function(){e.value=r.$viewValue,e.title=i.getTitle(e.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",replace:!0,link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(e){function t(e){for(var t=0;tt.index?1:e.index0&&13>t:t>=0&&24>t; -return n&&""!==e.hours?(e.showMeridian&&(12===t&&(t=0),e.meridian===w[1]&&(t+=12)),t):void 0}function l(){var t=+e.minutes,n=t>=0&&60>t;return n&&""!==e.minutes?t:void 0}function u(){var t=+e.seconds;return t>=0&&60>t?t:void 0}function c(e,t){return null===e?"":angular.isDefined(e)&&e.toString().length<2&&!t?"0"+e:e.toString()}function p(e){d(),y.$setViewValue(new Date(v)),f(e)}function d(){y.$setValidity("time",!0),e.invalidHours=!1,e.invalidMinutes=!1,e.invalidSeconds=!1}function f(t){if(y.$modelValue){var n=v.getHours(),r=v.getMinutes(),i=v.getSeconds();e.showMeridian&&(n=0===n||12===n?12:n%12),e.hours="h"===t?n:c(n,!x),"m"!==t&&(e.minutes=c(r)),e.meridian=v.getHours()<12?w[0]:w[1],"s"!==t&&(e.seconds=c(i)),e.meridian=v.getHours()<12?w[0]:w[1]}else e.hours=null,e.minutes=null,e.seconds=null,e.meridian=w[0]}function h(e){v=g(v,e),p()}function m(e,t){return g(e,60*t)}function g(e,t){var n=new Date(e.getTime()+1e3*t),r=new Date(e);return r.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),r}function $(){return(null===e.hours||""===e.hours)&&(null===e.minutes||""===e.minutes)&&(!e.showSeconds||e.showSeconds&&(null===e.seconds||""===e.seconds))}var v=new Date,b=[],y={$setViewValue:angular.noop},w=angular.isDefined(n.meridians)?e.$parent.$eval(n.meridians):o.meridians||a.DATETIME_FORMATS.AMPMS,x=angular.isDefined(n.padHours)?e.$parent.$eval(n.padHours):!0;e.tabindex=angular.isDefined(n.tabindex)?n.tabindex:0,t.removeAttr("tabindex"),this.init=function(t,r){y=t,y.$render=this.render,y.$formatters.unshift(function(e){return e?new Date(e):null});var i=r.eq(0),a=r.eq(1),s=r.eq(2),l=angular.isDefined(n.mousewheel)?e.$parent.$eval(n.mousewheel):o.mousewheel;l&&this.setupMousewheelEvents(i,a,s);var u=angular.isDefined(n.arrowkeys)?e.$parent.$eval(n.arrowkeys):o.arrowkeys;u&&this.setupArrowkeyEvents(i,a,s),e.readonlyInput=angular.isDefined(n.readonlyInput)?e.$parent.$eval(n.readonlyInput):o.readonlyInput,this.setupInputEvents(i,a,s)};var k=o.hourStep;n.hourStep&&b.push(e.$parent.$watch(r(n.hourStep),function(e){k=+e}));var C=o.minuteStep;n.minuteStep&&b.push(e.$parent.$watch(r(n.minuteStep),function(e){C=+e}));var D;b.push(e.$parent.$watch(r(n.min),function(e){var t=new Date(e);D=isNaN(t)?void 0:t}));var S;b.push(e.$parent.$watch(r(n.max),function(e){var t=new Date(e);S=isNaN(t)?void 0:t}));var T=!1;n.ngDisabled&&b.push(e.$parent.$watch(r(n.ngDisabled),function(e){T=e})),e.noIncrementHours=function(){var e=m(v,60*k);return T||e>S||v>e&&D>e},e.noDecrementHours=function(){var e=m(v,60*-k);return T||D>e||e>v&&e>S},e.noIncrementMinutes=function(){var e=m(v,C);return T||e>S||v>e&&D>e},e.noDecrementMinutes=function(){var e=m(v,-C);return T||D>e||e>v&&e>S},e.noIncrementSeconds=function(){var e=g(v,M);return T||e>S||v>e&&D>e},e.noDecrementSeconds=function(){var e=g(v,-M);return T||D>e||e>v&&e>S},e.noToggleMeridian=function(){return v.getHours()<12?T||m(v,720)>S:T||m(v,-720)0};t.bind("mousewheel wheel",function(t){T||e.$apply(i(t)?e.incrementHours():e.decrementHours()),t.preventDefault()}),n.bind("mousewheel wheel",function(t){T||e.$apply(i(t)?e.incrementMinutes():e.decrementMinutes()),t.preventDefault()}),r.bind("mousewheel wheel",function(t){T||e.$apply(i(t)?e.incrementSeconds():e.decrementSeconds()),t.preventDefault()})},this.setupArrowkeyEvents=function(t,n,r){t.bind("keydown",function(t){T||(38===t.which?(t.preventDefault(),e.incrementHours(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementHours(),e.$apply()))}),n.bind("keydown",function(t){T||(38===t.which?(t.preventDefault(),e.incrementMinutes(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementMinutes(),e.$apply()))}),r.bind("keydown",function(t){T||(38===t.which?(t.preventDefault(),e.incrementSeconds(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementSeconds(),e.$apply()))})},this.setupInputEvents=function(t,n,r){if(e.readonlyInput)return e.updateHours=angular.noop,e.updateMinutes=angular.noop,void(e.updateSeconds=angular.noop);var i=function(t,n,r){y.$setViewValue(null),y.$setValidity("time",!1),angular.isDefined(t)&&(e.invalidHours=t),angular.isDefined(n)&&(e.invalidMinutes=n),angular.isDefined(r)&&(e.invalidSeconds=r)};e.updateHours=function(){var e=s(),t=l();y.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(v.setHours(e),v.setMinutes(t),D>v||v>S?i(!0):p("h")):i(!0)},t.bind("blur",function(t){y.$setTouched(),$()?d():null===e.hours||""===e.hours?i(!0):!e.invalidHours&&e.hours<10&&e.$apply(function(){e.hours=c(e.hours,!x)})}),e.updateMinutes=function(){var e=l(),t=s();y.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(v.setHours(t),v.setMinutes(e),D>v||v>S?i(void 0,!0):p("m")):i(void 0,!0)},n.bind("blur",function(t){y.$setTouched(),$()?d():null===e.minutes?i(void 0,!0):!e.invalidMinutes&&e.minutes<10&&e.$apply(function(){e.minutes=c(e.minutes)})}),e.updateSeconds=function(){var e=u();y.$setDirty(),angular.isDefined(e)?(v.setSeconds(e),p("s")):i(void 0,void 0,!0)},r.bind("blur",function(t){$()?d():!e.invalidSeconds&&e.seconds<10&&e.$apply(function(){e.seconds=c(e.seconds)})})},this.render=function(){var t=y.$viewValue;isNaN(t)?(y.$setValidity("time",!1),i.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(t&&(v=t),D>v||v>S?(y.$setValidity("time",!1),e.invalidHours=!0,e.invalidMinutes=!0):d(),f())},e.showSpinners=angular.isDefined(n.showSpinners)?e.$parent.$eval(n.showSpinners):o.showSpinners,e.incrementHours=function(){e.noIncrementHours()||h(60*k*60)},e.decrementHours=function(){e.noDecrementHours()||h(60*-k*60)},e.incrementMinutes=function(){e.noIncrementMinutes()||h(60*C)},e.decrementMinutes=function(){e.noDecrementMinutes()||h(60*-C)},e.incrementSeconds=function(){e.noIncrementSeconds()||h(M)},e.decrementSeconds=function(){e.noDecrementSeconds()||h(-M)},e.toggleMeridian=function(){var t=l(),n=s();e.noToggleMeridian()||(angular.isDefined(t)&&angular.isDefined(n)?h(720*(v.getHours()<12?60:-60)):e.meridian=e.meridian===w[0]?w[1]:w[0])},e.blur=function(){y.$setTouched()},e.$on("$destroy",function(){for(;b.length;)b.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(e){return{require:["uibTimepicker","?^ngModel"],controller:"UibTimepickerController",controllerAs:"timepicker",replace:!0,scope:{},templateUrl:function(t,n){return n.templateUrl||e.templateUrl},link:function(e,t,n,r){var i=r[0],a=r[1];a&&i.init(a,t.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(e){var t=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var r=n.match(t);if(!r)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:r[3],source:e(r[4]),viewMapper:e(r[2]||r[1]),modelMapper:e(r[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(e,t,n,r,i,a,o,s,l,u,c,p,d){function f(){j.moveInProgress||(j.moveInProgress=!0,j.$digest()),J()}function h(){j.position=E?p.offset(t):p.position(t),j.position.top+=t.prop("offsetHeight")}var m,g,$=[9,13,27,38,40],v=200,b=e.$eval(n.typeaheadMinLength);b||0===b||(b=1),e.$watch(n.typeaheadMinLength,function(e){b=e||0===e?e:1});var y=e.$eval(n.typeaheadWaitMs)||0,w=e.$eval(n.typeaheadEditable)!==!1;e.$watch(n.typeaheadEditable,function(e){w=e!==!1});var x,k,C=i(n.typeaheadLoading).assign||angular.noop,D=i(n.typeaheadOnSelect),S=angular.isDefined(n.typeaheadSelectOnBlur)?e.$eval(n.typeaheadSelectOnBlur):!1,T=i(n.typeaheadNoResults).assign||angular.noop,M=n.typeaheadInputFormatter?i(n.typeaheadInputFormatter):void 0,E=n.typeaheadAppendToBody?e.$eval(n.typeaheadAppendToBody):!1,O=n.typeaheadAppendTo?e.$eval(n.typeaheadAppendTo):null,A=e.$eval(n.typeaheadFocusFirst)!==!1,P=n.typeaheadSelectOnExact?e.$eval(n.typeaheadSelectOnExact):!1,N=i(n.typeaheadIsOpen).assign||angular.noop,I=e.$eval(n.typeaheadShowHint)||!1,V=i(n.ngModel),U=i(n.ngModel+"($$$p)"),F=function(t,n){return angular.isFunction(V(e))&&g&&g.$options&&g.$options.getterSetter?U(t,{$$$p:n}):V.assign(t,n)},R=d.parse(n.uibTypeahead),j=e.$new(),q=e.$on("$destroy",function(){j.$destroy()});j.$on("$destroy",q);var H="typeahead-"+j.$id+"-"+Math.floor(1e4*Math.random());t.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":H});var L,_;I&&(L=angular.element("
"),L.css("position","relative"),t.after(L),_=t.clone(),_.attr("placeholder",""),_.attr("tabindex","-1"),_.val(""),_.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),t.css({position:"relative","vertical-align":"top","background-color":"transparent"}),L.append(_),_.after(t));var B=angular.element("
");B.attr({id:H,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(n.typeaheadTemplateUrl)&&B.attr("template-url",n.typeaheadTemplateUrl),angular.isDefined(n.typeaheadPopupTemplateUrl)&&B.attr("popup-template-url",n.typeaheadPopupTemplateUrl);var z=function(){I&&_.val("")},W=function(){j.matches=[],j.activeIdx=-1,t.attr("aria-expanded",!1),z()},Y=function(e){return H+"-option-"+e};j.$watch("activeIdx",function(e){0>e?t.removeAttr("aria-activedescendant"):t.attr("aria-activedescendant",Y(e))});var G=function(e,t){return j.matches.length>t&&e?e.toUpperCase()===j.matches[t].label.toUpperCase():!1},K=function(n,r){var i={$viewValue:n};C(e,!0),T(e,!1),a.when(R.source(e,i)).then(function(a){var o=n===m.$viewValue;if(o&&x)if(a&&a.length>0){j.activeIdx=A?0:-1,T(e,!1),j.matches.length=0;for(var s=0;s0&&l.slice(0,n.length).toUpperCase()===n.toUpperCase()?_.val(n+l.slice(n.length)):_.val("")}}else W(),T(e,!0);o&&C(e,!1)},function(){W(),C(e,!1),T(e,!0)})};E&&(angular.element(l).on("resize",f),s.find("body").on("scroll",f));var J=c(function(){j.matches.length&&h(),j.moveInProgress=!1},v);j.moveInProgress=!1,j.query=void 0;var Z,X=function(e){Z=o(function(){K(e)},y)},Q=function(){Z&&o.cancel(Z)};W(),j.assignIsOpen=function(t){N(e,t)},j.select=function(r,i){var a,s,l={};k=!0,l[R.itemName]=s=j.matches[r].model,a=R.modelMapper(e,l),F(e,a),m.$setValidity("editable",!0),m.$setValidity("parse",!0),D(e,{$item:s,$model:a,$label:R.viewMapper(e,l),$event:i}),W(),j.$eval(n.typeaheadFocusOnSelect)!==!1&&o(function(){t[0].focus()},0,!1)},t.on("keydown",function(t){if(0!==j.matches.length&&-1!==$.indexOf(t.which)){if(-1===j.activeIdx&&(9===t.which||13===t.which)||9===t.which&&t.shiftKey)return W(),void j.$digest();t.preventDefault();var n;switch(t.which){case 9:case 13:j.$apply(function(){angular.isNumber(j.debounceUpdate)||angular.isObject(j.debounceUpdate)?c(function(){j.select(j.activeIdx,t)},angular.isNumber(j.debounceUpdate)?j.debounceUpdate:j.debounceUpdate["default"]):j.select(j.activeIdx,t)});break;case 27:t.stopPropagation(),W(),e.$digest();break;case 38:j.activeIdx=(j.activeIdx>0?j.activeIdx:j.matches.length)-1,j.$digest(),n=B.find("li")[j.activeIdx],n.parentNode.scrollTop=n.offsetTop;break;case 40:j.activeIdx=(j.activeIdx+1)%j.matches.length,j.$digest(),n=B.find("li")[j.activeIdx],n.parentNode.scrollTop=n.offsetTop}}}),t.bind("focus",function(e){x=!0,0!==b||m.$viewValue||o(function(){K(m.$viewValue,e)},0)}),t.bind("blur",function(e){S&&j.matches.length&&-1!==j.activeIdx&&!k&&(k=!0,j.$apply(function(){angular.isObject(j.debounceUpdate)&&angular.isNumber(j.debounceUpdate.blur)?c(function(){j.select(j.activeIdx,e)},j.debounceUpdate.blur):j.select(j.activeIdx,e)})),!w&&m.$error.editable&&(m.$setViewValue(),m.$setValidity("editable",!0),m.$setValidity("parse",!0),t.val("")),x=!1,k=!1});var ee=function(n){t[0]!==n.target&&3!==n.which&&0!==j.matches.length&&(W(),u.$$phase||e.$digest())};s.on("click",ee),e.$on("$destroy",function(){s.off("click",ee),(E||O)&&te.remove(),E&&(angular.element(l).off("resize",f),s.find("body").off("scroll",f)),B.remove(),I&&L.remove()});var te=r(B)(j);E?s.find("body").append(te):O?angular.element(O).eq(0).append(te):t.after(te),this.init=function(t,n){m=t,g=n,j.debounceUpdate=m.$options&&i(m.$options.debounce)(e),m.$parsers.unshift(function(t){return x=!0,0===b||t&&t.length>=b?y>0?(Q(),X(t)):K(t):(C(e,!1),Q(),W()),w?t:t?void m.$setValidity("editable",!1):(m.$setValidity("editable",!0),null)}),m.$formatters.push(function(t){var n,r,i={};return w||m.$setValidity("editable",!0),M?(i.$model=t,M(e,i)):(i[R.itemName]=t,n=R.viewMapper(e,i),i[R.itemName]=void 0,r=R.viewMapper(e,i),n!==r?n:t)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","^?ngModelOptions","uibTypeahead"],link:function(e,t,n,r){r[2].init(r[0],r[1])}}}).directive("uibTypeaheadPopup",["$$debounce",function(e){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(e,t){return t.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(t,n,r){t.templateUrl=r.templateUrl,t.isOpen=function(){var e=t.matches.length>0;return t.assignIsOpen({isOpen:e}),e},t.isActive=function(e){return t.active===e},t.selectActive=function(e){t.active=e},t.selectMatch=function(n,r){var i=t.debounce();angular.isNumber(i)||angular.isObject(i)?e(function(){t.select({activeIdx:n,evt:r})},angular.isNumber(i)?i:i["default"]):t.select({activeIdx:n,evt:r})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(e,t,n){return{scope:{index:"=",match:"=",query:"="},link:function(r,i,a){var o=n(a.templateUrl)(r.$parent)||"uib/template/typeahead/typeahead-match.html";e(o).then(function(e){var n=angular.element(e.trim());i.replaceWith(n),t(n)(r)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(e,t,n){function r(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function i(e){return/<.*>/g.test(e)}var a;return a=t.has("$sanitize"),function(t,o){return!a&&i(t)&&n.warn("Unsafe use of typeahead please use ngSanitize"),t=o?(""+t).replace(new RegExp(r(o),"gi"),"$&"):t,a||(t=e.trustAsHtml(t)),t}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion-group.html",'
\n \n
\n
\n
\n
\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion.html",'
')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("uib/template/alert/alert.html",'\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/carousel.html",'\n')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/slide.html",'
\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/datepicker.html",'
\n \n \n \n
\n')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/day.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{::label.abbr}}
{{ weekNumbers[$index] }}\n \n
\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/month.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/year.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n')}]),angular.module("uib/template/datepickerPopup/popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepickerPopup/popup.html",'
\n \n
\n')}]),angular.module("uib/template/modal/backdrop.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/backdrop.html",'\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/window.html",'\n')}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(e){e.put("uib/template/pager/pager.html",'\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("uib/template/pagination/pagination.html",'\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-html-popup.html",'
\n
\n
\n
\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-popup.html",'
\n
\n
\n
\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-template-popup.html",'
\n
\n
\n
\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-html.html",'
\n
\n\n
\n

\n
\n
\n
\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-template.html",'
\n
\n\n
\n

\n
\n
\n
\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover.html",'
\n
\n\n
\n

\n
\n
\n
\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/bar.html",'
\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progress.html",'
')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progressbar.html",'
\n
\n
\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("uib/template/rating/rating.html",'\n ({{ $index < value ? \'*\' : \' \' }})\n \n\n'); -}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tab.html",'\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tabset.html",'
\n \n
\n
\n
\n
\n
\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/timepicker/timepicker.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
  
\n \n :\n \n :\n \n
  
\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-match.html",'\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-popup.html",'\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibCarouselCss&&angular.element(document).find("head").prepend(''),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerCss&&angular.element(document).find("head").prepend(''),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibPositionCss&&angular.element(document).find("head").prepend(''),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerpopupCss&&angular.element(document).find("head").prepend(''),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTooltipCss&&angular.element(document).find("head").prepend(''),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTimepickerCss&&angular.element(document).find("head").prepend(''),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTypeaheadCss&&angular.element(document).find("head").prepend(''),angular.$$uibTypeaheadCss=!0}),function(e,t,n){"use strict";function r(e,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,a,o,s,l){function u(){f&&(r.cancel(f),f=null),p&&(p.$destroy(),p=null),d&&(f=r.leave(d),f.then(function(){f=null}),d=null)}function c(){var o=e.current&&e.current.locals;if(t.isDefined(o&&o.$template)){var o=i.$new(),s=e.current;d=l(o,function(e){r.enter(e,null,d||a).then(function(){!t.isDefined(h)||h&&!i.$eval(h)||n()}),u()}),p=s.scope=o,p.$emit("$viewContentLoaded"),p.$eval(m)}else u()}var p,d,f,h=o.autoscroll,m=o.onload||"";i.$on("$routeChangeSuccess",c),c()}}}function i(e,t,n){return{restrict:"ECA",priority:-400,link:function(r,i){var a=n.current,o=a.locals;i.html(o.$template);var s=e(i.contents());a.controller&&(o.$scope=r,o=t(a.controller,o),a.controllerAs&&(r[a.controllerAs]=o),i.data("$ngControllerController",o),i.children().data("$ngControllerController",o)),s(r)}}}e=t.module("ngRoute",["ng"]).provider("$route",function(){function e(e,n){return t.extend(Object.create(e),n)}function n(e,t){var n=t.caseInsensitiveMatch,r={originalPath:e,regexp:e},i=r.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(e,t,n,r){return e="?"===r?r:null,r="*"===r?r:null,i.push({name:n,optional:!!e}),t=t||"",""+(e?"":t)+"(?:"+(e?t:"")+(r&&"(.+?)"||"([^/]+)")+(e||"")+")"+(e||"")}).replace(/([\/$\*])/g,"\\$1"),r.regexp=new RegExp("^"+e+"$",n?"i":""),r}var r={};this.when=function(e,i){var a=t.copy(i);if(t.isUndefined(a.reloadOnSearch)&&(a.reloadOnSearch=!0),t.isUndefined(a.caseInsensitiveMatch)&&(a.caseInsensitiveMatch=this.caseInsensitiveMatch),r[e]=t.extend(a,e&&n(e,a)),e){var o="/"==e[e.length-1]?e.substr(0,e.length-1):e+"/";r[o]=t.extend({redirectTo:e},n(o,a))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(n,i,o,s,l,u,c){function p(e){var r=v.current;(g=(m=f())&&r&&m.$$route===r.$$route&&t.equals(m.pathParams,r.pathParams)&&!m.reloadOnSearch&&!$)||!r&&!m||n.$broadcast("$routeChangeStart",m,r).defaultPrevented&&e&&e.preventDefault()}function d(){var e=v.current,r=m;g?(e.params=r.params,t.copy(e.params,o),n.$broadcast("$routeUpdate",e)):(r||e)&&($=!1,(v.current=r)&&r.redirectTo&&(t.isString(r.redirectTo)?i.path(h(r.redirectTo,r.params)).search(r.params).replace():i.url(r.redirectTo(r.pathParams,i.path(),i.search())).replace()),s.when(r).then(function(){if(r){var e,n,i=t.extend({},r.resolve);return t.forEach(i,function(e,n){i[n]=t.isString(e)?l.get(e):l.invoke(e,null,null,n)}),t.isDefined(e=r.template)?t.isFunction(e)&&(e=e(r.params)):t.isDefined(n=r.templateUrl)&&(t.isFunction(n)&&(n=n(r.params)),t.isDefined(n)&&(r.loadedTemplateUrl=c.valueOf(n),e=u(n))),t.isDefined(e)&&(i.$template=e),s.all(i)}}).then(function(i){r==v.current&&(r&&(r.locals=i,t.copy(r.params,o)),n.$broadcast("$routeChangeSuccess",r,e))},function(t){r==v.current&&n.$broadcast("$routeChangeError",r,e,t)}))}function f(){var n,a;return t.forEach(r,function(r,o){var s;if(s=!a){var l=i.path();s=r.keys;var u={};if(r.regexp)if(l=r.regexp.exec(l)){for(var c=1,p=l.length;p>c;++c){var d=s[c-1],f=l[c];d&&f&&(u[d.name]=f)}s=u}else s=null;else s=null;s=n=s}s&&(a=e(r,{params:t.extend({},i.search(),n),pathParams:n}),a.$$route=r)}),a||r[null]&&e(r[null],{params:{},pathParams:{}})}function h(e,n){var r=[];return t.forEach((e||"").split(":"),function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(?:[?*])?(.*)/),a=i[1];r.push(n[a]),r.push(i[2]||""),delete n[a]}}),r.join("")}var m,g,$=!1,v={routes:r,reload:function(){$=!0,n.$evalAsync(function(){p(),d()})},updateParams:function(e){if(!this.current||!this.current.$$route)throw a("norout");e=t.extend({},this.current.params,e),i.path(h(this.current.$$route.originalPath,e)),i.search(e)}};return n.$on("$locationChangeStart",p),n.$on("$locationChangeSuccess",d),v}]});var a=t.$$minErr("ngRoute");e.provider("$routeParams",function(){this.$get=function(){return{}}}),e.directive("ngView",r),e.directive("ngView",i),r.$inject=["$route","$anchorScroll","$animate"],i.$inject=["$compile","$controller","$route"]}(window,window.angular),function(e,t,n){"use strict";function r(e,t,n){if(!e)throw ngMinErr("areq",t||"?",n||"required");return e}function i(e,t){return e||t?e?t?(F(e)&&(e=e.join(" ")),F(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function a(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}function o(e,t,n){var r="";return e=F(e)?e:e&&R(e)&&e.length?e.split(/\s+/):[],U(e,function(e,i){e&&00?" ":"",r+=n?t+e:e+t)}),r}function s(e){if(e instanceof V)switch(e.length){case 0:return[];case 1:if(1===e[0].nodeType)return e;break;default:return V(l(e))}return 1===e.nodeType?V(e):void 0}function l(e){if(!e[0])return e;for(var t=0;t=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0;return e=e.split(/\s*,\s*/),U(e,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function S(e){return 0===e||null!=e}function T(e,t){var n=E,r=e+"s";return t?n+="Duration":r+=" linear all",[n,r]}function M(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){return(t=e[t])?t.total:0},get:function(t){return(t=e[t])&&t.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}var E,O,A,P,N=t.noop,I=t.extend,V=t.element,U=t.forEach,F=t.isArray,R=t.isString,j=t.isObject,q=t.isUndefined,H=t.isDefined,L=t.isFunction,_=t.isElement;q(e.ontransitionend)&&H(e.onwebkittransitionend)?(E="WebkitTransition",O="webkitTransitionEnd transitionend"):(E="transition",O="transitionend"),q(e.onanimationend)&&H(e.onwebkitanimationend)?(A="WebkitAnimation",P="webkitAnimationEnd animationend"):(A="animation",P="animationend");var B=A+"Delay",z=A+"Duration",W=E+"Delay";e=E+"Duration";var Y={transitionDuration:e,transitionDelay:W,transitionProperty:E+"Property",animationDuration:z,animationDelay:B,animationIterationCount:A+"IterationCount"},G={transitionDuration:e,transitionDelay:W,animationDuration:z,animationDelay:B};t.module("ngAnimate",[]).provider("$$body",function(){this.$get=["$document",function(e){return V(e[0].body)}]}).directive("ngAnimateChildren",[function(){return function(e,n,r){e=r.ngAnimateChildren,t.isString(e)&&0===e.length?n.data("$$ngAnimateChildren",!0):r.$observe("ngAnimateChildren",function(e){n.data("$$ngAnimateChildren","on"===e||"true"===e)})}}]).factory("$$rAFScheduler",["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),a=0;a=e&&(e=i,i=0,n.push(a),a=[]),a.push(o.fn),o.children.forEach(function(e){i++,r.push(e)}),e--}return a.length&&n.push(a),n}(r)}var c=[],h=p(e);return function(s,p,m){function g(e){e=e.hasAttribute("ng-animate-ref")?[e]:e.querySelectorAll("[ng-animate-ref]");var t=[];return U(e,function(e){var n=e.getAttribute("ng-animate-ref");n&&n.length&&t.push(e)}),t}function $(e){var t=[],n={};U(e,function(e,r){var i=v(e.element),a=0<=["enter","move"].indexOf(e.event),i=e.structural?g(i):[];if(i.length){var o=a?"to":"from";U(i,function(e){var t=e.getAttribute("ng-animate-ref");n[t]=n[t]||{},n[t][o]={animationID:r,element:V(e)}})}else t.push(e)});var r={},i={};return U(n,function(n,a){var o=n.from,s=n.to;if(o&&s){var l=e[o.animationID],u=e[s.animationID],c=o.animationID.toString();if(!i[c]){var p=i[c]={structural:!0,beforeStart:function(){l.beforeStart(),u.beforeStart()},close:function(){l.close(),u.close()},classes:b(l.classes,u.classes),from:l,to:u,anchors:[]};p.classes.length?t.push(p):(t.push(l),t.push(u))}i[c].anchors.push({out:o.element,"in":s.element})}else o=o?o.animationID:s.animationID,s=o.toString(),r[s]||(r[s]=!0,t.push(e[o]))}),t}function b(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r=0;t--){var r=n[t];if(a.has(r)&&(r=a.get(r)(e)))return r}}function w(e,n){e.from&&e.to?(t(e.from.element).setHost(n),t(e.to.element).setHost(n)):t(e.element).setHost(n)}function x(){var e=t(s);!e||"leave"===p&&m.$$domOperationFired||e.end()}function k(t){s.off("$destroy",x),s.removeData("$$animationRunner"),h(s,m),f(s,m),m.domOperation(),T&&e.removeClass(s,T),s.removeClass("ng-animate"),D.complete(!t)}m=d(m);var C=0<=["enter","move","leave"].indexOf(p),D=new o({end:function(){k()},cancel:function(){k(!0)}});if(!n.length)return k(),D;s.data("$$animationRunner",D);var S=i(s.attr("class"),i(m.addClass,m.removeClass)),T=m.tempClasses;return T&&(S+=" "+T,m.tempClasses=null),c.push({element:s,classes:S,event:p,structural:C,options:m,beforeStart:function(){s.addClass("ng-animate"),T&&e.addClass(s,T)},close:k}),s.on("$destroy",x),1f.expectedEndTime)?s.cancel(f.timer):u.push(p)}d&&(c=s(i,c,!1),u[0]={timer:c,expectedEndTime:t},u.push(p),e.data("$$animateCss",u)),e.on(l.join(" "),a),m(e,n)}}function i(){var t=e.data("$$animateCss");if(t){for(var n=1;n=K&&t>=J&&(H=!0,p())}if(!j)if(R.parentNode){ -var o,l=[],u=function(e){if(H)q&&e&&(q=!1,p());else if(q=!e,ce.animationDuration)if(e=w(R,q),q)X.push(e);else{var t=X,n=t.indexOf(e);e>=0&&t.splice(n,1)}},c=ue>0&&(ce.transitionDuration&&0===le.transitionDuration||ce.animationDuration&&0===le.animationDuration)&&Math.max(le.animationDelay,le.transitionDelay);c?s(t,Math.floor(c*ue*1e3),!1):t(),_.resume=function(){u(!0)},_.pause=function(){u(!1)}}else p()}var R=v(e);if(!R||!R.parentNode||!g.enabled())return I();n=d(n);var j,q,H,L,_,Y,K,J,Z,X=[],Q=e.attr("class"),ee=a(n);if(0===n.duration||!u.animations&&!u.transitions)return I();var te=n.event&&F(n.event)?n.event.join(" "):n.event,ne="",re="";te&&n.structural?ne=o(te,"ng-",!0):te&&(ne=te),n.addClass&&(re+=o(n.addClass,"-add")),n.removeClass&&(re.length&&(re+=" "),re+=o(n.removeClass,"-remove")),n.applyClassesEarly&&re.length&&M(e,n);var ie=[ne,re].join(" ").trim(),ae=Q+" "+ie,oe=o(ie,"-active"),Q=ee.to&&0=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function a(e,t,n){var r,o;if(e)if(D(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(ar(e)||i(e)){var s="object"!=typeof e;for(r=0,o=e.length;o>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==a)e.forEach(t,n,e);else if(w(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)Gn.call(e,r)&&t.call(n,e[r],r,e);return e}function o(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var o=t[i];if(y(o)||D(o))for(var s=Object.keys(o),l=0,c=s.length;c>l;l++){var p=s[l],d=o[p];n&&y(d)?C(d)?e[p]=new Date(d.valueOf()):S(d)?e[p]=new RegExp(d):d.nodeName?e[p]=d.cloneNode(!0):A(d)?e[p]=d.clone():(y(e[p])||(e[p]=ar(d)?[]:{}),u(e[p],[d],!0)):e[p]=d}}return r?e.$$hashKey=r:delete e.$$hashKey,e}function c(e){return u(e,Jn.call(arguments,1),!1)}function p(e){return u(e,Jn.call(arguments,1),!0)}function d(e){return parseInt(e,10)}function f(e,t){return c(Object.create(e),t)}function h(){}function m(e){return e}function g(e){return function(){return e}}function $(e){return D(e.toString)&&e.toString!==Qn}function v(e){return"undefined"==typeof e}function b(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function w(e){return null!==e&&"object"==typeof e&&!er(e)}function x(e){return"string"==typeof e}function k(e){return"number"==typeof e}function C(e){return"[object Date]"===Qn.call(e)}function D(e){return"function"==typeof e}function S(e){return"[object RegExp]"===Qn.call(e)}function M(e){return e&&e.window===e}function T(e){return e&&e.$evalAsync&&e.$watch}function O(e){return"boolean"==typeof e}function E(e){return e&&k(e.length)&&or.test(Qn.call(e))}function A(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t={};e=e.split(",");var n;for(n=0;n=0&&e.splice(n,1),n}function V(e,t){function n(e,t){var n,i=t.$$hashKey;if(ar(e)){n=0;for(var a=e.length;a>n;n++)t.push(r(e[n]))}else if(w(e))for(n in e)t[n]=r(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=r(e[n]));else for(n in e)Gn.call(e,n)&&(t[n]=r(e[n]));return i?t.$$hashKey=i:delete t.$$hashKey,t}function r(e){if(!y(e))return e;var t=i.indexOf(e);if(-1!==t)return o[t];if(M(e)||T(e))throw tr("cpws");var r,t=!1;return ar(e)?(r=[],t=!0):E(e)?r=new e.constructor(e):C(e)?r=new Date(e.getTime()):S(e)?(r=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]),r.lastIndex=e.lastIndex):"[object Blob]"===Qn.call(e)?r=new e.constructor([e],{type:e.type}):D(e.cloneNode)?r=e.cloneNode(!0):(r=Object.create(er(e)),t=!0),i.push(e),o.push(r),t?n(e,r):r}var i=[],o=[];if(t){if(E(t))throw tr("cpta");if(e===t)throw tr("cpi");return ar(t)?t.length=0:a(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),i.push(e),o.push(t),n(e,t)}return r(e)}function U(e,t){if(ar(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e))for(n in t=t||{},e)"$"===n.charAt(0)&&"$"===n.charAt(1)||(t[n]=e[n]);return t||e}function F(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r=typeof e;if(r==typeof t&&"object"==r){if(!ar(e)){if(C(e))return C(t)?F(e.getTime(),t.getTime()):!1;if(S(e))return S(t)?e.toString()==t.toString():!1;if(T(e)||T(t)||M(e)||M(t)||ar(t)||C(t)||S(t))return!1;r=ue();for(n in e)if("$"!==n.charAt(0)&&!D(e[n])){if(!F(e[n],t[n]))return!1;r[n]=!0}for(n in t)if(!(n in r)&&"$"!==n.charAt(0)&&b(t[n])&&!D(t[n]))return!1;return!0}if(!ar(t))return!1;if((r=e.length)==t.length){for(n=0;r>n;n++)if(!F(e[n],t[n]))return!1;return!0}}return!1}function j(e,t,n){return e.concat(Jn.call(t,n))}function R(e,t){var n=2").append(e).html();try{return e[0].nodeType===mr?Yn(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Yn(t)})}catch(r){return Yn(n)}}function W(e){try{return decodeURIComponent(e)}catch(t){}}function Y(e){var t={};return a((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=W(r),b(r)&&(i=b(i)?W(i):!0,Gn.call(t,r)?ar(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function G(e){var t=[];return a(e,function(e,n){ar(e)?a(e,function(e){t.push(J(n,!0)+(!0===e?"":"="+J(e,!0)))}):t.push(J(n,!0)+(!0===e?"":"="+J(e,!0)))}),t.length?t.join("&"):""}function K(e){return J(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function J(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function Z(e,t){var n,r,i=dr.length;for(r=0;i>r;++r)if(n=dr[r]+t,x(n=e.getAttribute(n)))return n;return null}function X(e,t){var n,r,i={};a(dr,function(t){t+="app",!n&&e.hasAttribute&&e.hasAttribute(t)&&(n=e,r=e.getAttribute(t))}),a(dr,function(t){t+="app";var i;!n&&(i=e.querySelector("["+t.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(t))}),n&&(i.strictDi=null!==Z(n,"strict-di"),t(n,r?[r]:[],i))}function Q(n,r,i){y(i)||(i={}),i=c({strictDi:!1},i);var o=function(){if(n=_n(n),n.injector()){var e=n[0]===t?"document":z(n);throw tr("btstrpd",e.replace(//,">"))}return r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng"),e=qe(r,i.strictDi),e.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),e},s=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!l.test(e.name)?o():(e.name=e.name.replace(l,""),nr.resumeBootstrap=function(e){return a(e,function(e){r.push(e)}),o()},void(D(nr.resumeDeferredBootstrap)&&nr.resumeDeferredBootstrap()))}function ee(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function te(e){if(e=nr.element(e).injector(),!e)throw tr("test");return e.get("$$testability")}function ne(e,t){return t=t||"_",e.replace(fr,function(e,n){return(n?t:"")+e.toLowerCase()})}function re(){var t;if(!hr){var r=cr();(Bn=v(r)?e.jQuery:r?e[r]:n)&&Bn.fn.on?(_n=Bn,c(Bn.fn,{scope:Or.scope,isolateScope:Or.isolateScope,controller:Or.controller,injector:Or.injector,inheritedData:Or.inheritedData}),t=Bn.cleanData,Bn.cleanData=function(e){var n;if(ir)ir=!1;else for(var r,i=0;null!=(r=e[i]);i++)(n=Bn._data(r,"events"))&&n.$destroy&&Bn(r).triggerHandler("$destroy");t(e)}):_n=ge,nr.element=_n,hr=!0}}function ie(e,t,n){if(!e)throw tr("areq",t||"?",n||"required");return e}function ae(e,t,n){return n&&ar(e)&&(e=e[e.length-1]),ie(D(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function oe(e,t){if("hasOwnProperty"===e)throw tr("badname",t)}function se(e,t,n){if(!t)return e;t=t.split(".");for(var r,i=e,a=t.length,o=0;a>o;o++)r=t[o],e&&(e=(i=e)[r]);return!n&&D(e)?R(i,e):e}function le(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=_n(Jn.call(e,0,i))),t.push(n));return t||e}function ue(){return Object.create(null)}function ce(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng");return e=t(e,"angular",Object),e.$$minErr=e.$$minErr||r,t(e,"module",function(){var e={};return function(r,a,o){if("hasOwnProperty"===r)throw i("badname","module");return a&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function t(e,t){return function(n,a){return a&&D(a)&&(a.$$moduleName=r),i.push([e,t,arguments]),c}}if(!a)throw n("nomod",r);var i=[],s=[],l=[],u=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:l,requires:a,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),config:u,run:function(e){return l.push(e),this}};return o&&u(o),c})}})}function pe(t){c(t,{bootstrap:Q,copy:V,extend:c,merge:p,equals:F,element:_n,forEach:a,injector:qe,noop:h,bind:R,toJson:H,fromJson:L,identity:m,isUndefined:v,isDefined:b,isString:x,isFunction:D,isObject:y,isNumber:k,isElement:A,isArray:ar,version:gr,isDate:C,lowercase:Yn,uppercase:Kn,callbacks:{counter:0},getTestability:te,$$minErr:r,$$csp:ur,reloadWithDebugInfo:ee}),(zn=ce(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Jt}),e.provider("$compile",Ke).directive({a:Ai,input:Gi,textarea:Gi,form:Vi,script:Ua,select:Ra,style:Ha,option:qa,ngBind:Zi,ngBindHtml:Qi,ngBindTemplate:Xi,ngClass:ta,ngClassEven:ra,ngClassOdd:na,ngCloak:ia,ngController:aa,ngForm:Ui,ngHide:Ea,ngIf:la,ngInclude:ua,ngInit:pa,ngNonBindable:ka,ngPluralize:Ma,ngRepeat:Ta,ngShow:Oa,ngStyle:Aa,ngSwitch:Pa,ngSwitchWhen:Na,ngSwitchDefault:Ia,ngOptions:Sa,ngTransclude:Va,ngModel:ya,ngList:da,ngChange:ea,pattern:_a,ngPattern:_a,required:La,ngRequired:La,minlength:za,ngMinlength:za,maxlength:Ba,ngMaxlength:Ba,ngValue:Ji,ngModelOptions:xa}).directive({ngInclude:ca}).directive(Pi).directive(oa),e.provider({$anchorScroll:He,$animate:Lr,$animateCss:zr,$$animateJs:qr,$$animateQueue:Hr,$$AnimateRunner:Br,$$animateAsyncRun:_r,$browser:We,$cacheFactory:Ye,$controller:Qe,$document:et,$exceptionHandler:tt,$filter:pn,$$forceReflow:Jr,$interpolate:ft,$interval:ht,$http:ut,$httpParamSerializer:rt,$httpParamSerializerJQLike:it,$httpBackend:pt,$xhrFactory:ct,$location:St,$log:Mt,$parse:Bt,$rootScope:Kt,$q:zt,$$q:Wt,$sce:en,$sceDelegate:Qt,$sniffer:tn,$templateCache:Ge,$templateRequest:nn,$$testability:rn,$timeout:an,$window:ln,$$rAF:Gt,$$jqLite:Ue,$$HashMap:Nr,$$cookieReader:cn})}])}function de(e){return e.replace(br,function(e,t,n,r){return r?n.toUpperCase():n}).replace(yr,"Moz$1")}function fe(e){return e=e.nodeType,1===e||!e||9===e}function he(e,t){var n,r,i=t.createDocumentFragment(),o=[];if(Cr.test(e)){for(n=n||i.appendChild(t.createElement("div")),r=(Dr.exec(e)||["",""])[1].toLowerCase(),r=Mr[r]||Mr._default,n.innerHTML=r[1]+e.replace(Sr,"<$1>")+r[2],r=r[0];r--;)n=n.lastChild;o=j(o,n.childNodes),n=i.firstChild,n.textContent=""}else o.push(t.createTextNode(e));return i.textContent="",i.innerHTML="",a(o,function(e){i.appendChild(e)}),i}function me(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function ge(e){if(e instanceof ge)return e;var n;if(x(e)&&(e=sr(e),n=!0),!(this instanceof ge)){if(n&&"<"!=e.charAt(0))throw xr("nosel");return new ge(e)}if(n){n=t;var r;e=(r=kr.exec(e))?[n.createElement(r[1])]:(r=he(e,n))?r.childNodes:[]}Se(this,e)}function $e(e){return e.cloneNode(!0)}function ve(e,t){if(t||ye(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)ye(n[r])}function be(e,t,n,r){if(b(r))throw xr("offargs");var i=(r=we(e))&&r.events,o=r&&r.handle;if(o)if(t){var s=function(t){var r=i[t];b(n)&&I(r||[],n),b(n)&&r&&0r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Me(e,t){return Te(e,"$"+(t||"ngController")+"Controller")}function Te(e,t,n){for(9==e.nodeType&&(e=e.documentElement),t=ar(t)?t:[t];e;){for(var r=0,i=t.length;i>r;r++)if(b(n=_n.data(e,t[r])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function Oe(e){for(ve(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Ee(e,t){t||ve(e);var n=e.parentNode;n&&n.removeChild(e)}function Ae(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):_n(n).on("load",t)}function Pe(e,t){var n=Er[t.toLowerCase()];return n&&Ar[N(e)]&&n}function Ne(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],a=i?i.length:0;if(a){if(v(n.immediatePropagationStopped)){var o=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),o&&o.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Ie;a>1&&(i=U(i));for(var l=0;a>l;l++)n.isImmediatePropagationStopped()||s(e,n,i[l])}};return n.elem=e,n}function Ie(e,t,n){n.call(e,t)}function Ve(e,t,n){var r=t.relatedTarget;r&&(r===e||Tr.call(e,r))||n.call(e,t)}function Ue(){this.$get=function(){return c(ge,{hasClass:function(e,t){return e.attr&&(e=e[0]),ke(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),De(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Ce(e,t)}})}}function Fe(e,t){var n=e&&e.$$hashKey;return n?("function"==typeof n&&(n=e.$$hashKey()),n):(n=typeof e,n="function"==n||"object"==n&&null!==e?e.$$hashKey=n+":"+(t||l)():n+":"+e)}function je(e,t){if(t){var n=0;this.nextUid=function(){return++n}}a(e,this.put,this)}function Re(e){return(e=e.toString().replace(Fr,"").match(Ir))?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function qe(e,t){function r(e){return function(t,n){return y(t)?void a(t,s(e)):e(t,n)}}function i(e,t){if(oe(e,"service"),(D(t)||ar(t))&&(t=m.instantiate(t)),!t.$get)throw jr("pget",e);return h[e+"Provider"]=t}function o(e,t){return function(){var n=b.invoke(t,this);if(v(n))throw jr("undef",e);return n}}function l(e,t,n){return i(e,{$get:!1!==n?o(e,t):t})}function u(e){ie(v(e)||ar(e),"modulesToLoad","not an array");var t,n=[];return a(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=m.get(r[0]);i[r[1]].apply(i,r[2])}}if(!f.get(e)){f.put(e,!0);try{x(e)?(t=zn(e),n=n.concat(u(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):D(e)?n.push(m.invoke(e)):ar(e)?n.push(m.invoke(e)):ae(e,"module")}catch(i){throw ar(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),jr("modulerr",e,i.stack||i.message||i)}}}),n}function c(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw jr("cdep",t+" <- "+d.join(" <- "));return e[t]}try{return d.unshift(t),e[t]=p,e[t]=n(t,r)}catch(i){throw e[t]===p&&delete e[t],i}finally{d.shift()}}function i(e,n,i,a){"string"==typeof i&&(a=i,i=null);var o,s,l,u=[],c=qe.$$annotate(e,t,a);for(s=0,o=c.length;o>s;s++){if(l=c[s],"string"!=typeof l)throw jr("itkn",l);u.push(i&&i.hasOwnProperty(l)?i[l]:r(l,a))}return ar(e)&&(e=e[o]),e.apply(n,u)}return{invoke:i,instantiate:function(e,t,n){var r=Object.create((ar(e)?e[e.length-1]:e).prototype||null);return e=i(e,r,t,n),y(e)||D(e)?e:r},get:r,annotate:qe.$$annotate,has:function(t){return h.hasOwnProperty(t+"Provider")||e.hasOwnProperty(t)}}}t=!0===t;var p={},d=[],f=new je([],!0),h={$provide:{provider:r(i),factory:r(l),service:r(function(e,t){return l(e,["$injector",function(e){return e.instantiate(t)}])}),value:r(function(e,t){return l(e,g(t),!1)}),constant:r(function(e,t){oe(e,"constant"),h[e]=t,$[e]=t}),decorator:function(e,t){var n=m.get(e+"Provider"),r=n.$get;n.$get=function(){var e=b.invoke(r,n);return b.invoke(t,null,{$delegate:e})}}}},m=h.$injector=c(h,function(e,t){throw nr.isString(t)&&d.push(t),jr("unpr",d.join(" <- "))}),$={},b=$.$injector=c($,function(e,t){var r=m.get(e+"Provider",t);return b.invoke(r.$get,r,n,e)});return a(u(e),function(e){e&&b.invoke(e)}),b}function He(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===N(e)?(t=e,!0):void 0}),t}function a(e){if(e){e.scrollIntoView();var n;n=o.yOffset,D(n)?n=n():A(n)?(n=n[0],n="fixed"!==t.getComputedStyle(n).position?0:n.getBoundingClientRect().bottom):k(n)||(n=0),n&&(e=e.getBoundingClientRect().top,t.scrollBy(0,e-n))}else t.scrollTo(0,0)}function o(e){e=x(e)?e:n.hash();var t;e?(t=s.getElementById(e))?a(t):(t=i(s.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var s=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||Ae(function(){r.$evalAsync(o)})}),o}]}function Le(e,t){return e||t?e?t?(ar(e)&&(e=e.join(" ")),ar(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function _e(e){x(e)&&(e=e.split(" "));var t=ue();return a(e,function(e){e.length&&(t[e]=!0)}),t}function Be(e){return y(e)?e:{}}function ze(e,t,n,r){function i(e){try{e.apply(null,Jn.call(arguments,1))}finally{if(g--,0===g)for(;$.length;)try{$.pop()()}catch(t){n.error(t)}}}function o(){k=null,s(),l()}function s(){e:{try{b=p.state;break e}catch(e){}b=void 0}b=v(b)?null:b,F(b,S)&&(b=S),S=b}function l(){w===u.url()&&y===b||(w=u.url(),y=b,a(C,function(e){e(u.url(),b)}))}var u=this,c=e.location,p=e.history,d=e.setTimeout,f=e.clearTimeout,m={};u.isMock=!1;var g=0,$=[];u.$$completeOutstandingRequest=i,u.$$incOutstandingRequestCount=function(){g++},u.notifyWhenNoOutstandingRequests=function(e){0===g?e():$.push(e)};var b,y,w=c.href,x=t.find("base"),k=null;s(),y=b,u.url=function(t,n,i){if(v(i)&&(i=null),c!==e.location&&(c=e.location),p!==e.history&&(p=e.history),t){var a=y===i;if(w===t&&(!r.history||a))return u;var o=w&&bt(w)===bt(t);return w=t,y=i,!r.history||o&&a?(o&&!k||(k=t),n?c.replace(t):o?(n=c,i=t.indexOf("#"),i=-1===i?"":t.substr(i),n.hash=i):c.href=t,c.href!==t&&(k=t)):(p[n?"replaceState":"pushState"](i,"",t),s(),y=b),u}return k||c.href.replace(/%27/g,"'")},u.state=function(){return b};var C=[],D=!1,S=null;u.onUrlChange=function(t){return D||(r.history&&_n(e).on("popstate",o),_n(e).on("hashchange",o),D=!0),C.push(t),t},u.$$applicationDestroyed=function(){_n(e).off("hashchange popstate",o)},u.$$checkUrlChange=l,u.baseHref=function(){var e=x.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},u.defer=function(e,t){var n;return g++,n=d(function(){delete m[n],i(e)},t||0),m[n]=!0,n},u.defer.cancel=function(e){return m[e]?(delete m[e],f(e),i(h),!0):!1}}function We(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new ze(e,r,t,n)}]}function Ye(){this.$get=function(){function e(e,n){function i(e){e!=d&&(f?f==e&&(f=e.n):f=e,a(e.n,e.p),a(e,d),d=e,d.n=null)}function a(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid",e);var o=0,s=c({},n,{id:e}),l=ue(),u=n&&n.capacity||Number.MAX_VALUE,p=ue(),d=null,f=null;return t[e]={put:function(e,t){if(!v(t)){if(uu&&this.remove(f.key),t}},get:function(e){if(us;s++){var u=e[s];u.nodeType===mr&&u.nodeValue.match(o)&&me(u,e[s]=t.createElement("span"))}var c=V(e,n,e,r,i,a);P.$$addScopeClass(e);var p=null;return function(t,n,r){ie(t,"scope"),a&&a.needsNewScope&&(t=t.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,o=r.transcludeControllers;if(r=r.futureParentElement,i&&i.$$boundTransclude&&(i=i.$$boundTransclude),p||(p=(r=r&&r[0])&&"foreignobject"!==N(r)&&r.toString().match(/SVG/)?"svg":"html"),r="html"!==p?_n(Z(p,_n("
").append(e).html())):n?Or.clone.call(e):e,o)for(var s in o)r.data("$"+s+"Controller",o[s].instance);return P.$$addScopeInfo(r,t),n&&n(r,t),c&&c(t,r,r,i),r}}function V(e,t,r,i,a,o){function s(e,r,i,a){var o,s,l,u,c,p,h;if(d)for(h=Array(r.length),u=0;uu;)s=h[f[u++]],r=f[u++],o=f[u++],r?(r.scope?(l=e.$new(),P.$$addScopeInfo(_n(s),l)):l=e,p=r.transcludeOnThisElement?U(e,r.transclude,a):!r.templateOnThisElement&&a?a:!a&&t?U(e,t):null,r(o,l,s,i,p)):o&&o(e,s.childNodes,n,a)}for(var l,u,c,p,d,f=[],h=0;hf;f++){var m=!1,g=!1;s=d[f],a=s.name,l=sr(s.value),s=Je(a),(c=pe.test(s))&&(a=a.replace(Yr,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()})),(s=s.match(de))&&B(s[1])&&(m=a,g=a.substr(0,a.length-5)+"end",a=a.substr(0,a.length-6)),s=Je(a.toLowerCase()),o[s]=a,!c&&n.hasOwnProperty(s)||(n[s]=l,Pe(e,s)&&(n[s]=!0)),Q(e,t,l,s,c),_(t,s,"A",r,i,m,g)}if(e=e.className,y(e)&&(e=e.animVal),x(e)&&""!==e)for(;a=p.exec(e);)s=Je(a[2]),_(t,s,"C",r,i)&&(n[s]=sr(a[3])),e=e.substr(a.index+a[0].length);break;case mr:if(11===Ln)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===mr;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);J(t,e.nodeValue);break;case 8:try{(a=u.exec(e.nodeValue))&&(s=Je(a[1]),_(t,s,"M",r,i)&&(n[s]=sr(a[2])))}catch($){}}return t.sort(G),t}function R(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Wr("uterdir",t,n);1==e.nodeType&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return _n(r)}function q(e,t,n){return function(r,i,a,o,s){return i=R(i[0],t,n),e(r,i,a,o,s)}}function H(e,r,i,a,s,l,u,c,p){function d(e,t,n,r){e&&(n&&(e=q(e,n,r)),e.require=g.require,e.directiveName=v,(O===g||g.$$isolateScope)&&(e=te(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=q(t,n,r)),t.require=g.require,t.directiveName=v,(O===g||g.$$isolateScope)&&(t=te(t,{isolateScope:!0})),c.push(t))}function f(e,t,n,r){var i;if(x(t)){var a=t.match($);t=t.substring(a[0].length);var o=a[1]||a[3],a="?"===a[2];if("^^"===o?n=n.parent():i=(i=r&&r[t])&&i.instance,i||(r="$"+t+"Controller",i=o?n.inheritedData(r):n.data(r)),!i&&!a)throw Wr("ctreq",t,e)}else if(ar(t))for(i=[],o=0,a=t.length;a>o;o++)i[o]=f(e,t[o],n,r);return i||null}function h(e,t,n,r,i,a){var o,s=ue();for(o in r){var l=r[o],u={$scope:l===O||l.$$isolateScope?i:a,$element:e,$attrs:t,$transclude:n},c=l.controller;"@"==c&&(c=t[l.name]),u=b(c,u,!0,l.controllerAs),s[l.name]=u,e.data("$"+l.name+"Controller",u.instance)}return s}function m(e,t,a,o,s){function l(e,t,r){var i;return T(e)||(r=t,t=e,e=n),V&&(i=g),r||(r=V?v.parent():v),s(e,t,i,r,C)}var p,d,m,g,$,v,b;r===a?(o=i,v=i.$$element):(v=_n(a),o=new oe(v,i)),m=t,O?d=t.$new(!0):S&&(m=t.$parent),s&&($=l,$.$$boundTransclude=s),M&&(g=h(v,o,$,M,d,t)),O&&(P.$$addScopeInfo(v,d,!0,!(E&&(E===O||E===O.$$originalDirective))),P.$$addScopeClass(v,!0),d.$$isolateBindings=O.$$isolateBindings,(b=ae(t,o,d,d.$$isolateBindings,O))&&d.$on("$destroy",b));for(var y in g){b=M[y];var w=g[y],x=b.$$bindings.bindToController;w.identifier&&x&&(p=ae(m,o,w.instance,x,b));var k=w();k!==w.instance&&(w.instance=k,v.data("$"+b.name+"Controller",k),p&&p(),p=ae(m,o,w.instance,x,b))}for(H=0,_=u.length;_>H;H++)p=u[H],re(p,p.isolateScope?d:t,v,o,p.require&&f(p.directiveName,p.require,v,g),$);var C=t;for(O&&(O.template||null===O.templateUrl)&&(C=d),e&&e(C,a.childNodes,n,s),H=c.length-1;H>=0;H--)p=c[H],re(p,p.isolateScope?d:t,v,o,p.require&&f(p.directiveName,p.require,v,g),$)}p=p||{};for(var g,v,w,k,C=-Number.MAX_VALUE,S=p.newScopeDirective,M=p.controllerDirectives,O=p.newIsolateScopeDirective,E=p.templateDirective,A=p.nonTlbTranscludeDirective,N=!1,I=!1,V=p.hasElementTranscludeDirective,U=i.$$element=_n(r),F=a,H=0,_=e.length;_>H;H++){g=e[H];var B=g.$$start,G=g.$$end;if(B&&(U=R(r,B,G)),w=n,C>g.priority)break;if((w=g.scope)&&(g.templateUrl||(y(w)?(K("new/isolated scope",O||S,g,U),O=g):K("new/isolated scope",O,g,U)),S=S||g),v=g.name,!g.templateUrl&&g.controller&&(w=g.controller,M=M||ue(),K("'"+v+"' controller",M[v],g,U),M[v]=g),(w=g.transclude)&&(N=!0,g.$$tlb||(K("transclusion",A,g,U),A=g),"element"==w?(V=!0,C=g.priority,w=U,U=i.$$element=_n(t.createComment(" "+v+": "+i[v]+" ")),r=U[0],ee(s,Jn.call(w,0),r),F=P(w,a,C,l&&l.name,{nonTlbTranscludeDirective:A})):(w=_n($e(r)).contents(),U.empty(),F=P(w,a,n,n,{needsNewScope:g.$$isolateScope||g.$$newScope}))),g.template)if(I=!0,K("template",E,g,U),E=g,w=D(g.template)?g.template(U,i):g.template,w=ce(w),g.replace){if(l=g,w=Cr.test(w)?Xe(Z(g.templateNamespace,sr(w))):[],r=w[0],1!=w.length||1!==r.nodeType)throw Wr("tplrt",v,"");ee(s,U,r),w={$attr:{}};var J=j(r,[],w),X=e.splice(H+1,e.length-(H+1));(O||S)&&L(J,O,S),e=e.concat(J).concat(X),W(i,w),_=e.length}else U.html(w);if(g.templateUrl)I=!0,K("template",E,g,U),E=g,g.replace&&(l=g),m=Y(e.splice(H,e.length-H),U,i,s,N&&F,u,c,{controllerDirectives:M,newScopeDirective:S!==g&&S,newIsolateScopeDirective:O,templateDirective:E,nonTlbTranscludeDirective:A}),_=e.length;else if(g.compile)try{k=g.compile(U,i,F),D(k)?d(null,k,B,G):k&&d(k.pre,k.post,B,G)}catch(Q){o(Q,z(U))}g.terminal&&(m.terminal=!0,C=Math.max(C,g.priority))}return m.scope=S&&!0===S.scope,m.transcludeOnThisElement=N,m.templateOnThisElement=I,m.transclude=F,p.hasElementTranscludeDirective=V,m}function L(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=f(e[r],{$$isolateScope:t,$$newScope:n})}function _(t,n,r,a,s,u,c){if(n===s)return null;if(s=null,l.hasOwnProperty(n)){var p;n=e.get(n+"Directive");for(var d=0,h=n.length;h>d;d++)try{if(p=n[d],(v(a)||a>p.priority)&&-1!=p.restrict.indexOf(r)){if(u&&(p=f(p,{$$start:u,$$end:c})),!p.$$bindings){var m=p,g=p,$=p.name,b={isolateScope:null,bindToController:null};if(y(g.scope)&&(!0===g.bindToController?(b.bindToController=i(g.scope,$,!0),b.isolateScope={}):b.isolateScope=i(g.scope,$,!1)),y(g.bindToController)&&(b.bindToController=i(g.bindToController,$,!0)),y(b.bindToController)){var w=g.controller,k=g.controllerAs;if(!w)throw Wr("noctrl",$);var C;e:{var g=w,D=k;if(D&&x(D))C=D;else{if(x(g)){var S=Kr.exec(g);if(S){C=S[3];break e}}C=void 0}}if(!C)throw Wr("noident",$)}var M=m.$$bindings=b;y(M.isolateScope)&&(p.$$isolateBindings=M.isolateScope)}t.push(p),s=p}}catch(T){o(T)}}return s}function B(t){if(l.hasOwnProperty(t))for(var n=e.get(t+"Directive"),r=0,i=n.length;i>r;r++)if(t=n[r],t.multiElement)return!0;return!1}function W(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;a(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),a(t,function(t,a){"class"==a?(A(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==a?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==a.charAt(0)||e.hasOwnProperty(a)||(e[a]=t,r[a]=n[a])})}function Y(e,t,n,r,i,o,l,u){var c,p,d=[],h=t[0],m=e.shift(),g=f(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),$=D(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,v=m.templateNamespace;return t.empty(),s($).then(function(s){var f,b;if(s=ce(s),m.replace){if(s=Cr.test(s)?Xe(Z(v,sr(s))):[],f=s[0],1!=s.length||1!==f.nodeType)throw Wr("tplrt",m.name,$);s={$attr:{}},ee(r,t,f);var w=j(f,[],s);y(m.scope)&&L(w,!0),e=w.concat(e),W(n,s); +}else f=h,t.html(s);for(e.unshift(g),c=H(e,f,n,i,t,m,o,l,u),a(r,function(e,n){e==f&&(r[n]=t[0])}),p=V(t[0].childNodes,i);d.length;){s=d.shift(),b=d.shift();var x=d.shift(),k=d.shift(),w=t[0];if(!s.$$destroyed){if(b!==h){var C=b.className;u.hasElementTranscludeDirective&&m.replace||(w=$e(f)),ee(x,_n(b),w),A(_n(w),C)}b=c.transcludeOnThisElement?U(s,c.transclude,k):k,c(p,s,w,r,b)}}d=null}),function(e,t,n,r,i){e=i,t.$$destroyed||(d?d.push(t,n,r,e):(c.transcludeOnThisElement&&(e=U(t,c.transclude,i)),c(p,t,n,r,e)))}}function G(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function X(e,t){if("srcdoc"==t)return S.HTML;var n=N(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function Q(e,t,n,i,a){var o=X(e,i);a=d[i]||a;var s=r(n,!0,o,a);if(s){if("multiple"===i&&"select"===N(e))throw Wr("selmulti",z(e));t.push({priority:100,compile:function(){return{pre:function(e,t,l){if(t=l.$$observers||(l.$$observers=ue()),w.test(i))throw Wr("nodomevents");var u=l[i];u!==n&&(s=u&&r(u,!0,o,a),n=u),s&&(l[i]=s(e),(t[i]||(t[i]=[])).$$inter=!0,(l.$$observers&&l.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?l.$updateClass(e,t):l.$set(i,e)}))}}}})}}function ee(e,n,r){var i,a,o=n[0],s=n.length,l=o.parentNode;if(e)for(i=0,a=e.length;a>i;i++)if(e[i]==o){e[i++]=r,a=i+s-1;for(var u=e.length;u>i;i++,a++)u>a?e[i]=e[a]:delete e[i];e.length-=s-1,e.context===o&&(e.context=r);break}for(l&&l.replaceChild(r,o),e=t.createDocumentFragment(),e.appendChild(o),_n.hasData(o)&&(_n.data(r,_n.data(o)),Bn?(ir=!0,Bn.cleanData([o])):delete _n.cache[o[_n.expando]]),o=1,s=n.length;s>o;o++)l=n[o],_n(l).remove(),e.appendChild(l),delete n[o];n[0]=r,n.length=1}function te(e,t){return c(function(){return e.apply(null,arguments)},e,t)}function re(e,t,n,r,i,a){try{e(t,n,r,i,a)}catch(s){o(s,z(n))}}function ae(e,t,n,i,o){var s=[];return a(i,function(i,a){var l,u,c,p,d=i.attrName,f=i.optional;switch(i.mode){case"@":f||Gn.call(t,d)||(n[a]=t[d]=void 0),t.$observe(d,function(e){x(e)&&(n[a]=e)}),t.$$observers[d].$$scope=e,l=t[d],x(l)?n[a]=r(l)(e):O(l)&&(n[a]=l);break;case"=":if(!Gn.call(t,d)){if(f)break;t[d]=void 0}if(f&&!t[d])break;u=g(t[d]),p=u.literal?F:function(e,t){return e===t||e!==e&&t!==t},c=u.assign||function(){throw l=n[a]=u(e),Wr("nonassign",t[d],d,o.name)},l=n[a]=u(e),f=function(t){return p(t,n[a])||(p(t,l)?c(e,t=n[a]):n[a]=t),l=t},f.$stateful=!0,f=i.collection?e.$watchCollection(t[d],f):e.$watch(g(t[d],f),null,u.literal),s.push(f);break;case"&":if(u=t.hasOwnProperty(d)?g(t[d]):h,u===h&&f)break;n[a]=function(t){return u(e,t)}}}),s.length&&function(){for(var e=0,t=s.length;t>e;++e)s[e]()}}var oe=function(e,t){if(t){var n,r,i,a=Object.keys(t);for(n=0,r=a.length;r>n;n++)i=a[n],this[i]=t[i]}else this.$attr={};this.$$element=e};oe.prototype={$normalize:Je,$addClass:function(e){e&&0c;c++)var p=2*c,i=i+E(sr(s[p]),!0),i=i+(" "+sr(s[p+1]));s=sr(s[2*c]).split(/\s/),i+=E(sr(s[0]),!0),2===s.length&&(i+=" "+sr(s[1])),this[e]=t=i}!1!==n&&(null===t||v(t)?this.$$element.removeAttr(r):this.$$element.attr(r,t)),(e=this.$$observers)&&a(e[l],function(e){try{e(t)}catch(n){o(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ue()),i=r[e]||(r[e]=[]);return i.push(t),k.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||v(n[e])||t(n[e])}),function(){I(i,t)}}};var se=r.startSymbol(),le=r.endSymbol(),ce="{{"==se&&"}}"==le?m:function(e){return e.replace(/\{\{/g,se).replace(/}}/g,le)},pe=/^ngAttr[A-Z]/,de=/^(.+)Start$/;return P.$$addBindingInfo=C?function(e,t){var n=e.data("$binding")||[];ar(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,P.$$addBindingClass=C?function(e){A(e,"ng-binding")}:h,P.$$addScopeInfo=C?function(e,t,n,r){e.data(n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:h,P.$$addScopeClass=C?function(e,t){A(e,t?"ng-isolate-scope":"ng-scope")}:h,P}]}function Je(e){return de(e.replace(Yr,""))}function Ze(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/),a=0;e:for(;a=t)return e;for(;t--;)8===e[t].nodeType&&Zn.call(e,t,1);return e}function Qe(){var e={},t=!1;this.register=function(t,n){oe(t,"controller"),y(t)?c(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(i,a){function o(e,t,n,i){if(!e||!y(e.$scope))throw r("$controller")("noscp",i,t);e.$scope[t]=n}return function(r,s,l,u){var p,d,f;if(l=!0===l,u&&x(u)&&(f=u),x(r)){if(u=r.match(Kr),!u)throw Gr("ctrlfmt",r);d=u[1],f=f||u[3],r=e.hasOwnProperty(d)?e[d]:se(s.$scope,d,!0)||(t?se(a,d,!0):n),ae(r,d,!0)}return l?(l=(ar(r)?r[r.length-1]:r).prototype,p=Object.create(l||null),f&&o(s,f,p,d||r.name),c(function(){var e=i.invoke(r,p,s,d);return e!==p&&(y(e)||D(e))&&(p=e,f&&o(s,f,p,d||r.name)),p},{instance:p,identifier:f})):(p=i.instantiate(r,s,d),f&&o(s,f,p,d||r.name),p)}}]}function et(){this.$get=["$window",function(e){return _n(e.document)}]}function tt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function nt(e){return y(e)?C(e)?e.toISOString():H(e):e}function rt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return o(e,function(e,n){null===e||v(e)||(ar(e)?a(e,function(e,r){t.push(J(n)+"="+J(nt(e)))}):t.push(J(n)+"="+J(nt(e))))}),t.join("&")}}}function it(){this.$get=function(){return function(e){function t(e,r,i){null===e||v(e)||(ar(e)?a(e,function(e,n){t(e,r+"["+(y(e)?n:"")+"]")}):y(e)&&!C(e)?o(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):n.push(J(r)+"="+J(nt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function at(e,t){if(x(e)){var n=e.replace(ti,"").trim();if(n){var r=t("Content-Type");(r=r&&0===r.indexOf(Zr))||(r=(r=n.match(Qr))&&ei[r[0]].test(n)),r&&(e=L(n))}}return e}function ot(e){var t,n=ue();return x(e)?a(e.split("\n"),function(e){t=e.indexOf(":");var r=Yn(sr(e.substr(0,t)));e=sr(e.substr(t+1)),r&&(n[r]=n[r]?n[r]+", "+e:e)}):y(e)&&a(e,function(e,t){var r=Yn(t),i=sr(e);r&&(n[r]=n[r]?n[r]+", "+i:i)}),n}function st(e){var t;return function(n){return t||(t=ot(e)),n?(n=t[Yn(n)],void 0===n&&(n=null),n):t}}function lt(e,t,n,r){return D(r)?r(e,t,n):(a(r,function(r){e=r(e,t,n)}),e)}function ut(){var e=this.defaults={transformResponse:[at],transformRequest:[function(e){return y(e)&&"[object File]"!==Qn.call(e)&&"[object Blob]"!==Qn.call(e)&&"[object FormData]"!==Qn.call(e)?H(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Xr),put:U(Xr),patch:U(Xr)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return b(e)?(t=!!e,this):t};var i=!0;this.useLegacyPromiseExtensions=function(e){return b(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(s,l,u,p,d,f){function h(t){function o(e){var t=c({},e);return t.data=lt(e.data,e.headers,e.status,l.transformResponse),e=e.status,e>=200&&300>e?t:d.reject(t)}function s(e,t){var n,r={};return a(e,function(e,i){D(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}if(!nr.isObject(t))throw r("$http")("badreq",t);if(!x(t.url))throw r("$http")("badreq",t.url);var l=c({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},t);l.headers=function(t){var n,r,i,a=e.headers,o=c({},t.headers),a=c({},a.common,a[Yn(t.method)]);e:for(n in a){r=Yn(n);for(i in o)if(Yn(i)===r)continue e;o[n]=a[n]}return s(o,U(t))}(t),l.method=Kn(l.method),l.paramSerializer=x(l.paramSerializer)?f.get(l.paramSerializer):l.paramSerializer;var u=[function(t){var r=t.headers,i=lt(t.data,st(r),n,t.transformRequest);return v(i)&&a(r,function(e,t){"content-type"===Yn(t)&&delete r[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),m(t,i).then(o,o)},n],p=d.when(l);for(a(w,function(e){(e.request||e.requestError)&&u.unshift(e.request,e.requestError),(e.response||e.responseError)&&u.push(e.response,e.responseError)});u.length;){t=u.shift();var h=u.shift(),p=p.then(t,h)}return i?(p.success=function(e){return ae(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,l)}),p},p.error=function(e){return ae(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,l)}),p}):(p.success=ri("success"),p.error=ri("error")),p}function m(r,i){function a(e,n,r,i){function a(){o(n,e,r,i)}f&&(e>=200&&300>e?f.put(C,[e,n,ot(r),i]):f.remove(C)),t?p.$applyAsync(a):(a(),p.$$phase||p.$apply())}function o(e,t,n,i){t=t>=-1?t:0,(t>=200&&300>t?w.resolve:w.reject)({data:e,status:t,headers:st(n),config:r,statusText:i})}function u(e){o(e.data,e.status,U(e.headers()),e.statusText)}function c(){var e=h.pendingRequests.indexOf(r);-1!==e&&h.pendingRequests.splice(e,1)}var f,m,w=d.defer(),x=w.promise,k=r.headers,C=g(r.url,r.paramSerializer(r.params));return h.pendingRequests.push(r),x.then(c,c),!r.cache&&!e.cache||!1===r.cache||"GET"!==r.method&&"JSONP"!==r.method||(f=y(r.cache)?r.cache:y(e.cache)?e.cache:$),f&&(m=f.get(C),b(m)?m&&D(m.then)?m.then(u,u):ar(m)?o(m[1],m[0],U(m[2]),m[3]):o(m,200,{},"OK"):f.put(C,x)),v(m)&&((m=sn(r.url)?l()[r.xsrfCookieName||e.xsrfCookieName]:n)&&(k[r.xsrfHeaderName||e.xsrfHeaderName]=m),s(r.method,C,i,a,k,r.timeout,r.withCredentials,r.responseType)),x}function g(e,t){return 00)var k=n(m,p);else p&&D(p.then)&&p.then(m)}}function ft(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function a(e){return"\\\\\\"+e}function o(n){return n.replace(p,e).replace(d,t)}function s(a,s,p,d){function f(e){try{var t=e;e=p?i.getTrusted(p,t):i.valueOf(t);var n;if(d&&!b(e))n=e;else if(null==e)n="";else{switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=H(e)}n=e}return n}catch(o){r(ii.interr(a,o))}}d=!!d;for(var h,m,g=0,$=[],y=[],w=a.length,x=[],k=[];w>g;){if(-1==(h=a.indexOf(e,g))||-1==(m=a.indexOf(t,h+l))){g!==w&&x.push(o(a.substring(g)));break}g!==h&&x.push(o(a.substring(g,h))),g=a.substring(h+l,m),$.push(g),y.push(n(g,f)),g=m+u,k.push(x.length),x.push("")}if(p&&1t;t++){if(d&&v(e[t]))return;x[k[t]]=e[t]}return x.join("")};return c(function(e){var t=0,n=$.length,i=Array(n);try{for(;n>t;t++)i[t]=y[t](e);return C(i)}catch(o){r(ii.interr(a,o))}},{exp:a,expressions:$,$$watchDelegate:function(e,t){var n;return e.$watchGroup(y,function(r,i){var a=C(r);D(t)&&t.call(this,a,r!==i?n:a,e),n=a})}})}}var l=e.length,u=t.length,p=new RegExp(e.replace(/./g,a),"g"),d=new RegExp(t.replace(/./g,a),"g");return s.startSymbol=function(){return e},s.endSymbol=function(){return t},s}]}function ht(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,r){function i(i,o,s,l){var u=40&&f>=s&&(m.resolve(f),d(g.$$intervalId),delete a[g.$$intervalId]),h||e.$apply()},o),a[g.$$intervalId]=m,g}var a={};return i.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},i}]}function mt(e){e=e.split("/");for(var t=e.length;t--;)e[t]=K(e[t]);return e.join("/")}function gt(e,t){var n=on(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=d(n.port)||oi[n.protocol]||null}function $t(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=on(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=Y(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function vt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function bt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function yt(e){return e.replace(/(#.+)|#$/,"$1")}function wt(e,t,n){this.$$html5=!0,n=n||"",gt(e,this),this.$$parse=function(e){var n=vt(t,e);if(!x(n))throw si("ipthprfx",e,t);$t(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=G(this.$$search),n=this.$$hash?"#"+K(this.$$hash):"";this.$$url=mt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var a,o;return b(a=vt(e,r))?(o=a,o=b(a=vt(n,a))?t+(vt("/",a)||a):e+o):b(a=vt(t,r))?o=t+a:t==r+"/"&&(o=t),o&&this.$$parse(o),!!o}}function xt(e,t,n){gt(e,this),this.$$parse=function(r){var i,a=vt(e,r)||vt(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?i=a:(i="",v(a)&&(e=r,this.replace())):(i=vt(n,a),v(i)&&(i=a)),$t(i,this),r=this.$$path;var a=e,o=/^\/[A-Z]:(\/.*)/;0===i.indexOf(a)&&(i=i.replace(a,"")),o.exec(i)||(r=(i=o.exec(r))?i[1]:r),this.$$path=r,this.$$compose()},this.$$compose=function(){var t=G(this.$$search),r=this.$$hash?"#"+K(this.$$hash):"";this.$$url=mt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return bt(e)==bt(t)?(this.$$parse(t),!0):!1}}function kt(e,t,n){this.$$html5=!0,xt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var a,o;return e==bt(r)?a=r:(o=vt(t,r))?a=e+n+o:t===r+"/"&&(a=t),a&&this.$$parse(a),!!a},this.$$compose=function(){var t=G(this.$$search),r=this.$$hash?"#"+K(this.$$hash):"";this.$$url=mt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Ct(e){return function(){return this[e]}}function Dt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function St(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return b(t)?(e=t,this):e},this.html5Mode=function(e){return O(e)?(t.enabled=e,this):y(e)?(O(e.enabled)&&(t.enabled=e.enabled),O(e.requireBase)&&(t.requireBase=e.requireBase),O(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,a,o){function s(e,t,n){var i=u.url(),a=u.$$state;try{r.url(e,t,n),u.$$state=r.state()}catch(o){throw u.url(i),u.$$state=a,o}}function l(e,t){n.$broadcast("$locationChangeSuccess",u.absUrl(),e,u.$$state,t)}var u,c;c=r.baseHref();var p,d=r.url();if(t.enabled){if(!c&&t.requireBase)throw si("nobase");p=d.substring(0,d.indexOf("/",d.indexOf("//")+2))+(c||"/"),c=i.history?wt:kt}else p=bt(d),c=xt;var f=p.substr(0,bt(p).lastIndexOf("/")+1);u=new c(p,f,"#"+e),u.$$parseLinkUrl(d,d),u.$$state=r.state();var h=/^\s*(javascript|mailto):/i;a.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=_n(e.target);"a"!==N(i[0]);)if(i[0]===a[0]||!(i=i.parent())[0])return;var s=i.prop("href"),l=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=on(s.animVal).href),h.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||!u.$$parseLinkUrl(s,l)||(e.preventDefault(),u.absUrl()!=r.url()&&(n.$apply(),o.angular["ff-684208-preventDefault"]=!0))}}),yt(u.absUrl())!=yt(d)&&r.url(u.absUrl(),!0);var m=!0;return r.onUrlChange(function(e,t){v(vt(f,e))?o.location.href=e:(n.$evalAsync(function(){var r,i=u.absUrl(),a=u.$$state;e=yt(e),u.$$parse(e),u.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,a).defaultPrevented,u.absUrl()===e&&(r?(u.$$parse(i),u.$$state=a,s(i,!1,a)):(m=!1,l(i,a)))}),n.$$phase||n.$digest())}),n.$watch(function(){var e=yt(r.url()),t=yt(u.absUrl()),a=r.state(),o=u.$$replace,c=e!==t||u.$$html5&&i.history&&a!==u.$$state;(m||c)&&(m=!1,n.$evalAsync(function(){var t=u.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,u.$$state,a).defaultPrevented;u.absUrl()===t&&(r?(u.$$parse(e),u.$$state=a):(c&&s(t,o,a===u.$$state?null:u.$$state),l(e,a)))})),u.$$replace=!1}),u}]}function Mt(){var e=!0,t=this;this.debugEnabled=function(t){return b(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||h;e=!1;try{e=!!i.apply}catch(o){}return e?function(){var e=[];return a(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Tt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw ui("isecfld",t);return e}function Ot(e,t){if(e+="",!x(e))throw ui("iseccst",t);return e}function Et(e,t){if(e){if(e.constructor===e)throw ui("isecfn",t);if(e.window===e)throw ui("isecwindow",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw ui("isecdom",t);if(e===Object)throw ui("isecobj",t)}return e}function At(e,t){if(e){if(e.constructor===e)throw ui("isecfn",t);if(e===ci||e===pi||e===di)throw ui("isecff",t)}}function Pt(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw ui("isecaf",t)}function Nt(e,t){return"undefined"!=typeof e?e:t}function It(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function Vt(e,t){var n,r;switch(e.type){case gi.Program:n=!0,a(e.body,function(e){Vt(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case gi.Literal:e.constant=!0,e.toWatch=[];break;case gi.UnaryExpression:Vt(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case gi.BinaryExpression:Vt(e.left,t),Vt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case gi.LogicalExpression:Vt(e.left,t),Vt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case gi.ConditionalExpression:Vt(e.test,t),Vt(e.alternate,t),Vt(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case gi.Identifier:e.constant=!1,e.toWatch=[e];break;case gi.MemberExpression:Vt(e.object,t),e.computed&&Vt(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case gi.CallExpression:n=e.filter?!t(e.callee.name).$stateful:!1,r=[],a(e.arguments,function(e){Vt(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&!t(e.callee.name).$stateful?r:[e];break;case gi.AssignmentExpression:Vt(e.left,t),Vt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case gi.ArrayExpression:n=!0,r=[],a(e.elements,function(e){Vt(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case gi.ObjectExpression:n=!0,r=[],a(e.properties,function(e){Vt(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case gi.ThisExpression:e.constant=!1,e.toWatch=[]}}function Ut(e){if(1==e.length){e=e[0].expression;var t=e.toWatch;return 1!==t.length?t:t[0]!==e?t:n}}function Ft(e){return e.type===gi.Identifier||e.type===gi.MemberExpression}function jt(e){return 1===e.body.length&&Ft(e.body[0].expression)?{type:gi.AssignmentExpression,left:e.body[0].expression,right:{type:gi.NGValueParameter},operator:"="}:void 0}function Rt(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===gi.Literal||e.body[0].expression.type===gi.ArrayExpression||e.body[0].expression.type===gi.ObjectExpression)}function qt(e,t){this.astBuilder=e,this.$filter=t}function Ht(e,t){this.astBuilder=e,this.$filter=t}function Lt(e){return"constructor"==e}function _t(e){return D(e.valueOf)?e.valueOf():vi.call(e)}function Bt(){var e=ue(),t=ue();this.$get=["$filter",function(r){function i(n,i,a){var s,f,v;switch(a=a||$,typeof n){case"string":v=n=n.trim();var b=a?t:e;if(s=b[v],!s){":"===n.charAt(0)&&":"===n.charAt(1)&&(f=!0,n=n.substring(2)),s=a?g:m;var y=new mi(s);s=new $i(y,r,s).parse(n),s.constant?s.$$watchDelegate=p:f?s.$$watchDelegate=s.literal?c:u:s.inputs&&(s.$$watchDelegate=l),a&&(s=o(s)),b[v]=s}return d(s,i);case"function":return d(n,i);default:return d(h,i)}}function o(e){function t(t,n,r,i){var a=$;$=!0;try{return e(t,n,r,i)}finally{$=a}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=o(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&nd;d++)c[d]=s,p[d]=null;return e.$watch(function(e){for(var t=!1,r=0,a=l.length;a>r;r++){var u=l[r](e);(t||(t=!s(u,c[r])))&&(p[r]=u,c[r]=u&&_t(u))}return t&&(o=i(e,n,n,p)),o},t,r,a)}function u(e,t,n,r){var i,a;return i=e.$watch(function(e){return r(e)},function(e,n,r){a=e,D(t)&&t.apply(this,arguments),b(e)&&r.$$postDigest(function(){b(a)&&i()})},n)}function c(e,t,n,r){function i(e){var t=!0;return a(e,function(e){b(e)||(t=!1)}),t}var o,s;return o=e.$watch(function(e){return r(e)},function(e,n,r){s=e,D(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&o()})},n)}function p(e,t,n,r){var i;return i=e.$watch(function(e){return r(e)},function(e,n,r){D(t)&&t.apply(this,arguments),i()},n)}function d(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,n=n!==c&&n!==u?function(n,i,a,o){return a=r&&o?o[0]:e(n,i,a,o),t(a,n,i)}:function(n,r,i,a){return i=e(n,r,i,a),n=t(i,n,r),b(i)?n:i};return e.$$watchDelegate&&e.$$watchDelegate!==l?n.$$watchDelegate=e.$$watchDelegate:t.$stateful||(n.$$watchDelegate=l,r=!e.inputs,n.inputs=e.inputs?e.inputs:[e]),n}var f=ur().noUnsafeEval,m={csp:f,expensiveChecks:!1},g={csp:f,expensiveChecks:!0},$=!1;return i.$$runningExpensiveChecks=function(){return $},i}]}function zt(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return Yt(function(t){e.$evalAsync(t)},t)}]}function Wt(){this.$get=["$browser","$exceptionHandler",function(e,t){return Yt(function(t){e.defer(t)},t)}]}function Yt(e,t){function i(e,t,n){function r(t){return function(n){i||(i=!0,t.call(e,n))}}var i=!1;return[r(t),r(n)]}function o(){this.$$state={status:0}}function s(e,t){return function(n){t.call(e,n)}}function l(r){!r.processScheduled&&r.pending&&(r.processScheduled=!0,e(function(){var e,i,a;a=r.pending,r.processScheduled=!1,r.pending=n;for(var o=0,s=a.length;s>o;++o){i=a[o][0],e=a[o][r.status];try{D(e)?i.resolve(e(r.value)):1===r.status?i.resolve(r.value):i.reject(r.value)}catch(l){i.reject(l),t(l)}}}))}function u(){this.promise=new o,this.resolve=s(this,this.resolve),this.reject=s(this,this.reject),this.notify=s(this,this.notify)}var p=r("$q",TypeError);c(o.prototype,{then:function(e,t,n){if(v(e)&&v(t)&&v(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),0=this.promise.$$state.status&&r&&r.length&&e(function(){for(var e,i,a=0,o=r.length;o>a;a++){i=r[a][0],e=r[a][3];try{i.notify(D(e)?e(n):n)}catch(s){t(s)}}})}});var d=function(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise},f=function(e,t,n){var r=null;try{D(n)&&(r=n())}catch(i){return d(i,!1)}return r&&D(r.then)?r.then(function(){return d(e,t)},function(e){return d(e,!1)}):d(e,t)},h=function(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)},m=function g(e){if(!D(e))throw p("norslvr",e);if(!(this instanceof g))return new g(e);var t=new u;return e(function(e){t.resolve(e)},function(e){t.reject(e)}),t.promise};return m.defer=function(){return new u},m.reject=function(e){var t=new u;return t.reject(e),t.promise},m.when=h,m.resolve=h,m.all=function(e){var t=new u,n=0,r=ar(e)?[]:{};return a(e,function(e,i){n++,h(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise},m}function Gt(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,a=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return a.supported=i,a}]}function Kt(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=++rr,this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),o=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,l,u,c){function p(e){e.currentScope.$$destroyed=!0}function d(e){9===Ln&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function f(){this.$id=++rr,this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(k.$$phase)throw n("inprog",k.$$phase);k.$$phase=e}function g(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function $(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function b(){}function w(){for(;M.length;)try{M.shift()()}catch(e){l(e)}s=null}function x(){null===s&&(s=c.defer(function(){k.$apply(w)}))}f.prototype={constructor:f,$new:function(t,n){var r;return n=n||this,t?(r=new f,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",p),r},$watch:function(e,t,n,r){var i=u(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var a=this,s=a.$$watchers,l={fn:t,last:b,get:i,exp:r||e,eq:!!n};return o=null,D(t)||(l.fn=h),s||(s=a.$$watchers=[]),s.unshift(l),g(this,1),function(){0<=I(s,l)&&g(a,-1),o=null}},$watchGroup:function(e,t){function n(){l=!1,u?(u=!1,t(i,i,s)):t(i,r,s)}var r=Array(e.length),i=Array(e.length),o=[],s=this,l=!1,u=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,a){i[0]=e,r[0]=n,t(i,e===n?i:r,a)}):(a(e,function(e,t){var a=s.$watch(e,function(e,a){i[t]=e,r[t]=a,l||(l=!0,s.$evalAsync(n))});o.push(a)}),function(){for(;o.length;)o.shift()()})},$watchCollection:function(e,t){function n(e){r=e;var t,n,o,s;if(!v(r)){if(y(r))if(i(r))for(a!==d&&(a=d,m=a.length=0,c++),e=r.length,m!==e&&(c++,a.length=m=e),t=0;e>t;t++)s=a[t],o=r[t],n=s!==s&&o!==o,n||s===o||(c++,a[t]=o);else{a!==f&&(a=f={},m=0,c++),e=0;for(t in r)Gn.call(r,t)&&(e++,o=r[t],s=a[t],t in a?(n=s!==s&&o!==o,n||s===o||(c++,a[t]=o)):(m++,a[t]=o,c++));if(m>e)for(t in c++,a)Gn.call(r,t)||(m--,delete a[t])}else a!==r&&(a=r,c++);return c}}n.$stateful=!0;var r,a,o,s=this,l=1v&&(g=4-v,y[g]||(y[g]=[]),y[g].push({msg:D(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:r,oldVal:i}))}catch(M){l(M)}if(!(p=h.$$watchersCount&&h.$$childHead||h!==this&&h.$$nextSibling))for(;h!==this&&!(p=h.$$nextSibling);)h=h.$parent}while(h=p);if((f||C.length)&&!v--)throw k.$$phase=null,n("infdig",t,y)}while(f||C.length);for(k.$$phase=null;S.length;)try{S.shift()()}catch(T){l(T)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===k&&c.$$applicationDestroyed(),g(this,-this.$$watchersCount);for(var t in this.$$listenerCount)$(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return u(e)(this,t)},$evalAsync:function(e,t){k.$$phase||C.length||c.defer(function(){C.length&&k.$digest()}),C.push({scope:this,expression:u(e),locals:t})},$$postDigest:function(e){S.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{k.$$phase=null}}catch(t){l(t)}finally{try{k.$digest()}catch(n){throw l(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&M.push(t),e=u(e),x()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,$(i,1,e))}},$emit:function(e,t){var n,r,i,a=[],o=this,s=!1,u={name:e,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=j([u],arguments,1);do{for(n=o.$$listeners[e]||a,u.currentScope=o,r=0,i=n.length;i>r;r++)if(n[r])try{n[r].apply(null,c)}catch(p){l(p)}else n.splice(r,1),r--,i--;if(s)return u.currentScope=null,u;o=o.$parent}while(o);return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=this,i={name:e,targetScope:this,preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return i;for(var a,o,s=j([i],arguments,1);n=r;){for(i.currentScope=n,r=n.$$listeners[e]||[],a=0,o=r.length;o>a;a++)if(r[a])try{r[a].apply(null,s)}catch(u){l(u)}else r.splice(a,1),a--,o--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return i.currentScope=null,i}};var k=new f,C=k.$$asyncQueue=[],S=k.$$postDigestQueue=[],M=k.$$applyAsyncQueue=[];return k}]}function Jt(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,a=r?t:e;return i=on(n).href,""===i||i.match(a)?n:"unsafe:"+i}}}function Zt(e){if("self"===e)return e;if(x(e)){if(-1l;l++)if(r(e[l],o)){c=!0;break}if(c)for(l=0,u=t.length;u>l;l++)if(r(t[l],o)){c=!1;break}if(c)return i;throw bi("insecurl",i.toString())}if(n===yi.HTML)return a(i);throw bi("unsafe")},valueOf:function(e){return e instanceof o?e.$$unwrapTrustedValue():e}}}]}function en(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Ln)throw bi("iequirks");var r=U(yi);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=m),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,o=r.getTrusted,s=r.trustAs;return a(yi,function(e,t){var n=Yn(t);r[de("parse_as_"+n)]=function(t){return i(e,t)},r[de("get_trusted_"+n)]=function(t){return o(e,t)},r[de("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function tn(){this.$get=["$window","$document",function(e,t){var n,r={},i=d((/android (\d+)/.exec(Yn((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),o=t[0]||{},s=/^(Moz|webkit|ms)(?=[A-Z])/,l=o.body&&o.body.style,u=!1,c=!1;if(l){for(var p in l)if(u=s.exec(p)){n=u[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),u=!!("transition"in l||n+"Transition"in l),c=!!("animation"in l||n+"Animation"in l),!i||u&&c||(u=x(l.webkitTransition),c=x(l.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>i||a),hasEvent:function(e){if("input"===e&&11>=Ln)return!1;if(v(r[e])){var t=o.createElement("div");r[e]="on"+e in t}return r[e]},csp:ur(),vendorPrefix:n,transitions:u,animations:c,android:i}}]}function nn(){this.$get=["$templateCache","$http","$q","$sce",function(e,t,n,r){function i(a,o){i.totalPendingRequests++,x(a)&&e.get(a)||(a=r.getTrustedResourceUrl(a));var s=t.defaults&&t.defaults.transformResponse;return ar(s)?s=s.filter(function(e){return e!==at}):s===at&&(s=null),t.get(a,{cache:e,transformResponse:s})["finally"](function(){i.totalPendingRequests--}).then(function(t){return e.put(a,t.data),t.data},function(e){if(!o)throw Wr("tpload",a,e.status,e.statusText);return n.reject(e)})}return i.totalPendingRequests=0,i}]}function rn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){return{findBindings:function(e,t,n){e=e.getElementsByClassName("ng-binding");var r=[];return a(e,function(e){var i=nr.element(e).data("$binding");i&&a(i,function(i){n?new RegExp("(^|\\s)"+lr(t)+"(\\s|\\||$)").test(i)&&r.push(e):-1!=i.indexOf(t)&&r.push(e)})}),r},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(l=t(a.substring(0,s)),v(r[l])&&(r[l]=t(a.substring(s+1))));return r}}function cn(){this.$get=un}function pn(e){function t(n,r){if(y(n)){var i={};return a(n,function(e,n){i[n]=t(n,e)}),i}return e.factory(n+"Filter",r)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",gn),t("date",Mn),t("filter",dn),t("json",Tn),t("limitTo",On),t("lowercase",Oi),t("number",$n),t("orderBy",En),t("uppercase",Ei)}function dn(){return function(e,t,n){if(!i(e)){if(null==e)return e;throw r("filter")("notarray",e)}var a;switch(mn(t)){case"function":break;case"boolean":case"null":case"number":case"string":a=!0;case"object":t=fn(t,n,a);break;default:return e}return Array.prototype.filter.call(e,t)}}function fn(e,t,n){var r=y(e)&&"$"in e;return!0===t?t=F:D(t)||(t=function(e,t){return v(e)?!1:null===e||null===t?e===t:y(t)||y(e)&&!$(e)?!1:(e=Yn(""+e),t=Yn(""+t),-1!==e.indexOf(t))}),function(i){return r&&!y(i)?hn(i,e.$,t,!1):hn(i,e,t,n)}}function hn(e,t,n,r,i){var a=mn(e),o=mn(t);if("string"===o&&"!"===t.charAt(0))return!hn(e,t.substring(1),n,r);if(ar(e))return e.some(function(e){return hn(e,t,n,r)});switch(a){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&hn(e[s],t,n,!0))return!0;return i?!1:hn(e,t,n,!1)}if("object"===o){for(s in t)if(i=t[s],!D(i)&&!v(i)&&(a="$"===s,!hn(a?e:e[s],i,n,a,a)))return!1;return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function mn(e){return null===e?"null":typeof e}function gn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:yn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function $n(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:yn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function vn(e){var t,n,r,i,a,o=0;for(-1<(n=e.indexOf(Ci))&&(e=e.replace(Ci,"")),0<(r=e.search(/e/i))?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==Di;r++);if(r==(a=e.length))t=[0],n=1;else{for(a--;e.charAt(a)==Di;)a--;for(n-=r,t=[],i=0;a>=r;r++,i++)t[i]=+e.charAt(r)}return n>ki&&(t=t.splice(0,ki-1),o=n-1,n=1),{d:t,e:o,i:n}}function bn(e,t,n,r){var i=e.d,a=i.length-e.i;if(t=v(t)?Math.min(Math.max(n,a),r):+t,n=t+e.i,r=i[n],n>0)i.splice(n);else{e.i=1,i.length=n=t+1;for(var o=0;n>o;o++)i[o]=0}for(r>=5&&i[n-1]++;t>a;a++)i.push(0);(t=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0))&&(i.unshift(t),e.i++)}function yn(e,t,n,r,i){if(!x(e)&&!k(e)||isNaN(e))return"";var a=!isFinite(e),o=!1,s=Math.abs(e)+"",l="";if(a)l="∞";else{for(o=vn(s),bn(o,i,t.minFrac,t.maxFrac),l=o.d,s=o.i,i=o.e,a=[],o=l.reduce(function(e,t){return e&&!t},!0);0>s;)l.unshift(0),s++;for(s>0?a=l.splice(s):(a=l,l=[0]),s=[],l.length>t.lgSize&&s.unshift(l.splice(-t.lgSize).join(""));l.length>t.gSize;)s.unshift(l.splice(-t.gSize).join(""));l.length&&s.unshift(l.join("")),l=s.join(n),a.length&&(l+=r+a.join("")),i&&(l+="e+"+i)}return 0>e&&!o?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function wn(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length0||i>-n)&&(i+=n),0===i&&-12==n&&(i=12),wn(i,t,r)}}function kn(e,t){return function(n,r){var i=n["get"+e](),a=Kn(t?"SHORT"+e:e);return r[a][i]}}function Cn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Dn(e){return function(t){var n=Cn(t.getFullYear());return t=+new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))-+n,t=1+Math.round(t/6048e5),wn(t,e)}}function Sn(e,t){return 0>=e.getFullYear()?t.ERAS[0]:t.ERAS[1]}function Mn(e){function t(e){var t;if(t=e.match(n)){e=new Date(0);var r=0,i=0,a=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=d(t[9]+t[10]),i=d(t[9]+t[11])),a.call(e,d(t[1]),d(t[2])-1,d(t[3])),r=d(t[4]||0)-r,i=d(t[5]||0)-i,a=d(t[6]||0),t=Math.round(1e3*parseFloat("0."+(t[7]||0))),o.call(e,r,i,a,t)}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var o,s,l="",u=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,x(n)&&(n=Ti.test(n)?d(n):t(n)),k(n)&&(n=new Date(n)),!C(n)||!isFinite(n.getTime()))return n;for(;r;)(s=Mi.exec(r))?(u=j(u,s,1),r=u.pop()):(u.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=_(i,c),n=B(n,i,!0)),a(u,function(t){o=Si[t],l+=o?o(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function Tn(){return function(e,t){return v(t)&&(t=2),H(e,t)}}function On(){return function(e,t,n){return t=1/0===Math.abs(Number(t))?Number(t):d(t),isNaN(t)?e:(k(e)&&(e=e.toString()),ar(e)||x(e)?(n=!n||isNaN(n)?0:d(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function En(e){function t(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=m;if(D(t))i=t;else if(x(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant)))var a=i(),i=function(e){return e[a]};return{get:i,descending:r*n}})}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}return function(e,r,a){if(!i(e))return e;ar(r)||(r=[r]),0===r.length&&(r=["+"]);var o=t(r,a);return o.push({get:function(){return{}},descending:a?-1:1}),e=Array.prototype.map.call(e,function(e,t){return{value:e,predicateValues:o.map(function(r){var i=r.get(e);return r=typeof i,null===i?(r="string",i="null"):"string"===r?i=i.toLowerCase():"object"===r&&("function"==typeof i.valueOf&&(i=i.valueOf(),n(i))||$(i)&&(i=i.toString(),n(i))||(i=t)),{value:i,type:r}})}}),e.sort(function(e,t){for(var n=0,r=0,i=o.length;i>r;++r){var n=e.predicateValues[r],a=t.predicateValues[r],s=0;if(n.type===a.type?n.value!==a.value&&(s=n.value15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",u),Wi[o]&&r.$$hasNativeValidators&&o===n.type&&t.on("keydown wheel mousedown",function(e){if(!l){var t=this.validity,n=t.badInput,r=t.typeMismatch;l=a.defer(function(){l=null,t.badInput===n&&t.typeMismatch===r||u(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function Vn(e,t){return function(n,r){var i,o;if(C(n))return n;if(x(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Fi.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},a(i,function(e,n){n=g},s.$observe("min",function(e){g=f(e),l.$validate()})}if(b(s.max)||s.ngMax){var $;l.$validators.max=function(e){return!d(e)||v($)||r(e)<=$},s.$observe("max",function(e){$=f(e),l.$validate()})}}}function Fn(e,t,r,i){(i.$$hasNativeValidators=y(t[0].validity))&&i.$parsers.push(function(e){var r=t.prop("validity")||{};return r.badInput&&!r.typeMismatch?n:e})}function jn(e,t,n,r,i){if(b(r)){if(e=e(r),!e.constant)throw va("constexpr",n,r);return e(t)}return i}function Rn(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[],r=0;e:for(;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function c(e){if(!0===t||o.$index%2===t){var a=i(e||[]);if(p){if(!F(e,p)){var c=i(p),d=r(a,c),a=r(c,a),d=u(d,1),a=u(a,-1);d&&d.length&&n.addClass(s,d),a&&a.length&&n.removeClass(s,a)}}else{var d=u(a,1);l.$addClass(d)}}p=U(e)}var p;o.$watch(l[e],c,!0),l.$observe("class",function(t){c(o.$eval(l[e]))}),"ngClass"!==e&&o.$watch("$index",function(n,r){var a=1&n;if(a!==(1&r)){var s=i(o.$eval(l[e]));a===t?(a=u(s,1),l.$addClass(a)):(a=u(s,-1),l.$removeClass(a))}})}}}]}function qn(e){function t(e,t){t&&!o[e]?(u.addClass(a,e),o[e]=!0):!t&&o[e]&&(u.removeClass(a,e),o[e]=!1)}function r(e,n){e=e?"-"+ne(e,"-"):"",t(fa+e,!0===n),t(ha+e,!1===n)}var i=e.ctrl,a=e.$element,o={},s=e.set,l=e.unset,u=e.$animate;o[ha]=!(o[fa]=a.hasClass(fa)),i.$setValidity=function(e,a,o){v(a)?(i.$pending||(i.$pending={}),s(i.$pending,e,o)):(i.$pending&&l(i.$pending,e,o),Hn(i.$pending)&&(i.$pending=n)),O(a)?a?(l(i.$error,e,o),s(i.$$success,e,o)):(s(i.$error,e,o),l(i.$$success,e,o)):(l(i.$error,e,o),l(i.$$success,e,o)),i.$pending?(t($a,!0),i.$valid=i.$invalid=n,r("",null)):(t($a,!1),i.$valid=Hn(i.$error),i.$invalid=!i.$valid,r("",i.$valid)),a=i.$pending&&i.$pending[e]?n:i.$error[e]?!1:i.$$success[e]?!0:null,r(e,a),i.$$parentForm.$setValidity(e,a,i)}}function Hn(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Ln,_n,Bn,zn,Wn=/^\/(.+)\/([a-z]*)$/,Yn=function(e){return x(e)?e.toLowerCase():e},Gn=Object.prototype.hasOwnProperty,Kn=function(e){return x(e)?e.toUpperCase():e},Jn=[].slice,Zn=[].splice,Xn=[].push,Qn=Object.prototype.toString,er=Object.getPrototypeOf,tr=r("ng"),nr=e.angular||(e.angular={}),rr=0;Ln=t.documentMode,h.$inject=[],m.$inject=[];var ir,ar=Array.isArray,or=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,sr=function(e){return x(e)?e.trim():e},lr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=dr[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return cr.name_=i},pr=/:/g,dr=["ng-","data-ng-","ng:","x-ng-"],fr=/[A-Z]/g,hr=!1,mr=3,gr={full:"1.4.10",major:1,minor:4,dot:10,codeName:"benignant-oscillation"};ge.expando="ng339";var $r=ge.cache={},vr=1;ge._data=function(e){return this.cache[e[this.expando]]||{}};var br=/([\:\-\_]+(.))/g,yr=/^moz([A-Z])/,wr={mouseleave:"mouseout",mouseenter:"mouseover"},xr=r("jqLite"),kr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Cr=/<|&#?\w+;/,Dr=/<([\w:-]+)/,Sr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Mr={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Mr.optgroup=Mr.option,Mr.tbody=Mr.tfoot=Mr.colgroup=Mr.caption=Mr.thead,Mr.th=Mr.td;var Tr=Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Or=ge.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),ge(e).on("load",r))},toString:function(){var e=[];return a(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return _n(e>=0?this[e]:this[this.length+e])},length:0,push:Xn,sort:[].sort,splice:[].splice},Er={};a("multiple selected checked disabled readOnly required open".split(" "),function(e){Er[Yn(e)]=e});var Ar={};a("input select option textarea button form details".split(" "),function(e){Ar[e]=!0});var Pr={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};a({data:xe,removeData:ye,hasData:function(e){for(var t in $r[e.ng339])return!0;return!1}},function(e,t){ge[t]=e}),a({data:xe,inheritedData:Te,scope:function(e){return _n.data(e,"$scope")||Te(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return _n.data(e,"$isolateScope")||_n.data(e,"$isolateScopeNoTemplate")},controller:Me,injector:function(e){return Te(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:ke,css:function(e,t,n){return t=de(t),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==mr&&2!==i&&8!==i)if(i=Yn(t),Er[i]){if(!b(r))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:n;r?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(b(r))e.setAttribute(t,r);else if(e.getAttribute)return e=e.getAttribute(t,2),null===e?n:e},prop:function(e,t,n){return b(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return 1===n||n===mr?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===N(e)){var n=[];return a(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(ve(e,!0),void(e.innerHTML=t))},empty:Oe},function(e,t){ge.prototype[t]=function(t,n){var r,i,a=this.length;if(e!==Oe&&v(2==e.length&&e!==ke&&e!==Me?t:n)){if(y(t)){for(r=0;a>r;r++)if(e===xe)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(r=e.$dv,a=v(r)?Math.min(a,1):a,i=0;a>i;i++){var o=e(this[i],t,n);r=r?r+o:o}return r}for(r=0;a>r;r++)e(this[r],t,n);return this}}),a({removeData:ye,on:function(e,t,r,i){if(b(i))throw xr("onargs");if(fe(e)){i=we(e,!0);var a=i.events,o=i.handle;o||(o=i.handle=Ne(e,a)),i=0<=t.indexOf(" ")?t.split(" "):[t];for(var s=i.length,l=function(t,n,i){var s=a[t];s||(s=a[t]=[],s.specialHandlerWrapper=n,"$destroy"===t||i||e.addEventListener(t,o,!1)),s.push(r)};s--;)t=i[s],wr[t]?(l(wr[t],Ve),l(t,n,!0)):l(t)}},off:be,one:function(e,t,n){e=_n(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;ve(e),a(new ge(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return a(e.childNodes,function(e){1===e.nodeType&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(1===n||11===n){t=new ge(t);for(var n=0,r=t.length;r>n;n++)e.appendChild(t[n])}},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;a(new ge(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){me(e,_n(t).eq(0).clone()[0])},remove:Ee,detach:function(e){Ee(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new ge(t);for(var i=0,a=t.length;a>i;i++){var o=t[i];r.insertBefore(o,n.nextSibling),n=o}},addClass:De,removeClass:Ce,toggleClass:function(e,t,n){t&&a(t.split(" "),function(t){var r=n;v(r)&&(r=!ke(e,t)),(r?De:Ce)(e,t)})},parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:$e,triggerHandler:function(e,t,n){var r,i,o=t.type||t,s=we(e);(s=(s=s&&s.events)&&s[o])&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:h,type:o,target:e},t.type&&(r=c(r,t)),t=U(s),i=n?[r].concat(n):[r],a(t,function(t){r.isImmediatePropagationStopped()||t.apply(e,i)}))}},function(e,t){ge.prototype[t]=function(t,n,r){for(var i,a=0,o=this.length;o>a;a++)v(i)?(i=e(this[a],t,n,r),b(i)&&(i=_n(i))):Se(i,e(this[a],t,n,r));return b(i)?i:this},ge.prototype.bind=ge.prototype.on,ge.prototype.unbind=ge.prototype.off}),je.prototype={put:function(e,t){this[Fe(e,this.nextUid)]=t},get:function(e){return this[Fe(e,this.nextUid)]},remove:function(e){var t=this[e=Fe(e,this.nextUid)];return delete this[e],t}};var Nr=[function(){this.$get=[function(){return je}]}],Ir=/^[^\(]*\(\s*([^\)]*)\)/m,Vr=/,/,Ur=/^\s*(_?)(\S+?)\1\s*$/,Fr=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,jr=r("$injector");qe.$$annotate=function(e,t,n){var r;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw x(n)&&n||(n=e.name||Re(e)),jr("strictdi",n);t=e.toString().replace(Fr,""),t=t.match(Ir),a(t[1].split(Vr),function(e){e.replace(Ur,function(e,t,n){r.push(n)})})}e.$inject=r}}else ar(e)?(t=e.length-1,ae(e[t],"fn"),r=e.slice(0,t)):ae(e,"fn",!0);return r};var Rr=r("$animate"),qr=function(){this.$get=function(){}},Hr=function(){var e=new je,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=x(t)?t.split(" "):ar(t)?t:[],a(t,function(t){t&&(r=!0,e[t]=n)})),r}function o(){a(t,function(t){var n=e.get(t);if(n){var r=_e(t.attr("class")),i="",o="";a(n,function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:o+=(o.length?" ":"")+t)}),a(t,function(e){i&&De(e,i),o&&Ce(e,o)}),e.remove(t)}}),t.length=0}return{enabled:h,on:h,off:h,pin:h,push:function(a,s,l,u){return u&&u(),l=l||{},l.from&&a.css(l.from),l.to&&a.css(l.to),(l.addClass||l.removeClass)&&(s=l.addClass,u=l.removeClass,l=e.get(a)||{},s=i(l,s,!0),u=i(l,u,!1),(s||u)&&(e.put(a,l),t.push(a),1===t.length&&r.$$postDigest(o))),a=new n,a.complete(),a}}}]},Lr=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Rr("notcsel",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null)&&/(\s+|\/)ng-animate(\s+|\/)/.test(this.$$classNameFilter.toString()))throw Rr("nongcls","ng-animate");return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r;e:{for(r=0;r <= >= && || ! = |".split(" "),function(e){fi[e]=!0});var hi={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},mi=function(e){this.options=e};mi.prototype={constructor:mi,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){throw n=n||this.index,t=b(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n,ui("lexerr",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index","<=",">=");)t={type:gi.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:gi.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:gi.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:gi.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.constants.hasOwnProperty(this.peek().text)?e=V(this.constants[this.consume().text]):this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:gi.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:gi.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:gi.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){e=[e];for(var t={type:gi.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return t},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:gi.Identifier,name:e.text}},constant:function(){return{type:gi.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:gi.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:gi.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:gi.ObjectExpression,properties:t}},throwError:function(e,t){throw ui("syntax",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw ui("ueoe",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw ui("ueoe",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){e=this.tokens[e];var a=e.text;if(a===t||a===n||a===r||a===i||!(t||n||r||i))return e}return!1},expect:function(e,t,n,r){return(e=this.peek(e,t,n,r))?(this.tokens.shift(),e):!1},constants:{"true":{type:gi.Literal,value:!0},"false":{type:gi.Literal,value:!1},"null":{type:gi.Literal,value:null},undefined:{type:gi.Literal,value:n},"this":{type:gi.ThisExpression}}},qt.prototype={compile:function(e,t){var r=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Vt(i,r.$filter);var o,s="";return this.stage="assign",(o=jt(i))&&(this.state.computing="assign",s=this.nextId(),this.recurse(o,s),this.return_(s),s="fn.assign="+this.generateFunction("assign","s,v,l")),o=Ut(i.body),r.stage="inputs",a(o,function(e,t){var n="fn"+t;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(e,i),r.return_(i),r.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i),s='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+s+this.watchFns()+"return fn;",s=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",s)(this.$filter,Tt,Et,At,Ot,Pt,Nt,It,e),this.state=this.stage=n,s.literal=Rt(i),s.constant=i.constant,s},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return a(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return a(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,r,i,o,s){var l,u,c,p,d=this;if(i=i||h,!s&&b(e.watchId))t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,r,i,o,!0));else switch(e.type){case gi.Program:a(e.body,function(t,r){d.recurse(t.expression,n,n,function(e){u=e}),r!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case gi.Literal:p=this.escape(e.value),this.assign(t,p),i(p);break;case gi.UnaryExpression:this.recurse(e.argument,n,n,function(e){u=e}),p=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,p),i(p);break;case gi.BinaryExpression:this.recurse(e.left,n,n,function(e){l=e}),this.recurse(e.right,n,n,function(e){u=e}),p="+"===e.operator?this.plus(l,u):"-"===e.operator?this.ifDefined(l,0)+e.operator+this.ifDefined(u,0):"("+l+")"+e.operator+"("+u+")",this.assign(t,p),i(p);break;case gi.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),i(t);break;case gi.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),i(t);break;case gi.Identifier:t=t||this.nextId(),r&&(r.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),r.computed=!1,r.name=e.name),Tt(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.not(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),(d.state.expensiveChecks||Lt(e.name))&&d.addEnsureSafeObject(t),i(t);break;case gi.MemberExpression:l=r&&(r.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,l,n,function(){d.if_(d.notNull(l),function(){o&&1!==o&&d.addEnsureSafeAssignContext(l),e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),d.addEnsureSafeMemberName(u),o&&1!==o&&d.if_(d.not(d.computedMember(l,u)),d.lazyAssign(d.computedMember(l,u),"{}")),p=d.ensureSafeObject(d.computedMember(l,u)),d.assign(t,p),r&&(r.computed=!0,r.name=u)):(Tt(e.property.name),o&&1!==o&&d.if_(d.not(d.nonComputedMember(l,e.property.name)),d.lazyAssign(d.nonComputedMember(l,e.property.name),"{}")),p=d.nonComputedMember(l,e.property.name),(d.state.expensiveChecks||Lt(e.property.name))&&(p=d.ensureSafeObject(p)),d.assign(t,p),r&&(r.computed=!1,r.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case gi.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),c=[],a(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),c.push(t)}),p=u+"("+c.join(",")+")",d.assign(t,p),i(t)):(u=d.nextId(),l={},c=[],d.recurse(e.callee,u,l,function(){d.if_(d.notNull(u),function(){d.addEnsureSafeFunction(u),a(e.arguments,function(e){d.recurse(e,d.nextId(),n,function(e){c.push(d.ensureSafeObject(e))})}),l.name?(d.state.expensiveChecks||d.addEnsureSafeObject(l.context),p=d.member(l.context,l.name,l.computed)+"("+c.join(",")+")"):p=u+"("+c.join(",")+")",p=d.ensureSafeObject(p),d.assign(t,p)},function(){d.assign(t,"undefined")}),i(t)}));break;case gi.AssignmentExpression:if(u=this.nextId(),l={},!Ft(e.left))throw ui("lval");this.recurse(e.left,n,l,function(){d.if_(d.notNull(l.context),function(){d.recurse(e.right,u),d.addEnsureSafeObject(d.member(l.context,l.name,l.computed)),d.addEnsureSafeAssignContext(l.context),p=d.member(l.context,l.name,l.computed)+e.operator+u,d.assign(t,p),i(t||p)})},1);break;case gi.ArrayExpression:c=[],a(e.elements,function(e){d.recurse(e,d.nextId(),n,function(e){c.push(e)})}),p="["+c.join(",")+"]",this.assign(t,p),i(p);break;case gi.ObjectExpression:c=[],a(e.properties,function(e){d.recurse(e.value,d.nextId(),n,function(t){c.push(d.escape(e.key.type===gi.Identifier?e.key.name:""+e.key.value)+":"+t)})}),p="{"+c.join(",")+"}",this.assign(t,p),i(p);break;case gi.ThisExpression:this.assign(t,"s"),i("s");break;case gi.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return e+"."+t},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+",text)")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,a){var o=this;return function(){o.recurse(e,t,n,r,i,a)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(x(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(k(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw ui("esc")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},Ht.prototype={compile:function(e,t){var n=this,r=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,Vt(r,n.$filter);var i,o;(i=jt(r))&&(o=this.recurse(i)),i=Ut(r.body);var s;i&&(s=[],a(i,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];return a(r.body,function(e){l.push(n.recurse(e.expression))}),i=0===r.body.length?function(){}:1===r.body.length?l[0]:function(e,t){var n;return a(l,function(r){n=r(e,t)}),n},o&&(i.assign=function(e,t,n){return o(e,n,t)}),s&&(i.inputs=s),i.literal=Rt(r),i.constant=r.constant,i},recurse:function(e,t,r){var i,o,s,l=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case gi.Literal:return this.value(e.value,t);case gi.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case gi.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case gi.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case gi.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case gi.Identifier:return Tt(e.name,l.expression),l.identifier(e.name,l.expensiveChecks||Lt(e.name),t,r,l.expression);case gi.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Tt(e.property.name,l.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,r,l.expression):this.nonComputedMember(i,o,l.expensiveChecks,t,r,l.expression);case gi.CallExpression:return s=[],a(e.arguments,function(e){s.push(l.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,r,i,a){for(var l=[],u=0;u":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)>t(r,i,a,o),n?{value:r}:r}},"binary<=":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)<=t(r,i,a,o),n?{value:r}:r}},"binary>=":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)>=t(r,i,a,o),n?{value:r}:r}},"binary&&":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)&&t(r,i,a,o),n?{value:r}:r}},"binary||":function(e,t,n){return function(r,i,a,o){return r=e(r,i,a,o)||t(r,i,a,o),n?{value:r}:r}},"ternary?:":function(e,t,n,r){return function(i,a,o,s){return i=e(i,a,o,s)?t(i,a,o,s):n(i,a,o,s),r?{value:i}:i}},value:function(e,t){return function(){return t?{context:n,name:n,value:e}:e}},identifier:function(e,t,r,i,a){return function(o,s,l,u){return o=s&&e in s?s:o,i&&1!==i&&o&&!o[e]&&(o[e]={}),s=o?o[e]:n,t&&Et(s,a),r?{context:o,name:e,value:s}:s}},computedMember:function(e,t,n,r,i){return function(a,o,s,l){var u,c,p=e(a,o,s,l);return null!=p&&(u=t(a,o,s,l),u=Ot(u),Tt(u,i),r&&1!==r&&(Pt(p),p&&!p[u]&&(p[u]={})),c=p[u],Et(c,i)),n?{context:p,name:u,value:c}:c}},nonComputedMember:function(e,t,r,i,a,o){return function(s,l,u,c){return s=e(s,l,u,c),a&&1!==a&&(Pt(s),s&&!s[t]&&(s[t]={})),l=null!=s?s[t]:n,(r||Lt(t))&&Et(l,o),i?{context:s,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,a){return a?a[t]:e(n,r,i)}}};var $i=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new gi(this.lexer),this.astCompiler=n.csp?new Ht(this.ast,t):new qt(this.ast,t)};$i.prototype={constructor:$i,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var vi=Object.prototype.valueOf,bi=r("$sce"),yi={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Wr=r("$compile"),wi=t.createElement("a"),xi=on(e.location.href);un.$inject=["$document"],pn.$inject=["$provide"];var ki=22,Ci=".",Di="0";gn.$inject=["$locale"],$n.$inject=["$locale"];var Si={yyyy:xn("FullYear",4),yy:xn("FullYear",2,0,!0),y:xn("FullYear",1),MMMM:kn("Month"),MMM:kn("Month",!0),MM:xn("Month",2,1),M:xn("Month",1,1),dd:xn("Date",2),d:xn("Date",1),HH:xn("Hours",2),H:xn("Hours",1),hh:xn("Hours",2,-12),h:xn("Hours",1,-12),mm:xn("Minutes",2),m:xn("Minutes",1),ss:xn("Seconds",2),s:xn("Seconds",1),sss:xn("Milliseconds",3),EEEE:kn("Day"),EEE:kn("Day",!0),a:function(e,t){return 12>e.getHours()?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){return e=-1*n,e=(e>=0?"+":"")+(wn(Math[e>0?"floor":"ceil"](e/60),2)+wn(Math.abs(e%60),2))},ww:Dn(2),w:Dn(1),G:Sn,GG:Sn,GGG:Sn,GGGG:function(e,t){return 0>=e.getFullYear()?t.ERANAMES[0]:t.ERANAMES[1]}},Mi=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Ti=/^\-?\d+$/;Mn.$inject=["$locale"];var Oi=g(Yn),Ei=g(Kn);En.$inject=["$parse"];var Ai=g({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Qn.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Pi={};a(Er,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=Je("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Pi[r]=function(){return{restrict:"A",priority:100,link:i}}}}),a(Pr,function(e,t){Pi[t]=function(){return{priority:100,link:function(e,n,r){return"ngPattern"===t&&"/"==r.ngPattern.charAt(0)&&(n=r.ngPattern.match(Wn))?void r.$set("ngPattern",new RegExp(n[1],n[2])):void e.$watch(r[t],function(e){r.$set(t,e)})}}}}),a(["src","srcset","href"],function(e){var t=Je("ng-"+e);Pi[t]=function(){return{priority:99,link:function(n,r,i){var a=e,o=e;"href"===e&&"[object SVGAnimatedString]"===Qn.call(r.prop("href"))&&(o="xlinkHref",i.$attr[o]="xlink:href",a=null),i.$observe(t,function(t){t?(i.$set(o,t),Ln&&a&&r.prop(a,i[o])):"href"===e&&i.$set(o,null)})}}}});var Ni={$addControl:h,$$renameControl:function(e,t){e.$name=t},$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h};Pn.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Ii=function(e){return["$timeout","$parse",function(t,r){function i(e){return""===e?r('this[""]').assign:r(e).assign||h}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Pn,compile:function(r,a){r.addClass(ma).addClass(fa);var o=a.name?"name":e&&a.ngForm?"ngForm":!1;return{pre:function(e,r,a,s){var l=s[0];if(!("action"in a)){var u=function(t){e.$apply(function(){l.$commitViewValue(),l.$setSubmitted()}),t.preventDefault()};r[0].addEventListener("submit",u,!1),r.on("$destroy",function(){t(function(){r[0].removeEventListener("submit",u,!1)},0,!1)})}(s[1]||l.$$parentForm).$addControl(l);var p=o?i(l.$name):h;o&&(p(e,l),a.$observe(o,function(t){l.$name!==t&&(p(e,n),l.$$parentForm.$$renameControl(l,t),(p=i(l.$name))(e,l))})),r.on("$destroy",function(){l.$$parentForm.$removeControl(l),p(e,n),c(l,Ni)})}}}}}]},Vi=Ii(),Ui=Ii(!0),Fi=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,ji=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ri=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,qi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Hi=/^(\d{4})-(\d{2})-(\d{2})$/,Li=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,_i=/^(\d{4})-W(\d\d)$/,Bi=/^(\d{4})-(\d\d)$/,zi=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Wi=ue();a(["date","datetime-local","month","time","week"],function(e){Wi[e]=!0});var Yi={text:function(e,t,n,r,i,a){In(e,t,n,r,i,a),Nn(r)},date:Un("date",Hi,Vn(Hi,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Un("datetimelocal",Li,Vn(Li,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:Un("time",zi,Vn(zi,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Un("week",_i,function(e,t){if(C(e))return e;if(x(e)){_i.lastIndex=0;var n=_i.exec(e);if(n){var r=+n[1],i=+n[2],a=n=0,o=0,s=0,l=Cn(r),i=7*(i-1);return t&&(n=t.getHours(),a=t.getMinutes(),o=t.getSeconds(),s=t.getMilliseconds()),new Date(r,0,l.getDate()+i,n,a,o,s)}}return NaN},"yyyy-Www"),month:Un("month",Bi,Vn(Bi,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,r,i,a,o){if(Fn(e,t,r,i),In(e,t,r,i,a,o),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:qi.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!k(e))throw va("numfmt",e);e=e.toString()}return e}),b(r.min)||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||v(s)||e>=s},r.$observe("min",function(e){b(e)&&!k(e)&&(e=parseFloat(e,10)),s=k(e)&&!isNaN(e)?e:n,i.$validate()})}if(b(r.max)||r.ngMax){var l;i.$validators.max=function(e){return i.$isEmpty(e)||v(l)||l>=e},r.$observe("max",function(e){b(e)&&!k(e)&&(e=parseFloat(e,10)),l=k(e)&&!isNaN(e)?e:n,i.$validate()})}},url:function(e,t,n,r,i,a){In(e,t,n,r,i,a),Nn(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||ji.test(n)}},email:function(e,t,n,r,i,a){In(e,t,n,r,i,a),Nn(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Ri.test(n)}},radio:function(e,t,n,r){v(n.name)&&t.attr("name",++rr),t.on("click",function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)}),r.$render=function(){t[0].checked=n.value==r.$viewValue},n.$observe("value",r.$render)},checkbox:function(e,t,n,r,i,a,o,s){var l=jn(s,e,"ngTrueValue",n.ngTrueValue,!0),u=jn(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("click",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return F(e,l)}),r.$parsers.push(function(e){return e?l:u})},hidden:h,button:h,submit:h,reset:h,file:h},Gi=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,a,o,s){s[0]&&(Yi[Yn(o.type)]||Yi.text)(i,a,o,s[0],t,e,n,r)}}}}],Ki=/^(true|false|\d+)$/,Ji=function(){return{restrict:"A",priority:100,compile:function(e,t){return Ki.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Zi=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],Xi=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){n=e(r.attr(i.$attr.ngBindTemplate)),t.$$addBindingInfo(r,n.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){ +r.textContent=v(e)?"":e})}}}}],Qi=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var a=t(i.ngBindHtml),o=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(o,function(){r.html(e.getTrustedHtml(a(t))||"")})}}}}],ea=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ta=Rn("",!0),na=Rn("Odd",0),ra=Rn("Even",1),ia=An({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),aa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],oa={},sa={blur:!0,focus:!0};a("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Je("ng-"+e);oa[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,a){var o=n(a[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){o(t,{$event:n})};sa[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var la=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,a,o){var s,l,u;n.$watch(i.ngIf,function(n){n?l||o(function(n,a){l=a,n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)}):(u&&(u.remove(),u=null),l&&(l.$destroy(),l=null),s&&(u=le(s.clone),e.leave(u).then(function(){u=null}),s=null))})}}}],ua=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:nr.noop,compile:function(r,i){var a=i.ngInclude||i.src,o=i.onload||"",s=i.autoscroll;return function(r,i,l,u,c){var p,d,f,h=0,m=function(){d&&(d.remove(),d=null),p&&(p.$destroy(),p=null),f&&(n.leave(f).then(function(){d=null}),d=f,f=null)};r.$watch(a,function(a){var l=function(){!b(s)||s&&!r.$eval(s)||t()},d=++h;a?(e(a,!0).then(function(e){if(!r.$$destroyed&&d===h){var t=r.$new();u.template=e,e=c(t,function(e){m(),n.enter(e,null,i).then(l)}),p=t,f=e,p.$emit("$includeContentLoaded",a),r.$eval(o)}},function(){r.$$destroyed||d!==h||(m(),r.$emit("$includeContentError",a))}),r.$emit("$includeContentRequested",a)):(m(),u.template=null)})}}}}],ca=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,a){/SVG/.test(r[0].toString())?(r.empty(),e(he(a.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(a.template),e(r.contents())(n))}}}],pa=An({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),da=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var o=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,l=s?sr(o):o;i.$parsers.push(function(e){if(!v(e)){var t=[];return e&&a(e.split(l),function(e){e&&t.push(s?sr(e):e)}),t}}),i.$formatters.push(function(e){return ar(e)?e.join(o):n}),i.$isEmpty=function(e){return!e||!e.length}}}},fa="ng-valid",ha="ng-invalid",ma="ng-pristine",ga="ng-dirty",$a="ng-pending",va=r("ngModel"),ba=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,o,s,l,u,c,p){this.$modelValue=this.$viewValue=Number.NaN,this.$$rawModelValue=n,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=p(r.name||"",!1)(e),this.$$parentForm=Ni;var d,f=o(r.ngModel),m=f.assign,g=f,$=m,y=null,w=this;this.$$setOptions=function(e){if((w.$options=e)&&e.getterSetter){var t=o(r.ngModel+"()"),n=o(r.ngModel+"($$$p)");g=function(e){var n=f(e);return D(n)&&(n=t(e)),n},$=function(e,t){D(f(e))?n(e,{$$$p:w.$modelValue}):m(e,w.$modelValue)}}else if(!f.assign)throw va("nonassign",r.ngModel,z(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e};var x=0;qn({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:s}),this.$setPristine=function(){w.$dirty=!1,w.$pristine=!0,s.removeClass(i,ga),s.addClass(i,ma)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,ma),s.addClass(i,ga),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,"ng-untouched","ng-touched")},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,"ng-touched","ng-untouched")},this.$rollbackViewValue=function(){l.cancel(y),w.$viewValue=w.$$lastCommittedViewValue,w.$render()},this.$validate=function(){if(!k(w.$modelValue)||!isNaN(w.$modelValue)){var e=w.$$rawModelValue,t=w.$valid,r=w.$modelValue,i=w.$options&&w.$options.allowInvalid;w.$$runValidators(e,w.$$lastCommittedViewValue,function(a){i||t===a||(w.$modelValue=a?e:n,w.$modelValue!==r&&w.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var n=!0;return a(w.$validators,function(r,i){var a=r(e,t);n=n&&a,s(i,a)}),n?!0:(a(w.$asyncValidators,function(e,t){s(t,null)}),!1)}function o(){var r=[],i=!0;a(w.$asyncValidators,function(a,o){var l=a(e,t);if(!l||!D(l.then))throw va("nopromise",l);s(o,n),r.push(l.then(function(){s(o,!0)},function(e){i=!1,s(o,!1)}))}),r.length?c.all(r).then(function(){l(i)},h):l(!0)}function s(e,t){u===x&&w.$setValidity(e,t)}function l(e){u===x&&r(e)}x++;var u=x;(function(){var e=w.$$parserName||"parse";return v(d)?(s(e,null),!0):(d||(a(w.$validators,function(e,t){s(t,null)}),a(w.$asyncValidators,function(e,t){s(t,null)})),s(e,d),d)})()&&i()?o():l(!1)},this.$commitViewValue=function(){var e=w.$viewValue;l.cancel(y),(w.$$lastCommittedViewValue!==e||""===e&&w.$$hasNativeValidators)&&(w.$$lastCommittedViewValue=e,w.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var t=w.$$lastCommittedViewValue;if(d=v(t)?n:!0)for(var r=0;ra;a++){var l=e===n?a:n[a],u=y(e[l],l),l=f(e[l],u);t.push(l),(s[2]||s[1])&&(l=m(r,u),t.push(l)),s[4]&&(u=$(r,u),t.push(u))}return t}),getOptions:function(){for(var e=[],t={},n=v(r)||[],i=o(n),s=i.length,l=0;s>l;l++){var u=n===i?l:i[l],d=y(n[u],u),b=p(r,d),u=f(b,d),w=m(r,d),x=g(r,d),d=$(r,d),b=new a(u,b,w,x,d);e.push(b),t[u]=b}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[h(e)]},getViewValueFromOption:function(e){return c?nr.copy(e.viewValue):e.viewValue}}}}}var o=t.createElement("option"),s=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","?ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:function(t,n,i,l){function u(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function c(e,t,n,r){return t&&Yn(t.nodeName)===n?n=t:(n=r.cloneNode(!1),t?e.insertBefore(n,t):e.appendChild(n)),n}function p(e){for(var t;e;)t=e.nextSibling,Ee(e),e=t}function d(e){var t=m&&m[0],n=w&&w[0];if(t||n)for(;e&&(e===t||e===n||8===e.nodeType||"option"===N(e)&&""===e.value);)e=e.nextSibling;return e}function f(){var e=x&&g.readValue();x=k.getOptions();var t={},r=n[0].firstChild;if(y&&n.prepend(m),r=d(r),x.items.forEach(function(e){var i,a;e.group?(i=t[e.group],i||(i=c(n[0],r,"optgroup",s),r=i.nextSibling,i.label=e.group,i=t[e.group]={groupElement:i,currentOptionElement:i.firstChild}),a=c(i.groupElement,i.currentOptionElement,"option",o),u(e,a),i.currentOptionElement=a.nextSibling):(a=c(n[0],r,"option",o),u(e,a),r=a.nextSibling)}),Object.keys(t).forEach(function(e){p(t[e].currentOptionElement)}),p(r),h.$render(),!h.$isEmpty(e)){var i=g.readValue();(k.trackBy||$?F(e,i):e===i)||(h.$setViewValue(i),h.$render())}}var h=l[1];if(h){var m,g=l[0],$=i.multiple;l=0;for(var v=n.children(),b=v.length;b>l;l++)if(""===v[l].value){m=v.eq(l);break}var y=!!m,w=_n(o.cloneNode(!1));w.val("?");var x,k=r(i.ngOptions,n,t);$?(h.$isEmpty=function(e){return!e||0===e.length},g.writeValue=function(e){x.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){(e=x.getOptionFromViewValue(e))&&!e.disabled&&(e.element.selected=!0)})},g.readValue=function(){var e=n.val()||[],t=[];return a(e,function(e){(e=x.selectValueMap[e])&&!e.disabled&&t.push(x.getViewValueFromOption(e))}),t},k.trackBy&&t.$watchCollection(function(){return ar(h.$viewValue)?h.$viewValue.map(function(e){return k.getTrackByValue(e)}):void 0},function(){h.$render()})):(g.writeValue=function(e){var t=x.getOptionFromViewValue(e);t&&!t.disabled?(n[0].value!==t.selectValue&&(w.remove(),y||m.remove(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||y?(w.remove(),y||n.prepend(m),n.val(""),m.prop("selected",!0),m.attr("selected",!0)):(y||m.remove(),n.prepend(w),n.val("?"),w.prop("selected",!0),w.attr("selected",!0))},g.readValue=function(){var e=x.selectValueMap[n.val()];return e&&!e.disabled?(y||m.remove(),w.remove(),x.getViewValueFromOption(e)):null},k.trackBy&&t.$watch(function(){return k.getTrackByValue(h.$viewValue)},function(){h.$render()})),y?(m.remove(),e(m)(t),m.removeClass("ng-scope")):m=_n(o.cloneNode(!1)),f(),t.$watchCollection(k.getWatchables,f)}}}}}],Ma=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,s,l){function u(e){s.text(e||"")}var c,p=l.count,d=l.$attr.when&&s.attr(l.$attr.when),f=l.offset||0,m=o.$eval(d)||{},g={},$=t.startSymbol(),b=t.endSymbol(),y=$+p+"-"+f+b,w=nr.noop;a(l,function(e,t){var n=i.exec(t);n&&(n=(n[1]?"-":"")+Yn(n[2]),m[n]=s.attr(l.$attr[t]))}),a(m,function(e,n){g[n]=t(e.replace(r,y))}),o.$watch(p,function(t){var r=parseFloat(t),i=isNaN(r);i||r in m||(r=e.pluralCat(r-f)),r===c||i&&k(c)&&isNaN(c)||(w(),i=g[r],v(i)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=h,u()):w=o.$watch(i,u),c=r)})}}}],Ta=["$parse","$animate",function(e,o){var s=r("ngRepeat"),l=function(e,t,n,r,i,a,o){e[n]=r,i&&(e[i]=a),e.$index=t,e.$first=0===t,e.$last=t===o-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,u){var c=u.ngRepeat,p=t.createComment(" end ngRepeat: "+c+" "),d=c.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!d)throw s("iexp",c);var f=d[1],h=d[2],m=d[3],g=d[4],d=f.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/);if(!d)throw s("iidexp",f);var $=d[3]||d[1],v=d[2];if(m&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(m)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(m)))throw s("badident",m);var b,y,w,x,k={$id:Fe};return g?b=e(g):(w=function(e,t){return Fe(t)},x=function(e){return e}),function(e,t,r,u,d){b&&(y=function(t,n,r){return v&&(k[v]=t),k[$]=n,k.$index=r,b(e,k)});var f=ue();e.$watchCollection(h,function(r){var u,h,g,b,k,C,D,S,M,T,O=t[0],E=ue();if(m&&(e[m]=r),i(r))S=r,h=y||w;else for(T in h=y||x,S=[],r)Gn.call(r,T)&&"$"!==T.charAt(0)&&S.push(T);for(b=S.length,T=Array(b),u=0;b>u;u++)if(k=r===S?u:S[u],C=r[k],D=h(k,C,u),f[D])M=f[D],delete f[D],E[D]=M,T[u]=M;else{if(E[D])throw a(T,function(e){e&&e.scope&&(f[e.id]=e)}),s("dupes",c,D,C);T[u]={id:D,scope:n,clone:n},E[D]=!0}for(g in f){if(M=f[g],D=le(M.clone),o.leave(D),D[0].parentNode)for(u=0,h=D.length;h>u;u++)D[u].$$NG_REMOVED=!0;M.scope.$destroy()}for(u=0;b>u;u++)if(k=r===S?u:S[u],C=r[k],M=T[u],M.scope){g=O;do g=g.nextSibling;while(g&&g.$$NG_REMOVED);M.clone[0]!=g&&o.move(le(M.clone),null,O),O=M.clone[M.clone.length-1],l(M.scope,u,$,C,v,k,b)}else d(function(e,t){M.scope=t;var n=p.cloneNode(!1);e[e.length++]=n,o.enter(e,null,O),O=n,M.clone=e,E[M.id]=M,l(M.scope,u,$,C,v,k,b)});f=E})}}}}],Oa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Ea=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Aa=An(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&a(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Pa=["$animate",function(e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var s=[],l=[],u=[],c=[],p=function(e,t){return function(){e.splice(t,1)}};n.$watch(i.ngSwitch||i.on,function(n){var r,i;for(r=0,i=u.length;i>r;++r)e.cancel(u[r]);for(r=u.length=0,i=c.length;i>r;++r){var d=le(l[r].clone);c[r].$destroy(),(u[r]=e.leave(d)).then(p(u,r))}l.length=0,c.length=0,(s=o.cases["!"+n]||o.cases["?"])&&a(s,function(n){n.transclude(function(r,i){c.push(i);var a=n.element;r[r.length++]=t.createComment(" end ngSwitchWhen: "),l.push({clone:r}),e.enter(r,a.parent(),a)})})})}}}],Na=An({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),Ia=An({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Va=An({restrict:"EAC",link:function(e,t,n,i,a){if(!a)throw r("ngTransclude")("orphan",z(t));a(function(e){t.empty(),t.append(e)})}}),Ua=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){"text/ng-template"==n.type&&e.put(n.id,t[0].text)}}}],Fa={$setViewValue:h,$render:h},ja=["$element","$scope","$attrs",function(e,r,i){var a=this,o=new je;a.ngModelCtrl=Fa,a.unknownOption=_n(t.createElement("option")),a.renderUnknownOption=function(t){t="? "+Fe(t)+" ?",a.unknownOption.val(t),e.prepend(a.unknownOption),e.val(t)},r.$on("$destroy",function(){a.renderUnknownOption=h}),a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.readValue=function(){return a.removeUnknownOption(),e.val()},a.writeValue=function(t){a.hasOption(t)?(a.removeUnknownOption(),e.val(t),""===t&&a.emptyOption.prop("selected",!0)):null==t&&a.emptyOption?(a.removeUnknownOption(),e.val("")):a.renderUnknownOption(t)},a.addOption=function(e,t){if(8!==t[0].nodeType){oe(e,'"option value"'),""===e&&(a.emptyOption=t);var n=o.get(e)||0;o.put(e,n+1),a.ngModelCtrl.$render(),t[0].hasAttribute("selected")&&(t[0].selected=!0)}},a.removeOption=function(e){var t=o.get(e);t&&(1===t?(o.remove(e),""===e&&(a.emptyOption=n)):o.put(e,t-1))},a.hasOption=function(e){return!!o.get(e)},a.registerOption=function(e,t,n,r,i){if(r){var o;n.$observe("value",function(e){b(o)&&a.removeOption(o),o=e,a.addOption(e,t)})}else i?e.$watch(i,function(e,r){n.$set("value",e),r!==e&&a.removeOption(r),a.addOption(e,t)}):a.addOption(n.value,t);t.on("$destroy",function(){a.removeOption(n.value),a.ngModelCtrl.$render()})}}],Ra=function(){return{restrict:"E",require:["select","?ngModel"],controller:ja,priority:1,link:{pre:function(e,t,n,r){var i=r[1];if(i){var o=r[0];if(o.ngModelCtrl=i,t.on("change",function(){e.$apply(function(){i.$setViewValue(o.readValue())})}),n.multiple){o.readValue=function(){var e=[];return a(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},o.writeValue=function(e){var n=new je(e);a(t.find("option"),function(e){e.selected=b(n.get(e.value))})};var s,l=NaN;e.$watch(function(){l!==i.$viewValue||F(s,i.$viewValue)||(s=U(i.$viewValue),i.$render()),l=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}},post:function(e,t,n,r){var i=r[1];if(i){var a=r[0];i.$render=function(){a.writeValue(i.$viewValue)}}}}}},qa=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if(b(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var a=t.parent();(a=a.data("$selectController")||a.parent().data("$selectController"))&&a.registerOption(e,t,n,r,i)}}}}],Ha=g({restrict:"E",terminal:!1}),La=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},_a=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,a){if(a){var o,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(x(e)&&0i||r.$isEmpty(t)||t.length<=i}}}}},za=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=d(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load angular more than once."):(re(),pe(nr),nr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONEMONTH:"January February March April May June July August September October November December".split(" "),WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,r){var i=0|e,a=r;return n===a&&(a=Math.min(t(e),3)),Math.pow(10,a),1==i&&0==a?"one":"other"}})}]),_n(t).ready(function(){X(t,Q)}))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(''),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/backdrop.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(e,t,n,r){var i=r.has("$animateCss")?r.get("$animateCss"):null;return{link:function(r,a,o){function s(){a.hasClass("collapse")&&a.hasClass("in")||t.resolve(p(r)).then(function(){a.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),i?i(a,{addClass:"in",easing:"ease",to:{height:a[0].scrollHeight+"px"}}).start()["finally"](l):e.addClass(a,"in",{to:{height:a[0].scrollHeight+"px"}}).then(l)})}function l(){a.removeClass("collapsing").addClass("collapse").css({height:"auto"}),d(r)}function u(){return a.hasClass("collapse")||a.hasClass("in")?void t.resolve(f(r)).then(function(){a.css({height:a[0].scrollHeight+"px"}).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),i?i(a,{removeClass:"in",to:{height:"0"}}).start()["finally"](c):e.removeClass(a,"in",{to:{height:"0"}}).then(c)}):c()}function c(){a.css({height:"0"}),a.removeClass("collapsing").addClass("collapse"),h(r)}var p=n(o.expanding),d=n(o.expanded),f=n(o.collapsing),h=n(o.collapsed);r.$eval(o.uibCollapse)||a.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css({height:"auto"}),r.$watch(o.uibCollapse,function(e){e?u():s()})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(e,t,n){this.groups=[],this.closeOthers=function(r){var i=angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers;i&&angular.forEach(this.groups,function(e){e!==r&&(e.isOpen=!1)})},this.addGroup=function(e){var t=this;this.groups.push(e),e.$on("$destroy",function(n){t.removeGroup(e)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(e,t,n,r){r.addGroup(e),e.openClass=n.openClass||"panel-open",e.panelClass=n.panelClass||"panel-default",e.$watch("isOpen",function(n){t.toggleClass(e.openClass,!!n),n&&r.closeOthers(e)}),e.toggleOpen=function(t){e.isDisabled||t&&32!==t.which||(e.isOpen=!e.isOpen)};var i="accordiongroup-"+e.$id+"-"+Math.floor(1e4*Math.random());e.headingId=i+"-tab",e.panelId=i+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(e,t,n,r,i){r.setHeading(i(e,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(e,t,n,r){e.$watch(function(){return r[n.uibAccordionTransclude]},function(e){if(e){var n=angular.element(t[0].querySelector("[uib-accordion-header]"));n.html(""),n.append(e)}})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$attrs","$interpolate","$timeout",function(e,t,n,r){e.closeable=!!t.close;var i=angular.isDefined(t.dismissOnTimeout)?n(t.dismissOnTimeout)(e.$parent):null;i&&r(function(){e.close()},parseInt(i,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",templateUrl:function(e,t){return t.templateUrl||"uib/template/alert/alert.html"},transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(e){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(t,n,r,i){var a=i[0],o=i[1],s=e(r.uibUncheckable);n.find("input").css({display:"none"}),o.$render=function(){n.toggleClass(a.activeClass,angular.equals(o.$modelValue,t.$eval(r.uibBtnRadio)))},n.on(a.toggleEvent,function(){if(!r.disabled){var e=n.hasClass(a.activeClass);e&&!angular.isDefined(r.uncheckable)||t.$apply(function(){o.$setViewValue(e?null:t.$eval(r.uibBtnRadio)),o.$render()})}}),r.uibUncheckable&&t.$watch(s,function(e){r.$set("uncheckable",e?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(e,t,n,r){function i(){return o(n.btnCheckboxTrue,!0)}function a(){return o(n.btnCheckboxFalse,!1)}function o(t,n){return angular.isDefined(t)?e.$eval(t):n}var s=r[0],l=r[1];t.find("input").css({display:"none"}),l.$render=function(){t.toggleClass(s.activeClass,angular.equals(l.$modelValue,i()))},t.on(s.toggleEvent,function(){n.disabled||e.$apply(function(){l.$setViewValue(t.hasClass(s.activeClass)?a():i()),l.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(e,t,n,r,i){function a(){for(;b.length;)b.shift()}function o(e){for(var t=0;t1){g[r].element.data($,n.direction);var u=m.getCurrentIndex();angular.isNumber(u)&&g[u].element&&g[u].element.data($,n.direction),e.$currentTransition=!0,i.on("addClass",g[r].element,function(t,n){if("close"===n&&(e.$currentTransition=null,i.off("addClass",t),b.length)){var r=b.pop().slide,o=r.index,l=o>m.getCurrentIndex()?"next":"prev";a(),s(r,o,l)}})}e.active=n.index,v=n.index,o(r),p()}}function l(e){for(var t=0;t0&&(f=n(d,t))}function d(){var t=+e.interval;h&&!isNaN(t)&&t>0&&g.length?e.next():e.pause()}var f,h,m=this,g=m.slides=e.slides=[],$="uib-slideDirection",v=e.active,b=[],y=!1;m.addSlide=function(t,n){g.push({slide:t,element:n}),g.sort(function(e,t){return+e.slide.index-+t.slide.index}),(t.index===e.active||1===g.length&&!angular.isNumber(e.active))&&(e.$currentTransition&&(e.$currentTransition=null),v=t.index,e.active=t.index,o(v),m.select(g[l(t)]),1===g.length&&e.play())},m.getCurrentIndex=function(){for(var e=0;e0&&v===n?n>=g.length?(v=g.length-1,e.active=v,o(v),m.select(g[g.length-1])):(v=n,e.active=v,o(v),m.select(g[n])):v>n&&(v--,e.active=v),0===g.length&&(v=null,e.active=null,a())},m.select=e.select=function(t,n){var r=l(t.slide);void 0===n&&(n=r>m.getCurrentIndex()?"next":"prev"),t.slide.index===v||e.$currentTransition?t&&t.slide.index!==v&&e.$currentTransition&&b.push(g[r]):s(t.slide,r,n)},e.indexOfSlide=function(e){return+e.slide.index},e.isActive=function(t){return e.active===t.slide.index},e.isPrevDisabled=function(){return 0===e.active&&e.noWrap()},e.isNextDisabled=function(){return e.active===g.length-1&&e.noWrap()},e.pause=function(){e.noPause||(h=!1,u()); +},e.play=function(){h||(h=!0,p())},e.$on("$destroy",function(){y=!0,u()}),e.$watch("noTransition",function(e){i.enabled(t,!e)}),e.$watch("interval",p),e.$watchCollection("slides",c),e.$watch("active",function(e){if(angular.isNumber(e)&&v!==e){for(var t=0;t-1){var o=!1;e=e.split("");for(var s=a;s-1){e=e.split(""),i[a]="("+r.regex+")",e[a]="$";for(var o=a+1,s=a+r.key.length;s>o;o++)i[o]="",e[o]="$";e=e.join(""),n.push({index:a,key:r.key,apply:r[t],matcher:r.regex})}}),{regex:new RegExp("^"+i.join("")+"$"),map:r(n,"index")}}function a(e,t,n){return 1>n?!1:1===t&&n>28?29===n&&(e%4===0&&e%100!==0||e%400===0):3===t||5===t||8===t||10===t?31>n:!0}function o(e){return parseInt(e,10)}function s(e,t){return e&&t?p(e,t):e}function l(e,t){return e&&t?p(e,t,!0):e}function u(e,t){var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function c(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function p(e,t,n){n=n?-1:1;var r=u(t,e.getTimezoneOffset());return c(e,n*(r-e.getTimezoneOffset()))}var d,f,h=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.init=function(){d=t.id,this.parsers={},this.formatters={},f=[{key:"yyyy",regex:"\\d{4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(e){e=+e,this.year=69>e?e+2e3:e+1900},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){var t=e.getMonth();return/^[0-9]$/.test(t)?n(e,"MM"):n(e,"M")}},{key:"MMMM",regex:t.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.MONTH.indexOf(e)},formatter:function(e){return n(e,"MMMM")}},{key:"MMM",regex:t.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.SHORTMONTH.indexOf(e)},formatter:function(e){return n(e,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){var t=e.getDate();return/^[1-9]$/.test(t)?n(e,"dd"):n(e,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"d")}},{key:"EEEE",regex:t.DATETIME_FORMATS.DAY.join("|"),formatter:function(e){return n(e,"EEEE")}},{key:"EEE",regex:t.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(e){return n(e,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e},formatter:function(e){return n(e,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"s")}},{key:"a",regex:t.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)},formatter:function(e){return n(e,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(e){var t=e.match(/([+-])(\d{2})(\d{2})/),n=t[1],r=t[2],i=t[3];this.hours+=o(n+r),this.minutes+=o(n+i)},formatter:function(e){return n(e,"Z")}},{key:"ww",regex:"[0-4][0-9]|5[0-3]",formatter:function(e){return n(e,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(e){return n(e,"w")}},{key:"GGGG",regex:t.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(e){return n(e,"GGGG")}},{key:"GGG",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GGG")}},{key:"GG",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GG")}},{key:"G",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"G")}}]},this.init(),this.filter=function(e,n){if(!angular.isDate(e)||isNaN(e)||!n)return"";n=t.DATETIME_FORMATS[n]||n,t.id!==d&&this.init(),this.formatters[n]||(this.formatters[n]=i(n,"formatter"));var r=this.formatters[n],a=r.map,o=n;return a.reduce(function(t,n,r){var i=o.match(new RegExp("(.*)"+n.key));i&&angular.isString(i[1])&&(t+=i[1],o=o.replace(i[1]+n.key,""));var s=r===a.length-1?o:"";return n.apply?t+n.apply.call(null,e)+s:t+s},"")},this.parse=function(n,r,o){if(!angular.isString(n)||!r)return n;r=t.DATETIME_FORMATS[r]||r,r=r.replace(h,"\\$&"),t.id!==d&&this.init(),this.parsers[r]||(this.parsers[r]=i(r,"apply"));var s=this.parsers[r],l=s.regex,u=s.map,c=n.match(l),p=!1;if(c&&c.length){var f,m;angular.isDate(o)&&!isNaN(o.getTime())?f={year:o.getFullYear(),month:o.getMonth(),date:o.getDate(),hours:o.getHours(),minutes:o.getMinutes(),seconds:o.getSeconds(),milliseconds:o.getMilliseconds()}:(o&&e.warn("dateparser:","baseDate is not a valid date"),f={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var g=1,$=c.length;$>g;g++){var v=u[g-1];"Z"===v.matcher&&(p=!0),v.apply&&v.apply.call(f,c[g])}var b=p?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,y=p?Date.prototype.setUTCHours:Date.prototype.setHours;return a(f.year,f.month,f.date)&&(!angular.isDate(o)||isNaN(o.getTime())||p?(m=new Date(0),b.call(m,f.year,f.month,f.date),y.call(m,f.hours||0,f.minutes||0,f.seconds||0,f.milliseconds||0)):(m=new Date(o),b.call(m,f.year,f.month,f.date),y.call(m,f.hours,f.minutes,f.seconds,f.milliseconds))),m}},this.toTimezone=s,this.fromTimezone=l,this.timezoneToOffset=u,this.addDateMinutes=c,this.convertTimezoneToLocal=p}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(e){var t=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,n=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(r,i){function a(e,t,n){l.push(e),u.push({scope:e,element:t}),h.forEach(function(t,n){o(t,e)}),e.$on("$destroy",s)}function o(t,r){var i=t.match(n),a=r.$eval(i[1]),o=i[2],s=c[t];if(!s){var l=function(t){var n=null;u.some(function(e){var r=e.scope.$eval(d);return r===t?(n=e,!0):void 0}),s.lastActivated!==n&&(s.lastActivated&&e.removeClass(s.lastActivated.element,a),n&&e.addClass(n.element,a),s.lastActivated=n)};c[t]=s={lastActivated:null,scope:r,watchFn:l,compareWithExp:o,watcher:r.$watch(o,l)}}s.watchFn(r.$eval(o))}function s(e){var t=e.targetScope,n=l.indexOf(t);if(l.splice(n,1),u.splice(n,1),l.length){var r=l[0];angular.forEach(c,function(e){e.scope===t&&(e.watcher=r.$watch(e.compareWithExp,e.watchFn),e.scope=r)})}else c={}}var l=[],u=[],c={},p=i.uibIsClass.match(t),d=p[2],f=p[1],h=f.split(",");return a}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(e,t,n,r,i,a,o,s,l,u,c){function p(t){e.datepickerMode=t,e.datepickerOptions.datepickerMode=t}var d=this,f={$setViewValue:angular.noop},h={},m=[];!!t.datepickerOptions,e.datepickerOptions||(e.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(t){switch(t){case"customClass":case"dateDisabled":e[t]=e.datepickerOptions[t]||angular.noop;break;case"datepickerMode":e.datepickerMode=angular.isDefined(e.datepickerOptions.datepickerMode)?e.datepickerOptions.datepickerMode:s.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":d[t]=angular.isDefined(e.datepickerOptions[t])?r(e.datepickerOptions[t])(e.$parent):s[t];break;case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":d[t]=angular.isDefined(e.datepickerOptions[t])?e.datepickerOptions[t]:s[t];break;case"startingDay":angular.isDefined(e.datepickerOptions.startingDay)?d.startingDay=e.datepickerOptions.startingDay:angular.isNumber(s.startingDay)?d.startingDay=s.startingDay:d.startingDay=(i.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":e.$watch("datepickerOptions."+t,function(e){e?angular.isDate(e)?d[t]=c.fromTimezone(new Date(e),h.timezone):(l&&a.warn("Literal date support has been deprecated, please switch to date object usage"),d[t]=new Date(o(e,"medium"))):d[t]=s[t]?c.fromTimezone(new Date(s[t]),h.timezone):null,d.refreshView()});break;case"maxMode":case"minMode":e.datepickerOptions[t]?e.$watch(function(){return e.datepickerOptions[t]},function(n){d[t]=e[t]=angular.isDefined(n)?n:datepickerOptions[t],("minMode"===t&&d.modes.indexOf(e.datepickerOptions.datepickerMode)d.modes.indexOf(d[t]))&&(e.datepickerMode=d[t],e.datepickerOptions.datepickerMode=d[t])}):d[t]=e[t]=s[t]||null}}),e.uniqueId="datepicker-"+e.$id+"-"+Math.floor(1e4*Math.random()),e.disabled=angular.isDefined(t.disabled)||!1,angular.isDefined(t.ngDisabled)&&m.push(e.$parent.$watch(t.ngDisabled,function(t){e.disabled=t,d.refreshView()})),e.isActive=function(t){return 0===d.compare(t.date,d.activeDate)?(e.activeDateId=t.uid,!0):!1},this.init=function(t){f=t,h=t.$options||s.ngModelOptions,e.datepickerOptions.initDate?(d.activeDate=c.fromTimezone(e.datepickerOptions.initDate,h.timezone)||new Date,e.$watch("datepickerOptions.initDate",function(e){e&&(f.$isEmpty(f.$modelValue)||f.$invalid)&&(d.activeDate=c.fromTimezone(e,h.timezone),d.refreshView())})):d.activeDate=new Date,this.activeDate=f.$modelValue?c.fromTimezone(new Date(f.$modelValue),h.timezone):c.fromTimezone(new Date,h.timezone),f.$render=function(){d.render()}},this.render=function(){if(f.$viewValue){var e=new Date(f.$viewValue),t=!isNaN(e);t?this.activeDate=c.fromTimezone(e,h.timezone):u||a.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){e.selectedDt=null,this._refreshView(),e.activeDt&&(e.activeDateId=e.activeDt.uid);var t=f.$viewValue?new Date(f.$viewValue):null;t=c.fromTimezone(t,h.timezone),f.$setValidity("dateDisabled",!t||this.element&&!this.isDisabled(t))}},this.createDateObject=function(t,n){var r=f.$viewValue?new Date(f.$viewValue):null;r=c.fromTimezone(r,h.timezone);var i=new Date;i=c.fromTimezone(i,h.timezone);var a=this.compare(t,i),o={date:t,label:c.filter(t,n),selected:r&&0===this.compare(t,r),disabled:this.isDisabled(t),past:0>a,current:0===a,future:a>0,customClass:this.customClass(t)||null};return r&&0===this.compare(t,r)&&(e.selectedDt=o),d.activeDate&&0===this.compare(o.date,d.activeDate)&&(e.activeDt=o),o},this.isDisabled=function(t){return e.disabled||this.minDate&&this.compare(t,this.minDate)<0||this.maxDate&&this.compare(t,this.maxDate)>0||e.dateDisabled&&e.dateDisabled({date:t,mode:e.datepickerMode})},this.customClass=function(t){return e.customClass({date:t,mode:e.datepickerMode})},this.split=function(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n},e.select=function(t){if(e.datepickerMode===d.minMode){var n=f.$viewValue?c.fromTimezone(new Date(f.$viewValue),h.timezone):new Date(0,0,0,0,0,0,0);n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n=c.toTimezone(n,h.timezone),f.$setViewValue(n),f.$render()}else d.activeDate=t,p(d.modes[d.modes.indexOf(e.datepickerMode)-1]),e.$emit("uib:datepicker.mode");e.$broadcast("uib:datepicker.focus")},e.move=function(e){var t=d.activeDate.getFullYear()+e*(d.step.years||0),n=d.activeDate.getMonth()+e*(d.step.months||0);d.activeDate.setFullYear(t,n,1),d.refreshView()},e.toggleMode=function(t){t=t||1,e.datepickerMode===d.maxMode&&1===t||e.datepickerMode===d.minMode&&-1===t||(p(d.modes[d.modes.indexOf(e.datepickerMode)+t]),e.$emit("uib:datepicker.mode"))},e.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var g=function(){d.element[0].focus()};e.$on("uib:datepicker.focus",g),e.keydown=function(t){var n=e.keys[t.which];if(n&&!t.shiftKey&&!t.altKey&&!e.disabled)if(t.preventDefault(),d.shortcutPropagation||t.stopPropagation(),"enter"===n||"space"===n){if(d.isDisabled(d.activeDate))return;e.select(d.activeDate)}else!t.ctrlKey||"up"!==n&&"down"!==n?(d.handleKeyDown(n,t),d.refreshView()):e.toggleMode("up"===n?1:-1)},e.$on("$destroy",function(){for(;m.length;)m.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(e,t,n){function r(e,t){return 1!==t||e%4!==0||e%100===0&&e%400!==0?a[t]:29}function i(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}var a=[31,28,31,30,31,30,31,31,30,31,30,31];this.step={months:1},this.element=t,this.init=function(t){angular.extend(t,this),e.showWeeks=t.showWeeks,t.refreshView()},this.getDates=function(e,t){for(var n,r=new Array(t),i=new Date(e),a=0;t>a;)n=new Date(i),r[a++]=n,i.setDate(i.getDate()+1);return r},this._refreshView=function(){var t=this.activeDate.getFullYear(),r=this.activeDate.getMonth(),a=new Date(this.activeDate);a.setFullYear(t,r,1);var o=this.startingDay-a.getDay(),s=o>0?7-o:-o,l=new Date(a);s>0&&l.setDate(-s+1);for(var u=this.getDates(l,42),c=0;42>c;c++)u[c]=angular.extend(this.createDateObject(u[c],this.formatDay),{secondary:u[c].getMonth()!==r,uid:e.uniqueId+"-"+c});e.labels=new Array(7);for(var p=0;7>p;p++)e.labels[p]={abbr:n(u[p].date,this.formatDayHeader),full:n(u[p].date,"EEEE")};if(e.title=n(this.activeDate,this.formatDayTitle),e.rows=this.split(u,7),e.showWeeks){e.weekNumbers=[];for(var d=(11-this.startingDay)%7,f=e.rows.length,h=0;f>h;h++)e.weekNumbers.push(i(e.rows[h][d].date))}},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getDate();if("left"===e)n-=1;else if("up"===e)n-=7;else if("right"===e)n+=1;else if("down"===e)n+=7;else if("pageup"===e||"pagedown"===e){var i=this.activeDate.getMonth()+("pageup"===e?-1:1);this.activeDate.setMonth(i,1),n=Math.min(r(this.activeDate.getFullYear(),this.activeDate.getMonth()),n)}else"home"===e?n=1:"end"===e&&(n=r(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(n)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(e,t,n){this.step={years:1},this.element=t,this.init=function(e){angular.extend(e,this),e.refreshView()},this._refreshView=function(){for(var t,r=new Array(12),i=this.activeDate.getFullYear(),a=0;12>a;a++)t=new Date(this.activeDate),t.setFullYear(i,a,1),r[a]=angular.extend(this.createDateObject(t,this.formatMonth),{uid:e.uniqueId+"-"+a});e.title=n(this.activeDate,this.formatMonthTitle),e.rows=this.split(r,3)},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth()),r=new Date(t.getFullYear(),t.getMonth());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getMonth();if("left"===e)n-=1;else if("up"===e)n-=3;else if("right"===e)n+=1;else if("down"===e)n+=3;else if("pageup"===e||"pagedown"===e){var r=this.activeDate.getFullYear()+("pageup"===e?-1:1);this.activeDate.setFullYear(r)}else"home"===e?n=0:"end"===e&&(n=11);this.activeDate.setMonth(n)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(e,t,n){function r(e){return parseInt((e-1)/a,10)*a+1}var i,a;this.element=t,this.yearpickerInit=function(){i=this.yearColumns,a=this.yearRows*i,this.step={years:a}},this._refreshView=function(){for(var t,n=new Array(a),o=0,s=r(this.activeDate.getFullYear());a>o;o++)t=new Date(this.activeDate),t.setFullYear(s+o,0,1),n[o]=angular.extend(this.createDateObject(t,this.formatYear),{uid:e.uniqueId+"-"+o});e.title=[n[0].label,n[a-1].label].join(" - "),e.rows=this.split(n,i),e.columns=i},this.compare=function(e,t){return e.getFullYear()-t.getFullYear()},this.handleKeyDown=function(e,t){var n=this.activeDate.getFullYear();"left"===e?n-=1:"up"===e?n-=i:"right"===e?n+=1:"down"===e?n+=i:"pageup"===e||"pagedown"===e?n+=("pageup"===e?-1:1)*a:"home"===e?n=r(this.activeDate.getFullYear()):"end"===e&&(n=r(this.activeDate.getFullYear())+a-1),this.activeDate.setFullYear(n)}}]).directive("uibDatepicker",function(){return{replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],controller:"UibDatepickerController",controllerAs:"datepicker",link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}).directive("uibDaypicker",function(){return{replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],controller:"UibDaypickerController",link:function(e,t,n,r){var i=r[0],a=r[1];a.init(i)}}}).directive("uibMonthpicker",function(){return{replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],controller:"UibMonthpickerController",link:function(e,t,n,r){var i=r[0],a=r[1];a.init(i)}}}).directive("uibYearpicker",function(){return{replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],controller:"UibYearpickerController",link:function(e,t,n,r){var i=r[0];angular.extend(i,r[1]),i.yearpickerInit(),i.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(e,t){var n,r,i={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},a={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},o=/(HTML|BODY)/;return{getRawNode:function(e){return e.nodeName?e:e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(n){function r(e){return"static"===(t.getComputedStyle(e).position||"static")}n=this.getRawNode(n);for(var i=n.offsetParent||e[0].documentElement;i&&i!==e[0].documentElement&&r(i);)i=i.offsetParent;return i||e[0].documentElement},scrollbarWidth:function(i){if(i){if(angular.isUndefined(r)){var a=e.find("body");a.addClass("uib-position-body-scrollbar-measure"),r=t.innerWidth-a[0].clientWidth,r=isFinite(r)?r:0,a.removeClass("uib-position-body-scrollbar-measure")}return r}if(angular.isUndefined(n)){var o=angular.element('
');e.find("body").append(o),n=o[0].offsetWidth-o[0].clientWidth,n=isFinite(n)?n:0,o.remove()}return n},scrollbarPadding:function(e){e=this.getRawNode(e);var n=t.getComputedStyle(e),r=this.parseStyle(n.paddingRight),i=this.parseStyle(n.paddingBottom),a=this.scrollParent(e,!1,!0),s=this.scrollbarWidth(a,o.test(a.tagName));return{scrollbarWidth:s,widthOverflow:a.scrollWidth>a.clientWidth,right:r+s,originalRight:r,heightOverflow:a.scrollHeight>a.clientHeight,bottom:i+s,originalBottom:i}},isScrollable:function(e,n){e=this.getRawNode(e);var r=n?i.hidden:i.normal,a=t.getComputedStyle(e);return r.test(a.overflow+a.overflowY+a.overflowX)},scrollParent:function(n,r,a){n=this.getRawNode(n);var o=r?i.hidden:i.normal,s=e[0].documentElement,l=t.getComputedStyle(n);if(a&&o.test(l.overflow+l.overflowY+l.overflowX))return n;var u="absolute"===l.position,c=n.parentElement||s;if(c===s||"fixed"===l.position)return s;for(;c.parentElement&&c!==s;){var p=t.getComputedStyle(c);if(u&&"static"!==p.position&&(u=!1),!u&&o.test(p.overflow+p.overflowY+p.overflowX))break;c=c.parentElement}return c},position:function(n,r){n=this.getRawNode(n);var i=this.offset(n);if(r){var a=t.getComputedStyle(n);i.top-=this.parseStyle(a.marginTop),i.left-=this.parseStyle(a.marginLeft)}var o=this.offsetParent(n),s={top:0,left:0};return o!==e[0].documentElement&&(s=this.offset(o),s.top+=o.clientTop-o.scrollTop,s.left+=o.clientLeft-o.scrollLeft),{width:Math.round(angular.isNumber(i.width)?i.width:n.offsetWidth),height:Math.round(angular.isNumber(i.height)?i.height:n.offsetHeight),top:Math.round(i.top-s.top),left:Math.round(i.left-s.left)}},offset:function(n){n=this.getRawNode(n);var r=n.getBoundingClientRect();return{width:Math.round(angular.isNumber(r.width)?r.width:n.offsetWidth),height:Math.round(angular.isNumber(r.height)?r.height:n.offsetHeight),top:Math.round(r.top+(t.pageYOffset||e[0].documentElement.scrollTop)),left:Math.round(r.left+(t.pageXOffset||e[0].documentElement.scrollLeft))}},viewportOffset:function(n,r,i){n=this.getRawNode(n),i=i!==!1;var a=n.getBoundingClientRect(),o={top:0,left:0,bottom:0,right:0},s=r?e[0].documentElement:this.scrollParent(n),l=s.getBoundingClientRect();if(o.top=l.top+s.clientTop,o.left=l.left+s.clientLeft,s===e[0].documentElement&&(o.top+=t.pageYOffset,o.left+=t.pageXOffset),o.bottom=o.top+s.clientHeight,o.right=o.left+s.clientWidth,i){var u=t.getComputedStyle(s);o.top+=this.parseStyle(u.paddingTop),o.bottom-=this.parseStyle(u.paddingBottom),o.left+=this.parseStyle(u.paddingLeft),o.right-=this.parseStyle(u.paddingRight)}return{top:Math.round(a.top-o.top),bottom:Math.round(o.bottom-a.bottom),left:Math.round(a.left-o.left),right:Math.round(o.right-a.right)}},parsePlacement:function(e){var t=a.auto.test(e);return t&&(e=e.replace(a.auto,"")),e=e.split("-"),e[0]=e[0]||"top",a.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",a.secondary.test(e[1])||(e[1]="center"),t?e[2]=!0:e[2]=!1,e},positionElements:function(e,n,r,i){e=this.getRawNode(e),n=this.getRawNode(n);var o=angular.isDefined(n.offsetWidth)?n.offsetWidth:n.prop("offsetWidth"),s=angular.isDefined(n.offsetHeight)?n.offsetHeight:n.prop("offsetHeight");r=this.parsePlacement(r);var l=i?this.offset(e):this.position(e),u={top:0,left:0,placement:""};if(r[2]){var c=this.viewportOffset(e,i),p=t.getComputedStyle(n),d={width:o+Math.round(Math.abs(this.parseStyle(p.marginLeft)+this.parseStyle(p.marginRight))),height:s+Math.round(Math.abs(this.parseStyle(p.marginTop)+this.parseStyle(p.marginBottom)))};if(r[0]="top"===r[0]&&d.height>c.top&&d.height<=c.bottom?"bottom":"bottom"===r[0]&&d.height>c.bottom&&d.height<=c.top?"top":"left"===r[0]&&d.width>c.left&&d.width<=c.right?"right":"right"===r[0]&&d.width>c.right&&d.width<=c.left?"left":r[0],r[1]="top"===r[1]&&d.height-l.height>c.bottom&&d.height-l.height<=c.top?"bottom":"bottom"===r[1]&&d.height-l.height>c.top&&d.height-l.height<=c.bottom?"top":"left"===r[1]&&d.width-l.width>c.right&&d.width-l.width<=c.left?"right":"right"===r[1]&&d.width-l.width>c.left&&d.width-l.width<=c.right?"left":r[1],"center"===r[1])if(a.vertical.test(r[0])){var f=l.width/2-o/2;c.left+f<0&&d.width-l.width<=c.right?r[1]="left":c.right+f<0&&d.width-l.width<=c.left&&(r[1]="right")}else{var h=l.height/2-d.height/2;c.top+h<0&&d.height-l.height<=c.bottom?r[1]="top":c.bottom+h<0&&d.height-l.height<=c.top&&(r[1]="bottom")}}switch(r[0]){case"top":u.top=l.top-s;break;case"bottom":u.top=l.top+l.height;break;case"left":u.left=l.left-o;break;case"right":u.left=l.left+l.width}switch(r[1]){case"top":u.top=l.top;break;case"bottom":u.top=l.top+l.height-s;break;case"left":u.left=l.left;break;case"right":u.left=l.left+l.width-o;break;case"center":a.vertical.test(r[0])?u.left=l.left+l.width/2-o/2:u.top=l.top+l.height/2-s/2}return u.top=Math.round(u.top),u.left=Math.round(u.left),u.placement="center"===r[1]?r[0]:r[0]+"-"+r[1],u},positionArrow:function(e,n){e=this.getRawNode(e);var r=e.querySelector(".tooltip-inner, .popover-inner");if(r){var i=angular.element(r).hasClass("tooltip-inner"),o=i?e.querySelector(".tooltip-arrow"):e.querySelector(".arrow");if(o){var s={top:"",bottom:"",left:"",right:""};if(n=this.parsePlacement(n),"center"===n[1])return void angular.element(o).css(s);var l="border-"+n[0]+"-width",u=t.getComputedStyle(o)[l],c="border-";c+=a.vertical.test(n[0])?n[0]+"-"+n[1]:n[1]+"-"+n[0],c+="-radius";var p=t.getComputedStyle(i?r:e)[c];switch(n[0]){case"top":s.bottom=i?"0":"-"+u;break;case"bottom":s.top=i?"0":"-"+u;break;case"left":s.right=i?"0":"-"+u;break;case"right":s.left=i?"0":"-"+u}s[n[1]]=p,angular.element(o).css(s)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"Clear",closeOnDateSelection:!0,closeText:"Done",currentText:"Today",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepickerPopup/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(e,t,n,r,i,a,o,s,l,u,c,p,d,f,h,m){function g(t){var n=p.parse(t,x,e.date);if(isNaN(n))for(var r=0;r
"),P?(V=P.timezone,e.ngModelOptions=angular.copy(P),e.ngModelOptions.timezone=null,e.ngModelOptions.updateOnDefault===!0&&(e.ngModelOptions.updateOn=e.ngModelOptions.updateOn?e.ngModelOptions.updateOn+" default":"default"),T.attr("ng-model-options","ngModelOptions")):V=null,T.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":S}),O=angular.element(T.children()[0]),O.attr("template-url",M),e.datepickerOptions||(e.datepickerOptions={}),U&&"month"===n.type&&(e.datepickerOptions.datepickerMode="month",e.datepickerOptions.minMode="month"),O.attr("datepicker-options","datepickerOptions"),U?A.$formatters.push(function(t){return e.date=p.fromTimezone(t,V),t}):(A.$$parserName="date",A.$validators.date=v,A.$parsers.unshift($),A.$formatters.push(function(t){return A.$isEmpty(t)?(e.date=t,t):(e.date=p.fromTimezone(t,V),angular.isNumber(e.date)&&(e.date=new Date(e.date)),p.filter(e.date,x))})),A.$viewChangeListeners.push(function(){e.date=g(A.$viewValue)}),t.on("keydown",y),N=r(T)(e),T.remove(),C?s.find("body").append(N):t.after(N),e.$on("$destroy",function(){for(e.isOpen===!0&&(l.$$phase||e.$apply(function(){e.isOpen=!1})),N.remove(),t.off("keydown",y),s.off("click",b),E&&E.off("scroll",w),angular.element(o).off("resize",w);F.length;)F.shift()()})},e.getText=function(t){return e[t+"Text"]||d[t+"Text"]},e.isDisabled=function(t){ +"today"===t&&(t=p.fromTimezone(new Date,V));var n={};return angular.forEach(["minDate","maxDate"],function(t){e.datepickerOptions[t]?angular.isDate(e.datepickerOptions[t])?n[t]=p.fromTimezone(new Date(e.datepickerOptions[t]),V):(m&&i.warn("Literal date support has been deprecated, please switch to date object usage"),n[t]=new Date(c(e.datepickerOptions[t],"medium"))):n[t]=null}),e.datepickerOptions&&n.minDate&&e.compare(t,n.minDate)<0||n.maxDate&&e.compare(t,n.maxDate)>0},e.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},e.dateSelection=function(n){angular.isDefined(n)&&(e.date=n);var r=e.date?p.filter(e.date,x):null;t.val(r),A.$setViewValue(r),k&&(e.isOpen=!1,t[0].focus())},e.keydown=function(n){27===n.which&&(n.stopPropagation(),e.isOpen=!1,t[0].focus())},e.select=function(t,n){if(n.stopPropagation(),"today"===t){var r=new Date;angular.isDate(e.date)?(t=new Date(e.date),t.setFullYear(r.getFullYear(),r.getMonth(),r.getDate())):t=new Date(r.setHours(0,0,0,0))}e.dateSelection(t)},e.close=function(n){n.stopPropagation(),e.isOpen=!1,t[0].focus()},e.disabled=angular.isDefined(n.disabled)||!1,n.ngDisabled&&F.push(e.$parent.$watch(a(n.ngDisabled),function(t){e.disabled=t})),e.$watch("isOpen",function(r){r?e.disabled?e.isOpen=!1:f(function(){w(),D&&e.$broadcast("uib:datepicker.focus"),s.on("click",b);var r=n.popupPlacement?n.popupPlacement:d.placement;C||u.parsePlacement(r)[2]?(E=E||angular.element(u.scrollParent(t)),E&&E.on("scroll",w)):E=null,angular.element(o).on("resize",w)},0,!1):(s.off("click",b),E&&E.off("scroll",w),angular.element(o).off("resize",w))}),e.$on("uib:datepicker.mode",function(){f(w,0,!1)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(e,t,n,r){var i=r[0],a=r[1];a.init(i)}}}).directive("uibDatepickerPopupWrap",function(){return{replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(e){return function(t,n){var r;return function(){var i=this,a=Array.prototype.slice.call(arguments);r&&e.cancel(r),r=e(function(){t.apply(i,a)},n)}}}]),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope",function(e,t){var n=null;this.open=function(t,a){n||(e.on("click",r),a.on("keydown",i)),n&&n!==t&&(n.isOpen=!1),n=t},this.close=function(t,a){n===t&&(n=null,e.off("click",r),a.off("keydown",i))};var r=function(e){if(n&&!(e&&"disabled"===n.getAutoClose()||e&&3===e.which)){var r=n.getToggleElement();if(!(e&&r&&r[0].contains(e.target))){var i=n.getDropdownElement();e&&"outsideClick"===n.getAutoClose()&&i&&i[0].contains(e.target)||(n.isOpen=!1,t.$$phase||n.$apply())}}},i=function(e){27===e.which?(e.stopPropagation(),n.focusToggleElement(),r()):n.isKeynavEnabled()&&-1!==[38,40].indexOf(e.which)&&n.isOpen&&(e.preventDefault(),e.stopPropagation(),n.focusDropdownEntry(e.which))}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(e,t,n,r,i,a,o,s,l,u,c){var p,d,f=this,h=e.$new(),m=i.appendToOpenClass,g=i.openClass,$=angular.noop,v=n.onToggle?r(n.onToggle):angular.noop,b=!1,y=null,w=!1,x=l.find("body");t.addClass("dropdown"),this.init=function(){if(n.isOpen&&(d=r(n.isOpen),$=d.assign,e.$watch(d,function(e){h.isOpen=!!e})),angular.isDefined(n.dropdownAppendTo)){var i=r(n.dropdownAppendTo)(h);i&&(y=angular.element(i))}b=angular.isDefined(n.dropdownAppendToBody),w=angular.isDefined(n.keyboardNav),b&&!y&&(y=x),y&&f.dropdownMenu&&(y.append(f.dropdownMenu),t.on("$destroy",function(){f.dropdownMenu.remove()}))},this.toggle=function(e){return h.isOpen=arguments.length?!!e:!h.isOpen,angular.isFunction($)&&$(h,h.isOpen),h.isOpen},this.isOpen=function(){return h.isOpen},h.getToggleElement=function(){return f.toggleElement},h.getAutoClose=function(){return n.autoClose||"always"},h.getElement=function(){return t},h.isKeynavEnabled=function(){return w},h.focusDropdownEntry=function(e){var n=f.dropdownMenu?angular.element(f.dropdownMenu).find("a"):t.find("ul").eq(0).find("a");switch(e){case 40:angular.isNumber(f.selectedOption)?f.selectedOption=f.selectedOption===n.length-1?f.selectedOption:f.selectedOption+1:f.selectedOption=0;break;case 38:angular.isNumber(f.selectedOption)?f.selectedOption=0===f.selectedOption?0:f.selectedOption-1:f.selectedOption=n.length-1}n[f.selectedOption].focus()},h.getDropdownElement=function(){return f.dropdownMenu},h.focusToggleElement=function(){f.toggleElement&&f.toggleElement[0].focus()},h.$watch("isOpen",function(n,r){if(y&&f.dropdownMenu){var i,l,d=s.positionElements(t,f.dropdownMenu,"bottom-left",!0);if(i={top:d.top+"px",display:n?"block":"none"},l=f.dropdownMenu.hasClass("dropdown-menu-right"),l?(i.left="auto",i.right=window.innerWidth-(d.left+t.prop("offsetWidth"))+"px"):(i.left=d.left+"px",i.right="auto"),!b){var w=s.offset(y);i.top=d.top-w.top+"px",l?i.right=window.innerWidth-(d.left-w.left+t.prop("offsetWidth"))+"px":i.left=d.left-w.left+"px"}f.dropdownMenu.css(i)}var x=y?y:t,k=x.hasClass(y?m:g);if(k===!n&&o[n?"addClass":"removeClass"](x,y?m:g).then(function(){angular.isDefined(n)&&n!==r&&v(e,{open:!!n})}),n)f.dropdownMenuTemplateUrl&&c(f.dropdownMenuTemplateUrl).then(function(e){p=h.$new(),u(e.trim())(p,function(e){var t=e;f.dropdownMenu.replaceWith(t),f.dropdownMenu=t})}),h.focusToggleElement(),a.open(h,t);else{if(f.dropdownMenuTemplateUrl){p&&p.$destroy();var C=angular.element('');f.dropdownMenu.replaceWith(C),f.dropdownMenu=C}a.close(h,t),f.selectedOption=null}angular.isFunction($)&&$(e,n)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(e,t,n,r){r.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(e,t,n,r){if(r&&!angular.isDefined(n.dropdownNested)){t.addClass("dropdown-menu");var i=n.templateUrl;i&&(r.dropdownMenuTemplateUrl=i),r.dropdownMenu||(r.dropdownMenu=t)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(e,t,n,r){if(r){t.addClass("dropdown-toggle"),r.toggleElement=t;var i=function(i){i.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply(function(){r.toggle()})};t.bind("click",i),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(r.isOpen,function(e){t.attr("aria-expanded",!!e)}),e.$on("$destroy",function(){t.unbind("click",i)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n-1&&C>e&&(e=C),e}function p(e,t){var n=w.get(e).value,r=n.appendTo;w.remove(e),D=w.top(),D&&(C=parseInt(D.value.modalDomEl.attr("index"),10)),h(n.modalDomEl,n.modalScope,function(){var t=n.openedClass||y;x.remove(t,e);var i=x.hasKey(t);r.toggleClass(t,i),!i&&b&&b.heightOverflow&&b.scrollbarWidth&&(b.originalRight?r.css({paddingRight:b.originalRight+"px"}):r.css({paddingRight:""}),b=null),d(!0)},n.closedDeferred),f(),t&&t.focus?t.focus():r.focus&&r.focus()}function d(e){var t;w.length()>0&&(t=w.top().value,t.modalDomEl.toggleClass(t.windowTopClass||"",e))}function f(){if($&&-1===c()){var e=v;h($,v,function(){e=null}),$=void 0,v=void 0}}function h(t,n,r,i){function o(){o.done||(o.done=!0,e.leave(t).then(function(){t.remove(),i&&i.resolve()}),n.$destroy(),r&&r())}var s,l=null,u=function(){return s||(s=a.defer(),l=s.promise),function(){s.resolve()}};return n.$broadcast(k.NOW_CLOSING_EVENT,u),a.when(l).then(o)}function m(e){if(e.isDefaultPrevented())return e;var t=w.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),i.$apply(function(){k.dismiss(t.key,"escape key press")}));break;case 9:var n=k.loadFocusElementList(t),r=!1;e.shiftKey?(k.isFocusInFirstItem(e,n)||k.isModalFocused(e,t))&&(r=k.focusLastFocusableElement(n)):k.isFocusInLastItem(e,n)&&(r=k.focusFirstFocusableElement(n)),r&&(e.preventDefault(),e.stopPropagation())}}function g(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}var $,v,b,y="modal-open",w=s.createNew(),x=o.createNew(),k={NOW_CLOSING_EVENT:"modal.stack.now-closing"},C=0,D=null,S="a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]";return i.$watch(c,function(e){v&&(v.index=e)}),n.on("keydown",m),i.$on("$destroy",function(){n.off("keydown",m)}),k.open=function(t,a){var o=n[0].activeElement,s=a.openedClass||y;d(!1),D=w.top(),w.add(t,{deferred:a.deferred,renderDeferred:a.renderDeferred,closedDeferred:a.closedDeferred,modalScope:a.scope,backdrop:a.backdrop,keyboard:a.keyboard,openedClass:a.openedClass,windowTopClass:a.windowTopClass,animation:a.animation,appendTo:a.appendTo}),x.put(s,t);var u=a.appendTo,p=c();if(!u.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");p>=0&&!$&&(v=i.$new(!0),v.modalOptions=a,v.index=p,$=angular.element('
'),$.attr("backdrop-class",a.backdropClass),a.animation&&$.attr("modal-animation","true"),r($)(v),e.enter($,u),b=l.scrollbarPadding(u),b.heightOverflow&&b.scrollbarWidth&&u.css({paddingRight:b.right+"px"})),C=D?parseInt(D.value.modalDomEl.attr("index"),10)+1:0;var f=angular.element('
');f.attr({"template-url":a.windowTemplateUrl,"window-class":a.windowClass,"window-top-class":a.windowTopClass,size:a.size,index:C,animate:"animate"}).html(a.content),a.animation&&f.attr("modal-animation","true"),u.addClass(s),e.enter(r(f)(a.scope),u),w.top().value.modalDomEl=f,w.top().value.modalOpener=o},k.close=function(e,t){var n=w.get(e);return n&&g(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),p(e,n.value.modalOpener),!0):!n},k.dismiss=function(e,t){var n=w.get(e);return n&&g(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),p(e,n.value.modalOpener),!0):!n},k.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},k.getTop=function(){return w.top()},k.modalRendered=function(e){var t=w.get(e);t&&t.value.renderDeferred.resolve()},k.focusFirstFocusableElement=function(e){return e.length>0?(e[0].focus(),!0):!1},k.focusLastFocusableElement=function(e){return e.length>0?(e[e.length-1].focus(),!0):!1},k.isModalFocused=function(e,t){if(e&&t){var n=t.value.modalDomEl;if(n&&n.length)return(e.target||e.srcElement)===n[0]}return!1},k.isFocusInFirstItem=function(e,t){return t.length>0?(e.target||e.srcElement)===t[0]:!1},k.isFocusInLastItem=function(e,t){return t.length>0?(e.target||e.srcElement)===t[t.length-1]:!1},k.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var n=t[0].querySelectorAll(S);return n?Array.prototype.filter.call(n,function(e){return u(e)}):n}}},k}]).provider("$uibModal",function(){var e={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(t,n,r,i,a,o,s){function l(e){return e.template?n.when(e.template):i(angular.isFunction(e.templateUrl)?e.templateUrl():e.templateUrl)}var u={},c=null;return u.getPromiseChain=function(){return c},u.open=function(i){function u(){return $}var p=n.defer(),d=n.defer(),f=n.defer(),h=n.defer(),m={result:p.promise,opened:d.promise,closed:f.promise,rendered:h.promise,close:function(e){return s.close(m,e)},dismiss:function(e){return s.dismiss(m,e)}};if(i=angular.extend({},e.options,i),i.resolve=i.resolve||{},i.appendTo=i.appendTo||r.find("body").eq(0),!i.template&&!i.templateUrl)throw new Error("One of template or templateUrl options is required.");var g,$=n.all([l(i),o.resolve(i.resolve,{},null,null)]);return g=c=n.all([c]).then(u,u).then(function(e){var n=i.scope||t,r=n.$new();r.$close=m.close,r.$dismiss=m.dismiss,r.$on("$destroy",function(){r.$$uibDestructionScheduled||r.$dismiss("$uibUnscheduledDestruction")});var o,l,u={};i.controller&&(u.$scope=r,u.$uibModalInstance=m,angular.forEach(e[1],function(e,t){u[t]=e}),l=a(i.controller,u,!0),i.controllerAs?(o=l.instance,i.bindToController&&(o.$close=r.$close,o.$dismiss=r.$dismiss,angular.extend(o,n)),o=l(),r[i.controllerAs]=o):o=l(),angular.isFunction(o.$onInit)&&o.$onInit()),s.open(m,{scope:r,deferred:p,renderDeferred:h,closedDeferred:f,content:e[0],animation:i.animation,backdrop:i.backdrop,keyboard:i.keyboard,backdropClass:i.backdropClass,windowTopClass:i.windowTopClass,windowClass:i.windowClass,windowTemplateUrl:i.windowTemplateUrl,size:i.size,openedClass:i.openedClass,appendTo:i.appendTo}),d.resolve(!0)},function(e){d.reject(e),p.reject(e)})["finally"](function(){c===g&&(c=null)}),m},u}]};return e}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(e){return{create:function(t,n,r){t.setNumPages=r.numPages?e(r.numPages).assign:angular.noop,t.ngModelCtrl={$setViewValue:angular.noop},t._watchers=[],t.init=function(e,i){t.ngModelCtrl=e,t.config=i,e.$render=function(){t.render()},r.itemsPerPage?t._watchers.push(n.$parent.$watch(r.itemsPerPage,function(e){t.itemsPerPage=parseInt(e,10),n.totalPages=t.calculateTotalPages(),t.updatePage()})):t.itemsPerPage=i.itemsPerPage,n.$watch("totalItems",function(e,r){(angular.isDefined(e)||e!==r)&&(n.totalPages=t.calculateTotalPages(),t.updatePage())})},t.calculateTotalPages=function(){var e=t.itemsPerPage<1?1:Math.ceil(n.totalItems/t.itemsPerPage);return Math.max(e||0,1)},t.render=function(){n.page=parseInt(t.ngModelCtrl.$viewValue,10)||1},n.selectPage=function(e,r){r&&r.preventDefault();var i=!n.ngDisabled||!r;i&&n.page!==e&&e>0&&e<=n.totalPages&&(r&&r.target&&r.target.blur(),t.ngModelCtrl.$setViewValue(e),t.ngModelCtrl.$render())},n.getText=function(e){return n[e+"Text"]||t.config[e+"Text"]},n.noPrevious=function(){return 1===n.page},n.noNext=function(){return n.page===n.totalPages},t.updatePage=function(){t.setNumPages(n.$parent,n.totalPages),n.page>n.totalPages?n.selectPage(n.totalPages):t.ngModelCtrl.$render()},n.$on("$destroy",function(){for(;t._watchers.length;)t._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(e,t,n,r){e.align=angular.isDefined(t.align)?e.$parent.$eval(t.align):r.align,n.create(this,e,t)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(e){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],controller:"UibPagerController",controllerAs:"pager",templateUrl:function(e,t){return t.templateUrl||"uib/template/pager/pager.html"},replace:!0,link:function(t,n,r,i){var a=i[0],o=i[1];o&&a.init(o,e)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(e,t,n,r,i){function a(e,t,n){return{number:e,text:t,active:n}}function o(e,t){var n=[],r=1,i=t,o=angular.isDefined(l)&&t>l;o&&(u?(r=Math.max(e-Math.floor(l/2),1),i=r+l-1,i>t&&(i=t,r=i-l+1)):(r=(Math.ceil(e/l)-1)*l+1,i=Math.min(r+l-1,t)));for(var s=r;i>=s;s++){var f=a(s,d(s),s===e);n.push(f)}if(o&&l>0&&(!u||c||p)){if(r>1){if(!p||r>3){var h=a(r-1,"...",!1);n.unshift(h)}if(p){if(3===r){var m=a(2,"2",!1);n.unshift(m)}var g=a(1,"1",!1);n.unshift(g)}}if(t>i){if(!p||t-2>i){var $=a(i+1,"...",!1);n.push($)}if(p){if(i===t-2){var v=a(t-1,t-1,!1);n.push(v)}var b=a(t,t,!1);n.push(b)}}}return n}var s=this,l=angular.isDefined(t.maxSize)?e.$parent.$eval(t.maxSize):i.maxSize,u=angular.isDefined(t.rotate)?e.$parent.$eval(t.rotate):i.rotate,c=angular.isDefined(t.forceEllipses)?e.$parent.$eval(t.forceEllipses):i.forceEllipses,p=angular.isDefined(t.boundaryLinkNumbers)?e.$parent.$eval(t.boundaryLinkNumbers):i.boundaryLinkNumbers,d=angular.isDefined(t.pageLabel)?function(n){return e.$parent.$eval(t.pageLabel,{$page:n})}:angular.identity;e.boundaryLinks=angular.isDefined(t.boundaryLinks)?e.$parent.$eval(t.boundaryLinks):i.boundaryLinks,e.directionLinks=angular.isDefined(t.directionLinks)?e.$parent.$eval(t.directionLinks):i.directionLinks,r.create(this,e,t),t.maxSize&&s._watchers.push(e.$parent.$watch(n(t.maxSize),function(e){l=parseInt(e,10),s.render()}));var f=this.render;this.render=function(){f(),e.page>0&&e.page<=e.totalPages&&(e.pages=o(e.page,e.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(e,t){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"uib/template/pagination/pagination.html"},replace:!0,link:function(e,n,r,i){var a=i[0],o=i[1];o&&a.init(o,t)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){function e(e){var t=/[A-Z]/g,n="-";return e.replace(t,function(e,t){return(t?n:"")+e.toLowerCase()})}var t={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},n={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},r={};this.options=function(e){angular.extend(r,e)},this.setTriggers=function(e){angular.extend(n,e)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(i,a,o,s,l,u,c,p,d){function f(e){if(27===e.which){var t=h.top();t&&(t.value.close(),h.removeTop(),t=null)}}var h=d.createNew();return s.on("keypress",f),c.$on("$destroy",function(){s.off("keypress",f)}),function(i,c,d,f){function m(e){var t=(e||f.trigger||d).split(" "),r=t.map(function(e){return n[e]||e});return{show:t,hide:r}}f=angular.extend({},t,r,f);var g=e(i),$=u.startSymbol(),v=u.endSymbol(),b="
';return{compile:function(e,t){var n=a(b);return function(e,t,r,a){function u(){R.isOpen?g():d()}function d(){j&&!e.$eval(r[c+"Enable"])||(y(),k(),R.popupDelay?P||(P=o($,R.popupDelay,!1)):$())}function g(){v(),R.popupCloseDelay?N||(N=o(b,R.popupCloseDelay,!1)):b()}function $(){return v(),y(),R.content?(w(),void R.$evalAsync(function(){R.isOpen=!0,C(!0),B()})):angular.noop}function v(){P&&(o.cancel(P),P=null),I&&(o.cancel(I),I=null)}function b(){R&&R.$evalAsync(function(){R&&(R.isOpen=!1,C(!1),R.animation?A||(A=o(x,150,!1)):x())})}function y(){N&&(o.cancel(N),N=null),A&&(o.cancel(A),A=null)}function w(){O||(E=R.$new(),O=n(E,function(e){U?s.find("body").append(e):t.after(e)}),D())}function x(){v(),y(),S(),O&&(O.remove(),O=null),E&&(E.$destroy(),E=null)}function k(){R.title=r[c+"Title"],L?R.content=L(e):R.content=r[i],R.popupClass=r[c+"Class"],R.placement=angular.isDefined(r[c+"Placement"])?r[c+"Placement"]:f.placement;var t=l.parsePlacement(R.placement);V=t[1]?t[0]+"-"+t[1]:t[0];var n=parseInt(r[c+"PopupDelay"],10),a=parseInt(r[c+"PopupCloseDelay"],10);R.popupDelay=isNaN(n)?f.popupDelay:n,R.popupCloseDelay=isNaN(a)?f.popupCloseDelay:a}function C(t){H&&angular.isFunction(H.assign)&&H.assign(e,t)}function D(){_.length=0,L?(_.push(e.$watch(L,function(e){R.content=e,!e&&R.isOpen&&b()})),_.push(E.$watch(function(){q||(q=!0,E.$$postDigest(function(){q=!1,R&&R.isOpen&&B()}))}))):_.push(r.$observe(i,function(e){R.content=e,!e&&R.isOpen?b():B()})),_.push(r.$observe(c+"Title",function(e){R.title=e,R.isOpen&&B()})),_.push(r.$observe(c+"Placement",function(e){R.placement=e?e:f.placement,R.isOpen&&B()}))}function S(){_.length&&(angular.forEach(_,function(e){e()}),_.length=0)}function M(e){R&&R.isOpen&&O&&(t[0].contains(e.target)||O[0].contains(e.target)||g())}function T(){var e=r[c+"Trigger"];z(),F=m(e),"none"!==F.show&&F.show.forEach(function(e,n){"outsideClick"===e?(t.on("click",u),s.on("click",M)):e===F.hide[n]?t.on(e,u):e&&(t.on(e,d),t.on(F.hide[n],g)),t.on("keypress",function(e){27===e.which&&g()})})}var O,E,A,P,N,I,V,U=angular.isDefined(f.appendToBody)?f.appendToBody:!1,F=m(void 0),j=angular.isDefined(r[c+"Enable"]),R=e.$new(!0),q=!1,H=angular.isDefined(r[c+"IsOpen"])?p(r[c+"IsOpen"]):!1,L=f.useContentExp?p(r[i]):!1,_=[],B=function(){O&&O.html()&&(I||(I=o(function(){var e=l.positionElements(t,O,R.placement,U);O.css({top:e.top+"px",left:e.left+"px"}),O.hasClass(e.placement.split("-")[0])||(O.removeClass(V.split("-")[0]),O.addClass(e.placement.split("-")[0])),O.hasClass(f.placementClassPrefix+e.placement)||(O.removeClass(f.placementClassPrefix+V),O.addClass(f.placementClassPrefix+e.placement)),O.hasClass("uib-position-measure")?(l.positionArrow(O,e.placement),O.removeClass("uib-position-measure")):V!==e.placement&&l.positionArrow(O,e.placement),V=e.placement,I=null},0,!1)))};R.origScope=e,R.isOpen=!1,h.add(R,{close:b}),R.contentExp=function(){return R.content},r.$observe("disabled",function(e){e&&v(),e&&R.isOpen&&b()}),H&&e.$watch(H,function(e){R&&!e===R.isOpen&&u()});var z=function(){F.show.forEach(function(e){"outsideClick"===e?t.off("click",u):(t.off(e,d),t.off(e,u))}),F.hide.forEach(function(e){"outsideClick"===e?s.off("click",M):t.off(e,g)})};T();var W=e.$eval(r[c+"Animation"]);R.animation=angular.isDefined(W)?!!W:f.animation;var Y,G=c+"AppendToBody";Y=G in r&&void 0===r[G]?!0:e.$eval(r[G]),U=angular.isDefined(Y)?Y:U,e.$on("$destroy",function(){z(),x(),h.remove(R),R=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(e,t,n,r){return{link:function(i,a,o){var s,l,u,c=i.$eval(o.tooltipTemplateTranscludeScope),p=0,d=function(){l&&(l.remove(),l=null),s&&(s.$destroy(),s=null),u&&(e.leave(u).then(function(){l=null}),l=u,u=null)};i.$watch(t.parseAsResourceUrl(o.uibTooltipTemplateTransclude),function(t){var o=++p;t?(r(t,!0).then(function(r){if(o===p){var i=c.$new(),l=r,f=n(l)(i,function(t){d(),e.enter(t,a)});s=i,u=f,s.$emit("$includeContentLoaded",t)}},function(){o===p&&(d(),i.$emit("$includeContentError",t))}),i.$emit("$includeContentRequested",t)):d()}),i.$on("$destroy",d)}}}]).directive("uibTooltipClasses",["$uibPosition",function(e){return{restrict:"A",link:function(t,n,r){if(t.placement){var i=e.parsePlacement(t.placement);n.addClass(i[0])}t.popupClass&&n.addClass(t.popupClass),t.animation()&&n.addClass(r.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(e){return e("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(e){return e("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(e){return e("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{replace:!0,scope:{uibTitle:"@",contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(e){return e("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{replace:!0,scope:{contentExp:"&",uibTitle:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(e){return e("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{replace:!0,scope:{uibTitle:"@",content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(e){return e("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(e,t,n){function r(){return angular.isDefined(e.maxParam)?e.maxParam:n.max}var i=this,a=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;this.bars=[],e.max=r(),this.addBar=function(e,t,n){a||t.css({transition:"none"}),this.bars.push(e),e.max=r(),e.title=n&&angular.isDefined(n.title)?n.title:"progressbar",e.$watch("value",function(t){e.recalculatePercentage()}),e.recalculatePercentage=function(){var t=i.bars.reduce(function(e,t){return t.percent=+(100*t.value/t.max).toFixed(2),e+t.percent},0);t>100&&(e.percent-=t-100)},e.$on("$destroy",function(){t=null,i.removeBar(e)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1),this.bars.forEach(function(e){e.recalculatePercentage()})},e.$watch("maxParam",function(e){i.bars.forEach(function(e){e.max=r(),e.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(e,t,n,r){r.addBar(e,t,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(e,t,n,r){r.addBar(e,angular.element(t.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(e,t,n){var r={$setViewValue:angular.noop},i=this;this.init=function(i){r=i,r.$render=this.render,r.$formatters.push(function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e}),this.stateOn=angular.isDefined(t.stateOn)?e.$parent.$eval(t.stateOn):n.stateOn,this.stateOff=angular.isDefined(t.stateOff)?e.$parent.$eval(t.stateOff):n.stateOff,this.enableReset=angular.isDefined(t.enableReset)?e.$parent.$eval(t.enableReset):n.enableReset;var a=angular.isDefined(t.titles)?e.$parent.$eval(t.titles):n.titles;this.titles=angular.isArray(a)&&a.length>0?a:n.titles;var o=angular.isDefined(t.ratingStates)?e.$parent.$eval(t.ratingStates):new Array(angular.isDefined(t.max)?e.$parent.$eval(t.max):n.max);e.range=this.buildTemplateObjects(o)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;n>t;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},e.rate=function(t){if(!e.readonly&&t>=0&&t<=e.range.length){var n=i.enableReset&&r.$viewValue===t?0:t;r.$setViewValue(n),r.$render()}},e.enter=function(t){e.readonly||(e.value=t),e.onHover({value:t})},e.reset=function(){e.value=r.$viewValue,e.onLeave(); +},e.onKeydown=function(t){/(37|38|39|40)/.test(t.which)&&(t.preventDefault(),t.stopPropagation(),e.rate(e.value+(38===t.which||39===t.which?1:-1)))},this.render=function(){e.value=r.$viewValue,e.title=i.getTitle(e.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",replace:!0,link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(e){function t(e){for(var t=0;tt.index?1:e.index0&&13>t:t>=0&&24>t;return n&&""!==e.hours?(e.showMeridian&&(12===t&&(t=0),e.meridian===w[1]&&(t+=12)),t):void 0}function l(){var t=+e.minutes,n=t>=0&&60>t;return n&&""!==e.minutes?t:void 0}function u(){var t=+e.seconds;return t>=0&&60>t?t:void 0}function c(e,t){return null===e?"":angular.isDefined(e)&&e.toString().length<2&&!t?"0"+e:e.toString()}function p(e){d(),y.$setViewValue(new Date(v)),f(e)}function d(){y.$setValidity("time",!0),e.invalidHours=!1,e.invalidMinutes=!1,e.invalidSeconds=!1}function f(t){if(y.$modelValue){var n=v.getHours(),r=v.getMinutes(),i=v.getSeconds();e.showMeridian&&(n=0===n||12===n?12:n%12),e.hours="h"===t?n:c(n,!x),"m"!==t&&(e.minutes=c(r)),e.meridian=v.getHours()<12?w[0]:w[1],"s"!==t&&(e.seconds=c(i)),e.meridian=v.getHours()<12?w[0]:w[1]}else e.hours=null,e.minutes=null,e.seconds=null,e.meridian=w[0]}function h(e){v=g(v,e),p()}function m(e,t){return g(e,60*t)}function g(e,t){var n=new Date(e.getTime()+1e3*t),r=new Date(e);return r.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),r}function $(){return(null===e.hours||""===e.hours)&&(null===e.minutes||""===e.minutes)&&(!e.showSeconds||e.showSeconds&&(null===e.seconds||""===e.seconds))}var v=new Date,b=[],y={$setViewValue:angular.noop},w=angular.isDefined(n.meridians)?e.$parent.$eval(n.meridians):o.meridians||a.DATETIME_FORMATS.AMPMS,x=angular.isDefined(n.padHours)?e.$parent.$eval(n.padHours):!0;e.tabindex=angular.isDefined(n.tabindex)?n.tabindex:0,t.removeAttr("tabindex"),this.init=function(t,r){y=t,y.$render=this.render,y.$formatters.unshift(function(e){return e?new Date(e):null});var i=r.eq(0),a=r.eq(1),s=r.eq(2),l=angular.isDefined(n.mousewheel)?e.$parent.$eval(n.mousewheel):o.mousewheel;l&&this.setupMousewheelEvents(i,a,s);var u=angular.isDefined(n.arrowkeys)?e.$parent.$eval(n.arrowkeys):o.arrowkeys;u&&this.setupArrowkeyEvents(i,a,s),e.readonlyInput=angular.isDefined(n.readonlyInput)?e.$parent.$eval(n.readonlyInput):o.readonlyInput,this.setupInputEvents(i,a,s)};var k=o.hourStep;n.hourStep&&b.push(e.$parent.$watch(r(n.hourStep),function(e){k=+e}));var C=o.minuteStep;n.minuteStep&&b.push(e.$parent.$watch(r(n.minuteStep),function(e){C=+e}));var D;b.push(e.$parent.$watch(r(n.min),function(e){var t=new Date(e);D=isNaN(t)?void 0:t}));var S;b.push(e.$parent.$watch(r(n.max),function(e){var t=new Date(e);S=isNaN(t)?void 0:t}));var M=!1;n.ngDisabled&&b.push(e.$parent.$watch(r(n.ngDisabled),function(e){M=e})),e.noIncrementHours=function(){var e=m(v,60*k);return M||e>S||v>e&&D>e},e.noDecrementHours=function(){var e=m(v,60*-k);return M||D>e||e>v&&e>S},e.noIncrementMinutes=function(){var e=m(v,C);return M||e>S||v>e&&D>e},e.noDecrementMinutes=function(){var e=m(v,-C);return M||D>e||e>v&&e>S},e.noIncrementSeconds=function(){var e=g(v,T);return M||e>S||v>e&&D>e},e.noDecrementSeconds=function(){var e=g(v,-T);return M||D>e||e>v&&e>S},e.noToggleMeridian=function(){return v.getHours()<12?M||m(v,720)>S:M||m(v,-720)0};t.bind("mousewheel wheel",function(t){M||e.$apply(i(t)?e.incrementHours():e.decrementHours()),t.preventDefault()}),n.bind("mousewheel wheel",function(t){M||e.$apply(i(t)?e.incrementMinutes():e.decrementMinutes()),t.preventDefault()}),r.bind("mousewheel wheel",function(t){M||e.$apply(i(t)?e.incrementSeconds():e.decrementSeconds()),t.preventDefault()})},this.setupArrowkeyEvents=function(t,n,r){t.bind("keydown",function(t){M||(38===t.which?(t.preventDefault(),e.incrementHours(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementHours(),e.$apply()))}),n.bind("keydown",function(t){M||(38===t.which?(t.preventDefault(),e.incrementMinutes(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementMinutes(),e.$apply()))}),r.bind("keydown",function(t){M||(38===t.which?(t.preventDefault(),e.incrementSeconds(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementSeconds(),e.$apply()))})},this.setupInputEvents=function(t,n,r){if(e.readonlyInput)return e.updateHours=angular.noop,e.updateMinutes=angular.noop,void(e.updateSeconds=angular.noop);var i=function(t,n,r){y.$setViewValue(null),y.$setValidity("time",!1),angular.isDefined(t)&&(e.invalidHours=t),angular.isDefined(n)&&(e.invalidMinutes=n),angular.isDefined(r)&&(e.invalidSeconds=r)};e.updateHours=function(){var e=s(),t=l();y.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(v.setHours(e),v.setMinutes(t),D>v||v>S?i(!0):p("h")):i(!0)},t.bind("blur",function(t){y.$setTouched(),$()?d():null===e.hours||""===e.hours?i(!0):!e.invalidHours&&e.hours<10&&e.$apply(function(){e.hours=c(e.hours,!x)})}),e.updateMinutes=function(){var e=l(),t=s();y.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(v.setHours(t),v.setMinutes(e),D>v||v>S?i(void 0,!0):p("m")):i(void 0,!0)},n.bind("blur",function(t){y.$setTouched(),$()?d():null===e.minutes?i(void 0,!0):!e.invalidMinutes&&e.minutes<10&&e.$apply(function(){e.minutes=c(e.minutes)})}),e.updateSeconds=function(){var e=u();y.$setDirty(),angular.isDefined(e)?(v.setSeconds(e),p("s")):i(void 0,void 0,!0)},r.bind("blur",function(t){$()?d():!e.invalidSeconds&&e.seconds<10&&e.$apply(function(){e.seconds=c(e.seconds)})})},this.render=function(){var t=y.$viewValue;isNaN(t)?(y.$setValidity("time",!1),i.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(t&&(v=t),D>v||v>S?(y.$setValidity("time",!1),e.invalidHours=!0,e.invalidMinutes=!0):d(),f())},e.showSpinners=angular.isDefined(n.showSpinners)?e.$parent.$eval(n.showSpinners):o.showSpinners,e.incrementHours=function(){e.noIncrementHours()||h(60*k*60)},e.decrementHours=function(){e.noDecrementHours()||h(60*-k*60)},e.incrementMinutes=function(){e.noIncrementMinutes()||h(60*C)},e.decrementMinutes=function(){e.noDecrementMinutes()||h(60*-C)},e.incrementSeconds=function(){e.noIncrementSeconds()||h(T)},e.decrementSeconds=function(){e.noDecrementSeconds()||h(-T)},e.toggleMeridian=function(){var t=l(),n=s();e.noToggleMeridian()||(angular.isDefined(t)&&angular.isDefined(n)?h(720*(v.getHours()<12?60:-60)):e.meridian=e.meridian===w[0]?w[1]:w[0])},e.blur=function(){y.$setTouched()},e.$on("$destroy",function(){for(;b.length;)b.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(e){return{require:["uibTimepicker","?^ngModel"],controller:"UibTimepickerController",controllerAs:"timepicker",replace:!0,scope:{},templateUrl:function(t,n){return n.templateUrl||e.templateUrl},link:function(e,t,n,r){var i=r[0],a=r[1];a&&i.init(a,t.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(e){var t=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var r=n.match(t);if(!r)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:r[3],source:e(r[4]),viewMapper:e(r[2]||r[1]),modelMapper:e(r[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(e,t,n,r,i,a,o,s,l,u,c,p,d){function f(){R.moveInProgress||(R.moveInProgress=!0,R.$digest()),J()}function h(){R.position=O?p.offset(t):p.position(t),R.position.top+=t.prop("offsetHeight")}var m,g,$=[9,13,27,38,40],v=200,b=e.$eval(n.typeaheadMinLength);b||0===b||(b=1),e.$watch(n.typeaheadMinLength,function(e){b=e||0===e?e:1});var y=e.$eval(n.typeaheadWaitMs)||0,w=e.$eval(n.typeaheadEditable)!==!1;e.$watch(n.typeaheadEditable,function(e){w=e!==!1});var x,k,C=i(n.typeaheadLoading).assign||angular.noop,D=i(n.typeaheadOnSelect),S=angular.isDefined(n.typeaheadSelectOnBlur)?e.$eval(n.typeaheadSelectOnBlur):!1,M=i(n.typeaheadNoResults).assign||angular.noop,T=n.typeaheadInputFormatter?i(n.typeaheadInputFormatter):void 0,O=n.typeaheadAppendToBody?e.$eval(n.typeaheadAppendToBody):!1,E=n.typeaheadAppendTo?e.$eval(n.typeaheadAppendTo):null,A=e.$eval(n.typeaheadFocusFirst)!==!1,P=n.typeaheadSelectOnExact?e.$eval(n.typeaheadSelectOnExact):!1,N=i(n.typeaheadIsOpen).assign||angular.noop,I=e.$eval(n.typeaheadShowHint)||!1,V=i(n.ngModel),U=i(n.ngModel+"($$$p)"),F=function(t,n){return angular.isFunction(V(e))&&g&&g.$options&&g.$options.getterSetter?U(t,{$$$p:n}):V.assign(t,n)},j=d.parse(n.uibTypeahead),R=e.$new(),q=e.$on("$destroy",function(){R.$destroy()});R.$on("$destroy",q);var H="typeahead-"+R.$id+"-"+Math.floor(1e4*Math.random());t.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":H});var L,_;I&&(L=angular.element("
"),L.css("position","relative"),t.after(L),_=t.clone(),_.attr("placeholder",""),_.attr("tabindex","-1"),_.val(""),_.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),t.css({position:"relative","vertical-align":"top","background-color":"transparent"}),L.append(_),_.after(t));var B=angular.element("
");B.attr({id:H,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(n.typeaheadTemplateUrl)&&B.attr("template-url",n.typeaheadTemplateUrl),angular.isDefined(n.typeaheadPopupTemplateUrl)&&B.attr("popup-template-url",n.typeaheadPopupTemplateUrl);var z=function(){I&&_.val("")},W=function(){R.matches=[],R.activeIdx=-1,t.attr("aria-expanded",!1),z()},Y=function(e){return H+"-option-"+e};R.$watch("activeIdx",function(e){0>e?t.removeAttr("aria-activedescendant"):t.attr("aria-activedescendant",Y(e))});var G=function(e,t){return R.matches.length>t&&e?e.toUpperCase()===R.matches[t].label.toUpperCase():!1},K=function(n,r){var i={$viewValue:n};C(e,!0),M(e,!1),a.when(j.source(e,i)).then(function(a){var o=n===m.$viewValue;if(o&&x)if(a&&a.length>0){R.activeIdx=A?0:-1,M(e,!1),R.matches.length=0;for(var s=0;s0&&l.slice(0,n.length).toUpperCase()===n.toUpperCase()?_.val(n+l.slice(n.length)):_.val("")}}else W(),M(e,!0);o&&C(e,!1)},function(){W(),C(e,!1),M(e,!0)})};O&&(angular.element(l).on("resize",f),s.find("body").on("scroll",f));var J=c(function(){R.matches.length&&h(),R.moveInProgress=!1},v);R.moveInProgress=!1,R.query=void 0;var Z,X=function(e){Z=o(function(){K(e)},y)},Q=function(){Z&&o.cancel(Z)};W(),R.assignIsOpen=function(t){N(e,t)},R.select=function(r,i){var a,s,l={};k=!0,l[j.itemName]=s=R.matches[r].model,a=j.modelMapper(e,l),F(e,a),m.$setValidity("editable",!0),m.$setValidity("parse",!0),D(e,{$item:s,$model:a,$label:j.viewMapper(e,l),$event:i}),W(),R.$eval(n.typeaheadFocusOnSelect)!==!1&&o(function(){t[0].focus()},0,!1)},t.on("keydown",function(t){if(0!==R.matches.length&&-1!==$.indexOf(t.which)){if(-1===R.activeIdx&&(9===t.which||13===t.which)||9===t.which&&t.shiftKey)return W(),void R.$digest();t.preventDefault();var n;switch(t.which){case 9:case 13:R.$apply(function(){angular.isNumber(R.debounceUpdate)||angular.isObject(R.debounceUpdate)?c(function(){R.select(R.activeIdx,t)},angular.isNumber(R.debounceUpdate)?R.debounceUpdate:R.debounceUpdate["default"]):R.select(R.activeIdx,t)});break;case 27:t.stopPropagation(),W(),e.$digest();break;case 38:R.activeIdx=(R.activeIdx>0?R.activeIdx:R.matches.length)-1,R.$digest(),n=B.find("li")[R.activeIdx],n.parentNode.scrollTop=n.offsetTop;break;case 40:R.activeIdx=(R.activeIdx+1)%R.matches.length,R.$digest(),n=B.find("li")[R.activeIdx],n.parentNode.scrollTop=n.offsetTop}}}),t.bind("focus",function(e){x=!0,0!==b||m.$viewValue||o(function(){K(m.$viewValue,e)},0)}),t.bind("blur",function(e){S&&R.matches.length&&-1!==R.activeIdx&&!k&&(k=!0,R.$apply(function(){angular.isObject(R.debounceUpdate)&&angular.isNumber(R.debounceUpdate.blur)?c(function(){R.select(R.activeIdx,e)},R.debounceUpdate.blur):R.select(R.activeIdx,e)})),!w&&m.$error.editable&&(m.$setViewValue(),m.$setValidity("editable",!0),m.$setValidity("parse",!0),t.val("")),x=!1,k=!1});var ee=function(n){t[0]!==n.target&&3!==n.which&&0!==R.matches.length&&(W(),u.$$phase||e.$digest())};s.on("click",ee),e.$on("$destroy",function(){s.off("click",ee),(O||E)&&te.remove(),O&&(angular.element(l).off("resize",f),s.find("body").off("scroll",f)),B.remove(),I&&L.remove()});var te=r(B)(R);O?s.find("body").append(te):E?angular.element(E).eq(0).append(te):t.after(te),this.init=function(t,n){m=t,g=n,R.debounceUpdate=m.$options&&i(m.$options.debounce)(e),m.$parsers.unshift(function(t){return x=!0,0===b||t&&t.length>=b?y>0?(Q(),X(t)):K(t):(C(e,!1),Q(),W()),w?t:t?void m.$setValidity("editable",!1):(m.$setValidity("editable",!0),null)}),m.$formatters.push(function(t){var n,r,i={};return w||m.$setValidity("editable",!0),T?(i.$model=t,T(e,i)):(i[j.itemName]=t,n=j.viewMapper(e,i),i[j.itemName]=void 0,r=j.viewMapper(e,i),n!==r?n:t)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","^?ngModelOptions","uibTypeahead"],link:function(e,t,n,r){r[2].init(r[0],r[1])}}}).directive("uibTypeaheadPopup",["$$debounce",function(e){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(e,t){return t.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(t,n,r){t.templateUrl=r.templateUrl,t.isOpen=function(){var e=t.matches.length>0;return t.assignIsOpen({isOpen:e}),e},t.isActive=function(e){return t.active===e},t.selectActive=function(e){t.active=e},t.selectMatch=function(n,r){var i=t.debounce();angular.isNumber(i)||angular.isObject(i)?e(function(){t.select({activeIdx:n,evt:r})},angular.isNumber(i)?i:i["default"]):t.select({activeIdx:n,evt:r})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(e,t,n){return{scope:{index:"=",match:"=",query:"="},link:function(r,i,a){var o=n(a.templateUrl)(r.$parent)||"uib/template/typeahead/typeahead-match.html";e(o).then(function(e){var n=angular.element(e.trim());i.replaceWith(n),t(n)(r)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(e,t,n){function r(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function i(e){return/<.*>/g.test(e)}var a;return a=t.has("$sanitize"),function(t,o){return!a&&i(t)&&n.warn("Unsafe use of typeahead please use ngSanitize"),t=o?(""+t).replace(new RegExp(r(o),"gi"),"$&"):t,a||(t=e.trustAsHtml(t)),t}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion-group.html",'
\n \n
\n
\n
\n
\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion.html",'
')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("uib/template/alert/alert.html",'\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/carousel.html",'\n')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/slide.html",'
\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/datepicker.html",'
\n \n \n \n
\n')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/day.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{{::label.abbr}}
{{ weekNumbers[$index] }}\n \n
\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/month.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/year.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n')}]),angular.module("uib/template/datepickerPopup/popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepickerPopup/popup.html",'
\n \n
\n')}]),angular.module("uib/template/modal/backdrop.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/backdrop.html",'\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/window.html",'\n')}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(e){e.put("uib/template/pager/pager.html",'\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("uib/template/pagination/pagination.html",'\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-html-popup.html",'
\n
\n
\n
\n'); +}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-popup.html",'
\n
\n
\n
\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-template-popup.html",'
\n
\n
\n
\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-html.html",'
\n
\n\n
\n

\n
\n
\n
\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-template.html",'
\n
\n\n
\n

\n
\n
\n
\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover.html",'
\n
\n\n
\n

\n
\n
\n
\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/bar.html",'
\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progress.html",'
')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progressbar.html",'
\n
\n
\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("uib/template/rating/rating.html",'\n ({{ $index < value ? \'*\' : \' \' }})\n \n\n')}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tab.html",'\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tabset.html",'
\n \n
\n
\n
\n
\n
\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/timepicker/timepicker.html",'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
  
\n \n :\n \n :\n \n
  
\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-match.html",'\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-popup.html",'\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibCarouselCss&&angular.element(document).find("head").prepend(''),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerCss&&angular.element(document).find("head").prepend(''),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibPositionCss&&angular.element(document).find("head").prepend(''),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerpopupCss&&angular.element(document).find("head").prepend(''),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTooltipCss&&angular.element(document).find("head").prepend(''),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTimepickerCss&&angular.element(document).find("head").prepend(''),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTypeaheadCss&&angular.element(document).find("head").prepend(''),angular.$$uibTypeaheadCss=!0}),function(e,t){"use strict";function n(e,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,a,o,s,l){function u(){f&&(r.cancel(f),f=null),p&&(p.$destroy(),p=null),d&&(f=r.leave(d),f.then(function(){f=null}),d=null)}function c(){var o=e.current&&e.current.locals;if(t.isDefined(o&&o.$template)){var o=i.$new(),s=e.current;d=l(o,function(e){r.enter(e,null,d||a).then(function(){!t.isDefined(h)||h&&!i.$eval(h)||n()}),u()}),p=s.scope=o,p.$emit("$viewContentLoaded"),p.$eval(m)}else u()}var p,d,f,h=o.autoscroll,m=o.onload||"";i.$on("$routeChangeSuccess",c),c()}}}function r(e,t,n){return{restrict:"ECA",priority:-400,link:function(r,i){var a=n.current,o=a.locals;i.html(o.$template);var s=e(i.contents());if(a.controller){o.$scope=r;var l=t(a.controller,o);a.controllerAs&&(r[a.controllerAs]=l),i.data("$ngControllerController",l),i.children().data("$ngControllerController",l)}r[a.resolveAs||"$resolve"]=o,s(r)}}}var i=t.module("ngRoute",["ng"]).provider("$route",function(){function e(e,n){return t.extend(Object.create(e),n)}function n(e,t){var n=t.caseInsensitiveMatch,r={originalPath:e,regexp:e},i=r.keys=[];return e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[\?\*])?/g,function(e,t,n,r){return e="?"===r||"*?"===r?"?":null,r="*"===r||"*?"===r?"*":null,i.push({name:n,optional:!!e}),t=t||"",""+(e?"":t)+"(?:"+(e?t:"")+(r&&"(.+?)"||"([^/]+)")+(e||"")+")"+(e||"")}).replace(/([\/$\*])/g,"\\$1"),r.regexp=new RegExp("^"+e+"$",n?"i":""),r}var r={};this.when=function(e,i){var a=t.copy(i);if(t.isUndefined(a.reloadOnSearch)&&(a.reloadOnSearch=!0),t.isUndefined(a.caseInsensitiveMatch)&&(a.caseInsensitiveMatch=this.caseInsensitiveMatch),r[e]=t.extend(a,e&&n(e,a)),e){var o="/"==e[e.length-1]?e.substr(0,e.length-1):e+"/";r[o]=t.extend({redirectTo:e},n(o,a))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(e){return"string"==typeof e&&(e={redirectTo:e}),this.when(null,e),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(n,i,o,s,l,u,c){function p(e){var r=v.current;(g=(m=f())&&r&&m.$$route===r.$$route&&t.equals(m.pathParams,r.pathParams)&&!m.reloadOnSearch&&!$)||!r&&!m||n.$broadcast("$routeChangeStart",m,r).defaultPrevented&&e&&e.preventDefault()}function d(){var e=v.current,r=m;g?(e.params=r.params,t.copy(e.params,o),n.$broadcast("$routeUpdate",e)):(r||e)&&($=!1,(v.current=r)&&r.redirectTo&&(t.isString(r.redirectTo)?i.path(h(r.redirectTo,r.params)).search(r.params).replace():i.url(r.redirectTo(r.pathParams,i.path(),i.search())).replace()),s.when(r).then(function(){if(r){var e,n,i=t.extend({},r.resolve);return t.forEach(i,function(e,n){i[n]=t.isString(e)?l.get(e):l.invoke(e,null,null,n)}),t.isDefined(e=r.template)?t.isFunction(e)&&(e=e(r.params)):t.isDefined(n=r.templateUrl)&&(t.isFunction(n)&&(n=n(r.params)),t.isDefined(n)&&(r.loadedTemplateUrl=c.valueOf(n),e=u(n))),t.isDefined(e)&&(i.$template=e),s.all(i)}}).then(function(i){r==v.current&&(r&&(r.locals=i,t.copy(r.params,o)),n.$broadcast("$routeChangeSuccess",r,e))},function(t){r==v.current&&n.$broadcast("$routeChangeError",r,e,t)}))}function f(){var n,a;return t.forEach(r,function(r,o){var s;if(s=!a){var l=i.path();s=r.keys;var u={};if(r.regexp)if(l=r.regexp.exec(l)){for(var c=1,p=l.length;p>c;++c){var d=s[c-1],f=l[c];d&&f&&(u[d.name]=f)}s=u}else s=null;else s=null;s=n=s}s&&(a=e(r,{params:t.extend({},i.search(),n),pathParams:n}),a.$$route=r)}),a||r[null]&&e(r[null],{params:{},pathParams:{}})}function h(e,n){var r=[];return t.forEach((e||"").split(":"),function(e,t){if(0===t)r.push(e);else{var i=e.match(/(\w+)(?:[?*])?(.*)/),a=i[1];r.push(n[a]),r.push(i[2]||""),delete n[a]}}),r.join("")}var m,g,$=!1,v={routes:r,reload:function(){$=!0;var e={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,$=!1}};n.$evalAsync(function(){p(e),e.defaultPrevented||d()})},updateParams:function(e){if(!this.current||!this.current.$$route)throw a("norout");e=t.extend({},this.current.params,e),i.path(h(this.current.$$route.originalPath,e)),i.search(e)}};return n.$on("$locationChangeStart",p),n.$on("$locationChangeSuccess",d),v}]}),a=t.$$minErr("ngRoute");i.provider("$routeParams",function(){this.$get=function(){return{}}}),i.directive("ngView",n),i.directive("ngView",r),n.$inject=["$route","$anchorScroll","$animate"],r.$inject=["$compile","$controller","$route"]}(window,window.angular),function(e,t){"use strict";function n(e,t,n){if(!e)throw K("areq",t||"?",n||"required");return e}function r(e,t){return e||t?e?t?(j(e)&&(e=e.join(" ")),j(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function i(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}function a(e,t,n){var r="";return e=j(e)?e:e&&R(e)&&e.length?e.split(/\s+/):[],F(e,function(e,i){e&&00?" ":"",r+=n?t+e:e+t)}),r}function o(e){if(e instanceof U)switch(e.length){case 0:return[];case 1:if(1===e[0].nodeType)return e;break;default:return U(s(e))}return 1===e.nodeType?U(e):void 0}function s(e){if(!e[0])return e;for(var t=0;t=0)&&(n=C(n)),0===n&&(n=null),r[t]=n}}),r}function C(e){var t=0;return e=e.split(/\s*,\s*/),F(e,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function D(e){return 0===e||null!=e}function S(e,t){var n=O,r=e+"s";return t?n+="Duration":r+=" linear all",[n,r]}function M(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){return(t=e[t])?t.total:0},get:function(t){return(t=e[t])&&t.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function T(e,t,n){F(n,function(n){e[n]=L(e[n])?e[n]:t.style.getPropertyValue(n)})}var O,E,A,P,N=t.noop,I=t.copy,V=t.extend,U=t.element,F=t.forEach,j=t.isArray,R=t.isString,q=t.isObject,H=t.isUndefined,L=t.isDefined,_=t.isFunction,B=t.isElement;H(e.ontransitionend)&&L(e.onwebkittransitionend)?(O="WebkitTransition",E="webkitTransitionEnd transitionend"):(O="transition",E="transitionend"),H(e.onanimationend)&&L(e.onwebkitanimationend)?(A="WebkitAnimation",P="webkitAnimationEnd animationend"):(A="animation",P="animationend");var z=A+"Delay",W=A+"Duration",Y=O+"Delay",G=O+"Duration",K=t.$$minErr("ng"),J={transitionDuration:G,transitionDelay:Y,transitionProperty:O+"Property",animationDuration:W,animationDelay:z,animationIterationCount:A+"IterationCount"},Z={transitionDuration:G,transitionDelay:Y,animationDuration:W,animationDelay:z};t.module("ngAnimate",[]).directive("ngAnimateSwap",["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,a){var o,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){o&&e.leave(o),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),a(s,function(t){o=t,e.enter(t,null,n)}))})}}}]).directive("ngAnimateChildren",["$interpolate",function(e){return{link:function(n,r,i){function a(e){r.data("$$ngAnimateChildren","on"===e||"true"===e)}var o=i.ngAnimateChildren;t.isString(o)&&0===o.length?r.data("$$ngAnimateChildren",!0):(a(e(o)(n)),i.$observe("ngAnimateChildren",a))}}}]).factory("$$rAFScheduler",["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),a=0;a=e&&(e=i,i=0,n.push(a),a=[]),a.push(o.fn),o.children.forEach(function(e){i++,r.push(e)}),e--}return a.length&&n.push(a),n}(r)}var f=[],h=c(e);return function(s,c,m){function g(e){e=e.hasAttribute("ng-animate-ref")?[e]:e.querySelectorAll("[ng-animate-ref]");var t=[];return F(e,function(e){var n=e.getAttribute("ng-animate-ref");n&&n.length&&t.push(e)}),t}function v(e){var t=[],n={};F(e,function(e,r){var i=$(e.element),a=0<=["enter","move"].indexOf(e.event),i=e.structural?g(i):[];if(i.length){var o=a?"to":"from";F(i,function(e){var t=e.getAttribute("ng-animate-ref");n[t]=n[t]||{},n[t][o]={animationID:r,element:U(e)}})}else t.push(e)});var r={},i={};return F(n,function(n,a){var o=n.from,s=n.to;if(o&&s){var l=e[o.animationID],u=e[s.animationID],c=o.animationID.toString();if(!i[c]){var p=i[c]={structural:!0,beforeStart:function(){l.beforeStart(),u.beforeStart()},close:function(){l.close(),u.close()},classes:b(l.classes,u.classes),from:l,to:u,anchors:[]};p.classes.length?t.push(p):(t.push(l),t.push(u))}i[c].anchors.push({out:o.element,"in":s.element})}else o=o?o.animationID:s.animationID,s=o.toString(),r[s]||(r[s]=!0,t.push(e[o]))}),t}function b(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r=0;t--){var r=n[t];if(a.has(r)&&(r=a.get(r)(e)))return r}}function w(e,n){e.from&&e.to?(t(e.from.element).setHost(n),t(e.to.element).setHost(n)):t(e.element).setHost(n)}function x(){var e=t(s);!e||"leave"===c&&m.$$domOperationFired||e.end()}function k(t){s.off("$destroy",x),s.removeData("$$animationRunner"),h(s,m),d(s,m),m.domOperation(),M&&e.removeClass(s,M),s.removeClass("ng-animate"),D.complete(!t)}m=p(m);var C=0<=["enter","move","leave"].indexOf(c),D=new o({end:function(){k()},cancel:function(){k(!0)}});if(!n.length)return k(),D;s.data("$$animationRunner",D);var S=r(s.attr("class"),r(m.addClass,m.removeClass)),M=m.tempClasses;M&&(S+=" "+M,m.tempClasses=null);var T;return C&&(T="ng-"+c+"-prepare",e.addClass(s,T)),f.push({element:s,classes:S,event:c,structural:C,options:m,beforeStart:function(){s.addClass("ng-animate"),M&&e.addClass(s,M),T&&(e.removeClass(s,T),T=null)},close:k}),s.on("$destroy",x),1=ee&&t>=te&&(K=!0,m())}function q(){function t(){if(!B){if(k(!1),F(ie,function(e){_.style[e[0]]=e[1]}),V(e,H),r.addClass(e,fe),be.recalculateTimingStyles){if(de=_.className+" "+pe,he=v(_,de),$e=M(_,de,he),ve=$e.maxDelay,Q=Math.max(ve,0),te=$e.maxDuration,0===te)return void m();be.hasTransitions=0<$e.transitionDuration,be.hasAnimations=0<$e.animationDuration}if(be.applyAnimationDelay&&(ve="boolean"!=typeof H.delay&&D(H.delay)?parseFloat(H.delay):ve,Q=Math.max(ve,0),$e.animationDelay=ve,ye=[z,ve+"s"],ie.push(ye),_.style[ye[0]]=ye[1]),ee=1e3*Q,ne=1e3*te,H.easing){var t,i=H.easing;be.hasTransitions&&(t=O+"TimingFunction",ie.push([t,i]),_.style[t]=i),be.hasAnimations&&(t=A+"TimingFunction",ie.push([t,i]),_.style[t]=i)}$e.transitionDuration&&se.push(E),$e.animationDuration&&se.push(P),re=Date.now();var a=ee+1.5*ne;t=re+a;var i=e.data("$$animateCss")||[],o=!0;if(i.length){var l=i[0];(o=t>l.expectedEndTime)?s.cancel(l.timer):i.push(m)}o&&(a=s(n,a,!1),i[0]={timer:a,expectedEndTime:t},i.push(m),e.data("$$animateCss",i)),se.length&&e.on(se.join(" "),R),H.to&&(H.cleanupStyles&&T(L,_,Object.keys(H.to)),h(e,H))}}function n(){var t=e.data("$$animateCss");if(t){for(var n=1;n=0&&t.splice(n,1)}},a=ge>0&&($e.transitionDuration&&0===me.transitionDuration||$e.animationDuration&&0===me.animationDuration)&&Math.max(me.animationDelay,me.transitionDelay);a?s(t,Math.floor(a*ge*1e3),!1):t(),X.resume=function(){i(!0)},X.pause=function(){i(!1)}}else m()}var H=n||{};H.$$prepared||(H=p(I(H)));var L={},_=$(e);if(!_||!_.parentNode||!g.enabled())return U();var B,G,K,J,X,Q,ee,te,ne,re,ie=[],ae=e.attr("class"),oe=i(H),se=[];if(0===H.duration||!u.animations&&!u.transitions)return U();var le=H.event&&j(H.event)?H.event.join(" "):H.event,ue="",ce="";le&&H.structural?ue=a(le,"ng-",!0):le&&(ue=le),H.addClass&&(ce+=a(H.addClass,"-add")),H.removeClass&&(ce.length&&(ce+=" "),ce+=a(H.removeClass,"-remove")),H.applyClassesEarly&&ce.length&&V(e,H);var pe=[ue,ce].join(" ").trim(),de=ae+" "+pe,fe=a(pe,"-active"),ae=oe.to&&0'); + ''); }]); })(); diff --git a/dist/idai-components.js b/dist/idai-components.js index 6cee9e0..50ca11e 100644 --- a/dist/idai-components.js +++ b/dist/idai-components.js @@ -5,31 +5,6 @@ angular.module('idai.components',[]); 'use strict'; -/* Services */ -angular.module('idai.components') - -/** - * @author: Daniel M. de Oliveira - */ -.filter('transl8', ['transl8',function(transl8){ - - var filterFunction = function(key) { - if (typeof key == 'undefined') return undefined; - var trans; - try { - trans = transl8.getTranslation(key); - } catch (err) { - var msg = "TRL8 MISSING ('"+key+"')"; - console.log(msg); - return msg; - } - return trans; - } - filterFunction.$stateful=true; - return filterFunction; -}]); -'use strict'; - angular.module('idai.components') @@ -322,6 +297,31 @@ angular.module('idai.components') 'use strict'; +/* Services */ +angular.module('idai.components') + +/** + * @author: Daniel M. de Oliveira + */ +.filter('transl8', ['transl8',function(transl8){ + + var filterFunction = function(key) { + if (typeof key == 'undefined') return undefined; + var trans; + try { + trans = transl8.getTranslation(key); + } catch (err) { + var msg = "TRL8 MISSING ('"+key+"')"; + console.log(msg); + return msg; + } + return trans; + } + filterFunction.$stateful=true; + return filterFunction; +}]); +'use strict'; + angular.module('idai.components') /** @@ -800,7 +800,7 @@ try { } module.run(['$templateCache', function($templateCache) { $templateCache.put('partials/directives/idai-navbar.html', - ''); + ''); }]); })(); diff --git a/dist/idai-components.min.js b/dist/idai-components.min.js index 0360799..6e2e4e4 100644 --- a/dist/idai-components.min.js +++ b/dist/idai-components.min.js @@ -1 +1 @@ -"use strict";angular.module("idai.components",[]),angular.module("idai.components").filter("transl8",["transl8",function(e){var t=function(t){if("undefined"==typeof t)return void 0;var n;try{n=e.getTranslation(t)}catch(a){var i="TRL8 MISSING ('"+t+"')";return console.log(i),i}return n};return t.$stateful=!0,t}]),angular.module("idai.components").directive("idaiFooter",function(){return{restrict:"E",scope:{mailto:"@",institutions:"="},templateUrl:"partials/directives/idai-footer.html",controller:["$scope","$http","localizedContent",function(e,t,n){e.date=new Date,e.getFooterLinks=function(a){t.get("info/content.json").success(function(t){var a=n.getNodeById(t,"footer");void 0==a&&console.log("error: no footerLinks found"),n.reduceTitles(a),e.dynamicLinkList=a.children})}}],link:function(e,t,n){e.getFooterLinks(n.contentDir)}}}),angular.module("idai.components").directive("idaiForm",function(){return{restrict:"E",transclude:!0,scope:{submit:"&",doc:"="},templateUrl:"partials/directives/idai-form.html",link:function(e,t,n){e.reset=function(){e.doc={}}}}}),angular.module("idai.components").directive("includeReplace",function(){return{require:"ngInclude",restrict:"A",link:function(e,t,n){t.replaceWith(t.children())}}}),angular.module("idai.components").directive("idaiMessage",function(){return{restrict:"E",templateUrl:"partials/directives/idai-message.html",controller:["$scope","message",function(e,t){e.messages=t.getMessages(),e.removeMessage=function(e){t.removeMessage(e)}}]}}),angular.module("idai.components").directive("idaiNavbar",function(){return{restrict:"E",scope:{userObject:"=",loginFunction:"&",logoutFunction:"&",hideSearchForm:"=",projectId:"@"},templateUrl:"partials/directives/idai-navbar.html",controller:["$scope","$http","localizedContent","$location",function(e,t,n,a){e.getNavbarLinks=function(a){t.get("info/content.json").success(function(t){var a=n.getNodeById(t,"navbar");void 0==a&&console.log("error: no navbarLinks found"),n.reduceTitles(a),e.dynamicLinkList=a.children})},e.search=function(t){if(e.q){var n="/search?q="+e.q;t&&(n+="&fq="+t),e.q=null,a.url(n)}},e.toggleNavbar=function(){e.isCollapsed=!0,e.$on("$routeChangeSuccess",function(){e.isCollapsed=!0})}}],link:function(e,t,n){e.getNavbarLinks(n.contentDir)}}}),angular.module("idai.components").directive("idaiPicker",function(){return{restrict:"E",scope:{searchUri:"@",resultField:"@",titleField:"@",totalField:"@",queryParam:"@",limitParam:"@",offsetParam:"@",addParams:"=",selectedItem:"="},templateUrl:"partials/directives/idai-picker.html",controller:["$scope","$parse","$uibModal",function(e,t,n){e.openModal=function(){var t=n.open({templateUrl:"picker_modal.html",controller:"PickerModalController",bindToController:!0,size:"lg",scope:e});t.result.then(function(t){e.selectedItem=t})},e.$watch("titleField",function(n){n||(n="title"),e.getTitleField=t(n)})}]}}).controller("PickerModalController",["$scope","$http","$q","$parse","$uibModalInstance",function(e,t,n,a,i){var l;e.result,e.total=0,e.offset=0,e.limit=10,e.loading=!1,e.preselect=0;var r=function(){if(l&&l.resolve(),e.query){e.loading=!0,l=n.defer(),e.queryParam||(e.queryParam="q"),e.limitParam||(e.limitParam="limit"),e.offsetParam||(e.offsetParam="offset");var i=e.searchUri+"?"+e.queryParam+"="+e.query;i+="&"+e.limitParam+"="+e.limit,i+="&"+e.offsetParam+"="+e.offset,e.addParams&&angular.forEach(e.addParams,function(e,t){i+="&"+t+"="+e}),t.get(i,{timeout:l.promise}).then(function(t){e.resultField||(e.resultField="result");var n=a(e.resultField);0==e.offset?e.result=n(t.data):e.result=e.result.concat(n(t.data)),e.totalField||(e.totalField="total");var i=a(e.totalField);e.total=i(t.data),e.loading=!1})}else e.result=[],e.total=0};e.more=function(){e.offset+=e.limit,r()},e.keydown=function(t){40==t.keyCode&&e.preselect0&&e.preselect--},e.keypress=function(t){13==t.keyCode&&(e.total>0&&e.query==e.lastQuery?(t.stopPropagation(),e.selectItem(e.result[e.preselect])):e.newQuery())},e.newQuery=function(){e.lastQuery=e.query,e.offset=0,r()},e.open=function(e){window.open(e,"_blank")},e.selectItem=function(e){i.close(e)},e.$watch("titleField",function(t){t||(t="title"),e.getTitleField=a(t)})}]),angular.module("idai.components").factory("language",function(){var e=navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage;return"undefined"==typeof e?e="de":("de"==e.substring(0,2)&&(e="de"),"en"==e.substring(0,2)&&(e="en")),{browserPrimaryLanguage:function(){return e}}}),angular.module("idai.components").factory("languageSelection",["language",function(e){var t="de",n="en";return{__:function(a,i,l){return e.browserPrimaryLanguage()==t?void i(t,l):void(a(e.browserPrimaryLanguage(),l)?i(e.browserPrimaryLanguage(),l):e.browserPrimaryLanguage()==n?i(t,l):a(n,l)?i(n,l):i(t,l))}}}]),angular.module("idai.components").factory("localizedContent",["languageSelection",function(e){return{reduceTitles:function(t){var n=function(e,t){t.title&&(t.title=t.title[e])},a=function(e,t){return t.title?t.title[e]:!1},i=function(t){if(e.__(a,n,t),t.children)for(var l=0;l

{{\'footer_licensed_under\'|transl8}} Creative Commons | {{link.title}} | {{\'footer_bugs_to\'|transl8}} {{mailto}}

')}])}(),function(e){try{e=angular.module("idai.templates")}catch(t){e=angular.module("idai.templates",[])}e.run(["$templateCache",function(e){e.put("partials/directives/idai-form.html",'
')}])}(),function(e){try{e=angular.module("idai.templates")}catch(t){e=angular.module("idai.templates",[])}e.run(["$templateCache",function(e){e.put("partials/directives/idai-message.html",'

{{message.contactInfo}}
')}])}(),function(e){try{e=angular.module("idai.templates")}catch(t){e=angular.module("idai.templates",[])}e.run(["$templateCache",function(e){e.put("partials/directives/idai-navbar.html",'')}])}(),function(e){try{e=angular.module("idai.templates")}catch(t){e=angular.module("idai.templates",[])}e.run(["$templateCache",function(e){e.put("partials/directives/idai-picker.html",'
{{ \'pick_an_item\' | transl8 }} {{ getTitleField(selectedItem) }} {{ getTitleField(selectedItem) }}
')}])}(); \ No newline at end of file +"use strict";angular.module("idai.components",[]),angular.module("idai.components").directive("idaiFooter",function(){return{restrict:"E",scope:{mailto:"@",institutions:"="},templateUrl:"partials/directives/idai-footer.html",controller:["$scope","$http","localizedContent",function(e,t,n){e.date=new Date,e.getFooterLinks=function(a){t.get("info/content.json").success(function(t){var a=n.getNodeById(t,"footer");void 0==a&&console.log("error: no footerLinks found"),n.reduceTitles(a),e.dynamicLinkList=a.children})}}],link:function(e,t,n){e.getFooterLinks(n.contentDir)}}}),angular.module("idai.components").directive("idaiForm",function(){return{restrict:"E",transclude:!0,scope:{submit:"&",doc:"="},templateUrl:"partials/directives/idai-form.html",link:function(e,t,n){e.reset=function(){e.doc={}}}}}),angular.module("idai.components").directive("includeReplace",function(){return{require:"ngInclude",restrict:"A",link:function(e,t,n){t.replaceWith(t.children())}}}),angular.module("idai.components").directive("idaiMessage",function(){return{restrict:"E",templateUrl:"partials/directives/idai-message.html",controller:["$scope","message",function(e,t){e.messages=t.getMessages(),e.removeMessage=function(e){t.removeMessage(e)}}]}}),angular.module("idai.components").directive("idaiNavbar",function(){return{restrict:"E",scope:{userObject:"=",loginFunction:"&",logoutFunction:"&",hideSearchForm:"=",projectId:"@"},templateUrl:"partials/directives/idai-navbar.html",controller:["$scope","$http","localizedContent","$location",function(e,t,n,a){e.getNavbarLinks=function(a){t.get("info/content.json").success(function(t){var a=n.getNodeById(t,"navbar");void 0==a&&console.log("error: no navbarLinks found"),n.reduceTitles(a),e.dynamicLinkList=a.children})},e.search=function(t){if(e.q){var n="/search?q="+e.q;t&&(n+="&fq="+t),e.q=null,a.url(n)}},e.toggleNavbar=function(){e.isCollapsed=!0,e.$on("$routeChangeSuccess",function(){e.isCollapsed=!0})}}],link:function(e,t,n){e.getNavbarLinks(n.contentDir)}}}),angular.module("idai.components").directive("idaiPicker",function(){return{restrict:"E",scope:{searchUri:"@",resultField:"@",titleField:"@",totalField:"@",queryParam:"@",limitParam:"@",offsetParam:"@",addParams:"=",selectedItem:"="},templateUrl:"partials/directives/idai-picker.html",controller:["$scope","$parse","$uibModal",function(e,t,n){e.openModal=function(){var t=n.open({templateUrl:"picker_modal.html",controller:"PickerModalController",bindToController:!0,size:"lg",scope:e});t.result.then(function(t){e.selectedItem=t})},e.$watch("titleField",function(n){n||(n="title"),e.getTitleField=t(n)})}]}}).controller("PickerModalController",["$scope","$http","$q","$parse","$uibModalInstance",function(e,t,n,a,i){var l;e.result,e.total=0,e.offset=0,e.limit=10,e.loading=!1,e.preselect=0;var r=function(){if(l&&l.resolve(),e.query){e.loading=!0,l=n.defer(),e.queryParam||(e.queryParam="q"),e.limitParam||(e.limitParam="limit"),e.offsetParam||(e.offsetParam="offset");var i=e.searchUri+"?"+e.queryParam+"="+e.query;i+="&"+e.limitParam+"="+e.limit,i+="&"+e.offsetParam+"="+e.offset,e.addParams&&angular.forEach(e.addParams,function(e,t){i+="&"+t+"="+e}),t.get(i,{timeout:l.promise}).then(function(t){e.resultField||(e.resultField="result");var n=a(e.resultField);0==e.offset?e.result=n(t.data):e.result=e.result.concat(n(t.data)),e.totalField||(e.totalField="total");var i=a(e.totalField);e.total=i(t.data),e.loading=!1})}else e.result=[],e.total=0};e.more=function(){e.offset+=e.limit,r()},e.keydown=function(t){40==t.keyCode&&e.preselect0&&e.preselect--},e.keypress=function(t){13==t.keyCode&&(e.total>0&&e.query==e.lastQuery?(t.stopPropagation(),e.selectItem(e.result[e.preselect])):e.newQuery())},e.newQuery=function(){e.lastQuery=e.query,e.offset=0,r()},e.open=function(e){window.open(e,"_blank")},e.selectItem=function(e){i.close(e)},e.$watch("titleField",function(t){t||(t="title"),e.getTitleField=a(t)})}]),angular.module("idai.components").filter("transl8",["transl8",function(e){var t=function(t){if("undefined"!=typeof t){var n;try{n=e.getTranslation(t)}catch(a){var i="TRL8 MISSING ('"+t+"')";return console.log(i),i}return n}};return t.$stateful=!0,t}]),angular.module("idai.components").factory("language",function(){var e=navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage;return"undefined"==typeof e?e="de":("de"==e.substring(0,2)&&(e="de"),"en"==e.substring(0,2)&&(e="en")),{browserPrimaryLanguage:function(){return e}}}),angular.module("idai.components").factory("languageSelection",["language",function(e){var t="de",n="en";return{__:function(a,i,l){return e.browserPrimaryLanguage()==t?void i(t,l):void(a(e.browserPrimaryLanguage(),l)?i(e.browserPrimaryLanguage(),l):e.browserPrimaryLanguage()==n?i(t,l):a(n,l)?i(n,l):i(t,l))}}}]),angular.module("idai.components").factory("localizedContent",["languageSelection",function(e){return{reduceTitles:function(t){var n=function(e,t){t.title&&(t.title=t.title[e])},a=function(e,t){return t.title?t.title[e]:!1},i=function(t){if(e.__(a,n,t),t.children)for(var l=0;l

{{\'footer_licensed_under\'|transl8}} Creative Commons | {{link.title}} | {{\'footer_bugs_to\'|transl8}} {{mailto}}

')}])}(),function(e){try{e=angular.module("idai.templates")}catch(t){e=angular.module("idai.templates",[])}e.run(["$templateCache",function(e){e.put("partials/directives/idai-form.html",'
')}])}(),function(e){try{e=angular.module("idai.templates")}catch(t){e=angular.module("idai.templates",[])}e.run(["$templateCache",function(e){e.put("partials/directives/idai-message.html",'

{{message.contactInfo}}
')}])}(),function(e){try{e=angular.module("idai.templates")}catch(t){e=angular.module("idai.templates",[])}e.run(["$templateCache",function(e){e.put("partials/directives/idai-navbar.html",'')}])}(),function(e){try{e=angular.module("idai.templates")}catch(t){e=angular.module("idai.templates",[])}e.run(["$templateCache",function(e){e.put("partials/directives/idai-picker.html",'
{{ \'pick_an_item\' | transl8 }} {{ getTitleField(selectedItem) }} {{ getTitleField(selectedItem) }}
')}])}(); \ No newline at end of file