diff options
Diffstat (limited to 'js/vendor/angular/angular.min.js')
-rw-r--r-- | js/vendor/angular/angular.min.js | 479 |
1 files changed, 242 insertions, 237 deletions
diff --git a/js/vendor/angular/angular.min.js b/js/vendor/angular/angular.min.js index 530a6996b..cf6567af1 100644 --- a/js/vendor/angular/angular.min.js +++ b/js/vendor/angular/angular.min.js @@ -1,242 +1,247 @@ /* - AngularJS v1.3.0-rc.4 + AngularJS v1.3.0 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ -(function(Q,$,t){'use strict';function U(b){return function(){var a=arguments[0],c;c="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.3.0-rc.4/"+(b?b+"/":"")+a;for(a=1;a<arguments.length;a++){c=c+(1==a?"?":"&")+"p"+(a-1)+"=";var d=encodeURIComponent,e;e=arguments[a];e="function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?JSON.stringify(e):e;c+=d(e)}return Error(c)}}function Na(b){if(null==b||Oa(b))return!1;var a=b.length;return 1===b.nodeType&& -a?!0:F(b)||P(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function q(b,a,c){var d,e;if(b)if(N(b))for(d in b)"prototype"==d||"length"==d||"name"==d||b.hasOwnProperty&&!b.hasOwnProperty(d)||a.call(c,b[d],d,b);else if(P(b)||Na(b)){var f="object"!==typeof b;d=0;for(e=b.length;d<e;d++)(f||d in b)&&a.call(c,b[d],d,b)}else if(b.forEach&&b.forEach!==q)b.forEach(a,c,b);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d,b);return b}function cc(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()} -function ud(b,a,c){for(var d=cc(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function dc(b){return function(a,c){b(c,a)}}function vd(){return++db}function ec(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function z(b){for(var a=b.$$hashKey,c=1,d=arguments.length;c<d;c++){var e=arguments[c];if(e)for(var f=Object.keys(e),g=0,h=f.length;g<h;g++){var k=f[g];b[k]=e[k]}}ec(b,a);return b}function Y(b){return parseInt(b,10)}function fc(b,a){return z(new (z(function(){},{prototype:b})),a)}function x(){} -function Pa(b){return b}function ga(b){return function(){return b}}function E(b){return"undefined"===typeof b}function w(b){return"undefined"!==typeof b}function R(b){return null!==b&&"object"===typeof b}function F(b){return"string"===typeof b}function ea(b){return"number"===typeof b}function ha(b){return"[object Date]"===Ea.call(b)}function N(b){return"function"===typeof b}function eb(b){return"[object RegExp]"===Ea.call(b)}function Oa(b){return b&&b.window===b}function Qa(b){return b&&b.$evalAsync&& -b.$watch}function fb(b){return"boolean"===typeof b}function wd(b){return!(!b||!(b.nodeName||b.prop&&b.attr&&b.find))}function xd(b){var a={};b=b.split(",");var c;for(c=0;c<b.length;c++)a[b[c]]=!0;return a}function oa(b){return S(b.nodeName||b[0].nodeName)}function Ra(b,a){var c=b.indexOf(a);0<=c&&b.splice(c,1);return a}function Fa(b,a,c,d){if(Oa(b)||Qa(b))throw Sa("cpws");if(a){if(b===a)throw Sa("cpi");c=c||[];d=d||[];if(R(b)){var e=c.indexOf(b);if(-1!==e)return d[e];c.push(b);d.push(a)}if(P(b))for(var f= -a.length=0;f<b.length;f++)e=Fa(b[f],null,c,d),R(b[f])&&(c.push(b[f]),d.push(e)),a.push(e);else{var g=a.$$hashKey;P(a)?a.length=0:q(a,function(b,c){delete a[c]});for(f in b)b.hasOwnProperty(f)&&(e=Fa(b[f],null,c,d),R(b[f])&&(c.push(b[f]),d.push(e)),a[f]=e);ec(a,g)}}else if(a=b)P(b)?a=Fa(b,[],c,d):ha(b)?a=new Date(b.getTime()):eb(b)?(a=new RegExp(b.source,b.toString().match(/[^\/]*$/)[0]),a.lastIndex=b.lastIndex):R(b)&&(e=Object.create(Object.getPrototypeOf(b)),a=Fa(b,e,c,d));return a}function pa(b, -a){if(P(b)){a=a||[];for(var c=0,d=b.length;c<d;c++)a[c]=b[c]}else if(R(b))for(c in a=a||{},b)if("$"!==c.charAt(0)||"$"!==c.charAt(1))a[c]=b[c];return a||b}function qa(b,a){if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,d;if(c==typeof a&&"object"==c)if(P(b)){if(!P(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!qa(b[d],a[d]))return!1;return!0}}else{if(ha(b))return ha(a)?qa(b.getTime(),a.getTime()):!1;if(eb(b)&&eb(a))return b.toString()==a.toString(); -if(Qa(b)||Qa(a)||Oa(b)||Oa(a)||P(a))return!1;c={};for(d in b)if("$"!==d.charAt(0)&&!N(b[d])){if(!qa(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&"$"!==d.charAt(0)&&a[d]!==t&&!N(a[d]))return!1;return!0}return!1}function gb(b,a,c){return b.concat(Ta.call(a,c))}function gc(b,a){var c=2<arguments.length?Ta.call(arguments,2):[];return!N(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?a.apply(b,c.concat(Ta.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length? -a.apply(b,arguments):a.call(b)}}function yd(b,a){var c=a;"string"===typeof b&&"$"===b.charAt(0)&&"$"===b.charAt(1)?c=t:Oa(a)?c="$WINDOW":a&&$===a?c="$DOCUMENT":Qa(a)&&(c="$SCOPE");return c}function ra(b,a){return"undefined"===typeof b?t:JSON.stringify(b,yd,a?" ":null)}function hc(b){return F(b)?JSON.parse(b):b}function sa(b){b=y(b).clone();try{b.empty()}catch(a){}var c=y("<div>").append(b).html();try{return 3===b[0].nodeType?S(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+ -S(b)})}catch(d){return S(c)}}function ic(b){try{return decodeURIComponent(b)}catch(a){}}function jc(b){var a={},c,d;q((b||"").split("&"),function(b){b&&(c=b.replace(/\+/g,"%20").split("="),d=ic(c[0]),w(d)&&(b=w(c[1])?ic(c[1]):!0,Eb.call(a,d)?P(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Fb(b){var a=[];q(b,function(b,d){P(b)?q(b,function(b){a.push(Ba(d,!0)+(!0===b?"":"="+Ba(b,!0)))}):a.push(Ba(d,!0)+(!0===b?"":"="+Ba(b,!0)))});return a.length?a.join("&"):""}function hb(b){return Ba(b, -!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Ba(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,a?"%20":"+")}function zd(b,a){var c,d,e=ib.length;b=y(b);for(d=0;d<e;++d)if(c=ib[d]+a,F(c=b.attr(c)))return c;return null}function Ad(b,a){var c,d,e={};q(ib,function(a){a+="app";!c&&b.hasAttribute&&b.hasAttribute(a)&&(c=b,d=b.getAttribute(a))});q(ib,function(a){a+="app"; -var e;!c&&(e=b.querySelector("["+a.replace(":","\\:")+"]"))&&(c=e,d=e.getAttribute(a))});c&&(e.strictDi=null!==zd(c,"strict-di"),a(c,d?[d]:[],e))}function kc(b,a,c){R(c)||(c={});c=z({strictDi:!1},c);var d=function(){b=y(b);if(b.injector()){var d=b[0]===$?"document":sa(b);throw Sa("btstrpd",d.replace(/</,"<").replace(/>/,">"));}a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);c.debugInfoEnabled&&a.push(["$compileProvider",function(a){a.debugInfoEnabled(!0)}]);a.unshift("ng"); -d=Gb(a,c.strictDi);d.invoke(["$rootScope","$rootElement","$compile","$injector",function(a,b,c,d){a.$apply(function(){b.data("$injector",d);c(b)(a)})}]);return d},e=/^NG_ENABLE_DEBUG_INFO!/,f=/^NG_DEFER_BOOTSTRAP!/;Q&&e.test(Q.name)&&(c.debugInfoEnabled=!0,Q.name=Q.name.replace(e,""));if(Q&&!f.test(Q.name))return d();Q.name=Q.name.replace(f,"");Ca.resumeBootstrap=function(b){q(b,function(b){a.push(b)});d()}}function Bd(){Q.name="NG_ENABLE_DEBUG_INFO!"+Q.name;Q.location.reload()}function Cd(b){return Ca.element(b).injector().get("$$testability")} -function Hb(b,a){a=a||"_";return b.replace(Dd,function(b,d){return(d?a:"")+b.toLowerCase()})}function Ed(){var b;lc||((la=Q.jQuery)&&la.fn.on?(y=la,z(la.fn,{scope:Ga.scope,isolateScope:Ga.isolateScope,controller:Ga.controller,injector:Ga.injector,inheritedData:Ga.inheritedData}),b=la.cleanData,la.cleanData=function(a){var c;if(Ib)Ib=!1;else for(var d=0,e;null!=(e=a[d]);d++)(c=la._data(e,"events"))&&c.$destroy&&la(e).triggerHandler("$destroy");b(a)}):y=T,Ca.element=y,lc=!0)}function Jb(b,a,c){if(!b)throw Sa("areq", -a||"?",c||"required");return b}function jb(b,a,c){c&&P(b)&&(b=b[b.length-1]);Jb(N(b),a,"not a function, got "+(b&&"object"===typeof b?b.constructor.name||"Object":typeof b));return b}function Ha(b,a){if("hasOwnProperty"===b)throw Sa("badname",a);}function mc(b,a,c){if(!a)return b;a=a.split(".");for(var d,e=b,f=a.length,g=0;g<f;g++)d=a[g],b&&(b=(e=b)[d]);return!c&&N(b)?gc(e,b):b}function kb(b){var a=b[0];b=b[b.length-1];var c=[a];do{a=a.nextSibling;if(!a)break;c.push(a)}while(a!==b);return y(c)}function Fd(b){function a(a, -b,c){return a[b]||(a[b]=c())}var c=U("$injector"),d=U("ng");b=a(b,"angular",Object);b.$$minErr=b.$$minErr||U;return a(b,"module",function(){var b={};return function(f,g,h){if("hasOwnProperty"===f)throw d("badname","module");g&&b.hasOwnProperty(f)&&(b[f]=null);return a(b,f,function(){function a(c,d,e,f){f||(f=b);return function(){f[e||"push"]([c,d,arguments]);return m}}if(!g)throw c("nomod",f);var b=[],d=[],e=[],r=a("$injector","invoke","push",d),m={_invokeQueue:b,_configBlocks:d,_runBlocks:e,requires:g, -name:f,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:a("$provide","value"),constant:a("$provide","constant","unshift"),animation:a("$animateProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),config:r,run:function(a){e.push(a);return this}};h&&r(h);return m})}})}function Gd(b){z(b,{bootstrap:kc,copy:Fa,extend:z,equals:qa,element:y,forEach:q, -injector:Gb,noop:x,bind:gc,toJson:ra,fromJson:hc,identity:Pa,isUndefined:E,isDefined:w,isString:F,isFunction:N,isObject:R,isNumber:ea,isElement:wd,isArray:P,version:Hd,isDate:ha,lowercase:S,uppercase:lb,callbacks:{counter:0},getTestability:Cd,$$minErr:U,$$csp:Ua,reloadWithDebugInfo:Bd,$$hasClass:mb});Va=Fd(Q);try{Va("ngLocale")}catch(a){Va("ngLocale",[]).provider("$locale",Id)}Va("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:Jd});a.provider("$compile",nc).directive({a:Kd,input:oc, -textarea:oc,form:Ld,script:Md,select:Nd,style:Od,option:Pd,ngBind:Qd,ngBindHtml:Rd,ngBindTemplate:Sd,ngClass:Td,ngClassEven:Ud,ngClassOdd:Vd,ngCloak:Wd,ngController:Xd,ngForm:Yd,ngHide:Zd,ngIf:$d,ngInclude:ae,ngInit:be,ngNonBindable:ce,ngPluralize:de,ngRepeat:ee,ngShow:fe,ngStyle:ge,ngSwitch:he,ngSwitchWhen:ie,ngSwitchDefault:je,ngOptions:ke,ngTransclude:le,ngModel:me,ngList:ne,ngChange:oe,pattern:pc,ngPattern:pc,required:qc,ngRequired:qc,minlength:rc,ngMinlength:rc,maxlength:sc,ngMaxlength:sc,ngValue:pe, -ngModelOptions:qe}).directive({ngInclude:re}).directive(nb).directive(tc);a.provider({$anchorScroll:se,$animate:te,$browser:ue,$cacheFactory:ve,$controller:we,$document:xe,$exceptionHandler:ye,$filter:uc,$interpolate:ze,$interval:Ae,$http:Be,$httpBackend:Ce,$location:De,$log:Ee,$parse:Fe,$rootScope:Ge,$q:He,$$q:Ie,$sce:Je,$sceDelegate:Ke,$sniffer:Le,$templateCache:Me,$templateRequest:Ne,$$testability:Oe,$timeout:Pe,$window:Qe,$$rAF:Re,$$asyncCallback:Se})}])}function Wa(b){return b.replace(Te,function(a, -b,d,e){return e?d.toUpperCase():d}).replace(Ue,"Moz$1")}function vc(b){b=b.nodeType;return 1===b||!b||9===b}function wc(b,a){var c,d,e=a.createDocumentFragment(),f=[];if(Kb.test(b)){c=c||e.appendChild(a.createElement("div"));d=(Ve.exec(b)||["",""])[1].toLowerCase();d=ia[d]||ia._default;c.innerHTML=d[1]+b.replace(We,"<$1></$2>")+d[2];for(d=d[0];d--;)c=c.lastChild;f=gb(f,c.childNodes);c=e.firstChild;c.textContent=""}else f.push(a.createTextNode(b));e.textContent="";e.innerHTML="";q(f,function(a){e.appendChild(a)}); -return e}function T(b){if(b instanceof T)return b;var a;F(b)&&(b=X(b),a=!0);if(!(this instanceof T)){if(a&&"<"!=b.charAt(0))throw Lb("nosel");return new T(b)}if(a){a=$;var c;b=(c=Xe.exec(b))?[a.createElement(c[1])]:(c=wc(b,a))?c.childNodes:[]}xc(this,b)}function Mb(b){return b.cloneNode(!0)}function ob(b,a){a||pb(b);if(b.querySelectorAll)for(var c=b.querySelectorAll("*"),d=0,e=c.length;d<e;d++)pb(c[d])}function yc(b,a,c,d){if(w(d))throw Lb("offargs");var e=(d=qb(b))&&d.events;if(d&&d.handle)if(a)q(a.split(" "), -function(a){E(c)?(b.removeEventListener(a,e[a],!1),delete e[a]):Ra(e[a]||[],c)});else for(a in e)"$destroy"!==a&&b.removeEventListener(a,e[a],!1),delete e[a]}function pb(b,a){var c=b.ng339,d=c&&rb[c];d&&(a?delete d.data[a]:(d.handle&&(d.events.$destroy&&d.handle({},"$destroy"),yc(b)),delete rb[c],b.ng339=t))}function qb(b,a){var c=b.ng339,c=c&&rb[c];a&&!c&&(b.ng339=c=++Ye,c=rb[c]={events:{},data:{},handle:t});return c}function Nb(b,a,c){if(vc(b)){var d=w(c),e=!d&&a&&!R(a),f=!a;b=(b=qb(b,!e))&&b.data; -if(d)b[a]=c;else{if(f)return b;if(e)return b&&b[a];z(b,a)}}}function mb(b,a){return b.getAttribute?-1<(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" "):!1}function Ob(b,a){a&&b.setAttribute&&q(a.split(" "),function(a){b.setAttribute("class",X((" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+X(a)+" "," ")))})}function Pb(b,a){if(a&&b.setAttribute){var c=(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");q(a.split(" "),function(a){a= -X(a);-1===c.indexOf(" "+a+" ")&&(c+=a+" ")});b.setAttribute("class",X(c))}}function xc(b,a){if(a)if(a.nodeType)b[b.length++]=a;else{var c=a.length;if("number"===typeof c&&a.window!==a){if(c)for(var d=0;d<c;d++)b[b.length++]=a[d]}else b[b.length++]=a}}function zc(b,a){return sb(b,"$"+(a||"ngController")+"Controller")}function sb(b,a,c){9==b.nodeType&&(b=b.documentElement);for(a=P(a)?a:[a];b;){for(var d=0,e=a.length;d<e;d++)if((c=y.data(b,a[d]))!==t)return c;b=b.parentNode||11===b.nodeType&&b.host}} -function Ac(b){for(ob(b,!0);b.firstChild;)b.removeChild(b.firstChild)}function Bc(b,a){a||ob(b);var c=b.parentNode;c&&c.removeChild(b)}function Cc(b,a){var c=tb[a.toLowerCase()];return c&&Dc[oa(b)]&&c}function Ze(b,a){var c=b.nodeName;return("INPUT"===c||"TEXTAREA"===c)&&Ec[a]}function $e(b,a){var c=function(c,e){c.isDefaultPrevented=function(){return c.defaultPrevented};var f=a[e||c.type],g=f?f.length:0;if(g){if(E(c.immediatePropagationStopped)){var h=c.stopImmediatePropagation;c.stopImmediatePropagation= -function(){c.immediatePropagationStopped=!0;c.stopPropagation&&c.stopPropagation();h&&h.call(c)}}c.isImmediatePropagationStopped=function(){return!0===c.immediatePropagationStopped};1<g&&(f=pa(f));for(var k=0;k<g;k++)c.isImmediatePropagationStopped()||f[k].call(b,c)}};c.elem=b;return c}function Ia(b,a){var c=b&&b.$$hashKey;if(c)return"function"===typeof c&&(c=b.$$hashKey()),c;c=typeof b;return c="function"==c||"object"==c&&null!==b?b.$$hashKey=c+":"+(a||vd)():c+":"+b}function Xa(b,a){if(a){var c= -0;this.nextUid=function(){return++c}}q(b,this.put,this)}function af(b){return(b=b.toString().replace(Fc,"").match(Gc))?"function("+(b[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Qb(b,a,c){var d;if("function"===typeof b){if(!(d=b.$inject)){d=[];if(b.length){if(a)throw F(c)&&c||(c=b.name||af(b)),Ja("strictdi",c);a=b.toString().replace(Fc,"");a=a.match(Gc);q(a[1].split(bf),function(a){a.replace(cf,function(a,b,c){d.push(c)})})}b.$inject=d}}else P(b)?(a=b.length-1,jb(b[a],"fn"),d=b.slice(0,a)): -jb(b,"fn",!0);return d}function Gb(b,a){function c(a){return function(b,c){if(R(b))q(b,dc(a));else return a(b,c)}}function d(a,b){Ha(a,"service");if(N(b)||P(b))b=p.instantiate(b);if(!b.$get)throw Ja("pget",a);return n[a+"Provider"]=b}function e(a,b){return d(a,{$get:b})}function f(a){var b=[],c;q(a,function(a){function d(a){var b,c;b=0;for(c=a.length;b<c;b++){var e=a[b],f=p.get(e[0]);f[e[1]].apply(f,e[2])}}if(!l.get(a)){l.put(a,!0);try{F(a)?(c=Va(a),b=b.concat(f(c.requires)).concat(c._runBlocks), -d(c._invokeQueue),d(c._configBlocks)):N(a)?b.push(p.invoke(a)):P(a)?b.push(p.invoke(a)):jb(a,"module")}catch(e){throw P(a)&&(a=a[a.length-1]),e.message&&e.stack&&-1==e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Ja("modulerr",a,e.stack||e.message||e);}}});return b}function g(b,c){function d(a){if(b.hasOwnProperty(a)){if(b[a]===h)throw Ja("cdep",a+" <- "+k.join(" <- "));return b[a]}try{return k.unshift(a),b[a]=h,b[a]=c(a)}catch(e){throw b[a]===h&&delete b[a],e;}finally{k.shift()}}function e(b, -c,f,h){"string"===typeof f&&(h=f,f=null);var g=[];h=Qb(b,a,h);var k,l,m;l=0;for(k=h.length;l<k;l++){m=h[l];if("string"!==typeof m)throw Ja("itkn",m);g.push(f&&f.hasOwnProperty(m)?f[m]:d(m))}P(b)&&(b=b[k]);return b.apply(c,g)}return{invoke:e,instantiate:function(a,b,c){var d=function(){};d.prototype=(P(a)?a[a.length-1]:a).prototype;d=new d;a=e(a,d,b,c);return R(a)||N(a)?a:d},get:d,annotate:Qb,has:function(a){return n.hasOwnProperty(a+"Provider")||b.hasOwnProperty(a)}}}a=!0===a;var h={},k=[],l=new Xa([], -!0),n={$provide:{provider:c(d),factory:c(e),service:c(function(a,b){return e(a,["$injector",function(a){return a.instantiate(b)}])}),value:c(function(a,b){return e(a,ga(b))}),constant:c(function(a,b){Ha(a,"constant");n[a]=b;r[a]=b}),decorator:function(a,b){var c=p.get(a+"Provider"),d=c.$get;c.$get=function(){var a=m.invoke(d,c);return m.invoke(b,null,{$delegate:a})}}}},p=n.$injector=g(n,function(){throw Ja("unpr",k.join(" <- "));}),r={},m=r.$injector=g(r,function(a){var b=p.get(a+"Provider");return m.invoke(b.$get, -b,t,a)});q(f(b),function(a){m.invoke(a||x)});return m}function se(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b=null;q(a,function(a){b||"a"!==oa(a)||(b=a)});return b}function f(){var b=c.hash(),d;b?(d=g.getElementById(b))?d.scrollIntoView():(d=e(g.getElementsByName(b)))?d.scrollIntoView():"top"===b&&a.scrollTo(0,0):a.scrollTo(0,0)}var g=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(f)}); -return f}]}function Se(){this.$get=["$$rAF","$timeout",function(b,a){return b.supported?function(a){return b(a)}:function(b){return a(b,0,!1)}}]}function df(b,a,c,d){function e(a){try{a.apply(null,Ta.call(arguments,1))}finally{if(s--,0===s)for(;v.length;)try{v.pop()()}catch(b){c.error(b)}}}function f(a,b){(function fa(){q(J,function(a){a()});A=b(fa,a)})()}function g(){C=null;u!=h.url()&&(u=h.url(),q(D,function(a){a(h.url())}))}var h=this,k=a[0],l=b.location,n=b.history,p=b.setTimeout,r=b.clearTimeout, -m={};h.isMock=!1;var s=0,v=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function(){s++};h.notifyWhenNoOutstandingRequests=function(a){q(J,function(a){a()});0===s?a():v.push(a)};var J=[],A;h.addPollFn=function(a){E(A)&&f(100,p);J.push(a);return a};var u=l.href,B=a.find("base"),C=null;h.url=function(a,c){l!==b.location&&(l=b.location);n!==b.history&&(n=b.history);if(a){if(u!=a)return u=a,d.history?c?n.replaceState(null,"",a):n.pushState(null,"",a):(C=a,c?l.replace(a):l.href=a), -h}else return C||l.href.replace(/%27/g,"'")};var D=[],W=!1;h.onUrlChange=function(a){if(!W){if(d.history)y(b).on("popstate",g);if(d.hashchange)y(b).on("hashchange",g);else h.addPollFn(g);W=!0}D.push(a);return a};h.$$checkUrlChange=g;h.baseHref=function(){var a=B.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var I={},aa="",O=h.baseHref();h.cookies=function(a,b){var d,e,f,h;if(a)b===t?k.cookie=encodeURIComponent(a)+"=;path="+O+";expires=Thu, 01 Jan 1970 00:00:00 GMT":F(b)&&(d=(k.cookie= -encodeURIComponent(a)+"="+encodeURIComponent(b)+";path="+O).length+1,4096<d&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"));else{if(k.cookie!==aa)for(aa=k.cookie,d=aa.split("; "),I={},f=0;f<d.length;f++)e=d[f],h=e.indexOf("="),0<h&&(a=decodeURIComponent(e.substring(0,h)),I[a]===t&&(I[a]=decodeURIComponent(e.substring(h+1))));return I}};h.defer=function(a,b){var c;s++;c=p(function(){delete m[c];e(a)},b||0);m[c]=!0;return c};h.defer.cancel=function(a){return m[a]? -(delete m[a],r(a),e(x),!0):!1}}function ue(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new df(b,d,a,c)}]}function ve(){this.$get=function(){function b(b,d){function e(a){a!=p&&(r?r==a&&(r=a.n):r=a,f(a.n,a.p),f(a,p),p=a,p.n=null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(b in a)throw U("$cacheFactory")("iid",b);var g=0,h=z({},d,{id:b}),k={},l=d&&d.capacity||Number.MAX_VALUE,n={},p=null,r=null;return a[b]={put:function(a,b){if(l<Number.MAX_VALUE){var c=n[a]|| -(n[a]={key:a});e(c)}if(!E(b))return a in k||g++,k[a]=b,g>l&&this.remove(r.key),b},get:function(a){if(l<Number.MAX_VALUE){var b=n[a];if(!b)return;e(b)}return k[a]},remove:function(a){if(l<Number.MAX_VALUE){var b=n[a];if(!b)return;b==p&&(p=b.p);b==r&&(r=b.n);f(b.n,b.p);delete n[a]}delete k[a];g--},removeAll:function(){k={};g=0;n={};p=r=null},destroy:function(){n=h=k=null;delete a[b]},info:function(){return z({},h,{size:g})}}}var a={};b.info=function(){var b={};q(a,function(a,e){b[e]=a.info()});return b}; -b.get=function(b){return a[b]};return b}}function Me(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function nc(b,a){function c(a,b){var c=/^\s*([@=&])(\??)\s*(\w*)\s*$/,d={};q(a,function(a,e){var f=a.match(c);if(!f)throw ja("iscp",b,e,a);d[e]={attrName:f[3]||e,mode:f[1],optional:"?"===f[2]}});return d}var d={},e=/^\s*directive\:\s*([\d\w_\-]+)\s+(.*)$/,f=/(([\d\w_\-]+)(?:\:([^;]+))?;?)/,g=xd("ngSrc,ngSrcset,src,srcset"),h=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,k=/^(on[a-z]+|formaction)$/; -this.directive=function p(a,e){Ha(a,"directive");F(a)?(Jb(e,"directiveFactory"),d.hasOwnProperty(a)||(d[a]=[],b.factory(a+"Directive",["$injector","$exceptionHandler",function(b,e){var f=[];q(d[a],function(d,h){try{var g=b.invoke(d);N(g)?g={compile:ga(g)}:!g.compile&&g.link&&(g.compile=ga(g.link));g.priority=g.priority||0;g.index=h;g.name=g.name||a;g.require=g.require||g.controller&&g.name;g.restrict=g.restrict||"EA";R(g.scope)&&(g.$$isolateBindings=c(g.scope,g.name));f.push(g)}catch(k){e(k)}});return f}])), -d[a].push(e)):q(a,dc(p));return this};this.aHrefSanitizationWhitelist=function(b){return w(b)?(a.aHrefSanitizationWhitelist(b),this):a.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(b){return w(b)?(a.imgSrcSanitizationWhitelist(b),this):a.imgSrcSanitizationWhitelist()};var l=!0;this.debugInfoEnabled=function(a){return w(a)?(l=a,this):l};this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document","$sce","$animate", -"$$sanitizeUri",function(a,b,c,s,v,J,A,u,B,C,D){function W(a,b){try{a.addClass(b)}catch(c){}}function I(a,b,c,d,e){a instanceof y||(a=y(a));q(a,function(b,c){3==b.nodeType&&b.nodeValue.match(/\S+/)&&(a[c]=y(b).wrap("<span></span>").parent()[0])});var f=aa(a,b,a,c,d,e);I.$$addScopeClass(a);var g=null,h=a,k;return function(b,c,d,e,l){Jb(b,"scope");g||(g=(l=l&&l[0])?"foreignobject"!==oa(l)&&l.toString().match(/SVG/)?"svg":"html":"html");"html"!==g&&a[0]!==k&&(h=y(Rb(g,y("<div>").append(a).html()))); -k=a[0];l=c?Ga.clone.call(h):h;if(d)for(var m in d)l.data("$"+m+"Controller",d[m].instance);I.$$addScopeInfo(l,b);c&&c(l,b);f&&f(b,l,l,e);return l}}function aa(a,b,c,d,e,f){function g(a,c,d,e){var f,k,l,m,r,u,s;if(p)for(s=Array(c.length),m=0;m<h.length;m+=3)f=h[m],s[f]=c[f];else s=c;m=0;for(r=h.length;m<r;)k=s[h[m++]],c=h[m++],f=h[m++],c?(c.scope?(l=a.$new(),I.$$addScopeInfo(y(k),l)):l=a,u=c.transcludeOnThisElement?O(a,c.transclude,e,c.elementTranscludeOnThisElement):!c.templateOnThisElement&&e?e: -!e&&b?O(a,b):null,c(f,l,k,d,u)):f&&f(a,k.childNodes,t,e)}for(var h=[],k,l,m,r,p,u=0;u<a.length;u++){k=new Sb;l=L(a[u],[],k,0===u?d:t,e);(f=l.length?fa(l,a[u],k,b,c,null,[],[],f):null)&&f.scope&&I.$$addScopeClass(k.$$element);k=f&&f.terminal||!(m=a[u].childNodes)||!m.length?null:aa(m,f?(f.transcludeOnThisElement||!f.templateOnThisElement)&&f.transclude:b);if(f||k)h.push(u,f,k),r=!0,p=p||f;f=null}return r?g:null}function O(a,b,c,d){return function(d,e,f,g,h){d||(d=a.$new(!1,h),d.$$transcluded=!0);return b(d, -e,f,c,g)}}function L(b,c,g,h,k){var l=g.$attr,m;switch(b.nodeType){case 1:wa(c,ua(oa(b)),"E",h,k);for(var r,u,s,B=b.attributes,I=0,J=B&&B.length;I<J;I++){var v=!1,C=!1;r=B[I];if(!ba||8<=ba||r.specified){m=r.name;r=X(r.value);u=ua(m);if(s=xa.test(u))m=Hb(u.substr(6),"-");var W=u.replace(/(Start|End)$/,""),D;a:{var L=W;if(d.hasOwnProperty(L)){D=void 0;for(var L=a.get(L+"Directive"),O=0,q=L.length;O<q;O++)if(D=L[O],D.multiElement){D=!0;break a}}D=!1}D&&u===W+"Start"&&(v=m,C=m.substr(0,m.length-5)+"end", -m=m.substr(0,m.length-6));u=ua(m.toLowerCase());l[u]=m;if(s||!g.hasOwnProperty(u))g[u]=r,Cc(b,u)&&(g[u]=!0);Z(b,c,r,u,s);wa(c,u,"A",h,k,v,C)}}b=b.className;if(F(b)&&""!==b)for(;m=f.exec(b);)u=ua(m[2]),wa(c,u,"C",h,k)&&(g[u]=X(m[3])),b=b.substr(m.index+m[0].length);break;case 3:H(c,b.nodeValue);break;case 8:try{if(m=e.exec(b.nodeValue))u=ua(m[1]),wa(c,u,"M",h,k)&&(g[u]=X(m[2]))}catch(G){}}c.sort(E);return c}function G(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw ja("uterdir", -b,c);1==a.nodeType&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSibling}while(0<e)}else d.push(a);return y(d)}function V(a,b,c){return function(d,e,f,g,h){e=G(e[0],b,c);return a(d,e,f,g,h)}}function fa(a,d,e,f,g,k,l,u,p){function s(a,b,c,d){if(a){c&&(a=V(a,c,d));a.require=K.require;a.directiveName=z;if(A===K||K.$$isolateScope)a=Ic(a,{isolateScope:!0});l.push(a)}if(b){c&&(b=V(b,c,d));b.require=K.require;b.directiveName=z;if(A===K||K.$$isolateScope)b=Ic(b,{isolateScope:!0});u.push(b)}} -function B(a,b,c,d){var e,f="data",g=!1,k=c,l;if(F(b)){if(l=b.match(h),b=b.substring(l[0].length),l[3]&&(l[1]?l[3]=null:l[1]=l[3]),"^"===l[1]?f="inheritedData":"^^"===l[1]&&(f="inheritedData",k=c.parent()),"?"===l[2]&&(g=!0),e=null,d&&"data"===f&&(e=d[b])&&(e=e.instance),e=e||k[f]("$"+b+"Controller"),!e&&!g)throw ja("ctreq",b,a);}else P(b)&&(e=[],q(b,function(b){e.push(B(a,b,c,d))}));return e}function C(a,c,f,g,h){function k(a,b,c){var d;Qa(a)||(c=b,b=a,a=t);E&&(d=D);c||(c=E?L.parent():L);return h(a, -b,d,c,fa)}var m,p,s,ta,D,W,L,G;d===f?(G=e,L=e.$$element):(L=y(f),G=new Sb(L,e));A&&(ta=c.$new(!0));W=h&&k;O&&(aa={},D={},q(O,function(a){var b={$scope:a===A||a.$$isolateScope?ta:c,$element:L,$attrs:G,$transclude:W};s=a.controller;"@"==s&&(s=G[a.name]);b=J(s,b,!0,a.controllerAs);D[a.name]=b;E||L.data("$"+a.name+"Controller",b.instance);aa[a.name]=b}));if(A){I.$$addScopeInfo(L,ta,!0,!(Z&&(Z===A||Z===A.$$originalDirective)));I.$$addScopeClass(L,!0);g=aa&&aa[A.name];var V=ta;g&&g.identifier&&!0===A.bindToController&& -(V=g.instance);q(ta.$$isolateBindings=A.$$isolateBindings,function(a,d){var e=a.attrName,f=a.optional,g,h,k,l;switch(a.mode){case "@":G.$observe(e,function(a){V[d]=a});G.$$observers[e].$$scope=c;G[e]&&(V[d]=b(G[e])(c));break;case "=":if(f&&!G[e])break;h=v(G[e]);l=h.literal?qa:function(a,b){return a===b||a!==a&&b!==b};k=h.assign||function(){g=V[d]=h(c);throw ja("nonassign",G[e],A.name);};g=V[d]=h(c);f=function(a){l(a,V[d])||(l(a,g)?k(c,a=V[d]):V[d]=a);return g=a};f.$stateful=!0;f=c.$watch(v(G[e],f), -null,h.literal);ta.$on("$destroy",f);break;case "&":h=v(G[e]),V[d]=function(a){return h(c,a)}}})}aa&&(q(aa,function(a){a()}),aa=null);g=0;for(m=l.length;g<m;g++)p=l[g],U(p,p.isolateScope?ta:c,L,G,p.require&&B(p.directiveName,p.require,L,D),W);var fa=c;A&&(A.template||null===A.templateUrl)&&(fa=ta);a&&a(fa,f.childNodes,t,h);for(g=u.length-1;0<=g;g--)p=u[g],U(p,p.isolateScope?ta:c,L,G,p.require&&B(p.directiveName,p.require,L,D),W)}p=p||{};for(var D=-Number.MAX_VALUE,W,O=p.controllerDirectives,aa,A= -p.newIsolateScopeDirective,Z=p.templateDirective,fa=p.nonTlbTranscludeDirective,wa=!1,x=!1,E=p.hasElementTranscludeDirective,M=e.$$element=y(d),K,z,H,Q=f,S,T=0,xa=a.length;T<xa;T++){K=a[T];var ub=K.$$start,Y=K.$$end;ub&&(M=G(d,ub,Y));H=t;if(D>K.priority)break;if(H=K.scope)K.templateUrl||(R(H)?(Ka("new/isolated scope",A||W,K,M),A=K):Ka("new/isolated scope",A,K,M)),W=W||K;z=K.name;!K.templateUrl&&K.controller&&(H=K.controller,O=O||{},Ka("'"+z+"' controller",O[z],K,M),O[z]=K);if(H=K.transclude)wa=!0, -K.$$tlb||(Ka("transclusion",fa,K,M),fa=K),"element"==H?(E=!0,D=K.priority,H=M,M=e.$$element=y($.createComment(" "+z+": "+e[z]+" ")),d=M[0],vb(g,Ta.call(H,0),d),Q=I(H,f,D,k&&k.name,{nonTlbTranscludeDirective:fa})):(H=y(Mb(d)).contents(),M.empty(),Q=I(H,f));if(K.template)if(x=!0,Ka("template",Z,K,M),Z=K,H=N(K.template)?K.template(M,e):K.template,H=Jc(H),K.replace){k=K;H=Kb.test(H)?y(Rb(K.templateNamespace,X(H))):[];d=H[0];if(1!=H.length||1!==d.nodeType)throw ja("tplrt",z,"");vb(g,M,d);xa={$attr:{}}; -H=L(d,[],xa);var ba=a.splice(T+1,a.length-(T+1));A&&Hc(H);a=a.concat(H).concat(ba);w(e,xa);xa=a.length}else M.html(H);if(K.templateUrl)x=!0,Ka("template",Z,K,M),Z=K,K.replace&&(k=K),C=ef(a.splice(T,a.length-T),M,e,g,wa&&Q,l,u,{controllerDirectives:O,newIsolateScopeDirective:A,templateDirective:Z,nonTlbTranscludeDirective:fa}),xa=a.length;else if(K.compile)try{S=K.compile(M,e,Q),N(S)?s(null,S,ub,Y):S&&s(S.pre,S.post,ub,Y)}catch(ca){c(ca,sa(M))}K.terminal&&(C.terminal=!0,D=Math.max(D,K.priority))}C.scope= -W&&!0===W.scope;C.transcludeOnThisElement=wa;C.elementTranscludeOnThisElement=E;C.templateOnThisElement=x;C.transclude=Q;p.hasElementTranscludeDirective=E;return C}function Hc(a){for(var b=0,c=a.length;b<c;b++)a[b]=fc(a[b],{$$isolateScope:!0})}function wa(b,e,f,g,h,k,l){if(e===h)return null;h=null;if(d.hasOwnProperty(e)){var r;e=a.get(e+"Directive");for(var u=0,s=e.length;u<s;u++)try{r=e[u],(g===t||g>r.priority)&&-1!=r.restrict.indexOf(f)&&(k&&(r=fc(r,{$$start:k,$$end:l})),b.push(r),h=r)}catch(B){c(B)}}return h} -function w(a,b){var c=b.$attr,d=a.$attr,e=a.$$element;q(a,function(d,e){"$"!=e.charAt(0)&&(b[e]&&b[e]!==d&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});q(b,function(b,f){"class"==f?(W(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):"style"==f?(e.attr("style",e.attr("style")+";"+b),a.style=(a.style?a.style+";":"")+b):"$"==f.charAt(0)||a.hasOwnProperty(f)||(a[f]=b,d[f]=c[f])})}function ef(a,b,c,d,e,f,g,h){var k=[],l,m,r=b[0],u=a.shift(),p=z({},u,{templateUrl:null,transclude:null,replace:null, -$$originalDirective:u}),I=N(u.templateUrl)?u.templateUrl(b,c):u.templateUrl,C=u.templateNamespace;b.empty();s(B.getTrustedResourceUrl(I)).then(function(s){var B,J;s=Jc(s);if(u.replace){s=Kb.test(s)?y(Rb(C,X(s))):[];B=s[0];if(1!=s.length||1!==B.nodeType)throw ja("tplrt",u.name,I);s={$attr:{}};vb(d,b,B);var v=L(B,[],s);R(u.scope)&&Hc(v);a=v.concat(a);w(c,s)}else B=r,b.html(s);a.unshift(p);l=fa(a,B,c,e,b,u,f,g,h);q(d,function(a,c){a==B&&(d[c]=b[0])});for(m=aa(b[0].childNodes,e);k.length;){s=k.shift(); -J=k.shift();var D=k.shift(),G=k.shift(),v=b[0];if(!s.$$destroyed){if(J!==r){var V=J.className;h.hasElementTranscludeDirective&&u.replace||(v=Mb(B));vb(D,y(J),v);W(y(v),V)}J=l.transcludeOnThisElement?O(s,l.transclude,G):G;l(m,s,v,d,J)}}k=null});return function(a,b,c,d,e){a=e;b.$$destroyed||(k?(k.push(b),k.push(c),k.push(d),k.push(a)):(l.transcludeOnThisElement&&(a=O(b,l.transclude,e)),l(m,b,c,d,a)))}}function E(a,b){var c=b.priority-a.priority;return 0!==c?c:a.name!==b.name?a.name<b.name?-1:1:a.index- -b.index}function Ka(a,b,c,d){if(b)throw ja("multidir",b.name,c.name,a,sa(d));}function H(a,c){var d=b(c,!0);d&&a.push({priority:0,compile:function(a){a=a.parent();var b=!!a.length;b&&I.$$addBindingClass(a);return function(a,c){var e=c.parent();b||I.$$addBindingClass(e);I.$$addBindingInfo(e,d.expressions);a.$watch(d,function(a){c[0].nodeValue=a})}}})}function Rb(a,b){a=S(a||"html");switch(a){case "svg":case "math":var c=$.createElement("div");c.innerHTML="<"+a+">"+b+"</"+a+">";return c.childNodes[0].childNodes; -default:return b}}function M(a,b){if("srcdoc"==b)return B.HTML;var c=oa(a);if("xlinkHref"==b||"form"==c&&"action"==b||"img"!=c&&("src"==b||"ngSrc"==b))return B.RESOURCE_URL}function Z(a,c,d,e,f){var h=b(d,!0);if(h){if("multiple"===e&&"select"===oa(a))throw ja("selmulti",sa(a));c.push({priority:100,compile:function(){return{pre:function(c,d,l){d=l.$$observers||(l.$$observers={});if(k.test(e))throw ja("nodomevents");if(h=b(l[e],!0,M(a,e),g[e]||f))l[e]=h(c),(d[e]||(d[e]=[])).$$inter=!0,(l.$$observers&& -l.$$observers[e].$$scope||c).$watch(h,function(a,b){"class"===e&&a!=b?l.$updateClass(a,b):l.$set(e,a)})}}}})}}function vb(a,b,c){var d=b[0],e=b.length,f=d.parentNode,g,h;if(a)for(g=0,h=a.length;g<h;g++)if(a[g]==d){a[g++]=c;h=g+e-1;for(var k=a.length;g<k;g++,h++)h<k?a[g]=a[h]:delete a[g];a.length-=e-1;a.context===d&&(a.context=c);break}f&&f.replaceChild(c,d);a=$.createDocumentFragment();a.appendChild(d);y(c).data(y(d).data());la?(Ib=!0,la.cleanData([d])):delete y.cache[d[y.expando]];d=1;for(e=b.length;d< -e;d++)f=b[d],y(f).remove(),a.appendChild(f),delete b[d];b[0]=c;b.length=1}function Ic(a,b){return z(function(){return a.apply(null,arguments)},a,b)}function U(a,b,d,e,f,g){try{a(b,d,e,f,g)}catch(h){c(h,sa(d))}}var Sb=function(a,b){if(b){var c=Object.keys(b),d,e,f;d=0;for(e=c.length;d<e;d++)f=c[d],this[f]=b[f]}else this.$attr={};this.$$element=a};Sb.prototype={$normalize:ua,$addClass:function(a){a&&0<a.length&&C.addClass(this.$$element,a)},$removeClass:function(a){a&&0<a.length&&C.removeClass(this.$$element, -a)},$updateClass:function(a,b){var c=Kc(a,b);c&&c.length&&C.addClass(this.$$element,c);(c=Kc(b,a))&&c.length&&C.removeClass(this.$$element,c)},$set:function(a,b,d,e){var f=this.$$element[0],g=Cc(f,a),h=Ze(f,a),f=a;g?(this.$$element.prop(a,b),e=g):h&&(this[h]=b,f=h);this[a]=b;e?this.$attr[a]=e:(e=this.$attr[a])||(this.$attr[a]=e=Hb(a,"-"));g=oa(this.$$element);if("a"===g&&"href"===a||"img"===g&&"src"===a)this[a]=b=D(b,"src"===a);else if("img"===g&&"srcset"===a){for(var g="",h=X(b),k=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/, -k=/\s/.test(h)?k:/(,)/,h=h.split(k),k=Math.floor(h.length/2),l=0;l<k;l++)var r=2*l,g=g+D(X(h[r]),!0),g=g+(" "+X(h[r+1]));h=X(h[2*l]).split(/\s/);g+=D(X(h[0]),!0);2===h.length&&(g+=" "+X(h[1]));this[a]=b=g}!1!==d&&(null===b||b===t?this.$$element.removeAttr(e):this.$$element.attr(e,b));(a=this.$$observers)&&q(a[f],function(a){try{a(b)}catch(d){c(d)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers=Object.create(null)),e=d[a]||(d[a]=[]);e.push(b);A.$evalAsync(function(){e.$$inter|| -b(c[a])});return function(){Ra(e,b)}}};var Q=b.startSymbol(),T=b.endSymbol(),Jc="{{"==Q||"}}"==T?Pa:function(a){return a.replace(/\{\{/g,Q).replace(/}}/g,T)},xa=/^ngAttr[A-Z]/;I.$$addBindingInfo=l?function(a,b){var c=a.data("$binding")||[];P(b)?c=c.concat(b):c.push(b);a.data("$binding",c)}:x;I.$$addBindingClass=l?function(a){W(a,"ng-binding")}:x;I.$$addScopeInfo=l?function(a,b,c,d){a.data(c?d?"$isolateScopeNoTemplate":"$isolateScope":"$scope",b)}:x;I.$$addScopeClass=l?function(a,b){W(a,b?"ng-isolate-scope": -"ng-scope")}:x;return I}]}function ua(b){return Wa(b.replace(ff,""))}function Kc(b,a){var c="",d=b.split(/\s+/),e=a.split(/\s+/),f=0;a:for(;f<d.length;f++){for(var g=d[f],h=0;h<e.length;h++)if(g==e[h])continue a;c+=(0<c.length?" ":"")+g}return c}function we(){var b={},a=!1,c=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(a,c){Ha(a,"controller");R(a)?z(b,a):b[a]=c};this.allowGlobals=function(){a=!0};this.$get=["$injector","$window",function(d,e){function f(a,b,c,d){if(!a||!R(a.$scope))throw U("$controller")("noscp", -d,b);a.$scope[b]=c}return function(g,h,k,l){var n,p,r;k=!0===k;l&&F(l)&&(r=l);F(g)&&(l=g.match(c),p=l[1],r=r||l[3],g=b.hasOwnProperty(p)?b[p]:mc(h.$scope,p,!0)||(a?mc(e,p,!0):t),jb(g,p,!0));if(k)return k=function(){},k.prototype=(P(g)?g[g.length-1]:g).prototype,n=new k,r&&f(h,r,n,p||g.name),z(function(){d.invoke(g,n,h,p);return n},{instance:n,identifier:r});n=d.instantiate(g,h,p);r&&f(h,r,n,p||g.name);return n}}]}function xe(){this.$get=["$window",function(b){return y(b.document)}]}function ye(){this.$get= -["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Lc(b){var a={},c,d,e;if(!b)return a;q(b.split("\n"),function(b){e=b.indexOf(":");c=S(X(b.substr(0,e)));d=X(b.substr(e+1));c&&(a[c]=a[c]?a[c]+", "+d:d)});return a}function Mc(b){var a=R(b)?b:t;return function(c){a||(a=Lc(b));return c?a[S(c)]||null:a}}function Nc(b,a,c){if(N(c))return c(b,a);q(c,function(c){b=c(b,a)});return b}function Be(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d={"Content-Type":"application/json;charset=utf-8"}, -e=this.defaults={transformResponse:[function(d){F(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=hc(d)));return d}],transformRequest:[function(a){return R(a)&&"[object File]"!==Ea.call(a)&&"[object Blob]"!==Ea.call(a)?ra(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:pa(d),put:pa(d),patch:pa(d)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},f=!1;this.useApplyAsync=function(a){return w(a)?(f=!!a,this):f};var g=this.interceptors=[];this.$get=["$httpBackend","$browser", -"$cacheFactory","$rootScope","$q","$injector",function(a,b,c,d,p,r){function m(a){function b(a){var d=z({},a,{data:Nc(a.data,a.headers,c.transformResponse)});a=a.status;return 200<=a&&300>a?d:p.reject(d)}var c={method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse},d=function(a){var b=e.headers,c=z({},a.headers),d,f,b=z({},b.common,b[S(a.method)]);a:for(d in b){a=S(d);for(f in c)if(S(f)===a)continue a;c[d]=b[d]}(function(a){var b;q(a,function(c,d){N(c)&&(b=c(),null!= -b?a[d]=b:delete a[d])})})(c);return c}(a);z(c,a);c.headers=d;c.method=lb(c.method);var f=[function(a){d=a.headers;var c=Nc(a.data,Mc(d),a.transformRequest);E(c)&&q(d,function(a,b){"content-type"===S(b)&&delete d[b]});E(a.withCredentials)&&!E(e.withCredentials)&&(a.withCredentials=e.withCredentials);return s(a,c,d).then(b,b)},t],g=p.when(c);for(q(A,function(a){(a.request||a.requestError)&&f.unshift(a.request,a.requestError);(a.response||a.responseError)&&f.push(a.response,a.responseError)});f.length;){a= -f.shift();var h=f.shift(),g=g.then(a,h)}g.success=function(a){g.then(function(b){a(b.data,b.status,b.headers,c)});return g};g.error=function(a){g.then(null,function(b){a(b.data,b.status,b.headers,c)});return g};return g}function s(c,g,l){function r(a,b,c,e){function g(){s(b,a,c,e)}L&&(200<=a&&300>a?L.put(V,[a,b,Lc(c),e]):L.remove(V));f?d.$applyAsync(g):(g(),d.$$phase||d.$apply())}function s(a,b,d,e){b=Math.max(b,0);(200<=b&&300>b?q.resolve:q.reject)({data:a,status:b,headers:Mc(d),config:c,statusText:e})} -function I(){var a=m.pendingRequests.indexOf(c);-1!==a&&m.pendingRequests.splice(a,1)}var q=p.defer(),A=q.promise,L,G,V=v(c.url,c.params);m.pendingRequests.push(c);A.then(I,I);!c.cache&&!e.cache||!1===c.cache||"GET"!==c.method&&"JSONP"!==c.method||(L=R(c.cache)?c.cache:R(e.cache)?e.cache:J);if(L)if(G=L.get(V),w(G)){if(G&&N(G.then))return G.then(I,I),G;P(G)?s(G[1],G[0],pa(G[2]),G[3]):s(G,200,{},"OK")}else L.put(V,A);E(G)&&((G=Oc(c.url)?b.cookies()[c.xsrfCookieName||e.xsrfCookieName]:t)&&(l[c.xsrfHeaderName|| -e.xsrfHeaderName]=G),a(c.method,V,g,r,l,c.timeout,c.withCredentials,c.responseType));return A}function v(a,b){if(!b)return a;var c=[];ud(b,function(a,b){null===a||E(a)||(P(a)||(a=[a]),q(a,function(a){R(a)&&(a=ha(a)?a.toISOString():ra(a));c.push(Ba(b)+"="+Ba(a))}))});0<c.length&&(a+=(-1==a.indexOf("?")?"?":"&")+c.join("&"));return a}var J=c("$http"),A=[];q(g,function(a){A.unshift(F(a)?r.get(a):r.invoke(a))});m.pendingRequests=[];(function(a){q(arguments,function(a){m[a]=function(b,c){return m(z(c|| -{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){q(arguments,function(a){m[a]=function(b,c,d){return m(z(d||{},{method:a,url:b,data:c}))}})})("post","put","patch");m.defaults=e;return m}]}function gf(b){if(8>=ba&&(!b.match(/^(get|post|head|put|delete|options)$/i)||!Q.XMLHttpRequest))return new Q.ActiveXObject("Microsoft.XMLHTTP");if(Q.XMLHttpRequest)return new Q.XMLHttpRequest;throw U("$httpBackend")("noxhr");}function Ce(){this.$get=["$browser","$window","$document",function(b, -a,c){return hf(b,gf,b.defer,a.angular.callbacks,c[0])}]}function hf(b,a,c,d,e){function f(a,b,c){var f=e.createElement("script"),n=null;f.type="text/javascript";f.src=a;f.async=!0;n=function(a){f.removeEventListener("load",n,!1);f.removeEventListener("error",n,!1);e.body.removeChild(f);f=null;var g=-1,m="unknown";a&&("load"!==a.type||d[b].called||(a={type:"error"}),m=a.type,g="error"===a.type?404:200);c&&c(g,m)};f.addEventListener("load",n,!1);f.addEventListener("error",n,!1);e.body.appendChild(f); -return n}return function(e,h,k,l,n,p,r,m){function s(){J=-1;u&&u();B&&B.abort()}function v(a,d,e,f,g){D&&c.cancel(D);u=B=null;0===d&&(d=e?200:"file"==ya(h).protocol?404:0);a(1223===d?204:d,e,f,g||"");b.$$completeOutstandingRequest(x)}var J;b.$$incOutstandingRequestCount();h=h||b.url();if("jsonp"==S(e)){var A="_"+(d.counter++).toString(36);d[A]=function(a){d[A].data=a;d[A].called=!0};var u=f(h.replace("JSON_CALLBACK","angular.callbacks."+A),A,function(a,b){v(l,a,d[A].data,"",b);d[A]=x})}else{var B= -a(e);B.open(e,h,!0);q(n,function(a,b){w(a)&&B.setRequestHeader(b,a)});B.onreadystatechange=function(){if(B&&4==B.readyState){var a=null,b=null,c="";-1!==J&&(a=B.getAllResponseHeaders(),b="response"in B?B.response:B.responseText);-1===J&&10>ba||(c=B.statusText);v(l,J||B.status,b,a,c)}};r&&(B.withCredentials=!0);if(m)try{B.responseType=m}catch(C){if("json"!==m)throw C;}B.send(k||null)}if(0<p)var D=c(s,p);else p&&N(p.then)&&p.then(s)}}function ze(){var b="{{",a="}}";this.startSymbol=function(a){return a? -(b=a,this):b};this.endSymbol=function(b){return b?(a=b,this):a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function f(a){return"\\\\\\"+a}function g(f,g,m,s){function v(c){return c.replace(l,b).replace(n,a)}function J(a){try{var b;var c=m?e.getTrusted(m,a):e.valueOf(a);if(null==c)b="";else{switch(typeof c){case "string":break;case "number":c=""+c;break;default:c=ra(c)}b=c}return b}catch(g){a=Tb("interr",f,g.toString()),d(a)}}s=!!s;for(var q,u,B=0,C=[],D=[],W=f.length,I=[],aa=[];B< -W;)if(-1!=(q=f.indexOf(b,B))&&-1!=(u=f.indexOf(a,q+h)))B!==q&&I.push(v(f.substring(B,q))),B=f.substring(q+h,u),C.push(B),D.push(c(B,J)),B=u+k,aa.push(I.length),I.push("");else{B!==W&&I.push(v(f.substring(B)));break}if(m&&1<I.length)throw Tb("noconcat",f);if(!g||C.length){var O=function(a){for(var b=0,c=C.length;b<c;b++){if(s&&E(a[b]))return;I[aa[b]]=a[b]}return I.join("")};return z(function(a){var b=0,c=C.length,e=Array(c);try{for(;b<c;b++)e[b]=D[b](a);return O(e)}catch(g){a=Tb("interr",f,g.toString()), -d(a)}},{exp:f,expressions:C,$$watchDelegate:function(a,b,c){var d;return a.$watchGroup(D,function(c,e){var f=O(c);N(b)&&b.call(this,f,c!==e?d:f,a);d=f},c)}})}}var h=b.length,k=a.length,l=new RegExp(b.replace(/./g,f),"g"),n=new RegExp(a.replace(/./g,f),"g");g.startSymbol=function(){return b};g.endSymbol=function(){return a};return g}]}function Ae(){this.$get=["$rootScope","$window","$q","$$q",function(b,a,c,d){function e(e,h,k,l){var n=a.setInterval,p=a.clearInterval,r=0,m=w(l)&&!l,s=(m?d:c).defer(), -v=s.promise;k=w(k)?k:0;v.then(null,null,e);v.$$intervalId=n(function(){s.notify(r++);0<k&&r>=k&&(s.resolve(r),p(v.$$intervalId),delete f[v.$$intervalId]);m||b.$apply()},h);f[v.$$intervalId]=s;return v}var f={};e.cancel=function(b){return b&&b.$$intervalId in f?(f[b.$$intervalId].reject("canceled"),a.clearInterval(b.$$intervalId),delete f[b.$$intervalId],!0):!1};return e}]}function Id(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0, -maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"\u00a4",posSuf:"",negPre:"(\u00a4",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January February March April May June July August September October November December".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "), -AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a",short:"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(b){return 1===b?"one":"other"}}}}function Ub(b){b=b.split("/");for(var a=b.length;a--;)b[a]=hb(b[a]);return b.join("/")}function Pc(b,a,c){b=ya(b,c);a.$$protocol=b.protocol;a.$$host=b.hostname;a.$$port=Y(b.port)||jf[b.protocol]||null}function Qc(b,a,c){var d="/"!==b.charAt(0);d&&(b= -"/"+b);b=ya(b,c);a.$$path=decodeURIComponent(d&&"/"===b.pathname.charAt(0)?b.pathname.substring(1):b.pathname);a.$$search=jc(b.search);a.$$hash=decodeURIComponent(b.hash);a.$$path&&"/"!=a.$$path.charAt(0)&&(a.$$path="/"+a.$$path)}function va(b,a){if(0===a.indexOf(b))return a.substr(b.length)}function Ya(b){var a=b.indexOf("#");return-1==a?b:b.substr(0,a)}function Vb(b){return b.substr(0,Ya(b).lastIndexOf("/")+1)}function Rc(b,a){this.$$html5=!0;a=a||"";var c=Vb(b);Pc(b,this,b);this.$$parse=function(a){var e= -va(c,a);if(!F(e))throw wb("ipthprfx",a,c);Qc(e,this,b);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var a=Fb(this.$$search),b=this.$$hash?"#"+hb(this.$$hash):"";this.$$url=Ub(this.$$path)+(a?"?"+a:"")+b;this.$$absUrl=c+this.$$url.substr(1)};this.$$parseLinkUrl=function(d,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;var f,g;(f=va(b,d))!==t?(g=f,g=(f=va(a,f))!==t?c+(va("/",f)||f):b+g):(f=va(c,d))!==t?g=c+f:c==d+"/"&&(g=c);g&&this.$$parse(g);return!!g}}function Wb(b, -a){var c=Vb(b);Pc(b,this,b);this.$$parse=function(d){var e=va(b,d)||va(c,d),e="#"==e.charAt(0)?va(a,e):this.$$html5?e:"";if(!F(e))throw wb("ihshprfx",d,a);Qc(e,this,b);d=this.$$path;var f=/^\/[A-Z]:(\/.*)/;0===e.indexOf(b)&&(e=e.replace(b,""));f.exec(e)||(d=(e=f.exec(d))?e[1]:d);this.$$path=d;this.$$compose()};this.$$compose=function(){var c=Fb(this.$$search),e=this.$$hash?"#"+hb(this.$$hash):"";this.$$url=Ub(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+(this.$$url?a+this.$$url:"")};this.$$parseLinkUrl= -function(a,c){return Ya(b)==Ya(a)?(this.$$parse(a),!0):!1}}function Sc(b,a){this.$$html5=!0;Wb.apply(this,arguments);var c=Vb(b);this.$$parseLinkUrl=function(d,e){if(e&&"#"===e[0])return this.hash(e.slice(1)),!0;var f,g;b==Ya(d)?f=d:(g=va(c,d))?f=b+a+g:c===d+"/"&&(f=c);f&&this.$$parse(f);return!!f};this.$$compose=function(){var c=Fb(this.$$search),e=this.$$hash?"#"+hb(this.$$hash):"";this.$$url=Ub(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+a+this.$$url}}function xb(b){return function(){return this[b]}} -function Tc(b,a){return function(c){if(E(c))return this[b];this[b]=a(c);this.$$compose();return this}}function De(){var b="",a={enabled:!1,requireBase:!0};this.hashPrefix=function(a){return w(a)?(b=a,this):b};this.html5Mode=function(b){return fb(b)?(a.enabled=b,this):R(b)?(a.enabled=fb(b.enabled)?b.enabled:a.enabled,a.requireBase=fb(b.requireBase)?b.requireBase:a.requireBase,this):a};this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(c,d,e,f){function g(a){c.$broadcast("$locationChangeSuccess", -h.absUrl(),a)}var h,k=d.baseHref(),l=d.url();if(a.enabled){if(!k&&a.requireBase)throw wb("nobase");k=l.substring(0,l.indexOf("/",l.indexOf("//")+2))+(k||"/");e=e.history?Rc:Sc}else k=Ya(l),e=Wb;h=new e(k,"#"+b);h.$$parseLinkUrl(l,l);var n=/^\s*(javascript|mailto):/i;f.on("click",function(a){if(!a.ctrlKey&&!a.metaKey&&2!=a.which){for(var b=y(a.target);"a"!==oa(b[0]);)if(b[0]===f[0]||!(b=b.parent())[0])return;var e=b.prop("href"),g=b.attr("href")||b.attr("xlink:href");R(e)&&"[object SVGAnimatedString]"=== -e.toString()&&(e=ya(e.animVal).href);n.test(e)||!e||b.attr("target")||a.isDefaultPrevented()||!h.$$parseLinkUrl(e,g)||(a.preventDefault(),h.absUrl()!=d.url()&&(c.$apply(),Q.angular["ff-684208-preventDefault"]=!0))}});h.absUrl()!=l&&d.url(h.absUrl(),!0);d.onUrlChange(function(a){h.absUrl()!=a&&(c.$evalAsync(function(){var b=h.absUrl();h.$$parse(a);c.$broadcast("$locationChangeStart",a,b).defaultPrevented?(h.$$parse(b),d.url(b)):g(b)}),c.$$phase||c.$digest())});var p=0;c.$watch(function(){var a=d.url(), -b=h.$$replace;p&&a==h.absUrl()||(p++,c.$evalAsync(function(){c.$broadcast("$locationChangeStart",h.absUrl(),a).defaultPrevented?h.$$parse(a):(d.url(h.absUrl(),b),g(a))}));h.$$replace=!1;return p});return h}]}function Ee(){var b=!0,a=this;this.debugEnabled=function(a){return w(a)?(b=a,t |