-
Notifications
You must be signed in to change notification settings - Fork 3
/
angular.min.js
224 lines (224 loc) · 109 KB
/
angular.min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
/*
AngularJS v1.3.0-local+sha.363fb4f
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(N,T,r){'use strict';function u(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.3.0-local+sha.363fb4f/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURIComponent("function"==typeof arguments[c]?arguments[c].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[c]?"undefined":"string"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)}}function cb(b){if(null==b||
Na(b))return!1;var a=b.length;return 1===b.nodeType&&a?!0:y(b)||K(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function q(b,a,c){var d,e;if(b)if(L(b))for(d in b)"prototype"==d||("length"==d||"name"==d||b.hasOwnProperty&&!b.hasOwnProperty(d))||a.call(c,b[d],d);else if(K(b)||cb(b))for(d=0,e=b.length;d<e;d++)a.call(c,b[d],d);else if(b.forEach&&b.forEach!==q)b.forEach(a,c);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function Yb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);
return a.sort()}function jd(b,a,c){for(var d=Yb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function Zb(b){return function(a,c){b(c,a)}}function kd(){return++db}function $b(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function B(b){var a=b.$$hashKey;q(arguments,function(a){a!==b&&q(a,function(a,c){b[c]=a})});$b(b,a);return b}function W(b){return parseInt(b,10)}function ac(b,a){return B(new (B(function(){},{prototype:b})),a)}function C(){}function Da(b){return b}function ca(b){return function(){return b}}
function z(b){return"undefined"===typeof b}function E(b){return"undefined"!==typeof b}function R(b){return null!=b&&"object"===typeof b}function y(b){return"string"===typeof b}function Ea(b){return"number"===typeof b}function qa(b){return"[object Date]"===ya.call(b)}function L(b){return"function"===typeof b}function eb(b){return"[object RegExp]"===ya.call(b)}function Na(b){return b&&b.window===b}function ld(b){return!(!b||!(b.nodeName||b.prop&&b.attr&&b.find))}function md(b){var a={};b=b.split(",");
var c;for(c=0;c<b.length;c++)a[b[c]]=!0;return a}function nd(b,a,c){var d=[];q(b,function(b,f,g){d.push(a.call(c,b,f,g))});return d}function Oa(b,a){if(b.indexOf)return b.indexOf(a);for(var c=0;c<b.length;c++)if(a===b[c])return c;return-1}function Fa(b,a){var c=Oa(b,a);0<=c&&b.splice(c,1);return a}function za(b,a,c,d){if(Na(b)||b&&b.$evalAsync&&b.$watch)throw Pa("cpws");if(a){if(b===a)throw Pa("cpi");c=c||[];d=d||[];if(R(b)){var e=Oa(c,b);if(-1!==e)return d[e];c.push(b);d.push(a)}if(K(b))for(var f=
a.length=0;f<b.length;f++)e=za(b[f],null,c,d),R(b[f])&&(c.push(b[f]),d.push(e)),a.push(e);else{var g=a.$$hashKey;q(a,function(b,c){delete a[c]});for(f in b)b.hasOwnProperty(f)&&(e=za(b[f],null,c,d),R(b[f])&&(c.push(b[f]),d.push(e)),a[f]=e);$b(a,g)}}else if(a=b)K(b)?a=za(b,[],c,d):qa(b)?a=new Date(b.getTime()):eb(b)?a=RegExp(b.source):R(b)&&(e=Object.create(Object.getPrototypeOf(b)),a=za(b,e,c,d));return a}function ia(b,a){var c=0;if(K(b))for(a=a||[];c<b.length;c++)a[c]=b[c];else if(R(b)){a=a||{};
for(var d=Object.keys(b),e=d.length;c<e;c++){var f=d[c];if("$"!==f.charAt(0)||"$"!==f.charAt(1))a[f]=b[f]}}return a||b}function ra(b,a){if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,d;if(c==typeof a&&"object"==c)if(K(b)){if(!K(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!ra(b[d],a[d]))return!1;return!0}}else{if(qa(b))return qa(a)&&b.getTime()==a.getTime();if(eb(b)&&eb(a))return b.toString()==a.toString();if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&
a.$watch||Na(b)||Na(a)||K(a))return!1;c={};for(d in b)if("$"!==d.charAt(0)&&!L(b[d])){if(!ra(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&"$"!==d.charAt(0)&&a[d]!==r&&!L(a[d]))return!1;return!0}return!1}function bc(){return T.securityPolicy&&T.securityPolicy.isActive||T.querySelector&&!(!T.querySelector("[ng-csp]")&&!T.querySelector("[data-ng-csp]"))}function Ab(b,a){var c=2<arguments.length?ja.call(arguments,2):[];return!L(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?
a.apply(b,c.concat(ja.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}}function od(b,a){var c=a;"string"===typeof b&&"$"===b.charAt(0)&&"$"===b.charAt(1)?c=r:Na(a)?c="$WINDOW":a&&T===a?c="$DOCUMENT":a&&(a.$evalAsync&&a.$watch)&&(c="$SCOPE");return c}function sa(b,a){return"undefined"===typeof b?r:JSON.stringify(b,od,a?" ":null)}function cc(b){return y(b)?JSON.parse(b):b}function fa(b){b=F(b).clone();try{b.empty()}catch(a){}var c=F("<div>").append(b).html();
try{return 3===b[0].nodeType?M(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+M(b)})}catch(d){return M(c)}}function dc(b){try{return decodeURIComponent(b)}catch(a){}}function ec(b){var a={},c,d;q((b||"").split("&"),function(b){b&&(c=b.split("="),d=dc(c[0]),E(d)&&(b=E(c[1])?dc(c[1]):!0,Bb.call(a,d)?K(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Cb(b){var a=[];q(b,function(b,d){K(b)?q(b,function(b){a.push(Aa(d,!0)+(!0===b?"":"="+Aa(b,!0)))}):a.push(Aa(d,!0)+
(!0===b?"":"="+Aa(b,!0)))});return a.length?a.join("&"):""}function fb(b){return Aa(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Aa(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,a?"%20":"+")}function pd(b,a){var c,d,e=fc.length;b=F(b);for(d=0;d<e;++d)if(c=fc[d]+a,y(c=b.attr(c)))return c;return null}function qd(b,a){function c(a){a&&d.push(a)}var d=[b],e,f,g={},h=["ng:app","ng-app",
"x-ng-app","data-ng-app"],m=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;q(h,function(a){h[a]=!0;c(T.getElementById(a));a=a.replace(":","\\:");b.querySelectorAll&&(q(b.querySelectorAll("."+a),c),q(b.querySelectorAll("."+a+"\\:"),c),q(b.querySelectorAll("["+a+"]"),c))});q(d,function(a){if(!e){var b=m.exec(" "+a.className+" ");b?(e=a,f=(b[2]||"").replace(/\s+/g,",")):q(a.attributes,function(b){!e&&h[b.name]&&(e=a,f=b.value)})}});e&&(g.strictDi=null!==pd(e,"strict-di"),a(e,f?[f]:[],g))}function gc(b,a,c){R(c)||
(c={});c=B({strictDi:!1},c);var d=function(){b=F(b);if(b.injector()){var d=b[0]===T?"document":fa(b);throw Pa("btstrpd",d);}a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);a.unshift("ng");d=Db(a,c.strictDi);d.invoke(["$rootScope","$rootElement","$compile","$injector",function(a,b,c,d){a.$apply(function(){b.data("$injector",d);c(b)(a)})}]);return d},e=/^NG_DEFER_BOOTSTRAP!/;if(N&&!e.test(N.name))return d();N.name=N.name.replace(e,"");Qa.resumeBootstrap=function(b){q(b,function(b){a.push(b)});
d()}}function gb(b,a){a=a||"_";return b.replace(rd,function(b,d){return(d?a:"")+b.toLowerCase()})}function sd(){var b;(ta=N.jQuery)&&ta.fn.on?(F=ta,B(ta.fn,{scope:Ga.scope,isolateScope:Ga.isolateScope,controller:Ga.controller,injector:Ga.injector,inheritedData:Ga.inheritedData}),b=ta.cleanData,b=b.$$original||b,ta.cleanData=function(a){for(var c=0,d;null!=(d=a[c]);c++)ta(d).triggerHandler("$destroy");b(a)},ta.cleanData.$$original=b):F=Q;Qa.element=F}function Eb(b,a,c){if(!b)throw Pa("areq",a||"?",
c||"required");return b}function Ra(b,a,c){c&&K(b)&&(b=b[b.length-1]);Eb(L(b),a,"not a function, got "+(b&&"object"===typeof b?b.constructor.name||"Object":typeof b));return b}function Ba(b,a){if("hasOwnProperty"===b)throw Pa("badname",a);}function hc(b,a,c){if(!a)return b;a=a.split(".");for(var d,e=b,f=a.length,g=0;g<f;g++)d=a[g],b&&(b=(e=b)[d]);return!c&&L(b)?Ab(e,b):b}function Fb(b){var a=b[0];b=b[b.length-1];if(a===b)return F(a);var c=[a];do{a=a.nextSibling;if(!a)break;c.push(a)}while(a!==b);
return F(c)}function td(b){var a=u("$injector"),c=u("ng");b=b.angular||(b.angular={});b.$$minErr=b.$$minErr||u;return b.module||(b.module=function(){var b={};return function(e,f,g){if("hasOwnProperty"===e)throw c("badname","module");f&&b.hasOwnProperty(e)&&(b[e]=null);return b[e]||(b[e]=function(){function b(a,d,e,f){f||(f=c);return function(){f[e||"push"]([a,d,arguments]);return k}}if(!f)throw a("nomod",e);var c=[],d=[],n=[],p=b("$injector","invoke","push",d),k={_invokeQueue:c,_configBlocks:d,_runBlocks:n,
requires:f,name:e,provider:b("$provide","provider"),factory:b("$provide","factory"),service:b("$provide","service"),value:b("$provide","value"),constant:b("$provide","constant","unshift"),animation:b("$animateProvider","register"),filter:b("$filterProvider","register"),controller:b("$controllerProvider","register"),directive:b("$compileProvider","directive"),config:p,run:function(a){n.push(a);return this}};g&&p(g);return k}())}}())}function ud(b){B(b,{bootstrap:gc,copy:za,extend:B,equals:ra,element:F,
forEach:q,injector:Db,noop:C,bind:Ab,toJson:sa,fromJson:cc,identity:Da,isUndefined:z,isDefined:E,isString:y,isFunction:L,isObject:R,isNumber:Ea,isElement:ld,isArray:K,version:vd,isDate:qa,lowercase:M,uppercase:hb,callbacks:{counter:0},$$minErr:u,$$csp:bc});Sa=td(N);try{Sa("ngLocale")}catch(a){Sa("ngLocale",[]).provider("$locale",wd)}Sa("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:xd});a.provider("$compile",ic).directive({a:yd,input:jc,textarea:jc,form:zd,script:Ad,select:Bd,
style:Cd,option:Dd,ngBind:Ed,ngBindHtml:Fd,ngBindTemplate:Gd,ngClass:Hd,ngClassEven:Id,ngClassOdd:Jd,ngCloak:Kd,ngController:Ld,ngForm:Md,ngHide:Nd,ngIf:Od,ngInclude:Pd,ngInit:Qd,ngNonBindable:Rd,ngPluralize:Sd,ngRepeat:Td,ngShow:Ud,ngStyle:Vd,ngSwitch:Wd,ngSwitchWhen:Xd,ngSwitchDefault:Yd,ngOptions:Zd,ngTransclude:$d,ngModel:ae,ngList:be,ngChange:ce,pattern:kc,ngPattern:kc,required:lc,ngRequired:lc,minlength:mc,ngMinlength:mc,maxlength:nc,ngMaxlength:nc,ngValue:de,ngModelOptions:ee}).directive({ngInclude:fe}).directive(ib).directive(oc);
a.provider({$anchorScroll:ge,$animate:he,$browser:ie,$cacheFactory:je,$controller:ke,$document:le,$exceptionHandler:me,$filter:pc,$interpolate:ne,$interval:oe,$http:pe,$httpBackend:qe,$location:re,$log:se,$parse:te,$rootScope:ue,$q:ve,$$q:we,$sce:xe,$sceDelegate:ye,$sniffer:ze,$templateCache:Ae,$timeout:Be,$window:Ce,$$rAF:De,$$asyncCallback:Ee})}])}function Ta(b){return b.replace(Fe,function(a,b,d,e){return e?d.toUpperCase():d}).replace(Ge,"Moz$1")}function He(b,a){var c,d,e=a.createDocumentFragment(),
f=[];if(Gb.test(b)){c=c||e.appendChild(a.createElement("div"));d=(Ie.exec(b)||["",""])[1].toLowerCase();d=da[d]||da._default;c.innerHTML=d[1]+b.replace(Je,"<$1></$2>")+d[2];for(d=d[0];d--;)c=c.lastChild;f=f.concat(ja.call(c.childNodes,void 0));c=e.firstChild;c.textContent=""}else f.push(a.createTextNode(b));e.textContent="";e.innerHTML="";q(f,function(a){e.appendChild(a)});return e}function Q(b){if(b instanceof Q)return b;y(b)&&(b=Z(b));if(!(this instanceof Q)){if(y(b)&&"<"!=b.charAt(0))throw Hb("nosel");
return new Q(b)}if(y(b)){var a;a=T;var c;b=(c=Ke.exec(b))?[a.createElement(c[1])]:(c=He(b,a))?c.childNodes:[]}qc(this,b)}function Ib(b){return b.cloneNode(!0)}function jb(b,a){a||Jb(b);if(b.childNodes&&b.childNodes.length)for(var c=b.getElementsByTagName?b.getElementsByTagName("*"):b.querySelectorAll?b.querySelectorAll("*"):[],d=0,e=c.length;d<e;d++)Jb(c[d])}function rc(b,a,c,d){if(E(d))throw Hb("offargs");var e=ka(b,"events");ka(b,"handle")&&(z(a)?q(e,function(a,c){Ua(b,c,a);delete e[c]}):q(a.split(" "),
function(a){z(c)?(Ua(b,a,e[a]),delete e[a]):Fa(e[a]||[],c)}))}function Jb(b,a){var c=b.ng339,d=Va[c];d&&(a?delete Va[c].data[a]:(d.handle&&(d.events.$destroy&&d.handle({},"$destroy"),rc(b)),delete Va[c],b.ng339=r))}function ka(b,a,c){var d=b.ng339,d=Va[d||-1];if(E(c))d||(b.ng339=d=++Le,d=Va[d]={}),d[a]=c;else return d&&d[a]}function sc(b,a,c){if(!b.nodeType||1===b.nodeType||9===b.nodeType){var d=ka(b,"data"),e=E(c),f=!e&&E(a),g=f&&!R(a);d||g||ka(b,"data",d={});if(e)d[a]=c;else if(f){if(g)return d&&
d[a];B(d,a)}else return d}}function Kb(b,a){return b.getAttribute?-1<(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" "):!1}function kb(b,a){a&&b.setAttribute&&q(a.split(" "),function(a){b.setAttribute("class",Z((" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Z(a)+" "," ")))})}function lb(b,a){if(a&&b.setAttribute){var c=(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");q(a.split(" "),function(a){a=Z(a);-1===c.indexOf(" "+a+" ")&&
(c+=a+" ")});b.setAttribute("class",Z(c))}}function qc(b,a){if(a)if(a.nodeType)b[b.length++]=a;else{var c=a.length;"number"===typeof c&&a.window!==a?c&&(a.item&&(a=ja.call(a)),tc.apply(b,a)):b[b.length++]=a}}function uc(b,a){return mb(b,"$"+(a||"ngController")+"Controller")}function mb(b,a,c){b=F(b);9==b[0].nodeType&&(b=b.find("html"));for(a=K(a)?a:[a];b.length;){for(var d=b[0],e=0,f=a.length;e<f;e++)if((c=b.data(a[e]))!==r)return c;b=F(d.parentNode||11===d.nodeType&&d.host)}}function vc(b){for(jb(b,
!0);b.firstChild;)b.removeChild(b.firstChild)}function wc(b,a){var c=nb[a.toLowerCase()];return c&&xc[la(b)]&&c}function Me(b,a){var c=b.nodeName;return("INPUT"===c||"TEXTAREA"===c)&&yc[a]}function Ne(b,a){var c=function(c,e){c.preventDefault||(c.preventDefault=function(){c.returnValue=!1});c.stopPropagation||(c.stopPropagation=function(){c.cancelBubble=!0});c.target||(c.target=c.srcElement||T);if(z(c.defaultPrevented)){var f=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;f.call(c)};
c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented||!1===c.returnValue};var g=ia(a[e||c.type]||[]);q(g,function(a){a.call(b,c)});8>=U?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};c.elem=b;return c}function Ha(b,a){var c=typeof b,d;"function"==c||"object"==c&&null!==b?"function"==typeof(d=b.$$hashKey)?d=b.$$hashKey():d===r&&(d=b.$$hashKey=(a||kd)()):d=b;return c+
":"+d}function Wa(b,a){if(a){var c=0;this.nextUid=function(){return++c}}q(b,this.put,this)}function Oe(b){return(b=b.toString().replace(zc,"").match(Ac))?"function("+(b[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Lb(b,a,c){var d;if("function"===typeof b){if(!(d=b.$inject)){d=[];if(b.length){if(a)throw y(c)&&c||(c=b.name||Oe(b)),Ia("strictdi",c);a=b.toString().replace(zc,"");a=a.match(Ac);q(a[1].split(Pe),function(a){a.replace(Qe,function(a,b,c){d.push(c)})})}b.$inject=d}}else K(b)?(a=b.length-
1,Ra(b[a],"fn"),d=b.slice(0,a)):Ra(b,"fn",!0);return d}function Db(b,a){function c(a){return function(b,c){if(R(b))q(b,Zb(a));else return a(b,c)}}function d(a,b){Ba(a,"service");if(L(b)||K(b))b=k.instantiate(b);if(!b.$get)throw Ia("pget",a);return p[a+m]=b}function e(a,b){return d(a,{$get:b})}function f(a){var b=[],c;q(a,function(a){function d(a){var b,c;b=0;for(c=a.length;b<c;b++){var e=a[b],f=k.get(e[0]);f[e[1]].apply(f,e[2])}}if(!n.get(a)){n.put(a,!0);try{y(a)?(c=Sa(a),b=b.concat(f(c.requires)).concat(c._runBlocks),
d(c._invokeQueue),d(c._configBlocks)):L(a)?b.push(k.invoke(a)):K(a)?b.push(k.invoke(a)):Ra(a,"module")}catch(e){throw K(a)&&(a=a[a.length-1]),e.message&&(e.stack&&-1==e.stack.indexOf(e.message))&&(e=e.message+"\n"+e.stack),Ia("modulerr",a,e.stack||e.message||e);}}});return b}function g(b,c){function d(a){if(b.hasOwnProperty(a)){if(b[a]===h)throw Ia("cdep",a+" <- "+l.join(" <- "));return b[a]}try{return l.unshift(a),b[a]=h,b[a]=c(a)}catch(e){throw b[a]===h&&delete b[a],e;}finally{l.shift()}}function e(b,
c,f,g){"string"===typeof f&&(g=f,f=null);var h=[];g=Lb(b,a,g);var m,l,k;l=0;for(m=g.length;l<m;l++){k=g[l];if("string"!==typeof k)throw Ia("itkn",k);h.push(f&&f.hasOwnProperty(k)?f[k]:d(k))}K(b)&&(b=b[m]);return b.apply(c,h)}return{invoke:e,instantiate:function(a,b,c){var d=function(){};d.prototype=(K(a)?a[a.length-1]:a).prototype;d=new d;a=e(a,d,b,c);return R(a)||L(a)?a:d},get:d,annotate:Lb,has:function(a){return p.hasOwnProperty(a+m)||b.hasOwnProperty(a)}}}a=!0===a;var h={},m="Provider",l=[],n=
new Wa([],!0),p={$provide:{provider:c(d),factory:c(e),service:c(function(a,b){return e(a,["$injector",function(a){return a.instantiate(b)}])}),value:c(function(a,b){return e(a,ca(b))}),constant:c(function(a,b){Ba(a,"constant");p[a]=b;t[a]=b}),decorator:function(a,b){var c=k.get(a+m),d=c.$get;c.$get=function(){var a=s.invoke(d,c);return s.invoke(b,null,{$delegate:a})}}}},k=p.$injector=g(p,function(){throw Ia("unpr",l.join(" <- "));},a),t={},s=t.$injector=g(t,function(a){var b=k.get(a+m);return s.invoke(b.$get,
b,r,a)},a);q(f(b),function(a){s.invoke(a||C)});return s}function ge(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;q(a,function(a){b||"a"!==la(a)||(b=a)});return b}function f(){var b=c.hash(),d;b?(d=g.getElementById(b))?d.scrollIntoView():(d=e(g.getElementsByName(b)))?d.scrollIntoView():"top"===b&&a.scrollTo(0,0):a.scrollTo(0,0)}var g=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(f)});
return f}]}function Ee(){this.$get=["$$rAF","$timeout",function(b,a){return b.supported?function(a){return b(a)}:function(b){return a(b,0,!1)}}]}function Re(b,a,c,d){function e(a){try{a.apply(null,ja.call(arguments,1))}finally{if(s--,0===s)for(;J.length;)try{J.pop()()}catch(b){c.error(b)}}}function f(a,b){(function Se(){q(H,function(a){a()});G=b(Se,a)})()}function g(){w=null;v!=h.url()&&(v=h.url(),q(V,function(a){a(h.url())}))}var h=this,m=a[0],l=b.location,n=b.history,p=b.setTimeout,k=b.clearTimeout,
t={};h.isMock=!1;var s=0,J=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function(){s++};h.notifyWhenNoOutstandingRequests=function(a){q(H,function(a){a()});0===s?a():J.push(a)};var H=[],G;h.addPollFn=function(a){z(G)&&f(100,p);H.push(a);return a};var v=l.href,A=a.find("base"),w=null;h.url=function(a,c){l!==b.location&&(l=b.location);n!==b.history&&(n=b.history);if(a){if(v!=a)return v=a,d.history?c?n.replaceState(null,"",a):(n.pushState(null,"",a),A.attr("href",A.attr("href"))):
(w=a,c?l.replace(a):l.href=a),h}else return w||l.href.replace(/%27/g,"'")};var V=[],O=!1;h.onUrlChange=function(a){if(!O){if(d.history)F(b).on("popstate",g);if(d.hashchange)F(b).on("hashchange",g);else h.addPollFn(g);O=!0}V.push(a);return a};h.baseHref=function(){var a=A.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var S={},P="",D=h.baseHref();h.cookies=function(a,b){var d,e,f,g;if(a)b===r?m.cookie=escape(a)+"=;path="+D+";expires=Thu, 01 Jan 1970 00:00:00 GMT":y(b)&&(d=(m.cookie=
escape(a)+"="+escape(b)+";path="+D).length+1,4096<d&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"));else{if(m.cookie!==P)for(P=m.cookie,d=P.split("; "),S={},f=0;f<d.length;f++)e=d[f],g=e.indexOf("="),0<g&&(a=unescape(e.substring(0,g)),S[a]===r&&(S[a]=unescape(e.substring(g+1))));return S}};h.defer=function(a,b){var c;s++;c=p(function(){delete t[c];e(a)},b||0);t[c]=!0;return c};h.defer.cancel=function(a){return t[a]?(delete t[a],k(a),e(C),!0):
!1}}function ie(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new Re(b,d,a,c)}]}function je(){this.$get=function(){function b(b,d){function e(a){a!=p&&(k?k==a&&(k=a.n):k=a,f(a.n,a.p),f(a,p),p=a,p.n=null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(b in a)throw u("$cacheFactory")("iid",b);var g=0,h=B({},d,{id:b}),m={},l=d&&d.capacity||Number.MAX_VALUE,n={},p=null,k=null;return a[b]={put:function(a,b){if(l<Number.MAX_VALUE){var c=n[a]||(n[a]={key:a});e(c)}if(!z(b))return a in
m||g++,m[a]=b,g>l&&this.remove(k.key),b},get:function(a){if(l<Number.MAX_VALUE){var b=n[a];if(!b)return;e(b)}return m[a]},remove:function(a){if(l<Number.MAX_VALUE){var b=n[a];if(!b)return;b==p&&(p=b.p);b==k&&(k=b.n);f(b.n,b.p);delete n[a]}delete m[a];g--},removeAll:function(){m={};g=0;n={};p=k=null},destroy:function(){n=h=m=null;delete a[b]},info:function(){return B({},h,{size:g})}}}var a={};b.info=function(){var b={};q(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}
function Ae(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function ic(b,a){var c={},d="Directive",e=/^\s*directive\:\s*([\d\w_\-]+)\s+(.*)$/,f=/(([\d\w_\-]+)(?:\:([^;]+))?;?)/,g=md("ngSrc,ngSrcset,src,srcset"),h=/^(on[a-z]+|formaction)$/;this.directive=function l(a,e){Ba(a,"directive");y(a)?(Eb(e,"directiveFactory"),c.hasOwnProperty(a)||(c[a]=[],b.factory(a+d,["$injector","$exceptionHandler",function(b,d){var e=[];q(c[a],function(c,f){try{var g=b.invoke(c);L(g)?g={compile:ca(g)}:
!g.compile&&g.link&&(g.compile=ca(g.link));g.priority=g.priority||0;g.index=f;g.name=g.name||a;g.require=g.require||g.controller&&g.name;g.restrict=g.restrict||"A";e.push(g)}catch(h){d(h)}});return e}])),c[a].push(e)):q(a,Zb(l));return this};this.aHrefSanitizationWhitelist=function(b){return E(b)?(a.aHrefSanitizationWhitelist(b),this):a.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(b){return E(b)?(a.imgSrcSanitizationWhitelist(b),this):a.imgSrcSanitizationWhitelist()};this.$get=
["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(a,b,p,k,t,s,J,H,G,v,A,w){function V(a,b,c,d,e){a instanceof F||(a=F(a));q(a,function(b,c){3==b.nodeType&&b.nodeValue.match(/\S+/)&&(a[c]=F(b).wrap("<span></span>").parent()[0])});var f=S(a,b,a,c,d,e);O(a,"ng-scope");return function(b,c,d,e){Eb(b,"scope");var g=c?Ga.clone.call(a):a;q(d,function(a,b){g.data("$"+b+"Controller",a)});g.data("$scope",
b);c&&c(g,b);f&&f(b,g,g,e);return g}}function O(a,b){try{a.addClass(b)}catch(c){}}function S(a,b,c,d,e,f){function g(a,c,d,e){var f,k,l,n,p,t,G;f=c.length;var s=Array(f);for(p=0;p<f;p++)s[p]=c[p];G=p=0;for(t=h.length;p<t;G++)k=s[G],c=h[p++],f=h[p++],l=F(k),c?(c.scope?(n=a.$new(),l.data("$scope",n)):n=a,l=c.transcludeOnThisElement?P(a,c.transclude,e):!c.templateOnThisElement&&e?e:!e&&b?P(a,b):null,c(f,n,k,d,l)):f&&f(a,k.childNodes,r,e)}for(var h=[],k,l,n,p,t=0;t<a.length;t++)k=new Mb,l=D(a[t],[],k,
0===t?d:r,e),(f=l.length?ba(l,a[t],k,b,c,null,[],[],f):null)&&f.scope&&O(F(a[t]),"ng-scope"),k=f&&f.terminal||!(n=a[t].childNodes)||!n.length?null:S(n,f?(f.transcludeOnThisElement||!f.templateOnThisElement)&&f.transclude:b),h.push(f,k),p=p||f||k,f=null;return p?g:null}function P(a,b,c){return function(d,e,f){var g=!1;d||(d=a.$new(),g=d.$$transcluded=!0);e=b(d,e,f,c);if(g)e.on("$destroy",function(){d.$destroy()});return e}}function D(a,b,c,d,g){var h=c.$attr,k;switch(a.nodeType){case 1:ua(b,na(la(a)),
"E",d,g);for(var l,p,n,t=a.attributes,G=0,s=t&&t.length;G<s;G++){var H=!1,J=!1;l=t[G];if(!U||8<=U||l.specified){k=l.name;p=Z(l.value);l=na(k);if(n=Ca.test(l))k=gb(l.substr(6),"-");var v=l.replace(/(Start|End)$/,"");l===v+"Start"&&(H=k,J=k.substr(0,k.length-5)+"end",k=k.substr(0,k.length-6));l=na(k.toLowerCase());h[l]=k;if(n||!c.hasOwnProperty(l))c[l]=p,wc(a,l)&&(c[l]=!0);X(a,b,p,l);ua(b,l,"A",d,g,H,J)}}a=a.className;if(y(a)&&""!==a)for(;k=f.exec(a);)l=na(k[2]),ua(b,l,"C",d,g)&&(c[l]=Z(k[3])),a=a.substr(k.index+
k[0].length);break;case 3:u(b,a.nodeValue);break;case 8:try{if(k=e.exec(a.nodeValue))l=na(k[1]),ua(b,l,"M",d,g)&&(c[l]=Z(k[2]))}catch(A){}}b.sort(z);return b}function x(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw ga("uterdir",b,c);1==a.nodeType&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSibling}while(0<e)}else d.push(a);return F(d)}function Y(a,b,c){return function(d,e,f,g,h){e=x(e[0],b,c);return a(d,e,f,g,h)}}function ba(a,c,d,e,f,g,h,k,l){function t(a,
b,c,d){if(a){c&&(a=Y(a,c,d));a.require=I.require;a.directiveName=B;if(w===I||I.$$isolateScope)a=Cc(a,{isolateScope:!0});h.push(a)}if(b){c&&(b=Y(b,c,d));b.require=I.require;b.directiveName=B;if(w===I||I.$$isolateScope)b=Cc(b,{isolateScope:!0});k.push(b)}}function G(a,b,c,d){var e,f="data",g=!1;if(y(b)){for(;"^"==(e=b.charAt(0))||"?"==e;)b=b.substr(1),"^"==e&&(f="inheritedData"),g=g||"?"==e;e=null;d&&"data"===f&&(e=d[b]);e=e||c[f]("$"+b+"Controller");if(!e&&!g)throw ga("ctreq",b,a);}else K(b)&&(e=[],
q(b,function(b){e.push(G(a,b,c,d))}));return e}function H(a,e,f,g,l){function t(a,b){var c;2>arguments.length&&(b=a,a=r);z&&(c=ba);return l(a,b,c)}var v,A,Bc,x,V,D,ba={},Y;v=c===f?d:ia(d,new Mb(F(f),d.$attr));A=v.$$element;if(w){var Te=/^\s*([@=&])(\??)\s*(\w*)\s*$/;g=F(f);D=e.$new(!0);!S||S!==w&&S!==w.$$originalDirective?g.data("$isolateScopeNoTemplate",D):g.data("$isolateScope",D);O(g,"ng-isolate-scope");q(w.scope,function(a,c){var d=a.match(Te)||[],f=d[3]||c,g="?"==d[2],d=d[1],h,k,l,p;D.$$isolateBindings[c]=
d+f;switch(d){case "@":v.$observe(f,function(a){D[c]=a});v.$$observers[f].$$scope=e;v[f]&&(D[c]=b(v[f])(e));break;case "=":if(g&&!v[f])break;k=s(v[f]);p=k.literal?ra:function(a,b){return a===b};l=k.assign||function(){h=D[c]=k(e);throw ga("nonassign",v[f],w.name);};h=D[c]=k(e);D.$watch(function Ue(){var a=k(e);p(a,D[c])||(p(a,h)?l(e,a=D[c]):D[c]=a);Ue.$$unwatch=k.$$unwatch;return h=a},null,k.literal);break;case "&":k=s(v[f]);D[c]=function(a){return k(e,a)};break;default:throw ga("iscp",w.name,c,a);
}})}Y=l&&t;P&&q(P,function(a){var b={$scope:a===w||a.$$isolateScope?D:e,$element:A,$attrs:v,$transclude:Y},c;V=a.controller;"@"==V&&(V=v[a.name]);c=J(V,b);ba[a.name]=c;z||A.data("$"+a.name+"Controller",c);a.controllerAs&&(b.$scope[a.controllerAs]=c)});g=0;for(Bc=h.length;g<Bc;g++)try{x=h[g],x(x.isolateScope?D:e,A,v,x.require&&G(x.directiveName,x.require,A,ba),Y)}catch(ma){p(ma,fa(A))}g=e;w&&(w.template||null===w.templateUrl)&&(g=D);a&&a(g,f.childNodes,r,l);for(g=k.length-1;0<=g;g--)try{x=k[g],x(x.isolateScope?
D:e,A,v,x.require&&G(x.directiveName,x.require,A,ba),Y)}catch(u){p(u,fa(A))}}l=l||{};for(var v=-Number.MAX_VALUE,A,P=l.controllerDirectives,w=l.newIsolateScopeDirective,S=l.templateDirective,ba=l.nonTlbTranscludeDirective,ua=!1,Xa=!1,z=l.hasElementTranscludeDirective,X=d.$$element=F(c),I,B,u,M=e,Ja,N=0,Q=a.length;N<Q;N++){I=a[N];var Ca=I.$$start,ob=I.$$end;Ca&&(X=x(c,Ca,ob));u=r;if(v>I.priority)break;if(u=I.scope)I.templateUrl||(R(u)?(Ka("new/isolated scope",w||A,I,X),w=I):Ka("new/isolated scope",
w,I,X)),A=A||I;B=I.name;!I.templateUrl&&I.controller&&(u=I.controller,P=P||{},Ka("'"+B+"' controller",P[B],I,X),P[B]=I);if(u=I.transclude)ua=!0,I.$$tlb||(Ka("transclusion",ba,I,X),ba=I),"element"==u?(z=!0,v=I.priority,u=x(c,Ca,ob),X=d.$$element=F(T.createComment(" "+B+": "+d[B]+" ")),c=X[0],pb(f,F(ja.call(u,0)),c),M=V(u,e,v,g&&g.name,{nonTlbTranscludeDirective:ba})):(u=F(Ib(c)).contents(),X.empty(),M=V(u,e));if(I.template)if(Xa=!0,Ka("template",S,I,X),S=I,u=L(I.template)?I.template(X,d):I.template,
u=Dc(u),I.replace){g=I;u=Gb.test(u)?F(Ec(I.type,Z(u))):[];c=u[0];if(1!=u.length||1!==c.nodeType)throw ga("tplrt",B,"");pb(f,X,c);Q={$attr:{}};u=D(c,[],Q);var U=a.splice(N+1,a.length-(N+1));w&&E(u);a=a.concat(u).concat(U);ma(d,Q);Q=a.length}else X.html(u);if(I.templateUrl)Xa=!0,Ka("template",S,I,X),S=I,I.replace&&(g=I),H=C(a.splice(N,a.length-N),X,d,f,ua&&M,h,k,{controllerDirectives:P,newIsolateScopeDirective:w,templateDirective:S,nonTlbTranscludeDirective:ba}),Q=a.length;else if(I.compile)try{Ja=
I.compile(X,d,M),L(Ja)?t(null,Ja,Ca,ob):Ja&&t(Ja.pre,Ja.post,Ca,ob)}catch(W){p(W,fa(X))}I.terminal&&(H.terminal=!0,v=Math.max(v,I.priority))}H.scope=A&&!0===A.scope;H.transcludeOnThisElement=ua;H.templateOnThisElement=Xa;H.transclude=M;l.hasElementTranscludeDirective=z;return H}function E(a){for(var b=0,c=a.length;b<c;b++)a[b]=ac(a[b],{$$isolateScope:!0})}function ua(b,e,f,g,h,k,n){if(e===h)return null;h=null;if(c.hasOwnProperty(e)){var t;e=a.get(e+d);for(var G=0,s=e.length;G<s;G++)try{t=e[G],(g===
r||g>t.priority)&&-1!=t.restrict.indexOf(f)&&(k&&(t=ac(t,{$$start:k,$$end:n})),b.push(t),h=t)}catch(v){p(v)}}return h}function ma(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;q(a,function(d,e){"$"!=e.charAt(0)&&(b[e]&&b[e]!==d&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});q(b,function(b,f){"class"==f?(O(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):"style"==f?(e.attr("style",e.attr("style")+";"+b),a.style=(a.style?a.style+";":"")+b):"$"==f.charAt(0)||a.hasOwnProperty(f)||(a[f]=b,d[f]=
c[f])})}function C(a,b,c,d,e,f,g,h){var l=[],p,n,G=b[0],s=a.shift(),H=B({},s,{templateUrl:null,transclude:null,replace:null,$$originalDirective:s}),A=L(s.templateUrl)?s.templateUrl(b,c):s.templateUrl,J=s.type;b.empty();k.get(v.getTrustedResourceUrl(A),{cache:t}).success(function(k){var t,v;k=Dc(k);if(s.replace){k=Gb.test(k)?F(Ec(J,Z(k))):[];t=k[0];if(1!=k.length||1!==t.nodeType)throw ga("tplrt",s.name,A);k={$attr:{}};pb(d,b,t);var w=D(t,[],k);R(s.scope)&&E(w);a=w.concat(a);ma(c,k)}else t=G,b.html(k);
a.unshift(H);p=ba(a,t,c,e,b,s,f,g,h);q(d,function(a,c){a==t&&(d[c]=b[0])});for(n=S(b[0].childNodes,e);l.length;){k=l.shift();v=l.shift();var x=l.shift(),V=l.shift(),w=b[0];if(v!==G){var Y=v.className;h.hasElementTranscludeDirective&&s.replace||(w=Ib(t));pb(x,F(v),w);O(F(w),Y)}v=p.transcludeOnThisElement?P(k,p.transclude,V):V;p(n,k,w,d,v)}l=null}).error(function(a,b,c,d){throw ga("tpload",d.url);});return function(a,b,c,d,e){a=e;l?(l.push(b),l.push(c),l.push(d),l.push(a)):(p.transcludeOnThisElement&&
(a=P(b,p.transclude,e)),p(n,b,c,d,a))}}function z(a,b){var c=b.priority-a.priority;return 0!==c?c:a.name!==b.name?a.name<b.name?-1:1:a.index-b.index}function Ka(a,b,c,d){if(b)throw ga("multidir",b.name,c.name,a,fa(d));}function u(a,c){var d=b(c,!0);d&&a.push({priority:0,compile:function(a){var e=a.parent().length;e&&O(a.parent(),"ng-binding");return function(a,f){var g=f.parent(),h=g.data("$binding")||[];d=b(c);h.push(d);g.data("$binding",h);e||O(g,"ng-binding");a.$watch(d,function(a){f[0].nodeValue=
a})}}})}function Ec(a,b){a=M(a||"html");switch(a){case "svg":case "math":var c=T.createElement("div");c.innerHTML="<"+a+">"+b+"</"+a+">";return c.childNodes[0].childNodes;default:return b}}function Xa(a,b){if("srcdoc"==b)return v.HTML;var c=la(a);if("xlinkHref"==b||"form"==c&&"action"==b||"img"!=c&&("src"==b||"ngSrc"==b))return v.RESOURCE_URL}function X(a,c,d,e){var f=b(d,!0);if(f){if("multiple"===e&&"select"===la(a))throw ga("selmulti",fa(a));c.push({priority:100,compile:function(){return{pre:function(c,
d,k){d=k.$$observers||(k.$$observers={});if(h.test(e))throw ga("nodomevents");if(f=b(k[e],!0,Xa(a,e),g[e]))k[e]=f(c),(d[e]||(d[e]=[])).$$inter=!0,(k.$$observers&&k.$$observers[e].$$scope||c).$watch(f,function(a,b){"class"===e&&a!=b?k.$updateClass(a,b):k.$set(e,a)})}}}})}}function pb(a,b,c){var d=b[0],e=b.length,f=d.parentNode,g,h;if(a)for(g=0,h=a.length;g<h;g++)if(a[g]==d){a[g++]=c;h=g+e-1;for(var k=a.length;g<k;g++,h++)h<k?a[g]=a[h]:delete a[g];a.length-=e-1;break}f&&f.replaceChild(c,d);a=T.createDocumentFragment();
a.appendChild(d);c[F.expando]=d[F.expando];d=1;for(e=b.length;d<e;d++)f=b[d],F(f).remove(),a.appendChild(f),delete b[d];b[0]=c;b.length=1}function Cc(a,b){return B(function(){return a.apply(null,arguments)},a,b)}var Mb=function(a,b){this.$$element=a;this.$attr=b||{}};Mb.prototype={$normalize:na,$addClass:function(a){a&&0<a.length&&A.addClass(this.$$element,a)},$removeClass:function(a){a&&0<a.length&&A.removeClass(this.$$element,a)},$updateClass:function(a,b){var c=Fc(a,b),d=Fc(b,a);0===c.length?A.removeClass(this.$$element,
d):0===d.length?A.addClass(this.$$element,c):A.setClass(this.$$element,c,d)},$set:function(a,b,c,d){var e=this.$$element[0],f=wc(e,a),g=Me(e,a),e=a;f?(this.$$element.prop(a,b),d=f):g&&(this[g]=b,e=g);this[a]=b;d?this.$attr[a]=d:(d=this.$attr[a])||(this.$attr[a]=d=gb(a,"-"));f=la(this.$$element);if("a"===f&&"href"===a||"img"===f&&"src"===a)this[a]=b=w(b,"src"===a);!1!==c&&(null===b||b===r?this.$$element.removeAttr(d):this.$$element.attr(d,b));(a=this.$$observers)&&q(a[e],function(a){try{a(b)}catch(c){p(c)}})},
$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers={}),e=d[a]||(d[a]=[]);e.push(b);H.$evalAsync(function(){e.$$inter||b(c[a])});return function(){Fa(e,b)}}};var N=b.startSymbol(),Q=b.endSymbol(),Dc="{{"==N||"}}"==Q?Da:function(a){return a.replace(/\{\{/g,N).replace(/}}/g,Q)},Ca=/^ngAttr[A-Z]/;return V}]}function na(b){return Ta(b.replace(Ve,""))}function Fc(b,a){var c="",d=b.split(/\s+/),e=a.split(/\s+/),f=0;a:for(;f<d.length;f++){for(var g=d[f],h=0;h<e.length;h++)if(g==e[h])continue a;
c+=(0<c.length?" ":"")+g}return c}function ke(){var b={},a=!1,c=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(a,c){Ba(a,"controller");R(a)?B(b,a):b[a]=c};this.allowGlobals=function(){a=!0};this.$get=["$injector","$window",function(d,e){return function(f,g){var h,m,l;y(f)&&(h=f.match(c),m=h[1],l=h[3],f=b.hasOwnProperty(m)?b[m]:hc(g.$scope,m,!0)||(a?hc(e,m,!0):r),Ra(f,m,!0));h=d.instantiate(f,g,m);if(l){if(!g||"object"!==typeof g.$scope)throw u("$controller")("noscp",m||f.name,l);g.$scope[l]=h}return h}}]}
function le(){this.$get=["$window",function(b){return F(b.document)}]}function me(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Gc(b){var a={},c,d,e;if(!b)return a;q(b.split("\n"),function(b){e=b.indexOf(":");c=M(Z(b.substr(0,e)));d=Z(b.substr(e+1));c&&(a[c]=a[c]?a[c]+(", "+d):d)});return a}function Hc(b){var a=R(b)?b:r;return function(c){a||(a=Gc(b));return c?a[M(c)]||null:a}}function Ic(b,a,c){if(L(c))return c(b,a);q(c,function(c){b=c(b,a)});return b}
function pe(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d={"Content-Type":"application/json;charset=utf-8"},e=this.defaults={transformResponse:[function(d){y(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=cc(d)));return d}],transformRequest:[function(a){return R(a)&&"[object File]"!==ya.call(a)&&"[object Blob]"!==ya.call(a)?sa(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ia(d),put:ia(d),patch:ia(d)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},
f=this.interceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,c,d,n,p){function k(a){function b(a){var d=B({},a,{data:Ic(a.data,a.headers,c.transformResponse)});return 200<=a.status&&300>a.status?d:n.reject(d)}var c={method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse},d=function(a){var b=e.headers,c=B({},a.headers),d,f,b=B({},b.common,b[M(a.method)]);a:for(d in b){a=M(d);for(f in c)if(M(f)===a)continue a;
c[d]=b[d]}(function(a){var b;q(a,function(c,d){L(c)&&(b=c(),null!=b?a[d]=b:delete a[d])})})(c);return c}(a);B(c,a);c.headers=d;c.method=hb(c.method);var f=[function(a){d=a.headers;var c=Ic(a.data,Hc(d),a.transformRequest);z(c)&&q(d,function(a,b){"content-type"===M(b)&&delete d[b]});z(a.withCredentials)&&!z(e.withCredentials)&&(a.withCredentials=e.withCredentials);return t(a,c,d).then(b,b)},r],g=n.when(c);for(q(H,function(a){(a.request||a.requestError)&&f.unshift(a.request,a.requestError);(a.response||
a.responseError)&&f.push(a.response,a.responseError)});f.length;){a=f.shift();var h=f.shift(),g=g.then(a,h)}g.success=function(a){g.then(function(b){a(b.data,b.status,b.headers,c)});return g};g.error=function(a){g.then(null,function(b){a(b.data,b.status,b.headers,c)});return g};return g}function t(c,f,m){function p(a,b,c,e){D&&(200<=a&&300>a?D.put(Y,[a,b,Gc(c),e]):D.remove(Y));t(b,a,c,e);d.$$phase||d.$apply()}function t(a,b,d,e){b=Math.max(b,0);(200<=b&&300>b?q.resolve:q.reject)({data:a,status:b,
headers:Hc(d),config:c,statusText:e})}function H(){var a=Oa(k.pendingRequests,c);-1!==a&&k.pendingRequests.splice(a,1)}var q=n.defer(),P=q.promise,D,x,Y=s(c.url,c.params);k.pendingRequests.push(c);P.then(H,H);(c.cache||e.cache)&&(!1!==c.cache&&"GET"==c.method)&&(D=R(c.cache)?c.cache:R(e.cache)?e.cache:J);if(D)if(x=D.get(Y),E(x)){if(x.then)return x.then(H,H),x;K(x)?t(x[1],x[0],ia(x[2]),x[3]):t(x,200,{},"OK")}else D.put(Y,P);z(x)&&((x=Nb(c.url)?b.cookies()[c.xsrfCookieName||e.xsrfCookieName]:r)&&(m[c.xsrfHeaderName||
e.xsrfHeaderName]=x),a(c.method,Y,f,p,m,c.timeout,c.withCredentials,c.responseType));return P}function s(a,b){if(!b)return a;var c=[];jd(b,function(a,b){null===a||z(a)||(K(a)||(a=[a]),q(a,function(a){R(a)&&(a=sa(a));c.push(Aa(b)+"="+Aa(a))}))});0<c.length&&(a+=(-1==a.indexOf("?")?"?":"&")+c.join("&"));return a}var J=c("$http"),H=[];q(f,function(a){H.unshift(y(a)?p.get(a):p.invoke(a))});k.pendingRequests=[];(function(a){q(arguments,function(a){k[a]=function(b,c){return k(B(c||{},{method:a,url:b}))}})})("get",
"delete","head","jsonp");(function(a){q(arguments,function(a){k[a]=function(b,c,d){return k(B(d||{},{method:a,url:b,data:c}))}})})("post","put","patch");k.defaults=e;return k}]}function We(b){if(8>=U&&(!b.match(/^(get|post|head|put|delete|options)$/i)||!N.XMLHttpRequest))return new N.ActiveXObject("Microsoft.XMLHTTP");if(N.XMLHttpRequest)return new N.XMLHttpRequest;throw u("$httpBackend")("noxhr");}function qe(){this.$get=["$browser","$window","$document",function(b,a,c){return Xe(b,We,b.defer,a.angular.callbacks,
c[0])}]}function Xe(b,a,c,d,e){function f(a,b,c){var f=e.createElement("script"),g=null;f.type="text/javascript";f.src=a;f.async=!0;g=function(a){Ua(f,"load",g);Ua(f,"error",g);e.body.removeChild(f);f=null;var h=-1,s="unknown";a&&("load"!==a.type||d[b].called||(a={type:"error"}),s=a.type,h="error"===a.type?404:200);c&&c(h,s)};qb(f,"load",g);qb(f,"error",g);e.body.appendChild(f);return g}var g=-1;return function(e,m,l,n,p,k,t,s){function J(){G=g;A&&A();w&&w.abort()}function H(a,d,e,f,g){O&&c.cancel(O);
A=w=null;0===d&&(d=e?200:"file"==va(m).protocol?404:0);a(1223===d?204:d,e,f,g||"");b.$$completeOutstandingRequest(C)}var G;b.$$incOutstandingRequestCount();m=m||b.url();if("jsonp"==M(e)){var v="_"+(d.counter++).toString(36);d[v]=function(a){d[v].data=a;d[v].called=!0};var A=f(m.replace("JSON_CALLBACK","angular.callbacks."+v),v,function(a,b){H(n,a,d[v].data,"",b);d[v]=C})}else{var w=a(e);w.open(e,m,!0);q(p,function(a,b){E(a)&&w.setRequestHeader(b,a)});w.onreadystatechange=function(){if(w&&4==w.readyState){var a=
null,b=null,c="";G!==g&&(a=w.getAllResponseHeaders(),b="response"in w?w.response:w.responseText);G===g&&10>U||(c=w.statusText);H(n,G||w.status,b,a,c)}};t&&(w.withCredentials=!0);if(s)try{w.responseType=s}catch(V){if("json"!==s)throw V;}w.send(l||null)}if(0<k)var O=c(J,k);else k&&k.then&&k.then(J)}}function ne(){var b="{{",a="}}";this.startSymbol=function(a){return a?(b=a,this):b};this.endSymbol=function(b){return b?(a=b,this):a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function f(a){return"\\\\\\"+
a}function g(f,g,t,s){s=!!s;for(var J,H,G=0,v=[],A=[],w=[],V=f.length,O=!1,S=!1,P=[],D={},x={};G<V;)if(-1!=(J=f.indexOf(b,G))&&-1!=(H=f.indexOf(a,J+h)))G!==J&&(S=!0),v.push(f.substring(G,J)),G=f.substring(J+h,H),A.push(G),w.push(c(G)),G=H+m,O=!0;else{G!==V&&(S=!0,v.push(f.substring(G)));break}q(v,function(c,d){v[d]=v[d].replace(l,b).replace(n,a)});v.length===A.length&&v.push("");if(t&&O&&(S||1<A.length))throw Jc("noconcat",f);if(!g||O){P.length=v.length+A.length;var Y=function(a){for(var b=0,c=A.length;b<
c;b++)P[2*b]=v[b],P[2*b+1]=a[b];P[2*c]=v[c];return P.join("")},ba=function(a){return a=t?e.getTrusted(t,a):e.valueOf(a)},u=function(a){if(null==a)return"";switch(typeof a){case "string":break;case "number":a=""+a;break;default:a=sa(a)}return a};return B(function ma(a){var b=a&&a.$id||"notAScope",c=D[b],e=x[b],g=0,h=A.length,k=Array(h),m,l=e===r?!0:!1;c||(c=[],l=!0,a&&a.$on&&a.$on("$destroy",function(){D[b]=null;x[b]=null}));try{for(ma.$$unwatch=!0;g<h;g++){m=ba(w[g](a));if(s&&z(m)){ma.$$unwatch=r;
return}m=u(m);m!==c[g]&&(l=!0);k[g]=m;ma.$$unwatch=ma.$$unwatch&&w[g].$$unwatch}l&&(D[b]=k,x[b]=e=Y(k))}catch(t){a=Jc("interr",f,t.toString()),d(a)}return e},{exp:f,separators:v,expressions:A})}}var h=b.length,m=a.length,l=RegExp(b.replace(/./g,f),"g"),n=RegExp(a.replace(/./g,f),"g");g.startSymbol=function(){return b};g.endSymbol=function(){return a};return g}]}function oe(){this.$get=["$rootScope","$window","$q","$$q",function(b,a,c,d){function e(e,h,m,l){var n=a.setInterval,p=a.clearInterval,k=
0,t=E(l)&&!l,s=(t?d:c).defer(),J=s.promise;m=E(m)?m:0;J.then(null,null,e);J.$$intervalId=n(function(){s.notify(k++);0<m&&k>=m&&(s.resolve(k),p(J.$$intervalId),delete f[J.$$intervalId]);t||b.$apply()},h);f[J.$$intervalId]=s;return J}var f={};e.cancel=function(b){return b&&b.$$intervalId in f?(f[b.$$intervalId].reject("canceled"),a.clearInterval(b.$$intervalId),delete f[b.$$intervalId],!0):!1};return e}]}function wd(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",
PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"\u00a4",posSuf:"",negPre:"(\u00a4",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January February March April May June July August September October November December".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),
AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(b){return 1===b?"one":"other"}}}}function Ob(b){b=b.split("/");for(var a=b.length;a--;)b[a]=fb(b[a]);return b.join("/")}function Kc(b,a,c){b=va(b,c);a.$$protocol=b.protocol;a.$$host=b.hostname;a.$$port=W(b.port)||Ye[b.protocol]||null}function Lc(b,a,c){var d="/"!==b.charAt(0);d&&
(b="/"+b);b=va(b,c);a.$$path=decodeURIComponent(d&&"/"===b.pathname.charAt(0)?b.pathname.substring(1):b.pathname);a.$$search=ec(b.search);a.$$hash=decodeURIComponent(b.hash);a.$$path&&"/"!=a.$$path.charAt(0)&&(a.$$path="/"+a.$$path)}function oa(b,a){if(0===a.indexOf(b))return a.substr(b.length)}function Ya(b){var a=b.indexOf("#");return-1==a?b:b.substr(0,a)}function Pb(b){return b.substr(0,Ya(b).lastIndexOf("/")+1)}function Mc(b,a){this.$$html5=!0;a=a||"";var c=Pb(b);Kc(b,this,b);this.$$parse=function(a){var e=
oa(c,a);if(!y(e))throw Qb("ipthprfx",a,c);Lc(e,this,b);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var a=Cb(this.$$search),b=this.$$hash?"#"+fb(this.$$hash):"";this.$$url=Ob(this.$$path)+(a?"?"+a:"")+b;this.$$absUrl=c+this.$$url.substr(1)};this.$$rewrite=function(d){var e;if((e=oa(b,d))!==r)return d=e,(e=oa(a,e))!==r?c+(oa("/",e)||e):b+d;if((e=oa(c,d))!==r)return c+e;if(c==d+"/")return c}}function Rb(b,a){var c=Pb(b);Kc(b,this,b);this.$$parse=function(d){var e=oa(b,
d)||oa(c,d),e="#"==e.charAt(0)?oa(a,e):this.$$html5?e:"";if(!y(e))throw Qb("ihshprfx",d,a);Lc(e,this,b);d=this.$$path;var f=/^\/[A-Z]:(\/.*)/;0===e.indexOf(b)&&(e=e.replace(b,""));f.exec(e)||(d=(e=f.exec(d))?e[1]:d);this.$$path=d;this.$$compose()};this.$$compose=function(){var c=Cb(this.$$search),e=this.$$hash?"#"+fb(this.$$hash):"";this.$$url=Ob(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+(this.$$url?a+this.$$url:"")};this.$$rewrite=function(a){if(Ya(b)==Ya(a))return a}}function Sb(b,a){this.$$html5=
!0;Rb.apply(this,arguments);var c=Pb(b);this.$$rewrite=function(d){var e;if(b==Ya(d))return d;if(e=oa(c,d))return b+a+e;if(c===d+"/")return c};this.$$compose=function(){var c=Cb(this.$$search),e=this.$$hash?"#"+fb(this.$$hash):"";this.$$url=Ob(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+a+this.$$url}}function rb(b){return function(){return this[b]}}function Nc(b,a){return function(c){if(z(c))return this[b];this[b]=a(c);this.$$compose();return this}}function re(){var b="",a=!1;this.hashPrefix=function(a){return E(a)?
(b=a,this):b};this.html5Mode=function(b){return E(b)?(a=b,this):a};this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(c,d,e,f){function g(a){c.$broadcast("$locationChangeSuccess",h.absUrl(),a)}var h,m,l=d.baseHref(),n=d.url(),p;a?(p=n.substring(0,n.indexOf("/",n.indexOf("//")+2))+(l||"/"),m=e.history?Mc:Sb):(p=Ya(n),m=Rb);h=new m(p,"#"+b);h.$$parse(h.$$rewrite(n));f.on("click",function(a){if(!a.ctrlKey&&!a.metaKey&&2!=a.which){for(var e=F(a.target);"a"!==la(e[0]);)if(e[0]===f[0]||
!(e=e.parent())[0])return;var g=e.prop("href");R(g)&&"[object SVGAnimatedString]"===g.toString()&&(g=va(g.animVal).href);if(m===Sb){var k=e.attr("href")||e.attr("xlink:href");if(0>k.indexOf("://"))if(g="#"+b,"/"==k[0])g=p+g+k;else if("#"==k[0])g=p+g+(h.path()||"/")+k;else{for(var l=h.path().split("/"),k=k.split("/"),n=0;n<k.length;n++)"."!=k[n]&&(".."==k[n]?l.pop():k[n].length&&l.push(k[n]));g=p+g+l.join("/")}}l=h.$$rewrite(g);g&&(!e.attr("target")&&l&&!a.isDefaultPrevented())&&(a.preventDefault(),
l!=d.url()&&(h.$$parse(l),c.$apply(),N.angular["ff-684208-preventDefault"]=!0))}});h.absUrl()!=n&&d.url(h.absUrl(),!0);d.onUrlChange(function(a){h.absUrl()!=a&&(c.$evalAsync(function(){var b=h.absUrl();h.$$parse(a);c.$broadcast("$locationChangeStart",a,b).defaultPrevented?(h.$$parse(b),d.url(b)):g(b)}),c.$$phase||c.$digest())});var k=0;c.$watch(function(){var a=d.url(),b=h.$$replace;k&&a==h.absUrl()||(k++,c.$evalAsync(function(){c.$broadcast("$locationChangeStart",h.absUrl(),a).defaultPrevented?h.$$parse(a):
(d.url(h.absUrl(),b),g(a))}));h.$$replace=!1;return k});return h}]}function se(){var b=!0,a=this;this.debugEnabled=function(a){return E(a)?(b=a,this):b};this.$get=["$window",function(c){function d(a){a instanceof Error&&(a.stack?a=a.message&&-1===a.stack.indexOf(a.message)?"Error: "+a.message+"\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\n"+a.sourceURL+":"+a.line));return a}function e(a){var b=c.console||{},e=b[a]||b.log||C;a=!1;try{a=!!e.apply}catch(m){}return a?function(){var a=[];q(arguments,
function(b){a.push(d(b))});return e.apply(b,a)}:function(a,b){e(a,null==b?"":b)}}return{log:e("log"),info:e("info"),warn:e("warn"),error:e("error"),debug:function(){var c=e("debug");return function(){b&&c.apply(a,arguments)}}()}}]}function pa(b,a){if("__defineGetter__"===b||"__defineSetter__"===b||"__lookupGetter__"===b||"__lookupSetter__"===b||"__proto__"===b)throw ha("isecfld",a);return b}function La(b,a){if(b){if(b.constructor===b)throw ha("isecfn",a);if(b.window===b)throw ha("isecwindow",a);if(b.children&&
(b.nodeName||b.prop&&b.attr&&b.find))throw ha("isecdom",a);if(b===Object)throw ha("isecobj",a);}return b}function sb(b,a,c,d){a=a.split(".");for(var e,f=0;1<a.length;f++){e=pa(a.shift(),d);var g=b[e];g||(g={},b[e]=g);b=g}e=pa(a.shift(),d);La(b,d);La(b[e],d);return b[e]=c}function Oc(b,a,c,d,e,f){pa(b,f);pa(a,f);pa(c,f);pa(d,f);pa(e,f);return function(f,h){var m=h&&h.hasOwnProperty(b)?h:f;if(null==m)return m;m=m[b];if(!a)return m;if(null==m)return r;m=m[a];if(!c)return m;if(null==m)return r;m=m[c];
if(!d)return m;if(null==m)return r;m=m[d];return e?null==m?r:m=m[e]:m}}function Pc(b,a,c){if(Tb.hasOwnProperty(b))return Tb[b];var d=b.split("."),e=d.length;if(a.csp)a=6>e?Oc(d[0],d[1],d[2],d[3],d[4],c):function(a,b){var f=0,l;do l=Oc(d[f++],d[f++],d[f++],d[f++],d[f++],c)(a,b),b=r,a=l;while(f<e);return l};else{var f="var p;\n";q(d,function(a,b){pa(a,c);f+="if(s == null) return undefined;\ns="+(b?"s":'((k&&k.hasOwnProperty("'+a+'"))?k:s)')+'["'+a+'"];\n'});f+="return s;";a=new Function("s","k",f);
a.toString=ca(f)}"hasOwnProperty"!==b&&(Tb[b]=a);return a}function te(){var b={},a={csp:!1};this.$get=["$filter","$sniffer",function(c,d){a.csp=d.csp;return function(d){function f(a){function b(e,f){c||(d=a.constant&&d?d:a(e,f),b.$$unwatch=E(d),b.$$unwatch&&(e&&e.$$postDigestQueue)&&e.$$postDigestQueue.push(function(){!(c=E(d))||null!==d&&d.$$unwrapTrustedValue||(d=za(d,null))}));return d}var c=!1,d;b.literal=a.literal;b.constant=a.constant;b.assign=a.assign;return b}var g,h;switch(typeof d){case "string":d=
Z(d);":"===d.charAt(0)&&":"===d.charAt(1)&&(h=!0,d=d.substring(2));if(b.hasOwnProperty(d))return h?f(b[d]):b[d];g=new Ub(a);g=(new Za(g,c,a)).parse(d);"hasOwnProperty"!==d&&(b[d]=g);return h||g.constant?f(g):g;case "function":return d;default:return C}}}]}function ve(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return Qc(function(a){b.$evalAsync(a)},a)}]}function we(){this.$get=["$browser","$exceptionHandler",function(b,a){return Qc(function(a){b.defer(a)},a)}]}function Qc(b,a){function c(a){return a}
function d(a){return g(a)}var e=function(){var g=[],l,n;return n={resolve:function(a){if(g){var c=g;g=r;l=f(a);c.length&&b(function(){for(var a,b=0,d=c.length;b<d;b++)a=c[b],l.then(a[0],a[1],a[2])})}},reject:function(a){n.resolve(h(a))},notify:function(a){if(g){var c=g;g.length&&b(function(){for(var b,d=0,e=c.length;d<e;d++)b=c[d],b[2](a)})}},promise:{then:function(b,f,h){var n=e(),J=function(d){try{n.resolve((L(b)?b:c)(d))}catch(e){n.reject(e),a(e)}},H=function(b){try{n.resolve((L(f)?f:d)(b))}catch(c){n.reject(c),
a(c)}},G=function(b){try{n.notify((L(h)?h:c)(b))}catch(d){a(d)}};g?g.push([J,H,G]):l.then(J,H,G);return n.promise},"catch":function(a){return this.then(null,a)},"finally":function(a){function b(a,c){var d=e();c?d.resolve(a):d.reject(a);return d.promise}function d(e,f){var g=null;try{g=(a||c)()}catch(h){return b(h,!1)}return g&&L(g.then)?g.then(function(){return b(e,f)},function(a){return b(a,!1)}):b(e,f)}return this.then(function(a){return d(a,!0)},function(a){return d(a,!1)})}}}},f=function(a){return a&&
L(a.then)?a:{then:function(c){var d=e();b(function(){d.resolve(c(a))});return d.promise}}},g=function(a){var b=e();b.reject(a);return b.promise},h=function(c){return{then:function(f,g){var h=e();b(function(){try{h.resolve((L(g)?g:d)(c))}catch(b){h.reject(b),a(b)}});return h.promise}}};return{defer:e,reject:g,when:function(h,l,n,p){var k=e(),t,s=function(b){try{return(L(l)?l:c)(b)}catch(d){return a(d),g(d)}},J=function(b){try{return(L(n)?n:d)(b)}catch(c){return a(c),g(c)}},H=function(b){try{return(L(p)?
p:c)(b)}catch(d){a(d)}};b(function(){f(h).then(function(a){t||(t=!0,k.resolve(f(a).then(s,J,H)))},function(a){t||(t=!0,k.resolve(J(a)))},function(a){t||k.notify(H(a))})});return k.promise},all:function(a){var b=e(),c=0,d=K(a)?[]:{};q(a,function(a,e){c++;f(a).then(function(a){d.hasOwnProperty(e)||(d[e]=a,--c||b.resolve(d))},function(a){d.hasOwnProperty(e)||b.reject(a)})});0===c&&b.resolve(d);return b.promise}}}function De(){this.$get=["$window","$timeout",function(b,a){var c=b.requestAnimationFrame||
b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame,d=b.cancelAnimationFrame||b.webkitCancelAnimationFrame||b.mozCancelAnimationFrame||b.webkitCancelRequestAnimationFrame,e=!!c,f=e?function(a){var b=c(a);return function(){d(b)}}:function(b){var c=a(b,16.66,!1);return function(){a.cancel(c)}};f.supported=e;return f}]}function ue(){var b=10,a=u("$rootScope"),c=null;this.digestTtl=function(a){arguments.length&&(b=a);return b};this.$get=["$injector","$exceptionHandler","$parse","$browser",function(d,
e,f,g){function h(){this.$id=++db;this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this["this"]=this.$root=this;this.$$destroyed=!1;this.$$asyncQueue=[];this.$$postDigestQueue=[];this.$$listeners={};this.$$listenerCount={};this.$$isolateBindings={}}function m(b){if(k.$$phase)throw a("inprog",k.$$phase);k.$$phase=b}function l(a,b){var c=f(a);Ra(c,b);return c}function n(a,b,c){do a.$$listenerCount[c]-=b,0===a.$$listenerCount[c]&&
delete a.$$listenerCount[c];while(a=a.$parent)}function p(){}h.prototype={constructor:h,$new:function(a){a?(a=new h,a.$root=this.$root,a.$$asyncQueue=this.$$asyncQueue,a.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null;this.$$listeners={};this.$$listenerCount={};this.$id=++db;this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),a=new this.$$childScopeClass);
a["this"]=a;a.$parent=this;a.$$prevSibling=this.$$childTail;this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=a:this.$$childHead=this.$$childTail=a;return a},$watch:function(a,b,d){var e=l(a,"watch"),f=this.$$watchers,g={fn:b,last:p,get:e,exp:a,eq:!!d};c=null;if(!L(b)){var h=l(b||C,"listener");g.fn=function(a,b,c){h(c)}}f||(f=this.$$watchers=[]);f.unshift(g);return function(){Fa(f,g);c=null}},$watchGroup:function(a,b){function c(){return h}var d=Array(a.length),e=Array(a.length),g=
[],h=0,k=this,l=Array(a.length),m=a.length;q(a,function(a,b){var c=f(a);g.push(k.$watch(c,function(a,f){e[b]=a;d[b]=f;h++;l[b]&&!c.$$unwatch&&m++;!l[b]&&c.$$unwatch&&m--;l[b]=c.$$unwatch}))},this);g.push(k.$watch(c,function(){b(e,d,k);c.$$unwatch=0===m?!0:!1}));return function(){q(g,function(a){a()})}},$watchCollection:function(a,b){function c(){e=m(d);var a,b;if(R(e))if(cb(e))for(g!==n&&(g=n,x=g.length=0,l++),a=e.length,x!==a&&(l++,g.length=x=a),b=0;b<a;b++)g[b]!==g[b]&&e[b]!==e[b]||g[b]===e[b]||
(l++,g[b]=e[b]);else{g!==p&&(g=p={},x=0,l++);a=0;for(b in e)e.hasOwnProperty(b)&&(a++,g.hasOwnProperty(b)?g[b]!==e[b]&&(l++,g[b]=e[b]):(x++,g[b]=e[b],l++));if(x>a)for(b in l++,g)g.hasOwnProperty(b)&&!e.hasOwnProperty(b)&&(x--,delete g[b])}else g!==e&&(g=e,l++);c.$$unwatch=m.$$unwatch;return l}var d=this,e,g,h,k=1<b.length,l=0,m=f(a),n=[],p={},q=!0,x=0;return this.$watch(c,function(){q?(q=!1,b(e,e,d)):b(e,h,d);if(k)if(R(e))if(cb(e)){h=Array(e.length);for(var a=0;a<e.length;a++)h[a]=e[a]}else for(a in h=
{},e)Bb.call(e,a)&&(h[a]=e[a]);else h=e})},$digest:function(){var d,f,g,h,l=this.$$asyncQueue,n=this.$$postDigestQueue,A,q,r=b,O,S=[],P=[],D,x,u;m("$digest");c=null;do{q=!1;for(O=this;l.length;){try{u=l.shift(),u.scope.$eval(u.expression)}catch(F){k.$$phase=null,e(F)}c=null}a:do{if(h=O.$$watchers)for(A=h.length;A--;)try{if(d=h[A])if((f=d.get(O))!==(g=d.last)&&!(d.eq?ra(f,g):"number"===typeof f&&"number"===typeof g&&isNaN(f)&&isNaN(g)))q=!0,c=d,d.last=d.eq?za(f,null):f,d.fn(f,g===p?f:g,O),5>r&&(D=
4-r,S[D]||(S[D]=[]),x=L(d.exp)?"fn: "+(d.exp.name||d.exp.toString()):d.exp,x+="; newVal: "+sa(f)+"; oldVal: "+sa(g),S[D].push(x)),d.get.$$unwatch&&P.push({watch:d,array:h});else if(d===c){q=!1;break a}}catch(E){k.$$phase=null,e(E)}if(!(A=O.$$childHead||O!==this&&O.$$nextSibling))for(;O!==this&&!(A=O.$$nextSibling);)O=O.$parent}while(O=A);if((q||l.length)&&!r--)throw k.$$phase=null,a("infdig",b,sa(S));}while(q||l.length);for(k.$$phase=null;n.length;)try{n.shift()()}catch(B){e(B)}for(A=P.length-1;0<=
A;--A)d=P[A],d.watch.get.$$unwatch&&Fa(d.array,d.watch)},$destroy:function(){if(!this.$$destroyed){var a=this.$parent;this.$broadcast("$destroy");this.$$destroyed=!0;this!==k&&(q(this.$$listenerCount,Ab(null,n,this)),a.$$childHead==this&&(a.$$childHead=this.$$nextSibling),a.$$childTail==this&&(a.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=
this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=C,this.$on=this.$watch=this.$watchGroup=function(){return C})}},$eval:function(a,b){return f(a)(this,b)},$evalAsync:function(a){k.$$phase||k.$$asyncQueue.length||g.defer(function(){k.$$asyncQueue.length&&k.$digest()});this.$$asyncQueue.push({scope:this,expression:a})},$$postDigest:function(a){this.$$postDigestQueue.push(a)},
$apply:function(a){try{return m("$apply"),this.$eval(a)}catch(b){e(b)}finally{k.$$phase=null;try{k.$digest()}catch(c){throw e(c),c;}}},$on:function(a,b){var c=this.$$listeners[a];c||(this.$$listeners[a]=c=[]);c.push(b);var d=this;do d.$$listenerCount[a]||(d.$$listenerCount[a]=0),d.$$listenerCount[a]++;while(d=d.$parent);var e=this;return function(){c[Oa(c,b)]=null;n(e,1,a)}},$emit:function(a,b){var c=[],d,f=this,g=!1,h={name:a,targetScope:f,stopPropagation:function(){g=!0},preventDefault:function(){h.defaultPrevented=
!0},defaultPrevented:!1},k=[h].concat(ja.call(arguments,1)),l,m;do{d=f.$$listeners[a]||c;h.currentScope=f;l=0;for(m=d.length;l<m;l++)if(d[l])try{d[l].apply(null,k)}catch(n){e(n)}else d.splice(l,1),l--,m--;if(g)return h.currentScope=null,h;f=f.$parent}while(f);h.currentScope=null;return h},$broadcast:function(a,b){for(var c=this,d=this,f={name:a,targetScope:this,preventDefault:function(){f.defaultPrevented=!0},defaultPrevented:!1},g=[f].concat(ja.call(arguments,1)),h,k;c=d;){f.currentScope=c;d=c.$$listeners[a]||
[];h=0;for(k=d.length;h<k;h++)if(d[h])try{d[h].apply(null,g)}catch(l){e(l)}else d.splice(h,1),h--,k--;if(!(d=c.$$listenerCount[a]&&c.$$childHead||c!==this&&c.$$nextSibling))for(;c!==this&&!(d=c.$$nextSibling);)c=c.$parent}f.currentScope=null;return f}};var k=new h;return k}]}function xd(){var b=/^\s*(https?|ftp|mailto|tel|file):/,a=/^\s*(https?|ftp|file|blob):|data:image\//;this.aHrefSanitizationWhitelist=function(a){return E(a)?(b=a,this):b};this.imgSrcSanitizationWhitelist=function(b){return E(b)?
(a=b,this):a};this.$get=function(){return function(c,d){var e=d?a:b,f;if(!U||8<=U)if(f=va(c).href,""!==f&&!f.match(e))return"unsafe:"+f;return c}}}function Ze(b){if("self"===b)return b;if(y(b)){if(-1<b.indexOf("***"))throw wa("iwcard",b);b=b.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*");return RegExp("^"+b+"$")}if(eb(b))return RegExp("^"+b.source+"$");throw wa("imatcher");}function Rc(b){var a=[];E(b)&&q(b,function(b){a.push(Ze(b))});
return a}function ye(){this.SCE_CONTEXTS=ea;var b=["self"],a=[];this.resourceUrlWhitelist=function(a){arguments.length&&(b=Rc(a));return b};this.resourceUrlBlacklist=function(b){arguments.length&&(a=Rc(b));return a};this.$get=["$injector",function(c){function d(a){var b=function(a){this.$$unwrapTrustedValue=function(){return a}};a&&(b.prototype=new a);b.prototype.valueOf=function(){return this.$$unwrapTrustedValue()};b.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()};return b}
var e=function(a){throw wa("unsafe");};c.has("$sanitize")&&(e=c.get("$sanitize"));var f=d(),g={};g[ea.HTML]=d(f);g[ea.CSS]=d(f);g[ea.URL]=d(f);g[ea.JS]=d(f);g[ea.RESOURCE_URL]=d(g[ea.URL]);return{trustAs:function(a,b){var c=g.hasOwnProperty(a)?g[a]:null;if(!c)throw wa("icontext",a,b);if(null===b||b===r||""===b)return b;if("string"!==typeof b)throw wa("itype",a);return new c(b)},getTrusted:function(c,d){if(null===d||d===r||""===d)return d;var f=g.hasOwnProperty(c)?g[c]:null;if(f&&d instanceof f)return d.$$unwrapTrustedValue();
if(c===ea.RESOURCE_URL){var f=va(d.toString()),n,p,k=!1;n=0;for(p=b.length;n<p;n++)if("self"===b[n]?Nb(f):b[n].exec(f.href)){k=!0;break}if(k)for(n=0,p=a.length;n<p;n++)if("self"===a[n]?Nb(f):a[n].exec(f.href)){k=!1;break}if(k)return d;throw wa("insecurl",d.toString());}if(c===ea.HTML)return e(d);throw wa("unsafe");},valueOf:function(a){return a instanceof f?a.$$unwrapTrustedValue():a}}}]}function xe(){var b=!0;this.enabled=function(a){arguments.length&&(b=!!a);return b};this.$get=["$parse","$sniffer",
"$sceDelegate",function(a,c,d){if(b&&c.msie&&8>c.msieDocumentMode)throw wa("iequirks");var e=ia(ea);e.isEnabled=function(){return b};e.trustAs=d.trustAs;e.getTrusted=d.getTrusted;e.valueOf=d.valueOf;b||(e.trustAs=e.getTrusted=function(a,b){return b},e.valueOf=Da);e.parseAs=function(b,c){var d=a(c);return d.literal&&d.constant?d:function k(a,c){var f=e.getTrusted(b,d(a,c));k.$$unwatch=d.$$unwatch;return f}};var f=e.parseAs,g=e.getTrusted,h=e.trustAs;q(ea,function(a,b){var c=M(b);e[Ta("parse_as_"+c)]=
function(b){return f(a,b)};e[Ta("get_trusted_"+c)]=function(b){return g(a,b)};e[Ta("trust_as_"+c)]=function(b){return h(a,b)}});return e}]}function ze(){this.$get=["$window","$document",function(b,a){var c={},d=W((/android (\d+)/.exec(M((b.navigator||{}).userAgent))||[])[1]),e=/Boxee/i.test((b.navigator||{}).userAgent),f=a[0]||{},g=f.documentMode,h,m=/^(Moz|webkit|O|ms)(?=[A-Z])/,l=f.body&&f.body.style,n=!1,p=!1;if(l){for(var k in l)if(n=m.exec(k)){h=n[0];h=h.substr(0,1).toUpperCase()+h.substr(1);
break}h||(h="WebkitOpacity"in l&&"webkit");n=!!("transition"in l||h+"Transition"in l);p=!!("animation"in l||h+"Animation"in l);!d||n&&p||(n=y(f.body.style.webkitTransition),p=y(f.body.style.webkitAnimation))}return{history:!(!b.history||!b.history.pushState||4>d||e),hashchange:"onhashchange"in b&&(!g||7<g),hasEvent:function(a){if("input"==a&&9==U)return!1;if(z(c[a])){var b=f.createElement("div");c[a]="on"+a in b}return c[a]},csp:bc(),vendorPrefix:h,transitions:n,animations:p,android:d,msie:U,msieDocumentMode:g}}]}
function Be(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(b,a,c,d,e){function f(f,m,l){var n=E(l)&&!l,p=(n?d:c).defer(),k=p.promise;m=a.defer(function(){try{p.resolve(f())}catch(a){p.reject(a),e(a)}finally{delete g[k.$$timeoutId]}n||b.$apply()},m);k.$$timeoutId=m;g[m]=p;return k}var g={};f.cancel=function(b){return b&&b.$$timeoutId in g?(g[b.$$timeoutId].reject("canceled"),delete g[b.$$timeoutId],a.defer.cancel(b.$$timeoutId)):!1};return f}]}function va(b,a){var c=b;
U&&($.setAttribute("href",c),c=$.href);$.setAttribute("href",c);return{href:$.href,protocol:$.protocol?$.protocol.replace(/:$/,""):"",host:$.host,search:$.search?$.search.replace(/^\?/,""):"",hash:$.hash?$.hash.replace(/^#/,""):"",hostname:$.hostname,port:$.port,pathname:"/"===$.pathname.charAt(0)?$.pathname:"/"+$.pathname}}function Nb(b){b=y(b)?va(b):b;return b.protocol===Sc.protocol&&b.host===Sc.host}function Ce(){this.$get=ca(N)}function pc(b){function a(d,e){if(R(d)){var f={};q(d,function(b,c){f[c]=
a(c,b)});return f}return b.factory(d+c,e)}var c="Filter";this.register=a;this.$get=["$injector",function(a){return function(b){return a.get(b+c)}}];a("currency",Tc);a("date",Uc);a("filter",$e);a("json",af);a("limitTo",bf);a("lowercase",cf);a("number",Vc);a("orderBy",Wc);a("uppercase",df)}function $e(){return function(b,a,c){if(!K(b))return b;var d=typeof c,e=[];e.check=function(a){for(var b=0;b<e.length;b++)if(!e[b](a))return!1;return!0};"function"!==d&&(c="boolean"===d&&c?function(a,b){return Qa.equals(a,
b)}:function(a,b){if(a&&b&&"object"===typeof a&&"object"===typeof b){for(var d in a)if("$"!==d.charAt(0)&&Bb.call(a,d)&&c(a[d],b[d]))return!0;return!1}b=(""+b).toLowerCase();return-1<(""+a).toLowerCase().indexOf(b)});var f=function(a,b){if("string"==typeof b&&"!"===b.charAt(0))return!f(a,b.substr(1));switch(typeof a){case "boolean":case "number":case "string":return c(a,b);case "object":switch(typeof b){case "object":return c(a,b);default:for(var d in a)if("$"!==d.charAt(0)&&f(a[d],b))return!0}return!1;
case "array":for(d=0;d<a.length;d++)if(f(a[d],b))return!0;return!1;default:return!1}};switch(typeof a){case "boolean":case "number":case "string":a={$:a};case "object":for(var g in a)(function(b){"undefined"!==typeof a[b]&&e.push(function(c){return f("$"==b?c:c&&c[b],a[b])})})(g);break;case "function":e.push(a);break;default:return b}d=[];for(g=0;g<b.length;g++){var h=b[g];e.check(h)&&d.push(h)}return d}}function Tc(b){var a=b.NUMBER_FORMATS;return function(b,d){z(d)&&(d=a.CURRENCY_SYM);return Xc(b,
a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,2).replace(/\u00A4/g,d)}}function Vc(b){var a=b.NUMBER_FORMATS;return function(b,d){return Xc(b,a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,d)}}function Xc(b,a,c,d,e){if(null==b||!isFinite(b)||R(b))return"";var f=0>b;b=Math.abs(b);var g=b+"",h="",m=[],l=!1;if(-1!==g.indexOf("e")){var n=g.match(/([\d\.]+)e(-?)(\d+)/);n&&"-"==n[2]&&n[3]>e+1?(g="0",b=0):(h=g,l=!0)}if(l)0<e&&(-1<b&&1>b)&&(h=b.toFixed(e));else{g=(g.split(Yc)[1]||"").length;z(e)&&(e=Math.min(Math.max(a.minFrac,
g),a.maxFrac));b=+(Math.round(+(b.toString()+"e"+e)).toString()+"e"+-e);b=(""+b).split(Yc);g=b[0];b=b[1]||"";var n=0,p=a.lgSize,k=a.gSize;if(g.length>=p+k)for(n=g.length-p,l=0;l<n;l++)0===(n-l)%k&&0!==l&&(h+=c),h+=g.charAt(l);for(l=n;l<g.length;l++)0===(g.length-l)%p&&0!==l&&(h+=c),h+=g.charAt(l);for(;b.length<e;)b+="0";e&&"0"!==e&&(h+=d+b.substr(0,e))}m.push(f?a.negPre:a.posPre);m.push(h);m.push(f?a.negSuf:a.posSuf);return m.join("")}function tb(b,a,c){var d="";0>b&&(d="-",b=-b);for(b=""+b;b.length<
a;)b="0"+b;c&&(b=b.substr(b.length-a));return d+b}function aa(b,a,c,d){c=c||0;return function(e){e=e["get"+b]();if(0<c||e>-c)e+=c;0===e&&-12==c&&(e=12);return tb(e,a,d)}}function ub(b,a){return function(c,d){var e=c["get"+b](),f=hb(a?"SHORT"+b:b);return d[f][e]}}function Zc(b){var a=(new Date(b,0,1)).getDay();return new Date(b,0,(4>=a?5:12)-a)}function $c(b){return function(a){var c=Zc(a.getFullYear());a=+new Date(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))-+c;a=1+Math.round(a/6048E5);
return tb(a,b)}}function Uc(b){function a(a){var b;if(b=a.match(c)){a=new Date(0);var f=0,g=0,h=b[8]?a.setUTCFullYear:a.setFullYear,m=b[8]?a.setUTCHours:a.setHours;b[9]&&(f=W(b[9]+b[10]),g=W(b[9]+b[11]));h.call(a,W(b[1]),W(b[2])-1,W(b[3]));f=W(b[4]||0)-f;g=W(b[5]||0)-g;h=W(b[6]||0);b=Math.round(1E3*parseFloat("0."+(b[7]||0)));m.call(a,f,g,h,b)}return a}var c=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(c,e){var f="",g=[],h,
m;e=e||"mediumDate";e=b.DATETIME_FORMATS[e]||e;y(c)&&(c=ef.test(c)?W(c):a(c));Ea(c)&&(c=new Date(c));if(!qa(c))return c;for(;e;)(m=ff.exec(e))?(g=g.concat(ja.call(m,1)),e=g.pop()):(g.push(e),e=null);q(g,function(a){h=gf[a];f+=h?h(c,b.DATETIME_FORMATS):a.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return f}}function af(){return function(b){return sa(b,!0)}}function bf(){return function(b,a){if(!K(b)&&!y(b))return b;a=Infinity===Math.abs(Number(a))?Number(a):W(a);if(y(b))return a?0<=a?b.slice(0,a):
b.slice(a,b.length):"";var c=[],d,e;a>b.length?a=b.length:a<-b.length&&(a=-b.length);0<a?(d=0,e=a):(d=b.length+a,e=b.length);for(;d<e;d++)c.push(b[d]);return c}}function Wc(b){return function(a,c,d){function e(a,b){return b?function(b,c){return a(c,b)}:a}function f(a,b){var c=typeof a,d=typeof b;return c==d?("string"==c&&(a=a.toLowerCase(),b=b.toLowerCase()),a===b?0:a<b?-1:1):c<d?-1:1}if(!K(a)||!c)return a;c=K(c)?c:[c];c=nd(c,function(a){var c=!1,d=a||Da;if(y(a)){if("+"==a.charAt(0)||"-"==a.charAt(0))c=
"-"==a.charAt(0),a=a.substring(1);d=b(a);if(d.constant){var g=d();return e(function(a,b){return f(a[g],b[g])},c)}}return e(function(a,b){return f(d(a),d(b))},c)});for(var g=[],h=0;h<a.length;h++)g.push(a[h]);return g.sort(e(function(a,b){for(var d=0;d<c.length;d++){var e=c[d](a,b);if(0!==e)return e}return 0},d))}}function xa(b){L(b)&&(b={link:b});b.restrict=b.restrict||"AC";return ca(b)}function ad(b,a,c,d){function e(a,c){c=c?"-"+gb(c,"-"):"";d.removeClass(b,(a?vb:wb)+c);d.addClass(b,(a?wb:vb)+c)}
var f=this,g=b.parent().controller("form")||xb,h=0,m=f.$error={},l=[];f.$name=a.name||a.ngForm;f.$dirty=!1;f.$pristine=!0;f.$valid=!0;f.$invalid=!1;g.$addControl(f);b.addClass(Ma);e(!0);f.$rollbackViewValue=function(){q(l,function(a){a.$rollbackViewValue()})};f.$commitViewValue=function(){q(l,function(a){a.$commitViewValue()})};f.$addControl=function(a){Ba(a.$name,"input");l.push(a);a.$name&&(f[a.$name]=a)};f.$removeControl=function(a){a.$name&&f[a.$name]===a&&delete f[a.$name];q(m,function(b,c){f.$setValidity(c,
!0,a)});Fa(l,a)};f.$setValidity=function(a,b,c){var d=m[a];if(b)d&&(Fa(d,c),d.length||(h--,h||(e(b),f.$valid=!0,f.$invalid=!1),m[a]=!1,e(!0,a),g.$setValidity(a,!0,f)));else{h||e(b);if(d){if(-1!=Oa(d,c))return}else m[a]=d=[],h++,e(!1,a),g.$setValidity(a,!1,f);d.push(c);f.$valid=!1;f.$invalid=!0}};f.$setDirty=function(){d.removeClass(b,Ma);d.addClass(b,yb);f.$dirty=!0;f.$pristine=!1;g.$setDirty()};f.$setPristine=function(){d.removeClass(b,yb);d.addClass(b,Ma);f.$dirty=!1;f.$pristine=!0;q(l,function(a){a.$setPristine()})}}
function Vb(b,a,c,d){b.$setValidity(a,c);return c?d:r}function bd(b,a){var c,d;if(a)for(c=0;c<a.length;++c)if(d=a[c],b[d])return!0;return!1}function hf(b,a,c,d,e){R(e)&&(b.$$hasNativeValidators=!0,b.$parsers.push(function(f){if(b.$error[a]||bd(e,d)||!bd(e,c))return f;b.$setValidity(a,!1)}))}function $a(b,a,c,d,e,f){var g=a.prop(jf),h=a[0].placeholder,m={};d.$$validityState=g;if(!e.android){var l=!1;a.on("compositionstart",function(a){l=!0});a.on("compositionend",function(){l=!1;n()})}var n=function(e){if(!l){var f=
a.val(),k=e&&e.type;if(U&&"input"===(e||m).type&&a[0].placeholder!==h)h=a[0].placeholder;else{c.ngTrim&&"false"===c.ngTrim||(f=Z(f));var p=g&&d.$$hasNativeValidators;if(d.$viewValue!==f||""===f&&p)b.$$phase?d.$setViewValue(f,k,p):b.$apply(function(){d.$setViewValue(f,k,p)})}}};if(e.hasEvent("input"))a.on("input",n);else{var p,k=function(a){p||(p=f.defer(function(){n(a);p=null}))};a.on("keydown",function(a){var b=a.keyCode;91===b||(15<b&&19>b||37<=b&&40>=b)||k(a)});if(e.hasEvent("paste"))a.on("paste cut",
k)}a.on("change",n);d.$render=function(){a.val(d.$isEmpty(d.$viewValue)?"":d.$viewValue)}}function zb(b,a){return function(c){var d;return qa(c)?c:y(c)&&(b.lastIndex=0,c=b.exec(c))?(c.shift(),d={yyyy:0,MM:1,dd:1,HH:0,mm:0},q(c,function(b,c){c<a.length&&(d[a[c]]=+b)}),new Date(d.yyyy,d.MM-1,d.dd,d.HH,d.mm)):NaN}}function ab(b,a,c,d){return function(e,f,g,h,m,l,n){$a(e,f,g,h,m,l);h.$parsers.push(function(d){if(h.$isEmpty(d))return h.$setValidity(b,!0),null;if(a.test(d))return h.$setValidity(b,!0),c(d);
h.$setValidity(b,!1);return r});h.$formatters.push(function(a){return qa(a)?n("date")(a,d):""});g.min&&(e=function(a){var b=h.$isEmpty(a)||c(a)>=c(g.min);h.$setValidity("min",b);return b?a:r},h.$parsers.push(e),h.$formatters.push(e));g.max&&(e=function(a){var b=h.$isEmpty(a)||c(a)<=c(g.max);h.$setValidity("max",b);return b?a:r},h.$parsers.push(e),h.$formatters.push(e))}}function cd(b,a,c,d,e){if(E(d)){b=b(d);if(!b.constant)throw(new u("ngModel"))("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",
c,d);return b(a)}return e}function Wb(b,a){b="ngClass"+b;return["$animate",function(c){function d(a,b){var c=[],d=0;a:for(;d<a.length;d++){for(var e=a[d],n=0;n<b.length;n++)if(e==b[n])continue a;c.push(e)}return c}function e(a){if(!K(a)){if(y(a))return a.split(" ");if(R(a)){var b=[];q(a,function(a,c){a&&(b=b.concat(c.split(" ")))});return b}}return a}return{restrict:"AC",link:function(f,g,h){function m(a,b){var c=g.data("$classCounts")||{},d=[];q(a,function(a){if(0<b||c[a])c[a]=(c[a]||0)+b,c[a]===
+(0<b)&&d.push(a)});g.data("$classCounts",c);return d.join(" ")}function l(b){if(!0===a||f.$index%2===a){var k=e(b||[]);if(!n){var l=m(k,1);h.$addClass(l)}else if(!ra(b,n)){var q=e(n),l=d(k,q),k=d(q,k),k=m(k,-1),l=m(l,1);0===l.length?c.removeClass(g,k):0===k.length?c.addClass(g,l):c.setClass(g,l,k)}}n=ia(b)}var n;f.$watch(h[b],l,!0);h.$observe("class",function(a){l(f.$eval(h[b]))});"ngClass"!==b&&f.$watch("$index",function(c,d){var g=c&1;if(g!==(d&1)){var l=e(f.$eval(h[b]));g===a?(g=m(l,1),h.$addClass(g)):
(g=m(l,-1),h.$removeClass(g))}})}}}]}var kf=/^\/(.+)\/([a-z]*)$/,jf="validity",M=function(b){return y(b)?b.toLowerCase():b},Bb=Object.prototype.hasOwnProperty,hb=function(b){return y(b)?b.toUpperCase():b},U,F,ta,ja=[].slice,tc=[].push,ya=Object.prototype.toString,Pa=u("ng"),Qa=N.angular||(N.angular={}),Sa,la,db=0;U=W((/msie (\d+)/.exec(M(navigator.userAgent))||[])[1]);isNaN(U)&&(U=W((/trident\/.*; rv:(\d+)/.exec(M(navigator.userAgent))||[])[1]));C.$inject=[];Da.$inject=[];var K=function(){return L(Array.isArray)?
Array.isArray:function(b){return"[object Array]"===ya.call(b)}}(),Z=function(){return String.prototype.trim?function(b){return y(b)?b.trim():b}:function(b){return y(b)?b.replace(/^\s\s*/,"").replace(/\s\s*$/,""):b}}();la=9>U?function(b){b=b.nodeName?b:b[0];return M(b.scopeName&&"HTML"!=b.scopeName?b.scopeName+":"+b.nodeName:b.nodeName)}:function(b){return M(b.nodeName?b.nodeName:b[0].nodeName)};var fc=["ng-","data-ng-","ng:","x-ng-"],rd=/[A-Z]/g,vd={full:"1.3.0-local+sha.363fb4f",major:1,minor:3,
dot:0,codeName:"snapshot"};Q.expando="ng339";var Va=Q.cache={},Le=1,qb=N.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},Ua=N.document.removeEventListener?function(b,a,c){b.removeEventListener(a,c,!1)}:function(b,a,c){b.detachEvent("on"+a,c)};Q._data=function(b){return this.cache[b[this.expando]]||{}};var Fe=/([\:\-\_]+(.))/g,Ge=/^moz([A-Z])/,Hb=u("jqLite"),Ke=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Gb=/<|&#?\w+;/,Ie=/<([\w:]+)/,Je=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
da={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};da.optgroup=da.option;da.tbody=da.tfoot=da.colgroup=da.caption=da.thead;da.th=da.td;var Ga=Q.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;"complete"===T.readyState?setTimeout(a):(this.on("DOMContentLoaded",a),Q(N).on("load",a))},
toString:function(){var b=[];q(this,function(a){b.push(""+a)});return"["+b.join(", ")+"]"},eq:function(b){return 0<=b?F(this[b]):F(this[this.length+b])},length:0,push:tc,sort:[].sort,splice:[].splice},nb={};q("multiple selected checked disabled readOnly required open".split(" "),function(b){nb[M(b)]=b});var xc={};q("input select option textarea button form details".split(" "),function(b){xc[b]=!0});var yc={ngMinlength:"minlength",ngMaxlength:"maxlength",ngPattern:"pattern"};q({data:sc,inheritedData:mb,
scope:function(b){return F(b).data("$scope")||mb(b.parentNode||b,["$isolateScope","$scope"])},isolateScope:function(b){return F(b).data("$isolateScope")||F(b).data("$isolateScopeNoTemplate")},controller:uc,injector:function(b){return mb(b,"$injector")},removeAttr:function(b,a){b.removeAttribute(a)},hasClass:Kb,css:function(b,a,c){a=Ta(a);if(E(c))b.style[a]=c;else{var d;8>=U&&(d=b.currentStyle&&b.currentStyle[a],""===d&&(d="auto"));d=d||b.style[a];8>=U&&(d=""===d?r:d);return d}},attr:function(b,a,
c){var d=M(a);if(nb[d])if(E(c))c?(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||C).specified?d:r;else if(E(c))b.setAttribute(a,c);else if(b.getAttribute)return b=b.getAttribute(a,2),null===b?r:b},prop:function(b,a,c){if(E(c))b[a]=c;else return b[a]},text:function(){function b(a,b){if(z(b)){var d=a.nodeType;return 1===d||3===d?a.textContent:""}a.textContent=b}b.$dv="";return b}(),val:function(b,a){if(z(a)){if(b.multiple&&"select"===la(b)){var c=
[];q(b.options,function(a){a.selected&&c.push(a.value||a.text)});return 0===c.length?null:c}return b.value}b.value=a},html:function(b,a){if(z(a))return b.innerHTML;jb(b,!0);b.innerHTML=a},empty:vc},function(b,a){Q.prototype[a]=function(a,d){var e,f,g=this.length;if(b!==vc&&(2==b.length&&b!==Kb&&b!==uc?a:d)===r){if(R(a)){for(e=0;e<g;e++)if(b===sc)b(this[e],a);else for(f in a)b(this[e],f,a[f]);return this}e=b.$dv;g=e===r?Math.min(g,1):g;for(f=0;f<g;f++){var h=b(this[f],a,d);e=e?e+h:h}return e}for(e=
0;e<g;e++)b(this[e],a,d);return this}});q({removeData:Jb,on:function a(c,d,e,f){if(E(f))throw Hb("onargs");if(!c.nodeType||1===c.nodeType||9===c.nodeType){var g=ka(c,"events"),h=ka(c,"handle");g||ka(c,"events",g={});h||ka(c,"handle",h=Ne(c,g));q(d.split(" "),function(d){var f=g[d];if(!f){if("mouseenter"==d||"mouseleave"==d){var n=T.body.contains||T.body.compareDocumentPosition?function(a,c){var d=9===a.nodeType?a.documentElement:a,e=c&&c.parentNode;return a===e||!!(e&&1===e.nodeType&&(d.contains?
d.contains(e):a.compareDocumentPosition&&a.compareDocumentPosition(e)&16))}:function(a,c){if(c)for(;c=c.parentNode;)if(c===a)return!0;return!1};g[d]=[];a(c,{mouseleave:"mouseout",mouseenter:"mouseover"}[d],function(a){var c=a.relatedTarget;c&&(c===this||n(this,c))||h(a,d)})}else qb(c,d,h),g[d]=[];f=g[d]}f.push(e)})}},off:rc,one:function(a,c,d){a=F(a);a.on(c,function f(){a.off(c,d);a.off(c,f)});a.on(c,d)},replaceWith:function(a,c){var d,e=a.parentNode;jb(a);q(new Q(c),function(c){d?e.insertBefore(c,
d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=[];q(a.childNodes,function(a){1===a.nodeType&&c.push(a)});return c},contents:function(a){return a.contentDocument||a.childNodes||[]},append:function(a,c){q(new Q(c),function(c){1!==a.nodeType&&11!==a.nodeType||a.appendChild(c)})},prepend:function(a,c){if(1===a.nodeType){var d=a.firstChild;q(new Q(c),function(c){a.insertBefore(c,d)})}},wrap:function(a,c){c=F(c)[0];var d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},remove:function(a){jb(a);
var c=a.parentNode;c&&c.removeChild(a)},after:function(a,c){var d=a,e=a.parentNode;q(new Q(c),function(a){e.insertBefore(a,d.nextSibling);d=a})},addClass:lb,removeClass:kb,toggleClass:function(a,c,d){c&&q(c.split(" "),function(c){var f=d;z(f)&&(f=!Kb(a,c));(f?lb:kb)(a,c)})},parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},next:function(a){if(a.nextElementSibling)return a.nextElementSibling;for(a=a.nextSibling;null!=a&&1!==a.nodeType;)a=a.nextSibling;return a},find:function(a,c){return a.getElementsByTagName?
a.getElementsByTagName(c):[]},clone:Ib,triggerHandler:function(a,c,d){c=(ka(a,"events")||{})[c];d=d||[];var e=[{preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopPropagation:C}];q(c,function(c){c.apply(a,e.concat(d))})}},function(a,c){Q.prototype[c]=function(c,e,f){for(var g,h=0;h<this.length;h++)z(g)?(g=a(this[h],c,e,f),E(g)&&(g=F(g))):qc(g,a(this[h],c,e,f));return E(g)?g:this};Q.prototype.bind=Q.prototype.on;Q.prototype.unbind=
Q.prototype.off});Wa.prototype={put:function(a,c){this[Ha(a,this.nextUid)]=c},get:function(a){return this[Ha(a,this.nextUid)]},remove:function(a){var c=this[a=Ha(a,this.nextUid)];delete this[a];return c}};var Ac=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Pe=/,/,Qe=/^\s*(_?)(\S+?)\1\s*$/,zc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Ia=u("$injector");Db.$$annotate=Lb;var lf=u("$animate"),he=["$provide",function(a){this.$$selectors={};this.register=function(c,d){var e=c+"-animation";if(c&&"."!=c.charAt(0))throw lf("notcsel",
c);this.$$selectors[c.substr(1)]=e;a.factory(e,d)};this.classNameFilter=function(a){1===arguments.length&&(this.$$classNameFilter=a instanceof RegExp?a:null);return this.$$classNameFilter};this.$get=["$timeout","$$asyncCallback",function(a,d){return{enter:function(a,c,g,h){g?g.after(a):c.prepend(a);h&&d(h);return C},leave:function(a,c){a.remove();c&&d(c);return C},move:function(a,c,d,h){return this.enter(a,c,d,h)},addClass:function(a,c,g){c=y(c)?c:K(c)?c.join(" "):"";q(a,function(a){lb(a,c)});g&&
d(g);return C},removeClass:function(a,c,g){c=y(c)?c:K(c)?c.join(" "):"";q(a,function(a){kb(a,c)});g&&d(g);return C},setClass:function(a,c,g,h){q(a,function(a){lb(a,c);kb(a,g)});h&&d(h);return C},enabled:C}}]}],ga=u("$compile");ic.$inject=["$provide","$$sanitizeUriProvider"];var Ve=/^(x[\:\-_]|data[\:\-_])/i,Jc=u("$interpolate"),mf=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Ye={http:80,https:443,ftp:21},Qb=u("$location");Sb.prototype=Rb.prototype=Mc.prototype={$$html5:!1,$$replace:!1,absUrl:rb("$$absUrl"),
url:function(a,c){if(z(a))return this.$$url;var d=mf.exec(a);d[1]&&this.path(decodeURIComponent(d[1]));(d[2]||d[1])&&this.search(d[3]||"");this.hash(d[5]||"",c);return this},protocol:rb("$$protocol"),host:rb("$$host"),port:rb("$$port"),path:Nc("$$path",function(a){return"/"==a.charAt(0)?a:"/"+a}),search:function(a,c){switch(arguments.length){case 0:return this.$$search;case 1:if(y(a))this.$$search=ec(a);else if(R(a))q(a,function(c,e){null==c&&delete a[e]}),this.$$search=a;else throw Qb("isrcharg");
break;default:z(c)||null===c?delete this.$$search[a]:this.$$search[a]=c}this.$$compose();return this},hash:Nc("$$hash",Da),replace:function(){this.$$replace=!0;return this}};var ha=u("$parse"),nf=Function.prototype.call,of=Function.prototype.apply,pf=Function.prototype.bind,bb={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:C,"+":function(a,c,d,e){d=d(a,c);e=e(a,c);return E(d)?E(e)?d+e:d:E(e)?e:r},"-":function(a,c,d,e){d=d(a,c);e=e(a,c);return(E(d)?
d:0)-(E(e)?e:0)},"*":function(a,c,d,e){return d(a,c)*e(a,c)},"/":function(a,c,d,e){return d(a,c)/e(a,c)},"%":function(a,c,d,e){return d(a,c)%e(a,c)},"^":function(a,c,d,e){return d(a,c)^e(a,c)},"=":C,"===":function(a,c,d,e){return d(a,c)===e(a,c)},"!==":function(a,c,d,e){return d(a,c)!==e(a,c)},"==":function(a,c,d,e){return d(a,c)==e(a,c)},"!=":function(a,c,d,e){return d(a,c)!=e(a,c)},"<":function(a,c,d,e){return d(a,c)<e(a,c)},">":function(a,c,d,e){return d(a,c)>e(a,c)},"<=":function(a,c,d,e){return d(a,
c)<=e(a,c)},">=":function(a,c,d,e){return d(a,c)>=e(a,c)},"&&":function(a,c,d,e){return d(a,c)&&e(a,c)},"||":function(a,c,d,e){return d(a,c)||e(a,c)},"&":function(a,c,d,e){return d(a,c)&e(a,c)},"|":function(a,c,d,e){return e(a,c)(a,c,d(a,c))},"!":function(a,c,d){return!d(a,c)}},qf={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Ub=function(a){this.options=a};Ub.prototype={constructor:Ub,lex:function(a){this.text=a;this.index=0;this.ch=r;for(this.tokens=[];this.index<this.text.length;)if(this.ch=
this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent();else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch}),this.index++;else if(this.isWhitespace(this.ch))this.index++;else{a=this.ch+this.peek();var c=a+this.peek(2),d=bb[this.ch],e=bb[a],f=bb[c];f?(this.tokens.push({index:this.index,text:c,fn:f}),this.index+=3):e?(this.tokens.push({index:this.index,
text:a,fn:e}),this.index+=2):d?(this.tokens.push({index:this.index,text:this.ch,fn:d}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(a){return-1!==a.indexOf(this.ch)},peek:function(a){a=a||1;return this.index+a<this.text.length?this.text.charAt(this.index+a):!1},isNumber:function(a){return"0"<=a&&"9">=a},isWhitespace:function(a){return" "===a||"\r"===a||"\t"===a||"\n"===a||"\v"===a||"\u00a0"===a},isIdent:function(a){return"a"<=
a&&"z">=a||"A"<=a&&"Z">=a||"_"===a||"$"===a},isExpOperator:function(a){return"-"===a||"+"===a||this.isNumber(a)},throwError:function(a,c,d){d=d||this.index;c=E(c)?"s "+c+"-"+this.index+" ["+this.text.substring(c,d)+"]":" "+d;throw ha("lexerr",a,c,this.text);},readNumber:function(){for(var a="",c=this.index;this.index<this.text.length;){var d=M(this.text.charAt(this.index));if("."==d||this.isNumber(d))a+=d;else{var e=this.peek();if("e"==d&&this.isExpOperator(e))a+=d;else if(this.isExpOperator(d)&&
e&&this.isNumber(e)&&"e"==a.charAt(a.length-1))a+=d;else if(!this.isExpOperator(d)||e&&this.isNumber(e)||"e"!=a.charAt(a.length-1))break;else this.throwError("Invalid exponent")}this.index++}a*=1;this.tokens.push({index:c,text:a,constant:!0,fn:function(){return a}})},readIdent:function(){for(var a=this,c="",d=this.index,e,f,g,h;this.index<this.text.length;){h=this.text.charAt(this.index);if("."===h||this.isIdent(h)||this.isNumber(h))"."===h&&(e=this.index),c+=h;else break;this.index++}if(e)for(f=
this.index;f<this.text.length;){h=this.text.charAt(f);if("("===h){g=c.substr(e-d+1);c=c.substr(0,e-d);this.index=f;break}if(this.isWhitespace(h))f++;else break}d={index:d,text:c};if(bb.hasOwnProperty(c))d.fn=bb[c],d.constant=!0;else{var m=Pc(c,this.options,this.text);d.fn=B(function(a,c){return m(a,c)},{assign:function(d,e){return sb(d,c,e,a.text)}})}this.tokens.push(d);g&&(this.tokens.push({index:e,text:"."}),this.tokens.push({index:e+1,text:g}))},readString:function(a){var c=this.index;this.index++;
for(var d="",e=a,f=!1;this.index<this.text.length;){var g=this.text.charAt(this.index),e=e+g;if(f)"u"===g?(g=this.text.substring(this.index+1,this.index+5),g.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+g+"]"),this.index+=4,d+=String.fromCharCode(parseInt(g,16))):d=(f=qf[g])?d+f:d+g,f=!1;else if("\\"===g)f=!0;else{if(g===a){this.index++;this.tokens.push({index:c,text:e,string:d,constant:!0,fn:function(){return d}});return}d+=g}this.index++}this.throwError("Unterminated quote",
c)}};var Za=function(a,c,d){this.lexer=a;this.$filter=c;this.options=d};Za.ZERO=B(function(){return 0},{constant:!0});Za.prototype={constructor:Za,parse:function(a){this.text=a;this.tokens=this.lexer.lex(a);a=this.statements();0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]);a.literal=!!a.literal;a.constant=!!a.constant;return a},primary:function(){var a;if(this.expect("("))a=this.filterChain(),this.consume(")");else if(this.expect("["))a=this.arrayDeclaration();else if(this.expect("{"))a=
this.object();else{var c=this.expect();(a=c.fn)||this.throwError("not a primary expression",c);c.constant&&(a.constant=!0,a.literal=!0)}for(var d;c=this.expect("(","[",".");)"("===c.text?(a=this.functionCall(a,d),d=null):"["===c.text?(d=a,a=this.objectIndex(a)):"."===c.text?(d=a,a=this.fieldAccess(a)):this.throwError("IMPOSSIBLE");return a},throwError:function(a,c){throw ha("syntax",c.text,a,c.index+1,this.text,this.text.substring(c.index));},peekToken:function(){if(0===this.tokens.length)throw ha("ueoe",
this.text);return this.tokens[0]},peek:function(a,c,d,e){if(0<this.tokens.length){var f=this.tokens[0],g=f.text;if(g===a||g===c||g===d||g===e||!(a||c||d||e))return f}return!1},expect:function(a,c,d,e){return(a=this.peek(a,c,d,e))?(this.tokens.shift(),a):!1},consume:function(a){this.expect(a)||this.throwError("is unexpected, expecting ["+a+"]",this.peek())},unaryFn:function(a,c){return B(function(d,e){return a(d,e,c)},{constant:c.constant})},ternaryFn:function(a,c,d){return B(function(e,f){return a(e,
f)?c(e,f):d(e,f)},{constant:a.constant&&c.constant&&d.constant})},binaryFn:function(a,c,d){return B(function(e,f){return c(e,f,a,d)},{constant:a.constant&&d.constant})},statements:function(){for(var a=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&a.push(this.filterChain()),!this.expect(";"))return 1===a.length?a[0]:function(c,d){for(var e,f=0;f<a.length;f++){var g=a[f];g&&(e=g(c,d))}return e}},filterChain:function(){for(var a=this.expression(),c;;)if(c=this.expect("|"))a=this.binaryFn(a,
c.fn,this.filter());else return a},filter:function(){for(var a=this.expect(),c=this.$filter(a.text),d=[];this.expect(":");)d.push(this.expression());return ca(function(a,f,g){g=[g];for(var h=0;h<d.length;h++)g.push(d[h](a,f));return c.apply(a,g)})},expression:function(){return this.assignment()},assignment:function(){var a=this.ternary(),c,d;return(d=this.expect("="))?(a.assign||this.throwError("implies assignment but ["+this.text.substring(0,d.index)+"] can not be assigned to",d),c=this.ternary(),
function(d,f){return a.assign(d,c(d,f),f)}):a},ternary:function(){var a=this.logicalOR(),c,d;if(this.expect("?")){c=this.ternary();if(d=this.expect(":"))return this.ternaryFn(a,c,this.ternary());this.throwError("expected :",d)}else return a},logicalOR:function(){for(var a=this.logicalAND(),c;;)if(c=this.expect("||"))a=this.binaryFn(a,c.fn,this.logicalAND());else return a},logicalAND:function(){var a=this.equality(),c;if(c=this.expect("&&"))a=this.binaryFn(a,c.fn,this.logicalAND());return a},equality:function(){var a=
this.relational(),c;if(c=this.expect("==","!=","===","!=="))a=this.binaryFn(a,c.fn,this.equality());return a},relational:function(){var a=this.additive(),c;if(c=this.expect("<",">","<=",">="))a=this.binaryFn(a,c.fn,this.relational());return a},additive:function(){for(var a=this.multiplicative(),c;c=this.expect("+","-");)a=this.binaryFn(a,c.fn,this.multiplicative());return a},multiplicative:function(){for(var a=this.unary(),c;c=this.expect("*","/","%");)a=this.binaryFn(a,c.fn,this.unary());return a},
unary:function(){var a;return this.expect("+")?this.primary():(a=this.expect("-"))?this.binaryFn(Za.ZERO,a.fn,this.unary()):(a=this.expect("!"))?this.unaryFn(a.fn,this.unary()):this.primary()},fieldAccess:function(a){var c=this,d=this.expect().text,e=Pc(d,this.options,this.text);return B(function(c,d,h){return e(h||a(c,d))},{assign:function(e,g,h){return sb(a(e,h),d,g,c.text)}})},objectIndex:function(a){var c=this,d=this.expression();this.consume("]");return B(function(e,f){var g=a(e,f),h=d(e,f);
pa(h,c.text);return g?La(g[h],c.text):r},{assign:function(e,f,g){var h=d(e,g);return La(a(e,g),c.text)[h]=f}})},functionCall:function(a,c){var d=[];if(")"!==this.peekToken().text){do d.push(this.expression());while(this.expect(","))}this.consume(")");var e=this;return function(f,g){for(var h=[],m=c?c(f,g):f,l=0;l<d.length;l++)h.push(d[l](f,g));l=a(f,g,m)||C;La(m,e.text);var n=e.text;if(l){if(l.constructor===l)throw ha("isecfn",n);if(l===nf||l===of||l===pf)throw ha("isecff",n);}h=l.apply?l.apply(m,
h):l(h[0],h[1],h[2],h[3],h[4]);return La(h,e.text)}},arrayDeclaration:function(){var a=[],c=!0;if("]"!==this.peekToken().text){do{if(this.peek("]"))break;var d=this.expression();a.push(d);d.constant||(c=!1)}while(this.expect(","))}this.consume("]");return B(function(c,d){for(var g=[],h=0;h<a.length;h++)g.push(a[h](c,d));return g},{literal:!0,constant:c})},object:function(){var a=[],c=!0;if("}"!==this.peekToken().text){do{if(this.peek("}"))break;var d=this.expect(),d=d.string||d.text;this.consume(":");
var e=this.expression();a.push({key:d,value:e});e.constant||(c=!1)}while(this.expect(","))}this.consume("}");return B(function(c,d){for(var e={},m=0;m<a.length;m++){var l=a[m];e[l.key]=l.value(c,d)}return e},{literal:!0,constant:c})}};var Tb={},wa=u("$sce"),ea={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},$=T.createElement("a"),Sc=va(N.location.href,!0);pc.$inject=["$provide"];Tc.$inject=["$locale"];Vc.$inject=["$locale"];var Yc=".",gf={yyyy:aa("FullYear",4),yy:aa("FullYear",
2,0,!0),y:aa("FullYear",1),MMMM:ub("Month"),MMM:ub("Month",!0),MM:aa("Month",2,1),M:aa("Month",1,1),dd:aa("Date",2),d:aa("Date",1),HH:aa("Hours",2),H:aa("Hours",1),hh:aa("Hours",2,-12),h:aa("Hours",1,-12),mm:aa("Minutes",2),m:aa("Minutes",1),ss:aa("Seconds",2),s:aa("Seconds",1),sss:aa("Milliseconds",3),EEEE:ub("Day"),EEE:ub("Day",!0),a:function(a,c){return 12>a.getHours()?c.AMPMS[0]:c.AMPMS[1]},Z:function(a){a=-1*a.getTimezoneOffset();return a=(0<=a?"+":"")+(tb(Math[0<a?"floor":"ceil"](a/60),2)+tb(Math.abs(a%
60),2))},ww:$c(2),w:$c(1)},ff=/((?:[^yMdHhmsaZEw']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|w+))(.*)/,ef=/^\-?\d+$/;Uc.$inject=["$locale"];var cf=ca(M),df=ca(hb);Wc.$inject=["$parse"];var yd=ca({restrict:"E",compile:function(a,c){8>=U&&(c.href||c.name||c.$set("href",""),a.append(T.createComment("IE fix")));if(!c.href&&!c.xlinkHref&&!c.name)return function(a,c){var f="[object SVGAnimatedString]"===ya.call(c.prop("href"))?"xlink:href":"href";c.on("click",function(a){c.attr(f)||a.preventDefault()})}}}),
ib={};q(nb,function(a,c){if("multiple"!=a){var d=na("ng-"+c);ib[d]=function(){return{priority:100,link:function(a,f,g){a.$watch(g[d],function(a){g.$set(c,!!a)})}}}}});q(yc,function(a,c){ib[c]=function(){return{priority:100,link:function(a,e,f){if("ngPattern"===c&&"/"==f.ngPattern.charAt(0)&&(e=f.ngPattern.match(kf))){f.$set("ngPattern",RegExp(e[1],e[2]));return}a.$watch(f[c],function(a){f.$set(c,a)})}}}});q(["src","srcset","href"],function(a){var c=na("ng-"+a);ib[c]=function(){return{priority:99,
link:function(d,e,f){var g=a,h=a;"href"===a&&"[object SVGAnimatedString]"===ya.call(e.prop("href"))&&(h="xlinkHref",f.$attr[h]="xlink:href",g=null);f.$observe(c,function(a){a&&(f.$set(h,a),U&&g&&e.prop(g,f[h]))})}}}});var xb={$addControl:C,$removeControl:C,$setValidity:C,$setDirty:C,$setPristine:C};ad.$inject=["$element","$attrs","$scope","$animate"];var dd=function(a){return["$timeout",function(c){return{name:"form",restrict:a?"EAC":"E",controller:ad,compile:function(){return{pre:function(a,e,f,
g){if(!f.action){var h=function(c){a.$apply(function(){g.$commitViewValue()});c.preventDefault?c.preventDefault():c.returnValue=!1};qb(e[0],"submit",h);e.on("$destroy",function(){c(function(){Ua(e[0],"submit",h)},0,!1)})}var m=e.parent().controller("form"),l=f.name||f.ngForm;l&&sb(a,l,g,l);if(m)e.on("$destroy",function(){m.$removeControl(g);l&&sb(a,l,r,l);B(g,xb)})}}}}}]},zd=dd(),Md=dd(!0),rf=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,sf=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,
tf=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,ed=/^(\d{4})-(\d{2})-(\d{2})$/,fd=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)$/,Xb=/^(\d{4})-W(\d\d)$/,gd=/^(\d{4})-(\d\d)$/,hd=/^(\d\d):(\d\d)$/,uf=/(\s+|^)default(\s+|$)/,id={text:$a,date:ab("date",ed,zb(ed,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":ab("datetimelocal",fd,zb(fd,["yyyy","MM","dd","HH","mm"]),"yyyy-MM-ddTHH:mm"),time:ab("time",hd,zb(hd,["HH","mm"]),"HH:mm"),week:ab("week",Xb,function(a){if(qa(a))return a;if(y(a)){Xb.lastIndex=0;var c=Xb.exec(a);
if(c){a=+c[1];var d=+c[2],c=Zc(a),d=7*(d-1);return new Date(a,0,c.getDate()+d)}}return NaN},"yyyy-Www"),month:ab("month",gd,zb(gd,["yyyy","MM"]),"yyyy-MM"),number:function(a,c,d,e,f,g){$a(a,c,d,e,f,g);e.$parsers.push(function(a){var c=e.$isEmpty(a);if(c||tf.test(a))return e.$setValidity("number",!0),""===a?null:c?a:parseFloat(a);e.$setValidity("number",!1);return r});hf(e,"number",vf,null,e.$$validityState);e.$formatters.push(function(a){return e.$isEmpty(a)?"":""+a});d.min&&(a=function(a){var c=
parseFloat(d.min);return Vb(e,"min",e.$isEmpty(a)||a>=c,a)},e.$parsers.push(a),e.$formatters.push(a));d.max&&(a=function(a){var c=parseFloat(d.max);return Vb(e,"max",e.$isEmpty(a)||a<=c,a)},e.$parsers.push(a),e.$formatters.push(a));e.$formatters.push(function(a){return Vb(e,"number",e.$isEmpty(a)||Ea(a),a)})},url:function(a,c,d,e,f,g){$a(a,c,d,e,f,g);e.$validators.url=function(a,c){var d=a||c;return e.$isEmpty(d)||rf.test(d)}},email:function(a,c,d,e,f,g){$a(a,c,d,e,f,g);e.$validators.email=function(a,
c){var d=a||c;return e.$isEmpty(d)||sf.test(d)}},radio:function(a,c,d,e){z(d.name)&&c.attr("name",++db);c.on("click",function(f){c[0].checked&&a.$apply(function(){e.$setViewValue(d.value,f&&f.type)})});e.$render=function(){c[0].checked=d.value==e.$viewValue};d.$observe("value",e.$render)},checkbox:function(a,c,d,e,f,g,h,m){var l=cd(m,a,"ngTrueValue",d.ngTrueValue,!0),n=cd(m,a,"ngFalseValue",d.ngFalseValue,!1);c.on("click",function(d){a.$apply(function(){e.$setViewValue(c[0].checked,d&&d.type)})});
e.$render=function(){c[0].checked=e.$viewValue};e.$isEmpty=function(a){return a!==l};e.$formatters.push(function(a){return ra(a,l)});e.$parsers.push(function(a){return a?l:n})},hidden:C,button:C,submit:C,reset:C,file:C},vf=["badInput"],jc=["$browser","$sniffer","$filter","$parse",function(a,c,d,e){return{restrict:"E",require:["?ngModel"],link:function(f,g,h,m){m[0]&&(id[M(h.type)]||id.text)(f,g,h,m[0],c,a,d,e)}}}],wb="ng-valid",vb="ng-invalid",Ma="ng-pristine",yb="ng-dirty",wf=["$scope","$exceptionHandler",
"$attrs","$element","$parse","$animate","$timeout",function(a,c,d,e,f,g,h){function m(a,c){c=c?"-"+gb(c,"-"):"";g.removeClass(e,(a?vb:wb)+c);g.addClass(e,(a?wb:vb)+c)}this.$modelValue=this.$viewValue=Number.NaN;this.$validators={};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.$name=d.name;var l=f(d.ngModel),n=l.assign,p=null,k=this;if(!n)throw u("ngModel")("nonassign",d.ngModel,
fa(e));this.$render=C;this.$isEmpty=function(a){return z(a)||""===a||null===a||a!==a};var t=e.inheritedData("$formController")||xb,s=0,J=this.$error={};e.addClass(Ma).addClass("ng-untouched");m(!0);this.$setValidity=function(a,c){J[a]!==!c&&(c?(J[a]&&s--,s||(m(!0),k.$valid=!0,k.$invalid=!1)):(m(!1),k.$invalid=!0,k.$valid=!1,s++),J[a]=!c,m(c,a),t.$setValidity(a,c,k))};this.$setPristine=function(){k.$dirty=!1;k.$pristine=!0;g.removeClass(e,yb);g.addClass(e,Ma)};this.$setUntouched=function(){k.$touched=
!1;k.$untouched=!0;g.setClass(e,"ng-untouched","ng-touched")};this.$setTouched=function(){k.$touched=!0;k.$untouched=!1;g.setClass(e,"ng-touched","ng-untouched")};this.$rollbackViewValue=function(){h.cancel(p);k.$viewValue=k.$$lastCommittedViewValue;k.$render()};this.$validate=function(){if(k.$modelValue===k.$modelValue){var a=k.$modelValue;k.$$runValidators(k.$$invalidModelValue||k.$modelValue,k.$viewValue);a!==k.$modelValue&&k.$$writeModelToScope()}};this.$$runValidators=function(a,c){q(k.$validators,
function(d,e){k.$setValidity(e,d(a,c))});k.$modelValue=k.$valid?a:r;k.$$invalidModelValue=k.$valid?r:a};this.$commitViewValue=function(a){var c=k.$viewValue;h.cancel(p);if(a||k.$$lastCommittedViewValue!==c){k.$$lastCommittedViewValue=c;k.$pristine&&(k.$dirty=!0,k.$pristine=!1,g.removeClass(e,Ma),g.addClass(e,yb),t.$setDirty());var d=c;q(k.$parsers,function(a){d=a(d)});k.$modelValue===d||!z(k.$$invalidModelValue)&&k.$$invalidModelValue==d||(k.$$runValidators(d,c),k.$$writeModelToScope())}};this.$$writeModelToScope=
function(){var d;k.$options&&k.$options.getterSetter&&L(d=l(a))?d(k.$modelValue):n(a,k.$modelValue);q(k.$viewChangeListeners,function(a){try{a()}catch(d){c(d)}})};this.$setViewValue=function(a,c,d){k.$viewValue=a;k.$options&&!k.$options.updateOnDefault||k.$$debounceViewValueCommit(c,d)};this.$$debounceViewValueCommit=function(a,c){var d=0,e=k.$options;e&&E(e.debounce)&&(e=e.debounce,Ea(e)?d=e:Ea(e[a])?d=e[a]:Ea(e["default"])&&(d=e["default"]));h.cancel(p);d?p=h(function(){k.$commitViewValue(c)},d):
k.$commitViewValue(c)};a.$watch(function(){var c=l(a);k.$options&&(k.$options.getterSetter&&L(c))&&(c=c());if(k.$modelValue!==c&&(z(k.$$invalidModelValue)||k.$$invalidModelValue!=c)){for(var d=k.$formatters,e=d.length,f=c;e--;)f=d[e](f);k.$$runValidators(c,f);k.$viewValue!==f&&(k.$viewValue=k.$$lastCommittedViewValue=f,k.$render())}return c})}],ae=function(){return{require:["ngModel","^?form","^?ngModelOptions"],controller:wf,link:{pre:function(a,c,d,e){e[2]&&(e[0].$options=e[2].$options);var f=e[0],
g=e[1]||xb;g.$addControl(f);a.$on("$destroy",function(){g.$removeControl(f)})},post:function(a,c,d,e){var f=e[0];if(f.$options&&f.$options.updateOn)c.on(f.$options.updateOn,function(c){a.$apply(function(){f.$$debounceViewValueCommit(c&&c.type)})});c.on("blur",function(c){a.$apply(function(){f.$setTouched()})})}}}},ce=ca({require:"ngModel",link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),lc=function(){return{require:"?ngModel",link:function(a,c,d,e){e&&(d.required=
!0,e.$validators.required=function(a,c){return!d.required||!e.$isEmpty(c)},d.$observe("required",function(){e.$validate()}))}}},kc=function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){var f,g=d.ngPattern||d.pattern;d.$observe("pattern",function(a){y(a)&&0<a.length&&(a=RegExp(a));if(a&&!a.test)throw u("ngPattern")("noregexp",g,a,fa(c));f=a||r;e.$validate()});e.$validators.pattern=function(a){return e.$isEmpty(a)||z(f)||f.test(a)}}}}},nc=function(){return{require:"?ngModel",link:function(a,
c,d,e){if(e){var f=0;d.$observe("maxlength",function(a){f=W(a)||0;e.$validate()});e.$validators.maxlength=function(a){return e.$isEmpty(a)||a.length<=f}}}}},mc=function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){var f=0;d.$observe("minlength",function(a){f=W(a)||0;e.$validate()});e.$validators.minlength=function(a){return e.$isEmpty(a)||a.length>=f}}}}},be=function(){return{require:"ngModel",link:function(a,c,d,e){var f=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||d.ngList||",";e.$parsers.push(function(a){if(!z(a)){var c=
[];a&&q(a.split(f),function(a){a&&c.push(Z(a))});return c}});e.$formatters.push(function(a){return K(a)?a.join(", "):r});e.$isEmpty=function(a){return!a||!a.length}}}},xf=/^(true|false|\d+)$/,de=function(){return{priority:100,compile:function(a,c){return xf.test(c.ngValue)?function(a,c,f){f.$set("value",a.$eval(f.ngValue))}:function(a,c,f){a.$watch(f.ngValue,function(a){f.$set("value",a)})}}}},ee=function(){return{controller:["$scope","$attrs",function(a,c){var d=this;this.$options=a.$eval(c.ngModelOptions);
this.$options.updateOn!==r?(this.$options.updateOnDefault=!1,this.$options.updateOn=Z(this.$options.updateOn.replace(uf,function(){d.$options.updateOnDefault=!0;return" "}))):this.$options.updateOnDefault=!0}]}},Ed=xa({compile:function(a){a.addClass("ng-binding");return function(a,d,e){d.data("$binding",e.ngBind);a.$watch(e.ngBind,function(a){d.text(a==r?"":a)})}}}),Gd=["$interpolate",function(a){return function(c,d,e){c=a(d.attr(e.$attr.ngBindTemplate));d.addClass("ng-binding").data("$binding",c);
e.$observe("ngBindTemplate",function(a){d.text(a)})}}],Fd=["$sce","$parse",function(a,c){return function(d,e,f){function g(){var a=h(d);g.$$unwatch=h.$$unwatch;return(a||"").toString()}e.addClass("ng-binding").data("$binding",f.ngBindHtml);var h=c(f.ngBindHtml);d.$watch(g,function(c){e.html(a.getTrustedHtml(h(d))||"")})}}],Hd=Wb("",!0),Jd=Wb("Odd",0),Id=Wb("Even",1),Kd=xa({compile:function(a,c){c.$set("ngCloak",r);a.removeClass("ng-cloak")}}),Ld=[function(){return{scope:!0,controller:"@",priority:500}}],
oc={};q("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var c=na("ng-"+a);oc[c]=["$parse",function(d){return{compile:function(e,f){var g=d(f[c]);return function(c,d){d.on(M(a),function(a){c.$apply(function(){g(c,{$event:a})})})}}}}]});var Od=["$animate",function(a){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(c,d,e,f,g){var h,m,l;c.$watch(e.ngIf,
function(c){c?m||g(function(c,f){m=f;c[c.length++]=T.createComment(" end ngIf: "+e.ngIf+" ");h={clone:c};a.enter(c,d.parent(),d)}):(l&&(l.remove(),l=null),m&&(m.$destroy(),m=null),h&&(l=Fb(h.clone),a.leave(l,function(){l=null}),h=null))})}}}],Pd=["$http","$templateCache","$anchorScroll","$animate","$sce",function(a,c,d,e,f){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Qa.noop,compile:function(g,h){var m=h.ngInclude||h.src,l=h.onload||"",n=h.autoscroll;return function(g,
h,q,s,J){var H=0,r,v,A,w=function(){v&&(v.remove(),v=null);r&&(r.$destroy(),r=null);A&&(e.leave(A,function(){v=null}),v=A,A=null)};g.$watch(f.parseAsResourceUrl(m),function(f){var m=function(){!E(n)||n&&!g.$eval(n)||d()},q=++H;f?(a.get(f,{cache:c}).success(function(a){if(q===H){var c=g.$new();s.template=a;a=J(c,function(a){w();e.enter(a,null,h,m)});r=c;A=a;r.$emit("$includeContentLoaded");g.$eval(l)}}).error(function(){q===H&&(w(),g.$emit("$includeContentError"))}),g.$emit("$includeContentRequested")):
(w(),s.template=null)})}}}}],fe=["$compile",function(a){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(c,d,e,f){d.html(f.template);a(d.contents())(c)}}}],Qd=xa({priority:450,compile:function(){return{pre:function(a,c,d){a.$eval(d.ngInit)}}}}),Rd=xa({terminal:!0,priority:1E3}),Sd=["$locale","$interpolate",function(a,c){var d=/{}/g;return{restrict:"EA",link:function(e,f,g){var h=g.count,m=g.$attr.when&&f.attr(g.$attr.when),l=g.offset||0,n=e.$eval(m)||{},p={},k=c.startSymbol(),
t=c.endSymbol(),s=/^when(Minus)?(.+)$/;q(g,function(a,c){s.test(c)&&(n[M(c.replace("when","").replace("Minus","-"))]=f.attr(g.$attr[c]))});q(n,function(a,e){p[e]=c(a.replace(d,k+h+"-"+l+t))});e.$watch(function(){var c=parseFloat(e.$eval(h));if(isNaN(c))return"";c in n||(c=a.pluralCat(c-l));return p[c](e)},function(a){f.text(a)})}}}],Td=["$parse","$animate",function(a,c){var d=u("ngRepeat");return{transclude:"element",priority:1E3,terminal:!0,$$tlb:!0,link:function(e,f,g,h,m){var l=g.ngRepeat,n=l.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),
p,k,t,s,r,u,G={$id:Ha};if(!n)throw d("iexp",l);g=n[1];h=n[2];(n=n[3])?(p=a(n),k=function(a,c,d){u&&(G[u]=a);G[r]=c;G.$index=d;return p(e,G)}):(t=function(a,c){return Ha(c)},s=function(a){return a});n=g.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/);if(!n)throw d("iidexp",g);r=n[3]||n[1];u=n[2];var v={};e.$watchCollection(h,function(a){var e,g,h=f[0],n,p={},D,x,G,E,B,C,z,y=[],K=function(a,c){a[r]=G;u&&(a[u]=x);a.$index=c;a.$first=0===c;a.$last=c===D-1;a.$middle=!(a.$first||a.$last);a.$odd=
!(a.$even=0===(c&1))};if(cb(a))C=a,B=k||t;else{B=k||s;C=[];for(g in a)a.hasOwnProperty(g)&&"$"!=g.charAt(0)&&C.push(g);C.sort()}D=C.length;g=y.length=C.length;for(e=0;e<g;e++)if(x=a===C?e:C[e],G=a[x],E=B(x,G,e),Ba(E,"`track by` id"),v.hasOwnProperty(E))z=v[E],delete v[E],p[E]=z,y[e]=z;else{if(p.hasOwnProperty(E))throw q(y,function(a){a&&a.scope&&(v[a.id]=a)}),d("dupes",l,E);y[e]={id:E};p[E]=!1}for(n in v)v.hasOwnProperty(n)&&(z=v[n],g=Fb(z.clone),c.leave(g),q(g,function(a){a.$$NG_REMOVED=!0}),z.scope.$destroy());
e=0;for(g=C.length;e<g;e++)if(x=a===C?e:C[e],G=a[x],z=y[e],y[e-1]&&(h=y[e-1].clone[y[e-1].clone.length-1]),z.scope){n=h;do n=n.nextSibling;while(n&&n.$$NG_REMOVED);z.clone[0]!=n&&c.move(Fb(z.clone),null,F(h));h=z.clone[z.clone.length-1];K(z.scope,e)}else m(function(a,d){z.scope=d;a[a.length++]=T.createComment(" end ngRepeat: "+l+" ");c.enter(a,null,F(h));h=a;z.clone=a;p[z.id]=z;K(z.scope,e)});v=p})}}}],Ud=["$animate",function(a){return function(c,d,e){c.$watch(e.ngShow,function(c){a[c?"removeClass":
"addClass"](d,"ng-hide")})}}],Nd=["$animate",function(a){return function(c,d,e){c.$watch(e.ngHide,function(c){a[c?"addClass":"removeClass"](d,"ng-hide")})}}],Vd=xa(function(a,c,d){a.$watch(d.ngStyle,function(a,d){d&&a!==d&&q(d,function(a,d){c.css(d,"")});a&&c.css(a)},!0)}),Wd=["$animate",function(a){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(c,d,e,f){var g=[],h=[],m=[],l=[];c.$watch(e.ngSwitch||e.on,function(d){var p,k;p=0;for(k=m.length;p<
k;++p)m[p].remove();p=m.length=0;for(k=l.length;p<k;++p){var t=h[p];l[p].$destroy();m[p]=t;a.leave(t,function(){m.splice(p,1)})}h.length=0;l.length=0;if(g=f.cases["!"+d]||f.cases["?"])c.$eval(e.change),q(g,function(d){var e=c.$new();l.push(e);d.transclude(e,function(c){var e=d.element;h.push(c);a.enter(c,e.parent(),e)})})})}}}],Xd=xa({transclude:"element",priority:800,require:"^ngSwitch",link:function(a,c,d,e,f){e.cases["!"+d.ngSwitchWhen]=e.cases["!"+d.ngSwitchWhen]||[];e.cases["!"+d.ngSwitchWhen].push({transclude:f,
element:c})}}),Yd=xa({transclude:"element",priority:800,require:"^ngSwitch",link:function(a,c,d,e,f){e.cases["?"]=e.cases["?"]||[];e.cases["?"].push({transclude:f,element:c})}}),$d=xa({link:function(a,c,d,e,f){if(!f)throw u("ngTransclude")("orphan",fa(c));f(function(a){c.empty();c.append(a)})}}),Ad=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(c,d){"text/ng-template"==d.type&&a.put(d.id,c[0].text)}}}],yf=u("ngOptions"),Zd=ca({terminal:!0}),Bd=["$compile","$parse",
function(a,c){var d=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,e={$setViewValue:C};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(a,c,d){var m=this,l={},n=e,p;m.databound=d.ngModel;m.init=function(a,c,d){n=a;p=d};m.addOption=function(c,d){Ba(c,'"option value"');l[c]=!0;n.$viewValue==c&&(a.val(c),
p.parent()&&p.remove());d[0].hasAttribute("selected")&&(d[0].selected=!0)};m.removeOption=function(a){this.hasOption(a)&&(delete l[a],n.$viewValue==a&&this.renderUnknownOption(a))};m.renderUnknownOption=function(c){c="? "+Ha(c)+" ?";p.val(c);a.prepend(p);a.val(c);p.prop("selected",!0)};m.hasOption=function(a){return l.hasOwnProperty(a)};c.$on("$destroy",function(){m.renderUnknownOption=C})}],link:function(e,g,h,m){function l(a,c,d,e){d.$render=function(){var a=d.$viewValue;e.hasOption(a)?(A.parent()&&
A.remove(),c.val(a),""===a&&C.prop("selected",!0)):z(a)&&C?c.val(""):e.renderUnknownOption(a)};c.on("change",function(){a.$apply(function(){A.parent()&&A.remove();d.$setViewValue(c.val())})})}function n(a,c,d){var e;d.$render=function(){var a=new Wa(d.$viewValue);q(c.find("option"),function(c){c.selected=E(a.get(c.value))})};a.$watch(function(){ra(e,d.$viewValue)||(e=ia(d.$viewValue),d.$render())});c.on("change",function(){a.$apply(function(){var a=[];q(c.find("option"),function(c){c.selected&&a.push(c.value)});
d.$setViewValue(a)})})}function p(e,f,g){function h(){var a={"":[]},c=[""],d,k,r,s,x;s=g.$modelValue;x=A(e)||[];var C=n?Yb(x):x,F,y,B;y={};r=!1;var D,H;if(t)if(w&&K(s))for(r=new Wa([]),B=0;B<s.length;B++)y[m]=s[B],r.put(w(e,y),s[B]);else r=new Wa(s);for(B=0;F=C.length,B<F;B++){k=B;if(n){k=C[B];if("$"===k.charAt(0))continue;y[n]=k}y[m]=x[k];d=p(e,y)||"";(k=a[d])||(k=a[d]=[],c.push(d));t?d=E(r.remove(w?w(e,y):q(e,y))):(w?(d={},d[m]=s,d=w(e,d)===w(e,y)):d=s===q(e,y),r=r||d);D=l(e,y);D=E(D)?D:"";k.push({id:w?
w(e,y):n?C[B]:B,label:D,selected:d})}t||(u||null===s?a[""].unshift({id:"",label:"",selected:!r}):r||a[""].unshift({id:"?",label:"",selected:!0}));y=0;for(C=c.length;y<C;y++){d=c[y];k=a[d];z.length<=y?(s={element:v.clone().attr("label",d),label:k.label},x=[s],z.push(x),f.append(s.element)):(x=z[y],s=x[0],s.label!=d&&s.element.attr("label",s.label=d));D=null;B=0;for(F=k.length;B<F;B++)r=k[B],(d=x[B+1])?(D=d.element,d.label!==r.label&&D.text(d.label=r.label),d.id!==r.id&&D.val(d.id=r.id),d.selected!==
r.selected&&D.prop("selected",d.selected=r.selected)):(""===r.id&&u?H=u:(H=G.clone()).val(r.id).prop("selected",r.selected).text(r.label),x.push({element:H,label:r.label,id:r.id,selected:r.selected}),D?D.after(H):s.element.append(H),D=H);for(B++;x.length>B;)x.pop().element.remove()}for(;z.length>y;)z.pop()[0].element.remove()}var k;if(!(k=s.match(d)))throw yf("iexp",s,fa(f));var l=c(k[2]||k[1]),m=k[4]||k[6],n=k[5],p=c(k[3]||""),q=c(k[2]?k[1]:m),A=c(k[7]),w=k[8]?c(k[8]):null,z=[[{element:f,label:""}]];
u&&(a(u)(e),u.removeClass("ng-scope"),u.remove());f.empty();f.on("change",function(){e.$apply(function(){var a,c=A(e)||[],d={},h,k,l,p,s,v,u;if(t)for(k=[],p=0,v=z.length;p<v;p++)for(a=z[p],l=1,s=a.length;l<s;l++){if((h=a[l].element)[0].selected){h=h.val();n&&(d[n]=h);if(w)for(u=0;u<c.length&&(d[m]=c[u],w(e,d)!=h);u++);else d[m]=c[h];k.push(q(e,d))}}else{h=f.val();if("?"==h)k=r;else if(""===h)k=null;else if(w)for(u=0;u<c.length;u++){if(d[m]=c[u],w(e,d)==h){k=q(e,d);break}}else d[m]=c[h],n&&(d[n]=h),
k=q(e,d);1<z[0].length&&z[0][1].id!==h&&(z[0][1].selected=!1)}g.$setViewValue(k)})});g.$render=h;e.$watch(h)}if(m[1]){var k=m[0];m=m[1];var t=h.multiple,s=h.ngOptions,u=!1,C,G=F(T.createElement("option")),v=F(T.createElement("optgroup")),A=G.clone();h=0;for(var w=g.children(),y=w.length;h<y;h++)if(""===w[h].value){C=u=w.eq(h);break}k.init(m,u,A);t&&(m.$isEmpty=function(a){return!a||0===a.length});s?p(e,g,m):t?n(e,g,m):l(e,g,m,k)}}}}],Dd=["$interpolate",function(a){var c={addOption:C,removeOption:C};
return{restrict:"E",priority:100,compile:function(d,e){if(z(e.value)){var f=a(d.text(),!0);f||e.$set("value",d.text())}return function(a,d,e){var l=d.parent(),n=l.data("$selectController")||l.parent().data("$selectController");n&&n.databound?d.prop("selected",!1):n=c;f?a.$watch(f,function(a,c){e.$set("value",a);c!==a&&n.removeOption(c);n.addOption(a,d)}):n.addOption(e.value,d);d.on("$destroy",function(){n.removeOption(e.value)})}}}}],Cd=ca({restrict:"E",terminal:!1});N.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):
(sd(),ud(Qa),F(T).ready(function(){qd(T,gc)}))})(window,document);!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-animate){display:none !important;}ng\\:form{display:block;}</style>');
//# sourceMappingURL=angular.min.js.map