-
Notifications
You must be signed in to change notification settings - Fork 745
/
angular-0.9.10.min.js
109 lines (109 loc) · 58.9 KB
/
angular-0.9.10.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
(function(K,Y){function u(a,b,c){var d;if(a)if(L(a))for(d in a)d!="prototype"&&d!=jc&&d!=kc&&a.hasOwnProperty(d)&&b.call(c,a[d],d);else if(a.forEach&&a.forEach!==u)a.forEach(b,c);else if(V(a)&&Ba(a.length))for(d=0;d<a.length;d++)b.call(c,a[d],d);else for(d in a)b.call(c,a[d],d);return a}function Ya(a,b,c){var d=[],e;for(e in a)d.push(e);d.sort();for(e=0;e<d.length;e++)b.call(c,a[d[e]],d[e]);return d}function Za(a){if(a instanceof ga)if(a.stack)a=a.stack;else if(a.sourceURL)a=a.message+"\n"+a.sourceURL+
":"+a.line;return a}function C(a){u(arguments,function(b){b!==a&&u(b,function(c,d){a[d]=c})});return a}function lc(a,b){return C(new (C(function(){},{prototype:a})),b)}function E(){}function ra(a){return a}function Ma(a){return function(){return a}}function ha(a,b,c){var d;return a[b]||(d=a[b]=function(e,f,g){e=(c||ra)(e);if(D(f))d[e]=C(f,g||{});return d[e]})}function mc(a){if(a)if(I(a)){var b=Y.createElement("div");b.innerHTML=a;a=new sa(b.childNodes)}else a instanceof sa||(a=new sa(a));return a}
function ca(a){return typeof a==ta}function D(a){return typeof a!=ta}function V(a){return a!=z&&typeof a==wb}function I(a){return typeof a==nc}function Ba(a){return typeof a==oc}function ia(a){return a instanceof Array}function L(a){return typeof a==ja}function Ca(a){return I(a)?a.replace(/^\s*/,"").replace(/\s*$/,""):a}function $a(a){return a&&(a.nodeName||a instanceof sa||ab&&a instanceof ab)}function bb(a,b){this.html=a;this.get=Q(b)=="unsafe"?Ma(a):function(){var c=[];pc(a,xb(c));return c.join("")}}
function qc(a,b,c){var d=[];u(a,function(e,f,g){d.push(b.call(c,e,f,g))});return d}function yb(a,b){for(var c=0;c<a.length;c++)if(b===a[c])return true;return false}function Fa(a,b){for(var c=0;c<a.length;c++)if(b===a[c])return c;return-1}function rc(a){if(a)switch(a.nodeName){case "OPTION":case "PRE":case "TITLE":return true}return false}function R(a,b){if(b)if(ia(a)){for(;b.length;)b.pop();for(var c=0;c<a.length;c++)b.push(R(a[c]))}else{u(b,function(d,e){delete b[e]});for(c in a)b[c]=R(a[c])}else if(b=
a)if(ia(a))b=R(a,[]);else if(a instanceof Date)b=new Date(a.getTime());else if(V(a))b=R(a,{});return b}function Ga(a,b){if(a==b)return true;if(a===null||b===null)return false;var c=typeof a,d;if(c==typeof b&&c=="object")if(a instanceof Array){if((c=a.length)==b.length){for(d=0;d<c;d++)if(!Ga(a[d],b[d]))return false;return true}}else{c={};for(d in a){if(d.charAt(0)!=="$"&&!L(a[d])&&!Ga(a[d],b[d]))return false;c[d]=true}for(d in b)if(!c[d]&&d.charAt(0)!=="$"&&!L(b[d]))return false;return true}return false}
function sc(a){return(a=a&&a[0]&&a[0].nodeName)&&a.charAt(0)!="#"&&!yb(["TR","COL","COLGROUP","TBODY","THEAD","TFOOT"],a)}function ua(a,b,c){for(;!sc(a);)a=a.parent()||B(Y.body);if(a[0].$NG_ERROR!==c)if(a[0].$NG_ERROR=c){a.addClass(b);a.attr(b,c)}else{a.removeClass(b);a.removeAttr(b)}}function P(a,b){var c=arguments.length>2?va.call(arguments,2,arguments.length):[];return typeof b==ja&&!(b instanceof RegExp)?c.length?function(){return arguments.length?b.apply(a,c.concat(va.call(arguments,0,arguments.length))):
b.apply(a,c)}:function(){return arguments.length?b.apply(a,arguments):b.call(a)}:b}function Da(a){if(a&&a.length!==0){a=Q(""+a);a=!(a=="f"||a=="0"||a=="false"||a=="no"||a=="n"||a=="[]")}else a=false;return a}function zb(a,b){var c=new Ab(cb,Bb,N,Z),d=B(a);return c.compile(d)(d,b)}function db(a){var b={},c,d;u((a||"").split("&"),function(e){if(e){c=e.split("=");d=unescape(c[0]);b[d]=D(c[1])?unescape(c[1]):true}});return b}function Cb(a){var b=[];u(a,function(c,d){b.push(escape(d)+(c===true?"":"="+
escape(c)))});return b.length?b.join("&"):""}function tc(a,b){var c=a.getElementsByTagName("script"),d;b=C({ie_compat_id:"ng-ie-compat"},b);for(var e=0;e<c.length;e++)if(d=(c[e].src||"").match(uc)){b.base_url=d[1];b.ie_compat=d[1]+"angular-ie-compat"+(d[2]||"")+".js";C(b,db(d[6]));Na(B(c[e]),function(f,g){if(/^ng:/.exec(g)){g=g.substring(3).replace(/-/g,"_");if(g=="autobind")f=true;b[g]=f}})}return b}function da(a,b){var c=[];eb(c,a,b?"\n ":z,[]);return c.join("")}function wa(a,b){function c(i){if(I(i)&&
i.length===Db)return fb.toDate(i);else if(ia(i)||V(i))u(i,function(h,j){i[j]=c(h)});return i}if(!I(a))return a;var d,e,f;try{if(b&&JSON&&JSON.parse){d=JSON.parse(a);return c(d)}e=la(a,true);f=e.primary();e.assertAllConsumed();return f()}catch(g){vc("fromJson error: ",a,g);throw g;}}function eb(a,b,c,d){if(V(b)){if(b===K){a.push("WINDOW");return}if(b===Y){a.push("DOCUMENT");return}if(yb(d,b)){a.push("RECURSION");return}d.push(b)}if(b===z)a.push(Oa);else if(b instanceof RegExp)a.push(F.String.quoteUnicode(b.toString()));
else if(L(b))return;else if(typeof b==wc)a.push(""+b);else if(Ba(b))isNaN(b)?a.push(Oa):a.push(""+b);else if(I(b))return a.push(F.String.quoteUnicode(b));else if(V(b))if(ia(b)){a.push("[");for(var e=b.length,f=false,g=0;g<e;g++){var i=b[g];f&&a.push(",");!(i instanceof RegExp)&&(L(i)||ca(i))?a.push(Oa):eb(a,i,c,d);f=true}a.push("]")}else if(b instanceof Date)a.push(F.String.quoteUnicode(F.Date.toString(b)));else{a.push("{");c&&a.push(c);e=false;f=c?c+" ":false;g=[];for(i in b)b[i]!==$&&g.push(i);
g.sort();for(i=0;i<g.length;i++){var h=g[i],j=b[h];if(typeof j!=ja){if(e){a.push(",");c&&a.push(c)}a.push(F.String.quote(h));a.push(":");eb(a,j,f,d);e=true}}a.push("}")}V(b)&&d.pop()}function gb(a){this.paths=[];this.children=[];this.inits=[];this.priority=a;this.newScope=false}function xc(a){var b;for(a=B(a);a&&a.length&&!(b=a.data(hb));)a=a.parent();return b}function Ab(a,b,c,d){this.markup=a;this.attrMarkup=b;this.directives=c;this.widgets=d}function Eb(a,b){var c,d=a[0].childNodes||[],e;for(c=
0;c<d.length;c++){var f=e=d[c];Ha(f)=="#text"||b(B(e),c)}}function Na(a,b){var c,d=a[0].attributes||[],e,f,g={};for(c=0;c<d.length;c++){e=d[c];f=e.name;e=e.value;if(ma&&f=="href")e=decodeURIComponent(a[0].getAttribute(f,2));g[f]=e}Ya(g,b)}function Ia(a,b,c){if(!b)return a;for(var d=b.split("."),e,f=a,g=d.length,i=0;i<g;i++){e=d[i];if(!e.match(/^[\$\w][\$\w\d]*$/))throw"Expression '"+b+"' is not a valid expression for accesing variables.";if(a){f=a;a=a[e]}if(ca(a)&&e.charAt(0)=="$"){var h=F.Global.typeOf(f);
if(e=(h=F[h.charAt(0).toUpperCase()+h.substring(1)])?h[[e.substring(1)]]:$)return a=P(f,e,f)}}if(!c&&L(a))return P(f,a);return a}function ib(a,b,c){b=b.split(".");for(var d=0;b.length>1;d++){var e=b.shift(),f=a[e];if(!f){f={};a[e]=f}a=f}return a[b.shift()]=c}function Fb(a){var b=Gb[a];if(b)return b;var c="var l, fn, t;\n";u(a.split("."),function(d){d=Hb[d]?'["'+d+'"]':"."+d;c+="if(!s) return s;\nl=s;\ns=s"+d+';\nif(typeof s=="function" && !(s instanceof RegExp)) s = function(){ return l'+d+".apply(l, arguments); };\n";
if(d.charAt(1)=="$"){d=d.substr(2);c+='if(!s) {\n t = angular.Global.typeOf(l);\n fn = (angular[t.charAt(0).toUpperCase() + t.substring(1)]||{})["'+d+'"];\n if (fn) s = function(){ return fn.apply(l, [l].concat(Array.prototype.slice.call(arguments, 0, arguments.length))); };\n}\n'}});c+="return s;";b=Function("s",c);b.toString=function(){return c};return Gb[a]=b}function xa(a){if(typeof a===ja)return a;var b=Ib[a];if(!b){b=la(a);var c=b.statements();b.assertAllConsumed();b=Ib[a]=C(function(){return c(this)},
{fnSelf:c})}return b}function na(a,b,c){function d(){}a=d.prototype=a||{};var e=new d,f={sorted:[]},g,i;C(e,{"this":e,$id:yc++,$parent:a,$bind:P(e,P,e),$get:P(e,Ia,e),$set:P(e,ib,e),$eval:function(h){var j=typeof h,k,m,n;if(j==ta){h=0;for(j=f.sorted.length;h<j;h++){n=f.sorted[h];m=n.length;for(k=0;k<m;k++)e.$tryEval(n[k].fn,n[k].handler)}}else if(j===ja)return h.call(e);else if(j==="string")return xa(h).call(e)},$tryEval:function(h,j){var k=typeof h;try{if(k==ja)return h.call(e);else if(k=="string")return xa(h).call(e)}catch(m){g&&
g.error(m);if(L(j))j(m);else if(j)ua(j,Pa,D(m)?Za(m):m);else L(i)&&i(m)}},$watch:function(h,j,k,m){function n(s){var t=r.call(e),p=o;if(s||p!==t){o=t;e.$tryEval(function(){return j.call(e,t,p)},k)}}var r=xa(h),o=r.call(e);j=xa(j);e.$onEval(Jb,n);if(ca(m))m=true;m&&n(true)},$onEval:function(h,j,k){if(!Ba(h)){k=j;j=h;h=0}var m=f[h];if(!m){m=f[h]=[];m.priority=h;f.sorted.push(m);f.sorted.sort(function(n,r){return n.priority-r.priority})}m.push({fn:xa(j),handler:k})},$become:function(h){if(L(h)){e.constructor=
h;u(h.prototype,function(j,k){e[k]=P(e,j)});e.$service.apply(e,[h,e].concat(va.call(arguments,1,arguments.length)));L(h.prototype.init)&&e.init()}},$new:function(h){var j=na(e);j.$become.apply(e,[h].concat(va.call(arguments,1,arguments.length)));e.$onEval(j.$eval);return j}});if(!a.$root){e.$root=e;e.$parent=e;(e.$service=Kb(e,b,c))()}g=e.$service("$log");i=e.$service("$exceptionHandler");return e}function Kb(a,b,c){b=b||jb;c=c||{};a=a||{};return function d(e,f){var g,i;if(I(e)){if(!c.hasOwnProperty(e)){i=
b[e];if(!i)throw"Unknown provider for '"+e+"'.";c[e]=d(i,a)}g=c[e]}else if(ia(e)){g=[];u(e,function(h){g.push(d(h))})}else if(L(e)){g=d(e.$inject||[]);g=e.apply(f,g.concat(va.call(arguments,2,arguments.length)))}else if(V(e))u(b,function(h,j){h.$eager&&d(j);if(h.$creation)throw new ga("Failed to register service '"+j+"': $creation property is unsupported. Use $eager:true or see release notes.");});else g=d(a);return g}}function zc(a,b){function c(v){return v.indexOf(t)!=-1}function d(){return o+1<
a.length?a.charAt(o+1):false}function e(v){return"0"<=v&&v<="9"}function f(v){return"a"<=v&&v<="z"||"A"<=v&&v<="Z"||"_"==v||v=="$"}function g(v){return v=="-"||v=="+"||e(v)}function i(v,J,A){A=A||o;throw ga("Lexer Error: "+v+" at column"+(D(J)?"s "+J+"-"+o+" ["+a.substring(J,A)+"]":" "+A)+" in expression ["+a+"].");}function h(){for(var v="",J=o;o<a.length;){var A=Q(a.charAt(o));if(A=="."||e(A))v+=A;else{var M=d();if(A=="e"&&g(M))v+=A;else if(g(A)&&M&&e(M)&&v.charAt(v.length-1)=="e")v+=A;else if(g(A)&&
(!M||!e(M))&&v.charAt(v.length-1)=="e")i("Invalid exponent");else break}o++}v=1*v;n.push({index:J,text:v,json:true,fn:function(){return v}})}function j(){for(var v="",J=o,A;o<a.length;){A=a.charAt(o);if(A=="."||f(A)||e(A))v+=A;else break;o++}A=kb[v];n.push({index:J,text:v,json:A,fn:A||C(Fb(v),{assign:function(M,aa){return ib(M,v,aa)}})})}function k(v){var J=o;o++;for(var A="",M=v,aa=false;o<a.length;){var S=a.charAt(o);M+=S;if(aa){if(S=="u"){S=a.substring(o+1,o+5);S.match(/[\da-f]{4}/i)||i("Invalid unicode escape [\\u"+
S+"]");o+=4;A+=String.fromCharCode(parseInt(S,16))}else{aa=Ac[S];A+=aa?aa:S}aa=false}else if(S=="\\")aa=true;else if(S==v){o++;n.push({index:J,text:M,string:A,json:true,fn:function(){return A.length==m?F.String.toDate(A):A}});return}else A+=S;o++}i("Unterminated quote",J)}for(var m=b?Db:-1,n=[],r,o=0,s=[],t,p=":";o<a.length;){t=a.charAt(o);if(c("\"'"))k(t);else if(e(t)||c(".")&&e(d()))h();else if(f(t)){j();if("{,".indexOf(p)!=-1&&s[0]=="{"&&(r=n[n.length-1]))r.json=r.text.indexOf(".")==-1}else if(c("(){}[].,;:")){n.push({index:o,
text:t,json:":[,".indexOf(p)!=-1&&c("{[")||c("}]:,")});c("{[")&&s.unshift(t);c("}]")&&s.shift();o++}else if(t==" "||t=="\r"||t=="\t"||t=="\n"||t=="\u000b"||t=="\u00a0"){o++;continue}else{var y=t+d(),H=kb[t],W=kb[y];if(W){n.push({index:o,text:y,fn:W});o+=2}else if(H){n.push({index:o,text:t,fn:H,json:"[,:".indexOf(p)!=-1&&c("+-")});o+=1}else i("Unexpected next character ",o,o+1)}p=t}return n}function la(a,b){function c(l,q){throw ga("Parse Error: Token '"+q.text+"' "+l+" at column "+(q.index+1)+" of expression ["+
a+"] starting at ["+a.substring(q.index)+"].");}function d(){if(A.length===0)throw ga("Unexpected end of expression: "+a);return A[0]}function e(l,q,w,x){if(A.length>0){var G=A[0],X=G.text;if(X==l||X==q||X==w||X==x||!l&&!q&&!w&&!x)return G}return false}function f(l,q,w,x){if(l=e(l,q,w,x)){if(b&&!l.json){index=l.index;c("is not valid json",l)}A.shift();return this.currentToken=l}return false}function g(l){f(l)||c("is unexpected, expecting ["+l+"]",e())}function i(l,q){return function(w){return l(w,
q(w))}}function h(l,q,w){return function(x){return q(x,l(x),w(x))}}function j(){A.length!==0&&c("is extra token not part of expression",A[0])}function k(){for(var l=[];;){A.length>0&&!e("}",")",";","]")&&l.push(lb());if(!f(";"))return function(q){for(var w,x=0;x<l.length;x++){var G=l[x];if(G)w=G(q)}return w}}}function m(){return mb(ea)}function n(){for(var l=r(),q;;)if(q=f("||"))l=h(l,q.fn,r());else return l}function r(){var l=o(),q;if(q=f("&&"))l=h(l,q.fn,r());return l}function o(){var l=s(),q;if(q=
f("==","!="))l=h(l,q.fn,o());return l}function s(){var l;l=t();for(var q;q=f("+","-");)l=h(l,q.fn,t());l=l;if(q=f("<",">","<=",">="))l=h(l,q.fn,s());return l}function t(){for(var l=p(),q;q=f("*","/","%");)l=h(l,q.fn,p());return l}function p(){var l;return f("+")?y():(l=f("-"))?h(J,l.fn,p()):(l=f("!"))?i(l.fn,p()):y()}function y(){var l;if(f("(")){l=lb();g(")");l=l}else if(f("["))l=H();else if(f("{"))l=W();else{var q=f();(l=q.fn)||c("not a primary expression",q)}for(;q=f("(","[",".");)if(q.text===
"(")l=S(l);else if(q.text==="[")l=Lb(l);else if(q.text===".")l=Mb(l);else c("IMPOSSIBLE");return l}function H(){var l=[];if(d().text!="]"){do l.push(M());while(f(","))}g("]");return function(q){for(var w=[],x=0;x<l.length;x++)w.push(l[x](q));return w}}function W(){var l=[];if(d().text!="}"){do{var q=f();q=q.string||q.text;g(":");var w=M();l.push({key:q,value:w})}while(f(","))}g("}");return function(x){for(var G={},X=0;X<l.length;X++){var ya=l[X],oa=ya.value(x);G[ya.key]=oa}return G}}function v(){var l=
f().text;g(":");var q;if(d().text=="{"){g("{");q=k();g("}")}else q=M();return function(){return{name:l,fn:q}}}var J=Ma(0),A=zc(a,b),M=function(){var l=n(),q,w;if(w=f("=")){l.assign||c("implies assignment but ["+a.substring(0,w.index)+"] can not be assigned to",w);q=n();return function(x){return l.assign(x,q(x))}}else return l},aa=n,S=function(l){var q=[];if(d().text!=")"){do q.push(M());while(f(","))}g(")");return function(w){for(var x=[],G=0;G<q.length;G++)x.push(q[G](w));G=l(w)||E;return G.apply?
G.apply(w,x):G(x[0],x[1],x[2],x[3],x[4])}},Mb=function(l){var q=f().text,w=Fb(q);return C(function(x){return w(l(x))},{assign:function(x,G){return ib(l(x),q,G)}})},Lb=function(l){var q=M();g("]");return C(function(w){var x=l(w);w=q(w);return x?x[w]:$},{assign:function(w,x){return l(w)[q(w)]=x}})},lb=function(){for(var l=M(),q;;)if(q=f("|"))l=h(l,q.fn,m());else return l},Nb=function(l){var q=f(),w=q.text.split(".");l=l;for(var x,G=0;G<w.length;G++){x=w[G];if(l)l=l[x]}typeof l!=ja&&c("should be a function",
q);return l},mb=function(l){for(var q=Nb(l),w=[];;)if(f(":"))w.push(M());else{var x=function(G,X){for(var ya=[X],oa=0;oa<w.length;oa++)ya.push(w[oa](G));return q.apply(G,ya)};return function(){return x}}};if(b){M=n;S=Mb=Lb=aa=lb=Nb=mb=function(){c("is not valid json",{text:a,index:0})}}return{assertAllConsumed:j,assignable:aa,primary:y,statements:k,validator:function(){return mb(nb)},formatter:function(){function l(G){return function(X,ya){for(var oa=[ya],ob=0;ob<x.length;ob++)oa.push(x[ob](X));return G.apply(X,
oa)}}var q=f(),w=pa[q.text],x=[];for(w||c("is not a valid formatter.",q);;)if(q=f(":"))x.push(M());else return Ma({format:l(w.format),parse:l(w.parse)})},filter:m,watch:function(){for(var l=[];A.length>0;){l.push(v());f(";")||j()}j();return function(q){for(var w=0;w<l.length;w++){var x=l[w](q);q.addListener(x.name,x.fn)}}}}}function Ob(a,b){this.template=a+="#";this.defaults=b||{};var c=this.urlParams={};u(a.split(/\W/),function(d){if(d&&a.match(RegExp(":"+d+"\\W")))c[d]=true})}function Qa(a){this.xhr=
a}function Bc(a,b,c,d,e){function f(p){try{p.apply(null,va.call(arguments,1))}finally{k--;if(k===0)for(;m.length;)try{m.pop()()}catch(y){e.error(y)}}}var g=this,i=a.location,h=a.setTimeout;g.isMock=false;var j=0,k=0,m=[];g.xhr=function(p,y,H,W){if(L(H)){W=H;H=z}if(Q(p)=="json"){var v="angular_"+Math.random()+"_"+j++;v=v.replace(/\d\./,"");p=b[0].createElement("script");p.type="text/javascript";p.src=y.replace("JSON_CALLBACK",v);a[v]=function(A){a[v]=$;W(200,A)};c.append(p)}else{var J=new d;J.open(p,
y,true);J.setRequestHeader("Content-Type","application/x-www-form-urlencoded");J.setRequestHeader("Accept","application/json, text/plain, */*");J.setRequestHeader("X-Requested-With","XMLHttpRequest");k++;J.onreadystatechange=function(){if(J.readyState==4)f(W,J.status||200,J.responseText)};J.send(H||"")}};g.notifyWhenNoOutstandingRequests=function(p){k===0?p():m.push(p)};var n=[];g.poll=function(){u(n,function(p){p()})};g.addPollFn=function(p){n.push(p);return p};g.startPoller=function(p,y){(function H(){g.poll();
y(H,p)})()};g.setUrl=function(p){i.href.match(/#/);p.match(/#/)||(p+="#");i.href=p};g.getUrl=function(){return i.href};g.onHashChange=function(p){if("onhashchange"in a)B(a).bind("hashchange",p);else{var y=g.getUrl();g.addPollFn(function(){y!=g.getUrl()&&p()})}return p};var r=b[0],o={},s="";g.cookies=function(p,y){var H,W,v;if(p)if(y===$)r.cookie=escape(p)+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT";else{if(I(y)){r.cookie=escape(p)+"="+escape(y);H=p.length+y.length+1;H>4096&&e.warn("Cookie '"+p+"' possibly not set or overflowed because it was too large ("+
H+" > 4096 bytes)!");o.length>20&&e.warn("Cookie '"+p+"' possibly not set or overflowed because too many cookies were already set ("+o.length+" > 20 )")}}else{if(r.cookie!==s){s=r.cookie;H=s.split("; ");o={};for(W=0;W<H.length;W++){v=H[W].split("=");if(v.length===2)o[unescape(v[0])]=unescape(v[1])}}return o}};g.defer=function(p,y){k++;h(function(){f(p)},y||0)};var t=E;g.hover=function(p){t=p};g.bind=function(){b.bind("mouseover",function(p){t(B(ma?p.srcElement:p.target),true);return true});b.bind("mouseleave mouseout click dblclick keypress keyup",
function(p){t(B(p.target),false);return true})};g.addCss=function(p){var y=B(r.createElement("link"));y.attr("rel","stylesheet");y.attr("type","text/css");y.attr("href",p);c.append(y)};g.addJs=function(p,y){var H=B(r.createElement("script"));H.attr("type","text/javascript");H.attr("src",p);y&&H.attr("id",y);c.append(H)}}function pc(a,b){function c(h,j,k,m){j=Q(j);if(Pb[j])for(;g.last()&&Qb[g.last()];)d("",g.last());Rb[j]&&g.last()==j&&d("",j);(m=Sb[j]||!!m)||g.push(j);var n={};k.replace(Cc,function(r,
o,s,t,p){n[o]=pb(s?s:t?t:p?p:Tb[o]?o:"")});b.start(j,n,m)}function d(h,j){var k=0,m;if(j=Q(j))for(k=g.length-1;k>=0;k--)if(g[k]==j)break;if(k>=0){for(m=g.length-1;m>=k;m--)b.end(g[m]);g.length=k}}var e,f,g=[],i=a;for(g.last=function(){return g[g.length-1]};a;){f=true;if(!g.last()||!Ub[g.last()]){if(a.indexOf("<!--")===0){e=a.indexOf("--\>");if(e>=0){b.comment&&b.comment(a.substring(4,e));a=a.substring(e+3);f=false}}else if(Dc.test(a)){if(e=a.match(Vb)){a=a.substring(e[0].length);e[0].replace(Vb,d);
f=false}}else if(Ec.test(a))if(e=a.match(Wb)){a=a.substring(e[0].length);e[0].replace(Wb,c);f=false}if(f){e=a.indexOf("<");f=e<0?a:a.substring(0,e);a=e<0?"":a.substring(e);b.chars(pb(f))}}else{a=a.replace(RegExp("(.*)<\\s*\\/\\s*"+g.last()+"[^>]*>","i"),function(h,j){j=j.replace(Fc,"$1").replace(Gc,"$1");b.chars(pb(j));return""});d("",g.last())}if(a==i)throw"Parse Error: "+a;i=a}d()}function qa(a){var b={};a=a.split(",");var c;for(c=0;c<a.length;c++)b[a[c]]=true;return b}function pb(a){qb.innerHTML=
a.replace(/</g,"<");return qb.innerText||qb.textContent}function Xb(a){return a.replace(/&/g,"&").replace(Hc,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function xb(a){var b=false,c=P(a,a.push);return{start:function(d,e,f){d=Q(d);if(!b&&Ub[d])b=d;if(!b&&Yb[d]==true){c("<");c(d);u(e,function(g,i){var h=Q(i);if(Ic[h]==true&&(Zb[h]!==true||g.match(Jc))){c(" ");c(i);c('="');c(Xb(g));c('"')}});c(f?"/>":">")}},end:function(d){d=Q(d);if(!b&&Yb[d]==true){c("</");
c(d);c(">")}if(d==b)b=false},chars:function(d){b||c(Xb(d))}}}function $b(a){var b=a[Ja],c=Ra[b];if(c){u(c.bind||{},function(d,e){Kc(a,e,d)});delete Ra[b];if(ma)a[Ja]="";else delete a[Ja]}}function Lc(a){var b={};a=a[0].style;var c,d;if(typeof a.length=="number")for(c=0;c<a.length;c++){d=a[c];b[d]=a[d]}else for(d in a){c=a[d];if(1*d!=d&&d!="cssText"&&c&&typeof c=="string"&&c!="false")b[d]=c}return b}function sa(a){if(!$a(a)&&D(a.length)&&a.item&&!(a&&a.document&&a.location&&a.alert&&a.setInterval)){for(var b=
0;b<a.length;b++)this[b]=a[b];this.length=a.length}else{this[0]=a;this.length=1}}function za(a,b){F[a]=F[a]||{};u(b,function(c){C(F[a],c)})}function fa(a,b,c){var d="";if(a<0){d="-";a=-a}for(a=""+a;a.length<b;)a="0"+a;if(c)a=a.substr(a.length-b);return d+a}function T(a,b,c,d){return function(e){e=e["get"+a]();if(c>0||e>-c)e+=c;if(e===0&&c==-12)e=12;return fa(e,b,d)}}function Aa(a,b){return{format:a,parse:b||a}}function ac(a){return D(a)&&a!==z?""+a:a}function O(a,b,c,d){jb(a,b,{$inject:c,$eager:d})}
function rb(a){function b(){d=false;c.$eval()}var c=this,d;return a.isMock?b:function(){if(!d){d=true;a.defer(b,rb.delay)}}}function bc(a,b,c){var d="^"+b.replace(/[\.\\\(\)\^\$]/g,"$1")+"$",e=[],f={};u(b.split(/\W/),function(i){if(i){var h=RegExp(":"+i+"([\\W])");if(d.match(h)){d=d.replace(h,"([^/]*)$1");e.push(i)}}});var g=a.match(RegExp(d));if(g){u(e,function(i,h){f[i]=g[h+1]});c&&this.$set(c,f)}return g?f:z}function cc(a){var b=dc[a];if(!b){var c=[];u(Sa(a),function(d){var e=Ta(d);c.push(e?function(f){var g,
i=this.$tryEval(e,function(h){g=da(h)});ua(f,Pa,g);return g?g:i}:function(){return d})});dc[a]=b=function(d,e){var f=[],g=this.hasOwnProperty(ec)?this.$element:$;this.$element=d;for(var i=0;i<c.length;i++){var h=c[i].call(this,d);if($a(h))h="";else if(V(h))h=da(h,e);f.push(h)}this.$element=g;return f.join("")}}return b}function sb(a){return function(b,c){var d=c[0].className+" ";return function(e){this.$onEval(function(){if(a(this.$index)){var f=this.$eval(b);if(ia(f))f=f.join(" ");e[0].className=
Ca(d+f)}},e)}}}function Sa(a){for(var b=[],c=0,d;(d=a.indexOf("{{",c))>-1;){c<d&&b.push(a.substr(c,d-c));c=d;d=a.indexOf("}}",d);d=d<0?a.length:d+2;b.push(a.substr(c,d-c));c=d}c!=a.length&&b.push(a.substr(c,a.length-c));return b.length===0?[a]:b}function Ta(a){return(a=a.replace(/\n/gm," ").match(/^\{\{(.*)\}\}$/))?a[1]:z}function Ka(a,b){var c=b.attr("name"),d;if(c){d=la(c).assignable().assign;if(!d)throw new ga("Expression '"+c+"' is not assignable.");return{get:function(){return a.$eval(c)},set:function(e){if(e!==
$)return a.$tryEval(function(){d(a,e)},b)}}}}function tb(a,b){var c=Ka(a,b),d=b.attr("ng:format")||Ua,e=la(d).formatter()();if(c)return{get:function(){return e.format(a,c.get())},set:function(f){return c.set(e.parse(a,f))}}}function ub(a,b){function c(){var n=Ca(b.val());if(b[0].disabled||b[0].readOnly){ua(b,La,z);m.markValid(b)}else{var r=lc(a,{$element:b});n=k&&!n?"Required":n?e(r,n):z;ua(b,La,n);(j=n)?m.markInvalid(b):m.markValid(b)}}var d=b.attr("ng:validate")||Ua,e=la(d).validator()(),f=b.attr("ng:required"),
g=b.attr("ng:format")||Ua;g=la(g).formatter()();var i,h,j,k,m=a.$service("$invalidWidgets")||{markValid:E,markInvalid:E};if(!e)throw"Validator named '"+d+"' not found.";i=g.format;h=g.parse;if(f)a.$watch(f,function(n){k=n;c()});else k=f==="";b.data(vb,c);return{get:function(){j&&ua(b,La,z);try{var n=h(a,b.val());c();return n}catch(r){j=r;ua(b,La,r)}},set:function(n){var r=b.val();n=i(a,n);if(r!=n)b.val(n||"");c()}}}function fc(a,b){var c=b.attr("ng:format")||Ua,d=la(c).formatter()();return{get:function(){var e=
[];u(b[0].options,function(f){f.selected&&e.push(d.parse(a,f.value))});return e},set:function(e){var f={};u(e,function(g){f[d.format(a,g)]=true});u(b[0].options,function(g){g.selected=f[g.value]})}}}function gc(){return{get:E,set:E}}function Va(a){return function(b,c){var d=c.get();if(!d&&D(a))d=R(a);ca(b.get())&&D(d)&&b.set(d)}}function Ea(a,b,c,d,e){return C(function(f,g,i){var h=this,j=b(h,i),k=c(h,i),m=i.attr("ng:change")||"",n;if(j){d.call(h,j,k,i);this.$eval(i.attr("ng:init")||"");i.bind(a,
function(r){function o(){var s=k.get();if(!e||s!=n){j.set(s);n=j.get();h.$tryEval(m,i);f()}}r.type=="keydown"?g(o):o()});h.$watch(j.get,function(r){if(n!==r)k.set(n=r)})}},{$inject:["$updateView","$defer"]})}function Wa(a){this.directives(true);this.descend(true);return Mc[Q(a[0].type)]||E}if(typeof Y.getAttribute==ta)Y.getAttribute=function(){};var Q=function(a){return I(a)?a.toLowerCase():a},Xa=function(a){return I(a)?a.toUpperCase():a},U=function(a){return I(a)?a.replace(/[A-Z]/g,function(b){b=
b.charCodeAt(0)|32;return String.fromCharCode(b)}):a},ba=function(a){return I(a)?a.replace(/[a-z]/g,function(b){b=b.charCodeAt(0)&-33;return String.fromCharCode(b)}):a};if("i"!=="I".toLowerCase()){Q=U;Xa=ba}var $=undefined,z=null,ec="$element",hb="$scope",vb="$validate",wc="boolean",ja="function",jc="length",kc="name",Oa="null",oc="number",wb="object",nc="string",ta="undefined",Pa="ng-exception",La="ng-validation-error",Ua="noop",Jb=-1E3,Nc={FIRST:-99999,LAST:99999,WATCH:Jb},ga=K.Error,ab=K.jQuery||
K.$,ma=parseInt((/msie (\d+)/.exec(Q(navigator.userAgent))||[])[1],10),B=ab||mc,va=Array.prototype.slice,vc=K.console?P(K.console,K.console.error||E):E,F=K.angular||(K.angular={}),cb=ha(F,"markup"),Bb=ha(F,"attrMarkup"),N=ha(F,"directive"),Z=ha(F,"widget",Q),nb=ha(F,"validator"),ea=ha(F,"filter"),pa=ha(F,"formatter"),jb=ha(F,"service");ha(F,"callbacks");var Ha,uc=/^(|.*\/)angular(-.*?)?(\.min)?.js(\?[^#]*)?(#(.*))?$/,Db=24;Ha=ma?function(a){a=a.nodeName?a:a[0];return a.scopeName&&a.scopeName!="HTML"?
Xa(a.scopeName+":"+a.nodeName):a.nodeName}:function(a){return a.nodeName?a.nodeName:a[0].nodeName};F.toJson=da;F.fromJson=wa;gb.prototype={init:function(a,b){var c={};this.collectInits(a,c,b);Ya(c,function(d){u(d,function(e){e()})})},collectInits:function(a,b,c){var d=b[this.priority],e=c;d||(b[this.priority]=d=[]);a=B(a);if(this.newScope){e=na(c);c.$onEval(e.$eval);a.data(hb,e)}u(this.inits,function(j){d.push(function(){e.$tryEval(function(){return e.$service(j,e,a)},a)})});var f=a[0].childNodes,
g=this.children,i=this.paths,h=i.length;for(c=0;c<h;c++)g[c].collectInits(f[i[c]],b,e)},addInit:function(a){a&&this.inits.push(a)},addChild:function(a,b){if(b){this.paths.push(a);this.children.push(b)}},empty:function(){return this.inits.length===0&&this.paths.length===0}};Ab.prototype={compile:function(a){a=B(a);var b=0,c,d=a.parent();if(d&&d[0]){d=d[0];for(var e=0;e<d.childNodes.length;e++)if(d.childNodes[e]==a[0])b=e}c=this.templatize(a,b,0)||new gb;return function(f,g){f=B(f);var i=g&&g.$eval?
g:na(g);f.data(hb,i);return C(i,{$element:f,$init:function(){c.init(f,i);i.$eval();delete i.$init;return i}})}},templatize:function(a,b,c){var d=this,e,f,g=d.directives,i=true,h=true,j=Ha(a),k,m={compile:P(d,d.compile),comment:function(s){return B(Y.createComment(s))},element:function(s){return B(Y.createElement(s))},text:function(s){return B(Y.createTextNode(s))},descend:function(s){if(D(s))i=s;return i},directives:function(s){if(D(s))h=s;return h},scope:function(s){if(D(s))k.newScope=k.newScope||
s;return k.newScope}};try{c=a.attr("ng:eval-order")||c||0}catch(n){c=c||0}if(I(c))c=Nc[Xa(c)]||parseInt(c,10);k=new gb(c);Na(a,function(s,t){if(!e)if(e=d.widgets("@"+t)){a.addClass("ng-attr-widget");e=P(m,e,s,a)}});if(!e)if(e=d.widgets(j)){j.indexOf(":")>0&&a.addClass("ng-widget");e=P(m,e,a)}if(e){h=i=false;j=a.parent();k.addInit(e.call(m,a));if(j&&j[0])a=B(j[0].childNodes[b])}if(i)for(var r=0,o=a[0].childNodes;r<o.length;r++)Ha(o[r])=="#text"&&u(d.markup,function(s){if(r<o.length){var t=B(o[r]);
s.call(m,t.text(),t,a)}});if(h){Na(a,function(s,t){u(d.attrMarkup,function(p){p.call(m,s,t,a)})});Na(a,function(s,t){if(f=g[t]){a.addClass("ng-directive");k.addInit(g[t].call(m,s,a))}})}i&&Eb(a,function(s,t){k.addChild(t,d.templatize(s,t,c))});return k.empty()?z:k}};var yc=0,Gb={},Ib={},Hb={};u("abstract,boolean,break,byte,case,catch,char,class,const,continue,debugger,default,delete,do,double,else,enum,export,extends,false,final,finally,float,for,function,goto,if,implements,import,ininstanceof,intinterface,long,native,new,null,package,private,protected,public,return,short,static,super,switch,synchronized,this,throw,throws,transient,true,try,typeof,var,volatile,void,undefined,while,with".split(/,/),
function(a){Hb[a]=true});var kb={"null":function(){return z},"true":function(){return true},"false":function(){return false},$undefined:E,"+":function(a,b,c){return(D(b)?b:0)+(D(c)?c:0)},"-":function(a,b,c){return(D(b)?b:0)-(D(c)?c:0)},"*":function(a,b,c){return b*c},"/":function(a,b,c){return b/c},"%":function(a,b,c){return b%c},"^":function(a,b,c){return b^c},"=":E,"==":function(a,b,c){return b==c},"!=":function(a,b,c){return b!=c},"<":function(a,b,c){return b<c},">":function(a,b,c){return b>c},
"<=":function(a,b,c){return b<=c},">=":function(a,b,c){return b>=c},"&&":function(a,b,c){return b&&c},"||":function(a,b,c){return b||c},"&":function(a,b,c){return b&c},"|":function(a,b,c){return c(a,b)},"!":function(a,b){return!b}},Ac={n:"\n",f:"\u000c",r:"\r",t:"\t",v:"\u000b","'":"'",'"':'"'};Ob.prototype={url:function(a){var b=this,c=this.template;a=a||{};u(this.urlParams,function(e,f){c=c.replace(RegExp(":"+f+"(\\W)"),(a[f]||b.defaults[f]||"")+"$1")});c=c.replace(/\/?#$/,"");var d=[];Ya(a,function(e,
f){b.urlParams[f]||d.push(encodeURI(f)+"="+encodeURI(e))});c=c.replace(/\/*$/,"");return c+(d.length?"?"+d.join("&"):"")}};Qa.DEFAULT_ACTIONS={get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:true},remove:{method:"DELETE"},"delete":{method:"DELETE"}};Qa.prototype={route:function(a,b,c){function d(i){var h={};u(b||{},function(j,k){h[k]=j.charAt&&j.charAt(0)=="@"?Ia(i,j.substr(1)):j});return h}function e(i){R(i||{},this)}var f=this,g=new Ob(a);c=C({},Qa.DEFAULT_ACTIONS,c);u(c,function(i,
h){var j=i.method=="POST"||i.method=="PUT";e[h]=function(k,m,n){var r={},o,s=E;switch(arguments.length){case 3:s=n;case 2:if(L(m))s=m;else{r=k;o=m;break}case 1:if(L(k))s=k;else if(j)o=k;else r=k;break;case 0:break;default:throw"Expected between 0-3 arguments [params, data, callback], got "+arguments.length+" arguments.";}var t=this instanceof e?this:i.isArray?[]:new e(o);f.xhr(i.method,g.url(C({},i.params||{},d(o),r)),o,function(p,y){if(p==200){if(i.isArray){t.length=0;u(y,function(H){t.push(new e(H))})}else R(y,
t);(s||E)(t)}else throw{status:p,response:y,message:p+": "+y};},i.verifyCache);return t};e.bind=function(k){return f.route(a,C({},b,k),c)};e.prototype["$"+h]=function(k,m){var n=d(this),r=E;switch(arguments.length){case 2:n=k;r=m;case 1:if(typeof k==ja)r=k;else n=k;case 0:break;default:throw"Expected between 1-2 arguments [params, callback], got "+arguments.length+" arguments.";}e[h].call(this,n,j?this:$,r)}});return e}};var Oc=K.XMLHttpRequest||function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(b){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(c){}throw new ga("This browser does not support XMLHttpRequest.");
},Wb=/^<\s*([\w:]+)((?:\s+\w+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,Vb=/^<\s*\/\s*([\w:]+)[^>]*>/,Cc=/(\w+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,Ec=/^</,Dc=/^<\s*\//,Fc=/<!--(.*?)--\>/g,Gc=/<!\[CDATA\[(.*?)]]\>/g,Jc=/^((ftp|https?):\/\/|mailto:|#)/,Hc=/([^\#-~| |!])/g,Sb=qa("area,br,col,hr,img"),Pb=qa("address,blockquote,center,dd,del,dir,div,dl,dt,hr,ins,li,map,menu,ol,p,pre,script,table,tbody,td,tfoot,th,thead,tr,ul"),Qb=qa("a,abbr,acronym,b,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,q,s,samp,small,span,strike,strong,sub,sup,tt,u,var"),
Rb=qa("colgroup,dd,dt,li,p,td,tfoot,th,thead,tr"),Ub=qa("script,style"),Yb=C({},Sb,Pb,Qb,Rb),Tb=qa("compact,ismap,nohref,nowrap"),Zb=qa("background,href,longdesc,src,usemap"),Ic=C({},Tb,Zb,qa("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,coords,dir,face,headers,height,hreflang,hspace,lang,language,rel,rev,rows,rowspan,rules,scope,scrolling,shape,span,start,summary,target,title,type,valign,value,vspace,width")),qb=Y.createElement("pre"),Ra={},Ja="ng-"+(new Date).getTime(),
Pc=1,Qc=K.document.addEventListener?function(a,b,c){a.addEventListener(b,c,false)}:function(a,b,c){a.attachEvent("on"+b,c)},Kc=K.document.removeEventListener?function(a,b,c){a.removeEventListener(b,c,false)}:function(a,b,c){a.detachEvent("on"+b,c)};sa.prototype={data:function(a,b){var c=this[0],d=c[Ja];d=Ra[d||-1];if(D(b)){if(!d){c[Ja]=d=Pc++;d=Ra[d]={}}d[a]=b}else return d?d[a]:z},removeData:function(){$b(this[0])},dealoc:function(){(function a(b){$b(b);var c=0;for(b=b.childNodes||[];c<b.length;c++)a(b[c])})(this[0])},
ready:function(a){function b(){if(!c){c=true;a()}}var c=false;this.bind("DOMContentLoaded",b);B(K).bind("load",b)},bind:function(a,b){var c=this,d=c[0],e=c.data("bind"),f;e||this.data("bind",e={});u(a.split(" "),function(g){f=e[g];if(!f){e[g]=f=function(i){if(!i.preventDefault)i.preventDefault=function(){i.returnValue=false};if(!i.stopPropagation)i.stopPropagation=function(){i.cancelBubble=true};u(f.fns,function(h){h.call(c,i)})};f.fns=[];Qc(d,g,f)}f.fns.push(b)})},replaceWith:function(a){this[0].parentNode.replaceChild(B(a)[0],
this[0])},children:function(){return new sa(this[0].childNodes)},append:function(a){var b=this[0];a=B(a);u(a,function(c){b.appendChild(c)})},remove:function(){this.dealoc();var a=this[0].parentNode;a&&a.removeChild(this[0])},removeAttr:function(a){this[0].removeAttribute(a)},after:function(a){this[0].parentNode.insertBefore(B(a)[0],this[0].nextSibling)},hasClass:function(a){a=" "+a+" ";if((" "+this[0].className+" ").replace(/[\n\t]/g," ").indexOf(a)>-1)return true;return false},removeClass:function(a){this[0].className=
Ca((" "+this[0].className+" ").replace(/[\n\t]/g," ").replace(" "+a+" ",""))},toggleClass:function(a,b){(b?this.addClass:this.removeClass).call(this,a)},addClass:function(a){if(!this.hasClass(a))this[0].className=Ca(this[0].className+" "+a)},css:function(a,b){var c=this[0].style;if(I(a))if(D(b))c[a]=b;else return c[a];else C(c,a)},attr:function(a,b){var c=this[0];if(V(a))u(a,function(d,e){c.setAttribute(e,d)});else if(D(b))c.setAttribute(a,b);else return c.getAttribute(a,2)},text:function(a){if(D(a))this[0].textContent=
a;return this[0].textContent},val:function(a){if(D(a))this[0].value=a;return this[0].value},html:function(a){if(D(a)){for(var b=0,c=this[0].childNodes;b<c.length;b++)B(c[b]).dealoc();this[0].innerHTML=a}return this[0].innerHTML},parent:function(){return B(this[0].parentNode)},clone:function(){return B(this[0].cloneNode(true))}};ma&&C(sa.prototype,{text:function(a){var b=this[0];if(b.nodeType==3){if(D(a))b.nodeValue=a;return b.nodeValue}else{if(D(a))b.innerText=a;return b.innerText}}});U={typeOf:function(a){if(a===
z)return Oa;var b=typeof a;if(b==wb){if(a instanceof Array)return"array";if(a instanceof Date)return"date";if(a.nodeType==1)return"element"}return b}};ba={copy:R,size:function(a){var b=0,c;if(a)if(Ba(a.length))return a.length;else if(V(a))for(c in a)b++;return b},equals:Ga};var Rc={extend:C},Sc={indexOf:Fa,sum:function(a,b){for(var c=F.Function.compile(b),d=0,e=0;e<a.length;e++){var f=1*c(a[e]);isNaN(f)||(d+=f)}return d},remove:function(a,b){var c=Fa(a,b);c>=0&&a.splice(c,1);return b},filter:function(a,
b){var c=[];c.check=function(h){for(var j=0;j<c.length;j++)if(!c[j](h))return false;return true};var d=function(h,j){if(j.charAt(0)==="!")return!d(h,j.substr(1));switch(typeof h){case "boolean":case "number":case "string":return(""+h).toLowerCase().indexOf(j)>-1;case "object":for(var k in h)if(k.charAt(0)!=="$"&&d(h[k],j))return true;return false;case "array":for(k=0;k<h.length;k++)if(d(h[k],j))return true;return false;default:return false}};switch(typeof b){case "boolean":case "number":case "string":b=
{$:b};case "object":for(var e in b)e=="$"?function(){var h=(""+b[e]).toLowerCase();h&&c.push(function(j){return d(j,h)})}():function(){var h=e,j=(""+b[e]).toLowerCase();j&&c.push(function(k){return d(Ia(k,h),j)})}();break;case ja:c.push(b);break;default:return a}for(var f=[],g=0;g<a.length;g++){var i=a[g];c.check(i)&&f.push(i)}return f},add:function(a,b){a.push(ca(b)?{}:b);return a},count:function(a,b){if(!b)return a.length;var c=F.Function.compile(b),d=0;u(a,function(e){c(e)&&d++});return d},orderBy:function(a,
b,c){function d(i,h){return Da(h)?function(j,k){return i(k,j)}:i}function e(i,h){var j=typeof i,k=typeof h;if(j==k){if(j=="string")i=i.toLowerCase();if(j=="string")h=h.toLowerCase();if(i===h)return 0;return i<h?-1:1}else return j<k?-1:1}b=ia(b)?b:[b];b=qc(b,function(i){var h=false,j=i||ra;if(I(i)){if(i.charAt(0)=="+"||i.charAt(0)=="-"){h=i.charAt(0)=="-";i=i.substring(1)}j=xa(i).fnSelf}return d(function(k,m){return e(j(k),j(m))},h)});for(var f=[],g=0;g<a.length;g++)f.push(a[g]);return f.sort(d(function(i,
h){for(var j=0;j<b.length;j++){var k=b[j](i,h);if(k!==0)return k}return 0},c))},limitTo:function(a,b){b=parseInt(b,10);var c=[],d,e;if(b>0){d=0;e=b}else{d=a.length+b;e=a.length}for(;d<e;d++)c.push(a[d]);return c}},Tc=/^(\d{4})-(\d\d)-(\d\d)(?:T(\d\d)(?:\:(\d\d)(?:\:(\d\d)(?:\.(\d{3}))?)?)?Z)?$/,fb={quote:function(a){return'"'+a.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v")+'"'},quoteUnicode:function(a){a=
F.String.quote(a);for(var b=[],c=0;c<a.length;c++){var d=a.charCodeAt(c);if(d<128)b.push(a.charAt(c));else{d="000"+d.toString(16);b.push("\\u"+d.substring(d.length-4))}}return b.join("")},toDate:function(a){var b;if(I(a)&&(b=a.match(Tc))){a=new Date(0);a.setUTCFullYear(b[1],b[2]-1,b[3]);a.setUTCHours(b[4]||0,b[5]||0,b[6]||0,b[7]||0);return a}return a}},hc={toString:function(a){return!a?a:a.toISOString?a.toISOString():fa(a.getUTCFullYear(),4)+"-"+fa(a.getUTCMonth()+1,2)+"-"+fa(a.getUTCDate(),2)+"T"+
fa(a.getUTCHours(),2)+":"+fa(a.getUTCMinutes(),2)+":"+fa(a.getUTCSeconds(),2)+"."+fa(a.getUTCMilliseconds(),3)+"Z"}};za("Global",[U]);za("Collection",[U,ba]);za("Array",[U,ba,Sc]);za("Object",[U,ba,Rc]);za("String",[U,fb]);za("Date",[U,hc]);F.Date.toString=hc.toString;za("Function",[U,ba,{compile:function(a){return L(a)?a:a?xa(a).fnSelf:ra}}]);ea.currency=function(a){this.$element.toggleClass("ng-format-negative",a<0);return"$"+ea.number.apply(this,[a,2])};ea.number=function(a,b){if(isNaN(a)||!isFinite(a))return"";
b=typeof b==ta?2:b;var c=a<0;a=Math.abs(a);var d=""+Math.round(a*Math.pow(10,b)),e=d.substring(0,d.length-b);e=e||"0";var f=d.substring(d.length-b);d=c?"-":"";for(c=0;c<e.length;c++){if((e.length-c)%3===0&&c!==0)d+=",";d+=e.charAt(c)}if(b>0){for(e=f.length;e<b;e++)f+="0";d+="."+f.substring(0,b)}return d};var Uc={yyyy:T("FullYear",4),yy:T("FullYear",2,0,true),MM:T("Month",2,1),M:T("Month",1,1),dd:T("Date",2),d:T("Date",1),HH:T("Hours",2),H:T("Hours",1),hh:T("Hours",2,-12),h:T("Hours",1,-12),mm:T("Minutes",
2),m:T("Minutes",1),ss:T("Seconds",2),s:T("Seconds",1),a:function(a){return a.getHours()<12?"am":"pm"},Z:function(a){a=a.getTimezoneOffset();return fa(a/60,2)+fa(Math.abs(a%60),2)}},Vc=/([^yMdHhmsaZ]*)(y+|M+|d+|H+|h+|m+|s+|a|Z)(.*)/,Wc=/^\d+$/;ea.date=function(a,b){if(I(a))a=Wc.test(a)?parseInt(a,10):fb.toDate(a);if(Ba(a))a=new Date(a);if(!(a instanceof Date))return a;var c=a.toLocaleDateString(),d;if(b&&I(b)){c="";for(var e=[],f;b;)if(f=Vc.exec(b)){e=e.concat(va.call(f,1,f.length));b=e.pop()}else{e.push(b);
b=null}u(e,function(g){d=Uc[g];c+=d?d(a):g})}return c};ea.json=function(a){this.$element.addClass("ng-monospace");return da(a,true)};ea.lowercase=Q;ea.uppercase=Xa;ea.html=function(a,b){return new bb(a,b)};ea.linky=function(a){if(!a)return a;for(var b=/((ftp|https?):\/\/|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s\.\;\,\(\)\{\}\<\>]/,c=a,d=[],e=xb(d),f,g;a=c.match(b);){f=a[0];if(a[2]==a[3])f="mailto:"+f;g=a.index;e.chars(c.substr(0,g));e.start("a",{href:f});e.chars(a[0].replace(/^mailto:/,""));e.end("a");
c=c.substring(g+a[0].length)}e.chars(c);return new bb(d.join(""))};var Xc=/^\s*[-+]?\d*(\.\d*)?\s*$/;pa.noop=Aa(ra,ra);pa.json=Aa(da,function(a){return wa(a||"null")});pa["boolean"]=Aa(ac,Da);pa.number=Aa(ac,function(a){if(a==z||Xc.exec(a))return a===z||a===""?z:1*a;else throw"Not a number";});pa.list=Aa(function(a){return a?a.join(", "):a},function(a){var b=[];u((a||"").split(","),function(c){(c=Ca(c))&&b.push(c)});return b});pa.trim=Aa(function(a){return a?Ca(""+a):""});pa.index=Aa(function(a,b){return""+
Fa(b||[],a)},function(a,b){return(b||[])[a]});C(nb,{noop:function(){return z},regexp:function(a,b,c){return a.match(b)?z:c||"Value does not match expected format "+b+"."},number:function(a,b,c){var d=1*a;if(d==a){if(typeof b!=ta&&d<b)return"Value can not be less than "+b+".";if(typeof b!=ta&&d>c)return"Value can not be greater than "+c+".";return z}else return"Not a number"},integer:function(a,b,c){if(b=nb.number(a,b,c))return b;if(!(""+a).match(/^\s*[\d+]*\s*$/)||a!=Math.round(a))return"Not a whole number";
return z},date:function(a){var b=(a=/^(\d\d?)\/(\d\d?)\/(\d\d\d\d)$/.exec(a))?new Date(a[3],a[1]-1,a[2]):0;return b&&b.getFullYear()==a[3]&&b.getMonth()==a[1]-1&&b.getDate()==a[2]?z:"Value is not a date. (Expecting format: 12/31/2009)."},email:function(a){if(a.match(/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/))return z;return"Email needs to be in [email protected] format."},phone:function(a){if(a.match(/^1\(\d\d\d\)\d\d\d-\d\d\d\d$/))return z;if(a.match(/^\+\d{2,3} (\(\d{1,5}\))?[\d ]+\d$/))return z;
return"Phone number needs to be in 1(987)654-3210 format in North America or +999 (123) 45678 906 internationaly."},url:function(a){if(a.match(/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/))return z;return"URL needs to be in http://server[:port]/path format."},json:function(a){try{wa(a);return z}catch(b){return b.toString()}},asynchronous:function(a,b,c){if(a){var d=this,e=d.$element,f=e.data("$asyncValidator");f||e.data("$asyncValidator",f={inputs:{}});f.current=
a;var g=f.inputs[a],i=d.$service("$invalidWidgets");if(g)g.inFlight?i.markInvalid(d.$element):(c||E)(g.response);else{f.inputs[a]=g={inFlight:true};i.markInvalid(d.$element);e.addClass("ng-input-indicator-wait");b(a,function(h,j){g.response=j;g.error=h;g.inFlight=false;if(f.current==a){e.removeClass("ng-input-indicator-wait");i.markValid(e)}e.data(vb)();d.$service("$updateView")()})}return g.error}}});var Yc=/^(file|ftp|http|https):\/\/(\w+:{0,1}\w*@)?([\w\.-]*)(:([0-9]+))?(\/[^\?#]*)?(\?([^#]*))?(#(.*))?$/,
Zc=/^([^\?]*)?(\?([^\?]*))?$/,ic={http:80,https:443,ftp:21};O("$window",P(K,ra,K),[],true);O("$document",function(a){return B(a.document)},["$window"],true);O("$location",function(a){function b(k){if(I(k)){var m=C,n=h,r={},o=Yc.exec(k);if(o){r.href=k.replace(/#$/,"");r.protocol=o[1];r.host=o[3]||"";r.port=o[5]||ic[r.protocol]||z;r.path=o[6]||"";r.search=db(o[8]);r.hash=o[10]||"";C(r,g(r.hash))}m(n,r)}else{D(k.hash)&&C(k,g(k.hash));C(h,k);if(D(k.hashPath||k.hashSearch))h.hash=f(h);h.href=e(h)}}function c(k,
m){var n={};if(I(k)){n.hashPath=k;if(D(m))n.hashSearch=m}else n.hashSearch=k;b(n)}function d(){if(!Ga(h,j)){if(h.href==j.href)if(h.hash!=j.hash){var k=g(h.hash);c(k.path,k.search)}else{h.hash=f(h);h.href=e(h)}b(h.href)}}function e(k){var m=Cb(k.search),n=k.port==ic[k.protocol]?z:k.port;return k.protocol+"://"+k.host+(n?":"+n:"")+k.path+(m?"?"+m:"")+(k.hash?"#"+k.hash:"")}function f(k){var m=Cb(k.hashSearch);return escape(k.hashPath).replace(/%21/gi,"!").replace(/%3A/gi,":").replace(/%24/gi,"$")+(m?
"?"+m:"")}function g(k){var m={},n=Zc.exec(k);if(n){m.hash=k;m.hashPath=unescape(n[1]||"");m.hashSearch=db(n[3])}return m}var i=this,h={update:b,updateHash:c},j={};a.onHashChange(function(){b(a.getUrl());R(h,j);i.$eval()})();this.$onEval(-99999,d);this.$onEval(99999,function(){d();if(a.getUrl()!=h.href){a.setUrl(h.href);R(h,j)}});return h},["$browser"]);O("$log",function(a){function b(c){var d=a.console||{},e=d[c]||d.log||E;return e.apply?function(){var f=[];u(arguments,function(g){f.push(Za(g))});
return e.apply(d,f)}:e}return{log:b("log"),warn:b("warn"),info:b("info"),error:b("error")}},["$window"],true);O("$exceptionHandler",function(a){return function(b){a.error(b)}},["$log"],true);rb.delay=25;O("$updateView",rb,["$browser"]);O("$hover",function(a,b){var c,d,e=B(b[0].body);a.hover(function(f,g){if(g&&(d=f.attr(Pa)||f.attr(La))){if(!c){c={callout:B('<div id="ng-callout"></div>'),arrow:B("<div></div>"),title:B('<div class="ng-title"></div>'),content:B('<div class="ng-content"></div>')};c.callout.append(c.arrow);
c.callout.append(c.title);c.callout.append(c.content);e.append(c.callout)}var i=e[0].getBoundingClientRect(),h=f[0].getBoundingClientRect();i=i.right-h.right-10;c.title.text(f.hasClass("ng-exception")?"EXCEPTION:":"Validation error...");c.content.text(d);if(i<300){c.arrow.addClass("ng-arrow-right");c.arrow.css({left:"301px"});c.callout.css({position:"fixed",left:h.left-10-300-4+"px",top:h.top-3+"px",width:"300px"})}else{c.arrow.addClass("ng-arrow-left");c.callout.css({position:"fixed",left:h.right+
10+"px",top:h.top-3+"px",width:"300px"})}}else if(c){c.callout.remove();c=z}})},["$browser","$document"],true);O("$invalidWidgets",function(){function a(c){if(c==K.document)return false;c=c.parentNode;return!c||a(c)}var b=[];b.markValid=function(c){c=Fa(b,c);c!=-1&&b.splice(c,1)};b.markInvalid=function(c){Fa(b,c)===-1&&b.push(c)};b.visible=function(){var c=0;u(b,function(d){var e=c;d=d[0].getBoundingClientRect();var f=d.height||d.bottom||0-d.top||0;c=e+((d.width||d.right||0-d.left||0)>0&&f>0?1:0)});
return c};this.$onEval(99999,function(){for(var c=0;c<b.length;){var d=b[c];if(a(d[0])){b.splice(c,1);d.dealoc&&d.dealoc()}else c++}});return b},[],true);O("$route",function(a){var b={},c=[],d=this,e=0,f={routes:b,onChange:P(c,c.push),when:function(g,i){if(ca(g))return b;var h=b[g];h||(h=b[g]={});i&&C(h,i);e++;return h}};this.$watch(function(){return e+a.hash},function(){var g;f.current=z;u(b,function(i,h){if(!g){var j=bc(a.hashPath,h);if(j){g=na(d);f.current=C({},i,{scope:g,params:C({},a.hashSearch,
j)})}}});u(c,d.$tryEval);g&&g.$become(f.current.controller)});return f},["$location"]);O("$xhr",function(a,b,c){var d=this;return function(e,f,g,i){if(L(g)){i=g;g=z}if(g&&V(g))g=da(g);a.xhr(e,f,g,function(h,j){try{if(I(j)&&/^\s*[\[\{]/.exec(j)&&/[\}\]]\s*$/.exec(j))j=wa(j,true);h==200?i(h,j):b({method:e,url:f,data:g,callback:i},{status:h,body:j})}catch(k){c.error(k)}finally{d.$eval()}})}},["$browser","$xhr.error","$log"]);O("$xhr.error",function(a){return function(b,c){a.error("ERROR: XHR: "+b.url,
b,c)}},["$log"]);O("$xhr.bulk",function(a,b,c){function d(f,g,i,h){if(L(i)){h=i;i=z}var j;u(d.urls,function(k){if(L(k.match)?k.match(g):k.match.exec(g))j=k});if(j){if(!j.requests)j.requests=[];j.requests.push({method:f,url:g,data:i,callback:h})}else a(f,g,i,h)}var e=this;d.urls={};d.flush=function(f){u(d.urls,function(g,i){var h=g.requests;if(h&&h.length){g.requests=[];g.callbacks=[];a("POST",i,{requests:h},function(j,k){u(k,function(m,n){try{m.status==200?(h[n].callback||E)(m.status,m.response):
b(h[n],m)}catch(r){c.error(r)}});(f||E)()});e.$eval()}})};this.$onEval(99999,d.flush);return d},["$xhr","$xhr.error","$log"]);O("$defer",function(a,b,c){return function(d){a.defer(function(){try{d()}catch(e){b(e)}finally{c()}})}},["$browser","$exceptionHandler","$updateView"]);O("$xhr.cache",function(a,b,c){function d(f,g,i,h,j){if(L(i)){h=i;i=z}if(f=="GET"){var k;if(k=d.data[g]){b(function(){h(200,R(k.value))});if(!j)return}if(j=e[g])j.callbacks.push(h);else{e[g]={callbacks:[h]};d.delegate(f,g,i,
function(m,n){if(m==200)d.data[g]={value:n};var r=e[g].callbacks;delete e[g];u(r,function(o){try{(o||E)(m,R(n))}catch(s){c.error(s)}})})}}else{d.data={};d.delegate(f,g,i,h)}}var e={};d.data={};d.delegate=a;return d},["$xhr.bulk","$defer","$log"]);O("$resource",function(a){a=new Qa(a);return P(a,a.route)},["$xhr.cache"]);O("$cookies",function(a){var b=this,c={},d={},e;a.addPollFn(function(){var f=a.cookies();if(e!=f){e=f;R(f,d);R(f,c);b.$eval()}})();this.$onEval(99999,function(){var f,g,i;for(f in d)ca(c[f])&&
a.cookies(f,$);for(f in c){g=c[f];if(I(g)){if(g!==d[f]){a.cookies(f,g);i=true}}else if(D(d[f]))c[f]=d[f];else delete c[f]}if(i){g=a.cookies();for(f in c)if(c[f]!==g[f])if(ca(g[f]))delete c[f];else c[f]=g[f]}});return c},["$browser"]);O("$cookieStore",function(a){return{get:function(b){return wa(a[b])},put:function(b,c){a[b]=da(c)},remove:function(b){delete a[b]}}},["$cookies"]);N("ng:init",function(a){return function(b){this.$tryEval(a,b)}});N("ng:controller",function(a){this.scope(true);return function(){var b=
Ia(K,a,true)||Ia(this,a,true);if(!b)throw"Can not find '"+a+"' controller.";if(!L(b))throw"Reference '"+a+"' is not a class.";this.$become(b)}});N("ng:eval",function(a){return function(b){this.$onEval(a,b)}});N("ng:bind",function(a,b){b.addClass("ng-binding");return function(c){var d=E,e=E;this.$onEval(function(){var f,g,i,h,j;h=this.hasOwnProperty(ec)?this.$element:$;this.$element=c;g=this.$tryEval(a,function(k){f=Za(k)});this.$element=h;if(h=g instanceof bb)g=(i=g).html;if(!(d===g&&e==f)){j=$a(g);
if(!h&&!j&&V(g))g=da(g,true);if(g!=d||f!=e){d=g;e=f;ua(c,Pa,f);if(f)g=f;if(h)c.html(i.get());else if(j){c.html("");c.append(g)}else c.text(g==$?"":g)}}},c)}});var dc={};N("ng:bind-template",function(a,b){b.addClass("ng-binding");var c=cc(a);return function(d){var e;this.$onEval(function(){var f=c.call(this,d,true);if(f!=e){d.text(f);e=f}},d)}});var $c={disabled:"disabled",readonly:"readOnly",checked:"checked",selected:"selected"};N("ng:bind-attr",function(a){return function(b){var c={},d=b.data("$update")||
E;this.$onEval(function(){var e=this.$eval(a),f=E,g;for(g in e){var i=cc(e[g]).call(this,b),h=$c[Q(g)];if(c[g]!==i){c[g]=i;if(h){if(Da(i)){b.attr(h,h);b.attr("ng-"+h,i)}else{b.removeAttr(h);b.removeAttr("ng-"+h)}(b.data(vb)||E)()}else b.attr(g,i);f=d}}f()},b)}});N("ng:click",function(a){return C(function(b,c){var d=this;c.bind("click",function(e){d.$tryEval(a,c);b();e.stopPropagation()})},{$inject:["$updateView"]})});N("ng:submit",function(a){return C(function(b,c){var d=this;c.bind("submit",function(e){d.$tryEval(a,
c);b();e.preventDefault()})},{$inject:["$updateView"]})});N("ng:watch",function(a){return function(b){var c=this;la(a).watch()({addListener:function(d,e){c.$watch(d,function(){return e(c)},b)}})}});N("ng:class",sb(function(){return true}));N("ng:class-odd",sb(function(a){return a%2===0}));N("ng:class-even",sb(function(a){return a%2===1}));N("ng:show",function(a){return function(b){this.$onEval(function(){b.css("display",Da(this.$eval(a))?"":"none")},b)}});N("ng:hide",function(a){return function(b){this.$onEval(function(){b.css("display",
Da(this.$eval(a))?"none":"")},b)}});N("ng:style",function(a){return function(b){var c=Lc(b);this.$onEval(function(){var d=this.$eval(a)||{},e,f={};for(e in d){if(c[e]===$)c[e]="";f[e]=d[e]}for(e in c)f[e]=f[e]||c[e];b.css(f)},b)}});cb("{{}}",function(a,b,c){var d=Sa(a),e=this;if(d.length>1||Ta(d[0])!==z)if(rc(c[0]))c.attr("ng:bind-template",a);else{var f=b,g;u(Sa(a),function(i){var h=Ta(i);if(h){g=e.element("span");g.attr("ng:bind",h)}else g=e.text(i);if(ma&&i.charAt(0)==" "){g=B("<span> </span>");
h=g.html();g.text(i.substr(1));g.html(h+g.html())}f.after(g);f=g});b.remove()}});cb("OPTION",function(a,b,c){if(Ha(c)=="OPTION"){b=Y.createElement("select");b.insertBefore(c[0].cloneNode(true),z);b.innerHTML.match(/<option(\s.*\s|\s)value\s*=\s*.*>.*<\/\s*option\s*>/gi)||c.attr("value",a)}});var ad={"ng:src":"src","ng:href":"href"};Bb("{{}}",function(a,b,c){if(!(N(b)||N("@"+b))){if(ma&&b=="src")a=decodeURI(a);var d=Sa(a);if(d.length>1||Ta(d[0])!==z){c.removeAttr(b);d=wa(c.attr("ng:bind-attr")||"{}");
d[ad[b]||b]=a;c.attr("ng:bind-attr",da(d))}}});U=Ea("keydown change",Ka,ub,Va(),true);ba=Ea("click",gc,gc,E);var Mc={text:U,textarea:U,hidden:U,password:U,button:ba,submit:ba,reset:ba,image:ba,checkbox:Ea("click",tb,function(a,b){var c=b[0];return{get:function(){return!!c.checked},set:function(d){c.checked=Da(d)}}},Va(false)),radio:Ea("click",tb,function(a,b){var c=b[0];return{get:function(){return c.checked?c.value:z},set:function(d){c.checked=d==c.value}}},function(a,b,c){var d=a.get(),e=b.get();
c=c[0];c.checked=false;c.name=this.$id+"@"+c.name;if(ca(d))a.set(d=z);d==z&&e!==z&&a.set(e);b.set(d)}),"select-one":Ea("change",Ka,ub,Va(z)),"select-multiple":Ea("change",Ka,fc,Va([]))};Z("input",Wa);Z("textarea",Wa);Z("button",Wa);Z("select",function(a){this.descend(true);return Wa.call(this,a)});Z("option",function(){this.descend(true);this.directives(true);return function(a){var b=a.parent(),c=b[0].type=="select-multiple",d=xc(b),e=Ka(d,b);if(e){var f=tb(d,b),g=c?fc(d,b):ub(d,b),i=a.attr("value"),
h=a.attr("ng-selected");a.data("$update",c?function(){g.set(e.get())}:function(){var j=a.attr("value"),k=a.attr("ng-selected"),m=e.get();if(h!=k||i!=j){h=k;i=j;if(k||!m==null||m==undefined)f.set(j);j==m&&g.set(i)}})}}});Z("ng:include",function(a){var b=this,c=a.attr("src"),d=a.attr("scope")||"",e=a[0].getAttribute("onload")||"";if(a[0]["ng:compiled"]){this.descend(true);this.directives(true)}else{a[0]["ng:compiled"]=true;return C(function(f,g){function i(){k++}var h=this,j,k=0,m=false;this.$watch(c,
i);this.$watch(d,i);h.$onEval(function(){if(j&&!m){m=true;try{j.$eval()}finally{m=false}}});this.$watch(function(){return k},function(){var n=this.$eval(c),r=this.$eval(d);if(n)f("GET",n,function(o,s){g.html(s);j=r||na(h);b.compile(g)(g,j);j.$init();h.$eval(e)});else{j=null;g.html("")}})},{$inject:["$xhr.cache"]})}});var bd=Z("ng:switch",function(a){var b=this,c=a.attr("on"),d=a.attr("using")||"equals",e=d.split(":"),f=bd[e.shift()],g=a.attr("change")||"",i=[];if(!f)throw"Using expression '"+d+"' unknown.";
if(!c)throw"Missing 'on' attribute.";Eb(a,function(h){var j=h.attr("ng:switch-when"),k={change:g,element:h,template:b.compile(h)};if(I(j)){k.when=function(m,n){var r=[n,j];u(e,function(o){r.push(o)});return f.apply(m,r)};i.unshift(k)}else if(I(h.attr("ng:switch-default"))){k.when=Ma(true);i.push(k)}});u(i,function(h){h.element.remove()});a.html("");return function(h){var j=this,k;this.$watch(c,function(m){var n=false;h.html("");k=na(j);u(i,function(r){if(!n&&r.when(k,m)){n=true;var o=B(r.element[0].cloneNode(true));
h.append(o);k.$tryEval(r.change,h);r.template(o,k);k.$init()}})});j.$onEval(function(){k&&k.$eval()})}},{equals:function(a,b){return""+a==b},route:bc});Z("a",function(){this.descend(true);this.directives(true);return function(a){a.attr("href")===""&&a.bind("click",function(b){b.preventDefault()})}});Z("@ng:repeat",function(a,b){b.removeAttr("ng:repeat");b.replaceWith(this.comment("ng:repeat: "+a));var c=this.compile(b);return function(d){var e=a.match(/^\s*(.+)\s+in\s+(.*)\s*$/),f,g,i,h;if(!e)throw ga("Expected ng:repeat in form of 'item in collection' but got '"+
a+"'.");f=e[1];g=e[2];e=f.match(/^([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\)$/);if(!e)throw ga("'item' in 'item in collection' should be identifier or (key, value) but got '"+keyValue+"'.");i=e[3]||e[1];h=e[2];var j=[],k=this;this.$onEval(function(){var m=0,n=j.length,r=d,o=this.$tryEval(g,d),s=ia(o),t=0,p,y;if(s)t=o.length;else for(y in o)o.hasOwnProperty(y)&&t++;for(y in o)if(!s||o.hasOwnProperty(y)){if(m<n){p=j[m];p[i]=o[y];if(h)p[h]=y}else{p=c(B(b[0].cloneNode(true)),na(k));p[i]=o[y];if(h)p[h]=y;
r.after(p.$element);p.$index=m;p.$position=m==0?"first":m==t-1?"last":"middle";p.$element.attr("ng:repeat-index",m);p.$init();j.push(p)}p.$eval();r=p.$element;m++}for(;j.length>m;)j.pop().$element.remove()},d)}});Z("@ng:non-bindable",E);Z("ng:view",function(a){var b=this;if(a[0]["ng:compiled"]){this.descend(true);this.directives(true)}else{a[0]["ng:compiled"]=true;return C(function(c,d,e){var f;d.onChange(function(){var g;if(d.current){g=d.current.template;f=d.current.scope}g?c("GET",g,function(i,
h){e.html(h);b.compile(e)(e,f);f.$init()}):e.html("")});this.$onEval(function(){f&&f.$eval()})},{$inject:["$xhr.cache","$route"]})}});var ka;jb("$browser",function(a){if(!ka){ka=new Bc(K,B(K.document),B(K.document.body),Oc,a);var b=ka.addPollFn;ka.addPollFn=function(){ka.addPollFn=b;ka.startPoller(100,function(c,d){setTimeout(c,d)});return b.apply(ka,arguments)};ka.bind()}return ka},{$inject:["$log"]});C(F,{element:B,compile:zb,scope:na,copy:R,extend:C,equals:Ga,forEach:u,injector:Kb,noop:E,bind:P,
toJson:da,fromJson:wa,identity:ra,isUndefined:ca,isDefined:D,isString:I,isFunction:L,isObject:V,isNumber:Ba,isArray:ia});B(Y).ready(function(){var a=tc(Y);if(a.autobind){var b=zb(K.document,z,{$config:a}),c=b.$service("$browser");if(a.css)c.addCss(a.base_url+a.css);else ma<8&&c.addJs(a.base_url+a.ie_compat,a.ie_compat_id);b.$init()}})})(window,document);document.write('<style type="text/css">@charset "UTF-8";.ng-format-negative{color:red;}.ng-exception{border:2px solid #FF0000;font-family:"Courier New",Courier,monospace;font-size:smaller;white-space:pre;}.ng-validation-error{border:2px solid #FF0000;}#ng-callout{margin:0;padding:0;border:0;outline:0;font-size:13px;font-weight:normal;font-family:Verdana,Arial,Helvetica,sans-serif;vertical-align:baseline;background:transparent;text-decoration:none;}#ng-callout .ng-arrow-left{background-image:url("data:image/gif;base64,R0lGODlhCwAXAKIAAMzMzO/v7/f39////////wAAAAAAAAAAACH5BAUUAAQALAAAAAALABcAAAMrSLoc/AG8FeUUIN+sGebWAnbKSJodqqlsOxJtqYooU9vvk+vcJIcTkg+QAAA7");background-repeat:no-repeat;background-position:left top;position:absolute;z-index:101;left:-12px;height:23px;width:10px;top:-3px;}#ng-callout .ng-arrow-right{background-image:url("data:image/gif;base64,R0lGODlhCwAXAKIAAMzMzO/v7/f39////////wAAAAAAAAAAACH5BAUUAAQALAAAAAALABcAAAMrCLTcoM29yN6k9socs91e5X3EyJloipYrO4ohTMqA0Fn2XVNswJe+H+SXAAA7");background-repeat:no-repeat;background-position:left top;position:absolute;z-index:101;height:23px;width:11px;top:-2px;}#ng-callout{position:absolute;z-index:100;border:2px solid #CCCCCC;background-color:#fff;}#ng-callout .ng-content{padding:10px 10px 10px 10px;color:#333333;}#ng-callout .ng-title{background-color:#CCCCCC;text-align:left;padding-left:8px;padding-bottom:5px;padding-top:2px;font-weight:bold;}.ng-input-indicator-wait{background-image:url("data:image/png;base64,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");background-position:right;background-repeat:no-repeat;}</style>');