Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from chiefy/master

Tweaks for Angular 1.0.1
  • Loading branch information...
commit b237b05abc03d933acdd2c38124afdb22ddd5e3a 2 parents a568f1c + d8dbcb3
Edward Hotchkiss authored
2  lib/node-angular/templates/public/index.html
View
@@ -8,7 +8,7 @@
<div>
<ng-view></ng-view>
</div>
- <script type="text/javascript" src="javascripts/vendor/angular-1.0.0rc2.min.js"></script>
+ <script type="text/javascript" src="javascripts/vendor/angular-1.0.1.min.js"></script>
<script type="text/javascript" src="javascripts/app.js"></script>
</body>
</html>
2  lib/node-angular/templates/public/javascripts/app.js
View
@@ -6,7 +6,7 @@
var app = angular.module('app', [], function($routeProvider) {
$routeProvider.when('/welcome', {
- template : 'partials/welcome.html',
+ templateUrl : 'partials/welcome.html',
controller : WelcomeController
});
$routeProvider.otherwise({
163 lib/node-angular/templates/public/javascripts/vendor/angular-1.0.0rc2.min.js
View
@@ -1,163 +0,0 @@
-/*
- AngularJS v1.0.0rc2
- (c) 2010-2012 AngularJS http://angularjs.org
- License: MIT
-*/
-'use strict';(function(O,U,w){function k(b,a,c){var d;if(b)if(G(b))for(d in b)d!="prototype"&&d!=sc&&d!=tc&&b.hasOwnProperty(d)&&a.call(c,b[d],d);else if(b.forEach&&b.forEach!==k)b.forEach(a,c);else if(H(b)&&na(b.length))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)a.call(c,b[d],d);return b}function qb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function uc(b,a,c){for(var d=qb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function rb(b){return function(a,
-c){b(c,a)}}function Va(){for(var b=X.length,a;b;){b--;a=X[b].charCodeAt(0);if(a==57)return X[b]="A",X.join("");if(a==90)X[b]="0";else return X[b]=String.fromCharCode(a+1),X.join("")}X.unshift("0");return X.join("")}function t(b){k(arguments,function(a){a!==b&&k(a,function(a,d){b[d]=a})});return b}function z(b){return parseInt(b,10)}function Wa(b,a){return t(new (t(function(){},{prototype:b})),a)}function F(){}function va(b){return b}function A(b){return function(){return b}}function s(b){return typeof b==
-Xa}function y(b){return typeof b!=Xa}function H(b){return b!=null&&typeof b==vc}function B(b){return typeof b==wc}function na(b){return typeof b=="number"}function ha(b){return Ya.apply(b)=="[object Date]"}function I(b){return Ya.apply(b)=="[object Array]"}function G(b){return typeof b=="function"}function wa(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function Q(b){return B(b)?b.replace(/^\s*/,"").replace(/\s*$/,""):b}function sb(b){return b&&(b.nodeName||b.bind&&b.find)}function ba(b){var a=
-{},b=b.split(","),c;for(c=0;c<b.length;c++)a[b[c]]=!0;return a}function Za(b,a,c){var d=[];k(b,function(b,g,f){d.push(a.call(c,b,g,f))});return d}function xc(b,a){var c=0,d;if(I(b)||B(b))return b.length;else if(H(b))for(d in b)(!a||b.hasOwnProperty(d))&&c++;return c}function xa(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 ya(b,a){var c=xa(b,a);c>=0&&b.splice(c,1);return a}function L(b,a){if(wa(b)||b&&b.$evalAsync&&b.$watch)throw C("Can't copy Window or Scope");
-if(a){if(b===a)throw C("Can't copy equivalent objects or arrays");if(I(b)){for(;a.length;)a.pop();for(var c=0;c<b.length;c++)a.push(L(b[c]))}else for(c in k(a,function(b,c){delete a[c]}),b)a[c]=L(b[c])}else(a=b)&&(I(b)?a=L(b,[]):ha(b)?a=new Date(b.getTime()):H(b)&&(a=L(b,{})));return a}function yc(b){var a={},c;for(c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function da(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(I(b)){if((c=
-b.length)==a.length){for(d=0;d<c;d++)if(!da(b[d],a[d]))return!1;return!0}}else if(ha(b))return ha(a)&&b.getTime()==a.getTime();else{if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||wa(b)||wa(a))return!1;c={};for(d in b){if(d.charAt(0)!=="$"&&!G(b[d])&&!da(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c[d]&&d.charAt(0)!=="$"&&!G(a[d]))return!1;return!0}return!1}function za(b,a){var c=arguments.length>2?ia.call(arguments,2):[];return G(a)&&!(a instanceof RegExp)?c.length?function(){return arguments.length?
-a.apply(b,c.concat(ia.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}:a}function Aa(b){b&&b.length!==0?(b=E(""+b),b=!(b=="f"||b=="0"||b=="false"||b=="no"||b=="n"||b=="[]")):b=!1;return b}function Ba(b){b=p(b).clone();try{b.html("")}catch(a){}return p("<div>").append(b).html().match(/^(<[^>]+>)/)[1]}function $a(b){var a={},c,d;k((b||"").split("&"),function(b){b&&(c=b.split("="),d=decodeURIComponent(c[0]),a[d]=y(c[1])?decodeURIComponent(c[1]):!0)});
-return a}function tb(b){var a=[];k(b,function(b,d){a.push(ja(d,!0)+(b===!0?"":"="+ja(b,!0)))});return a.length?a.join("&"):""}function Ca(b){return ja(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ja(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(a?null:/%20/g,"+")}function zc(b,a){function c(a){a&&d.push(a)}var d=[b],e,g,f=["ng:app","ng-app","x-ng-app","data-ng-app"],h=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;
-k(f,function(a){f[a]=!0;c(U.getElementById(a));a=a.replace(":","\\:");b.querySelectorAll&&(k(b.querySelectorAll("."+a),c),k(b.querySelectorAll("."+a+"\\:"),c),k(b.querySelectorAll("["+a+"]"),c))});k(d,function(a){if(!e){var b=h.exec(" "+a.className+" ");b?(e=a,g=(b[2]||"").replace(/\s+/g,",")):k(a.attributes,function(b){if(!e&&f[b.name])e=a,g=b.value})}});e&&a(e,g?[g]:[])}function ub(b,a){b=p(b);a=a||[];a.unshift("ng");var c=vb(a);c.invoke(["$rootScope","$compile","$injector",function(a,c,g){a.$apply(function(){b.data("$injector",
-g);c(b)(a)})}]);return c}function ab(b,a){a=a||"_";return b.replace(Ac,function(b,d){return(d?a:"")+b.toLowerCase()})}function oa(b,a,c){if(!b)throw new C("Argument '"+(a||"?")+"' is "+(c||"required"));return b}function pa(b,a){oa(G(b),a,"not a function, got "+(b&&typeof b=="object"?b.constructor.name||"Object":typeof b));return b}function Bc(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 j}}if(!e)throw C("No module: "+d);var b=[],c=[],i=a("$injector","invoke"),j={_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"),directive:a("$compileProvider","directive"),config:i,run:function(a){c.push(a);
-return this}};g&&i(g);return j})}})}function ca(b,a){var c=[];bb(c,b,a?"\n ":null,[]);return c.join("")}function cb(b,a){function c(a){if(B(a)&&15<=a.length&&a.length<=24)return wb(a);else(I(a)||H(a))&&k(a,function(b,d){a[d]=c(b)});return a}if(!B(b))return b;var d;d=a&&O.JSON&&O.JSON.parse?JSON.parse(b):xb(b,!0)();return c(d)}function wb(b){var a;if(a=b.match(Cc)){var b=new Date(0),c=0,d=0;a[9]&&(c=z(a[9]+a[10]),d=z(a[9]+a[11]));b.setUTCFullYear(z(a[1]),z(a[2])-1,z(a[3]));b.setUTCHours(z(a[4]||0)-
-c,z(a[5]||0)-d,z(a[6]||0),z(a[7]||0))}return b}function Dc(b){if(!b)return b;var a=b.toISOString?b.toISOString():"";return a.length==24?a:W(b.getUTCFullYear(),4)+"-"+W(b.getUTCMonth()+1,2)+"-"+W(b.getUTCDate(),2)+"T"+W(b.getUTCHours(),2)+":"+W(b.getUTCMinutes(),2)+":"+W(b.getUTCSeconds(),2)+"."+W(b.getUTCMilliseconds(),3)+"Z"}function Da(b){for(var a=['"'],c=0;c<b.length;c++){var d=b.charCodeAt(c),e=b.charAt(c);switch(e){case '"':a.push('\\"');break;case "\\":a.push("\\\\");break;case "\n":a.push("\\n");
-break;case "\u000c":a.push("\\f");break;case "\r":a.push("\\r");break;case "\t":a.push("\\t");break;default:32<=d&&d<=126?a.push(e):(d="000"+d.toString(16),a.push("\\u"+d.substring(d.length-4)))}}a.push('"');return a.join("")}function bb(b,a,c,d){if(H(a)){if(a===O){b.push("WINDOW");return}if(a===U){b.push("DOCUMENT");return}if(xa(d,a)!=-1){b.push("RECURSION");return}d.push(a)}if(a===null)b.push("null");else if(a instanceof RegExp)b.push(Da(a.toString()));else if(G(a))return;else if(typeof a==Ec)b.push(""+
-a);else if(na(a))isNaN(a)?b.push("null"):b.push(""+a);else if(B(a))return b.push(Da(a));else if(H(a))if(I(a)){b.push("[");for(var e=a.length,g=!1,f=0;f<e;f++){var h=a[f];g&&b.push(",");!(h instanceof RegExp)&&(G(h)||s(h))?b.push("null"):bb(b,h,c,d);g=!0}b.push("]")}else if(sb(a))b.push("DOM_ELEMENT");else if(ha(a))b.push(Da(Dc(a)));else{b.push("{");c&&b.push(c);e=!1;g=c?c+" ":!1;f=[];for(h in a)h!="this"&&h!="$parent"&&h.substring(0,2)!="$$"&&a.hasOwnProperty(h)&&a[h]!==w&&f.push(h);f.sort();for(h=
-0;h<f.length;h++){var l=f[h],i=a[l];G(i)||(e&&(b.push(","),c&&b.push(c)),b.push(Da(l)),b.push(":"),bb(b,i,g,d),e=!0)}b.push("}")}H(a)&&d.pop()}function Fc(b){pa(b);if(!b.$inject){var a=b.$inject=[],c=b.toString().replace(Gc,"").match(Hc);k(c[1].split(Ic),function(b){b.replace(Jc,function(b,c,d){a.push(d)})})}return b.$inject}function vb(b){function a(a){return function(b,c){if(H(b))k(b,rb(a));else return a(b,c)}}function c(a,b){G(b)&&(b=m.instantiate(b));if(!b.$get)throw C("Provider "+a+" must define $get factory method.");
-return j[a+h]=b}function d(a,b){return c(a,{$get:b})}function e(a){var b=[];k(a,function(a){if(!i.get(a))if(i.put(a,!0),B(a)){var c=qa(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 l=d[c],g=l[0]=="$injector"?m:m.get(l[0]);g[l[1]].apply(g,l[2])}}catch(h){throw h.message&&(h.message+=" from "+a),h;}}else if(G(a))try{b.push(m.invoke(a))}catch(j){throw j.message&&(j.message+=" from "+a),j;}else if(I(a))try{b.push(m.invoke(a))}catch(o){throw o.message&&
-(o.message+=" from "+String(a[a.length-1])),o;}else pa(a,"module")});return b}function g(a,b){function c(d){if(typeof d!=="string")throw C("Service name expected");if(a.hasOwnProperty(d)){if(a[d]===f)throw C("Circular dependency: "+l.join(" <- "));return a[d]}else try{return l.unshift(d),a[d]=f,a[d]=b(d)}finally{l.shift()}}function d(a,b,e){var f=[],g,h,j;typeof a=="function"?(g=Fc(a),h=g.length):(I(a)&&(g=a,h=g.length-1,a=g[h]),pa(a,"fn"));for(var i=0;i<h;i++)j=g[i],f.push(e&&e.hasOwnProperty(j)?
-e[j]:c(j,l));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=(I(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return H(e)?e:c},get:c}}var f={},h="Provider",l=[],i=new Ea,j={$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,A(b))}),constant:a(function(a,b){j[a]=b;n[a]=b}),decorator:function(a,b){var c=m.get(a+h),d=c.$get;c.$get=function(){var a=o.invoke(d,c);return o.invoke(b,
-null,{$delegate:a})}}}},m=g(j,function(){throw C("Unknown provider: "+l.join(" <- "));}),n={},o=n.$injector=g(n,function(a){a=m.get(a+h);return o.invoke(a.$get,a)});k(e(b),function(a){o.invoke(a||F)});return o}function yb(b){return b.replace(Lc,function(a,b,d,e){return e?d.toUpperCase():d}).replace(Mc,"Moz$1")}function db(b,a){function c(){var e;for(var b=[this],c=a,f,h,l,i,j,m,n;b.length;){f=b.shift();h=0;for(l=f.length;h<l;h++){i=p(f[h]);c?(n=(j=i.data("events"))&&j.$destroy)&&k(n,function(a){a.handler()}):
-c=!c;j=0;for(e=(m=i.children()).length,i=e;j<i;j++)b.push(la(m[j]))}}return d.apply(this,arguments)}var d=la.fn[b],d=d.$original||d;c.$original=d;la.fn[b]=c}function R(b){if(b instanceof R)return b;if(!(this instanceof R)){if(B(b)&&b.charAt(0)!="<")throw C("selectors not implemented");return new R(b)}if(B(b)){var a=U.createElement("div");a.innerHTML="<div>&nbsp;</div>"+b;a.removeChild(a.firstChild);eb(this,a.childNodes);this.remove()}else eb(this,b)}function fb(b){return b.cloneNode(!0)}function ra(b){zb(b);
-for(var a=0,b=b.childNodes||[];a<b.length;a++)ra(b[a])}function zb(b){var a=b[Fa],c=Ga[a];c&&(c.bind&&k(c.bind,function(a,c){c=="$destroy"?a({}):gb(b,c,a)}),delete Ga[a],b[Fa]=w)}function Ha(b,a,c){var d=b[Fa],d=Ga[d||-1];if(y(c))d||(b[Fa]=d=Nc++,d=Ga[d]={}),d[a]=c;else return d?d[a]:null}function Ia(b,a){return(" "+b.className+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" ")>-1}function Ab(b,a){a&&k(a.split(" "),function(a){b.className=Q((" "+b.className+" ").replace(/[\n\t]/g," ").replace(" "+Q(a)+
-" "," "))})}function Bb(b,a){a&&k(a.split(" "),function(a){if(!Ia(b,a))b.className=Q(b.className+" "+Q(a))})}function eb(b,a){if(a)for(var a=!a.nodeName&&y(a.length)&&!wa(a)?a:[a],c=0;c<a.length;c++)b.push(a[c])}function Cb(b,a){return Ja(b,"$"+(a||"ngController")+"Controller")}function Ja(b,a,c){for(b=p(b);b.length;){if(c=b.data(a))return c;b=b.parent()}}function hb(b,a){return Db[b.nodeName]&&Ka[a.toLowerCase()]}function ib(b){var a=function(c){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||U;if(s(c.defaultPrevented)){var d=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;d.call(c)};c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented};k(a.fns,function(a){a.call(b,c)});ea<8?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};a.fns=
-[];return a}function sa(b){var a=typeof b,c;if(a=="object"&&b!==null)if(typeof(c=b.$$hashKey)=="function")c=b.$$hashKey();else{if(c===w)c=b.$$hashKey=Va()}else c=b;return a+":"+c}function Ea(b){k(b,this.put,this)}function jb(){}function Oc(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;k(a,function(a){!b&&E(a.nodeName)==="a"&&(b=a)});return b}function g(){var b=c.hash(),d;b?(d=f.getElementById(b))?d.scrollIntoView():
-(d=e(f.getElementsByName(b)))?d.scrollIntoView():b==="top"&&a.scrollTo(0,0):a.scrollTo(0,0)}var f=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(g)});return g}]}function Pc(b,a,c,d,e){function g(a){try{a.apply(null,ia.call(arguments,1))}finally{if(r--,r===0)for(;u.length;)try{u.pop()()}catch(b){d.error(b)}}}function f(a,b){(function Y(){k(M,function(a){a()});D=b(Y,a)})()}function h(){q!=l.url()&&(q=l.url(),k(K,function(a){a(l.url())}))}var l=this,i=a[0],j=b.location,m=
-b.history,n=b.setTimeout,o=b.clearTimeout,v={};l.isMock=!1;var r=0,u=[];l.$$completeOutstandingRequest=g;l.$$incOutstandingRequestCount=function(){r++};l.notifyWhenNoOutstandingRequests=function(a){k(M,function(a){a()});r===0?a():u.push(a)};var M=[],D;l.addPollFn=function(a){s(D)&&f(100,n);M.push(a);return a};var q=j.href;l.url=function(a,b){return a?(q=a,e.history?b?m.replaceState(null,"",a):m.pushState(null,"",a):b?j.replace(a):j.href=a,l):j.href};var K=[],x=!1;l.onUrlChange=function(a){x||(e.history&&
-p(b).bind("popstate",h),e.hashchange?p(b).bind("hashchange",h):l.addPollFn(h),x=!0);K.push(a);return a};var J={},ka="";l.cookies=function(a,b){var c,e,f,l;if(a)if(b===w)i.cookie=escape(a)+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT";else{if(B(b))i.cookie=escape(a)+"="+escape(b),c=a.length+b.length+1,c>4096&&d.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+c+" > 4096 bytes)!"),J.length>20&&d.warn("Cookie '"+a+"' possibly not set or overflowed because too many cookies were already set ("+
-J.length+" > 20 )")}else{if(i.cookie!==ka){ka=i.cookie;c=ka.split("; ");J={};for(f=0;f<c.length;f++)e=c[f],l=e.indexOf("="),l>0&&(J[unescape(e.substring(0,l))]=unescape(e.substring(l+1)))}return J}};l.defer=function(a,b){var c;r++;c=n(function(){delete v[c];g(a)},b||0);v[c]=!0;return c};l.defer.cancel=function(a){return v[a]?(delete v[a],o(a),g(F),!0):!1};l.addCss=function(a){var b=p(i.createElement("link"));b.attr("rel","stylesheet");b.attr("type","text/css");b.attr("href",a);c.append(b)};l.addJs=
-function(a,b){var d=i.createElement("script");d.type="text/javascript";d.src=a;if(ea)d.onreadystatechange=function(){/loaded|complete/.test(d.readyState)&&b&&b()};else if(b)d.onload=d.onerror=b;c[0].appendChild(d);return d};l.baseHref=function(){var b=a.find("base").attr("href");return b?b.replace(/^https?\:\/\/[^\/]*/,""):b}}function Qc(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new Pc(b,d,d.find("body"),a,c)}]}function Rc(){this.$get=function(){function b(b,d){function e(a){if(a!=
-m){if(n){if(n==a)n=a.n}else n=a;g(a.n,a.p);g(a,m);m=a;m.n=null}}function g(a,b){if(a!=b){if(a)a.p=b;if(b)b.n=a}}if(b in a)throw C("cacheId "+b+" taken");var f=0,h=t({},d,{id:b}),l={},i=d&&d.capacity||Number.MAX_VALUE,j={},m=null,n=null;return a[b]={put:function(a,b){var c=j[a]||(j[a]={key:a});e(c);s(b)||(a in l||f++,l[a]=b,f>i&&this.remove(n.key))},get:function(a){var b=j[a];if(b)return e(b),l[a]},remove:function(a){var b=j[a];if(b==m)m=b.p;if(b==n)n=b.n;g(b.n,b.p);delete j[a];delete l[a];f--},removeAll:function(){l=
-{};f=0;j={};m=n=null},destroy:function(){j=h=l=null;delete a[b]},info:function(){return t({},h,{size:f})}}}var a={};b.info=function(){var b={};k(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function Sc(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function Eb(b){var a={},c="Directive",d=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,e=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,g=/\<\<content\>\>/i,f=/^\<[\s\S]*\>$/,h={};k("src,href,multiple,selected,checked,disabled,readonly,required".split(","),
-function(a){h[a]=a;h[$("ng_"+a)]=a});this.directive=function i(d,e){B(d)?(oa(e,"directive"),a.hasOwnProperty(d)||(a[d]=[],b.factory(d+c,["$injector","$exceptionHandler",function(b,c){var e=[];k(a[d],function(a){try{var f=b.invoke(a);if(G(f))f={compile:A(f)};else if(!f.compile&&f.link)f.compile=A(f.link);f.priority=f.priority||0;f.name=f.name||d;f.require=f.require||f.controller&&f.name;f.restrict=f.restrict||"A";e.push(f)}catch(g){c(g)}});return e}])),a[d].push(e)):k(d,rb(i));return this};this.$get=
-["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller",function(b,j,m,n,o,v,r){function u(a,b,c){a instanceof p||(a=p(a));k(a,function(b,c){b.nodeType==3&&(a[c]=p(b).wrap("<span>").parent()[0])});var d=q(a,b,a,c);return function(b,c){oa(b,"scope");var e=c?ta.clone.call(a):a;D(e.data("$scope",b),"ng-scope");c&&c(e,b);d&&d(b,e,e);return e}}function M(a,b){throw C("Unsupported '"+b+"' for '"+a+"'.");}function D(a,b){try{a.addClass(b)}catch(c){}}function q(a,b,
-c,d){function e(a,c,d,g){if(f.length!=c.length*2)throw C("Template changed structure!");for(var h,j,i,m,n,o=0,S=0,r=f.length;o<r;S++)i=c[S],j=f[o++],h=f[o++],j?(j.scope&&!d?(m=a.$new(H(j.scope)),p(i).data("$scope",m)):m=a,(n=j.transclude)||!g&&b?j(h,m,i,d,function(b){return function(c){var d=a.$new();return b(d,c).bind("$destroy",za(d,d.$destroy))}}(n||b)):j(h,m,i,w,g)):h&&h(a,i.childNodes,w,g)}for(var f=[],g,h,j,i=0,m=a.length;i<m;i++)h={$attr:{},$normalize:$,$set:aa,$observe:fa,$observers:{}},g=
-K(a[i],[],h,d),h=(g=g.length?x(g,a[i],h,b,c):null)&&g.terminal?null:q(a[i].childNodes,g?g.transclude:b),f.push(g),f.push(h),j=j||g||h;return j?e:null}function K(a,b,c,f){var g=c.$attr;switch(a.nodeType){case 1:J(b,$(Fb(a).toLowerCase()),"E",f);for(var h,j,i,m=a.attributes,n=0,o=m&&m.length;n<o;n++)if(h=m[n],h.specified)j=h.name,i=$(j.toLowerCase()),g[i]=j,c[i]=h=Q(ea&&j=="href"?decodeURIComponent(a.getAttribute(j,2)):h.value),hb(a,i)&&(c[i]=!0),E(a,b,h,i),J(b,i,"A",f);g=a.className;if(B(g))for(;a=
-e.exec(g);)i=$(a[2]),J(b,i,"C",f)&&(c[i]=Q(a[3])),g=g.substr(a.index+a[0].length);break;case 3:y(b,a.nodeValue);break;case 8:if(a=d.exec(a.nodeValue))i=$(a[1]),J(b,i,"M",f)&&(c[i]=Q(a[2]))}b.sort(V);return b}function x(a,b,c,d,e){function f(a,b){if(a)a.require=q.require,n.push(a);if(b)b.require=q.require,o.push(b)}function h(a,b){var c,d="data",e=!1;if(B(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 C("No controller: "+
-a);}else I(a)&&(c=[],k(a,function(a){c.push(h(a,b))}));return c}function i(a,d,e,f,g){var j,S,Z,u,K;b===e?j=c:(j=yc(c),j.$element=p(e));S=j.$element;v&&H(v.scope)&&k(v.scope,function(a,b){(Gb[a]||M)(b,a,d.$parent||d,d,j)});E&&k(E,function(a){var b={$scope:d,$element:S,$attrs:j,$transclude:g};k(a.inject||{},function(a,c){(Gb[a]||M)(c,a,v?d.$parent||d:d,b,j)});K=a.controller;K=="@"&&(K=j[a.name]);S.data("$"+a.name+"Controller",r(K,b))});f=0;for(Z=n.length;f<Z;f++)try{u=n[f],u(d,S,j,u.require&&h(u.require,
-S))}catch(q){m(q,Ba(S))}a&&a(d,e.childNodes,w,g);f=0;for(Z=o.length;f<Z;f++)try{u=o[f],u(d,S,j,u.require&&h(u.require,S))}catch(x){m(x,Ba(S))}}for(var j=-Number.MAX_VALUE,n=[],o=[],v=null,fa=null,J=null,aa=null,x=c.$element=p(b),q,V,t,F,y=d,E,A,Y=0,z=a.length;Y<z;Y++){q=a[Y];t=w;if(j>q.priority)break;if(t=q.scope)s("isolated scope",fa,q,x),H(t)&&(D(x,"ng-isolate-scope"),fa=q),D(x,"ng-scope"),v=v||q;V=q.name;if(t=q.controller)E=E||{},s("'"+V+"' controller",E[V],q,x),E[V]=q;if(t=q.transclude)s("transclusion",
-F,q,x),F=q,j=q.priority,t=="element"?(t=p(b),b=(x=c.$element=p("<\!-- "+V+": "+c[V]+" --\>"))[0],Z(e,p(t[0]),b),y=u(t,d,j)):(t=p(fb(b)),x.html(""),y=u(t.contents(),d));if(t=q.template)s("template",J,q,x),J=q,V=t.replace(g,x.html()),b=p(V)[0],q.replace?(Z(e,x,b),z={$attr:{}},a=a.concat(K(b,a.splice(Y+1,a.length-(Y+1)),z)),ka(c,z),z=a.length):x.html(V);if(q.templateUrl)s("template",J,q,x),J=q,aa=Kc(a.splice(Y,a.length-Y),i,x,c,e,q.replace,y),z=a.length;else if(q.compile)try{A=q.compile(x,c,y),G(A)?
-f(null,A):A&&f(A.pre,A.post)}catch(L){m(L,Ba(x))}if(q.terminal)i.terminal=!0,j=Math.max(j,q.priority)}A=aa||i;A.scope=v&&v.scope;A.transclude=F&&y;return A}function J(d,e,f,g){var h=!1;if(a.hasOwnProperty(e))for(var j,e=b.get(e+c),n=0,o=e.length;n<o;n++)try{if(j=e[n],(g===w||g>j.priority)&&j.restrict.indexOf(f)!=-1)d.push(j),h=!0}catch(r){m(r)}return h}function ka(a,b){var c=b.$attr,d=a.$attr,e=a.$element;k(a,function(d,e){e.charAt(0)!="$"&&(b[e]&&(d+=(e==="style"?";":" ")+b[e]),a.$set(e,d,c[e]))});
-k(b,function(b,f){f=="class"?D(e,b):f=="style"?e.attr("style",e.attr("style")+";"+b):f.charAt(0)!="$"&&!a.hasOwnProperty(f)&&(a[f]=b,d[f]=c[f])})}function Kc(a,b,c,d,e,h,j){var i=[],m,r,v=c[0],u=a.shift(),M=t({},u,{templateUrl:null,transclude:null}),k=c.html();c.html("");n.get(u.templateUrl,{cache:o}).success(function(n){n=Q(n).replace(g,k);if(h&&!n.match(f))throw C("Template must have exactly one root element: "+n);var o,u;h?(u={$attr:{}},o=p(n)[0],Z(e,c,o),K(c[0],a,u),ka(d,u)):(o=c[0],c.html(n));
-a.unshift(M);m=x(a,c,d,j);for(r=q(c.contents(),j);i.length;){var fa=i.pop(),n=i.pop();u=i.pop();var J=i.pop(),aa=o;u!==v&&(aa=fb(o),Z(n,p(u),aa));m(function(){b(r,J,aa,e,fa)},J,aa,e,fa)}i=null}).error(function(a,b,c,d){throw C("Failed to load template: "+d.url);});return function(a,c,d,e,f){i?(i.push(c),i.push(d),i.push(e),i.push(f)):m(function(){b(r,c,d,e,f)},c,d,e,f)}}function V(a,b){return b.priority-a.priority}function s(a,b,c,d){if(b)throw C("Multiple directives ["+b.name+", "+c.name+"] asking for "+
-a+" on: "+Ba(d));}function y(a,b){var c=j(b,!0);c&&a.push({priority:0,compile:A(function(a,b){var d=b.parent(),e=d.data("$binding")||[];e.push(c);D(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),f=h[d],g=f&&f!==d,f=f||d;g&&hb(a,d)&&(c=!0);(e||g)&&b.push({priority:100,compile:function(a,b){if(e)return function(a,b,c){d==="class"&&(e=j(c[d],!0));c.$observers[f]=[];c[f]=w;a.$watch(e,function(a){c.$set(f,a)})};else b.$set(f,c)}})}function Z(a,
-b,c){var d=b[0],e=d.parentNode,f,g;if(a){f=0;for(g=a.length;f<g;f++)a[f]==d&&(a[f]=c)}e&&e.replaceChild(c,d);b[0]=c}function aa(a,b,c){var d=hb(this.$element[0],a.toLowerCase());d?(b=Aa(b),this.$element.prop(a,b),this[a]=b,c=a=d,b=b?d:w):this[a]=b;c?this.$attr[a]=c:(c=this.$attr[a])||(this.$attr[a]=c=ab(a,"-"));b===null||b===w?this.$element.removeAttr(c):this.$element.attr(c,b);k(this.$observers[a],function(a){try{a(b)}catch(c){m(c)}})}function fa(a,b){this.$observers[a]&&this.$observers[a].push(b)}
-var Gb={attribute:function(a,b,c,d,e){d[a]=e[a]},evaluate:function(a,b,c,d,e){d[a]=c.$eval(e[a])},bind:function(a,b,c,d,e){var f=j(e[a]);d.$watch(function(){return f(c)},function(b){d[a]=b})},accessor:function(a,b,c,d,e){var f=F,g=F,h=e[a];h&&(f=v(h),g=f.assign||function(){throw C("Expression '"+h+"' not assignable.");});d[a]=function(a){return arguments.length?g(c,a):f(c)}},expression:function(a,b,c,d,e){d[a]=function(b){v(e[a])(c,b)}}};return u}]}function $(b){return yb(b.replace(Tc,""))}function Uc(){this.$get=
-["$injector","$window",function(b,a){return function(c,d){if(B(c)){var e=c,c=La(d.$scope,e,!0)||La(a,e,!0);pa(c,e)}return b.instantiate(c,d)}}]}function Vc(){this.$get=["$cookies",function(b){return{get:function(a){return cb(b[a])},put:function(a,c){b[a]=ca(c)},remove:function(a){delete b[a]}}}]}function Wc(){this.$get=["$rootScope","$browser",function(b,a){var c={},d={},e,g=!1;a.addPollFn(function(){var f=a.cookies();e!=f&&(e=f,L(f,d),L(f,c),g&&b.$apply())})();g=!0;b.$watch(function(){var b,e,g;
-for(b in d)s(c[b])&&a.cookies(b,w);for(b in c)e=c[b],B(e)?e!==d[b]&&(a.cookies(b,e),g=!0):y(d[b])?c[b]=d[b]:delete c[b];if(g)for(b in e=a.cookies(),c)c[b]!==e[b]&&(s(e[b])?delete c[b]:c[b]=e[b])});return c}]}function Xc(){this.$get=["$rootScope","$browser",function(b,a){function c(c,e){return a.defer(function(){b.$apply(c)},e)}c.cancel=function(b){return a.defer.cancel(b)};return c}]}function Yc(){this.$get=["$window",function(b){return p(b.document)}]}function Zc(){this.$get=["$log",function(b){return function(a,
-c){b.error.apply(b,arguments)}}]}function Hb(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",Ib);a("date",Jb);a("filter",$c);a("json",ad);a("limitTo",bd);a("linky",cd);a("lowercase",dd);a("number",Kb);a("orderBy",Lb);a("uppercase",ed)}function $c(){return function(b,a){if(!(b instanceof Array))return b;var c=[];c.check=function(a){for(var b=0;b<c.length;b++)if(!c[b](a))return!1;return!0};
-var d=function(a,b){if(b.charAt(0)==="!")return!d(a,b.substr(1));switch(typeof a){case "boolean":case "number":case "string":return(""+a).toLowerCase().indexOf(b)>-1;case "object":for(var c in a)if(c.charAt(0)!=="$"&&d(a[c],b))return!0;return!1;case "array":for(c=0;c<a.length;c++)if(d(a[c],b))return!0;return!1;default:return!1}};switch(typeof a){case "boolean":case "number":case "string":a={$:a};case "object":for(var e in a)e=="$"?function(){var b=(""+a[e]).toLowerCase();b&&c.push(function(a){return d(a,
-b)})}():function(){var b=e,f=(""+a[e]).toLowerCase();f&&c.push(function(a){return d(La(a,b),f)})}();break;case "function":c.push(a);break;default:return b}for(var g=[],f=0;f<b.length;f++){var h=b[f];c.check(h)&&g.push(h)}return g}}function Ib(b){var a=b.NUMBER_FORMATS;return function(b,d){if(s(d))d=a.CURRENCY_SYM;return Mb(b,a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,2).replace(/\u00A4/g,d)}}function Kb(b){var a=b.NUMBER_FORMATS;return function(b,d){return Mb(b,a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,
-d)}}function Mb(b,a,c,d,e){if(isNaN(b)||!isFinite(b))return"";var g=b<0,b=Math.abs(b),f=b+"",h="",l=[];if(f.indexOf("e")!==-1)h=f;else{f=(f.split(Nb)[1]||"").length;s(e)&&(e=Math.min(Math.max(a.minFrac,f),a.maxFrac));var f=Math.pow(10,e),b=Math.round(b*f)/f,b=(""+b).split(Nb),f=b[0],b=b[1]||"",i=0,j=a.lgSize,m=a.gSize;if(f.length>=j+m)for(var i=f.length-j,n=0;n<i;n++)(i-n)%m===0&&n!==0&&(h+=c),h+=f.charAt(n);for(n=i;n<f.length;n++)(f.length-n)%j===0&&n!==0&&(h+=c),h+=f.charAt(n);for(;b.length<e;)b+=
-"0";e&&(h+=d+b.substr(0,e))}l.push(g?a.negPre:a.posPre);l.push(h);l.push(g?a.negSuf:a.posSuf);return l.join("")}function W(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 N(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 W(e,a,d)}}function Ma(b,a){return function(c,d){var e=c["get"+b](),g=ma(a?"SHORT"+b:b);return d[g][e]}}function Jb(b){return function(a,c){var d="",e=[],g,f,c=c||"mediumDate",
-c=b.DATETIME_FORMATS[c]||c;B(a)&&(a=fd.test(a)?z(a):wb(a));na(a)&&(a=new Date(a));if(!ha(a))return a;for(;c;)(f=gd.exec(c))?(e=e.concat(ia.call(f,1)),c=e.pop()):(e.push(c),c=null);k(e,function(c){g=hd[c];d+=g?g(a,b.DATETIME_FORMATS):c.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return d}}function ad(){return function(b){return ca(b,!0)}}function cd(){var b=/((ftp|https?):\/\/|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s\.\;\,\(\)\{\}\<\>]/,a=/^mailto:/;return function(c){if(!c)return c;for(var d=c,e=[],g=
-Ob(e),f,h;c=d.match(b);)f=c[0],c[2]==c[3]&&(f="mailto:"+f),h=c.index,g.chars(d.substr(0,h)),g.start("a",{href:f}),g.chars(c[0].replace(a,"")),g.end("a"),d=d.substring(h+c[0].length);g.chars(d);return e.join("")}}function bd(){return function(b,a){if(!(b instanceof Array))return b;var a=z(a),c=[],d,e;if(!b||!(b instanceof Array))return c;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 Lb(b){return function(a,c,d){function e(a,
-b){return Aa(b)?function(b,c){return a(c,b)}:a}if(!(a instanceof Array))return a;if(!c)return a;for(var c=I(c)?c:[c],c=Za(c,function(a){var c=!1,d=a||va;if(B(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=[],f=0;f<a.length;f++)g.push(a[f]);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 id(){var b="{{",a="}}";this.startSymbol=function(a){return a?(b=a,this):b};this.endSymbol=function(c){return c?(a=c,this):b};this.$get=["$parse",function(c){var d=b.length,e=a.length;return function(g,f){for(var h,l,i=0,j=[],m=g.length,n=!1,o=[];i<m;)(h=g.indexOf(b,i))!=-1&&(l=g.indexOf(a,h+d))!=-1?(i!=h&&j.push(g.substring(i,h)),j.push(i=c(n=g.substring(h+d,l))),i.exp=n,i=l+e,n=!0):(i!=m&&j.push(g.substring(i)),i=m);if(!(m=
-j.length))j.push(""),m=1;if(!f||n)return o.length=m,i=function(a){for(var b=0,c=m,d;b<c;b++){if(typeof(d=j[b])=="function")d=d(a),d==null||d==w?d="":typeof d!="string"&&(d=ca(d));o[b]=d}return o.join("")},i.exp=g,i.parts=j,i}}]}function Pb(b){for(var b=b.split("/"),a=b.length;a--;)b[a]=Ca(b[a]);return b.join("/")}function Na(b,a){var c=Qb.exec(b),c={protocol:c[1],host:c[3],port:z(c[5])||Rb[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 ua(b,a,c){return b+"://"+a+(c==Rb[b]?"":":"+c)}function jd(b,a,c){var d=Na(b);return decodeURIComponent(d.path)!=a||s(d.hash)||d.hash.indexOf(c)!==0?b:ua(d.protocol,d.host,d.port)+a.substr(0,a.lastIndexOf("/"))+d.hash.substr(c.length)}function kd(b,a,c){var d=Na(b);if(decodeURIComponent(d.path)==a)return b;else{var e=d.search&&"?"+d.search||"",g=d.hash&&"#"+d.hash||"",f=a.substr(0,a.lastIndexOf("/")),h=d.path.substr(f.length);if(d.path.indexOf(f)!==0)throw'Invalid url "'+b+'", missing path prefix "'+
-f+'" !';return ua(d.protocol,d.host,d.port)+a+"#"+c+h+e+g}}function kb(b,a){a=a||"";this.$$parse=function(b){var d=Na(b,this);if(d.path.indexOf(a)!==0)throw'Invalid url "'+b+'", missing path prefix "'+a+'" !';this.$$path=decodeURIComponent(d.path.substr(a.length));this.$$search=$a(d.search);this.$$hash=d.hash&&decodeURIComponent(d.hash)||"";this.$$compose()};this.$$compose=function(){var b=tb(this.$$search),d=this.$$hash?"#"+Ca(this.$$hash):"";this.$$url=Pb(this.$$path)+(b?"?"+b:"")+d;this.$$absUrl=
-ua(this.$$protocol,this.$$host,this.$$port)+a+this.$$url};this.$$parse(b)}function lb(b,a){var c;this.$$parse=function(b){var e=Na(b,this);if(e.hash&&e.hash.indexOf(a)!==0)throw'Invalid url "'+b+'", missing hash prefix "'+a+'" !';c=e.path+(e.search?"?"+e.search:"");e=ld.exec((e.hash||"").substr(a.length));this.$$path=e[1]?(e[1].charAt(0)=="/"?"":"/")+decodeURIComponent(e[1]):"";this.$$search=$a(e[3]);this.$$hash=e[5]&&decodeURIComponent(e[5])||"";this.$$compose()};this.$$compose=function(){var b=
-tb(this.$$search),e=this.$$hash?"#"+Ca(this.$$hash):"";this.$$url=Pb(this.$$path)+(b?"?"+b:"")+e;this.$$absUrl=ua(this.$$protocol,this.$$host,this.$$port)+c+(this.$$url?"#"+a+this.$$url:"")};this.$$parse(b)}function Oa(b){return function(){return this[b]}}function Sb(b,a){return function(c){if(s(c))return this[b];this[b]=a(c);this.$$compose();return this}}function md(){var b="",a=!1;this.hashPrefix=function(a){return y(a)?(b=a,this):b};this.html5Mode=function(b){return y(b)?(a=b,this):a};this.$get=
-["$rootScope","$browser","$sniffer","$document",function(c,d,e,g){var f,h=d.baseHref()||"/",l=h.substr(0,h.lastIndexOf("/")),i=d.url();if(a){var e=f=e.history?new kb(jd(i,h,b),l):new lb(kd(i,h,b),b),j=ua(e.protocol(),e.host(),e.port())+l;g.bind("click",function(a){if(!a.ctrlKey&&!(a.metaKey||a.which==2)){for(var b=p(a.target);b.length&&E(b[0].nodeName)!=="a";)b=b.parent();var d=b.attr("href");d&&!y(b.attr("ng-ext-link"))&&!b.attr("target")&&(d=d.replace(j,""),d.substr(0,4)!="http"&&(d=d.indexOf(l)===
-0?d.substr(l.length):d,f.url(d),c.$apply(),a.preventDefault(),O.angular["ff-684208-preventDefault"]=!0))}})}else f=new lb(i,b);f.absUrl()!=i&&d.url(f.absUrl(),!0);d.onUrlChange(function(a){f.absUrl()!=a&&(c.$evalAsync(function(){f.$$parse(a)}),c.$$phase||c.$digest())});var m=0;c.$watch(function(){d.url()!=f.absUrl()&&(m++,c.$evalAsync(function(){d.url(f.absUrl(),f.$$replace);f.$$replace=!1}));return m});return f}]}function nd(){this.$get=["$window",function(b){function a(a){a instanceof C&&(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 c(c){var e=b.console||{},g=e[c]||e.log||F;return g.apply?function(){var b=[];k(arguments,function(c){b.push(a(c))});return g.apply(e,b)}:function(a,b){g(a,b)}}return{log:c("log"),warn:c("warn"),info:c("info"),error:c("error")}}]}function od(){this.$get=["$http",function(b){function a(a,b){this.template=a+="#";this.defaults=b||{};var c=this.urlParams=
-{};k(a.split(/\W/),function(b){b&&a.match(RegExp("[^\\\\]:"+b+"\\W"))&&(c[b]=!0)});this.template=a.replace(/\\:/g,":")}function c(e,g,f){function h(a){var b={};k(g||{},function(c,d){b[d]=c.charAt&&c.charAt(0)=="@"?La(a,c.substr(1)):c});return b}function l(a){L(a||{},this)}var i=new a(e),f=t({},d,f);k(f,function(a,d){var n=a.method=="POST"||a.method=="PUT";l[d]=function(c,d,e,f){var g={},m,q=F,K=null;switch(arguments.length){case 4:K=f,q=e;case 3:case 2:if(G(d)){if(G(c)){q=c;K=d;break}q=d;K=e}else{g=
-c;m=d;q=e;break}case 1:G(c)?q=c:n?m=c:g=c;break;case 0:break;default:throw"Expected between 0-4 arguments [params, data, success, error], got "+arguments.length+" arguments.";}var x=this instanceof l?this:a.isArray?[]:new l(m);b({method:a.method,url:i.url(t({},h(m),a.params||{},g)),data:m}).then(function(b){var c=b.data;if(c)a.isArray?(x.length=0,k(c,function(a){x.push(new l(a))})):L(c,x);(q||F)(x,b.headers)},K);return x};l.bind=function(a){return c(e,t({},g,a),f)};l.prototype["$"+d]=function(a,b,
-c){var e=h(this),f=F,g;switch(arguments.length){case 3:e=a;f=b;g=c;break;case 2:case 1:G(a)?(f=a,g=b):(e=a,f=b||F);case 0:break;default:throw"Expected between 1-3 arguments [params, success, error], got "+arguments.length+" arguments.";}l[d].call(this,e,n?this:w,f,g)}});return l}var d={get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}};a.prototype={url:function(a){var b=this,c=this.template,d,a=a||{};k(this.urlParams,function(l,
-j){d=Ca(a[j]||b.defaults[j]||"");c=c.replace(RegExp(":"+j+"(\\W)"),d+"$1")});var c=c.replace(/\/?#$/,""),l=[];uc(a,function(a,c){b.urlParams[c]||l.push(ja(c)+"="+ja(a))});c=c.replace(/\/*$/,"");return c+(l.length?"?"+l.join("&"):"")}};return c}]}function pd(b){function a(a){return a.indexOf(r)!=-1}function c(){return o+1<b.length?b.charAt(o+1):!1}function d(a){return"0"<=a&&a<="9"}function e(a){return a==" "||a=="\r"||a=="\t"||a=="\n"||a=="\u000b"||a=="\u00a0"}function g(a){return"a"<=a&&a<="z"||
-"A"<=a&&a<="Z"||"_"==a||a=="$"}function f(a){return a=="-"||a=="+"||d(a)}function h(a,c,d){d=d||o;throw C("Lexer Error: "+a+" at column"+(y(c)?"s "+c+"-"+o+" ["+b.substring(c,d)+"]":" "+d)+" in expression ["+b+"].");}function l(){for(var a="",e=o;o<b.length;){var g=E(b.charAt(o));if(g=="."||d(g))a+=g;else{var l=c();if(g=="e"&&f(l))a+=g;else if(f(g)&&l&&d(l)&&a.charAt(a.length-1)=="e")a+=g;else if(f(g)&&(!l||!d(l))&&a.charAt(a.length-1)=="e")h("Invalid exponent");else break}o++}a*=1;m.push({index:e,
-text:a,json:!0,fn:function(){return a}})}function i(){for(var a="",c=o,f,h,l;o<b.length;){var j=b.charAt(o);if(j=="."||g(j)||d(j))j=="."&&(f=o),a+=j;else break;o++}if(f)for(h=o;h<b.length;){j=b.charAt(h);if(j=="("){l=a.substr(f-c+1);a=a.substr(0,f-c);o=h;break}if(e(j))h++;else break}c={index:c,text:a};if(Pa.hasOwnProperty(a))c.fn=c.json=Pa[a];else{var i=Tb(a);c.fn=t(function(a,b){return i(a,b)},{assign:function(b,c){return Ub(b,a,c)}})}m.push(c);l&&(m.push({index:f,text:".",json:!1}),m.push({index:f+
-1,text:l,json:!1}))}function j(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)||h("Invalid unicode escape [\\u"+g+"]"),o+=4,d+=String.fromCharCode(parseInt(g,16))):(f=qd[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++}h("Unterminated quote",c)}for(var m=[],n,o=0,v=[],r,u=":";o<b.length;){r=b.charAt(o);if(a("\"'"))j(r);else if(d(r)||
-a(".")&&d(c()))l();else if(g(r)){if(i(),"{,".indexOf(u)!=-1&&v[0]=="{"&&(n=m[m.length-1]))n.json=n.text.indexOf(".")==-1}else if(a("(){}[].,;:"))m.push({index:o,text:r,json:":[,".indexOf(u)!=-1&&a("{[")||a("}]:,")}),a("{[")&&v.unshift(r),a("}]")&&v.shift(),o++;else if(e(r)){o++;continue}else{var k=r+c(),D=Pa[r],q=Pa[k];q?(m.push({index:o,text:k,fn:q}),o+=2):D?(m.push({index:o,text:r,fn:D,json:"[,:".indexOf(u)!=-1&&a("+-")}),o+=1):h("Unexpected next character ",o,o+1)}u=r}return m}function xb(b,a,
-c){function d(a,c){throw C("Syntax Error: Token '"+c.text+"' "+a+" at column "+(c.index+1)+" of the expression ["+b+"] starting at ["+b.substring(c.index)+"].");}function e(){if(p.length===0)throw C("Unexpected end of expression: "+b);return p[0]}function g(a,b,c,d){if(p.length>0){var e=p[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,e,f){return(b=g(b,c,e,f))?(a&&!b.json&&d("is not valid json",b),p.shift(),b):!1}function h(a){f(a)||d("is unexpected, expecting ["+
-a+"]",g())}function l(a,b){return function(c,d){return a(c,d,b)}}function i(a,b,c){return function(d,e){return b(d,e,a,c)}}function j(){for(var a=[];;)if(p.length>0&&!g("}",")",";","]")&&a.push(G()),!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(s());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 n(){for(var a=o(),b;;)if(b=f("||"))a=i(a,b.fn,o());else return a}function o(){var a=v(),b;if(b=f("&&"))a=i(a,b.fn,o());return a}function v(){var a=r(),b;if(b=f("==","!="))a=i(a,b.fn,v());return a}function r(){var a;a=u();for(var b;b=f("+","-");)a=i(a,b.fn,u());if(b=f("<",">","<=",">="))a=i(a,b.fn,r());return a}function u(){for(var a=k(),b;b=f("*","/","%");)a=i(a,b.fn,k());return a}function k(){var a;return f("+")?D():(a=f("-"))?i(x,a.fn,k()):(a=f("!"))?l(a.fn,k()):D()}function D(){var a;
-if(f("("))a=G(),h(")");else if(f("["))a=q();else if(f("{"))a=K();else{var b=f();(a=b.fn)||d("not a primary expression",b)}for(var c;b=f("(","[",".");)b.text==="("?(a=y(a,c),c=null):b.text==="["?(c=a,a=B(a)):b.text==="."?(c=a,a=E(a)):d("IMPOSSIBLE");return a}function q(){var a=[];if(e().text!="]"){do a.push(s());while(f(","))}h("]");return function(b,c){for(var d=[],e=0;e<a.length;e++)d.push(a[e](b,c));return d}}function K(){var a=[];if(e().text!="}"){do{var b=f(),b=b.string||b.text;h(":");var c=s();
-a.push({key:b,value:c})}while(f(","))}h("}");return 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}}var x=A(0),J,p=pd(b),s=function(){var a=n(),c,e;return(e=f("="))?(a.assign||d("implies assignment but ["+b.substring(0,e.index)+"] can not be assigned to",e),c=n(),function(b,d){return a.assign(b,c(b,d),d)}):a},y=function(a,b){var c=[];if(e().text!=")"){do c.push(s());while(f(","))}h(")");return function(d,e){for(var f=[],g=b?b(d,e):d,h=0;h<c.length;h++)f.push(c[h](d,
-e));h=a(d,e)||F;return h.apply?h.apply(g,f):h(f[0],f[1],f[2],f[3],f[4])}},E=function(a){var b=f().text,c=Tb(b);return t(function(b,d){return c(a(b,d),d)},{assign:function(c,d,e){return Ub(a(c,e),b,d)}})},B=function(a){var b=s();h("]");return t(function(c,d){var e=a(c,d),f=b(c,d),g;if(!e)return w;if((e=e[f])&&e.then){g=e;if(!("$$v"in e))g.$$v=w,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}})},G=function(){for(var a=s(),b;;)if(b=f("|"))a=i(a,b.fn,m());
-else return a};a?(s=n,y=E=B=G=function(){d("is not valid json",{text:b,index:0})},J=D()):J=j();p.length!==0&&d("is an unexpected token",p[0]);return J}function Ub(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 La(b,a,c){if(!a)return b;for(var a=a.split("."),d,e=b,g=a.length,f=0;f<g;f++)d=a[f],b&&(b=(e=b)[d]);return!c&&G(b)?za(e,b):b}function Tb(b){if(mb.hasOwnProperty(b))return mb[b];var a,c="var l, fn, p;\n";k(b.split("."),
-function(a,b){c+="if(!s) 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'});c+="return s;";a=Function("s","k",c);a.toString=function(){return c};return mb[b]=a}function rd(){var b={};this.$get=["$filter",function(a){return function(c){switch(typeof c){case "string":return b.hasOwnProperty(c)?b[c]:b[c]=xb(c,!1,a);case "function":return c;default:return F}}}]}
-function sd(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return td(function(a){b.$evalAsync(a)},a)}]}function td(b,a){function c(a){return a}function d(a){return f(a)}var e=function(){var h=[],l,i;return i={resolve:function(a){if(h){var c=h;h=w;l=g(a);c.length&&b(function(){for(var a,b=0,d=c.length;b<d;b++)a=c[b],l.then(a[0],a[1])})}},reject:function(a){i.resolve(f(a))},promise:{then:function(b,f){var g=e(),i=function(d){try{g.resolve((b||c)(d))}catch(e){a(e),g.reject(e)}},k=function(b){try{g.resolve((f||
-d)(b))}catch(c){a(c),g.reject(c)}};h?h.push([i,k]):l.then(i,k);return g.promise}}}},g=function(a){return a&&a.then?a:{then:function(c){var d=e();b(function(){d.resolve(c(a))});return d.promise}}},f=function(a){return{then:function(c,d){var f=e();b(function(){f.resolve(d(a))});return f.promise}}};return{defer:e,reject:f,when:function(h,l,i){var j=e(),m,n=function(b){try{return(l||c)(b)}catch(d){return a(d),f(d)}},o=function(b){try{return(i||d)(b)}catch(c){return a(c),f(c)}};b(function(){g(h).then(function(a){m||
-(m=!0,j.resolve(g(a).then(n,o)))},function(a){m||(m=!0,j.resolve(o(a)))})});return j.promise},all:function(a){var b=e(),c=a.length,d=[];k(a,function(a,e){a.then(function(a){e in d||(d[e]=a,--c||b.resolve(d))},function(a){e in d||b.reject(a)})});return b.promise}}}function ud(){var b={};this.when=function(a,c){var d=b[a];d||(d=b[a]={reloadOnSearch:!0});c&&t(d,c);if(a){var e=a[a.length-1]=="/"?a.substr(0,a.length-1):a+"/";b[e]={redirectTo:a}}return d};this.otherwise=function(a){this.when(null,a)};this.$get=
-["$rootScope","$location","$routeParams",function(a,c,d){function e(){var a,d;k(b,function(b,e){if(!d&&(a=f(c.path(),e)))d=Wa(b,{params:t({},c.search(),a),pathParams:a}),d.$route=b});return d||b[null]&&Wa(b[null],{params:{},pathParams:{}})}function g(a,b){var c=[];k((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 f=function(a,b){var c="^"+b.replace(/([\.\\\(\)\^\$])/g,"\\$1")+"$",d=[],e={};
-k(b.split(/\W/),function(a){if(a){var b=RegExp(":"+a+"([\\W])");c.match(b)&&(c=c.replace(b,"([^\\/]*)$1"),d.push(a))}});var f=a.match(RegExp(c));f&&k(d,function(a,b){e[a]=f[b+1]});return f?e:null},h=0,l=!1,i={routes:b,reload:function(){h++;l=!0}};a.$watch(function(){return h+c.url()},function(){var b=e(),f=i.current;if(b&&f&&b.$route===f.$route&&da(b.pathParams,f.pathParams)&&!b.reloadOnSearch&&!l)f.params=b.params,L(f.params,d),a.$broadcast("$routeUpdate",f);else if(b||f)l=!1,a.$broadcast("$beforeRouteChange",
-b,f),(i.current=b)&&(b.redirectTo?B(b.redirectTo)?c.path(g(b.redirectTo,b.params)).search(b.params).replace():c.url(b.redirectTo(b.pathParams,c.path(),c.search())).replace():L(b.params,d)),a.$broadcast("$afterRouteChange",b,f)});return i}]}function vd(){this.$get=A({})}function wd(){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=Va();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=
-this.$$prevSibling=this.$$childHead=this.$$childTail=null;this["this"]=this.$root=this;this.$$asyncQueue=[];this.$$listeners={}}function g(a,b){var c=a.$root;if(c.$$phase)throw C(c.$$phase+" already in progress");c.$$phase=b}function f(a,b){var c=d(a);pa(c,b);return c}function h(){}e.prototype={$new:function(a){if(G(a))throw C("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=Va());a["this"]=a;a.$$listeners={};
-a.$parent=this;a.$$asyncQueue=[];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=f(a,"watch"),e=this.$$watchers,g={fn:b,last:h,get:d,exp:a,eq:!!c};if(!G(b)){var k=f(b||F,"listener");g.fn=function(a,b,c){k(c)}}if(!e)e=this.$$watchers=[];e.unshift(g);return function(){ya(e,g)}},$digest:function(){var a,d,e,f,n,o,
-k,r=b,u,M=[],D,q;g(this,"$digest");do{k=!1;u=this;do{for(n=u.$$asyncQueue;n.length;)try{u.$eval(n.shift())}catch(K){c(K)}if(f=u.$$watchers)for(o=f.length;o--;)try{if(a=f[o],(d=a.get(u))!==(e=a.last)&&!(a.eq?da(d,e):typeof d=="number"&&typeof e=="number"&&isNaN(d)&&isNaN(e)))k=!0,a.last=a.eq?L(d):d,a.fn(d,e===h?d:e,u),r<5&&(D=4-r,M[D]||(M[D]=[]),q=G(a.exp)?"fn: "+(a.exp.name||a.exp.toString()):a.exp,q+="; newVal: "+ca(d)+"; oldVal: "+ca(e),M[D].push(q))}catch(x){c(x)}if(!(f=u.$$childHead||u!==this&&
-u.$$nextSibling))for(;u!==this&&!(f=u.$$nextSibling);)u=u.$parent}while(u=f);if(k&&!r--)throw C(b+" $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: "+ca(M));}while(k||n.length);this.$root.$$phase=null},$destroy:function(){if(this.$root!=this){var a=this.$parent;this.$broadcast("$destroy");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}},$eval:function(a,b){return d(a)(this,b)},$evalAsync:function(a){this.$$asyncQueue.push(a)},$apply:function(a){try{return g(this,"$apply"),this.$eval(a)}catch(b){c(b)}finally{this.$root.$$phase=null,this.$root.$digest()}},$on:function(a,b){var c=this.$$listeners[a];c||(this.$$listeners[a]=c=[]);c.push(b);return function(){ya(c,b)}},$emit:function(a,b){var d=[],e,f=this,g={name:a,targetScope:f,cancel:function(){g.cancelled=
-!0},cancelled:!1},h=[g].concat(ia.call(arguments,1)),r,k;do{e=f.$$listeners[a]||d;g.currentScope=f;r=0;for(k=e.length;r<k;r++)try{if(e[r].apply(null,h),g.cancelled)return g}catch(M){c(M)}f=f.$parent}while(f);return g},$broadcast:function(a,b){var d=this,e=this,f={name:a,targetScope:this},g=[f].concat(ia.call(arguments,1));do if(d=e,f.currentScope=d,k(d.$$listeners[a],function(a){try{a.apply(null,g)}catch(b){c(b)}}),!(e=d.$$childHead||d!==this&&d.$$nextSibling))for(;d!==this&&!(e=d.$$nextSibling);)d=
-d.$parent;while(d=e);return f}};return new e}]}function xd(){this.$get=A(function(b){var a=[];yd(b,Ob(a));return a.join("")})}function yd(b,a){function c(b,c,e,g){c=E(c);if(Vb[c])for(;f.last()&&Wb[f.last()];)d("",f.last());Xb[c]&&f.last()==c&&d("",c);(g=Yb[c]||!!g)||f.push(c);var h={};e.replace(zd,function(a,b,c,d,e){h[b]=nb(c||d||e||"")});a.start&&a.start(c,h,g)}function d(b,c){var d=0,e;if(c=E(c))for(d=f.length-1;d>=0;d--)if(f[d]==c)break;if(d>=0){for(e=f.length-1;e>=d;e--)a.end&&a.end(f[e]);f.length=
-d}}var e,g,f=[],h=b;for(f.last=function(){return f[f.length-1]};b;){g=!0;if(!f.last()||!Zb[f.last()]){if(b.indexOf("<\!--")===0)e=b.indexOf("--\>"),e>=0&&(a.comment&&a.comment(b.substring(4,e)),b=b.substring(e+3),g=!1);else if(Ad.test(b)){if(e=b.match($b))b=b.substring(e[0].length),e[0].replace($b,d),g=!1}else if(Bd.test(b)&&(e=b.match(ac)))b=b.substring(e[0].length),e[0].replace(ac,c),g=!1;g&&(e=b.indexOf("<"),g=e<0?b:b.substring(0,e),b=e<0?"":b.substring(e),a.chars&&a.chars(nb(g)))}else b=b.replace(RegExp("(.*)<\\s*\\/\\s*"+
-f.last()+"[^>]*>","i"),function(b,c){c=c.replace(Cd,"$1").replace(Dd,"$1");a.chars&&a.chars(nb(c));return""}),d("",f.last());if(b==h)throw"Parse Error: "+b;h=b}d()}function nb(b){ob.innerHTML=b.replace(/</g,"&lt;");return ob.innerText||ob.textContent||""}function bc(b){return b.replace(/&/g,"&amp;").replace(Ed,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ob(b){var a=!1,c=za(b,b.push);return{start:function(b,e,g){b=E(b);!a&&Zb[b]&&(a=b);!a&&cc[b]==
-!0&&(c("<"),c(b),k(e,function(a,b){var d=E(b);if(Fd[d]==!0&&(dc[d]!==!0||a.match(Gd)))c(" "),c(b),c('="'),c(bc(a)),c('"')}),c(g?"/>":">"))},end:function(b){b=E(b);!a&&cc[b]==!0&&(c("</"),c(b),c(">"));b==a&&(a=!1)},chars:function(b){a||c(bc(b))}}}function Hd(){this.$get=["$window",function(b){return b.Modernizr?b.Modernizr:{history:!(!b.history||!b.history.pushState),hashchange:"onhashchange"in b&&(!b.document.documentMode||b.document.documentMode>7)}}]}function Id(){this.$get=A(O)}function ec(b){var a=
-{},c,d,e;if(!b)return a;k(b.split("\n"),function(b){e=b.indexOf(":");c=E(Q(b.substr(0,e)));d=Q(b.substr(e+1));c&&(a[c]?a[c]+=", "+d:a[c]=d)});return a}function fc(b){var a=H(b)?b:w;return function(c){a||(a=ec(b));return c?a[E(c)]||null:a}}function gc(b,a,c){if(G(c))return c(b,a);k(c,function(c){b=c(b,a)});return b}function Jd(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d=this.defaults={transformResponse:function(d){B(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=cb(d,!0)));return d},
-transformRequest:function(a){return H(a)&&Ya.apply(a)!=="[object File]"?ca(a):a},headers:{common:{Accept:"application/json, text/plain, */*","X-Requested-With":"XMLHttpRequest"},post:{"Content-Type":"application/json"},put:{"Content-Type":"application/json"}}},e=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,c,l,i,j){function m(a){function c(a){var b=t({},a,{data:gc(a.data,a.headers,g)});return 200<=a.status&&a.status<300?
-b:i.reject(b)}a.method=ma(a.method);var e=a.transformRequest||d.transformRequest,g=a.transformResponse||d.transformResponse,h=d.headers,h=t({"X-XSRF-TOKEN":b.cookies()["XSRF-TOKEN"]},h.common,h[E(a.method)],a.headers),e=gc(a.data,fc(h),e),l;s(a.data)&&delete h["Content-Type"];l=n(a,e,h);l=l.then(c,c);k(v,function(a){l=a(l)});l.success=function(b){l.then(function(c){b(c.data,c.status,c.headers,a)});return l};l.error=function(b){l.then(null,function(c){b(c.data,c.status,c.headers,a)});return l};return l}
-function n(b,c,d){function e(a,c,d){k&&(200<=a&&a<300?k.put(b.url,[a,c,ec(d)]):k.remove(b.url));f(c,a,d);l.$apply()}function f(a,c,d){c=Math.max(c,0);(200<=c&&c<300?j.resolve:j.reject)({data:a,status:c,headers:fc(d),config:b})}function h(){var a=xa(m.pendingRequests,b);a!==-1&&m.pendingRequests.splice(a,1)}var j=i.defer(),n=j.promise,k,v;m.pendingRequests.push(b);n.then(h,h);b.cache&&b.method=="GET"&&(k=H(b.cache)?b.cache:o);if(k)if(v=k.get(b.url))if(v.then)return v.then(h,h),v;else I(v)?f(v[1],v[0],
-L(v[2])):f(v,200,{});else k.put(b.url,n);v||a(b.method,b.url,c,e,d,b.timeout);return n}var o=c("$http"),v=[];k(e,function(a){v.push(B(a)?j.get(a):j.invoke(a))});m.pendingRequests=[];(function(a){k(arguments,function(a){m[a]=function(b,c){return m(t(c||{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){k(arguments,function(a){m[a]=function(b,c,d){return m(t(d||{},{method:a,url:b,data:c}))}})})("post","put");return m}]}function Kd(){this.$get=["$browser","$window","$document",function(b,
-a,c){return Ld(b,Md,b.defer,a.angular.callbacks,c[0].body,a.location.protocol.replace(":",""))}]}function Ld(b,a,c,d,e,g){return function(f,h,l,i,j,m){function n(a,c,d,e){c=(h.match(Qb)||["",g])[1]=="file"?d?200:404:c;a(c==1223?204:c,d,e);b.$$completeOutstandingRequest(F)}b.$$incOutstandingRequestCount();h=h||b.url();if(E(f)=="jsonp"){var o="_"+(d.counter++).toString(36);d[o]=function(a){d[o].data=a};var v=b.addJs(h.replace("JSON_CALLBACK","angular.callbacks."+o),function(){d[o].data?n(i,200,d[o].data):
-n(i,-2);delete d[o];e.removeChild(v)})}else{var r=new a;r.open(f,h,!0);k(j,function(a,b){a&&r.setRequestHeader(b,a)});var u;r.onreadystatechange=function(){r.readyState==4&&n(i,u||r.status,r.responseText,r.getAllResponseHeaders())};r.send(l||"");m>0&&c(function(){u=-1;r.abort()},m)}}}function Nd(){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 P(b){G(b)&&(b={link:b});b.restrict=b.restrict||"AC";return A(b)}function hc(b,a){ic[$("ng-"+a)]=A(function(b,d,e){e.$observe($("ng-"+a),function(b){e.$set(a,b)})})}function jc(b,a){function c(a,c){c=c?"-"+ab(c,"-"):"";b.removeClass((a?Qa:Ra)+c).addClass((a?Ra:Qa)+c)}function d(a,b,d){a&&(ya(a,d||this),a.length||(f--,h[b]=!1,c(!0,b),g.$setValidity(b,
-!0,e)))}var e=this,g=b.parent().controller("form")||Sa,f=0,h=e.$error={};e.$name=a.name;e.$dirty=!1;e.$pristine=!0;e.$valid=!0;e.$invalid=!1;g.$addControl(e);b.addClass(Ta);c(!0);e.$addControl=function(a){a.$name&&!e.hasOwnProperty(a.$name)&&(e[a.$name]=a)};e.$removeControl=function(a){a.$name&&e[a.$name]===a&&delete e[a.$name];k(h,d,a)};e.$setValidity=function(a,b,j){if(b){if(d(h[a],a,j),!f)c(b),e.$valid=!0,e.$invalid=!1}else{f||c(b);a:{if(b=h[a]){if(xa(b,j)!=-1)break a}else h[a]=b=[],f++,c(!1,a),
-g.$setValidity(a,!1,e);b.push(j)}e.$valid=!1;e.$invalid=!0}};e.$setDirty=function(){b.removeClass(Ta).addClass(kc);e.$dirty=!0;e.$pristine=!1}}function T(b){return s(b)||b===""||b===null||b!==b}function Ua(b,a,c,d){a.bind("blur",function(){b.$apply(function(){d.$setViewValue(Q(a.val()))})});d.$render=function(){a.val(T(d.$viewValue)?"":d.$viewValue)};var e=c.ngPattern,g,f=function(a,b){return T(b)||a.test(b)?(d.$setValidity("pattern",!0),b):(d.$setValidity("pattern",!1),w)};e&&(e.match(/^\/(.*)\/$/)?
-(e=RegExp(e.substr(1,e.length-2)),g=function(a){return f(e,a)}):g=function(a){var c=b.$eval(e);if(!c||!c.test)throw new C("Expected "+e+" to be a RegExp but was "+c);return f(c,a)},d.$formatters.push(g),d.$parsers.push(g));if(c.ngMinlength){var h=z(c.ngMinlength);g=function(a){return!T(a)&&a.length<h?(d.$setValidity("minlength",!1),w):(d.$setValidity("minlength",!0),a)};d.$parsers.push(g);d.$formatters.push(g)}if(c.ngMaxlength){var l=z(c.ngMaxlength),c=function(a){return!T(a)&&a.length>l?(d.$setValidity("maxlength",
-!1),w):(d.$setValidity("maxlength",!0),a)};d.$parsers.push(c);d.$formatters.push(c)}}function pb(b,a){b="ngClass"+b;return P(function(c,d,e){c.$watch(e[b],function(b,e){if(a===!0||c.$index%2===a)e&&b!==e&&(H(e)&&!I(e)&&(e=Za(e,function(a,b){if(a)return b})),d.removeClass(I(e)?e.join(" "):e)),H(b)&&!I(b)&&(b=Za(b,function(a,b){if(a)return b})),b&&d.addClass(I(b)?b.join(" "):b)},!0)})}if(typeof U.getAttribute==Xa)U.getAttribute=function(){};var E=function(b){return B(b)?b.toLowerCase():b},ma=function(b){return B(b)?
-b.toUpperCase():b},Ec="boolean",sc="length",tc="name",vc="object",wc="string",Xa="undefined",C=O.Error,ea=z((/msie (\d+)/.exec(E(navigator.userAgent))||[])[1]),p,la,ia=[].slice,ga=[].push,Ya=Object.prototype.toString,lc=O.angular||(O.angular={}),qa,Fb,X=["0","0","0"];F.$inject=[];va.$inject=[];Fb=ea<9?function(b){b=b.nodeName?b:b[0];return b.scopeName&&b.scopeName!="HTML"?ma(b.scopeName+":"+b.nodeName):b.nodeName}:function(b){return b.nodeName?b.nodeName:b[0].nodeName};var Ac=/[A-Z]/g,Od={full:"1.0.0rc2",
-major:1,minor:0,dot:0,codeName:"silence-absorption"},Cc=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?:\:?(\d\d)(?:\:?(\d\d)(?:\.(\d{3}))?)?)?(Z|([+-])(\d\d):?(\d\d)))?$/,Hc=/^function\s*[^\(]*\(([^\)]*)\)/m,Ic=/,/,Jc=/^\s*(_?)(.+?)\1\s*$/,Gc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Ga={},Fa="ng-"+(new Date).getTime(),Nc=1,Pd=O.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},gb=O.document.removeEventListener?function(b,a,c){b.removeEventListener(a,c,
-!1)}:function(b,a,c){b.detachEvent("on"+a,c)},Lc=/([\:\-\_]+(.))/g,Mc=/^moz([A-Z])/,ta=R.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;this.bind("DOMContentLoaded",a);R(O).bind("load",a)},toString:function(){var b=[];k(this,function(a){b.push(""+a)});return"["+b.join(", ")+"]"},eq:function(b){return b>=0?p(this[b]):p(this[this.length+b])},length:0,push:ga,sort:[].sort,splice:[].splice},Ka={};k("multiple,selected,checked,disabled,readOnly,required".split(","),function(b){Ka[E(b)]=
-b});var Db={};k("input,select,option,textarea,button,form".split(","),function(b){Db[ma(b)]=!0});k({data:Ha,inheritedData:Ja,scope:function(b){return Ja(b,"$scope")},controller:Cb,injector:function(b){return Ja(b,"$injector")},removeAttr:function(b,a){b.removeAttribute(a)},hasClass:Ia,css:function(b,a,c){a=yb(a);if(y(c))b.style[a]=c;else{var d;ea<=8&&(d=b.currentStyle&&b.currentStyle[a],d===""&&(d="auto"));d=d||b.style[a];ea<=8&&(d=d===""?w:d);return d}},attr:function(b,a,c){var d=E(a);if(Ka[d])if(y(c))c?
-(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||F).specified?d:w;else if(y(c))b.setAttribute(a,c);else if(b.getAttribute)return b=b.getAttribute(a,2),b===null?w:b},prop:function(b,a,c){if(y(c))b[a]=c;else return b[a]},text:t(ea<9?function(b,a){if(b.nodeType==1){if(s(a))return b.innerText;b.innerText=a}else{if(s(a))return b.nodeValue;b.nodeValue=a}}:function(b,a){if(s(a))return b.textContent;b.textContent=a},{$dv:""}),val:function(b,a){if(s(a))return b.value;
-b.value=a},html:function(b,a){if(s(a))return b.innerHTML;for(var c=0,d=b.childNodes;c<d.length;c++)ra(d[c]);b.innerHTML=a}},function(b,a){R.prototype[a]=function(a,d){var e,g;if((b.length==2&&b!==Ia&&b!==Cb?a:d)===w)if(H(a)){for(e=0;e<this.length;e++)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}});k({removeData:zb,dealoc:ra,bind:function a(c,d,e){var g=Ha(c,"bind");g||Ha(c,"bind",g={});k(d.split(" "),
-function(d){var h=g[d];if(!h)if(d=="mouseenter"||d=="mouseleave"){var l=g.mouseenter=ib(c),i=g.mouseleave=ib(c),j=0;a(c,"mouseover",function(a){j++;if(j==1)a.type="mouseenter",l(a)});a(c,"mouseout",function(a){j--;if(j==0)a.type="mouseleave",i(a)});h=g[d]}else h=g[d]=ib(c),Pd(c,d,h);h.fns.push(e)})},unbind:function(a,c,d){var e=Ha(a,"bind");e&&(s(c)?k(e,function(c,d){gb(a,d,c);delete e[d]}):s(d)?(gb(a,c,e[c]),delete e[c]):ya(e[c].fns,d))},replaceWith:function(a,c){var d,e=a.parentNode;ra(a);k(new R(c),
-function(c){d?e.insertBefore(c,d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=[];k(a.childNodes,function(a){a.nodeName!="#text"&&c.push(a)});return c},contents:function(a){return a.childNodes},append:function(a,c){k(new R(c),function(c){a.nodeType===1&&a.appendChild(c)})},prepend:function(a,c){if(a.nodeType===1){var d=a.firstChild;k(new R(c),function(c){d?a.insertBefore(c,d):(a.appendChild(c),d=c)})}},wrap:function(a,c){var c=p(c)[0],d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},
-remove:function(a){ra(a);var c=a.parentNode;c&&c.removeChild(a)},after:function(a,c){var d=a,e=a.parentNode;k(new R(c),function(a){e.insertBefore(a,d.nextSibling);d=a})},addClass:Bb,removeClass:Ab,toggleClass:function(a,c,d){s(d)&&(d=!Ia(a,c));(d?Bb:Ab)(a,c)},parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},next:function(a){return a.nextSibling},find:function(a,c){return a.getElementsByTagName(c)},clone:fb},function(a,c){R.prototype[c]=function(c,e){for(var g,f=0;f<this.length;f++)g==
-w?(g=a(this[f],c,e),g!==w&&(g=p(g))):eb(g,a(this[f],c,e));return g==w?this:g}});Ea.prototype={put:function(a,c){this[sa(a)]=c},get:function(a){return this[sa(a)]},remove:function(a){var c=this[a=sa(a)];delete this[a];return c}};jb.prototype={push:function(a,c){var d=this[a=sa(a)];d?d.push(c):this[a]=[c]},shift:function(a){var c=this[a=sa(a)];if(c)return c.length==1?(delete this[a],c[0]):c.shift()}};Eb.$inject=["$provide"];var Tc=/^(x[\:\-_]|data[\:\-_])/i;Hb.$inject=["$provide"];Ib.$inject=["$locale"];
-Kb.$inject=["$locale"];var Nb=".",hd={yyyy:N("FullYear",4),yy:N("FullYear",2,0,!0),y:N("FullYear",1),MMMM:Ma("Month"),MMM:Ma("Month",!0),MM:N("Month",2,1),M:N("Month",1,1),dd:N("Date",2),d:N("Date",1),HH:N("Hours",2),H:N("Hours",1),hh:N("Hours",2,-12),h:N("Hours",1,-12),mm:N("Minutes",2),m:N("Minutes",1),ss:N("Seconds",2),s:N("Seconds",1),EEEE:Ma("Day"),EEE:Ma("Day",!0),a:function(a,c){return a.getHours()<12?c.AMPMS[0]:c.AMPMS[1]},Z:function(a){a=a.getTimezoneOffset();return W(a/60,2)+W(Math.abs(a%
-60),2)}},gd=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,fd=/^\d+$/;Jb.$inject=["$locale"];var dd=A(E),ed=A(ma);Lb.$inject=["$parse"];var Qb=/^(file|ftp|http|https):\/\/(\w+:{0,1}\w*@)?([\w\.-]*)(:([0-9]+))?(\/[^\?#]*)?(\?([^#]*))?(#(.*))?$/,mc=/^([^\?#]*)?(\?([^#]*))?(#(.*))?$/,ld=mc,Rb={http:80,https:443,ftp:21};kb.prototype={$$replace:!1,absUrl:Oa("$$absUrl"),url:function(a,c){if(s(a))return this.$$url;var d=mc.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:Oa("$$protocol"),host:Oa("$$host"),port:Oa("$$port"),path:Sb("$$path",function(a){return a.charAt(0)=="/"?a:"/"+a}),search:function(a,c){if(s(a))return this.$$search;y(c)?c===null?delete this.$$search[a]:this.$$search[a]=ja(c):this.$$search=B(a)?$a(a):a;this.$$compose();return this},hash:Sb("$$hash",va),replace:function(){this.$$replace=!0;return this}};lb.prototype=Wa(kb.prototype);var Pa={"null":function(){return null},
-"true":function(){return!0},"false":function(){return!1},undefined:F,"+":function(a,c,d,e){d=d(a,c);e=e(a,c);return(y(d)?d:0)+(y(e)?e:0)},"-":function(a,c,d,e){d=d(a,c);e=e(a,c);return(y(d)?d:0)-(y(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)},"=":F,"==":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)}},qd={n:"\n",f:"\u000c",r:"\r",t:"\t",v:"\u000b","'":"'",'"':'"'},mb={},ac=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,
-$b=/^<\s*\/\s*([\w:-]+)[^>]*>/,zd=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,Bd=/^</,Ad=/^<\s*\//,Cd=/<\!--(.*?)--\>/g,Dd=/<!\[CDATA\[(.*?)]]\>/g,Gd=/^((ftp|https?):\/\/|mailto:|#)/,Ed=/([^\#-~| |!])/g,Yb=ba("area,br,col,hr,img,wbr"),ga=ba("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nc=ba("rp,rt"),Xb=t({},nc,ga),Vb=t({},ga,ba("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")),
-Wb=t({},nc,ba("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),Zb=ba("script,style"),cc=t({},Yb,Vb,Wb,Xb),dc=ba("background,cite,href,longdesc,src,usemap"),Fd=t({},dc,ba("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,span,start,summary,target,title,type,valign,value,vspace,width")),
-ob=U.createElement("pre"),Md=O.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 new C("This browser does not support XMLHttpRequest.");},Qd=A({restrict:"E",compile:function(a,c){c.href||c.$set("href","");return function(a,c){c.bind("click",function(a){c.attr("href")||a.preventDefault()})}}}),ic={};k(Ka,hc);hc(null,"src");var Sa={$addControl:F,
-$removeControl:F,$setValidity:F,$setDirty:F};jc.$inject=["$element","$attrs"];var ga={name:"form",restrict:"E",controller:jc,compile:function(){return{pre:function(a,c,d,e){d.action||c.bind("submit",function(a){a.preventDefault()});var g=c.parent().controller("form"),f=d.name||d.ngForm;f&&(a[f]=e);g&&c.bind("$destroy",function(){g.$removeControl(e);f&&(a[f]=w);t(e,Sa)})}}}},Rd=A(ga),Sd=A(t(L(ga),{restrict:"EAC"})),Td=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,
-Ud=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/,Vd=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,oc={text:Ua,number:function(a,c,d,e){Ua(a,c,d,e);e.$parsers.push(function(a){var c=T(a);return c||Vd.test(a)?(e.$setValidity("number",!0),a===""?null:c?a:parseFloat(a)):(e.$setValidity("number",!1),w)});e.$formatters.push(function(a){return T(a)?"":""+a});if(d.min){var g=parseFloat(d.min),a=function(a){return!T(a)&&a<g?(e.$setValidity("min",!1),w):(e.$setValidity("min",!0),a)};e.$parsers.push(a);e.$formatters.push(a)}if(d.max){var f=
-parseFloat(d.max),d=function(a){return!T(a)&&a>f?(e.$setValidity("max",!1),w):(e.$setValidity("max",!0),a)};e.$parsers.push(d);e.$formatters.push(d)}e.$formatters.push(function(a){return T(a)||na(a)?(e.$setValidity("number",!0),a):(e.$setValidity("number",!1),w)})},url:function(a,c,d,e){Ua(a,c,d,e);a=function(a){return T(a)||Td.test(a)?(e.$setValidity("url",!0),a):(e.$setValidity("url",!1),w)};e.$formatters.push(a);e.$parsers.push(a)},email:function(a,c,d,e){Ua(a,c,d,e);a=function(a){return T(a)||
-Ud.test(a)?(e.$setValidity("email",!0),a):(e.$setValidity("email",!1),w)};e.$formatters.push(a);e.$parsers.push(a)},radio:function(a,c,d,e){c.attr("name",d.id+"@"+d.name);c.bind("click",function(){c[0].checked&&a.$apply(function(){e.$setViewValue(d.value)})});e.$render=function(){var a=d.value;c[0].checked=y(a)&&a==e.$viewValue};d.$observe("value",e.$render)},checkbox:function(a,c,d,e){var g=d.ngTrueValue,f=d.ngFalseValue;B(g)||(g=!0);B(f)||(f=!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:f})},hidden:F,button:F,submit:F,reset:F},pc=[function(){return{restrict:"E",require:"?ngModel",link:function(a,c,d,e){e&&(oc[E(d.type)]||oc.text)(a,c,d,e)}}}],Ra="ng-valid",Qa="ng-invalid",Ta="ng-pristine",kc="ng-dirty",Wd=["$scope","$exceptionHandler","$attrs","ngModel","$element",function(a,c,d,e,g){function f(a,c){c=c?"-"+ab(c,"-"):"";g.removeClass((a?Qa:Ra)+c).addClass((a?
-Ra:Qa)+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.$render=F;this.$name=d.name;var h=g.inheritedData("$formController")||Sa,l=0,i=this.$error={};g.addClass(Ta);f(!0);this.$setValidity=function(a,c){if(i[a]!==!c){if(c){if(i[a]&&l--,!l)f(!0),this.$valid=!0,this.$invalid=!1}else f(!1),this.$invalid=!0,this.$valid=!1,l++;i[a]=!c;f(c,a);h.$setValidity(a,c,this)}};this.$setViewValue=
-function(a){this.$viewValue=a;if(this.$pristine)this.$dirty=!0,this.$pristine=!1,g.removeClass(Ta).addClass(kc),h.$setDirty();k(this.$parsers,function(c){a=c(a)});if(this.$modelValue!==a)this.$modelValue=a,e(a),k(this.$viewChangeListeners,function(a){try{a()}catch(d){c(d)}})};var j=this;a.$watch(function(){return e()},function(a){if(j.$modelValue!==a){var c=j.$formatters,d=c.length;for(j.$modelValue=a;d--;)a=c[d](a);if(j.$viewValue!==a)j.$viewValue=a,j.$render()}})}],Xd=[function(){return{inject:{ngModel:"accessor"},
-require:["ngModel","^?form"],controller:Wd,link:function(a,c,d,e){var g=e[0],f=e[1]||Sa;f.$addControl(g);c.bind("$destroy",function(){f.$removeControl(g)})}}}],Yd=A({require:"ngModel",link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),Zd=["$browser",function(a){return{require:"ngModel",link:function(c,d,e,g){var f=function(){c.$apply(function(){g.$setViewValue(Q(d.val()))})},h;d.bind("keydown",function(c){c=c.keyCode;c===91||15<c&&c<19||37<=c&&c<=40||h||(h=a.defer(function(){f();
-h=null}))});d.bind("change input",f)}}}],qc=[function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){var g=function(a){if(d.required&&(T(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)})}}}}],$d=function(){return{require:"ngModel",link:function(a,c,d,e){var g=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||d.ngList||",",f=function(a){var c=[];a&&k(a.split(g),function(a){a&&
-c.push(Q(a))});return c};e.$parsers.push(f);e.$formatters.push(function(a){return I(a)&&!da(f(e.$viewValue),a)?a.join(", "):w})}}},ae=P(function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBind);a.$watch(d.ngBind,function(a){c.text(a==w?"":a)})}),be=P(function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBindHtmlUnsafe);a.$watch(d.ngBindHtmlUnsafe,function(a){c.html(a==w?"":a)})}),ce=["$sanitize",function(a){return function(c,d,e){d.addClass("ng-binding").data("$binding",e.ngBindHtml);
-c.$watch(e.ngBindHtml,function(c){(c=a(c))&&d.html(c)})}}],de=["$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)})}}],ee=["$interpolate",function(a){return function(c,d,e){var g={},f={};c.$watch(function(){var d=c.$eval(e.ngBindAttr),l;for(l in d){var i=d[l],i=(f[i]||(f[d[l]]=a(i)))(c);g[l]!==i&&e.$set(l,g[l]=i)}})}}],fe=pb("",!0),ge=pb("Odd",0),he=pb("Even",1),ie=P({compile:function(a,
-c){c.$set("ngCloak",w);a.removeClass("ng-cloak")}}),je=["$controller","$window",function(){return{scope:!0,controller:"@"}}],rc={};k("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave".split(" "),function(a){var c=$("ng-"+a);rc[c]=["$parse",function(d){return function(e,g,f){var h=d(f[c]);g.bind(E(a),function(a){e.$apply(function(){h(e,{$event:a})})})}}]});var ke=P(function(a,c,d){c.bind("submit",function(){a.$apply(d.ngSubmit)})}),le=["$http","$templateCache","$anchorScroll",
-"$compile",function(a,c,d,e){return{restrict:"EA",compile:function(g,f){var h=f.ngInclude||f.src,l=f.scope||"",i=f.onload||"",j=f.autoscroll;return function(f,g){function k(){v++}var v=0,r;f.$watch(h,k);f.$watch(function(){var a=f.$eval(l);if(a)return a.$id},k);f.$watch(function(){return v},function(k){function o(){k===v&&(r&&r.$destroy(),r=null,g.html(""))}var p=f.$eval(h),q=f.$eval(l);p?a.get(p,{cache:c}).success(function(a){k===v&&(g.html(a),r&&r.$destroy(),r=q?q:f.$new(),e(g.contents())(r),y(j)&&
-(!j||f.$eval(j))&&d(),f.$emit("$includeContentLoaded"),f.$eval(i))}).error(o):o()})}}}}],me=P({compile:function(){return{pre:function(a,c,d){a.$eval(d.ngInit)}}}}),ne=P({terminal:!0,priority:1E3}),oe=["$locale","$interpolate",function(a,c){var d=/{}/g;return{restrict:"EA",link:function(e,g,f){var h=f.count,l=g.attr(f.$attr.when),i=f.offset||0,j=e.$eval(l),m={};k(j,function(a,e){m[e]=c(a.replace(d,"{{"+h+"-"+i+"}}"))});e.$watch(function(){var c=parseFloat(e.$eval(h));return isNaN(c)?"":(j[c]||(c=a.pluralCat(c-
-i)),m[c](e,g,!0))},function(a){g.text(a)})}}}],pe=P({transclude:"element",priority:1E3,terminal:!0,compile:function(a,c,d){return function(a,c,f){var h=f.ngRepeat,f=h.match(/^\s*(.+)\s+in\s+(.*)\s*$/),l,i,j;if(!f)throw C("Expected ng-repeat in form of '_item_ in _collection_' but got '"+h+"'.");h=f[1];l=f[2];f=h.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/);if(!f)throw C("'item' in 'item in collection' should be identifier or (key, value) but got '"+h+"'.");i=f[3]||f[1];j=f[2];var m=new jb;
-a.$watch(function(a){var e,f,h=a.$eval(l),k=xc(h,!0),p,w=new jb,q,t,x,s,y=c;if(I(h))x=h||[];else{x=[];for(q in h)h.hasOwnProperty(q)&&q.charAt(0)!="$"&&x.push(q);x.sort()}e=0;for(f=x.length;e<f;e++){q=h===x?e:x[e];t=h[q];if(s=m.shift(t)){p=s.scope;w.push(t,s);if(e!==s.index)s.index=e,y.after(s.element);y=s.element}else p=a.$new();p[i]=t;j&&(p[j]=q);p.$index=e;p.$position=e===0?"first":e==k-1?"last":"middle";s||d(p,function(a){y.after(a);s={scope:p,element:y=a,index:e};w.push(t,s)})}for(q in m)if(m.hasOwnProperty(q))for(x=
-m[q];x.length;)t=x.pop(),t.element.remove(),t.scope.$destroy();m=w})}}}),qe=P(function(a,c,d){a.$watch(d.ngShow,function(a){c.css("display",Aa(a)?"":"none")})}),re=P(function(a,c,d){a.$watch(d.ngHide,function(a){c.css("display",Aa(a)?"none":"")})}),se=P(function(a,c,d){a.$watch(d.ngStyle,function(a,d){d&&a!==d&&k(d,function(a,d){c.css(d,"")});a&&c.css(a)},!0)}),te=A({restrict:"EA",compile:function(a,c){var d=c.ngSwitch||c.on,e={};a.data("ng-switch",e);return function(a,f){var h,l,i;a.$watch(d,function(d){l&&
-(i.$destroy(),l.remove(),l=i=null);if(h=e["!"+d]||e["?"])a.$eval(c.change),i=a.$new(),h(i,function(a){l=a;f.append(a)})})}}}),ue=P({transclude:"element",priority:500,compile:function(a,c,d){a=a.inheritedData("ng-switch");oa(a);a["!"+c.ngSwitchWhen]=d}}),ve=P({transclude:"element",priority:500,compile:function(a,c,d){a=a.inheritedData("ng-switch");oa(a);a["?"]=d}}),we=P({controller:["$transclude","$element",function(a,c){a(function(a){c.append(a)})}]}),xe=["$http","$templateCache","$route","$anchorScroll",
-"$compile","$controller",function(a,c,d,e,g,f){return{restrict:"ECA",terminal:!0,link:function(h,l,i){var j=0,k,n=i.onload||"";h.$on("$afterRouteChange",function(){j++});h.$watch(function(){return j},function(i){function v(){i==j&&l.html("");k&&(k.$destroy(),k=null)}var r=d.current&&d.current.template;r?a.get(r,{cache:c}).success(function(a){if(i==j){l.html(a);k&&(k.$destroy(),k=null);var a=g(l.contents()),c=d.current;k=c.scope=h.$new();c.controller&&l.contents().data("$ngControllerController",f(c.controller,
-{$scope:k}));a(k);k.$emit("$viewContentLoaded");k.$eval(n);e()}}).error(v):v()})}}}],ye=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(c,d){d.type=="text/ng-template"&&a.put(d.id,c.text())}}}],ze=A({terminal:!0}),Ae=["$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+(.*)$/;return{restrict:"E",require:"?ngModel",link:function(e,g,f,
-h){function l(a,c,d){d.$render=function(){c.val(d.$viewValue)};c.bind("change",function(){a.$apply(function(){d.$setViewValue(c.val())})})}function i(a,c,d){var e;d.$render=function(){var a=new Ea(d.$viewValue);k(c.children(),function(c){c.selected=y(a.get(c.value))})};a.$watch(function(){da(e,d.$viewValue)||(e=L(d.$viewValue),d.$render())});c.bind("change",function(){a.$apply(function(){var a=[];k(c.children(),function(c){c.selected&&a.push(c.value)});d.$setViewValue(a)})})}function j(e,f,g){function h(){var a=
-{"":[]},c=[""],d,i,k,n,p;k=g.$modelValue;n=y(e)||[];var C=o?qb(n):n,G,z,D;z={};p=!1;var H,I;if(m)p=new Ea(k);else if(k===null||A)a[""].push({selected:k===null,id:"",label:""}),p=!0;for(D=0;G=C.length,D<G;D++){z[l]=n[o?z[o]=C[D]:D];d=t(e,z)||"";if(!(i=a[d]))i=a[d]=[],c.push(d);m?d=p.remove(s(e,z))!=w:(d=k===s(e,z),p=p||d);i.push({id:o?C[D]:D,label:j(e,z)||"",selected:d})}!m&&!p&&a[""].unshift({id:"?",label:"",selected:!0});z=0;for(C=c.length;z<C;z++){d=c[z];i=a[d];if(B.length<=z)k={element:F.clone().attr("label",
-d),label:i.label},n=[k],B.push(n),f.append(k.element);else if(n=B[z],k=n[0],k.label!=d)k.element.attr("label",k.label=d);H=null;D=0;for(G=i.length;D<G;D++)if(d=i[D],p=n[D+1]){H=p.element;if(p.label!==d.label)H.text(p.label=d.label);if(p.id!==d.id)H.val(p.id=d.id);if(p.element.selected!==d.selected)H.prop("selected",p.selected=d.selected)}else d.id===""&&A?I=A:(I=E.clone()).val(d.id).attr("selected",d.selected).text(d.label),n.push({element:I,label:d.label,id:d.id,selected:d.selected}),H?H.after(I):
-k.element.append(I),H=I;for(D++;n.length>D;)n.pop().element.remove()}for(;B.length>z;)B.pop()[0].element.remove()}var i;if(!(i=n.match(d)))throw C("Expected ng-options in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '"+n+"'.");var j=c(i[2]||i[1]),l=i[4]||i[6],o=i[5],t=c(i[3]||""),s=c(i[2]?i[1]:l),y=c(i[7]),E=p(U.createElement("option")),F=p(U.createElement("optgroup")),A=!1,B=[[{element:f,label:""}]];k(f.children(),function(c){c.value==""&&(A=p(c).remove(),a(A)(e))});
-f.html("");f.bind("change",function(){e.$apply(function(){var a,c=y(e)||[],d={},h,i,j,k,n,p;if(m){i=[];k=0;for(p=B.length;k<p;k++){a=B[k];j=1;for(n=a.length;j<n;j++)if((h=a[j].element)[0].selected)h=h.val(),o&&(d[o]=h),d[l]=c[h],i.push(s(e,d))}}else h=f.val(),h=="?"?i=w:h==""?i=null:(d[l]=c[h],o&&(d[o]=h),i=s(e,d));g.$setViewValue(i)})});g.$render=h;e.$watch(h)}if(h){var m=f.multiple,n=f.ngOptions;if(m&&(f.required||f.ngRequired)){var o=function(a){h.$setValidity("required",!f.required||a&&a.length);
-return a};h.$parsers.push(o);h.$formatters.unshift(o);f.$observe("required",function(){o(h.$viewValue)})}n?j(e,g,h):m?i(e,g,h):l(e,g,h)}}}}],Be=["$interpolate",function(a){return{restrict:"E",priority:100,compile:function(c,d){if(s(d.value)){var e=a(c.text(),!0);if(e)return function(a,c,d){a.$watch(e,function(a){d.$set("value",a)})};else d.$set("value",c.text())}}}}],Ce=A({restrict:"E",terminal:!0});(la=O.jQuery)?(p=la,t(la.fn,{scope:ta.scope,controller:ta.controller,injector:ta.injector,inheritedData:ta.inheritedData}),
-db("remove",!0),db("empty"),db("html")):p=R;lc.element=p;(function(a){t(a,{bootstrap:ub,copy:L,extend:t,equals:da,element:p,forEach:k,injector:vb,noop:F,bind:za,toJson:ca,fromJson:cb,identity:va,isUndefined:s,isDefined:y,isString:B,isFunction:G,isObject:H,isNumber:na,isElement:sb,isArray:I,version:Od,isDate:ha,lowercase:E,uppercase:ma,callbacks:{counter:0}});qa=Bc(O);try{qa("ngLocale")}catch(c){qa("ngLocale",[]).provider("$locale",Nd)}qa("ng",["ngLocale"],["$provide",function(a){a.provider("$compile",
-Eb).directive({a:Qd,input:pc,textarea:pc,form:Rd,script:ye,select:Ae,style:Ce,option:Be,ngBind:ae,ngBindHtml:ce,ngBindHtmlUnsafe:be,ngBindTemplate:de,ngBindAttr:ee,ngClass:fe,ngClassEven:he,ngClassOdd:ge,ngCloak:ie,ngController:je,ngForm:Sd,ngHide:re,ngInclude:le,ngInit:me,ngNonBindable:ne,ngPluralize:oe,ngRepeat:pe,ngShow:qe,ngSubmit:ke,ngStyle:se,ngSwitch:te,ngSwitchWhen:ue,ngSwitchDefault:ve,ngOptions:ze,ngView:xe,ngTransclude:we,ngModel:Xd,ngList:$d,ngChange:Yd,ngModelInstant:Zd,required:qc,ngRequired:qc}).directive(ic).directive(rc);
-a.provider({$anchorScroll:Oc,$browser:Qc,$cacheFactory:Rc,$controller:Uc,$cookies:Wc,$cookieStore:Vc,$defer:Xc,$document:Yc,$exceptionHandler:Zc,$filter:Hb,$interpolate:id,$http:Jd,$httpBackend:Kd,$location:md,$log:nd,$parse:rd,$resource:od,$route:ud,$routeParams:vd,$rootScope:wd,$q:sd,$sanitize:xd,$sniffer:Hd,$templateCache:Sc,$window:Id})}])})(lc);R(U).ready(function(){zc(U,ub)})})(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>');
157 lib/node-angular/templates/public/javascripts/vendor/angular-1.0.1.min.js
View
@@ -0,0 +1,157 @@
+/*
+ AngularJS v1.0.1
+ (c) 2010-2012 Google, Inc. http://angularjs.org
+ License: MIT
+ */
+(function(T,aa,p){'use strict';function m(b,a,c){var d;if(b)if(M(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!==m)b.forEach(a,c);else if(J(b)&&va(b.length))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 kb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function dc(b,a,c){for(var d=kb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}
+ function lb(b){return function(a,c){b(c,a)}}function wa(){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 D(b){m(arguments,function(a){a!==b&&m(a,function(a,d){b[d]=a})});return b}function H(b){return parseInt(b,10)}function xa(b,a){return D(new (D(function(){},{prototype:b})),a)}function x(){}function ya(b){return b}function B(b){return function(){return b}}
+ function v(b){return typeof b=="undefined"}function s(b){return typeof b!="undefined"}function J(b){return b!=null&&typeof b=="object"}function G(b){return typeof b=="string"}function va(b){return typeof b=="number"}function ma(b){return Sa.apply(b)=="[object Date]"}function K(b){return Sa.apply(b)=="[object Array]"}function M(b){return typeof b=="function"}function na(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function Q(b){return G(b)?b.replace(/^\s*/,"").replace(/\s*$/,""):b}function ec(b){return b&&
+ (b.nodeName||b.bind&&b.find)}function Ta(b,a,c){var d=[];m(b,function(b,g,h){d.push(a.call(c,b,g,h))});return d}function fc(b,a){var c=0,d;if(K(b)||G(b))return b.length;else if(J(b))for(d in b)(!a||b.hasOwnProperty(d))&&c++;return c}function Ua(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 za(b,a){var c=Ua(b,a);c>=0&&b.splice(c,1);return a}function U(b,a){if(na(b)||b&&b.$evalAsync&&b.$watch)throw z("Can't copy Window or Scope");if(a){if(b===
+ a)throw z("Can't copy equivalent objects or arrays");if(K(b)){for(;a.length;)a.pop();for(var c=0;c<b.length;c++)a.push(U(b[c]))}else for(c in m(a,function(b,c){delete a[c]}),b)a[c]=U(b[c])}else(a=b)&&(K(b)?a=U(b,[]):ma(b)?a=new Date(b.getTime()):J(b)&&(a=U(b,{})));return a}function gc(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(K(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(ma(b))return ma(a)&&b.getTime()==a.getTime();else{if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||na(b)||na(a))return!1;c={};for(d in b){if(d.charAt(0)!=="$"&&!M(b[d])&&!fa(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c[d]&&d.charAt(0)!=="$"&&!M(a[d]))return!1;return!0}return!1}function Va(b,a){var c=arguments.length>2?ga.call(arguments,2):[];return M(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 hc(b,a){var c=a;/^\$+/.test(b)?c=p:na(a)?c="$WINDOW":a&&aa===a?c="$DOCUMENT":a&&a.$evalAsync&&a.$watch&&(c="$SCOPE");return c}function ba(b,a){return JSON.stringify(b,hc,a?" ":null)}function mb(b){return G(b)?JSON.parse(b):b}function Wa(b){b&&b.length!==0?(b=C(""+b),b=!(b=="f"||b=="0"||b=="false"||b=="no"||b=="n"||b=="[]")):b=!1;
+ return b}function oa(b){b=u(b).clone();try{b.html("")}catch(a){}return u("<div>").append(b).html().match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+C(b)})}function Xa(b){var a={},c,d;m((b||"").split("&"),function(b){b&&(c=b.split("="),d=decodeURIComponent(c[0]),a[d]=s(c[1])?decodeURIComponent(c[1]):!0)});return a}function nb(b){var a=[];m(b,function(b,d){a.push(Ya(d,!0)+(b===!0?"":"="+Ya(b,!0)))});return a.length?a.join("&"):""}function Za(b){return Ya(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,
+ "=").replace(/%2B/gi,"+")}function Ya(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(a?null:/%20/g,"+")}function ic(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/;m(h,function(a){h[a]=!0;c(aa.getElementById(a));a=a.replace(":","\\:");b.querySelectorAll&&(m(b.querySelectorAll("."+a),c),m(b.querySelectorAll("."+a+"\\:"),c),m(b.querySelectorAll("["+
+ a+"]"),c))});m(d,function(a){if(!e){var b=f.exec(" "+a.className+" ");b?(e=a,g=(b[2]||"").replace(/\s+/g,",")):m(a.attributes,function(b){if(!e&&h[b.name])e=a,g=b.value})}});e&&a(e,g?[g]:[])}function ob(b,a){b=u(b);a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);a.unshift("ng");var c=pb(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(jc,
+ function(b,d){return(d?a:"")+b.toLowerCase()})}function pa(b,a,c){if(!b)throw new z("Argument '"+(a||"?")+"' is "+(c||"required"));return b}function qa(b,a,c){c&&K(b)&&(b=b[b.length-1]);pa(M(b),a,"not a function, got "+(b&&typeof b=="object"?b.constructor.name||"Object":typeof b));return b}function kc(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 z("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 qb(b){return b.replace(lc,function(a,b,d,e){return e?d.toUpperCase():d}).replace(mc,"Moz$1")}function ab(b,a){function c(){var e;for(var b=[this],c=a,h,f,i,j,k,l,n;b.length;){h=b.shift();f=0;for(i=h.length;f<i;f++){j=u(h[f]);c?(n=(k=j.data("events"))&&k.$destroy)&&m(n,function(a){a.handler()}):c=!c;k=0;for(e=(l=j.children()).length,j=e;k<j;k++)b.push(ha(l[k]))}}return d.apply(this,arguments)}var d=ha.fn[b],d=d.$original||d;c.$original=d;ha.fn[b]=c}function P(b){if(b instanceof
+ P)return b;if(!(this instanceof P)){if(G(b)&&b.charAt(0)!="<")throw z("selectors not implemented");return new P(b)}if(G(b)){var a=aa.createElement("div");a.innerHTML="<div>&nbsp;</div>"+b;a.removeChild(a.firstChild);bb(this,a.childNodes);this.remove()}else bb(this,b)}function cb(b){return b.cloneNode(!0)}function ra(b){rb(b);for(var a=0,b=b.childNodes||[];a<b.length;a++)ra(b[a])}function sb(b,a,c){var d=ca(b,"events");ca(b,"handle")&&(v(a)?m(d,function(a,c){tb(b,c,a);delete d[c]}):v(c)?(tb(b,a,d[a]),
+ delete d[a]):za(d[a],c))}function rb(b){var a=b[Aa],c=Ba[a];c&&(c.handle&&(c.events.$destroy&&c.handle({},"$destroy"),sb(b)),delete Ba[a],b[Aa]=p)}function ca(b,a,c){var d=b[Aa],d=Ba[d||-1];if(s(c))d||(b[Aa]=d=++nc,d=Ba[d]={}),d[a]=c;else return d&&d[a]}function ub(b,a,c){var d=ca(b,"data"),e=s(c),g=!e&&s(a),h=g&&!J(a);!d&&!h&&ca(b,"data",d={});if(e)d[a]=c;else if(g)if(h)return d&&d[a];else D(d,a);else return d}function Ca(b,a){return(" "+b.className+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" ")>
+ -1}function vb(b,a){a&&m(a.split(" "),function(a){b.className=Q((" "+b.className+" ").replace(/[\n\t]/g," ").replace(" "+Q(a)+" "," "))})}function wb(b,a){a&&m(a.split(" "),function(a){if(!Ca(b,a))b.className=Q(b.className+" "+Q(a))})}function bb(b,a){if(a)for(var a=!a.nodeName&&s(a.length)&&!na(a)?a:[a],c=0;c<a.length;c++)b.push(a[c])}function xb(b,a){return Da(b,"$"+(a||"ngController")+"Controller")}function Da(b,a,c){b=u(b);for(b[0].nodeType==9&&(b=b.find("html"));b.length;){if(c=b.data(a))return c;
+ b=b.parent()}}function yb(b,a){var c=Ea[a.toLowerCase()];return c&&zb[b.nodeName]&&c}function oc(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||aa;if(v(c.defaultPrevented)){var g=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;g.call(c)};c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented};m(a[e||c.type],
+ function(a){a.call(b,c)});Z<=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 ia(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=wa()}else c=b;return a+":"+c}function Fa(b){m(b,this.put,this)}function db(){}function Ab(b){var a,c;if(typeof b=="function"){if(!(a=b.$inject))a=[],c=b.toString().replace(pc,
+ ""),c=c.match(qc),m(c[1].split(rc),function(b){b.replace(sc,function(b,c,d){a.push(d)})}),b.$inject=a}else K(b)?(c=b.length-1,qa(b[c],"fn"),a=b.slice(0,c)):qa(b,"fn",!0);return a}function pb(b){function a(a){return function(b,c){if(J(b))m(b,lb(a));else return a(b,c)}}function c(a,b){M(b)&&(b=l.instantiate(b));if(!b.$get)throw z("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=[];m(a,function(a){if(!j.get(a))if(j.put(a,!0),
+ G(a)){var c=sa(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=g[0]=="$injector"?l:l.get(g[0]);i[g[1]].apply(i,g[2])}}catch(h){throw h.message&&(h.message+=" from "+a),h;}}else if(M(a))try{b.push(l.invoke(a))}catch(o){throw o.message&&(o.message+=" from "+a),o;}else if(K(a))try{b.push(l.invoke(a))}catch(n){throw n.message&&(n.message+=" from "+String(a[a.length-1])),n;}else qa(a,"module")});return b}function g(a,b){function c(d){if(typeof d!==
+ "string")throw z("Service name expected");if(a.hasOwnProperty(d)){if(a[d]===h)throw z("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=[],g=Ab(a),j,h,o;h=0;for(j=g.length;h<j;h++)o=g[h],f.push(e&&e.hasOwnProperty(o)?e[o]:c(o,i));a.$inject||(a=a[j]);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=(K(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return J(e)?e:c},get:c,annotate:Ab}}var h=
+ {},f="Provider",i=[],j=new Fa,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,B(b))}),constant:a(function(a,b){k[a]=b;n[a]=b}),decorator:function(a,b){var c=l.get(a+f),d=c.$get;c.$get=function(){var a=r.invoke(d,c);return r.invoke(b,null,{$delegate:a})}}}},l=g(k,function(){throw z("Unknown provider: "+i.join(" <- "));}),n={},r=n.$injector=g(n,function(a){a=l.get(a+f);return r.invoke(a.$get,
+ a)});m(e(b),function(a){r.invoke(a||x)});return r}function tc(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;m(a,function(a){!b&&C(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 uc(b,a,c,d){function e(a){try{a.apply(null,ga.call(arguments,1))}finally{if(o--,o===0)for(;w.length;)try{w.pop()()}catch(b){c.error(b)}}}function g(a,b){(function da(){m(q,function(a){a()});t=b(da,a)})()}function h(){X!=f.url()&&(X=f.url(),m(y,function(a){a(f.url())}))}var f=this,i=a[0],j=b.location,k=b.history,l=b.setTimeout,n=b.clearTimeout,r={};f.isMock=!1;var o=0,w=[];f.$$completeOutstandingRequest=e;f.$$incOutstandingRequestCount=function(){o++};f.notifyWhenNoOutstandingRequests=
+ function(a){m(q,function(a){a()});o===0?a():w.push(a)};var q=[],t;f.addPollFn=function(a){v(t)&&g(100,l);q.push(a);return a};var X=j.href,A=a.find("base");f.url=function(a,b){if(a){if(X!=a)return X=a,d.history?b?k.replaceState(null,"",a):(k.pushState(null,"",a),A.attr("href",A.attr("href"))):b?j.replace(a):j.href=a,f}else return j.href.replace(/%27/g,"'")};var y=[],L=!1;f.onUrlChange=function(a){L||(d.history&&u(b).bind("popstate",h),d.hashchange?u(b).bind("hashchange",h):f.addPollFn(h),L=!0);y.push(a);
+ return a};f.baseHref=function(){var a=A.attr("href");return a?a.replace(/^https?\:\/\/[^\/]*/,""):a};var V={},I="",N=f.baseHref();f.cookies=function(a,b){var d,e,f,g;if(a)if(b===p)i.cookie=escape(a)+"=;path="+N+";expires=Thu, 01 Jan 1970 00:00:00 GMT";else{if(G(b))d=(i.cookie=escape(a)+"="+escape(b)+";path="+N).length+1,d>4096&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"),V.length>20&&c.warn("Cookie '"+a+"' possibly not set or overflowed because too many cookies were already set ("+
+ V.length+" > 20 )")}else{if(i.cookie!==I){I=i.cookie;d=I.split("; ");V={};for(f=0;f<d.length;f++)e=d[f],g=e.indexOf("="),g>0&&(V[unescape(e.substring(0,g))]=unescape(e.substring(g+1)))}return V}};f.defer=function(a,b){var c;o++;c=l(function(){delete r[c];e(a)},b||0);r[c]=!0;return c};f.defer.cancel=function(a){return r[a]?(delete r[a],n(a),e(x),!0):!1}}function vc(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new uc(b,d,a,c)}]}function wc(){this.$get=function(){function b(b,
+ d){function e(a){if(a!=l){if(n){if(n==a)n=a.n}else n=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 z("cacheId "+b+" taken");var h=0,f=D({},d,{id:b}),i={},j=d&&d.capacity||Number.MAX_VALUE,k={},l=null,n=null;return a[b]={put:function(a,b){var c=k[a]||(k[a]={key:a});e(c);v(b)||(a in i||h++,i[a]=b,h>j&&this.remove(n.key))},get:function(a){var b=k[a];if(b)return e(b),i[a]},remove:function(a){var b=k[a];if(b==l)l=b.p;if(b==n)n=b.n;g(b.n,b.p);delete k[a];
+ delete i[a];h--},removeAll:function(){i={};h=0;k={};l=n=null},destroy:function(){k=f=i=null;delete a[b]},info:function(){return D({},f,{size:h})}}}var a={};b.info=function(){var b={};m(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function xc(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function Bb(b){var a={},c="Directive",d=/^\s*directive\:\s*([\d\w\-_]+)\s+(.*)$/,e=/(([\d\w\-_]+)(?:\:([^;]+))?;?)/,g="Template must have exactly one root element. was: ";
+ this.directive=function f(d,e){G(d)?(pa(e,"directive"),a.hasOwnProperty(d)||(a[d]=[],b.factory(d+c,["$injector","$exceptionHandler",function(b,c){var e=[];m(a[d],function(a){try{var f=b.invoke(a);if(M(f))f={compile:B(f)};else if(!f.compile&&f.link)f.compile=B(f.link);f.priority=f.priority||0;f.name=f.name||d;f.require=f.require||f.controller&&f.name;f.restrict=f.restrict||"A";e.push(f)}catch(g){c(g)}});return e}])),a[d].push(e)):m(d,lb(f));return this};this.$get=["$injector","$interpolate","$exceptionHandler",
+ "$http","$templateCache","$parse","$controller","$rootScope",function(b,i,j,k,l,n,r,o){function w(a,b,c){a instanceof u||(a=u(a));m(a,function(b,c){b.nodeType==3&&(a[c]=u(b).wrap("<span>").parent()[0])});var d=t(a,b,a,c);return function(b,c){pa(b,"scope");var e=c?ta.clone.call(a):a;e.data("$scope",b);q(e,"ng-scope");c&&c(e,b);d&&d(b,e,e);return e}}function q(a,b){try{a.addClass(b)}catch(c){}}function t(a,b,c,d){function e(a,c,d,g){for(var j,i,n,k,l,o=0,r=0,q=f.length;o<q;r++)n=c[r],j=f[o++],i=f[o++],
+ j?(j.scope?(k=a.$new(J(j.scope)),u(n).data("$scope",k)):k=a,(l=j.transclude)||!g&&b?j(i,k,n,d,function(b){return function(c){var d=a.$new();return b(d,c).bind("$destroy",Va(d,d.$destroy))}}(l||b)):j(i,k,n,p,g)):i&&i(a,n.childNodes,p,g)}for(var f=[],g,j,i,n=0;n<a.length;n++)j=new da,g=X(a[n],[],j,d),j=(g=g.length?A(g,a[n],j,b,c):null)&&g.terminal?null:t(a[n].childNodes,g?g.transclude:b),f.push(g),f.push(j),i=i||g||j;return i?e:null}function X(a,b,c,f){var g=c.$attr,j;switch(a.nodeType){case 1:y(b,
+ ea(Cb(a).toLowerCase()),"E",f);var i,n,k;j=a.attributes;for(var l=0,o=j&&j.length;l<o;l++)if(i=j[l],i.specified)n=i.name,k=ea(n.toLowerCase()),g[k]=n,c[k]=i=Q(Z&&n=="href"?decodeURIComponent(a.getAttribute(n,2)):i.value),yb(a,k)&&(c[k]=!0),W(a,b,i,k),y(b,k,"A",f);a=a.className;if(G(a))for(;j=e.exec(a);)k=ea(j[2]),y(b,k,"C",f)&&(c[k]=Q(j[3])),a=a.substr(j.index+j[0].length);break;case 3:F(b,a.nodeValue);break;case 8:try{if(j=d.exec(a.nodeValue))k=ea(j[1]),y(b,k,"M",f)&&(c[k]=Q(j[2]))}catch(r){}}b.sort(I);
+ return b}function A(a,b,c,d,e){function f(a,b){if(a)a.require=E.require,o.push(a);if(b)b.require=E.require,t.push(b)}function i(a,b){var c,d="data",e=!1;if(G(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 z("No controller: "+a);}else K(a)&&(c=[],m(a,function(a){c.push(i(a,b))}));return c}function k(a,d,e,f,g){var l,q,w,L,Ha;l=b===e?c:gc(c,new da(u(e),c.$attr));q=l.$$element;if(A&&J(A.scope)){var yc=/^\s*([@=&])\s*(\w*)\s*$/,
+ ja=d.$parent||d;m(A.scope,function(a,b){var c=a.match(yc)||[],e=c[2]||b,f,g,j;switch(c[1]){case "@":l.$observe(e,function(a){d[b]=a});l.$$observers[e].$$scope=ja;break;case "=":g=n(l[e]);j=g.assign||function(){f=d[b]=g(ja);throw z(Db+l[e]+" (directive: "+A.name+")");};f=d[b]=g(ja);d.$watch(function(){var a=g(ja);a!==d[b]&&(a!==f?f=d[b]=a:j(ja,f=d[b]));return a});break;case "&":g=n(l[e]);d[b]=function(a){return g(ja,a)};break;default:throw z("Invalid isolate scope definition for directive "+A.name+
+ ": "+a);}})}s&&m(s,function(a){var b={$scope:d,$element:q,$attrs:l,$transclude:g};Ha=a.controller;Ha=="@"&&(Ha=l[a.name]);q.data("$"+a.name+"Controller",r(Ha,b))});f=0;for(w=o.length;f<w;f++)try{L=o[f],L(d,q,l,L.require&&i(L.require,q))}catch(y){j(y,oa(q))}a&&a(d,e.childNodes,p,g);f=0;for(w=t.length;f<w;f++)try{L=t[f],L(d,q,l,L.require&&i(L.require,q))}catch(X){j(X,oa(q))}}for(var l=-Number.MAX_VALUE,o=[],t=[],A=null,y=null,I=null,F=c.$$element=u(b),E,W,$,x,v=d,s,D,B,C=0,H=a.length;C<H;C++){E=a[C];
+ $=p;if(l>E.priority)break;if(B=E.scope)N("isolated scope",y,E,F),J(B)&&(q(F,"ng-isolate-scope"),y=E),q(F,"ng-scope"),A=A||E;W=E.name;if(B=E.controller)s=s||{},N("'"+W+"' controller",s[W],E,F),s[W]=E;if(B=E.transclude)N("transclusion",x,E,F),x=E,l=E.priority,B=="element"?($=u(b),F=c.$$element=u("<\!-- "+W+": "+c[W]+" --\>"),b=F[0],Ga(e,u($[0]),b),v=w($,d,l)):($=u(cb(b)).contents(),F.html(""),v=w($,d));if(B=E.template)if(N("template",I,E,F),I=E,$=u("<div>"+Q(B)+"</div>").contents(),b=$[0],E.replace){if($.length!=
+ 1||b.nodeType!==1)throw new z(g+B);Ga(e,F,b);W={$attr:{}};a=a.concat(X(b,a.splice(C+1,a.length-(C+1)),W));L(c,W);H=a.length}else F.html(B);if(E.templateUrl)N("template",I,E,F),I=E,k=V(a.splice(C,a.length-C),k,F,c,e,E.replace,v),H=a.length;else if(E.compile)try{D=E.compile(F,c,v),M(D)?f(null,D):D&&f(D.pre,D.post)}catch(O){j(O,oa(F))}if(E.terminal)k.terminal=!0,l=Math.max(l,E.priority)}k.scope=A&&A.scope;k.transclude=x&&v;return k}function y(d,e,g,i){var n=!1;if(a.hasOwnProperty(e))for(var k,e=b.get(e+
+ c),l=0,o=e.length;l<o;l++)try{if(k=e[l],(i===p||i>k.priority)&&k.restrict.indexOf(g)!=-1)d.push(k),n=!0}catch(r){j(r)}return n}function L(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;m(a,function(d,e){e.charAt(0)!="$"&&(b[e]&&(d+=(e==="style"?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});m(b,function(b,f){f=="class"?(q(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):f=="style"?e.attr("style",e.attr("style")+";"+b):f.charAt(0)!="$"&&!a.hasOwnProperty(f)&&(a[f]=b,d[f]=c[f])})}function V(a,b,c,d,e,f,j){var i=
+ [],n,o,r=c[0],q=a.shift(),w=D({},q,{controller:null,templateUrl:null,transclude:null});c.html("");k.get(q.templateUrl,{cache:l}).success(function(k){var l,q;if(f){q=u("<div>"+Q(k)+"</div>").contents();l=q[0];if(q.length!=1||l.nodeType!==1)throw new z(g+k);k={$attr:{}};Ga(e,c,l);X(l,a,k);L(d,k)}else l=r,c.html(k);a.unshift(w);n=A(a,c,d,j);for(o=t(c.contents(),j);i.length;){var m=i.pop(),k=i.pop();q=i.pop();var y=i.pop(),I=l;q!==r&&(I=cb(l),Ga(k,u(q),I));n(function(){b(o,y,I,e,m)},y,I,e,m)}i=null}).error(function(a,
+ b,c,d){throw z("Failed to load template: "+d.url);});return function(a,c,d,e,f){i?(i.push(c),i.push(d),i.push(e),i.push(f)):n(function(){b(o,c,d,e,f)},c,d,e,f)}}function I(a,b){return b.priority-a.priority}function N(a,b,c,d){if(b)throw z("Multiple directives ["+b.name+", "+c.name+"] asking for "+a+" on: "+oa(d));}function F(a,b){var c=i(b,!0);c&&a.push({priority:0,compile:B(function(a,b){var d=b.parent(),e=d.data("$binding")||[];e.push(c);q(d.data("$binding",e),"ng-binding");a.$watch(c,function(a){b[0].nodeValue=
+ a})})})}function W(a,b,c,d){var e=i(c,!0);e&&b.push({priority:100,compile:B(function(a,b,c){b=c.$$observers||(c.$$observers={});d==="class"&&(e=i(c[d],!0));c[d]=p;(b[d]||(b[d]=[])).$$inter=!0;(c.$$observers&&c.$$observers[d].$$scope||a).$watch(e,function(a){c.$set(d,a)})})})}function Ga(a,b,c){var d=b[0],e=d.parentNode,f,g;if(a){f=0;for(g=a.length;f<g;f++)if(a[f]==d){a[f]=c;break}}e&&e.replaceChild(c,d);c[u.expando]=d[u.expando];b[0]=c}var da=function(a,b){this.$$element=a;this.$attr=b||{}};da.prototype=
+ {$normalize:ea,$set:function(a,b,c,d){var e=yb(this.$$element[0],a),f=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,"-"));c!==!1&&(b===null||b===p?this.$$element.removeAttr(d):this.$$element.attr(d,b));f&&m(f[a],function(a){try{a(b)}catch(c){j(c)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers={}),e=d[a]||(d[a]=[]);e.push(b);o.$evalAsync(function(){e.$$inter||b(c[a])});return b}};return w}]}function ea(b){return qb(b.replace(zc,
+ ""))}function Ac(){var b={};this.register=function(a,c){J(a)?D(b,a):b[a]=c};this.$get=["$injector","$window",function(a,c){return function(d,e){if(G(d)){var g=d,d=b.hasOwnProperty(g)?b[g]:eb(e.$scope,g,!0)||eb(c,g,!0);qa(d,g,!0)}return a.instantiate(d,e)}}]}function Bc(){this.$get=["$window",function(b){return u(b.document)}]}function Cc(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Dc(){var b="{{",a="}}";this.startSymbol=function(a){return a?(b=a,this):
+ b};this.endSymbol=function(c){return c?(a=c,this):b};this.$get=["$parse",function(c){var d=b.length,e=a.length;return function(g,h){for(var f,i,j=0,k=[],l=g.length,n=!1,r=[];j<l;)(f=g.indexOf(b,j))!=-1&&(i=g.indexOf(a,f+d))!=-1?(j!=f&&k.push(g.substring(j,f)),k.push(j=c(n=g.substring(f+d,i))),j.exp=n,j=i+e,n=!0):(j!=l&&k.push(g.substring(j)),j=l);if(!(l=k.length))k.push(""),l=1;if(!h||n)return r.length=l,j=function(a){for(var b=0,c=l,d;b<c;b++){if(typeof(d=k[b])=="function")d=d(a),d==null||d==p?d=
+ "":typeof d!="string"&&(d=ba(d));r[b]=d}return r.join("")},j.exp=g,j.parts=k,j}}]}function Eb(b){for(var b=b.split("/"),a=b.length;a--;)b[a]=Za(b[a]);return b.join("/")}function ua(b,a){var c=Fb.exec(b),c={protocol:c[1],host:c[3],port:H(c[5])||Gb[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==Gb[b]?"":":"+c)}function Ec(b,a,c){var d=ua(b);return decodeURIComponent(d.path)!=a||v(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 Fc(b,a,c){var d=ua(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 z('Invalid url "'+b+'", missing path prefix "'+h+'" !');return ka(d.protocol,d.host,d.port)+a+"#"+c+f+e+g}}function fb(b,a,c){a=a||"";this.$$parse=function(b){var c=ua(b,
+ this);if(c.path.indexOf(a)!==0)throw z('Invalid url "'+b+'", missing path prefix "'+a+'" !');this.$$path=decodeURIComponent(c.path.substr(a.length));this.$$search=Xa(c.search);this.$$hash=c.hash&&decodeURIComponent(c.hash)||"";this.$$compose()};this.$$compose=function(){var b=nb(this.$$search),c=this.$$hash?"#"+Za(this.$$hash):"";this.$$url=Eb(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 Ia(b,a,c){var d;this.$$parse=function(b){var c=ua(b,this);if(c.hash&&c.hash.indexOf(a)!==0)throw z('Invalid url "'+b+'", missing hash prefix "'+a+'" !');d=c.path+(c.search?"?"+c.search:"");c=Gc.exec((c.hash||"").substr(a.length));this.$$path=c[1]?(c[1].charAt(0)=="/"?"":"/")+decodeURIComponent(c[1]):"";this.$$search=Xa(c[3]);this.$$hash=c[5]&&decodeURIComponent(c[5])||"";this.$$compose()};this.$$compose=function(){var b=nb(this.$$search),c=this.$$hash?"#"+Za(this.$$hash):
+ "";this.$$url=Eb(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 Hb(b,a,c,d){Ia.apply(this,arguments);this.$$rewriteAppUrl=function(b){if(b.indexOf(c)==0)return c+d+"#"+a+b.substr(c.length)}}function Ja(b){return function(){return this[b]}}function Ib(b,a){return function(c){if(v(c))return this[b];this[b]=a(c);this.$$compose();return this}}
+ function Hc(){var b="",a=!1;this.hashPrefix=function(a){return s(a)?(b=a,this):b};this.html5Mode=function(b){return s(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=ua(k);a?(i=d.baseHref()||"/",j=i.substr(0,i.lastIndexOf("/")),l=ka(l.protocol,l.host,l.port)+j+"/",f=e.history?new fb(Ec(k,i,b),j,l):new Hb(Fc(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 Ia(k,b,l));g.bind("click",function(a){if(!a.ctrlKey&&!(a.metaKey||a.which==2)){for(var b=u(a.target);C(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(),T.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 n=0;c.$watch(function(){var a=d.url();if(!n||a!=f.absUrl())n++,c.$evalAsync(function(){c.$broadcast("$locationChangeStart",f.absUrl(),a).defaultPrevented?f.$$parse(a):(d.url(f.absUrl(),f.$$replace),f.$$replace=!1,h(a))});return n});return f}]}function Ic(){this.$get=["$window",function(b){function a(a){a instanceof z&&(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 c(c){var e=b.console||{},g=e[c]||e.log||x;return g.apply?function(){var b=[];m(arguments,function(c){b.push(a(c))});return g.apply(e,b)}:function(a,b){g(a,b)}}return{log:c("log"),warn:c("warn"),info:c("info"),error:c("error")}}]}function Jc(b,a){function c(a){return a.indexOf(q)!=-1}function d(){return o+1<b.length?b.charAt(o+1):!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 z("Lexer Error: "+a+" at column"+(s(c)?"s "+c+"-"+o+" ["+b.substring(c,d)+"]":" "+d)+" in expression ["+b+"].");}function j(){for(var a="",c=o;o<b.length;){var j=C(b.charAt(o));if(j=="."||e(j))a+=j;else{var g=d();if(j=="e"&&f(g))a+=j;else if(f(j)&&g&&e(g)&&a.charAt(a.length-1)=="e")a+=j;else if(f(j)&&(!g||!e(g))&&a.charAt(a.length-1)=="e")i("Invalid exponent");else break}o++}a*=1;n.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(Ka.hasOwnProperty(c))d.fn=d.json=Ka[c];else{var l=Jb(c,a);d.fn=D(function(a,b){return l(a,b)},{assign:function(a,b){return Kb(a,c,b)}})}n.push(d);i&&(n.push({index:f,text:".",json:!1}),n.push({index:f+
+ 1,text:i,json:!1}))}function l(a){var c=o;o++;for(var d="",f=a,e=!1;o<b.length;){var j=b.charAt(o);f+=j;if(e)j=="u"?(j=b.substring(o+1,o+5),j.match(/[\da-f]{4}/i)||i("Invalid unicode escape [\\u"+j+"]"),o+=4,d+=String.fromCharCode(parseInt(j,16))):(e=Kc[j],d+=e?e:j),e=!1;else if(j=="\\")e=!0;else if(j==a){o++;n.push({index:c,text:f,string:d,json:!0,fn:function(){return d}});return}else d+=j;o++}i("Unterminated quote",c)}for(var n=[],r,o=0,w=[],q,t=":";o<b.length;){q=b.charAt(o);if(c("\"'"))l(q);else if(e(q)||
+ c(".")&&e(d()))j();else if(h(q)){if(k(),"{,".indexOf(t)!=-1&&w[0]=="{"&&(r=n[n.length-1]))r.json=r.text.indexOf(".")==-1}else if(c("(){}[].,;:"))n.push({index:o,text:q,json:":[,".indexOf(t)!=-1&&c("{[")||c("}]:,")}),c("{[")&&w.unshift(q),c("}]")&&w.shift(),o++;else if(g(q)){o++;continue}else{var m=q+d(),A=Ka[q],y=Ka[m];y?(n.push({index:o,text:m,fn:y}),o+=2):A?(n.push({index:o,text:q,fn:A,json:"[,:".indexOf(t)!=-1&&c("+-")}),o+=1):i("Unexpected next character ",o,o+1)}t=q}return n}function Lc(b,a,
+ c,d){function e(a,c){throw z("Syntax Error: Token '"+c.text+"' "+a+" at column "+(c.index+1)+" of the expression ["+b+"] starting at ["+b.substring(c.index)+"].");}function g(){if(N.length===0)throw z("Unexpected end of expression: "+b);return N[0]}function h(a,b,c,d){if(N.length>0){var e=N[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),N.shift(),b):!1}function i(a){f(a)||e("is unexpected, expecting ["+
+ a+"]",h())}function j(a,b){return function(c,d){return a(c,d,b)}}function k(a,b,c){return function(d,f){return b(d,f,a,c)}}function l(){for(var a=[];;)if(N.length>0&&!h("}",")",";","]")&&a.push(v()),!f(";"))return a.length==1?a[0]:function(b,c){for(var d,f=0;f<a.length;f++){var e=a[f];e&&(d=e(b,c))}return d}}function n(){for(var a=f(),b=c(a.text),d=[];;)if(a=f(":"))d.push(F());else{var e=function(a,c,f){for(var f=[f],e=0;e<d.length;e++)f.push(d[e](a,c));return b.apply(a,f)};return function(){return e}}}
+ function r(){for(var a=o(),b;;)if(b=f("||"))a=k(a,b.fn,o());else return a}function o(){var a=w(),b;if(b=f("&&"))a=k(a,b.fn,o());return a}function w(){var a=q(),b;if(b=f("==","!="))a=k(a,b.fn,w());return a}function q(){var a;a=t();for(var b;b=f("+","-");)a=k(a,b.fn,t());if(b=f("<",">","<=",">="))a=k(a,b.fn,q());return a}function t(){for(var a=m(),b;b=f("*","/","%");)a=k(a,b.fn,m());return a}function m(){var a;return f("+")?A():(a=f("-"))?k(V,a.fn,m()):(a=f("!"))?j(a.fn,m()):A()}function A(){var a;
+ if(f("("))a=v(),i(")");else if(f("["))a=y();else if(f("{"))a=L();else{var b=f();(a=b.fn)||e("not a primary expression",b)}for(var c;b=f("(","[",".");)b.text==="("?(a=u(a,c),c=null):b.text==="["?(c=a,a=da(a)):b.text==="."?(c=a,a=s(a)):e("IMPOSSIBLE");return a}function y(){var a=[];if(g().text!="]"){do a.push(F());while(f(","))}i("]");return function(b,c){for(var d=[],f=0;f<a.length;f++)d.push(a[f](b,c));return d}}function L(){var a=[];if(g().text!="}"){do{var b=f(),b=b.string||b.text;i(":");var c=
+ F();a.push({key:b,value:c})}while(f(","))}i("}");return function(b,c){for(var d={},f=0;f<a.length;f++){var e=a[f],j=e.value(b,c);d[e.key]=j}return d}}var V=B(0),I,N=Jc(b,d),F=function(){var a=r(),c,d;return(d=f("="))?(a.assign||e("implies assignment but ["+b.substring(0,d.index)+"] can not be assigned to",d),c=r(),function(b,d){return a.assign(b,c(b,d),d)}):a},u=function(a,b){var c=[];if(g().text!=")"){do c.push(F());while(f(","))}i(")");return function(d,f){for(var e=[],j=b?b(d,f):d,g=0;g<c.length;g++)e.push(c[g](d,
+ f));g=a(d,f)||x;return g.apply?g.apply(j,e):g(e[0],e[1],e[2],e[3],e[4])}},s=function(a){var b=f().text,c=Jb(b,d);return D(function(b,d){return c(a(b,d),d)},{assign:function(c,d,f){return Kb(a(c,f),b,d)}})},da=function(a){var b=F();i("]");return D(function(c,d){var f=a(c,d),e=b(c,d),j;if(!f)return p;if((f=f[e])&&f.then){j=f;if(!("$$v"in f))j.$$v=p,j.then(function(a){j.$$v=a});f=f.$$v}return f},{assign:function(c,d,f){return a(c,f)[b(c,f)]=d}})},v=function(){for(var a=F(),b;;)if(b=f("|"))a=k(a,b.fn,
+ n());else return a};a?(F=r,u=s=da=v=function(){e("is not valid json",{text:b,index:0})},I=A()):I=l();N.length!==0&&e("is an unexpected token",N[0]);return I}function Kb(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 eb(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&&M(b)?Va(e,b):b}function Lb(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 Jb(b,a){if(gb.hasOwnProperty(b))return gb[b];var c=b.split("."),d=c.length,e;if(a)e=d<6?Lb(c[0],c[1],c[2],c[3],c[4]):function(a,b){var e=0,j;do j=Lb(c[e++],c[e++],c[e++],c[e++],c[e++])(a,b),b=p,a=j;while(e<d);return j};else{var g="var l, fn, p;\n";m(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 gb[b]=e}function Mc(){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]=Lc(d,!1,a,c.csp);case "function":return d;default:return x}}}]}function Nc(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return Oc(function(a){b.$evalAsync(a)},a)}]}function Oc(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,j){var g=e(),h=function(d){try{g.resolve((b||c)(d))}catch(f){a(f),g.reject(f)}},o=function(b){try{g.resolve((j||d)(b))}catch(c){a(c),g.reject(c)}};f?f.push([h,o]):i.then(h,o);return g.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,j){var g=e();b(function(){g.resolve((j||d)(a))});return g.promise}}};return{defer:e,reject:h,when:function(f,i,j){var k=e(),l,n=function(b){try{return(i||c)(b)}catch(d){return a(d),h(d)}},r=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(n,r)))},function(a){l||(l=!0,k.resolve(r(a)))})});return k.promise},all:function(a){var b=e(),c=a.length,d=[];c?m(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 Pc(){var b={};this.when=function(a,c){b[a]=D({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(){var b=j(),i=r.current;if(b&&i&&b.$route===i.$route&&
+ fa(b.pathParams,i.pathParams)&&!b.reloadOnSearch&&!n)i.params=b.params,U(i.params,d),a.$broadcast("$routeUpdate",i);else if(b||i)n=!1,a.$broadcast("$routeChangeStart",b,i),(r.current=b)&&b.redirectTo&&(G(b.redirectTo)?c.path(k(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;m(b.resolve||{},function(b,d){a.push(d);c.push(M(b)?g.invoke(b):g.get(b))});if(!s(d=b.template))if(s(d=b.templateUrl))d=
+ h.get(d,{cache:f}).then(function(a){return a.data});s(d)&&(a.push("$template"),c.push(d));return e.all(c).then(function(b){var c={};m(b,function(b,d){c[a[d]]=b});return c})}}).then(function(c){if(b==r.current){if(b)b.locals=c,U(b.params,d);a.$broadcast("$routeChangeSuccess",b,i)}},function(c){b==r.current&&a.$broadcast("$routeChangeError",b,i,c)})}function j(){var a,d;m(b,function(b,e){if(!d&&(a=l(c.path(),e)))d=xa(b,{params:D({},c.search(),a),pathParams:a}),d.$route=b});return d||b[null]&&xa(b[null],
+ {params:{},pathParams:{}})}function k(a,b){var c=[];m((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 l=function(a,b){var c="^"+b.replace(/([\.\\\(\)\^\$])/g,"\\$1")+"$",d=[],e={};m(b.split(/\W/),function(a){if(a){var b=RegExp(":"+a+"([\\W])");c.match(b)&&(c=c.replace(b,"([^\\/]*)$1"),d.push(a))}});var f=a.match(RegExp(c));f&&m(d,function(a,b){e[a]=f[b+1]});return f?e:null},n=!1,r={routes:b,
+ reload:function(){n=!0;a.$evalAsync(i)}};a.$on("$locationChangeSuccess",i);return r}]}function Qc(){this.$get=B({})}function Rc(){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=wa();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this["this"]=this.$root=this;this.$$asyncQueue=[];this.$$listeners={}}function g(a){if(i.$$phase)throw z(i.$$phase+
+ " already in progress");i.$$phase=a}function h(a,b){var c=d(a);qa(c,b);return c}function f(){}e.prototype={$new:function(a){if(M(a))throw z("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=wa());a["this"]=a;a.$$listeners={};a.$parent=this;a.$$asyncQueue=[];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(!M(b)){var i=h(b||x,"listener");g.fn=function(a,b,c){i(c)}}if(!e)e=this.$$watchers=[];e.unshift(g);return function(){za(e,g)}},$digest:function(){var a,d,e,h,r,o,m,q=b,t,p=[],A,y;g("$digest");do{m=!1;t=this;do{for(r=t.$$asyncQueue;r.length;)try{t.$eval(r.shift())}catch(L){c(L)}if(h=t.$$watchers)for(o=h.length;o--;)try{if(a=h[o],(d=a.get(t))!==(e=a.last)&&
+ !(a.eq?fa(d,e):typeof d=="number"&&typeof e=="number"&&isNaN(d)&&isNaN(e)))m=!0,a.last=a.eq?U(d):d,a.fn(d,e===f?d:e,t),q<5&&(A=4-q,p[A]||(p[A]=[]),y=M(a.exp)?"fn: "+(a.exp.name||a.exp.toString()):a.exp,y+="; newVal: "+ba(d)+"; oldVal: "+ba(e),p[A].push(y))}catch(V){c(V)}if(!(h=t.$$childHead||t!==this&&t.$$nextSibling))for(;t!==this&&!(h=t.$$nextSibling);)t=t.$parent}while(t=h);if(m&&!q--)throw i.$$phase=null,z(b+" $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: "+
+ ba(p));}while(m||r.length);i.$$phase=null},$destroy:function(){if(i!=this){var a=this.$parent;this.$broadcast("$destroy");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}},$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(){za(c,b)}},$emit:function(a,b){var d=[],e,f=this,g=!1,i={name:a,targetScope:f,stopPropagation:function(){g=!0},preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1},h=[i].concat(ga.call(arguments,1)),m,p;do{e=f.$$listeners[a]||d;i.currentScope=f;m=0;for(p=e.length;m<p;m++)try{if(e[m].apply(null,
+ h),g)return i}catch(A){c(A)}f=f.$parent}while(f);return i},$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));do if(d=e,f.currentScope=d,m(d.$$listeners[a],function(a){try{a.apply(null,g)}catch(b){c(b)}}),!(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 Sc(){this.$get=["$window",
+ function(b){var a={},c=H((/android (\d+)/.exec(C(b.navigator.userAgent))||[])[1]);return{history:!(!b.history||!b.history.pushState||c<4),hashchange:"onhashchange"in b&&(!b.document.documentMode||b.document.documentMode>7),hasEvent:function(c){if(c=="input"&&Z==9)return!1;if(v(a[c])){var e=b.document.createElement("div");a[c]="on"+c in e}return a[c]},csp:!1}}]}function Tc(){this.$get=B(T)}function Mb(b){var a={},c,d,e;if(!b)return a;m(b.split("\n"),function(b){e=b.indexOf(":");c=C(Q(b.substr(0,e)));
+ d=Q(b.substr(e+1));c&&(a[c]?a[c]+=", "+d:a[c]=d)});return a}function Nb(b){var a=J(b)?b:p;return function(c){a||(a=Mb(b));return c?a[C(c)]||null:a}}function Ob(b,a,c){if(M(c))return c(b,a);m(c,function(c){b=c(b,a)});return b}function Uc(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d=this.defaults={transformResponse:[function(d){G(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=mb(d,!0)));return d}],transformRequest:[function(a){return J(a)&&Sa.apply(a)!=="[object File]"?ba(a):a}],headers:{common:{Accept:"application/json, text/plain, */*",
+ "X-Requested-With":"XMLHttpRequest"},post:{"Content-Type":"application/json;charset=utf-8"},put:{"Content-Type":"application/json;charset=utf-8"}}},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=D({},a,{data:Ob(a.data,a.headers,f)});return 200<=a.status&&a.status<300?b:j.reject(b)}a.method=la(a.method);var e=a.transformRequest||d.transformRequest,f=a.transformResponse||d.transformResponse,
+ g=d.headers,g=D({"X-XSRF-TOKEN":b.cookies()["XSRF-TOKEN"]},g.common,g[C(a.method)],a.headers),e=Ob(a.data,Nb(g),e),i;v(a.data)&&delete g["Content-Type"];i=n(a,e,g);i=i.then(c,c);m(w,function(a){i=a(i)});i.success=function(b){i.then(function(c){b(c.data,c.status,c.headers,a)});return i};i.error=function(b){i.then(null,function(c){b(c.data,c.status,c.headers,a)});return i};return i}function n(b,c,d){function e(a,b,c){m&&(200<=a&&a<300?m.put(w,[a,b,Mb(c)]):m.remove(w));f(b,a,c);i.$apply()}function f(a,
+ c,d){c=Math.max(c,0);(200<=c&&c<300?n.resolve:n.reject)({data:a,status:c,headers:Nb(d),config:b})}function h(){var a=Ua(l.pendingRequests,b);a!==-1&&l.pendingRequests.splice(a,1)}var n=j.defer(),k=n.promise,m,p,w=r(b.url,b.params);l.pendingRequests.push(b);k.then(h,h);b.cache&&b.method=="GET"&&(m=J(b.cache)?b.cache:o);if(m)if(p=m.get(w))if(p.then)return p.then(h,h),p;else K(p)?f(p[1],p[0],U(p[2])):f(p,200,{});else m.put(w,k);p||a(b.method,w,c,e,d,b.timeout,b.withCredentials);return k}function r(a,
+ b){if(!b)return a;var c=[];dc(b,function(a,b){a==null||a==p||(J(a)&&(a=ba(a)),c.push(encodeURIComponent(b)+"="+encodeURIComponent(a)))});return a+(a.indexOf("?")==-1?"?":"&")+c.join("&")}var o=c("$http"),w=[];m(e,function(a){w.push(G(a)?k.get(a):k.invoke(a))});l.pendingRequests=[];(function(a){m(arguments,function(a){l[a]=function(b,c){return l(D(c||{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){m(arguments,function(a){l[a]=function(b,c,d){return l(D(d||{},{method:a,url:b,
+ data:c}))}})})("post","put");l.defaults=d;return l}]}function Vc(){this.$get=["$browser","$window","$document",function(b,a,c){return Wc(b,Xc,b.defer,a.angular.callbacks,c[0],a.location.protocol.replace(":",""))}]}function Wc(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;Z?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,n,r){function o(a,c,d,e){c=(i.match(Fb)||["",g])[1]=="file"?d?200:404:c;a(c==1223?204:c,d,e);b.$$completeOutstandingRequest(x)}b.$$incOutstandingRequestCount();i=i||b.url();if(C(e)=="jsonp"){var p="_"+(d.counter++).toString(36);d[p]=function(a){d[p].data=a};h(i.replace("JSON_CALLBACK","angular.callbacks."+p),function(){d[p].data?o(k,200,d[p].data):o(k,-2);delete d[p]})}else{var q=new a;q.open(e,i,!0);m(l,function(a,b){a&&q.setRequestHeader(b,a)});var t;q.onreadystatechange=function(){q.readyState==
+ 4&&o(k,t||q.status,q.responseText,q.getAllResponseHeaders())};if(r)q.withCredentials=!0;q.send(j||"");n>0&&c(function(){t=-1;q.abort()},n)}}}function Yc(){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 Zc(){this.$get=["$rootScope","$browser","$q",
+ "$exceptionHandler",function(b,a,c,d){function e(e,f,i){var j=c.defer(),k=j.promise,l=s(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 Pb(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",Qb);a("date",Rb);a("filter",$c);a("json",ad);a("limitTo",bd);a("lowercase",cd);a("number",Sb);a("orderBy",Tb);a("uppercase",dd)}function $c(){return function(b,a){if(!(b instanceof Array))return b;var c=[];c.check=function(a){for(var b=0;b<c.length;b++)if(!c[b](a))return!1;return!0};var d=function(a,b){if(b.charAt(0)==="!")return!d(a,b.substr(1));switch(typeof a){case "boolean":case "number":case "string":return(""+a).toLowerCase().indexOf(b)>
+ -1;case "object":for(var c in a)if(c.charAt(0)!=="$"&&d(a[c],b))return!0;return!1;case "array":for(c=0;c<a.length;c++)if(d(a[c],b))return!0;return!1;default:return!1}};switch(typeof a){case "boolean":case "number":case "string":a={$:a};case "object":for(var e in a)e=="$"?function(){var b=(""+a[e]).toLowerCase();b&&c.push(function(a){return d(a,b)})}():function(){var b=e,f=(""+a[e]).toLowerCase();f&&c.push(function(a){return d(eb(a,b),f)})}();break;case "function":c.push(a);break;default:return b}for(var g=
+ [],h=0;h<b.length;h++){var f=b[h];c.check(f)&&g.push(f)}return g}}function Qb(b){var a=b.NUMBER_FORMATS;return function(b,d){if(v(d))d=a.CURRENCY_SYM;return Ub(b,a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,2).replace(/\u00A4/g,d)}}function Sb(b){var a=b.NUMBER_FORMATS;return function(b,d){return Ub(b,a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,d)}}function Ub(b,a,c,d,e){if(isNaN(b)||!isFinite(b))return"";var g=b<0,b=Math.abs(b),h=b+"",f="",i=[];if(h.indexOf("e")!==-1)f=h;else{h=(h.split(Vb)[1]||"").length;
+ v(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(Vb),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,n=0;n<j;n++)(j-n)%l===0&&n!==0&&(f+=c),f+=h.charAt(n);for(n=j;n<h.length;n++)(h.length-n)%k===0&&n!==0&&(f+=c),f+=h.charAt(n);for(;b.length<e;)b+="0";e&&(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 hb(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 O(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 hb(e,a,d)}}function La(b,a){return function(c,d){var e=c["get"+b](),g=la(a?"SHORT"+b:b);return d[g][e]}}function Rb(b){function a(a){var b;if(b=a.match(c)){var a=new Date(0),g=0,h=0;b[9]&&(g=H(b[9]+b[10]),h=H(b[9]+b[11]));a.setUTCFullYear(H(b[1]),H(b[2])-1,H(b[3]));a.setUTCHours(H(b[4]||0)-g,H(b[5]||0)-h,H(b[6]||0),H(b[7]||0))}return a}
+ var c=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d{3}))?)?)?(Z|([+-])(\d\d):?(\d\d)))?$/;return function(c,e){var g="",h=[],f,i,e=e||"mediumDate",e=b.DATETIME_FORMATS[e]||e;G(c)&&(c=ed.test(c)?H(c):a(c));va(c)&&(c=new Date(c));if(!ma(c))return c;for(;e;)(i=fd.exec(e))?(h=h.concat(ga.call(i,1)),e=h.pop()):(h.push(e),e=null);m(h,function(a){f=gd[a];g+=f?f(c,b.DATETIME_FORMATS):a.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return g}}function ad(){return function(b){return ba(b,!0)}}
+ function bd(){return function(b,a){if(!(b instanceof Array))return b;var a=H(a),c=[],d,e;if(!b||!(b instanceof Array))return c;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 Tb(b){return function(a,c,d){function e(a,b){return Wa(b)?function(b,c){return a(c,b)}:a}if(!(a instanceof Array))return a;if(!c)return a;for(var c=K(c)?c:[c],c=Ta(c,function(a){var c=!1,d=a||ya;if(G(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 R(b){M(b)&&(b={link:b});b.restrict=b.restrict||"AC";return B(b)}function Wb(b,a){function c(a,c){c=c?"-"+$a(c,"-"):"";b.removeClass((a?
+ Ma:Na)+c).addClass((a?Na:Ma)+c)}var d=this,e=b.parent().controller("form")||Oa,g=0,h=d.$error={};d.$name=a.name;d.$dirty=!1;d.$pristine=!0;d.$valid=!0;d.$invalid=!1;e.$addControl(d);b.addClass(Pa);c(!0);d.$addControl=function(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];m(h,function(b,c){d.$setValidity(c,!0,a)})};d.$setValidity=function(a,b,j){var k=h[a];if(b){if(k&&(za(k,j),!k.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(k){if(Ua(k,j)!=-1)return}else h[a]=k=[],g++,c(!1,a),e.$setValidity(a,!1,d);k.push(j);d.$valid=!1;d.$invalid=!0}};d.$setDirty=function(){b.removeClass(Pa).addClass(Xb);d.$dirty=!0;d.$pristine=!1}}function S(b){return v(b)||b===""||b===null||b!==b}function Qa(b,a,c,d,e,g){var h=function(){var c=Q(a.val());d.$viewValue!==c&&b.$apply(function(){d.$setViewValue(c)})};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(S(d.$viewValue)?"":d.$viewValue)};var i=c.ngPattern,j=function(a,b){return S(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 new z("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=H(c.ngMinlength),e=function(a){return!S(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=H(c.ngMaxlength),c=function(a){return!S(a)&&a.length>l?(d.$setValidity("maxlength",!1),p):(d.$setValidity("maxlength",!0),a)};d.$parsers.push(c);d.$formatters.push(c)}}function ib(b,a){b="ngClass"+b;return R(function(c,d,e){c.$watch(e[b],function(b,e){if(a===!0||c.$index%
+ 2===a)e&&b!==e&&(J(e)&&!K(e)&&(e=Ta(e,function(a,b){if(a)return b})),d.removeClass(K(e)?e.join(" "):e)),J(b)&&!K(b)&&(b=Ta(b,function(a,b){if(a)return b})),b&&d.addClass(K(b)?b.join(" "):b)},!0)})}var C=function(b){return G(b)?b.toLowerCase():b},la=function(b){return G(b)?b.toUpperCase():b},z=T.Error,Z=H((/msie (\d+)/.exec(C(navigator.userAgent))||[])[1]),u,ha,ga=[].slice,Ra=[].push,Sa=Object.prototype.toString,Yb=T.angular||(T.angular={}),sa,Cb,Y=["0","0","0"];x.$inject=[];ya.$inject=[];Cb=Z<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 jc=/[A-Z]/g,hd={full:"1.0.1",major:1,minor:0,dot:1,codeName:"thorium-shielding"},Ba=P.cache={},Aa=P.expando="ng-"+(new Date).getTime(),nc=1,id=T.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},tb=T.document.removeEventListener?function(b,a,c){b.removeEventListener(a,c,!1)}:function(b,
+ a,c){b.detachEvent("on"+a,c)},lc=/([\:\-\_]+(.))/g,mc=/^moz([A-Z])/,ta=P.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;this.bind("DOMContentLoaded",a);P(T).bind("load",a)},toString:function(){var b=[];m(this,function(a){b.push(""+a)});return"["+b.join(", ")+"]"},eq:function(b){return b>=0?u(this[b]):u(this[this.length+b])},length:0,push:Ra,sort:[].sort,splice:[].splice},Ea={};m("multiple,selected,checked,disabled,readOnly,required".split(","),function(b){Ea[C(b)]=b});var zb={};
+ m("input,select,option,textarea,button,form".split(","),function(b){zb[la(b)]=!0});m({data:ub,inheritedData:Da,scope:function(b){return Da(b,"$scope")},controller:xb,injector:function(b){return Da(b,"$injector")},removeAttr:function(b,a){b.removeAttribute(a)},hasClass:Ca,css:function(b,a,c){a=qb(a);if(s(c))b.style[a]=c;else{var d;Z<=8&&(d=b.currentStyle&&b.currentStyle[a],d===""&&(d="auto"));d=d||b.style[a];Z<=8&&(d=d===""?p:d);return d}},attr:function(b,a,c){var d=C(a);if(Ea[d])if(s(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(s(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(s(c))b[a]=c;else return b[a]},text:D(Z<9?function(b,a){if(b.nodeType==1){if(v(a))return b.innerText;b.innerText=a}else{if(v(a))return b.nodeValue;b.nodeValue=a}}:function(b,a){if(v(a))return b.textContent;b.textContent=a},{$dv:""}),val:function(b,a){if(v(a))return b.value;
+ b.value=a},html:function(b,a){if(v(a))return b.innerHTML;for(var c=0,d=b.childNodes;c<d.length;c++)ra(d[c]);b.innerHTML=a}},function(b,a){P.prototype[a]=function(a,d){var e,g;if((b.length==2&&b!==Ca&&b!==xb?a:d)===p)if(J(a)){for(e=0;e<this.length;e++)if(b===ub)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}});m({removeData:rb,dealoc:ra,bind:function a(c,d,e){var g=ca(c,"events"),
+ h=ca(c,"handle");g||ca(c,"events",g={});h||ca(c,"handle",h=oc(c,g));m(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 id(c,d,h),g[d]=[];i=g[d]}i.push(e)})},unbind:sb,replaceWith:function(a,c){var d,e=a.parentNode;ra(a);m(new P(c),function(c){d?e.insertBefore(c,d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=
+ [];m(a.childNodes,function(a){a.nodeName!="#text"&&c.push(a)});return c},contents:function(a){return a.childNodes},append:function(a,c){m(new P(c),function(c){a.nodeType===1&&a.appendChild(c)})},prepend:function(a,c){if(a.nodeType===1){var d=a.firstChild;m(new P(c),function(c){d?a.insertBefore(c,d):(a.appendChild(c),d=c)})}},wrap:function(a,c){var c=u(c)[0],d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},remove:function(a){ra(a);var c=a.parentNode;c&&c.removeChild(a)},after:function(a,c){var d=
+ a,e=a.parentNode;m(new P(c),function(a){e.insertBefore(a,d.nextSibling);d=a})},addClass:wb,removeClass:vb,toggleClass:function(a,c,d){v(d)&&(d=!Ca(a,c));(d?wb:vb)(a,c)},parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},next:function(a){return a.nextSibling},find:function(a,c){return a.getElementsByTagName(c)},clone:cb},function(a,c){P.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=u(g))):bb(g,a(this[h],c,e));return g==p?this:g}});Fa.prototype=
+ {put:function(a,c){this[ia(a)]=c},get:function(a){return this[ia(a)]},remove:function(a){var c=this[a=ia(a)];delete this[a];return c}};db.prototype={push:function(a,c){var d=this[a=ia(a)];d?d.push(c):this[a]=[c]},shift:function(a){var c=this[a=ia(a)];if(c)return c.length==1?(delete this[a],c[0]):c.shift()}};var qc=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,rc=/,/,sc=/^\s*(_?)(.+?)\1\s*$/,pc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Db="Non-assignable model expression: ";Bb.$inject=["$provide"];var zc=/^(x[\:\-_]|data[\:\-_])/i,
+ Fb=/^([^:]+):\/\/(\w+:{0,1}\w*@)?([\w\.-]*)(:([0-9]+))?(\/[^\?#]*)?(\?([^#]*))?(#(.*))?$/,Zb=/^([^\?#]*)?(\?([^#]*))?(#(.*))?$/,Gc=Zb,Gb={http:80,https:443,ftp:21};fb.prototype={$$replace:!1,absUrl:Ja("$$absUrl"),url:function(a,c){if(v(a))return this.$$url;var d=Zb.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:Ja("$$protocol"),host:Ja("$$host"),port:Ja("$$port"),path:Ib("$$path",function(a){return a.charAt(0)=="/"?
+ a:"/"+a}),search:function(a,c){if(v(a))return this.$$search;s(c)?c===null?delete this.$$search[a]:this.$$search[a]=c:this.$$search=G(a)?Xa(a):a;this.$$compose();return this},hash:Ib("$$hash",ya),replace:function(){this.$$replace=!0;return this}};Ia.prototype=xa(fb.prototype);Hb.prototype=xa(Ia.prototype);var Ka={"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(s(d)?d:0)+(s(e)?e:0)},"-":function(a,c,d,
+ e){d=d(a,c);e=e(a,c);return(s(d)?d:0)-(s(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 e(a,c)(a,c,d(a,c))},"!":function(a,c,d){return!d(a,c)}},Kc={n:"\n",f:"\u000c",r:"\r",t:"\t",v:"\u000b","'":"'",'"':'"'},gb={},Xc=T.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 new z("This browser does not support XMLHttpRequest.");
+ };Pb.$inject=["$provide"];Qb.$inject=["$locale"];Sb.$inject=["$locale"];var Vb=".",gd={yyyy:O("FullYear",4),yy:O("FullYear",2,0,!0),y:O("FullYear",1),MMMM:La("Month"),MMM:La("Month",!0),MM:O("Month",2,1),M:O("Month",1,1),dd:O("Date",2),d:O("Date",1),HH:O("Hours",2),H:O("Hours",1),hh:O("Hours",2,-12),h:O("Hours",1,-12),mm:O("Minutes",2),m:O("Minutes",1),ss:O("Seconds",2),s:O("Seconds",1),EEEE:La("Day"),EEE:La("Day",!0),a:function(a,c){return a.getHours()<12?c.AMPMS[0]:c.AMPMS[1]},Z:function(a){a=a.getTimezoneOffset();
+ return hb(a/60,2)+hb(Math.abs(a%60),2)}},fd=/((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/,ed=/^\d+$/;Rb.$inject=["$locale"];var cd=B(C),dd=B(la);Tb.$inject=["$parse"];var jd=B({restrict:"E",compile:function(a,c){c.href||c.$set("href","");return function(a,c){c.bind("click",function(a){c.attr("href")||a.preventDefault()})}}}),jb={};m(Ea,function(a,c){var d=ea("ng-"+c);jb[d]=function(){return{priority:100,compile:function(){return function(a,g,h){a.$watch(h[d],function(a){h.$set(c,
+ !!a)})}}}}});m(["src","href"],function(a){var c=ea("ng-"+a);jb[c]=function(){return{priority:99,link:function(d,e,g){g.$observe(c,function(c){g.$set(a,c);Z&&e.prop(a,c)})}}}});var Oa={$addControl:x,$removeControl:x,$setValidity:x,$setDirty:x};Wb.$inject=["$element","$attrs","$scope"];var Ra={name:"form",restrict:"E",controller:Wb,compile:function(){return{pre:function(a,c,d,e){d.action||c.bind("submit",function(a){a.preventDefault()});var g=c.parent().controller("form"),h=d.name||d.ngForm;h&&(a[h]=
+ e);g&&c.bind("$destroy",function(){g.$removeControl(e);h&&(a[h]=p);D(e,Oa)})}}}},kd=B(Ra),ld=B(D(U(Ra),{restrict:"EAC"})),md=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,nd=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/,od=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,$b={text:Qa,number:function(a,c,d,e,g,h){Qa(a,c,d,e,g,h);e.$parsers.push(function(a){var c=S(a);return c||od.test(a)?(e.$setValidity("number",!0),a===""?null:c?a:parseFloat(a)):(e.$setValidity("number",
+ !1),p)});e.$formatters.push(function(a){return S(a)?"":""+a});if(d.min){var f=parseFloat(d.min),a=function(a){return!S(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!S(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 S(a)||va(a)?(e.$setValidity("number",!0),a):(e.$setValidity("number",!1),
+ p)})},url:function(a,c,d,e,g,h){Qa(a,c,d,e,g,h);a=function(a){return S(a)||md.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){Qa(a,c,d,e,g,h);a=function(a){return S(a)||nd.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){v(d.name)&&c.attr("name",wa());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;G(g)||(g=!0);G(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},ac=["$browser","$sniffer",function(a,c){return{restrict:"E",require:"?ngModel",
+ link:function(d,e,g,h){h&&($b[C(g.type)]||$b.text)(d,e,g,h,c,a)}}}],Na="ng-valid",Ma="ng-invalid",Pa="ng-pristine",Xb="ng-dirty",pd=["$scope","$exceptionHandler","$attrs","$element","$parse",function(a,c,d,e,g){function h(a,c){c=c?"-"+$a(c,"-"):"";e.removeClass((a?Ma:Na)+c).addClass((a?Na:Ma)+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 g=g(d.ngModel),
+ f=g.assign;if(!f)throw z(Db+d.ngModel+" ("+oa(e)+")");this.$render=x;var i=e.inheritedData("$formController")||Oa,j=0,k=this.$error={};e.addClass(Pa);h(!0);this.$setValidity=function(a,c){if(k[a]!==!c){if(c){if(k[a]&&j--,!j)h(!0),this.$valid=!0,this.$invalid=!1}else h(!1),this.$invalid=!0,this.$valid=!1,j++;k[a]=!c;h(c,a);i.$setValidity(a,c,this)}};this.$setViewValue=function(d){this.$viewValue=d;if(this.$pristine)this.$dirty=!0,this.$pristine=!1,e.removeClass(Pa).addClass(Xb),i.$setDirty();m(this.$parsers,
+ function(a){d=a(d)});if(this.$modelValue!==d)this.$modelValue=d,f(a,d),m(this.$viewChangeListeners,function(a){try{a()}catch(d){c(d)}})};var l=this;a.$watch(g,function(a){if(l.$modelValue!==a){var c=l.$formatters,d=c.length;for(l.$modelValue=a;d--;)a=c[d](a);if(l.$viewValue!==a)l.$viewValue=a,l.$render()}})}],qd=function(){return{require:["ngModel","^?form"],controller:pd,link:function(a,c,d,e){var g=e[0],h=e[1]||Oa;h.$addControl(g);c.bind("$destroy",function(){h.$removeControl(g)})}}},rd=B({require:"ngModel",
+ link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),bc=function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){d.required=!0;var g=function(a){if(d.required&&(S(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)})}}}},sd=function(){return{require:"ngModel",link:function(a,c,d,e){var g=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||
+ d.ngList||",",h=function(a){var c=[];a&&m(a.split(g),function(a){a&&c.push(Q(a))});return c};e.$parsers.push(h);e.$formatters.push(function(a){return K(a)&&!fa(h(e.$viewValue),a)?a.join(", "):p})}}},td=/^(true|false|\d+)$/,ud=function(){return{priority:100,compile:function(a,c){return td.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)})}}}},vd=R(function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBind);
+ a.$watch(d.ngBind,function(a){c.text(a==p?"":a)})}),wd=["$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)})}}],xd=[function(){return function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBindHtmlUnsafe);a.$watch(d.ngBindHtmlUnsafe,function(a){c.html(a||"")})}}],yd=ib("",!0),zd=ib("Odd",0),Ad=ib("Even",1),Bd=R({compile:function(a,c){c.$set("ngCloak",p);a.removeClass("ng-cloak")}}),
+ Cd=[function(){return{scope:!0,controller:"@"}}],Dd=["$sniffer",function(a){return{priority:1E3,compile:function(){a.csp=!0}}}],cc={};m("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave".split(" "),function(a){var c=ea("ng-"+a);cc[c]=["$parse",function(d){return function(e,g,h){var f=d(h[c]);g.bind(C(a),function(a){e.$apply(function(){f(e,{$event:a})})})}}]});var Ed=R(function(a,c,d){c.bind("submit",function(){a.$apply(d.ngSubmit)})}),Fd=["$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 n=0,m,o=function(){m&&(m.$destroy(),m=null);h.html("")};g.$watch(f,function(f){var q=++n;f?a.get(f,{cache:c}).success(function(a){q===n&&(m&&m.$destroy(),m=g.$new(),h.html(a),e(h.contents())(m),s(j)&&(!j||g.$eval(j))&&d(),m.$emit("$includeContentLoaded"),g.$eval(i))}).error(function(){q===n&&o()}):o()})}}}}],Gd=R({compile:function(){return{pre:function(a,
+ c,d){a.$eval(d.ngInit)}}}}),Hd=R({terminal:!0,priority:1E3}),Id=["$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(k,function(a,e){l[e]=c(a.replace(d,"{{"+f+"-"+j+"}}"))});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)})}}}],Jd=R({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 z("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 z("'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 db;a.$watch(function(a){var e,f,h=a.$eval(i),m=fc(h,!0),p,u=new db,A,y,v,s,z=c;if(K(h))v=h||[];else{v=[];for(A in h)h.hasOwnProperty(A)&&A.charAt(0)!=
+ "$"&&v.push(A);v.sort()}e=0;for(f=v.length;e<f;e++){A=h===v?e:v[e];y=h[A];if(s=l.shift(y)){p=s.scope;u.push(y,s);if(e!==s.index)s.index=e,z.after(s.element);z=s.element}else p=a.$new();p[j]=y;k&&(p[k]=A);p.$index=e;p.$first=e===0;p.$last=e===m-1;p.$middle=!(p.$first||p.$last);s||d(p,function(a){z.after(a);s={scope:p,element:z=a,index:e};u.push(y,s)})}for(A in l)if(l.hasOwnProperty(A))for(v=l[A];v.length;)y=v.pop(),y.element.remove(),y.scope.$destroy();l=u})}}}),Kd=R(function(a,c,d){a.$watch(d.ngShow,
+ function(a){c.css("display",Wa(a)?"":"none")})}),Ld=R(function(a,c,d){a.$watch(d.ngHide,function(a){c.css("display",Wa(a)?"none":"")})}),Md=R(function(a,c,d){a.$watch(d.ngStyle,function(a,d){d&&a!==d&&m(d,function(a,d){c.css(d,"")});a&&c.css(a)},!0)}),Nd=B({restrict:"EA",compile:function(a,c){var d=c.ngSwitch||c.on,e={};a.data("ng-switch",e);return function(a,h){var f,i,j;a.$watch(d,function(d){i&&(j.$destroy(),i.remove(),i=j=null);if(f=e["!"+d]||e["?"])a.$eval(c.change),j=a.$new(),f(j,function(a){i=
+ a;h.append(a)})})}}}),Od=R({transclude:"element",priority:500,compile:function(a,c,d){a=a.inheritedData("ng-switch");pa(a);a["!"+c.ngSwitchWhen]=d}}),Pd=R({transclude:"element",priority:500,compile:function(a,c,d){a=a.inheritedData("ng-switch");pa(a);a["?"]=d}}),Qd=R({controller:["$transclude","$element",function(a,c){a(function(a){c.append(a)})}]}),Rd=["$http","$templateCache",