-
Notifications
You must be signed in to change notification settings - Fork 8
/
angular.js
166 lines (166 loc) · 80.6 KB
/
angular.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
/*
AngularJS v1.1.3
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
*/
(function(Q,W,p){'use strict';function ec(){var b=Q.angular;Q.angular=fc;return b}function n(b,a,c){var d;if(b)if(J(b))for(d in b)d!="prototype"&&d!="length"&&d!="name"&&b.hasOwnProperty(d)&&a.call(c,b[d],d);else if(b.forEach&&b.forEach!==n)b.forEach(a,c);else if(!b||typeof b.length!=="number"?0:typeof b.hasOwnProperty!="function"&&typeof b.constructor!="function"||b instanceof M||aa&&b instanceof aa||Ba.call(b)!=="[object Object]"||typeof b.callee==="function")for(d=0;d<b.length;d++)a.call(c,b[d],
d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function pb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function gc(b,a,c){for(var d=pb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function qb(b){return function(a,c){b(c,a)}}function Ca(){for(var b=Y.length,a;b;){b--;a=Y[b].charCodeAt(0);if(a==57)return Y[b]="A",Y.join("");if(a==90)Y[b]="0";else return Y[b]=String.fromCharCode(a+1),Y.join("")}Y.unshift("0");return Y.join("")}function C(b){n(arguments,
function(a){a!==b&&n(a,function(a,d){b[d]=a})});return b}function F(b){return parseInt(b,10)}function Da(b,a){return C(new (C(function(){},{prototype:b})),a)}function x(){}function na(b){return b}function K(b){return function(){return b}}function t(b){return typeof b=="undefined"}function u(b){return typeof b!="undefined"}function N(b){return b!=null&&typeof b=="object"}function D(b){return typeof b=="string"}function Va(b){return typeof b=="number"}function oa(b){return Ba.apply(b)=="[object Date]"}
function G(b){return Ba.apply(b)=="[object Array]"}function J(b){return typeof b=="function"}function pa(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function R(b){return D(b)?b.replace(/^\s*/,"").replace(/\s*$/,""):b}function hc(b){return b&&(b.nodeName||b.bind&&b.find)}function Wa(b,a,c){var d=[];n(b,function(b,g,h){d.push(a.call(c,b,g,h))});return d}function Ea(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 qa(b,a){var c=Ea(b,
a);c>=0&&b.splice(c,1);return a}function V(b,a){if(pa(b)||b&&b.$evalAsync&&b.$watch)throw Error("Can't copy Window or Scope");if(a){if(b===a)throw Error("Can't copy equivalent objects or arrays");if(G(b))for(var c=a.length=0;c<b.length;c++)a.push(V(b[c]));else for(c in n(a,function(b,c){delete a[c]}),b)a[c]=V(b[c])}else(a=b)&&(G(b)?a=V(b,[]):oa(b)?a=new Date(b.getTime()):N(b)&&(a=V(b,{})));return a}function ic(b,a){var a=a||{},c;for(c in b)b.hasOwnProperty(c)&&c.substr(0,2)!=="$$"&&(a[c]=b[c]);return a}
function fa(b,a){if(b===a)return!0;if(b===null||a===null)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,d;if(c==typeof a&&c=="object")if(G(b)){if((c=b.length)==a.length){for(d=0;d<c;d++)if(!fa(b[d],a[d]))return!1;return!0}}else if(oa(b))return oa(a)&&b.getTime()==a.getTime();else{if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||pa(b)||pa(a))return!1;c={};for(d in b)if(!(d.charAt(0)==="$"||J(b[d]))){if(!fa(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c[d]&&d.charAt(0)!=="$"&&a[d]!==p&&!J(a[d]))return!1;
return!0}return!1}function Xa(b,a){var c=arguments.length>2?ga.call(arguments,2):[];return J(a)&&!(a instanceof RegExp)?c.length?function(){return arguments.length?a.apply(b,c.concat(ga.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}:a}function jc(b,a){var c=a;/^\$+/.test(b)?c=p:pa(a)?c="$WINDOW":a&&W===a?c="$DOCUMENT":a&&a.$evalAsync&&a.$watch&&(c="$SCOPE");return c}function ba(b,a){return JSON.stringify(b,jc,a?" ":null)}function rb(b){return D(b)?
JSON.parse(b):b}function Fa(b){b&&b.length!==0?(b=A(""+b),b=!(b=="f"||b=="0"||b=="false"||b=="no"||b=="n"||b=="[]")):b=!1;return b}function ra(b){b=w(b).clone();try{b.html("")}catch(a){}var c=w("<div>").append(b).html();try{return b[0].nodeType===3?A(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+A(b)})}catch(d){return A(c)}}function Ya(b){var a={},c,d;n((b||"").split("&"),function(b){b&&(c=b.split("="),d=decodeURIComponent(c[0]),a[d]=u(c[1])?decodeURIComponent(c[1]):!0)});
return a}function sb(b){var a=[];n(b,function(b,d){a.push(sa(d,!0)+(b===!0?"":"="+sa(b,!0)))});return a.length?a.join("&"):""}function Za(b){return sa(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function sa(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(a?null:/%20/g,"+")}function kc(b,a){function c(a){a&&d.push(a)}var d=[b],e,g,h=["ng:app","ng-app","x-ng-app","data-ng-app"],f=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;
n(h,function(a){h[a]=!0;c(W.getElementById(a));a=a.replace(":","\\:");b.querySelectorAll&&(n(b.querySelectorAll("."+a),c),n(b.querySelectorAll("."+a+"\\:"),c),n(b.querySelectorAll("["+a+"]"),c))});n(d,function(a){if(!e){var b=f.exec(" "+a.className+" ");b?(e=a,g=(b[2]||"").replace(/\s+/g,",")):n(a.attributes,function(b){if(!e&&h[b.name])e=a,g=b.value})}});e&&a(e,g?[g]:[])}function tb(b,a){b=w(b);a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);a.unshift("ng");var c=ub(a);c.invoke(["$rootScope",
"$rootElement","$compile","$injector",function(a,b,c,h){a.$apply(function(){b.data("$injector",h);c(b)(a)})}]);return c}function $a(b,a){a=a||"_";return b.replace(lc,function(b,d){return(d?a:"")+b.toLowerCase()})}function ab(b,a,c){if(!b)throw Error("Argument '"+(a||"?")+"' is "+(c||"required"));return b}function ta(b,a,c){c&&G(b)&&(b=b[b.length-1]);ab(J(b),a,"not a function, got "+(b&&typeof b=="object"?b.constructor.name||"Object":typeof b));return b}function mc(b){function a(a,b,e){return a[b]||
(a[b]=e())}return a(a(b,"angular",Object),"module",function(){var b={};return function(d,e,g){e&&b.hasOwnProperty(d)&&(b[d]=null);return a(b,d,function(){function a(c,d,e){return function(){b[e||"push"]([c,d,arguments]);return k}}if(!e)throw Error("No module: "+d);var b=[],c=[],j=a("$injector","invoke"),k={_invokeQueue:b,_runBlocks:c,requires:e,name:d,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:a("$provide","value"),constant:a("$provide",
"constant","unshift"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:j,run:function(a){c.push(a);return this}};g&&j(g);return k})}})}function vb(b){return b.replace(nc,function(a,b,d,e){return e?d.toUpperCase():d}).replace(oc,"Moz$1")}function bb(b,a){function c(){var e;for(var b=[this],c=a,h,f,i,j,k,l;b.length;){h=b.shift();f=0;for(i=h.length;f<i;f++){j=w(h[f]);c?j.triggerHandler("$destroy"):c=!c;k=0;for(e=
(l=j.children()).length,j=e;k<j;k++)b.push(aa(l[k]))}}return d.apply(this,arguments)}var d=aa.fn[b],d=d.$original||d;c.$original=d;aa.fn[b]=c}function M(b){if(b instanceof M)return b;if(!(this instanceof M)){if(D(b)&&b.charAt(0)!="<")throw Error("selectors not implemented");return new M(b)}if(D(b)){var a=W.createElement("div");a.innerHTML="<div> </div>"+b;a.removeChild(a.firstChild);cb(this,a.childNodes);this.remove()}else cb(this,b)}function db(b){return b.cloneNode(!0)}function ua(b){wb(b);
for(var a=0,b=b.childNodes||[];a<b.length;a++)ua(b[a])}function xb(b,a,c){var d=Z(b,"events");Z(b,"handle")&&(t(a)?n(d,function(a,c){eb(b,c,a);delete d[c]}):t(c)?(eb(b,a,d[a]),delete d[a]):qa(d[a],c))}function wb(b){var a=b[Ga],c=Ha[a];c&&(c.handle&&(c.events.$destroy&&c.handle({},"$destroy"),xb(b)),delete Ha[a],b[Ga]=p)}function Z(b,a,c){var d=b[Ga],d=Ha[d||-1];if(u(c))d||(b[Ga]=d=++pc,d=Ha[d]={}),d[a]=c;else return d&&d[a]}function yb(b,a,c){var d=Z(b,"data"),e=u(c),g=!e&&u(a),h=g&&!N(a);!d&&!h&&
Z(b,"data",d={});if(e)d[a]=c;else if(g)if(h)return d&&d[a];else C(d,a);else return d}function Ia(b,a){return(" "+b.className+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" ")>-1}function zb(b,a){a&&n(a.split(" "),function(a){b.className=R((" "+b.className+" ").replace(/[\n\t]/g," ").replace(" "+R(a)+" "," "))})}function Ab(b,a){a&&n(a.split(" "),function(a){if(!Ia(b,a))b.className=R(b.className+" "+R(a))})}function cb(b,a){if(a)for(var a=!a.nodeName&&u(a.length)&&!pa(a)?a:[a],c=0;c<a.length;c++)b.push(a[c])}
function Bb(b,a){return Ja(b,"$"+(a||"ngController")+"Controller")}function Ja(b,a,c){b=w(b);for(b[0].nodeType==9&&(b=b.find("html"));b.length;){if(c=b.data(a))return c;b=b.parent()}}function Cb(b,a){var c=Ka[a.toLowerCase()];return c&&Db[b.nodeName]&&c}function qc(b,a){var c=function(c,e){if(!c.preventDefault)c.preventDefault=function(){c.returnValue=!1};if(!c.stopPropagation)c.stopPropagation=function(){c.cancelBubble=!0};if(!c.target)c.target=c.srcElement||W;if(t(c.defaultPrevented)){var g=c.preventDefault;
c.preventDefault=function(){c.defaultPrevented=!0;g.call(c)};c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented};n(a[e||c.type],function(a){a.call(b,c)});X<=8?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};c.elem=b;return c}function da(b){var a=typeof b,c;if(a=="object"&&b!==null)if(typeof(c=b.$$hashKey)=="function")c=b.$$hashKey();else{if(c===p)c=b.$$hashKey=Ca()}else c=
b;return a+":"+c}function La(b){n(b,this.put,this)}function fb(){}function Eb(b){var a,c;if(typeof b=="function"){if(!(a=b.$inject))a=[],c=b.toString().replace(rc,""),c=c.match(sc),n(c[1].split(tc),function(b){b.replace(uc,function(b,c,d){a.push(d)})}),b.$inject=a}else G(b)?(c=b.length-1,ta(b[c],"fn"),a=b.slice(0,c)):ta(b,"fn",!0);return a}function ub(b){function a(a){return function(b,c){if(N(b))n(b,qb(a));else return a(b,c)}}function c(a,b){if(J(b)||G(b))b=l.instantiate(b);if(!b.$get)throw Error("Provider "+
a+" must define $get factory method.");return k[a+f]=b}function d(a,b){return c(a,{$get:b})}function e(a){var b=[];n(a,function(a){if(!j.get(a))if(j.put(a,!0),D(a)){var c=va(a);b=b.concat(e(c.requires)).concat(c._runBlocks);try{for(var d=c._invokeQueue,c=0,f=d.length;c<f;c++){var g=d[c],i=l.get(g[0]);i[g[1]].apply(i,g[2])}}catch(o){throw o.message&&(o.message+=" from "+a),o;}}else if(J(a))try{b.push(l.invoke(a))}catch(h){throw h.message&&(h.message+=" from "+a),h;}else if(G(a))try{b.push(l.invoke(a))}catch(k){throw k.message&&
(k.message+=" from "+String(a[a.length-1])),k;}else ta(a,"module")});return b}function g(a,b){function c(d){if(typeof d!=="string")throw Error("Service name expected");if(a.hasOwnProperty(d)){if(a[d]===h)throw Error("Circular dependency: "+i.join(" <- "));return a[d]}else try{return i.unshift(d),a[d]=h,a[d]=b(d)}finally{i.shift()}}function d(a,b,e){var f=[],j=Eb(a),g,i,h;i=0;for(g=j.length;i<g;i++)h=j[i],f.push(e&&e.hasOwnProperty(h)?e[h]:c(h));a.$inject||(a=a[g]);switch(b?-1:f.length){case 0:return a();
case 1:return a(f[0]);case 2:return a(f[0],f[1]);case 3:return a(f[0],f[1],f[2]);case 4:return a(f[0],f[1],f[2],f[3]);case 5:return a(f[0],f[1],f[2],f[3],f[4]);case 6:return a(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6]);case 8:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7]);case 9:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8]);case 10:return a(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9]);default:return a.apply(b,f)}}return{invoke:d,instantiate:function(a,
b){var c=function(){},e;c.prototype=(G(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return N(e)?e:c},get:c,annotate:Eb}}var h={},f="Provider",i=[],j=new La,k={$provide:{provider:a(c),factory:a(d),service:a(function(a,b){return d(a,["$injector",function(a){return a.instantiate(b)}])}),value:a(function(a,b){return d(a,K(b))}),constant:a(function(a,b){k[a]=b;m[a]=b}),decorator:function(a,b){var c=l.get(a+f),d=c.$get;c.$get=function(){var a=q.invoke(d,c);return q.invoke(b,null,{$delegate:a})}}}},
l=k.$injector=g(k,function(){throw Error("Unknown provider: "+i.join(" <- "));}),m={},q=m.$injector=g(m,function(a){a=l.get(a+f);return q.invoke(a.$get,a)});n(e(b),function(a){q.invoke(a||x)});return q}function vc(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;n(a,function(a){!b&&A(a.nodeName)==="a"&&(b=a)});return b}function g(){var b=c.hash(),d;b?(d=h.getElementById(b))?d.scrollIntoView():(d=e(h.getElementsByName(b)))?
d.scrollIntoView():b==="top"&&a.scrollTo(0,0):a.scrollTo(0,0)}var h=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(g)});return g}]}function wc(b,a,c,d){function e(a){try{a.apply(null,ga.call(arguments,1))}finally{if(o--,o===0)for(;z.length;)try{z.pop()()}catch(b){c.error(b)}}}function g(a,b){(function E(){n(v,function(a){a()});r=b(E,a)})()}function h(){B!=f.url()&&(B=f.url(),n(ha,function(a){a(f.url())}))}var f=this,i=a[0],j=b.location,k=b.history,l=b.setTimeout,m=b.clearTimeout,
q={};f.isMock=!1;var o=0,z=[];f.$$completeOutstandingRequest=e;f.$$incOutstandingRequestCount=function(){o++};f.notifyWhenNoOutstandingRequests=function(a){n(v,function(a){a()});o===0?a():z.push(a)};var v=[],r;f.addPollFn=function(a){t(r)&&g(100,l);v.push(a);return a};var B=j.href,y=a.find("base");f.url=function(a,b){if(a){if(B!=a)return B=a,d.history?b?k.replaceState(null,"",a):(k.pushState(null,"",a),y.attr("href",y.attr("href"))):b?j.replace(a):j.href=a,f}else return j.href.replace(/%27/g,"'")};
var ha=[],H=!1;f.onUrlChange=function(a){H||(d.history&&w(b).bind("popstate",h),d.hashchange?w(b).bind("hashchange",h):f.addPollFn(h),H=!0);ha.push(a);return a};f.baseHref=function(){var a=y.attr("href");return a?a.replace(/^https?\:\/\/[^\/]*/,""):""};var s={},I="",O=f.baseHref();f.cookies=function(a,b){var d,e,f,j;if(a)if(b===p)i.cookie=escape(a)+"=;path="+O+";expires=Thu, 01 Jan 1970 00:00:00 GMT";else{if(D(b))d=(i.cookie=escape(a)+"="+escape(b)+";path="+O).length+1,d>4096&&c.warn("Cookie '"+a+
"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!")}else{if(i.cookie!==I){I=i.cookie;d=I.split("; ");s={};for(f=0;f<d.length;f++)e=d[f],j=e.indexOf("="),j>0&&(s[unescape(e.substring(0,j))]=unescape(e.substring(j+1)))}return s}};f.defer=function(a,b){var c;o++;c=l(function(){delete q[c];e(a)},b||0);q[c]=!0;return c};f.defer.cancel=function(a){return q[a]?(delete q[a],m(a),e(x),!0):!1}}function xc(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new wc(b,
d,a,c)}]}function yc(){this.$get=function(){function b(b,d){function e(a){if(a!=l){if(m){if(m==a)m=a.n}else m=a;g(a.n,a.p);g(a,l);l=a;l.n=null}}function g(a,b){if(a!=b){if(a)a.p=b;if(b)b.n=a}}if(b in a)throw Error("cacheId "+b+" taken");var h=0,f=C({},d,{id:b}),i={},j=d&&d.capacity||Number.MAX_VALUE,k={},l=null,m=null;return a[b]={put:function(a,b){var c=k[a]||(k[a]={key:a});e(c);if(!t(b))return a in i||h++,i[a]=b,h>j&&this.remove(m.key),b},get:function(a){var b=k[a];if(b)return e(b),i[a]},remove:function(a){var b=
k[a];if(b){if(b==l)l=b.p;if(b==m)m=b.n;g(b.n,b.p);delete k[a];delete i[a];h--}},removeAll:function(){i={};h=0;k={};l=m=null},destroy:function(){k=f=i=null;delete a[b]},info:function(){return C({},f,{size:h})}}}var a={};b.info=function(){var b={};n(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function zc(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function Fb(b){var a={},c="Directive",d=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,e=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,
g="Template must have exactly one root element. was: ",h=/^\s*(https?|ftp|mailto):/;this.directive=function i(d,e){D(d)?(ab(e,"directive"),a.hasOwnProperty(d)||(a[d]=[],b.factory(d+c,["$injector","$exceptionHandler",function(b,c){var e=[];n(a[d],function(a){try{var g=b.invoke(a);if(J(g))g={compile:K(g)};else if(!g.compile&&g.link)g.compile=K(g.link);g.priority=g.priority||0;g.name=g.name||d;g.require=g.require||g.controller&&g.name;g.restrict=g.restrict||"A";e.push(g)}catch(i){c(i)}});return e}])),
a[d].push(e)):n(d,qb(i));return this};this.urlSanitizationWhitelist=function(a){return u(a)?(h=a,this):h};this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document",function(b,j,k,l,m,q,o,z,v){function r(a,b,c){a instanceof w||(a=w(a));n(a,function(b,c){b.nodeType==3&&b.nodeValue.match(/\S+/)&&(a[c]=w(b).wrap("<span></span>").parent()[0])});var d=y(a,b,a,c);return function(b,c){ab(b,"scope");for(var e=c?xa.clone.call(a):a,g=0,
j=e.length;g<j;g++){var h=e[g];(h.nodeType==1||h.nodeType==9)&&e.eq(g).data("$scope",b)}B(e,"ng-scope");c&&c(e,b);d&&d(b,e,e);return e}}function B(a,b){try{a.addClass(b)}catch(c){}}function y(a,b,c,d){function e(a,c,d,j){var h,i,k,l,o,m,q,v=[];o=0;for(m=c.length;o<m;o++)v.push(c[o]);q=o=0;for(m=g.length;o<m;q++)i=v[q],c=g[o++],h=g[o++],c?(c.scope?(k=a.$new(N(c.scope)),w(i).data("$scope",k)):k=a,(l=c.transclude)||!j&&b?c(h,k,i,d,function(b){return function(c){var d=a.$new();d.$$transcluded=!0;return b(d,
c).bind("$destroy",Xa(d,d.$destroy))}}(l||b)):c(h,k,i,p,j)):h&&h(a,i.childNodes,p,j)}for(var g=[],j,h,i,k=0;k<a.length;k++)h=new ia,j=ha(a[k],[],h,d),h=(j=j.length?H(j,a[k],h,b,c):null)&&j.terminal||!a[k].childNodes.length?null:y(a[k].childNodes,j?j.transclude:b),g.push(j),g.push(h),i=i||j||h;return i?e:null}function ha(a,b,c,g){var j=c.$attr,h;switch(a.nodeType){case 1:s(b,ca(gb(a).toLowerCase()),"E",g);var i,k,o;h=a.attributes;for(var l=0,m=h&&h.length;l<m;l++)if(i=h[l],i.specified)k=i.name,o=ca(k.toLowerCase()),
j[o]=k,c[o]=i=R(X&&k=="href"?decodeURIComponent(a.getAttribute(k,2)):i.value),Cb(a,o)&&(c[o]=!0),E(a,b,i,o),s(b,o,"A",g);a=a.className;if(D(a)&&a!=="")for(;h=e.exec(a);)o=ca(h[2]),s(b,o,"C",g)&&(c[o]=R(h[3])),a=a.substr(h.index+h[0].length);break;case 3:ea(b,a.nodeValue);break;case 8:try{if(h=d.exec(a.nodeValue))o=ca(h[1]),s(b,o,"M",g)&&(c[o]=R(h[2]))}catch(q){}}b.sort(P);return b}function H(a,b,c,d,e){function h(a,b){if(a)a.require=s.require,v.push(a);if(b)b.require=s.require,z.push(b)}function i(a,
b){var c,d="data",e=!1;if(D(a)){for(;(c=a.charAt(0))=="^"||c=="?";)a=a.substr(1),c=="^"&&(d="inheritedData"),e=e||c=="?";c=b[d]("$"+a+"Controller");if(!c&&!e)throw Error("No controller: "+a);}else G(a)&&(c=[],n(a,function(a){c.push(i(a,b))}));return c}function l(a,d,e,g,h){var m,y,I,r,s;m=b===e?c:ic(c,new ia(w(e),c.$attr));y=m.$$element;if($){var Ac=/^\s*([@=&])\s*(\w*)\s*$/,B=d.$parent||d;n($.scope,function(a,b){var c=a.match(Ac)||[],e=c[2]||b,c=c[1],g,h,i;d.$$isolateBindings[b]=c+e;switch(c){case "@":m.$observe(e,
function(a){d[b]=a});m.$$observers[e].$$scope=B;m[e]&&(d[b]=j(m[e])(B));break;case "=":h=q(m[e]);i=h.assign||function(){g=d[b]=h(B);throw Error(Gb+m[e]+" (directive: "+$.name+")");};g=d[b]=h(B);d.$watch(function(){var a=h(B);a!==d[b]&&(a!==g?g=d[b]=a:i(B,a=g=d[b]));return a});break;case "&":h=q(m[e]);d[b]=function(a){return h(B,a)};break;default:throw Error("Invalid isolate scope definition for directive "+$.name+": "+a);}})}C&&n(C,function(a){var b={$scope:d,$element:y,$attrs:m,$transclude:h};s=
a.controller;s=="@"&&(s=m[a.name]);y.data("$"+a.name+"Controller",o(s,b))});g=0;for(I=v.length;g<I;g++)try{r=v[g],r(d,y,m,r.require&&i(r.require,y))}catch(O){k(O,ra(y))}a&&a(d,e.childNodes,p,h);g=0;for(I=z.length;g<I;g++)try{r=z[g],r(d,y,m,r.require&&i(r.require,y))}catch(E){k(E,ra(y))}}for(var m=-Number.MAX_VALUE,v=[],z=[],y=null,$=null,P=null,E=c.$$element=w(b),s,H,T,ja,ea=d,C,x,t,A=0,F=a.length;A<F;A++){s=a[A];T=p;if(m>s.priority)break;if(t=s.scope)wa("isolated scope",$,s,E),N(t)&&(B(E,"ng-isolate-scope"),
$=s),B(E,"ng-scope"),y=y||s;H=s.name;if(t=s.controller)C=C||{},wa("'"+H+"' controller",C[H],s,E),C[H]=s;if(t=s.transclude)wa("transclusion",ja,s,E),ja=s,m=s.priority,t=="element"?(T=w(b),E=c.$$element=w(W.createComment(" "+H+": "+c[H]+" ")),b=E[0],u(e,w(T[0]),b),ea=r(T,d,m)):(T=w(db(b)).contents(),E.html(""),ea=r(T,d));if(t=s.template)if(wa("template",P,s,E),P=s,t=Hb(t),s.replace){T=w("<div>"+R(t)+"</div>").contents();b=T[0];if(T.length!=1||b.nodeType!==1)throw Error(g+t);u(e,E,b);H={$attr:{}};a=
a.concat(ha(b,a.splice(A+1,a.length-(A+1)),H));I(c,H);F=a.length}else E.html(t);if(s.templateUrl)wa("template",P,s,E),P=s,l=O(a.splice(A,a.length-A),l,E,c,e,s.replace,ea),F=a.length;else if(s.compile)try{x=s.compile(E,c,ea),J(x)?h(null,x):x&&h(x.pre,x.post)}catch(K){k(K,ra(E))}if(s.terminal)l.terminal=!0,m=Math.max(m,s.priority)}l.scope=y&&y.scope;l.transclude=ja&&ea;return l}function s(d,e,g,j){var h=!1;if(a.hasOwnProperty(e))for(var o,e=b.get(e+c),m=0,l=e.length;m<l;m++)try{if(o=e[m],(j===p||j>
o.priority)&&o.restrict.indexOf(g)!=-1)d.push(o),h=!0}catch(q){k(q)}return h}function I(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;n(a,function(d,e){e.charAt(0)!="$"&&(b[e]&&(d+=(e==="style"?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});n(b,function(b,g){g=="class"?(B(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):g=="style"?e.attr("style",e.attr("style")+";"+b):g.charAt(0)!="$"&&!a.hasOwnProperty(g)&&(a[g]=b,d[g]=c[g])})}function O(a,b,c,d,e,j,h){var i=[],k,o,q=c[0],v=a.shift(),z=C({},v,{controller:null,
templateUrl:null,transclude:null,scope:null});c.html("");l.get(v.templateUrl,{cache:m}).success(function(m){var l,v,m=Hb(m);if(j){v=w("<div>"+R(m)+"</div>").contents();l=v[0];if(v.length!=1||l.nodeType!==1)throw Error(g+m);m={$attr:{}};u(e,c,l);ha(l,a,m);I(d,m)}else l=q,c.html(m);a.unshift(z);k=H(a,l,d,h);for(o=y(c.contents(),h);i.length;){var ia=i.pop(),m=i.pop();v=i.pop();var r=i.pop(),s=l;v!==q&&(s=db(l),u(m,w(v),s));k(function(){b(o,r,s,e,ia)},r,s,e,ia)}i=null}).error(function(a,b,c,d){throw Error("Failed to load template: "+
d.url);});return function(a,c,d,e,g){i?(i.push(c),i.push(d),i.push(e),i.push(g)):k(function(){b(o,c,d,e,g)},c,d,e,g)}}function P(a,b){return b.priority-a.priority}function wa(a,b,c,d){if(b)throw Error("Multiple directives ["+b.name+", "+c.name+"] asking for "+a+" on: "+ra(d));}function ea(a,b){var c=j(b,!0);c&&a.push({priority:0,compile:K(function(a,b){var d=b.parent(),e=d.data("$binding")||[];e.push(c);B(d.data("$binding",e),"ng-binding");a.$watch(c,function(a){b[0].nodeValue=a})})})}function E(a,
b,c,d){var e=j(c,!0);e&&b.push({priority:100,compile:K(function(a,b,c){b=c.$$observers||(c.$$observers={});d==="class"&&(e=j(c[d],!0));c[d]=e(a);(b[d]||(b[d]=[])).$$inter=!0;(c.$$observers&&c.$$observers[d].$$scope||a).$watch(e,function(a){c.$set(d,a)})})})}function u(a,b,c){var d=b[0],e=d.parentNode,g,j;if(a){g=0;for(j=a.length;g<j;g++)if(a[g]==d){a[g]=c;break}}e&&e.replaceChild(c,d);c[w.expando]=d[w.expando];b[0]=c}var ia=function(a,b){this.$$element=a;this.$attr=b||{}};ia.prototype={$normalize:ca,
$set:function(a,b,c,d){var e=Cb(this.$$element[0],a),g=this.$$observers;e&&(this.$$element.prop(a,b),d=e);this[a]=b;d?this.$attr[a]=d:(d=this.$attr[a])||(this.$attr[a]=d=$a(a,"-"));if(gb(this.$$element[0])==="A"&&a==="href")$.setAttribute("href",b),e=$.href,e.match(h)||(this[a]=b="unsafe:"+e);c!==!1&&(b===null||b===p?this.$$element.removeAttr(d):this.$$element.attr(d,b));g&&n(g[a],function(a){try{a(b)}catch(c){k(c)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers={}),e=d[a]||
(d[a]=[]);e.push(b);z.$evalAsync(function(){e.$$inter||b(c[a])});return b}};var $=v[0].createElement("a"),T=j.startSymbol(),ja=j.endSymbol(),Hb=T=="{{"||ja=="}}"?na:function(a){return a.replace(/\{\{/g,T).replace(/}}/g,ja)};return r}]}function ca(b){return vb(b.replace(Bc,""))}function Cc(){var b={};this.register=function(a,c){N(a)?C(b,a):b[a]=c};this.$get=["$injector","$window",function(a,c){return function(d,e){if(D(d)){var g=d,d=b.hasOwnProperty(g)?b[g]:hb(e.$scope,g,!0)||hb(c,g,!0);ta(d,g,!0)}return a.instantiate(d,
e)}}]}function Dc(){this.$get=["$window",function(b){return w(b.document)}]}function Ec(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Fc(){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",function(c,d){function e(e,i){for(var j,k,l=0,m=[],q=e.length,o=!1,z=[];l<q;)(j=e.indexOf(b,l))!=-1&&(k=e.indexOf(a,j+g))!=-1?(l!=j&&m.push(e.substring(l,j)),
m.push(l=c(o=e.substring(j+g,k))),l.exp=o,l=k+h,o=!0):(l!=q&&m.push(e.substring(l)),l=q);if(!(q=m.length))m.push(""),q=1;if(!i||o)return z.length=q,l=function(a){try{for(var b=0,c=q,g;b<c;b++){if(typeof(g=m[b])=="function")g=g(a),g==null||g==p?g="":typeof g!="string"&&(g=ba(g));z[b]=g}return z.join("")}catch(j){d(Error("Error while interpolating: "+e+"\n"+j.toString()))}},l.exp=e,l.parts=m,l}var g=b.length,h=a.length;e.startSymbol=function(){return b};e.endSymbol=function(){return a};return e}]}function Ib(b){for(var b=
b.split("/"),a=b.length;a--;)b[a]=Za(b[a]);return b.join("/")}function ya(b,a){var c=ib.exec(b),c={protocol:c[1],host:c[3],port:F(c[5])||za[c[1]]||null,path:c[6]||"/",search:c[8],hash:c[10]};if(a)a.$$protocol=c.protocol,a.$$host=c.host,a.$$port=c.port;return c}function ka(b,a,c){return b+"://"+a+(c==za[b]?"":":"+c)}function Gc(b,a,c){var d=ya(b);return decodeURIComponent(d.path)!=a||t(d.hash)||d.hash.indexOf(c)!==0?b:ka(d.protocol,d.host,d.port)+a.substr(0,a.lastIndexOf("/"))+d.hash.substr(c.length)}
function Hc(b,a,c){var d=ya(b);if(decodeURIComponent(d.path)==a)return b;else{var e=d.search&&"?"+d.search||"",g=d.hash&&"#"+d.hash||"",h=a.substr(0,a.lastIndexOf("/")),f=d.path.substr(h.length);if(d.path.indexOf(h)!==0)throw Error('Invalid url "'+b+'", missing path prefix "'+h+'" !');return ka(d.protocol,d.host,d.port)+a+"#"+c+f+e+g}}function jb(b,a,c){a=a||"";this.$$parse=function(b){var c=ya(b,this);if(c.path.indexOf(a)!==0)throw Error('Invalid url "'+b+'", missing path prefix "'+a+'" !');this.$$path=
decodeURIComponent(c.path.substr(a.length));this.$$search=Ya(c.search);this.$$hash=c.hash&&decodeURIComponent(c.hash)||"";this.$$compose()};this.$$compose=function(){var b=sb(this.$$search),c=this.$$hash?"#"+Za(this.$$hash):"";this.$$url=Ib(this.$$path)+(b?"?"+b:"")+c;this.$$absUrl=ka(this.$$protocol,this.$$host,this.$$port)+a+this.$$url};this.$$rewriteAppUrl=function(a){if(a.indexOf(c)==0)return a};this.$$parse(b)}function Ma(b,a,c){var d;this.$$parse=function(b){var c=ya(b,this);if(c.hash&&c.hash.indexOf(a)!==
0)throw Error('Invalid url "'+b+'", missing hash prefix "'+a+'" !');d=c.path+(c.search?"?"+c.search:"");c=Ic.exec((c.hash||"").substr(a.length));this.$$path=c[1]?(c[1].charAt(0)=="/"?"":"/")+decodeURIComponent(c[1]):"";this.$$search=Ya(c[3]);this.$$hash=c[5]&&decodeURIComponent(c[5])||"";this.$$compose()};this.$$compose=function(){var b=sb(this.$$search),c=this.$$hash?"#"+Za(this.$$hash):"";this.$$url=Ib(this.$$path)+(b?"?"+b:"")+c;this.$$absUrl=ka(this.$$protocol,this.$$host,this.$$port)+d+(this.$$url?
"#"+a+this.$$url:"")};this.$$rewriteAppUrl=function(a){if(a.indexOf(c)==0)return a};this.$$parse(b)}function Jb(b,a,c,d){Ma.apply(this,arguments);this.$$rewriteAppUrl=function(b){if(b.indexOf(c)==0)return c+d+"#"+a+b.substr(c.length)}}function Na(b){return function(){return this[b]}}function Kb(b,a){return function(c){if(t(c))return this[b];this[b]=a(c);this.$$compose();return this}}function Jc(){var b="",a=!1;this.hashPrefix=function(a){return u(a)?(b=a,this):b};this.html5Mode=function(b){return u(b)?
(a=b,this):a};this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(c,d,e,g){function h(a){c.$broadcast("$locationChangeSuccess",f.absUrl(),a)}var f,i,j,k=d.url(),l=ya(k);a?(i=d.baseHref()||"/",j=i.substr(0,i.lastIndexOf("/")),l=ka(l.protocol,l.host,l.port)+j+"/",f=e.history?new jb(Gc(k,i,b),j,l):new Jb(Hc(k,i,b),b,l,i.substr(j.length+1))):(l=ka(l.protocol,l.host,l.port)+(l.path||"")+(l.search?"?"+l.search:"")+"#"+b+"/",f=new Ma(k,b,l));g.bind("click",function(a){if(!a.ctrlKey&&!(a.metaKey||
a.which==2)){for(var b=w(a.target);A(b[0].nodeName)!=="a";)if(b[0]===g[0]||!(b=b.parent())[0])return;var d=b.prop("href"),e=f.$$rewriteAppUrl(d);d&&!b.attr("target")&&e&&(f.$$parse(e),c.$apply(),a.preventDefault(),Q.angular["ff-684208-preventDefault"]=!0)}});f.absUrl()!=k&&d.url(f.absUrl(),!0);d.onUrlChange(function(a){f.absUrl()!=a&&(c.$evalAsync(function(){var b=f.absUrl();f.$$parse(a);h(b)}),c.$$phase||c.$digest())});var m=0;c.$watch(function(){var a=d.url(),b=f.$$replace;if(!m||a!=f.absUrl())m++,
c.$evalAsync(function(){c.$broadcast("$locationChangeStart",f.absUrl(),a).defaultPrevented?f.$$parse(a):(d.url(f.absUrl(),b),h(a))});f.$$replace=!1;return m});return f}]}function Kc(){var b=!0,a=this;this.debugEnabled=function(a){return u(a)?(b=a,this):b};this.$get=["$window",function(c){function d(a){a instanceof Error&&(a.stack?a=a.message&&a.stack.indexOf(a.message)===-1?"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||x;return e.apply?function(){var a=[];n(arguments,function(b){a.push(d(b))});return e.apply(b,a)}:function(a,b){e(a,b)}}return{log:e("log"),warn:e("warn"),info:e("info"),error:e("error"),debug:function(){var c=e("debug");return function(){b&&c.apply(a,arguments)}}()}}]}function Lc(b,a){function c(a){return a.indexOf(v)!=-1}function d(a){a=a||1;return o+a<b.length?b.charAt(o+a):!1}function e(a){return"0"<=a&&a<="9"}function g(a){return a==" "||a=="\r"||a=="\t"||a=="\n"||
a=="\u000b"||a=="\u00a0"}function h(a){return"a"<=a&&a<="z"||"A"<=a&&a<="Z"||"_"==a||a=="$"}function f(a){return a=="-"||a=="+"||e(a)}function i(a,c,d){d=d||o;throw Error("Lexer Error: "+a+" at column"+(u(c)?"s "+c+"-"+o+" ["+b.substring(c,d)+"]":" "+d)+" in expression ["+b+"].");}function j(){for(var a="",c=o;o<b.length;){var g=A(b.charAt(o));if(g=="."||e(g))a+=g;else{var j=d();if(g=="e"&&f(j))a+=g;else if(f(g)&&j&&e(j)&&a.charAt(a.length-1)=="e")a+=g;else if(f(g)&&(!j||!e(j))&&a.charAt(a.length-
1)=="e")i("Invalid exponent");else break}o++}a*=1;m.push({index:c,text:a,json:!0,fn:function(){return a}})}function k(){for(var c="",d=o,f,j,i;o<b.length;){var k=b.charAt(o);if(k=="."||h(k)||e(k))k=="."&&(f=o),c+=k;else break;o++}if(f)for(j=o;j<b.length;){k=b.charAt(j);if(k=="("){i=c.substr(f-d+1);c=c.substr(0,f-d);o=j;break}if(g(k))j++;else break}d={index:d,text:c};if(Aa.hasOwnProperty(c))d.fn=d.json=Aa[c];else{var l=Lb(c,a);d.fn=C(function(a,b){return l(a,b)},{assign:function(a,b){return Mb(a,c,
b)}})}m.push(d);i&&(m.push({index:f,text:".",json:!1}),m.push({index:f+1,text:i,json:!1}))}function l(a){var c=o;o++;for(var d="",e=a,f=!1;o<b.length;){var g=b.charAt(o);e+=g;if(f)g=="u"?(g=b.substring(o+1,o+5),g.match(/[\da-f]{4}/i)||i("Invalid unicode escape [\\u"+g+"]"),o+=4,d+=String.fromCharCode(parseInt(g,16))):(f=Mc[g],d+=f?f:g),f=!1;else if(g=="\\")f=!0;else if(g==a){o++;m.push({index:c,text:e,string:d,json:!0,fn:function(){return d}});return}else d+=g;o++}i("Unterminated quote",c)}for(var m=
[],q,o=0,z=[],v,r=":";o<b.length;){v=b.charAt(o);if(c("\"'"))l(v);else if(e(v)||c(".")&&e(d()))j();else if(h(v)){if(k(),"{,".indexOf(r)!=-1&&z[0]=="{"&&(q=m[m.length-1]))q.json=q.text.indexOf(".")==-1}else if(c("(){}[].,;:"))m.push({index:o,text:v,json:":[,".indexOf(r)!=-1&&c("{[")||c("}]:,")}),c("{[")&&z.unshift(v),c("}]")&&z.shift(),o++;else if(g(v)){o++;continue}else{var B=v+d(),y=B+d(2),n=Aa[v],H=Aa[B],s=Aa[y];s?(m.push({index:o,text:y,fn:s}),o+=3):H?(m.push({index:o,text:B,fn:H}),o+=2):n?(m.push({index:o,
text:v,fn:n,json:"[,:".indexOf(r)!=-1&&c("+-")}),o+=1):i("Unexpected next character ",o,o+1)}r=v}return m}function Nc(b,a,c,d){function e(a,c){throw Error("Syntax Error: Token '"+c.text+"' "+a+" at column "+(c.index+1)+" of the expression ["+b+"] starting at ["+b.substring(c.index)+"].");}function g(){if(O.length===0)throw Error("Unexpected end of expression: "+b);return O[0]}function h(a,b,c,d){if(O.length>0){var e=O[0],f=e.text;if(f==a||f==b||f==c||f==d||!a&&!b&&!c&&!d)return e}return!1}function f(b,
c,d,f){return(b=h(b,c,d,f))?(a&&!b.json&&e("is not valid json",b),O.shift(),b):!1}function i(a){f(a)||e("is unexpected, expecting ["+a+"]",h())}function j(a,b){return C(function(c,d){return a(c,d,b)},{constant:b.constant})}function k(a,b,c){return C(function(d,e){return b(d,e,a,c)},{constant:a.constant&&c.constant})}function l(){for(var a=[];;)if(O.length>0&&!h("}",")",";","]")&&a.push(u()),!f(";"))return a.length==1?a[0]:function(b,c){for(var d,e=0;e<a.length;e++){var f=a[e];f&&(d=f(b,c))}return d}}
function m(){for(var a=f(),b=c(a.text),d=[];;)if(a=f(":"))d.push(P());else{var e=function(a,c,e){for(var e=[e],f=0;f<d.length;f++)e.push(d[f](a,c));return b.apply(a,e)};return function(){return e}}}function q(){for(var a=o(),b;;)if(b=f("||"))a=k(a,b.fn,o());else return a}function o(){var a=z(),b;if(b=f("&&"))a=k(a,b.fn,o());return a}function z(){var a=v(),b;if(b=f("==","!=","===","!=="))a=k(a,b.fn,z());return a}function v(){var a;a=r();for(var b;b=f("+","-");)a=k(a,b.fn,r());if(b=f("<",">","<=",">="))a=
k(a,b.fn,v());return a}function r(){for(var a=B(),b;b=f("*","/","%");)a=k(a,b.fn,B());return a}function B(){var a;return f("+")?y():(a=f("-"))?k(s,a.fn,B()):(a=f("!"))?j(a.fn,B()):y()}function y(){var a;if(f("("))a=u(),i(")");else if(f("["))a=n();else if(f("{"))a=H();else{var b=f();(a=b.fn)||e("not a primary expression",b);if(b.json)a.constant=a.literal=!0}for(var c;b=f("(","[",".");)b.text==="("?(a=t(a,c),c=null):b.text==="["?(c=a,a=E(a)):b.text==="."?(c=a,a=w(a)):e("IMPOSSIBLE");return a}function n(){var a=
[],b=!0;if(g().text!="]"){do{var c=P();a.push(c);c.constant||(b=!1)}while(f(","))}i("]");return C(function(b,c){for(var d=[],e=0;e<a.length;e++)d.push(a[e](b,c));return d},{literal:!0,constant:b})}function H(){var a=[],b=!0;if(g().text!="}"){do{var c=f(),c=c.string||c.text;i(":");var d=P();a.push({key:c,value:d});d.constant||(b=!1)}while(f(","))}i("}");return C(function(b,c){for(var d={},e=0;e<a.length;e++){var f=a[e],g=f.value(b,c);d[f.key]=g}return d},{literal:!0,constant:b})}var s=K(0),I,O=Lc(b,
d),P=function(){var a=q(),c,d;return(d=f("="))?(a.assign||e("implies assignment but ["+b.substring(0,d.index)+"] can not be assigned to",d),c=q(),function(b,d){return a.assign(b,c(b,d),d)}):a},t=function(a,b){var c=[];if(g().text!=")"){do c.push(P());while(f(","))}i(")");return function(d,e){for(var f=[],g=b?b(d,e):d,j=0;j<c.length;j++)f.push(c[j](d,e));j=a(d,e)||x;return j.apply?j.apply(g,f):j(f[0],f[1],f[2],f[3],f[4])}},w=function(a){var b=f().text,c=Lb(b,d);return C(function(b,d){return c(a(b,
d),d)},{assign:function(c,d,e){return Mb(a(c,e),b,d)}})},E=function(a){var b=P();i("]");return C(function(c,d){var e=a(c,d),f=b(c,d),g;if(!e)return p;if((e=e[f])&&e.then){g=e;if(!("$$v"in e))g.$$v=p,g.then(function(a){g.$$v=a});e=e.$$v}return e},{assign:function(c,d,e){return a(c,e)[b(c,e)]=d}})},u=function(){for(var a=P(),b;;)if(b=f("|"))a=k(a,b.fn,m());else return a};a?(P=q,t=w=E=u=function(){e("is not valid json",{text:b,index:0})},I=y()):I=l();O.length!==0&&e("is an unexpected token",O[0]);I.literal=
!!I.literal;I.constant=!!I.constant;return I}function Mb(b,a,c){for(var a=a.split("."),d=0;a.length>1;d++){var e=a.shift(),g=b[e];g||(g={},b[e]=g);b=g}return b[a.shift()]=c}function hb(b,a,c){if(!a)return b;for(var a=a.split("."),d,e=b,g=a.length,h=0;h<g;h++)d=a[h],b&&(b=(e=b)[d]);return!c&&J(b)?Xa(e,b):b}function Nb(b,a,c,d,e){return function(g,h){var f=h&&h.hasOwnProperty(b)?h:g,i;if(f===null||f===p)return f;if((f=f[b])&&f.then){if(!("$$v"in f))i=f,i.$$v=p,i.then(function(a){i.$$v=a});f=f.$$v}if(!a||
f===null||f===p)return f;if((f=f[a])&&f.then){if(!("$$v"in f))i=f,i.$$v=p,i.then(function(a){i.$$v=a});f=f.$$v}if(!c||f===null||f===p)return f;if((f=f[c])&&f.then){if(!("$$v"in f))i=f,i.$$v=p,i.then(function(a){i.$$v=a});f=f.$$v}if(!d||f===null||f===p)return f;if((f=f[d])&&f.then){if(!("$$v"in f))i=f,i.$$v=p,i.then(function(a){i.$$v=a});f=f.$$v}if(!e||f===null||f===p)return f;if((f=f[e])&&f.then){if(!("$$v"in f))i=f,i.$$v=p,i.then(function(a){i.$$v=a});f=f.$$v}return f}}function Lb(b,a){if(kb.hasOwnProperty(b))return kb[b];
var c=b.split("."),d=c.length,e;if(a)e=d<6?Nb(c[0],c[1],c[2],c[3],c[4]):function(a,b){var e=0,g;do g=Nb(c[e++],c[e++],c[e++],c[e++],c[e++])(a,b),b=p,a=g;while(e<d);return g};else{var g="var l, fn, p;\n";n(c,function(a,b){g+="if(s === null || s === undefined) return s;\nl=s;\ns="+(b?"s":'((k&&k.hasOwnProperty("'+a+'"))?k:s)')+'["'+a+'"];\nif (s && s.then) {\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n'});g+="return s;";e=Function("s","k",g);
e.toString=function(){return g}}return kb[b]=e}function Oc(){var b={};this.$get=["$filter","$sniffer",function(a,c){return function(d){switch(typeof d){case "string":return b.hasOwnProperty(d)?b[d]:b[d]=Nc(d,!1,a,c.csp);case "function":return d;default:return x}}}]}function Pc(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return Qc(function(a){b.$evalAsync(a)},a)}]}function Qc(b,a){function c(a){return a}function d(a){return h(a)}var e=function(){var f=[],i,j;return j={resolve:function(a){if(f){var c=
f;f=p;i=g(a);c.length&&b(function(){for(var a,b=0,d=c.length;b<d;b++)a=c[b],i.then(a[0],a[1])})}},reject:function(a){j.resolve(h(a))},promise:{then:function(b,g){var j=e(),h=function(d){try{j.resolve((b||c)(d))}catch(e){a(e),j.reject(e)}},o=function(b){try{j.resolve((g||d)(b))}catch(c){a(c),j.reject(c)}};f?f.push([h,o]):i.then(h,o);return j.promise}}}},g=function(a){return a&&a.then?a:{then:function(c){var d=e();b(function(){d.resolve(c(a))});return d.promise}}},h=function(a){return{then:function(c,
g){var h=e();b(function(){h.resolve((g||d)(a))});return h.promise}}};return{defer:e,reject:h,when:function(f,i,j){var k=e(),l,m=function(b){try{return(i||c)(b)}catch(d){return a(d),h(d)}},q=function(b){try{return(j||d)(b)}catch(c){return a(c),h(c)}};b(function(){g(f).then(function(a){l||(l=!0,k.resolve(g(a).then(m,q)))},function(a){l||(l=!0,k.resolve(q(a)))})});return k.promise},all:function(a){var b=e(),c=a.length,d=[];c?n(a,function(a,e){g(a).then(function(a){e in d||(d[e]=a,--c||b.resolve(d))},
function(a){e in d||b.reject(a)})}):b.resolve(d);return b.promise}}}function Rc(){var b={};this.when=function(a,c){b[a]=C({reloadOnSearch:!0},c);if(a){var d=a[a.length-1]=="/"?a.substr(0,a.length-1):a+"/";b[d]={redirectTo:a}}return this};this.otherwise=function(a){this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$http","$templateCache",function(a,c,d,e,g,h,f){function i(a,b){for(var b="^"+b.replace(/[-\/\\^$:*+?.()|[\]{}]/g,"\\$&")+"$",c="",d=[],
e={},f=/\\([:*])(\w+)/g,g,j=0;(g=f.exec(b))!==null;){c+=b.slice(j,g.index);switch(g[1]){case ":":c+="([^\\/]*)";break;case "*":c+="(.*)"}d.push(g[2]);j=f.lastIndex}c+=b.substr(j);var h=a.match(RegExp(c));h&&n(d,function(a,b){e[a]=h[b+1]});return h?e:null}function j(){var b=k(),j=q.current;if(b&&j&&b.$route===j.$route&&fa(b.pathParams,j.pathParams)&&!b.reloadOnSearch&&!m)j.params=b.params,V(j.params,d),a.$broadcast("$routeUpdate",j);else if(b||j)m=!1,a.$broadcast("$routeChangeStart",b,j),(q.current=
b)&&b.redirectTo&&(D(b.redirectTo)?c.path(l(b.redirectTo,b.params)).search(b.params).replace():c.url(b.redirectTo(b.pathParams,c.path(),c.search())).replace()),e.when(b).then(function(){if(b){var a=[],c=[],d;n(b.resolve||{},function(b,d){a.push(d);c.push(D(b)?g.get(b):g.invoke(b))});if(u(d=b.template))J(d)&&(d=d(b.params));else if(u(d=b.templateUrl))if(J(d)&&(d=d(b.params)),u(d))b.loadedTemplateUrl=d,d=h.get(d,{cache:f}).then(function(a){return a.data});u(d)&&(a.push("$template"),c.push(d));return e.all(c).then(function(b){var c=
{};n(b,function(b,d){c[a[d]]=b});return c})}}).then(function(c){if(b==q.current){if(b)b.locals=c,V(b.params,d);a.$broadcast("$routeChangeSuccess",b,j)}},function(c){b==q.current&&a.$broadcast("$routeChangeError",b,j,c)})}function k(){var a,d;n(b,function(b,e){if(!d&&(a=i(c.path(),e)))d=Da(b,{params:C({},c.search(),a),pathParams:a}),d.$route=b});return d||b[null]&&Da(b[null],{params:{},pathParams:{}})}function l(a,b){var c=[];n((a||"").split(":"),function(a,d){if(d==0)c.push(a);else{var e=a.match(/(\w+)(.*)/),
f=e[1];c.push(b[f]);c.push(e[2]||"");delete b[f]}});return c.join("")}var m=!1,q={routes:b,reload:function(){m=!0;a.$evalAsync(j)}};a.$on("$locationChangeSuccess",j);return q}]}function Sc(){this.$get=K({})}function Tc(){var b=10;this.digestTtl=function(a){arguments.length&&(b=a);return b};this.$get=["$injector","$exceptionHandler","$parse",function(a,c,d){function e(){this.$id=Ca();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.$$listeners={};this.$$isolateBindings={}}function g(a){if(i.$$phase)throw Error(i.$$phase+" already in progress");i.$$phase=a}function h(a,b){var c=d(a);ta(c,b);return c}function f(){}e.prototype={$new:function(a){if(J(a))throw Error("API-CHANGE: Use $controller to instantiate controllers.");a?(a=new e,a.$root=this.$root):(a=function(){},a.prototype=this,a=new a,a.$id=Ca());a["this"]=a;a.$$listeners={};a.$parent=this;a.$$watchers=
a.$$nextSibling=a.$$childHead=a.$$childTail=null;a.$$prevSibling=this.$$childTail;this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=a:this.$$childHead=this.$$childTail=a;return a},$watch:function(a,b,c){var d=h(a,"watch"),e=this.$$watchers,g={fn:b,last:f,get:d,exp:a,eq:!!c};if(!J(b)){var i=h(b||x,"listener");g.fn=function(a,b,c){i(c)}}if(typeof a=="string"&&d.constant){var v=g.fn;g.fn=function(a,b,c){v.call(this,a,b,c);qa(e,g)}}if(!e)e=this.$$watchers=[];e.unshift(g);return function(){qa(e,
g)}},$digest:function(){var a,d,e,h,q=this.$$asyncQueue,o,n,v=b,r,B=[],y,p;g("$digest");do{n=!1;for(r=this;q.length;)try{r.$eval(q.shift())}catch(H){c(H)}do{if(h=r.$$watchers)for(o=h.length;o--;)try{if(a=h[o],(d=a.get(r))!==(e=a.last)&&!(a.eq?fa(d,e):typeof d=="number"&&typeof e=="number"&&isNaN(d)&&isNaN(e)))n=!0,a.last=a.eq?V(d):d,a.fn(d,e===f?d:e,r),v<5&&(y=4-v,B[y]||(B[y]=[]),p=J(a.exp)?"fn: "+(a.exp.name||a.exp.toString()):a.exp,p+="; newVal: "+ba(d)+"; oldVal: "+ba(e),B[y].push(p))}catch(s){c(s)}if(!(h=
r.$$childHead||r!==this&&r.$$nextSibling))for(;r!==this&&!(h=r.$$nextSibling);)r=r.$parent}while(r=h);if(n&&!v--)throw i.$$phase=null,Error(b+" $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: "+ba(B));}while(n||q.length);i.$$phase=null},$destroy:function(){if(!(i==this||this.$$destroyed)){var a=this.$parent;this.$broadcast("$destroy");this.$$destroyed=!0;if(a.$$childHead==this)a.$$childHead=this.$$nextSibling;if(a.$$childTail==this)a.$$childTail=this.$$prevSibling;
if(this.$$prevSibling)this.$$prevSibling.$$nextSibling=this.$$nextSibling;if(this.$$nextSibling)this.$$nextSibling.$$prevSibling=this.$$prevSibling;this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null}},$eval:function(a,b){return d(a)(this,b)},$evalAsync:function(a){this.$$asyncQueue.push(a)},$apply:function(a){try{return g("$apply"),this.$eval(a)}catch(b){c(b)}finally{i.$$phase=null;try{i.$digest()}catch(d){throw c(d),d;}}},$on:function(a,b){var c=this.$$listeners[a];
c||(this.$$listeners[a]=c=[]);c.push(b);return function(){c[Ea(c,b)]=null}},$emit:function(a,b){var d=[],e,f=this,g=!1,h={name:a,targetScope:f,stopPropagation:function(){g=!0},preventDefault:function(){h.defaultPrevented=!0},defaultPrevented:!1},i=[h].concat(ga.call(arguments,1)),n,B;do{e=f.$$listeners[a]||d;h.currentScope=f;n=0;for(B=e.length;n<B;n++)if(e[n])try{if(e[n].apply(null,i),g)return h}catch(y){c(y)}else e.splice(n,1),n--,B--;f=f.$parent}while(f);return h},$broadcast:function(a,b){var d=
this,e=this,f={name:a,targetScope:this,preventDefault:function(){f.defaultPrevented=!0},defaultPrevented:!1},g=[f].concat(ga.call(arguments,1)),h,i;do{d=e;f.currentScope=d;e=d.$$listeners[a]||[];h=0;for(i=e.length;h<i;h++)if(e[h])try{e[h].apply(null,g)}catch(n){c(n)}else e.splice(h,1),h--,i--;if(!(e=d.$$childHead||d!==this&&d.$$nextSibling))for(;d!==this&&!(e=d.$$nextSibling);)d=d.$parent}while(d=e);return f}};var i=new e;return i}]}function Uc(){this.$get=["$window","$document",function(b,a){var c=
{},d=F((/android (\d+)/.exec(A(b.navigator.userAgent))||[])[1]),e=a[0];return{history:!(!b.history||!b.history.pushState||d<4),hashchange:"onhashchange"in b&&(!e.documentMode||e.documentMode>7),hasEvent:function(a){if(a=="input"&&X==9)return!1;if(t(c[a])){var b=e.createElement("div");c[a]="on"+a in b}return c[a]},csp:e.securityPolicy?e.securityPolicy.isActive:!1}}]}function Vc(){this.$get=K(Q)}function Ob(b){var a={},c,d,e;if(!b)return a;n(b.split("\n"),function(b){e=b.indexOf(":");c=A(R(b.substr(0,
e)));d=R(b.substr(e+1));c&&(a[c]?a[c]+=", "+d:a[c]=d)});return a}function Wc(b,a){var c=Xc.exec(b);if(c==null)return!0;var d={protocol:c[2],host:c[4],port:F(c[6])||za[c[2]]||null,relativeProtocol:c[2]===p||c[2]===""},c=ib.exec(a),c={protocol:c[1],host:c[3],port:F(c[5])||za[c[1]]||null};return(d.protocol==c.protocol||d.relativeProtocol)&&d.host==c.host&&(d.port==c.port||d.relativeProtocol&&c.port==za[c.protocol])}function Pb(b){var a=N(b)?b:p;return function(c){a||(a=Ob(b));return c?a[A(c)]||null:
a}}function Qb(b,a,c){if(J(c))return c(b,a);n(c,function(c){b=c(b,a)});return b}function Yc(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d=this.defaults={transformResponse:[function(d){D(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=rb(d,!0)));return d}],transformRequest:[function(a){return N(a)&&Ba.apply(a)!=="[object File]"?ba(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:{"Content-Type":"application/json;charset=utf-8"},put:{"Content-Type":"application/json;charset=utf-8"}},
xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},e=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,c,i,j,k){function l(a){function c(a){var b=C({},a,{data:Qb(a.data,a.headers,i)});return 200<=a.status&&a.status<300?b:j.reject(b)}a.method=la(a.method);var e={},f=a.xsrfCookieName||d.xsrfCookieName,g=a.xsrfHeaderName||d.xsrfHeaderName,f=Wc(a.url,b.url())?b.cookies()[f]:p;e[g]=f;var g=a.transformRequest||d.transformRequest,
i=a.transformResponse||d.transformResponse,f=d.headers,e=C(e,f.common,f[A(a.method)],a.headers),g=Qb(a.data,Pb(e),g),k;t(a.data)&&delete e["Content-Type"];if(t(a.withCredentials)&&!t(d.withCredentials))a.withCredentials=d.withCredentials;k=m(a,g,e);k=k.then(c,c);n(z,function(a){k=a(k)});k.success=function(b){k.then(function(c){b(c.data,c.status,c.headers,a)});return k};k.error=function(b){k.then(null,function(c){b(c.data,c.status,c.headers,a)});return k};return k}function m(b,c,d){function e(a,b,
c){n&&(200<=a&&a<300?n.put(z,[a,b,Ob(c)]):n.remove(z));f(b,a,c);i.$apply()}function f(a,c,d){c=Math.max(c,0);(200<=c&&c<300?k.resolve:k.reject)({data:a,status:c,headers:Pb(d),config:b})}function h(){var a=Ea(l.pendingRequests,b);a!==-1&&l.pendingRequests.splice(a,1)}var k=j.defer(),m=k.promise,n,p,z=q(b.url,b.params);l.pendingRequests.push(b);m.then(h,h);b.cache&&b.method=="GET"&&(n=N(b.cache)?b.cache:o);if(n)if(p=n.get(z))if(p.then)return p.then(h,h),p;else G(p)?f(p[1],p[0],V(p[2])):f(p,200,{});
else n.put(z,m);p||a(b.method,z,c,e,d,b.timeout,b.withCredentials,b.responseType);return m}function q(a,b){if(!b)return a;var c=[];gc(b,function(a,b){a==null||a==p||(G(a)||(a=[a]),n(a,function(a){N(a)&&(a=ba(a));c.push(sa(b)+"="+sa(a))}))});return a+(a.indexOf("?")==-1?"?":"&")+c.join("&")}var o=c("$http"),z=[];n(e,function(a){z.push(D(a)?k.get(a):k.invoke(a))});l.pendingRequests=[];(function(a){n(arguments,function(a){l[a]=function(b,c){return l(C(c||{},{method:a,url:b}))}})})("get","delete","head",
"jsonp");(function(a){n(arguments,function(a){l[a]=function(b,c,d){return l(C(d||{},{method:a,url:b,data:c}))}})})("post","put");l.defaults=d;return l}]}function Zc(){this.$get=["$browser","$window","$document",function(b,a,c){return $c(b,ad,b.defer,a.angular.callbacks,c[0],a.location.protocol.replace(":",""))}]}function $c(b,a,c,d,e,g){function h(a,b){var c=e.createElement("script"),d=function(){e.body.removeChild(c);b&&b()};c.type="text/javascript";c.src=a;X?c.onreadystatechange=function(){/loaded|complete/.test(c.readyState)&&
d()}:c.onload=c.onerror=d;e.body.appendChild(c)}return function(e,i,j,k,l,m,q,o){function p(a,c,d,e){c=(i.match(ib)||["",g])[1]=="file"?d?200:404:c;a(c==1223?204:c,d,e);b.$$completeOutstandingRequest(x)}b.$$incOutstandingRequestCount();i=i||b.url();if(A(e)=="jsonp"){var v="_"+(d.counter++).toString(36);d[v]=function(a){d[v].data=a};h(i.replace("JSON_CALLBACK","angular.callbacks."+v),function(){d[v].data?p(k,200,d[v].data):p(k,-2);delete d[v]})}else{var r=new a;r.open(e,i,!0);n(l,function(a,b){a&&
r.setRequestHeader(b,a)});var B;r.onreadystatechange=function(){if(r.readyState==4){var a=r.getAllResponseHeaders(),b=["Cache-Control","Content-Language","Content-Type","Expires","Last-Modified","Pragma"];a||(a="",n(b,function(b){var c=r.getResponseHeader(b);c&&(a+=b+": "+c+"\n")}));p(k,B||r.status,r.response||r.responseText,a)}};if(q)r.withCredentials=!0;if(o)r.responseType=o;r.send(j||"");m>0&&c(function(){B=-1;r.abort()},m)}}}function bd(){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 b===1?"one":"other"}}}}function cd(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(b,a,c,d){function e(e,f,i){var j=c.defer(),k=j.promise,l=u(i)&&!i,f=a.defer(function(){try{j.resolve(e())}catch(a){j.reject(a),
d(a)}l||b.$apply()},f),i=function(){delete g[k.$$timeoutId]};k.$$timeoutId=f;g[f]=j;k.then(i,i);return k}var g={};e.cancel=function(b){return b&&b.$$timeoutId in g?(g[b.$$timeoutId].reject("canceled"),a.defer.cancel(b.$$timeoutId)):!1};return e}]}function Rb(b){function a(a,e){return b.factory(a+c,e)}var c="Filter";this.register=a;this.$get=["$injector",function(a){return function(b){return a.get(b+c)}}];a("currency",Sb);a("date",Tb);a("filter",dd);a("json",ed);a("limitTo",fd);a("lowercase",gd);a("number",
Ub);a("orderBy",Vb);a("uppercase",hd)}function dd(){return function(b,a,c){if(!G(b))return b;var d=[];d.check=function(a){for(var b=0;b<d.length;b++)if(!d[b](a))return!1;return!0};switch(typeof c){case "function":break;case "boolean":if(c==!0){c=function(a,b){return lb.equals(a,b)};break}default:c=function(a,b){b=(""+b).toLowerCase();return(""+a).toLowerCase().indexOf(b)>-1}}var e=function(a,b){if(typeof b=="string"&&b.charAt(0)==="!")return!e(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)!=="$"&&e(a[d],b))return!0}return!1;case "array":for(d=0;d<a.length;d++)if(e(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)g=="$"?function(){if(a[g]){var b=g;d.push(function(c){return e(c,a[b])})}}():function(){if(a[g]){var b=g;d.push(function(c){return e(hb(c,b),a[b])})}}();break;case "function":d.push(a);
break;default:return b}for(var h=[],f=0;f<b.length;f++){var i=b[f];d.check(i)&&h.push(i)}return h}}function Sb(b){var a=b.NUMBER_FORMATS;return function(b,d){if(t(d))d=a.CURRENCY_SYM;return Wb(b,a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,2).replace(/\u00A4/g,d)}}function Ub(b){var a=b.NUMBER_FORMATS;return function(b,d){return Wb(b,a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,d)}}function Wb(b,a,c,d,e){if(isNaN(b)||!isFinite(b))return"";var g=b<0,b=Math.abs(b),h=b+"",f="",i=[],j=!1;if(h.indexOf("e")!==-1){var k=
h.match(/([\d\.]+)e(-?)(\d+)/);k&&k[2]=="-"&&k[3]>e+1?h="0":(f=h,j=!0)}if(!j){h=(h.split(Xb)[1]||"").length;t(e)&&(e=Math.min(Math.max(a.minFrac,h),a.maxFrac));var h=Math.pow(10,e),b=Math.round(b*h)/h,b=(""+b).split(Xb),h=b[0],b=b[1]||"",j=0,k=a.lgSize,l=a.gSize;if(h.length>=k+l)for(var j=h.length-k,m=0;m<j;m++)(j-m)%l===0&&m!==0&&(f+=c),f+=h.charAt(m);for(m=j;m<h.length;m++)(h.length-m)%k===0&&m!==0&&(f+=c),f+=h.charAt(m);for(;b.length<e;)b+="0";e&&e!=="0"&&(f+=d+b.substr(0,e))}i.push(g?a.negPre:
a.posPre);i.push(f);i.push(g?a.negSuf:a.posSuf);return i.join("")}function mb(b,a,c){var d="";b<0&&(d="-",b=-b);for(b=""+b;b.length<a;)b="0"+b;c&&(b=b.substr(b.length-a));return d+b}function L(b,a,c,d){return function(e){e=e["get"+b]();if(c>0||e>-c)e+=c;e===0&&c==-12&&(e=12);return mb(e,a,d)}}function Oa(b,a){return function(c,d){var e=c["get"+b](),g=la(a?"SHORT"+b:b);return d[g][e]}}function Tb(b){function a(a){var b;if(b=a.match(c)){var a=new Date(0),g=0,h=0,f=b[8]?a.setUTCFullYear:a.setFullYear,
i=b[8]?a.setUTCHours:a.setHours;b[9]&&(g=F(b[9]+b[10]),h=F(b[9]+b[11]));f.call(a,F(b[1]),F(b[2])-1,F(b[3]));i.call(a,F(b[4]||0)-g,F(b[5]||0)-h,F(b[6]||0),F(b[7]||0))}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 g="",h=[],f,i,e=e||"mediumDate",e=b.DATETIME_FORMATS[e]||e;D(c)&&(c=id.test(c)?F(c):a(c));Va(c)&&(c=new Date(c));if(!oa(c))return c;for(;e;)(i=jd.exec(e))?(h=h.concat(ga.call(i,1)),e=h.pop()):
(h.push(e),e=null);n(h,function(a){f=kd[a];g+=f?f(c,b.DATETIME_FORMATS):a.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return g}}function ed(){return function(b){return ba(b,!0)}}function fd(){return function(b,a){if(!G(b)&&!D(b))return b;a=F(a);if(D(b))return a?a>=0?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);a>0?(d=0,e=a):(d=b.length+a,e=b.length);for(;d<e;d++)c.push(b[d]);return c}}function Vb(b){return function(a,c,d){function e(a,b){return Fa(b)?
function(b,c){return a(c,b)}:a}if(!G(a))return a;if(!c)return a;for(var c=G(c)?c:[c],c=Wa(c,function(a){var c=!1,d=a||na;if(D(a)){if(a.charAt(0)=="+"||a.charAt(0)=="-")c=a.charAt(0)=="-",a=a.substring(1);d=b(a)}return e(function(a,b){var c;c=d(a);var e=d(b),f=typeof c,g=typeof e;f==g?(f=="string"&&(c=c.toLowerCase()),f=="string"&&(e=e.toLowerCase()),c=c===e?0:c<e?-1:1):c=f<g?-1:1;return c},c)}),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(e!==0)return e}return 0},d))}}function S(b){J(b)&&(b={link:b});b.restrict=b.restrict||"AC";return K(b)}function Yb(b,a){function c(a,c){c=c?"-"+$a(c,"-"):"";b.removeClass((a?Pa:Qa)+c).addClass((a?Qa:Pa)+c)}var d=this,e=b.parent().controller("form")||Ra,g=0,h=d.$error={},f=[];d.$name=a.name;d.$dirty=!1;d.$pristine=!0;d.$valid=!0;d.$invalid=!1;e.$addControl(d);b.addClass(ma);c(!0);d.$addControl=function(a){f.push(a);a.$name&&!d.hasOwnProperty(a.$name)&&(d[a.$name]=a)};d.$removeControl=function(a){a.$name&&
d[a.$name]===a&&delete d[a.$name];n(h,function(b,c){d.$setValidity(c,!0,a)});qa(f,a)};d.$setValidity=function(a,b,f){var l=h[a];if(b){if(l&&(qa(l,f),!l.length)){g--;if(!g)c(b),d.$valid=!0,d.$invalid=!1;h[a]=!1;c(!0,a);e.$setValidity(a,!0,d)}}else{g||c(b);if(l){if(Ea(l,f)!=-1)return}else h[a]=l=[],g++,c(!1,a),e.$setValidity(a,!1,d);l.push(f);d.$valid=!1;d.$invalid=!0}};d.$setDirty=function(){b.removeClass(ma).addClass(Sa);d.$dirty=!0;d.$pristine=!1;e.$setDirty()};d.$setPristine=function(){b.removeClass(Sa).addClass(ma);
d.$dirty=!1;d.$pristine=!0;n(f,function(a){a.$setPristine()})}}function U(b){return t(b)||b===""||b===null||b!==b}function Ta(b,a,c,d,e,g){var h=function(){var e=a.val();if(Fa(c.ngTrim||"T"))e=R(e);d.$viewValue!==e&&b.$apply(function(){d.$setViewValue(e)})};if(e.hasEvent("input"))a.bind("input",h);else{var f;a.bind("keydown",function(a){a=a.keyCode;a===91||15<a&&a<19||37<=a&&a<=40||f||(f=g.defer(function(){h();f=null}))});a.bind("change",h)}d.$render=function(){a.val(U(d.$viewValue)?"":d.$viewValue)};
var i=c.ngPattern,j=function(a,b){return U(b)||a.test(b)?(d.$setValidity("pattern",!0),b):(d.$setValidity("pattern",!1),p)};i&&(i.match(/^\/(.*)\/$/)?(i=RegExp(i.substr(1,i.length-2)),e=function(a){return j(i,a)}):e=function(a){var c=b.$eval(i);if(!c||!c.test)throw Error("Expected "+i+" to be a RegExp but was "+c);return j(c,a)},d.$formatters.push(e),d.$parsers.push(e));if(c.ngMinlength){var k=F(c.ngMinlength),e=function(a){return!U(a)&&a.length<k?(d.$setValidity("minlength",!1),p):(d.$setValidity("minlength",
!0),a)};d.$parsers.push(e);d.$formatters.push(e)}if(c.ngMaxlength){var l=F(c.ngMaxlength),e=function(a){return!U(a)&&a.length>l?(d.$setValidity("maxlength",!1),p):(d.$setValidity("maxlength",!0),a)};d.$parsers.push(e);d.$formatters.push(e)}}function nb(b,a){b="ngClass"+b;return S(function(c,d,e){function g(b){if(a===!0||c.$index%2===a)i&&b!==i&&h(i),f(b);i=b}function h(a){N(a)&&!G(a)&&(a=Wa(a,function(a,b){if(a)return b}));d.removeClass(G(a)?a.join(" "):a)}function f(a){N(a)&&!G(a)&&(a=Wa(a,function(a,
b){if(a)return b}));a&&d.addClass(G(a)?a.join(" "):a)}var i=p;c.$watch(e[b],g,!0);e.$observe("class",function(){var a=c.$eval(e[b]);g(a,a)});b!=="ngClass"&&c.$watch("$index",function(d,g){var i=d%2;i!==g%2&&(i==a?f(c.$eval(e[b])):h(c.$eval(e[b])))})})}var A=function(b){return D(b)?b.toLowerCase():b},la=function(b){return D(b)?b.toUpperCase():b},X=F((/msie (\d+)/.exec(A(navigator.userAgent))||[])[1]),w,aa,ga=[].slice,Ua=[].push,Ba=Object.prototype.toString,fc=Q.angular,lb=Q.angular||(Q.angular={}),
va,gb,Y=["0","0","0"];x.$inject=[];na.$inject=[];gb=X<9?function(b){b=b.nodeName?b:b[0];return b.scopeName&&b.scopeName!="HTML"?la(b.scopeName+":"+b.nodeName):b.nodeName}:function(b){return b.nodeName?b.nodeName:b[0].nodeName};var lc=/[A-Z]/g,ld={full:"1.1.3",major:1,minor:1,dot:3,codeName:"radioactive-gargle"},Ha=M.cache={},Ga=M.expando="ng-"+(new Date).getTime(),pc=1,Zb=Q.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},eb=Q.document.removeEventListener?
function(b,a,c){b.removeEventListener(a,c,!1)}:function(b,a,c){b.detachEvent("on"+a,c)},nc=/([\:\-\_]+(.))/g,oc=/^moz([A-Z])/,xa=M.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;this.bind("DOMContentLoaded",a);M(Q).bind("load",a)},toString:function(){var b=[];n(this,function(a){b.push(""+a)});return"["+b.join(", ")+"]"},eq:function(b){return b>=0?w(this[b]):w(this[this.length+b])},length:0,push:Ua,sort:[].sort,splice:[].splice},Ka={};n("multiple,selected,checked,disabled,readOnly,required,open".split(","),
function(b){Ka[A(b)]=b});var Db={};n("input,select,option,textarea,button,form,details".split(","),function(b){Db[la(b)]=!0});n({data:yb,inheritedData:Ja,scope:function(b){return Ja(b,"$scope")},controller:Bb,injector:function(b){return Ja(b,"$injector")},removeAttr:function(b,a){b.removeAttribute(a)},hasClass:Ia,css:function(b,a,c){a=vb(a);if(u(c))b.style[a]=c;else{var d;X<=8&&(d=b.currentStyle&&b.currentStyle[a],d===""&&(d="auto"));d=d||b.style[a];X<=8&&(d=d===""?p:d);return d}},attr:function(b,
a,c){var d=A(a);if(Ka[d])if(u(c))c?(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||x).specified?d:p;else if(u(c))b.setAttribute(a,c);else if(b.getAttribute)return b=b.getAttribute(a,2),b===null?p:b},prop:function(b,a,c){if(u(c))b[a]=c;else return b[a]},text:C(X<9?function(b,a){if(b.nodeType==1){if(t(a))return b.innerText;b.innerText=a}else{if(t(a))return b.nodeValue;b.nodeValue=a}}:function(b,a){if(t(a))return b.textContent;b.textContent=
a},{$dv:""}),val:function(b,a){if(t(a))return b.value;b.value=a},html:function(b,a){if(t(a))return b.innerHTML;for(var c=0,d=b.childNodes;c<d.length;c++)ua(d[c]);b.innerHTML=a}},function(b,a){M.prototype[a]=function(a,d){var e,g;if((b.length==2&&b!==Ia&&b!==Bb?a:d)===p)if(N(a)){for(e=0;e<this.length;e++)if(b===yb)b(this[e],a);else for(g in a)b(this[e],g,a[g]);return this}else{if(this.length)return b(this[0],a,d)}else{for(e=0;e<this.length;e++)b(this[e],a,d);return this}return b.$dv}});n({removeData:wb,
dealoc:ua,bind:function a(c,d,e){var g=Z(c,"events"),h=Z(c,"handle");g||Z(c,"events",g={});h||Z(c,"handle",h=qc(c,g));n(d.split(" "),function(d){var i=g[d];if(!i){if(d=="mouseenter"||d=="mouseleave"){var j=0;g.mouseenter=[];g.mouseleave=[];a(c,"mouseover",function(a){j++;j==1&&h(a,"mouseenter")});a(c,"mouseout",function(a){j--;j==0&&h(a,"mouseleave")})}else Zb(c,d,h),g[d]=[];i=g[d]}i.push(e)})},unbind:xb,replaceWith:function(a,c){var d,e=a.parentNode;ua(a);n(new M(c),function(c){d?e.insertBefore(c,
d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=[];n(a.childNodes,function(a){a.nodeType===1&&c.push(a)});return c},contents:function(a){return a.childNodes||[]},append:function(a,c){n(new M(c),function(c){(a.nodeType===1||a.nodeType===11)&&a.appendChild(c)})},prepend:function(a,c){if(a.nodeType===1){var d=a.firstChild;n(new M(c),function(c){d?a.insertBefore(c,d):(a.appendChild(c),d=c)})}},wrap:function(a,c){var c=w(c)[0],d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},
remove:function(a){ua(a);var c=a.parentNode;c&&c.removeChild(a)},after:function(a,c){var d=a,e=a.parentNode;n(new M(c),function(a){e.insertBefore(a,d.nextSibling);d=a})},addClass:Ab,removeClass:zb,toggleClass:function(a,c,d){t(d)&&(d=!Ia(a,c));(d?Ab:zb)(a,c)},parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},next:function(a){if(a.nextElementSibling)return a.nextElementSibling;for(a=a.nextSibling;a!=null&&a.nodeType!==1;)a=a.nextSibling;return a},find:function(a,c){return a.getElementsByTagName(c)},
clone:db,triggerHandler:function(a,c){var d=(Z(a,"events")||{})[c];n(d,function(c){c.call(a,null)})}},function(a,c){M.prototype[c]=function(c,e){for(var g,h=0;h<this.length;h++)g==p?(g=a(this[h],c,e),g!==p&&(g=w(g))):cb(g,a(this[h],c,e));return g==p?this:g}});La.prototype={put:function(a,c){this[da(a)]=c},get:function(a){return this[da(a)]},remove:function(a){var c=this[a=da(a)];delete this[a];return c}};fb.prototype={push:function(a,c){var d=this[a=da(a)];d?d.push(c):this[a]=[c]},shift:function(a){var c=
this[a=da(a)];if(c)return c.length==1?(delete this[a],c[0]):c.shift()},peek:function(a){if(a=this[da(a)])return a[0]}};var sc=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,tc=/,/,uc=/^\s*(_?)(\S+?)\1\s*$/,rc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Gb="Non-assignable model expression: ";Fb.$inject=["$provide"];var Bc=/^(x[\:\-_]|data[\:\-_])/i,ib=/^([^:]+):\/\/(\w+:{0,1}\w*@)?([\w\.-]*)(:([0-9]+))?(\/[^\?#]*)?(\?([^#]*))?(#(.*))?$/,$b=/^([^\?#]*)?(\?([^#]*))?(#(.*))?$/,Ic=$b,za={http:80,https:443,ftp:21};jb.prototype=
{$$replace:!1,absUrl:Na("$$absUrl"),url:function(a,c){if(t(a))return this.$$url;var d=$b.exec(a);d[1]&&this.path(decodeURIComponent(d[1]));if(d[2]||d[1])this.search(d[3]||"");this.hash(d[5]||"",c);return this},protocol:Na("$$protocol"),host:Na("$$host"),port:Na("$$port"),path:Kb("$$path",function(a){return a.charAt(0)=="/"?a:"/"+a}),search:function(a,c){if(t(a))return this.$$search;u(c)?c===null?delete this.$$search[a]:this.$$search[a]=c:this.$$search=D(a)?Ya(a):a;this.$$compose();return this},hash:Kb("$$hash",
na),replace:function(){this.$$replace=!0;return this}};Ma.prototype=Da(jb.prototype);Jb.prototype=Da(Ma.prototype);var Aa={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:x,"+":function(a,c,d,e){d=d(a,c);e=e(a,c);return u(d)?u(e)?d+e:d:u(e)?e:p},"-":function(a,c,d,e){d=d(a,c);e=e(a,c);return(u(d)?d:0)-(u(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)},"=":x,"===":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)}},Mc={n:"\n",f:"\u000c",r:"\r",t:"\t",v:"\u000b","'":"'",'"':'"'},kb={},Xc=/^(([^:]+):)?\/\/(\w+:{0,1}\w*@)?([\w\.-]*)?(:([0-9]+))?(.*)$/,ad=Q.XMLHttpRequest||function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw Error("This browser does not support XMLHttpRequest.");
};Rb.$inject=["$provide"];Sb.$inject=["$locale"];Ub.$inject=["$locale"];var Xb=".",kd={yyyy:L("FullYear",4),yy:L("FullYear",2,0,!0),y:L("FullYear",1),MMMM:Oa("Month"),MMM:Oa("Month",!0),MM:L("Month",2,1),M:L("Month",1,1),dd:L("Date",2),d:L("Date",1),HH:L("Hours",2),H:L("Hours",1),hh:L("Hours",2,-12),h:L("Hours",1,-12),mm:L("Minutes",2),m:L("Minutes",1),ss:L("Seconds",2),s:L("Seconds",1),sss:L("Milliseconds",3),EEEE:Oa("Day"),EEE:Oa("Day",!0),a:function(a,c){return a.getHours()<12?c.AMPMS[0]:c.AMPMS[1]},
Z:function(a){var a=-1*a.getTimezoneOffset(),c=a>=0?"+":"";c+=mb(a/60,2)+mb(Math.abs(a%60),2);return c}},jd=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,id=/^\d+$/;Tb.$inject=["$locale"];var gd=K(A),hd=K(la);Vb.$inject=["$parse"];var md=K({restrict:"E",compile:function(a,c){X<=8&&(!c.href&&!c.name&&c.$set("href",""),a.append(W.createComment("IE fix")));return function(a,c){c.bind("click",function(a){c.attr("href")||a.preventDefault()})}}}),ob={};n(Ka,function(a,c){var d=
ca("ng-"+c);ob[d]=function(){return{priority:100,compile:function(){return function(a,g,h){a.$watch(h[d],function(a){h.$set(c,!!a)})}}}}});n(["src","href"],function(a){var c=ca("ng-"+a);ob[c]=function(){return{priority:99,link:function(d,e,g){g.$observe(c,function(c){c&&(g.$set(a,c),X&&e.prop(a,g[a]))})}}}});var Ra={$addControl:x,$removeControl:x,$setValidity:x,$setDirty:x,$setPristine:x};Yb.$inject=["$element","$attrs","$scope"];var Ua=function(a){return["$timeout",function(c){var d={name:"form",
restrict:"E",controller:Yb,compile:function(){return{pre:function(a,d,h,f){if(!h.action){var i=function(a){a.preventDefault?a.preventDefault():a.returnValue=!1};Zb(d[0],"submit",i);d.bind("$destroy",function(){c(function(){eb(d[0],"submit",i)},0,!1)})}var j=d.parent().controller("form"),k=h.name||h.ngForm;k&&(a[k]=f);j&&d.bind("$destroy",function(){j.$removeControl(f);k&&(a[k]=p);C(f,Ra)})}}}};return a?C(V(d),{restrict:"EAC"}):d}]},nd=Ua(),od=Ua(!0),pd=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,
qd=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/,rd=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,ac={text:Ta,number:function(a,c,d,e,g,h){Ta(a,c,d,e,g,h);e.$parsers.push(function(a){var c=U(a);return c||rd.test(a)?(e.$setValidity("number",!0),a===""?null:c?a:parseFloat(a)):(e.$setValidity("number",!1),p)});e.$formatters.push(function(a){return U(a)?"":""+a});if(d.min){var f=parseFloat(d.min),a=function(a){return!U(a)&&a<f?(e.$setValidity("min",!1),p):(e.$setValidity("min",!0),a)};e.$parsers.push(a);
e.$formatters.push(a)}if(d.max){var i=parseFloat(d.max),d=function(a){return!U(a)&&a>i?(e.$setValidity("max",!1),p):(e.$setValidity("max",!0),a)};e.$parsers.push(d);e.$formatters.push(d)}e.$formatters.push(function(a){return U(a)||Va(a)?(e.$setValidity("number",!0),a):(e.$setValidity("number",!1),p)})},url:function(a,c,d,e,g,h){Ta(a,c,d,e,g,h);a=function(a){return U(a)||pd.test(a)?(e.$setValidity("url",!0),a):(e.$setValidity("url",!1),p)};e.$formatters.push(a);e.$parsers.push(a)},email:function(a,
c,d,e,g,h){Ta(a,c,d,e,g,h);a=function(a){return U(a)||qd.test(a)?(e.$setValidity("email",!0),a):(e.$setValidity("email",!1),p)};e.$formatters.push(a);e.$parsers.push(a)},radio:function(a,c,d,e){t(d.name)&&c.attr("name",Ca());c.bind("click",function(){c[0].checked&&a.$apply(function(){e.$setViewValue(d.value)})});e.$render=function(){c[0].checked=d.value==e.$viewValue};d.$observe("value",e.$render)},checkbox:function(a,c,d,e){var g=d.ngTrueValue,h=d.ngFalseValue;D(g)||(g=!0);D(h)||(h=!1);c.bind("click",
function(){a.$apply(function(){e.$setViewValue(c[0].checked)})});e.$render=function(){c[0].checked=e.$viewValue};e.$formatters.push(function(a){return a===g});e.$parsers.push(function(a){return a?g:h})},hidden:x,button:x,submit:x,reset:x},bc=["$browser","$sniffer",function(a,c){return{restrict:"E",require:"?ngModel",link:function(d,e,g,h){h&&(ac[A(g.type)]||ac.text)(d,e,g,h,c,a)}}}],Qa="ng-valid",Pa="ng-invalid",ma="ng-pristine",Sa="ng-dirty",sd=["$scope","$exceptionHandler","$attrs","$element","$parse",
function(a,c,d,e,g){function h(a,c){c=c?"-"+$a(c,"-"):"";e.removeClass((a?Pa:Qa)+c).addClass((a?Qa:Pa)+c)}this.$modelValue=this.$viewValue=Number.NaN;this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$pristine=!0;this.$dirty=!1;this.$valid=!0;this.$invalid=!1;this.$name=d.name;var f=g(d.ngModel),i=f.assign;if(!i)throw Error(Gb+d.ngModel+" ("+ra(e)+")");this.$render=x;var j=e.inheritedData("$formController")||Ra,k=0,l=this.$error={};e.addClass(ma);h(!0);this.$setValidity=function(a,
c){if(l[a]!==!c){if(c){if(l[a]&&k--,!k)h(!0),this.$valid=!0,this.$invalid=!1}else h(!1),this.$invalid=!0,this.$valid=!1,k++;l[a]=!c;h(c,a);j.$setValidity(a,c,this)}};this.$setPristine=function(){this.$dirty=!1;this.$pristine=!0;e.removeClass(Sa).addClass(ma)};this.$setViewValue=function(d){this.$viewValue=d;if(this.$pristine)this.$dirty=!0,this.$pristine=!1,e.removeClass(ma).addClass(Sa),j.$setDirty();n(this.$parsers,function(a){d=a(d)});if(this.$modelValue!==d)this.$modelValue=d,i(a,d),n(this.$viewChangeListeners,
function(a){try{a()}catch(d){c(d)}})};var m=this;a.$watch(function(){var c=f(a);if(m.$modelValue!==c){var d=m.$formatters,e=d.length;for(m.$modelValue=c;e--;)c=d[e](c);if(m.$viewValue!==c)m.$viewValue=c,m.$render()}})}],td=function(){return{require:["ngModel","^?form"],controller:sd,link:function(a,c,d,e){var g=e[0],h=e[1]||Ra;h.$addControl(g);c.bind("$destroy",function(){h.$removeControl(g)})}}},ud=K({require:"ngModel",link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),
cc=function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){d.required=!0;var g=function(a){if(d.required&&(U(a)||a===!1))e.$setValidity("required",!1);else return e.$setValidity("required",!0),a};e.$formatters.push(g);e.$parsers.unshift(g);d.$observe("required",function(){g(e.$viewValue)})}}}},vd=function(){return{require:"ngModel",link:function(a,c,d,e){var g=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||d.ngList||",";e.$parsers.push(function(a){var c=[];a&&n(a.split(g),function(a){a&&c.push(R(a))});
return c});e.$formatters.push(function(a){return G(a)?a.join(", "):p})}}},wd=/^(true|false|\d+)$/,xd=function(){return{priority:100,compile:function(a,c){return wd.test(c.ngValue)?function(a,c,g){g.$set("value",a.$eval(g.ngValue))}:function(a,c,g){a.$watch(g.ngValue,function(a){g.$set("value",a,!1)})}}}},yd=S(function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBind);a.$watch(d.ngBind,function(a){c.text(a==p?"":a)})}),zd=["$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)})}}],Ad=[function(){return function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBindHtmlUnsafe);a.$watch(d.ngBindHtmlUnsafe,function(a){c.html(a||"")})}}],Bd=nb("",!0),Cd=nb("Odd",0),Dd=nb("Even",1),Ed=S({compile:function(a,c){c.$set("ngCloak",p);a.removeClass("ng-cloak")}}),Fd=[function(){return{scope:!0,controller:"@"}}],Gd=["$sniffer",function(a){return{priority:1E3,compile:function(){a.csp=!0}}}],
dc={};n("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup".split(" "),function(a){var c=ca("ng-"+a);dc[c]=["$parse",function(d){return function(e,g,h){var f=d(h[c]);g.bind(A(a),function(a){e.$apply(function(){f(e,{$event:a})})})}}]});var Hd=S(function(a,c,d){c.bind("submit",function(){a.$apply(d.ngSubmit)})}),Id=["$http","$templateCache","$anchorScroll","$compile",function(a,c,d,e){return{restrict:"ECA",terminal:!0,compile:function(g,h){var f=h.ngInclude||
h.src,i=h.onload||"",j=h.autoscroll;return function(g,h){var m=0,n,o=function(){n&&(n.$destroy(),n=null);h.html("")};g.$watch(f,function(f){var p=++m;f?a.get(f,{cache:c}).success(function(a){p===m&&(n&&n.$destroy(),n=g.$new(),h.html(a),e(h.contents())(n),u(j)&&(!j||g.$eval(j))&&d(),n.$emit("$includeContentLoaded"),g.$eval(i))}).error(function(){p===m&&o()}):o()})}}}}],Jd=S({compile:function(){return{pre:function(a,c,d){a.$eval(d.ngInit)}}}}),Kd=S({terminal:!0,priority:1E3}),Ld=["$locale","$interpolate",
function(a,c){var d=/{}/g;return{restrict:"EA",link:function(e,g,h){var f=h.count,i=g.attr(h.$attr.when),j=h.offset||0,k=e.$eval(i),l={},m=c.startSymbol(),q=c.endSymbol();n(k,function(a,e){l[e]=c(a.replace(d,m+f+"-"+j+q))});e.$watch(function(){var c=parseFloat(e.$eval(f));return isNaN(c)?"":(k[c]||(c=a.pluralCat(c-j)),l[c](e,g,!0))},function(a){g.text(a)})}}}],Md=S({transclude:"element",priority:1E3,terminal:!0,compile:function(a,c,d){return function(a,c,h){var f=h.ngRepeat,h=f.match(/^\s*(.+)\s+in\s+(.*)\s*$/),
i,j,k;if(!h)throw Error("Expected ngRepeat in form of '_item_ in _collection_' but got '"+f+"'.");f=h[1];i=h[2];h=f.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/);if(!h)throw Error("'item' in 'item in collection' should be identifier or (key, value) but got '"+f+"'.");j=h[3]||h[1];k=h[2];var l=new fb;a.$watch(function(a){var e,f,h=a.$eval(i),n=c,p=new fb,B,y,t,w,s,u;if(G(h))s=h||[];else{s=[];for(t in h)h.hasOwnProperty(t)&&t.charAt(0)!="$"&&s.push(t);s.sort()}B=s.length;e=0;for(f=s.length;e<
f;e++){t=h===s?e:s[e];w=h[t];if(u=l.shift(w)){y=u.scope;p.push(w,u);if(e!==u.index)u.index=e,n.after(u.element);n=u.element}else y=a.$new();y[j]=w;k&&(y[k]=t);y.$index=e;y.$first=e===0;y.$last=e===B-1;y.$middle=!(y.$first||y.$last);u||d(y,function(a){n.after(a);u={scope:y,element:n=a,index:e};p.push(w,u)})}for(t in l)if(l.hasOwnProperty(t))for(s=l[t];s.length;)w=s.pop(),w.element.remove(),w.scope.$destroy();l=p})}}}),Nd=S(function(a,c,d){a.$watch(d.ngShow,function(a){c.css("display",Fa(a)?"":"none")})}),
Od=S(function(a,c,d){a.$watch(d.ngHide,function(a){c.css("display",Fa(a)?"none":"")})}),Pd=S(function(a,c,d){a.$watch(d.ngStyle,function(a,d){d&&a!==d&&n(d,function(a,d){c.css(d,"")});a&&c.css(a)},!0)}),Qd=K({restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(a,c,d,e){var g,h,f=[];a.$watch(d.ngSwitch||d.on,function(i){for(var j=0,k=f.length;j<k;j++)f[j].$destroy(),h[j].remove();h=[];f=[];if(g=e.cases["!"+i]||e.cases["?"])a.$eval(d.change),n(g,function(d){var e=
a.$new();f.push(e);d(e,function(a){h.push(a);c.append(a)})})})}}),Rd=S({transclude:"element",priority:500,require:"^ngSwitch",compile:function(a,c,d){return function(a,g,h,f){f.cases["!"+c.ngSwitchWhen]=f.cases["!"+c.ngSwitchWhen]||[];f.cases["!"+c.ngSwitchWhen].push(d)}}}),Sd=S({transclude:"element",priority:500,require:"^ngSwitch",compile:function(a,c,d){return function(a,c,h,f){f.cases["?"]=f.cases["?"]||[];f.cases["?"].push(d)}}}),Td=S({controller:["$transclude","$element",function(a,c){a(function(a){c.append(a)})}]}),
Ud=["$http","$templateCache","$route","$anchorScroll","$compile","$controller",function(a,c,d,e,g,h){return{restrict:"ECA",terminal:!0,link:function(a,c,j){function k(){var j=d.current&&d.current.locals,k=j&&j.$template;if(k){c.html(k);l&&(l.$destroy(),l=null);var k=g(c.contents()),n=d.current;l=n.scope=a.$new();if(n.controller)j.$scope=l,j=h(n.controller,j),c.children().data("$ngControllerController",j);k(l);l.$emit("$viewContentLoaded");l.$eval(m);e()}else c.html(""),l&&(l.$destroy(),l=null)}var l,
m=j.onload||"";a.$on("$routeChangeSuccess",k);k()}}}],Vd=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(c,d){d.type=="text/ng-template"&&a.put(d.id,c[0].text)}}}],Wd=K({terminal:!0}),Xd=["$compile","$parse",function(a,c){var d=/^\s*(.*?)(?:\s+as\s+(.*?))?(?:\s+group\s+by\s+(.*))?\s+for\s+(?:([\$\w][\$\w\d]*)|(?:\(\s*([\$\w][\$\w\d]*)\s*,\s*([\$\w][\$\w\d]*)\s*\)))\s+in\s+(.*)$/,e={$setViewValue:x};return{restrict:"E",require:["select","?ngModel"],controller:["$element",
"$scope","$attrs",function(a,c,d){var i=this,j={},k=e,l;i.databound=d.ngModel;i.init=function(a,c,d){k=a;l=d};i.addOption=function(c){j[c]=!0;k.$viewValue==c&&(a.val(c),l.parent()&&l.remove())};i.removeOption=function(a){this.hasOption(a)&&(delete j[a],k.$viewValue==a&&this.renderUnknownOption(a))};i.renderUnknownOption=function(c){c="? "+da(c)+" ?";l.val(c);a.prepend(l);a.val(c);l.prop("selected",!0)};i.hasOption=function(a){return j.hasOwnProperty(a)};c.$on("$destroy",function(){i.renderUnknownOption=
x})}],link:function(e,h,f,i){function j(a,c,d,e){d.$render=function(){var a=d.$viewValue;e.hasOption(a)?(C.parent()&&C.remove(),c.val(a),a===""&&r.prop("selected",!0)):t(a)&&r?c.val(""):e.renderUnknownOption(a)};c.bind("change",function(){a.$apply(function(){C.parent()&&C.remove();d.$setViewValue(c.val())})})}function k(a,c,d){var e;d.$render=function(){var a=new La(d.$viewValue);n(c.find("option"),function(c){c.selected=u(a.get(c.value))})};a.$watch(function(){fa(e,d.$viewValue)||(e=V(d.$viewValue),
d.$render())});c.bind("change",function(){a.$apply(function(){var a=[];n(c.find("option"),function(c){c.selected&&a.push(c.value)});d.$setViewValue(a)})})}function l(e,f,g){function h(){var a={"":[]},c=[""],d,i,r,t,u;r=g.$modelValue;t=s(e)||[];var w=l?pb(t):t,C,x,z;x={};u=!1;var A,D;if(o)u=new La(r);else if(r===null||v)a[""].push({selected:r===null,id:"",label:""}),u=!0;for(z=0;C=w.length,z<C;z++){x[k]=t[l?x[l]=w[z]:z];d=m(e,x)||"";if(!(i=a[d]))i=a[d]=[],c.push(d);o?d=u.remove(n(e,x))!=p:(d=r===n(e,
x),u=u||d);A=j(e,x);A=A===p?"":A;i.push({id:l?w[z]:z,label:A,selected:d})}!o&&!u&&a[""].unshift({id:"?",label:"",selected:!0});x=0;for(w=c.length;x<w;x++){d=c[x];i=a[d];if(q.length<=x)r={element:y.clone().attr("label",d),label:i.label},t=[r],q.push(t),f.append(r.element);else if(t=q[x],r=t[0],r.label!=d)r.element.attr("label",r.label=d);A=null;z=0;for(C=i.length;z<C;z++)if(d=i[z],u=t[z+1]){A=u.element;if(u.label!==d.label)A.text(u.label=d.label);if(u.id!==d.id)A.val(u.id=d.id);if(u.element.selected!==
d.selected)A.prop("selected",u.selected=d.selected)}else d.id===""&&v?D=v:(D=B.clone()).val(d.id).attr("selected",d.selected).text(d.label),t.push({element:D,label:d.label,id:d.id,selected:d.selected}),A?A.after(D):r.element.append(D),A=D;for(z++;t.length>z;)t.pop().element.remove()}for(;q.length>x;)q.pop()[0].element.remove()}var i;if(!(i=z.match(d)))throw Error("Expected ngOptions in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '"+z+"'.");var j=c(i[2]||i[1]),k=i[4]||
i[6],l=i[5],m=c(i[3]||""),n=c(i[2]?i[1]:k),s=c(i[7]),q=[[{element:f,label:""}]];v&&(a(v)(e),v.removeClass("ng-scope"),v.remove());f.html("");f.bind("change",function(){e.$apply(function(){var a,c=s(e)||[],d={},h,i,j,m,r,t;if(o){i=[];m=0;for(t=q.length;m<t;m++){a=q[m];j=1;for(r=a.length;j<r;j++)if((h=a[j].element)[0].selected)h=h.val(),l&&(d[l]=h),d[k]=c[h],i.push(n(e,d))}}else h=f.val(),h=="?"?i=p:h==""?i=null:(d[k]=c[h],l&&(d[l]=h),i=n(e,d));g.$setViewValue(i)})});g.$render=h;e.$watch(h)}if(i[1]){for(var m=
i[0],q=i[1],o=f.multiple,z=f.ngOptions,v=!1,r,B=w(W.createElement("option")),y=w(W.createElement("optgroup")),C=B.clone(),i=0,x=h.children(),s=x.length;i<s;i++)if(x[i].value==""){r=v=x.eq(i);break}m.init(q,v,C);if(o&&(f.required||f.ngRequired)){var A=function(a){q.$setValidity("required",!f.required||a&&a.length);return a};q.$parsers.push(A);q.$formatters.unshift(A);f.$observe("required",function(){A(q.$viewValue)})}z?l(e,h,q):o?k(e,h,q):j(e,h,q,m)}}}}],Yd=["$interpolate",function(a){var c={addOption:x,
removeOption:x};return{restrict:"E",priority:100,compile:function(d,e){if(t(e.value)){var g=a(d.text(),!0);g||e.$set("value",d.text())}return function(a,d,e){var j=d.parent(),k=j.data("$selectController")||j.parent().data("$selectController");k&&k.databound?d.prop("selected",!1):k=c;g?a.$watch(g,function(a,c){e.$set("value",a);a!==c&&k.removeOption(c);k.addOption(a)}):k.addOption(e.value);d.bind("$destroy",function(){k.removeOption(e.value)})}}}}],Zd=K({restrict:"E",terminal:!0});(aa=Q.jQuery)?(w=
aa,C(aa.fn,{scope:xa.scope,controller:xa.controller,injector:xa.injector,inheritedData:xa.inheritedData}),bb("remove",!0),bb("empty"),bb("html")):w=M;lb.element=w;(function(a){C(a,{bootstrap:tb,copy:V,extend:C,equals:fa,element:w,forEach:n,injector:ub,noop:x,bind:Xa,toJson:ba,fromJson:rb,identity:na,isUndefined:t,isDefined:u,isString:D,isFunction:J,isObject:N,isNumber:Va,isElement:hc,isArray:G,version:ld,isDate:oa,lowercase:A,uppercase:la,callbacks:{counter:0},noConflict:ec});va=mc(Q);try{va("ngLocale")}catch(c){va("ngLocale",
[]).provider("$locale",bd)}va("ng",["ngLocale"],["$provide",function(a){a.provider("$compile",Fb).directive({a:md,input:bc,textarea:bc,form:nd,script:Vd,select:Xd,style:Zd,option:Yd,ngBind:yd,ngBindHtmlUnsafe:Ad,ngBindTemplate:zd,ngClass:Bd,ngClassEven:Dd,ngClassOdd:Cd,ngCsp:Gd,ngCloak:Ed,ngController:Fd,ngForm:od,ngHide:Od,ngInclude:Id,ngInit:Jd,ngNonBindable:Kd,ngPluralize:Ld,ngRepeat:Md,ngShow:Nd,ngSubmit:Hd,ngStyle:Pd,ngSwitch:Qd,ngSwitchWhen:Rd,ngSwitchDefault:Sd,ngOptions:Wd,ngView:Ud,ngTransclude:Td,
ngModel:td,ngList:vd,ngChange:ud,required:cc,ngRequired:cc,ngValue:xd}).directive(ob).directive(dc);a.provider({$anchorScroll:vc,$browser:xc,$cacheFactory:yc,$controller:Cc,$document:Dc,$exceptionHandler:Ec,$filter:Rb,$interpolate:Fc,$http:Yc,$httpBackend:Zc,$location:Jc,$log:Kc,$parse:Oc,$route:Rc,$routeParams:Sc,$rootScope:Tc,$q:Pc,$sniffer:Uc,$templateCache:zc,$timeout:cd,$window:Vc})}])})(lb);w(W).ready(function(){kc(W,tb)})})(window,document);angular.element(document).find("head").append('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak{display:none;}ng\\:form{display:block;}</style>');