!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){function r(t){t.html5Mode({enabled:!0,requireBase:!1})}n(2),n(4),n(6),n(8);var i=window.angular;i.module("BrowserSync",["bsHistory","bsClients","bsDisconnect","bsNotify","bsSocket","bsStore","ngRoute","ngTouch","ngSanitize"]).config(["$locationProvider",r]);n(10),n(12),n(13),n(14),n(15),n(63),n(65),n(66),n(69),n(70),n(72)},function(t,e,n){n(3),t.exports=angular},function(t,e){/** * @license AngularJS v1.4.14 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e,n){"use strict";function r(t,e){return e=e||Error,function(){var n,r,i=2,o=arguments,s=o[0],a="["+(t?t+":":"")+s+"] ",c=o[1];for(a+=c.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1),n=e+i;return n=0&&(e-1 in t||t instanceof Array)||"function"==typeof t.item)}function o(t,e,n){var r,s;if(t)if(C(t))for(r in t)"prototype"==r||"length"==r||"name"==r||t.hasOwnProperty&&!t.hasOwnProperty(r)||e.call(n,t[r],r,t);else if(Hr(t)||i(t)){var a="object"!=typeof t;for(r=0,s=t.length;r=0&&t.splice(n,1),n}function q(t,e){function n(t,e){var n,i=e.$$hashKey;if(Hr(t))for(var o=0,s=t.length;o2?H(arguments,2):[];return!C(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,F(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function W(t,r){var i=r;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?i=n:O(r)?i="$WINDOW":r&&e===r?i="$DOCUMENT":T(r)&&(i="$SCOPE"),i}function J(t,e){return y(t)?n:(S(e)||(e=e?2:null),JSON.stringify(t,W,e))}function X(t){return k(t)?JSON.parse(t):t}function Y(t,e){t=t.replace(Gr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function G(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function K(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset(),i=Y(e,r);return G(t,n*(i-r))}function Z(t){t=jr(t).clone();try{t.empty()}catch(t){}var e=jr("
").append(t).html();try{return t[0].nodeType===ni?Cr(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+Cr(e)})}catch(t){return Cr(e)}}function Q(t){try{return decodeURIComponent(t)}catch(t){}}function tt(t){var e={};return o((t||"").split("&"),function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),n!==-1&&(r=t.substring(0,n),i=t.substring(n+1)),r=Q(r),b(r)&&(i=!b(i)||Q(i),Ar.call(e,r)?Hr(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))}),e}function et(t){var e=[];return o(t,function(t,n){Hr(t)?o(t,function(t){e.push(rt(n,!0)+(t===!0?"":"="+rt(t,!0)))}):e.push(rt(n,!0)+(t===!0?"":"="+rt(t,!0)))}),e.length?e.join("&"):""}function nt(t){return rt(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function rt(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function it(t,e){var n,r,i=Kr.length;for(r=0;r/,">"))}r=r||[],r.unshift(["$provide",function(t){t.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),r.unshift("ng");var o=ee(r,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),o},c=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return t&&c.test(t.name)&&(i.debugInfoEnabled=!0,t.name=t.name.replace(c,"")),t&&!u.test(t.name)?a():(t.name=t.name.replace(u,""),Ur.resumeBootstrap=function(t){return o(t,function(t){r.push(t)}),a()},void(C(Ur.resumeDeferredBootstrap)&&Ur.resumeDeferredBootstrap()))}function at(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function ct(t){var e=Ur.element(t).injector();if(!e)throw qr("test","no injector found for element argument to getTestability");return e.get("$$testability")}function ut(t,e){return e=e||"_",t.replace(Zr,function(t,n){return(n?e:"")+t.toLowerCase()})}function lt(){var e;if(!Qr){var r=Yr();Pr=y(r)?t.jQuery:r?t[r]:n,Pr&&Pr.fn.on?(jr=Pr,f(Pr.fn,{scope:wi.scope,isolateScope:wi.isolateScope,controller:wi.controller,injector:wi.injector,inheritedData:wi.inheritedData}),e=Pr.cleanData,Pr.cleanData=function(t){var n;if(Fr)Fr=!1;else for(var r,i=0;null!=(r=t[i]);i++)n=Pr._data(r,"events"),n&&n.$destroy&&Pr(r).triggerHandler("$destroy");e(t)}):jr=Tt,Ur.element=jr,Qr=!0}}function ft(t,e,n){if(!t)throw qr("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ht(t,e,n){return n&&Hr(t)&&(t=t[t.length-1]),ft(C(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function pt(t,e){if("hasOwnProperty"===t)throw qr("badname","hasOwnProperty is not a valid {0} name",e)}function dt(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,s=i.length,a=0;a=0)return"...";e.push(n)}return n})}function yt(t){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):y(t)?"undefined":"string"!=typeof t?$t(t):t}function bt(e){f(e,{bootstrap:st,copy:q,extend:f,merge:h,equals:L,element:jr,forEach:o,injector:ee,noop:m,bind:z,toJson:J,fromJson:X,identity:v,isUndefined:y,isDefined:b,isString:k,isFunction:C,isObject:w,isNumber:S,isElement:R,isArray:Hr,version:si,isDate:E,lowercase:Cr,uppercase:Or,callbacks:{counter:0},getTestability:ct,$$minErr:r,$$csp:Xr,reloadWithDebugInfo:at}),(Dr=gt(t))("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:bn}),t.provider("$compile",fe).directive({a:Co,input:zo,textarea:zo,form:Mo,script:_s,select:qs,style:Ls,option:Us,ngBind:Xo,ngBindHtml:Go,ngBindTemplate:Yo,ngClass:Zo,ngClassEven:ts,ngClassOdd:Qo,ngCloak:es,ngController:ns,ngForm:jo,ngHide:Ms,ngIf:os,ngInclude:ss,ngInit:cs,ngNonBindable:xs,ngPluralize:Cs,ngRepeat:As,ngShow:Ns,ngStyle:js,ngSwitch:Ps,ngSwitchWhen:Ds,ngSwitchDefault:Bs,ngOptions:Es,ngTransclude:Rs,ngModel:ys,ngList:us,ngChange:Ko,pattern:Hs,ngPattern:Hs,required:Fs,ngRequired:Fs,minlength:Ws,ngMinlength:Ws,maxlength:zs,ngMaxlength:zs,ngValue:Jo,ngModelOptions:ws}).directive({ngInclude:as}).directive(Ao).directive(rs),t.provider({$anchorScroll:ne,$animate:Ri,$animateCss:Vi,$$animateJs:Di,$$animateQueue:Bi,$$AnimateRunner:Ii,$$animateAsyncRun:_i,$browser:ce,$cacheFactory:ue,$controller:ve,$document:ge,$exceptionHandler:$e,$filter:Dn,$$forceReflow:Hi,$interpolate:je,$interval:Pe,$http:Oe,$httpParamSerializer:be,$httpParamSerializerJQLike:we,$httpBackend:Ne,$xhrFactory:Te,$location:Je,$log:Xe,$parse:dn,$rootScope:yn,$q:mn,$$q:vn,$sce:Sn,$sceDelegate:kn,$sniffer:En,$templateCache:le,$templateRequest:Cn,$$testability:An,$timeout:On,$window:Mn,$$rAF:$n,$$jqLite:Gt,$$HashMap:Ei,$$cookieReader:Pn})}])}function wt(){return++ci}function xt(t){return t.replace(fi,function(t,e,n,r){return r?n.toUpperCase():n}).replace(hi,"Moz$1")}function kt(t){return!vi.test(t)}function St(t){var e=t.nodeType;return e===ti||!e||e===ii}function Et(t){for(var e in ai[t.ng339])return!0;return!1}function Ct(t,e){var n,r,i,s,a=e.createDocumentFragment(),c=[];if(kt(t))c.push(e.createTextNode(t));else{for(n=n||a.appendChild(e.createElement("div")),r=(gi.exec(t)||["",""])[1].toLowerCase(),i=yi[r]||yi._default,n.innerHTML=i[1]+t.replace($i,"<$1>")+i[2],s=i[0];s--;)n=n.lastChild;c=F(c,n.childNodes),n=a.firstChild,n.textContent=""}return a.textContent="",a.innerHTML="",o(c,function(t){a.appendChild(t)}),a}function At(t,n){n=n||e;var r;return(r=mi.exec(t))?[n.createElement(r[1])]:(r=Ct(t,n))?r.childNodes:[]}function Ot(t,e){var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)}function Tt(t){if(t instanceof Tt)return t;var e;if(k(t)&&(t=Wr(t),e=!0),!(this instanceof Tt)){if(e&&"<"!=t.charAt(0))throw di("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Tt(t)}e?Vt(this,At(t)):Vt(this,t)}function Nt(t){return t.cloneNode(!0)}function Mt(t,e){if(e||Pt(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),r=0,i=n.length;r0||(li(t,e,a),delete s[e])};o(e.split(" "),function(t){c(t),pi[t]&&c(pi[t])})}else for(e in s)"$destroy"!==e&&li(t,e,a),delete s[e]}function Pt(t,e){var r=t.ng339,i=r&&ai[r];if(i){if(e)return void delete i.data[e];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),jt(t)),delete ai[r],t.ng339=n}}function Dt(t,e){var r=t.ng339,i=r&&ai[r];return e&&!i&&(t.ng339=r=wt(),i=ai[r]={events:{},data:{},handle:n}),i}function Bt(t,e,n){if(St(t)){var r=b(n),i=!r&&e&&!w(e),o=!e,s=Dt(t,!i),a=s&&s.data;if(r)a[e]=n;else{if(o)return a;if(i)return a&&a[e];f(a,e)}}}function Rt(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function _t(t,e){e&&t.setAttribute&&o(e.split(" "),function(e){t.setAttribute("class",Wr((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Wr(e)+" "," ")))})}function It(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(e.split(" "),function(t){t=Wr(t),n.indexOf(" "+t+" ")===-1&&(n+=t+" ")}),t.setAttribute("class",Wr(n))}}function Vt(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var r=0;r1&&(i=U(i));for(var c=0;cu&&this.remove(p.key),e}},get:function(t){if(u").append(t).html())):n?wi.clone.call(t):t,s)for(var u in s)c.data("$"+u+"Controller",s[u].instance);return D.$$addScopeInfo(c,e),n&&n(c,e),l&&l(e,c,c,i),c}}function B(t){var e=t&&t[0];return e&&"foreignobject"!==I(e)&&e.toString().match(/SVG/)?"svg":"html"}function R(t,e,r,i,o,s){function a(t,r,i,o){var s,a,c,u,l,f,h,p,v;if(d){var g=r.length;for(v=new Array(g),l=0;l0)}else r.push(t);return jr(r)}function F(t,e,n){return function(r,i,o,s,a){return i=U(i[0],e,n),t(r,i,o,s,a)}}function z(t,r,o,s,a,c,u,l,f){function h(t,e,n,r){t&&(n&&(t=F(t,n,r)),t.require=v.require,t.directiveName=$,(N===v||v.$$isolateScope)&&(t=ot(t,{isolateScope:!0})),u.push(t)),e&&(n&&(e=F(e,n,r)),e.require=v.require,e.directiveName=$,(N===v||v.$$isolateScope)&&(e=ot(e,{isolateScope:!0})),l.push(e))}function p(t,e,n,r){var i;if(k(e)){var o=e.match(x),s=e.substring(o[0].length),a=o[1]||o[3],c="?"===o[2];if("^^"===a?n=n.parent():(i=r&&r[s],i=i&&i.instance),!i){var u="$"+s+"Controller";i=a?n.inheritedData(u):n.data(u)}if(!i&&!c)throw qi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,t)}else if(Hr(e)){i=[];for(var l=0,f=e.length;l=0;L--)f=l[L],st(f,f.isolateScope?h:e,$,y,f.require&&p(f.directiveName,f.require,$,v),g)}f=f||{};for(var v,$,y,b,S,E=-Number.MAX_VALUE,A=f.newScopeDirective,O=f.controllerDirectives,N=f.newIsolateScopeDirective,M=f.templateDirective,j=f.nonTlbTranscludeDirective,P=!1,B=!1,R=f.hasElementTranscludeDirective,_=o.$$element=jr(r),I=c,V=s,L=0,z=t.length;Lv.priority)break;if((S=v.scope)&&(v.templateUrl||(w(S)?(Q("new/isolated scope",N||A,v,_),N=v):Q("new/isolated scope",N,v,_)),A=A||v),$=v.name,!v.templateUrl&&v.controller&&(S=v.controller,O=O||vt(),Q("'"+$+"' controller",O[$],v,_),O[$]=v),(S=v.transclude)&&(P=!0,v.$$tlb||(Q("transclusion",j,v,_),j=v),"element"==S?(R=!0,E=v.priority,y=_,_=o.$$element=jr(e.createComment(" "+$+": "+o[$]+" ")),r=_[0],it(a,H(y),r),V=D(y,s,E,I&&I.name,{nonTlbTranscludeDirective:j})):(y=jr(Nt(r)).contents(),_.empty(),V=D(y,s,n,n,{needsNewScope:v.$$isolateScope||v.$$newScope}))),v.template)if(B=!0,Q("template",M,v,_),M=v,S=C(v.template)?v.template(_,o):v.template,S=pt(S),v.replace){if(I=v,y=kt(S)?[]:de(et(v.templateNamespace,Wr(S))),r=y[0],1!=y.length||r.nodeType!==ti)throw qi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",$,"");it(a,_,r);var K={$attr:{}},tt=q(r,[],K),nt=t.splice(L+1,t.length-(L+1));(N||A)&&W(tt,N,A),t=t.concat(tt).concat(nt),Y(o,K),z=t.length}else _.html(S);if(v.templateUrl)B=!0,Q("template",M,v,_),M=v,v.replace&&(I=v),m=G(t.splice(L,t.length-L),_,o,a,P&&V,u,l,{controllerDirectives:O,newScopeDirective:A!==v&&A,newIsolateScopeDirective:N,templateDirective:M,nonTlbTranscludeDirective:j}),z=t.length;else if(v.compile)try{b=v.compile(_,o,V),C(b)?h(null,b,J,X):b&&h(b.pre,b.post,J,X)}catch(t){i(t,Z(_))}v.terminal&&(m.terminal=!0,E=Math.max(E,v.priority))}return m.scope=A&&A.scope===!0,m.transcludeOnThisElement=P,m.templateOnThisElement=B,m.transclude=V,f.hasElementTranscludeDirective=R,m}function W(t,e,n){for(var r=0,i=t.length;rp.priority)&&p.restrict.indexOf(r)!=-1){if(c&&(p=d(p,{$$start:c,$$end:f})),!p.$$bindings){var $=p.$$bindings=s(p,p.name);w($.isolateScope)&&(p.$$isolateBindings=$.isolateScope)}e.push(p),h=p}}catch(t){i(t)}return h}function X(e){if(u.hasOwnProperty(e))for(var n,r=t.get(e+l),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function nt(t,e){if("srcdoc"==e)return O.HTML;var n=I(t);return"xlinkHref"==e||"form"==n&&"action"==e||"img"!=n&&("src"==e||"ngSrc"==e)?O.RESOURCE_URL:void 0}function rt(t,e,n,i,o){var s=nt(t,i);o=$[i]||o;var a=r(n,!0,s,o);if(a){if("multiple"===i&&"select"===I(t))throw qi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Z(t));e.push({priority:100,compile:function(){return{pre:function(t,e,c){var u=c.$$observers||(c.$$observers=vt());if(S.test(i))throw qi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var l=c[i];l!==n&&(a=l&&r(l,!0,s,o),n=l),a&&(c[i]=a(t),(u[i]||(u[i]=[])).$$inter=!0,(c.$$observers&&c.$$observers[i].$$scope||t).$watch(a,function(t,e){"class"===i&&t!=e?c.$updateClass(t,e):c.$set(i,t)}))}}}})}}function it(t,n,r){var i,o,s=n[0],a=n.length,c=s.parentNode;if(t)for(i=0,o=t.length;i0&&N.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&N.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=pe(t,e);n&&n.length&&N.addClass(this.$$element,n);var r=pe(e,t);r&&r.length&&N.removeClass(this.$$element,r)},$set:function(t,e,n,r){var s,a=this.$$element[0],c=zt(a,t),u=Wt(t),l=t;if(c?(this.$$element.prop(t,e),r=c):u&&(this[u]=e,l=u),this[t]=e,r?this.$attr[t]=r:(r=this.$attr[t],r||(this.$attr[t]=r=ut(t,"-"))),s=I(this.$$element),"a"===s&&"href"===t||"img"===s&&"src"===t)this[t]=e=M(e,"src"===t);else if("img"===s&&"srcset"===t&&b(e)){for(var f="",h=Wr(e),p=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,d=/\s/.test(h)?p:/(,)/,m=h.split(d),v=Math.floor(m.length/2),g=0;g0?" ":"")+s}return n}function de(t){t=jr(t);var e=t.length;if(e<=1)return t;for(;e--;){var n=t[e];n.nodeType===ri&&Rr.call(t,e,1)}return t}function me(t,e){if(e&&k(e))return e;if(k(t)){var n=Fi.exec(t);if(n)return n[3]}}function ve(){var t={},e=!1;this.register=function(e,n){pt(e,"controller"),w(e)?f(t,e):t[e]=n},this.allowGlobals=function(){e=!0},this.$get=["$injector","$window",function(i,o){function s(t,e,n,i){if(!t||!w(t.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,e);t.$scope[e]=n}return function(r,a,c,u){var l,h,p,d;if(c=c===!0,u&&k(u)&&(d=u),k(r)){if(h=r.match(Fi),!h)throw Li("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);p=h[1],d=d||h[3],r=t.hasOwnProperty(p)?t[p]:dt(a.$scope,p,!0)||(e?dt(o,p,!0):n),ht(r,p,!0)}if(c){var m=(Hr(r)?r[r.length-1]:r).prototype;l=Object.create(m||null),d&&s(a,d,l,p||r.name);var v;return v=f(function(){var t=i.invoke(r,l,a,p);return t!==l&&(w(t)||C(t))&&(l=t,d&&s(a,d,l,p||r.name)),l},{instance:l,identifier:d})}return l=i.instantiate(r,a,p),d&&s(a,d,l,p||r.name),l}}]}function ge(){this.$get=["$window",function(t){return jr(t.document)}]}function $e(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function ye(t){return w(t)?E(t)?t.toISOString():J(t):t}function be(){this.$get=function(){return function(t){if(!t)return"";var e=[];return s(t,function(t,n){null===t||y(t)||(Hr(t)?o(t,function(t,r){e.push(rt(n)+"="+rt(ye(t)))}):e.push(rt(n)+"="+rt(ye(t))))}),e.join("&")}}}function we(){this.$get=function(){return function(t){function e(t,r,i){null===t||y(t)||(Hr(t)?o(t,function(t,n){e(t,r+"["+(w(t)?n:"")+"]")}):w(t)&&!E(t)?s(t,function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))}):n.push(rt(r)+"="+rt(ye(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function xe(t,e){if(k(t)){var n=t.replace(Yi,"").trim();if(n){var r=e("Content-Type");(r&&0===r.indexOf(zi)||ke(n))&&(t=X(n))}}return t}function ke(t){var e=t.match(Ji);return e&&Xi[e[0]].test(t)}function Se(t){function e(t,e){t&&(r[t]=r[t]?r[t]+", "+e:e)}var n,r=vt();return k(t)?o(t.split("\n"),function(t){n=t.indexOf(":"),e(Cr(Wr(t.substr(0,n))),Wr(t.substr(n+1)))}):w(t)&&o(t,function(t,n){e(Cr(n),Wr(t))}),r}function Ee(t){var e;return function(n){if(e||(e=Se(t)),n){var r=e[Cr(n)];return void 0===r&&(r=null),r}return e}}function Ce(t,e,n,r){return C(r)?r(t,e,n):(o(r,function(r){t=r(t,e,n)}),t)}function Ae(t){return 200<=t&&t<300}function Oe(){var t=this.defaults={transformResponse:[xe],transformRequest:[function(t){return!w(t)||N(t)||j(t)||M(t)?t:J(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Wi),put:U(Wi),patch:U(Wi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},e=!1;this.useApplyAsync=function(t){return b(t)?(e=!!t,this):e};var i=!0;this.useLegacyPromiseExtensions=function(t){return b(t)?(i=!!t,this):i};var s=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,c,u,l,h,p){function d(e){function s(t){var e=f({},t);return e.data=Ce(t.data,t.headers,t.status,u.transformResponse),Ae(t.status)?e:h.reject(e)}function a(t,e){var n,r={};return o(t,function(t,i){C(t)?(n=t(e),null!=n&&(r[i]=n)):r[i]=t}),r}function c(e){var n,r,i,o=t.headers,s=f({},e.headers);o=f({},o.common,o[Cr(e.method)]);t:for(n in o){r=Cr(n);for(i in s)if(Cr(i)===r)continue t;s[n]=o[n]}return a(s,U(e))}if(!Ur.isObject(e))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",e);if(!k(e.url))throw r("$http")("badreq","Http request configuration url must be a string. Received: {0}",e.url);var u=f({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer},e);u.headers=c(e),u.method=Or(u.method),u.paramSerializer=k(u.paramSerializer)?p.get(u.paramSerializer):u.paramSerializer;var l=function(e){var r=e.headers,i=Ce(e.data,Ee(r),n,e.transformRequest);return y(i)&&o(r,function(t,e){"content-type"===Cr(e)&&delete r[e]}),y(e.withCredentials)&&!y(t.withCredentials)&&(e.withCredentials=t.withCredentials),g(e,i).then(s,s)},d=[l,n],m=h.when(u);for(o(S,function(t){(t.request||t.requestError)&&d.unshift(t.request,t.requestError),(t.response||t.responseError)&&d.push(t.response,t.responseError)});d.length;){var v=d.shift(),$=d.shift();m=m.then(v,$)}return i?(m.success=function(t){return ht(t,"fn"),m.then(function(e){t(e.data,e.status,e.headers,u)}),m},m.error=function(t){return ht(t,"fn"),m.then(null,function(e){t(e.data,e.status,e.headers,u)}),m}):(m.success=Ki("success"),m.error=Ki("error")),m}function m(t){o(arguments,function(t){d[t]=function(e,n){return d(f({},n||{},{method:t,url:e}))}})}function v(t){o(arguments,function(t){d[t]=function(e,n,r){return d(f({},r||{},{method:t,url:e,data:n}))}})}function g(r,i){function o(t,n,r,i){function o(){s(n,t,r,i)}p&&(Ae(t)?p.put(S,[t,n,Se(r),i]):p.remove(S)),e?l.$applyAsync(o):(o(),l.$$phase||l.$apply())}function s(t,e,n,i){e=e>=-1?e:0,(Ae(e)?v.resolve:v.reject)({data:t,status:e,headers:Ee(n),config:r,statusText:i})}function u(t){s(t.data,t.status,U(t.headers()),t.statusText)}function f(){var t=d.pendingRequests.indexOf(r);t!==-1&&d.pendingRequests.splice(t,1)}var p,m,v=h.defer(),g=v.promise,k=r.headers,S=$(r.url,r.paramSerializer(r.params));if(d.pendingRequests.push(r),g.then(f,f),!r.cache&&!t.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(p=w(r.cache)?r.cache:w(t.cache)?t.cache:x),p&&(m=p.get(S),b(m)?D(m)?m.then(u,u):Hr(m)?s(m[1],m[0],U(m[2]),m[3]):s(m,200,{},"OK"):p.put(S,g)),y(m)){var E=Nn(r.url)?c()[r.xsrfCookieName||t.xsrfCookieName]:n;E&&(k[r.xsrfHeaderName||t.xsrfHeaderName]=E),a(r.method,S,i,o,k,r.timeout,r.withCredentials,r.responseType)}return g}function $(t,e){return e.length>0&&(t+=(t.indexOf("?")==-1?"?":"&")+e),t}var x=u("$http");t.paramSerializer=k(t.paramSerializer)?p.get(t.paramSerializer):t.paramSerializer;var S=[];return o(s,function(t){S.unshift(k(t)?p.get(t):p.invoke(t))}),d.pendingRequests=[],m("get","delete","head","jsonp"),v("post","put","patch"),d.defaults=t,d}]}function Te(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Ne(){this.$get=["$browser","$window","$document","$xhrFactory",function(t,e,n,r){return Me(t,r,t.defer,e.angular.callbacks,n[0])}]}function Me(t,e,n,r,i){function s(t,e,n){var o=i.createElement("script"),s=null;return o.type="text/javascript",o.src=t,o.async=!0,s=function(t){li(o,"load",s),li(o,"error",s),i.body.removeChild(o),o=null;var a=-1,c="unknown";t&&("load"!==t.type||r[e].called||(t={type:"error"}),c=t.type,a="error"===t.type?404:200),n&&n(a,c)},ui(o,"load",s),ui(o,"error",s),i.body.appendChild(o),s}return function(i,a,c,u,l,f,h,p){function d(){$&&$(),w&&w.abort()}function v(e,r,i,o,s){b(k)&&n.cancel(k),$=w=null,e(r,i,o,s),t.$$completeOutstandingRequest(m)}if(t.$$incOutstandingRequestCount(),a=a||t.url(),"jsonp"==Cr(i)){var g="_"+(r.counter++).toString(36);r[g]=function(t){r[g].data=t,r[g].called=!0};var $=s(a.replace("JSON_CALLBACK","angular.callbacks."+g),g,function(t,e){v(u,t,r[g].data,"",e),r[g]=m})}else{var w=e(i,a);w.open(i,a,!0),o(l,function(t,e){b(t)&&w.setRequestHeader(e,t)}),w.onload=function(){var t=w.statusText||"",e="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=e?200:"file"==Tn(a).protocol?404:0),v(u,n,e,w.getAllResponseHeaders(),t)};var x=function(){v(u,-1,null,null,"")};if(w.onerror=x,w.onabort=x,h&&(w.withCredentials=!0),p)try{w.responseType=p}catch(t){if("json"!==p)throw t}w.send(y(c)?null:c)}if(f>0)var k=n(d,f);else D(f)&&f.then(d)}}function je(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(t){return"\\\\\\"+t}function s(n){return n.replace(h,t).replace(p,e)}function a(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=J(t)}return t}function c(o,c,h,p){function d(t){try{return t=O(t),p&&!b(t)?t:a(t)}catch(t){r(Zi.interr(o,t))}}p=!!p;for(var m,v,g,$=0,w=[],x=[],k=o.length,S=[],E=[];$1&&Zi.throwNoconcat(o),!c||w.length){var A=function(t){for(var e=0,n=w.length;e4,l=u?H(arguments,4):[],f=e.setInterval,h=e.clearInterval,p=0,d=b(c)&&!c,m=(d?r:n).defer(),v=m.promise;return a=b(a)?a:0,v.then(null,null,u?function(){i.apply(null,l)}:i),v.$$intervalId=f(function(){m.notify(p++),a>0&&p>=a&&(m.resolve(p),h(v.$$intervalId),delete o[v.$$intervalId]),d||t.$apply()},s),o[v.$$intervalId]=m,v}var o={};return i.cancel=function(t){return!!(t&&t.$$intervalId in o)&&(o[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete o[t.$$intervalId],!0)},i}]}function De(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=nt(e[n]);return e.join("/")}function Be(t,e){var n=Tn(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=p(n.port)||to[n.protocol]||null}function Re(t,e){var n="/"!==t.charAt(0);n&&(t="/"+t);var r=Tn(t);e.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),e.$$search=tt(r.search),e.$$hash=decodeURIComponent(r.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function _e(t,e){if(0===e.indexOf(t))return e.substr(t.length)}function Ie(t){var e=t.indexOf("#");return e==-1?t:t.substr(0,e)}function Ve(t){return t.replace(/(#.+)|#$/,"$1")}function qe(t){return t.substr(0,Ie(t).lastIndexOf("/")+1)}function Ue(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function Le(t,e,n){this.$$html5=!0,n=n||"",Be(t,this),this.$$parse=function(t){var n=_e(e,t);if(!k(n))throw eo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Re(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=et(this.$$search),n=this.$$hash?"#"+nt(this.$$hash):"";this.$$url=De(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,s,a;return b(o=_e(t,r))?(s=o,a=b(o=_e(n,o))?e+(_e("/",o)||o):t+s):b(o=_e(e,r))?a=e+o:e==r+"/"&&(a=e),a&&this.$$parse(a),!!a}}function Fe(t,e,n){Be(t,this),this.$$parse=function(r){function i(t,e,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===e.indexOf(n)&&(e=e.replace(n,"")),i.exec(e)?t:(r=i.exec(t),r?r[1]:t)}var o,s=_e(t,r)||_e(e,r);y(s)||"#"!==s.charAt(0)?this.$$html5?o=s:(o="",y(s)&&(t=r,this.replace())):(o=_e(n,s),y(o)&&(o=s)),Re(o,this),this.$$path=i(this.$$path,o,t),this.$$compose()},this.$$compose=function(){var e=et(this.$$search),r=this.$$hash?"#"+nt(this.$$hash):"";this.$$url=De(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(e,n){return Ie(t)==Ie(e)&&(this.$$parse(e),!0)}}function He(t,e,n){this.$$html5=!0,Fe.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,s;return t==Ie(r)?o=r:(s=_e(e,r))?o=t+n+s:e===r+"/"&&(o=e),o&&this.$$parse(o),!!o},this.$$compose=function(){var e=et(this.$$search),r=this.$$hash?"#"+nt(this.$$hash):"";this.$$url=De(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+n+this.$$url}}function ze(t){return function(){return this[t]}}function We(t,e){return function(n){return y(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function Je(){var t="",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return b(e)?(t=e,this):t},this.html5Mode=function(t){return P(t)?(e.enabled=t,this):w(t)?(P(t.enabled)&&(e.enabled=t.enabled),P(t.requireBase)&&(e.requireBase=t.requireBase),P(t.rewriteLinks)&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,s){function a(t,e,n){var i=u.url(),o=u.$$state;try{r.url(t,e,n),u.$$state=r.state()}catch(t){throw u.url(i),u.$$state=o,t}}function c(t,e){n.$broadcast("$locationChangeSuccess",u.absUrl(),t,u.$$state,e)}var u,l,f,h=r.baseHref(),p=r.url();if(e.enabled){if(!h&&e.requireBase)throw eo("nobase","$location in HTML5 mode requires a tag to be present!");f=Ue(p)+(h||"/"),l=i.history?Le:He}else f=Ie(p),l=Fe;var d=qe(f);u=new l(f,d,"#"+t),u.$$parseLinkUrl(p,p),u.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(t){if(e.rewriteLinks&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!=t.which&&2!=t.button){for(var i=jr(t.target);"a"!==I(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var a=i.prop("href"),c=i.attr("href")||i.attr("xlink:href");w(a)&&"[object SVGAnimatedString]"===a.toString()&&(a=Tn(a.animVal).href),m.test(a)||!a||i.attr("target")||t.isDefaultPrevented()||u.$$parseLinkUrl(a,c)&&(t.preventDefault(),u.absUrl()!=r.url()&&(n.$apply(),s.angular["ff-684208-preventDefault"]=!0))}}),Ve(u.absUrl())!=Ve(p)&&r.url(u.absUrl(),!0);var v=!0;return r.onUrlChange(function(t,e){return y(_e(d,t))?void(s.location.href=t):(n.$evalAsync(function(){var r,i=u.absUrl(),o=u.$$state;t=Ve(t),u.$$parse(t),u.$$state=e,r=n.$broadcast("$locationChangeStart",t,i,e,o).defaultPrevented,u.absUrl()===t&&(r?(u.$$parse(i),u.$$state=o,a(i,!1,o)):(v=!1,c(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var t=Ve(r.url()),e=Ve(u.absUrl()),o=r.state(),s=u.$$replace,l=t!==e||u.$$html5&&i.history&&o!==u.$$state;(v||l)&&(v=!1,n.$evalAsync(function(){var e=u.absUrl(),r=n.$broadcast("$locationChangeStart",e,t,u.$$state,o).defaultPrevented;u.absUrl()===e&&(r?(u.$$parse(t),u.$$state=o):(l&&a(e,s,o===u.$$state?null:u.$$state),c(t,o)))})),u.$$replace=!1}),u}]}function Xe(){var t=!0,e=this;this.debugEnabled=function(e){return b(e)?(t=e,this):t},this.$get=["$window",function(n){function r(t){return t instanceof Error&&(t.stack?t=t.message&&t.stack.indexOf(t.message)===-1?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function i(t){var e=n.console||{},i=e[t]||e.log||m,s=!1;try{s=!!i.apply}catch(t){}return s?function(){var t=[];return o(arguments,function(e){t.push(r(e))}),i.apply(e,t)}:function(t,e){i(t,null==e?"":e)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function Ye(t,e){if("__defineGetter__"===t||"__defineSetter__"===t||"__lookupGetter__"===t||"__lookupSetter__"===t||"__proto__"===t)throw ro("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",e);return t}function Ge(t,e){if(t+="",!k(t))throw ro("iseccst","Cannot convert object to primitive value! Expression: {0}",e);return t}function Ke(t,e){if(t){if(t.constructor===t)throw ro("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t.window===t)throw ro("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw ro("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",e);if(t===Object)throw ro("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",e)}return t}function Ze(t,e){if(t){if(t.constructor===t)throw ro("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t===io||t===oo||t===so)throw ro("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",e)}}function Qe(t,e){if(t&&(t===(0).constructor||t===(!1).constructor||t==="".constructor||t==={}.constructor||t===[].constructor||t===Function.constructor))throw ro("isecaf","Assigning to a constructor is disallowed! Expression: {0}",e)}function tn(t,e){return"undefined"!=typeof t?t:e}function en(t,e){return"undefined"==typeof t?e:"undefined"==typeof e?t:t+e}function nn(t,e){var n=t(e);return!n.$stateful}function rn(t,e){var n,r;switch(t.type){case lo.Program:n=!0,o(t.body,function(t){rn(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case lo.Literal:t.constant=!0,t.toWatch=[];break;case lo.UnaryExpression:rn(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case lo.BinaryExpression:rn(t.left,e),rn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case lo.LogicalExpression:rn(t.left,e),rn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case lo.ConditionalExpression:rn(t.test,e),rn(t.alternate,e),rn(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case lo.Identifier:t.constant=!1,t.toWatch=[t];break;case lo.MemberExpression:rn(t.object,e),t.computed&&rn(t.property,e),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case lo.CallExpression:n=!!t.filter&&nn(e,t.callee.name),r=[],o(t.arguments,function(t){rn(t,e),n=n&&t.constant,t.constant||r.push.apply(r,t.toWatch)}),t.constant=n,t.toWatch=t.filter&&nn(e,t.callee.name)?r:[t];break;case lo.AssignmentExpression:rn(t.left,e),rn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case lo.ArrayExpression:n=!0,r=[],o(t.elements,function(t){rn(t,e),n=n&&t.constant,t.constant||r.push.apply(r,t.toWatch)}),t.constant=n,t.toWatch=r;break;case lo.ObjectExpression:n=!0,r=[],o(t.properties,function(t){rn(t.value,e),n=n&&t.value.constant,t.value.constant||r.push.apply(r,t.value.toWatch)}),t.constant=n,t.toWatch=r;break;case lo.ThisExpression:t.constant=!1,t.toWatch=[]}}function on(t){if(1==t.length){var e=t[0].expression,r=e.toWatch;return 1!==r.length?r:r[0]!==e?r:n}}function sn(t){return t.type===lo.Identifier||t.type===lo.MemberExpression}function an(t){if(1===t.body.length&&sn(t.body[0].expression))return{type:lo.AssignmentExpression,left:t.body[0].expression,right:{type:lo.NGValueParameter},operator:"="}}function cn(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===lo.Literal||t.body[0].expression.type===lo.ArrayExpression||t.body[0].expression.type===lo.ObjectExpression)}function un(t){return t.constant}function ln(t,e){this.astBuilder=t,this.$filter=e}function fn(t,e){this.astBuilder=t,this.$filter=e}function hn(t){return"constructor"==t}function pn(t){return C(t.valueOf)?t.valueOf():ho.call(t)}function dn(){var t=vt(),e=vt();this.$get=["$filter",function(r){function i(n,i,o){var a,p,$;switch(o=o||g,typeof n){case"string":n=n.trim(),$=n;var y=o?e:t;if(a=y[$],!a){":"===n.charAt(0)&&":"===n.charAt(1)&&(p=!0,n=n.substring(2));var b=o?v:d,w=new uo(b),x=new fo(w,r,b);a=x.parse(n),a.constant?a.$$watchDelegate=f:p?a.$$watchDelegate=a.literal?l:u:a.inputs&&(a.$$watchDelegate=c),o&&(a=s(a)),y[$]=a}return h(a,i);case"function":return h(n,i);default:return h(m,i)}}function s(t){function e(e,n,r,i){var o=g;g=!0;try{return t(e,n,r,i)}finally{g=o}}if(!t)return t;e.$$watchDelegate=t.$$watchDelegate,e.assign=s(t.assign),e.constant=t.constant,e.literal=t.literal;for(var n=0;t.inputs&&n0&&u(this.$$state),r.promise},catch:function(t){return this.then(null,t)},finally:function(t,e){return this.then(function(e){return g(e,!0,t)},function(e){return g(e,!1,t)},e)}}),f(l.prototype,{resolve:function(t){this.promise.$$state.status||(t===this.promise?this.$$reject(p("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):this.$$resolve(t)); },$$resolve:function(t){var n,r;r=i(this,this.$$resolve,this.$$reject);try{(w(t)||C(t))&&(n=t&&t.then),C(n)?(this.promise.$$state.status=-1,n.call(t,r[0],r[1],this.notify)):(this.promise.$$state.value=t,this.promise.$$state.status=1,u(this.promise.$$state))}catch(t){r[1](t),e(t)}},reject:function(t){this.promise.$$state.status||this.$$reject(t)},$$reject:function(t){this.promise.$$state.value=t,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&t(function(){for(var t,i,o=0,s=r.length;o=0&&$(o,-1),s=null}},$watchGroup:function(t,e){function n(){c=!1,u?(u=!1,e(i,i,a)):e(i,r,a)}var r=new Array(t.length),i=new Array(t.length),s=[],a=this,c=!1,u=!0;if(!t.length){var l=!0;return a.$evalAsync(function(){l&&e(i,i,a)}),function(){l=!1}}return 1===t.length?this.$watch(t[0],function(t,n,o){i[0]=t,r[0]=n,e(i,t===n?i:r,o)}):(o(t,function(t,e){var o=a.$watch(t,function(t,o){i[e]=t,r[e]=o,c||(c=!0,a.$evalAsync(n))});s.push(o)}),function(){for(;s.length;)s.shift()()})},$watchCollection:function(t,e){function n(t){o=t;var e,n,r,a,c;if(!y(o)){if(w(o))if(i(o)){s!==p&&(s=p,v=s.length=0,f++),e=o.length,v!==e&&(f++,s.length=v=e);for(var u=0;ue){f++;for(n in s)Ar.call(o,n)||(v--,delete s[n])}}else s!==o&&(s=o,f++);return f}}function r(){if(m?(m=!1,e(o,o,c)):e(o,a,c),u)if(w(o))if(i(o)){a=new Array(o.length);for(var t=0;t1,f=0,h=l(t,n),p=[],d={},m=!0,v=0;return this.$watch(h,r)},$digest:function(){var t,r,i,o,c,l,h,p,d,m,$,y,b=e,w=this,S=[];v("$digest"),f.$$checkUrlChange(),this===E&&null!==a&&(f.defer.cancel(a),k()),s=null;do{for(p=!1,m=w;A.length;){try{y=A.shift(),y.scope.$eval(y.expression,y.locals)}catch(t){u(t)}s=null}t:do{if(l=m.$$watchers)for(h=l.length;h--;)try{if(t=l[h])if(c=t.get,(r=c(m))===(i=t.last)||(t.eq?L(r,i):"number"==typeof r&&"number"==typeof i&&isNaN(r)&&isNaN(i))){if(t===s){p=!1;break t}}else p=!0,s=t,t.last=t.eq?q(r,null):r,o=t.fn,o(r,i===x?r:i,m),b<5&&($=4-b,S[$]||(S[$]=[]),S[$].push({msg:C(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,newVal:r,oldVal:i}))}catch(t){u(t)}if(!(d=m.$$watchersCount&&m.$$childHead||m!==w&&m.$$nextSibling))for(;m!==w&&!(d=m.$$nextSibling);)m=m.$parent}while(m=d);if((p||A.length)&&!b--)throw g(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,S)}while(p||A.length);for(g();O.length;)try{O.shift()()}catch(t){u(t)}},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===E&&f.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var e in this.$$listenerCount)b(this,this.$$listenerCount[e],e);t&&t.$$childHead==this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail==this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=m,this.$on=this.$watch=this.$watchGroup=function(){return m},this.$$listeners={},this.$$nextSibling=null,p(this)}},$eval:function(t,e){return l(t)(this,e)},$evalAsync:function(t,e){E.$$phase||A.length||f.defer(function(){A.length&&E.$digest()}),A.push({scope:this,expression:l(t),locals:e})},$$postDigest:function(t){O.push(t)},$apply:function(t){try{v("$apply");try{return this.$eval(t)}finally{g()}}catch(t){u(t)}finally{try{E.$digest()}catch(t){throw u(t),t}}},$applyAsync:function(t){function e(){n.$eval(t)}var n=this;t&&T.push(e),t=l(t),S()},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);var r=this;do r.$$listenerCount[t]||(r.$$listenerCount[t]=0),r.$$listenerCount[t]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(e);r!==-1&&(n[r]=null,b(i,1,t))}},$emit:function(t,e){var n,r,i,o=[],s=this,a=!1,c={name:t,targetScope:s,stopPropagation:function(){a=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},l=F([c],arguments,1);do{for(n=s.$$listeners[t]||o,c.currentScope=s,r=0,i=n.length;r-1)throw po("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=Jr(t).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(A(t))return new RegExp("^"+t.source+"$");throw po("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function xn(t){var e=[];return b(t)&&o(t,function(t){e.push(wn(t))}),e}function kn(){this.SCE_CONTEXTS=mo;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=xn(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=xn(t)),e},this.$get=["$injector",function(n){function r(t,e){return"self"===t?Nn(e):!!t.exec(e.href)}function i(n){var i,o,s=Tn(n.toString()),a=!1;for(i=0,o=t.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=U(mo);r.isEnabled=function(){return t},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,t||(r.trustAs=r.getTrusted=function(t,e){return e},r.valueOf=v),r.parseAs=function(t,n){var i=e(n);return i.literal&&i.constant?i:e(n,function(e){return r.getTrusted(t,e)})};var i=r.parseAs,s=r.getTrusted,a=r.trustAs;return o(mo,function(t,e){var n=Cr(e);r[xt("parse_as_"+n)]=function(e){return i(t,e)},r[xt("get_trusted_"+n)]=function(e){return s(t,e)},r[xt("trust_as_"+n)]=function(e){return a(t,e)}}),r}]}function En(){this.$get=["$window","$document",function(t,e){var n,r,i={},o=p((/android (\d+)/.exec(Cr((t.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((t.navigator||{}).userAgent),a=e[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,u=a.body&&a.body.style,l=!1,f=!1;if(u){for(var h in u)if(r=c.exec(h)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in u&&"webkit"),l=!!("transition"in u||n+"Transition"in u),f=!!("animation"in u||n+"Animation"in u),!o||l&&f||(l=k(u.webkitTransition),f=k(u.webkitAnimation))}return{history:!(!t.history||!t.history.pushState||o<4||s),hasEvent:function(t){if("input"===t&&Mr<=11)return!1;if(y(i[t])){var e=a.createElement("div");i[t]="on"+t in e}return i[t]},csp:Xr(),vendorPrefix:n,transitions:l,animations:f,android:o}}]}function Cn(){this.$get=["$templateCache","$http","$q","$sce",function(t,e,n,r){function i(o,s){function a(t){if(!s)throw qi("tpload","Failed to load template: {0} (HTTP status: {1} {2})",o,t.status,t.statusText);return n.reject(t)}i.totalPendingRequests++,k(o)&&!y(t.get(o))||(o=r.getTrustedResourceUrl(o));var c=e.defaults&&e.defaults.transformResponse;Hr(c)?c=c.filter(function(t){return t!==xe}):c===xe&&(c=null);var u={cache:t,transformResponse:c};return e.get(o,u).finally(function(){i.totalPendingRequests--}).then(function(e){return t.put(o,e.data),e.data},a)}return i.totalPendingRequests=0,i}]}function An(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var r={};return r.findBindings=function(t,e,n){var r=t.getElementsByClassName("ng-binding"),i=[];return o(r,function(t){var r=Ur.element(t).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Jr(e)+"(\\s|\\||$)");o.test(r)&&i.push(t)}else r.indexOf(e)!=-1&&i.push(t)})}),i},r.findModels=function(t,e,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(c=e(o.substring(0,a)),y(r[c])&&(r[c]=e(o.substring(a+1))));return r}}function Pn(){this.$get=jn}function Dn(t){function e(r,i){if(w(r)){var s={};return o(r,function(t,n){s[n]=e(n,t)}),s}return t.factory(r+n,i)}var n="Filter";this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+n)}}],e("currency",Vn),e("date",tr),e("filter",Bn),e("json",er),e("limitTo",nr),e("lowercase",So),e("number",qn),e("orderBy",rr),e("uppercase",Eo)}function Bn(){return function(t,e,n){if(!i(t)){if(null==t)return t;throw r("filter")("notarray","Expected array but received: {0}",t)}var o,s,a=In(e);switch(a){case"function":o=e;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":o=Rn(e,n,s);break;default:return t}return Array.prototype.filter.call(t,o)}}function Rn(t,e,n){var r,i=w(t)&&"$"in t;return e===!0?e=L:C(e)||(e=function(t,e){return!y(t)&&(null===t||null===e?t===e:!(w(e)||w(t)&&!$(t))&&(t=Cr(""+t),e=Cr(""+e),t.indexOf(e)!==-1))}),r=function(r){return i&&!w(r)?_n(r,t.$,e,!1):_n(r,t,e,n)}}function _n(t,e,n,r,i){var o=In(t),s=In(e);if("string"===s&&"!"===e.charAt(0))return!_n(t,e.substring(1),n,r);if(Hr(t))return t.some(function(t){return _n(t,e,n,r)});switch(o){case"object":var a;if(r){for(a in t)if("$"!==a.charAt(0)&&_n(t[a],e,n,!0))return!0;return!i&&_n(t,e,n,!1)}if("object"===s){for(a in e){var c=e[a];if(!C(c)&&!y(c)){var u="$"===a,l=u?t:t[a];if(!_n(l,c,n,u,u))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function In(t){return null===t?"null":typeof t}function Vn(t){var e=t.NUMBER_FORMATS;return function(t,n,r){return y(n)&&(n=e.CURRENCY_SYM),y(r)&&(r=e.PATTERNS[1].maxFrac),null==t?t:Fn(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function qn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Fn(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Un(t){var e,n,r,i,o,s=0;for((n=t.indexOf(yo))>-1&&(t=t.replace(yo,"")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charAt(r)==bo;r++);if(r==(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)==bo;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+t.charAt(r)}return n>$o&&(e=e.splice(0,$o-1),s=n-1,n=1),{d:e,e:s,i:n}}function Ln(t,e,n,r){var i=t.d,o=i.length-t.i;e=y(e)?Math.min(Math.max(n,o),r):+e;var s=e+t.i,a=i[s];if(s>0)i.splice(s);else{t.i=1,i.length=s=e+1;for(var c=0;c=5&&i[s-1]++;o0?p=l.splice(f,l.length):(p=l,l=[0]);var d=[];for(l.length>=e.lgSize&&d.unshift(l.splice(-e.lgSize,l.length).join(""));l.length>e.gSize;)d.unshift(l.splice(-e.gSize,l.length).join(""));l.length&&d.unshift(l.join("")),u=d.join(n),p.length&&(u+=r+p.join("")),h&&(u+="e+"+h)}return t<0&&!a?e.negPre+u+e.negSuf:e.posPre+u+e.posSuf}function Hn(t,e,n){var r="";for(t<0&&(r="-",t=-t),t=""+t;t.length0||o>-n)&&(o+=n),0===o&&n==-12&&(o=12),Hn(o,e,r)}}function Wn(t,e){return function(n,r){var i=n["get"+t](),o=Or(e?"SHORT"+t:t);return r[o][i]}}function Jn(t,e,n){var r=-1*n,i=r>=0?"+":"";return i+=Hn(Math[r>0?"floor":"ceil"](r/60),2)+Hn(Math.abs(r%60),2)}function Xn(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function Yn(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Gn(t){return function(e){var n=Xn(e.getFullYear()),r=Yn(e),i=+r-+n,o=1+Math.round(i/6048e5);return Hn(o,t)}}function Kn(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function Zn(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}function Qn(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}function tr(t){function e(t){var e;if(e=t.match(n)){var r=new Date(0),i=0,o=0,s=e[8]?r.setUTCFullYear:r.setFullYear,a=e[8]?r.setUTCHours:r.setHours;e[9]&&(i=p(e[9]+e[10]),o=p(e[9]+e[11])),s.call(r,p(e[1]),p(e[2])-1,p(e[3]));var c=p(e[4]||0)-i,u=p(e[5]||0)-o,l=p(e[6]||0),f=Math.round(1e3*parseFloat("0."+(e[7]||0)));return a.call(r,c,u,l,f),r}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var s,a,c="",u=[];if(r=r||"mediumDate",r=t.DATETIME_FORMATS[r]||r,k(n)&&(n=ko.test(n)?p(n):e(n)),S(n)&&(n=new Date(n)),!E(n)||!isFinite(n.getTime()))return n;for(;r;)a=xo.exec(r),a?(u=F(u,a,1),r=u.pop()):(u.push(r),r=null);var l=n.getTimezoneOffset();return i&&(l=Y(i,l),n=K(n,i,!0)),o(u,function(e){s=wo[e],c+=s?s(n,t.DATETIME_FORMATS,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}}function er(){return function(t,e){return y(e)&&(e=2),J(t,e)}}function nr(){return function(t,e,n){return e=Math.abs(Number(e))===1/0?Number(e):p(e),isNaN(e)?t:(S(t)&&(t=t.toString()),Hr(t)||k(t)?(n=!n||isNaN(n)?0:p(n),n=n<0?Math.max(0,t.length+n):n,e>=0?t.slice(n,n+e):0===n?t.slice(e,t.length):t.slice(Math.max(0,n+e),n)):t)}}function rr(t){function e(e,n){return n=n?-1:1,e.map(function(e){var r=1,i=v;if(C(e))i=e;else if(k(e)&&("+"!=e.charAt(0)&&"-"!=e.charAt(0)||(r="-"==e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(i=t(e),i.constant))){var o=i();i=function(t){return t[o]}}return{get:i,descending:r*n}})}function n(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function r(t,e){return"function"==typeof t.valueOf&&(t=t.valueOf(),n(t))?t:$(t)&&(t=t.toString(),n(t))?t:e}function o(t,e){var n=typeof t;return null===t?(n="string",t="null"):"string"===n?t=t.toLowerCase():"object"===n&&(t=r(t,e)),{value:t,type:n}}function s(t,e){var n=0;return t.type===e.type?t.value!==e.value&&(n=t.value=v},a.$observe("min",function(t){v=p(t),c.$validate()})}if(b(a.max)||a.ngMax){var g;c.$validators.max=function(t){return!h(t)||y(g)||r(t)<=g},a.$observe("max",function(t){g=p(t),c.$validate()})}}}function pr(t,e,r,i){var o=e[0],s=i.$$hasNativeValidators=w(o.validity);s&&i.$parsers.push(function(t){var r=e.prop(Er)||{};return r.badInput&&!r.typeMismatch?n:t})}function dr(t,e,r,i,o,s){if(pr(t,e,r,i),ur(t,e,r,i,o,s),i.$$parserName="number",i.$parsers.push(function(t){return i.$isEmpty(t)?null:Ro.test(t)?parseFloat(t):n}),i.$formatters.push(function(t){if(!i.$isEmpty(t)){if(!S(t))throw gs("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t}),b(r.min)||r.ngMin){var a;i.$validators.min=function(t){return i.$isEmpty(t)||y(a)||t>=a},r.$observe("min",function(t){b(t)&&!S(t)&&(t=parseFloat(t,10)),a=S(t)&&!isNaN(t)?t:n,i.$validate()})}if(b(r.max)||r.ngMax){var c;i.$validators.max=function(t){return i.$isEmpty(t)||y(c)||t<=c},r.$observe("max",function(t){b(t)&&!S(t)&&(t=parseFloat(t,10)),c=S(t)&&!isNaN(t)?t:n,i.$validate()})}}function mr(t,e,n,r,i,o){ur(t,e,n,r,i,o),ar(r),r.$$parserName="url",r.$validators.url=function(t,e){var n=t||e;return r.$isEmpty(n)||Do.test(n)}}function vr(t,e,n,r,i,o){ur(t,e,n,r,i,o),ar(r),r.$$parserName="email",r.$validators.email=function(t,e){var n=t||e;return r.$isEmpty(n)||Bo.test(n)}}function gr(t,e,n,r){y(n.name)&&e.attr("name",c());var i=function(t){e[0].checked&&r.$setViewValue(n.value,t&&t.type)};e.on("click",i),r.$render=function(){var t=n.value;e[0].checked=t==r.$viewValue},n.$observe("value",r.$render)}function $r(t,e,n,r,i){var o;if(b(r)){if(o=t(r),!o.constant)throw gs("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}function yr(t,e,n,r,i,o,s,a){var c=$r(a,t,"ngTrueValue",n.ngTrueValue,!0),u=$r(a,t,"ngFalseValue",n.ngFalseValue,!1),l=function(t){r.$setViewValue(e[0].checked,t&&t.type)};e.on("click",l),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t===!1},r.$formatters.push(function(t){return L(t,c)}),r.$parsers.push(function(t){return t?c:u})}function br(t,e){return t="ngClass"+t,["$animate",function(n){function r(t,e){var n=[];t:for(var r=0;r0||n[t])&&(n[t]=(n[t]||0)+e,n[t]===+(e>0)&&r.push(t))}),a.data("$classCounts",n),r.join(" ")}function h(t,e){var i=r(e,t),o=r(t,e);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(a,i),o&&o.length&&n.removeClass(a,o)}function p(t){if(e===!0||s.$index%2===e){var n=i(t||[]);if(d){if(!L(t,d)){var r=i(d);h(r,n)}}else u(n)}d=Hr(t)?t.map(function(t){return U(t)}):U(t)}var d;s.$watch(c[t],p,!0),c.$observe("class",function(e){p(s.$eval(c[t]))}),"ngClass"!==t&&s.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var a=i(s.$eval(c[t]));o===e?u(a):l(a)}})}}}]}function wr(t){function e(t,e,c){y(e)?r("$pending",t,c):i("$pending",t,c),P(e)?e?(f(a.$error,t,c),l(a.$$success,t,c)):(l(a.$error,t,c),f(a.$$success,t,c)):(f(a.$error,t,c),f(a.$$success,t,c)),a.$pending?(o(vs,!0),a.$valid=a.$invalid=n,s("",null)):(o(vs,!1),a.$valid=xr(a.$error),a.$invalid=!a.$valid,s("",a.$valid));var u;u=a.$pending&&a.$pending[t]?n:!a.$error[t]&&(!!a.$$success[t]||null),s(t,u),a.$$parentForm.$setValidity(t,u,a)}function r(t,e,n){a[t]||(a[t]={}),l(a[t],e,n)}function i(t,e,r){a[t]&&f(a[t],e,r),xr(a[t])&&(a[t]=n)}function o(t,e){e&&!u[t]?(h.addClass(c,t),u[t]=!0):!e&&u[t]&&(h.removeClass(c,t),u[t]=!1)}function s(t,e){t=t?"-"+ut(t,"-"):"",o(ls+t,e===!0),o(fs+t,e===!1)}var a=t.ctrl,c=t.$element,u={},l=t.set,f=t.unset,h=t.$animate;u[fs]=!(u[ls]=c.hasClass(ls)),a.$setValidity=e}function xr(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function kr(t){t[0].hasAttribute("selected")&&(t[0].selected=!0)}var Sr=/^\/(.+)\/([a-z]*)$/,Er="validity",Cr=function(t){return k(t)?t.toLowerCase():t},Ar=Object.prototype.hasOwnProperty,Or=function(t){return k(t)?t.toUpperCase():t},Tr=function(t){return k(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},Nr=function(t){return k(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)&-33)}):t};"i"!=="I".toLowerCase()&&(Cr=Tr,Or=Nr);var Mr,jr,Pr,Dr,Br=[].slice,Rr=[].splice,_r=[].push,Ir=Object.prototype.toString,Vr=Object.getPrototypeOf,qr=r("ng"),Ur=t.angular||(t.angular={}),Lr=0;Mr=e.documentMode,m.$inject=[],v.$inject=[];var Fr,Hr=Array.isArray,zr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Wr=function(t){return k(t)?t.trim():t},Jr=function(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,vi=/<|&#?\w+;/,gi=/<([\w:-]+)/,$i=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,yi={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"], _default:[0,"",""]};yi.optgroup=yi.option,yi.tbody=yi.tfoot=yi.colgroup=yi.caption=yi.thead,yi.th=yi.td;var bi=Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},wi=Tt.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===e.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),Tt(t).on("load",r))},toString:function(){var t=[];return o(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return jr(t>=0?this[t]:this[this.length+t])},length:0,push:_r,sort:[].sort,splice:[].splice},xi={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){xi[Cr(t)]=t});var ki={};o("input,select,option,textarea,button,form,details".split(","),function(t){ki[t]=!0});var Si={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:Bt,removeData:Pt,hasData:Et},function(t,e){Tt[e]=t}),o({data:Bt,inheritedData:Ut,scope:function(t){return jr.data(t,"$scope")||Ut(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return jr.data(t,"$isolateScope")||jr.data(t,"$isolateScopeNoTemplate")},controller:qt,injector:function(t){return Ut(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Rt,css:function(t,e,n){return e=xt(e),b(n)?void(t.style[e]=n):t.style[e]},attr:function(t,e,r){var i=t.nodeType;if(i!==ni&&i!==ei&&i!==ri){var o=Cr(e);if(xi[o]){if(!b(r))return t[e]||(t.attributes.getNamedItem(e)||m).specified?o:n;r?(t[e]=!0,t.setAttribute(e,o)):(t[e]=!1,t.removeAttribute(o))}else if(b(r))t.setAttribute(e,r);else if(t.getAttribute){var s=t.getAttribute(e,2);return null===s?n:s}}},prop:function(t,e,n){return b(n)?void(t[e]=n):t[e]},text:function(){function t(t,e){if(y(e)){var n=t.nodeType;return n===ti||n===ni?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(y(e)){if(t.multiple&&"select"===I(t)){var n=[];return o(t.options,function(t){t.selected&&n.push(t.value||t.text)}),0===n.length?null:n}return t.value}t.value=e},html:function(t,e){return y(e)?t.innerHTML:(Mt(t,!0),void(t.innerHTML=e))},empty:Lt},function(t,e){Tt.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==Lt&&y(2==t.length&&t!==Rt&&t!==qt?e:n)){if(w(e)){for(r=0;r=0?e.split(" "):[e],u=c.length,l=function(e,n,i){var o=s[e];o||(o=s[e]=[],o.specialHandlerWrapper=n,"$destroy"===e||i||ui(t,e,a)),o.push(r)};u--;)e=c[u],pi[e]?(l(pi[e],Yt),l(e,n,!0)):l(e)}},off:jt,one:function(t,e,n){t=jr(t),t.on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(t,e){var n,r=t.parentNode;Mt(t),o(new Tt(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(t){var e=[];return o(t.childNodes,function(t){t.nodeType===ti&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===ti||n===oi){e=new Tt(e);for(var r=0,i=e.length;r1||t(function(){for(var t=0;t <= >= && || ! = |".split(" "),function(t){ao[t]=!0});var co={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},uo=function(t){this.options=t};uo.prototype={constructor:uo,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:lo.Program,body:t}},expressionStatement:function(){return{type:lo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t,e=this.expression();t=this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();return this.expect("=")&&(t={type:lo.AssignmentExpression,left:t,right:this.assignment(),operator:"="}),t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:lo.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:lo.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:lo.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:lo.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:lo.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:lo.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:lo.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:lo.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t;this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.constants.hasOwnProperty(this.peek().text)?t=q(this.constants[this.consume().text]):this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());for(var e;e=this.expect("(","[",".");)"("===e.text?(t={type:lo.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:lo.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:lo.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:lo.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return n},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do t.push(this.expression());while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:lo.Identifier,name:t.text}},constant:function(){return{type:lo.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:lo.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:lo.Property,kind:"init"},this.peek().constant?t.key=this.constant():this.peek().identifier?t.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),t.value=this.expression(),e.push(t)}while(this.expect(","));return this.consume("}"),{type:lo.ObjectExpression,properties:e}},throwError:function(t,e){throw ro("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw ro("ueoe","Unexpected end of expression: {0}",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw ro("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,r){return this.peekAhead(0,t,e,n,r)},peekAhead:function(t,e,n,r,i){if(this.tokens.length>t){var o=this.tokens[t],s=o.text;if(s===e||s===n||s===r||s===i||!e&&!n&&!r&&!i)return o}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return!!i&&(this.tokens.shift(),i)},constants:{true:{type:lo.Literal,value:!0},false:{type:lo.Literal,value:!1},null:{type:lo.Literal,value:null},undefined:{type:lo.Literal,value:n},this:{type:lo.ThisExpression}}},ln.prototype={compile:function(t,e){var r=this,i=this.astBuilder.ast(t);this.state={nextId:0,filters:{},expensiveChecks:e,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},rn(i,r.$filter);var s,a="";if(this.stage="assign",s=an(i)){this.state.computing="assign";var c=this.nextId();this.recurse(s,c),this.return_(c),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=on(i.body);r.stage="inputs",o(u,function(t,e){var n="fn"+e;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(t,i),r.return_(i),r.state.inputs.push(n),t.watchId=e}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",f=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,Ye,Ke,Ze,Ge,Qe,tn,en,t);return this.state=this.stage=n,f.literal=cn(i),f.constant=un(i),f},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return o(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return o(this.state.filters,function(n,r){t.push(n+"=$filter("+e.escape(r)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,r,i,s,a){var c,u,l,f,h=this;if(i=i||m,!a&&b(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,r,i,s,!0));switch(t.type){case lo.Program:o(t.body,function(e,r){h.recurse(e.expression,n,n,function(t){u=t}),r!==t.body.length-1?h.current().body.push(u,";"):h.return_(u)});break;case lo.Literal:f=this.escape(t.value),this.assign(e,f),i(f);break;case lo.UnaryExpression:this.recurse(t.argument,n,n,function(t){u=t}),f=t.operator+"("+this.ifDefined(u,0)+")",this.assign(e,f),i(f);break;case lo.BinaryExpression:this.recurse(t.left,n,n,function(t){c=t}),this.recurse(t.right,n,n,function(t){u=t}),f="+"===t.operator?this.plus(c,u):"-"===t.operator?this.ifDefined(c,0)+t.operator+this.ifDefined(u,0):"("+c+")"+t.operator+"("+u+")",this.assign(e,f),i(f);break;case lo.LogicalExpression:e=e||this.nextId(),h.recurse(t.left,e),h.if_("&&"===t.operator?e:h.not(e),h.lazyRecurse(t.right,e)),i(e);break;case lo.ConditionalExpression:e=e||this.nextId(),h.recurse(t.test,e),h.if_(e,h.lazyRecurse(t.alternate,e),h.lazyRecurse(t.consequent,e)),i(e);break;case lo.Identifier:e=e||this.nextId(),r&&(r.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),r.computed=!1,r.name=t.name),Ye(t.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",t.name)),function(){h.if_("inputs"===h.stage||"s",function(){s&&1!==s&&h.if_(h.not(h.nonComputedMember("s",t.name)),h.lazyAssign(h.nonComputedMember("s",t.name),"{}")),h.assign(e,h.nonComputedMember("s",t.name))})},e&&h.lazyAssign(e,h.nonComputedMember("l",t.name))),(h.state.expensiveChecks||hn(t.name))&&h.addEnsureSafeObject(e),i(e);break;case lo.MemberExpression:c=r&&(r.context=this.nextId())||this.nextId(),e=e||this.nextId(),h.recurse(t.object,c,n,function(){h.if_(h.notNull(c),function(){s&&1!==s&&h.addEnsureSafeAssignContext(c),t.computed?(u=h.nextId(),h.recurse(t.property,u),h.getStringValue(u),h.addEnsureSafeMemberName(u),s&&1!==s&&h.if_(h.not(h.computedMember(c,u)),h.lazyAssign(h.computedMember(c,u),"{}")),f=h.ensureSafeObject(h.computedMember(c,u)),h.assign(e,f),r&&(r.computed=!0,r.name=u)):(Ye(t.property.name),s&&1!==s&&h.if_(h.not(h.nonComputedMember(c,t.property.name)),h.lazyAssign(h.nonComputedMember(c,t.property.name),"{}")),f=h.nonComputedMember(c,t.property.name),(h.state.expensiveChecks||hn(t.property.name))&&(f=h.ensureSafeObject(f)),h.assign(e,f),r&&(r.computed=!1,r.name=t.property.name))},function(){h.assign(e,"undefined")}),i(e)},!!s);break;case lo.CallExpression:e=e||this.nextId(),t.filter?(u=h.filter(t.callee.name),l=[],o(t.arguments,function(t){var e=h.nextId();h.recurse(t,e),l.push(e)}),f=u+"("+l.join(",")+")",h.assign(e,f),i(e)):(u=h.nextId(),c={},l=[],h.recurse(t.callee,u,c,function(){h.if_(h.notNull(u),function(){h.addEnsureSafeFunction(u),o(t.arguments,function(t){h.recurse(t,h.nextId(),n,function(t){l.push(h.ensureSafeObject(t))})}),c.name?(h.state.expensiveChecks||h.addEnsureSafeObject(c.context),f=h.member(c.context,c.name,c.computed)+"("+l.join(",")+")"):f=u+"("+l.join(",")+")",f=h.ensureSafeObject(f),h.assign(e,f)},function(){h.assign(e,"undefined")}),i(e)}));break;case lo.AssignmentExpression:if(u=this.nextId(),c={},!sn(t.left))throw ro("lval","Trying to assign a value to a non l-value");this.recurse(t.left,n,c,function(){h.if_(h.notNull(c.context),function(){h.recurse(t.right,u),h.addEnsureSafeObject(h.member(c.context,c.name,c.computed)),h.addEnsureSafeAssignContext(c.context),f=h.member(c.context,c.name,c.computed)+t.operator+u,h.assign(e,f),i(e||f)})},1);break;case lo.ArrayExpression:l=[],o(t.elements,function(t){h.recurse(t,h.nextId(),n,function(t){l.push(t)})}),f="["+l.join(",")+"]",this.assign(e,f),i(f);break;case lo.ObjectExpression:l=[],o(t.properties,function(t){h.recurse(t.value,h.nextId(),n,function(e){l.push(h.escape(t.key.type===lo.Identifier?t.key.name:""+t.key.value)+":"+e)})}),f="{"+l.join(",")+"}",this.assign(e,f),i(f);break;case lo.ThisExpression:this.assign(e,"s"),i("s");break;case lo.NGValueParameter:this.assign(e,"v"),i("v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),r[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(t===!0)e();else{var r=this.current().body;r.push("if(",t,"){"),e(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(t){return"!("+t+")"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){return t+"."+e},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},addEnsureSafeObject:function(t){this.current().body.push(this.ensureSafeObject(t),";")},addEnsureSafeMemberName:function(t){this.current().body.push(this.ensureSafeMemberName(t),";")},addEnsureSafeFunction:function(t){this.current().body.push(this.ensureSafeFunction(t),";")},addEnsureSafeAssignContext:function(t){this.current().body.push(this.ensureSafeAssignContext(t),";")},ensureSafeObject:function(t){return"ensureSafeObject("+t+",text)"},ensureSafeMemberName:function(t){return"ensureSafeMemberName("+t+",text)"},ensureSafeFunction:function(t){return"ensureSafeFunction("+t+",text)"},getStringValue:function(t){this.assign(t,"getStringValue("+t+",text)")},ensureSafeAssignContext:function(t){return"ensureSafeAssignContext("+t+",text)"},lazyRecurse:function(t,e,n,r,i,o){var s=this;return function(){s.recurse(t,e,n,r,i,o)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(k(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(S(t))return t.toString();if(t===!0)return"true";if(t===!1)return"false";if(null===t)return"null";if("undefined"==typeof t)return"undefined";throw ro("esc","IMPOSSIBLE")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},fn.prototype={compile:function(t,e){var n=this,r=this.astBuilder.ast(t);this.expression=t,this.expensiveChecks=e,rn(r,n.$filter);var i,s;(i=an(r))&&(s=this.recurse(i));var a,c=on(r.body);c&&(a=[],o(c,function(t,e){var r=n.recurse(t);t.input=r,a.push(r),t.watchId=e}));var u=[];o(r.body,function(t){u.push(n.recurse(t.expression))});var l=0===r.body.length?function(){}:1===r.body.length?u[0]:function(t,e){var n;return o(u,function(r){n=r(t,e)}),n};return s&&(l.assign=function(t,e,n){return s(t,n,e)}),a&&(l.inputs=a),l.literal=cn(r),l.constant=un(r),l},recurse:function(t,e,r){var i,s,a,c=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case lo.Literal:return this.value(t.value,e);case lo.UnaryExpression:return s=this.recurse(t.argument),this["unary"+t.operator](s,e);case lo.BinaryExpression:return i=this.recurse(t.left),s=this.recurse(t.right),this["binary"+t.operator](i,s,e);case lo.LogicalExpression:return i=this.recurse(t.left),s=this.recurse(t.right),this["binary"+t.operator](i,s,e);case lo.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case lo.Identifier:return Ye(t.name,c.expression),c.identifier(t.name,c.expensiveChecks||hn(t.name),e,r,c.expression);case lo.MemberExpression:return i=this.recurse(t.object,!1,!!r),t.computed||(Ye(t.property.name,c.expression),s=t.property.name),t.computed&&(s=this.recurse(t.property)),t.computed?this.computedMember(i,s,e,r,c.expression):this.nonComputedMember(i,s,c.expensiveChecks,e,r,c.expression);case lo.CallExpression:return a=[],o(t.arguments,function(t){a.push(c.recurse(t))}),t.filter&&(s=this.$filter(t.callee.name)),t.filter||(s=this.recurse(t.callee,!0)),t.filter?function(t,r,i,o){for(var c=[],u=0;u":function(t,e,n){return function(r,i,o,s){var a=t(r,i,o,s)>e(r,i,o,s);return n?{value:a}:a}},"binary<=":function(t,e,n){return function(r,i,o,s){var a=t(r,i,o,s)<=e(r,i,o,s);return n?{value:a}:a}},"binary>=":function(t,e,n){return function(r,i,o,s){var a=t(r,i,o,s)>=e(r,i,o,s);return n?{value:a}:a}},"binary&&":function(t,e,n){return function(r,i,o,s){var a=t(r,i,o,s)&&e(r,i,o,s);return n?{value:a}:a}},"binary||":function(t,e,n){return function(r,i,o,s){var a=t(r,i,o,s)||e(r,i,o,s);return n?{value:a}:a}},"ternary?:":function(t,e,n,r){return function(i,o,s,a){var c=t(i,o,s,a)?e(i,o,s,a):n(i,o,s,a);return r?{value:c}:c}},value:function(t,e){return function(){return e?{context:n,name:n,value:t}:t}},identifier:function(t,e,r,i,o){return function(s,a,c,u){var l=a&&t in a?a:s;i&&1!==i&&l&&!l[t]&&(l[t]={});var f=l?l[t]:n;return e&&Ke(f,o),r?{context:l,name:t,value:f}:f}},computedMember:function(t,e,n,r,i){return function(o,s,a,c){var u,l,f=t(o,s,a,c);return null!=f&&(u=e(o,s,a,c),u=Ge(u),Ye(u,i),r&&1!==r&&(Qe(f),f&&!f[u]&&(f[u]={})),l=f[u],Ke(l,i)),n?{context:f,name:u,value:l}:l}},nonComputedMember:function(t,e,r,i,o,s){return function(a,c,u,l){var f=t(a,c,u,l);o&&1!==o&&(Qe(f),f&&!f[e]&&(f[e]={}));var h=null!=f?f[e]:n;return(r||hn(e))&&Ke(h,s),i?{context:f,name:e,value:h}:h}},inputs:function(t,e){return function(n,r,i,o){return o?o[e]:t(n,r,i)}}};var fo=function(t,e,n){this.lexer=t,this.$filter=e,this.options=n,this.ast=new lo(this.lexer),this.astCompiler=n.csp?new fn(this.ast,e):new ln(this.ast,e)};fo.prototype={constructor:fo,parse:function(t){return this.astCompiler.compile(t,this.options.expensiveChecks)}};var ho=Object.prototype.valueOf,po=r("$sce"),mo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},qi=r("$compile"),vo=e.createElement("a"),go=Tn(t.location.href);jn.$inject=["$document"],Dn.$inject=["$provide"];var $o=22,yo=".",bo="0";Vn.$inject=["$locale"],qn.$inject=["$locale"];var wo={yyyy:zn("FullYear",4),yy:zn("FullYear",2,0,!0),y:zn("FullYear",1),MMMM:Wn("Month"),MMM:Wn("Month",!0),MM:zn("Month",2,1),M:zn("Month",1,1),dd:zn("Date",2),d:zn("Date",1),HH:zn("Hours",2),H:zn("Hours",1),hh:zn("Hours",2,-12),h:zn("Hours",1,-12),mm:zn("Minutes",2),m:zn("Minutes",1),ss:zn("Seconds",2),s:zn("Seconds",1),sss:zn("Milliseconds",3),EEEE:Wn("Day"),EEE:Wn("Day",!0),a:Kn,Z:Jn,ww:Gn(2),w:Gn(1),G:Zn,GG:Zn,GGG:Zn,GGGG:Qn},xo=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,ko=/^\-?\d+$/;tr.$inject=["$locale"];var So=g(Cr),Eo=g(Or);rr.$inject=["$parse"];var Co=g({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Ir.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),Ao={};o(xi,function(t,e){function n(t,n,i){t.$watch(i[r],function(t){i.$set(e,!!t)})}if("multiple"!=t){var r=he("ng-"+e),i=n;"checked"===t&&(i=function(t,e,i){i.ngModel!==i[r]&&n(t,e,i)}),Ao[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(Si,function(t,e){Ao[e]=function(){return{priority:100,link:function(t,n,r){if("ngPattern"===e&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Sr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}t.$watch(r[e],function(t){r.$set(e,t)})}}}}),o(["src","srcset","href"],function(t){var e=he("ng-"+t);Ao[e]=function(){return{priority:99,link:function(n,r,i){var o=t,s=t;"href"===t&&"[object SVGAnimatedString]"===Ir.call(r.prop("href"))&&(s="xlinkHref",i.$attr[s]="xlink:href",o=null),i.$observe(e,function(e){return e?(i.$set(s,e),void(Mr&&o&&r.prop(o,i[s]))):void("href"===t&&i.$set(s,null))})}}}});var Oo={$addControl:m,$$renameControl:or,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},To="ng-submitted";sr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var No=function(t){return["$timeout","$parse",function(e,r){function i(t){return""===t?r('this[""]').assign:r(t).assign||m}var o={name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:sr,compile:function(r,o){r.addClass(hs).addClass(ls);var s=o.name?"name":!(!t||!o.ngForm)&&"ngForm";return{pre:function(t,r,o,a){var c=a[0];if(!("action"in o)){var u=function(e){t.$apply(function(){c.$commitViewValue(),c.$setSubmitted()}),e.preventDefault()};ui(r[0],"submit",u),r.on("$destroy",function(){e(function(){li(r[0],"submit",u)},0,!1)})}var l=a[1]||c.$$parentForm;l.$addControl(c);var h=s?i(c.$name):m;s&&(h(t,c),o.$observe(s,function(e){c.$name!==e&&(h(t,n),c.$$parentForm.$$renameControl(c,e),(h=i(c.$name))(t,c))})),r.on("$destroy",function(){c.$$parentForm.$removeControl(c),h(t,n),f(c,Oo)})}}}};return o}]},Mo=No(),jo=No(!0),Po=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,Do=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Bo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Ro=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,_o=/^(\d{4})-(\d{2})-(\d{2})$/,Io=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Vo=/^(\d{4})-W(\d\d)$/,qo=/^(\d{4})-(\d\d)$/,Uo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Lo="keydown wheel mousedown",Fo=vt();o("date,datetime-local,month,time,week".split(","),function(t){Fo[t]=!0});var Ho={text:cr,date:hr("date",_o,fr(_o,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":hr("datetimelocal",Io,fr(Io,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:hr("time",Uo,fr(Uo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:hr("week",Vo,lr,"yyyy-Www"),month:hr("month",qo,fr(qo,["yyyy","MM"]),"yyyy-MM"),number:dr,url:mr,email:vr,radio:gr,checkbox:yr,hidden:m,button:m,submit:m,reset:m,file:m},zo=["$browser","$sniffer","$filter","$parse",function(t,e,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,s,a){a[0]&&(Ho[Cr(s.type)]||Ho.text)(i,o,s,a[0],e,t,n,r)}}}}],Wo=/^(true|false|\d+)$/,Jo=function(){return{restrict:"A",priority:100,compile:function(t,e){return Wo.test(e.ngValue)?function(t,e,n){n.$set("value",t.$eval(n.ngValue))}:function(t,e,n){t.$watch(n.ngValue,function(t){n.$set("value",t)})}}}},Xo=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,n,r){t.$$addBindingInfo(n,r.ngBind),n=n[0],e.$watch(r.ngBind,function(t){n.textContent=y(t)?"":t})}}}}],Yo=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,r,i){var o=t(r.attr(i.$attr.ngBindTemplate));e.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(t){r.textContent=y(t)?"":t})}}}}],Go=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(r,i){var o=e(i.ngBindHtml),s=e(i.ngBindHtml,function(e){return t.valueOf(e)});return n.$$addBindingClass(r),function(e,r,i){n.$$addBindingInfo(r,i.ngBindHtml),e.$watch(s,function(){var n=o(e);r.html(t.getTrustedHtml(n)||"")})}}}}],Ko=g({restrict:"A",require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),Zo=br("",!0),Qo=br("Odd",0),ts=br("Even",1),es=ir({compile:function(t,e){e.$set("ngCloak",n),t.removeClass("ng-cloak")}}),ns=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],rs={},is={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=he("ng-"+t);rs[e]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var s=n(o[e],null,!0);return function(e,n){n.on(t,function(n){var i=function(){s(e,{$event:n})};is[t]&&r.$$phase?e.$evalAsync(i):e.$apply(i)})}}}}]});var os=["$animate",function(t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,s){var a,c,u;n.$watch(i.ngIf,function(n){n?c||s(function(n,o){c=o,n[n.length++]=e.createComment(" end ngIf: "+i.ngIf+" "),a={clone:n},t.enter(n,r.parent(),r)}):(u&&(u.remove(),u=null),c&&(c.$destroy(),c=null),a&&(u=mt(a.clone),t.leave(u).then(function(){u=null}),a=null))})}}}],ss=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ur.noop,compile:function(r,i){var o=i.ngInclude||i.src,s=i.onload||"",a=i.autoscroll;return function(r,i,c,u,l){var f,h,p,d=0,m=function(){h&&(h.remove(),h=null),f&&(f.$destroy(),f=null),p&&(n.leave(p).then(function(){h=null}),h=p,p=null)};r.$watch(o,function(o){var c=function(){!b(a)||a&&!r.$eval(a)||e()},h=++d;o?(t(o,!0).then(function(t){if(!r.$$destroyed&&h===d){var e=r.$new();u.template=t;var a=l(e,function(t){m(),n.enter(t,null,i).then(c)});f=e,p=a,f.$emit("$includeContentLoaded",o),r.$eval(s)}},function(){r.$$destroyed||h===d&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),u.template=null)})}}}}],as=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),void t(Ct(o.template,e).childNodes)(n,function(t){r.append(t)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],cs=ir({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),us=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,r,i){var s=e.attr(r.$attr.ngList)||", ",a="false"!==r.ngTrim,c=a?Wr(s):s,u=function(t){if(!y(t)){var e=[];return t&&o(t.split(c),function(t){t&&e.push(a?Wr(t):t)}),e}};i.$parsers.push(u),i.$formatters.push(function(t){return Hr(t)?t.join(s):n}),i.$isEmpty=function(t){return!t||!t.length}}}},ls="ng-valid",fs="ng-invalid",hs="ng-pristine",ps="ng-dirty",ds="ng-untouched",ms="ng-touched",vs="ng-pending",gs=r("ngModel"),$s=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(t,e,r,i,s,a,c,u,l,f){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=f(r.name||"",!1)(t),this.$$parentForm=Oo;var h,p=s(r.ngModel),d=p.assign,v=p,g=d,$=null,w=this;this.$$setOptions=function(t){if(w.$options=t,t&&t.getterSetter){var e=s(r.ngModel+"()"),n=s(r.ngModel+"($$$p)");v=function(t){var n=p(t);return C(n)&&(n=e(t)),n},g=function(t,e){C(p(t))?n(t,{$$$p:w.$modelValue}):d(t,w.$modelValue)}}else if(!p.assign)throw gs("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,Z(i))},this.$render=m,this.$isEmpty=function(t){return y(t)||""===t||null===t||t!==t};var x=0;wr({ctrl:this,$element:i,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]},$animate:a}),this.$setPristine=function(){w.$dirty=!1,w.$pristine=!0,a.removeClass(i,ps),a.addClass(i,hs)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,a.removeClass(i,hs),a.addClass(i,ps),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,a.setClass(i,ds,ms)},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,a.setClass(i,ms,ds)},this.$rollbackViewValue=function(){c.cancel($),w.$viewValue=w.$$lastCommittedViewValue,w.$render()},this.$validate=function(){if(!S(w.$modelValue)||!isNaN(w.$modelValue)){var t=w.$$lastCommittedViewValue,e=w.$$rawModelValue,r=w.$valid,i=w.$modelValue,o=w.$options&&w.$options.allowInvalid;w.$$runValidators(e,t,function(t){o||r===t||(w.$modelValue=t?e:n,w.$modelValue!==i&&w.$$writeModelToScope())})}},this.$$runValidators=function(t,e,r){function i(){var t=w.$$parserName||"parse";return y(h)?(c(t,null),!0):(h||(o(w.$validators,function(t,e){c(e,null)}),o(w.$asyncValidators,function(t,e){c(e,null)})),c(t,h),h)}function s(){var n=!0;return o(w.$validators,function(r,i){var o=r(t,e);n=n&&o,c(i,o)}),!!n||(o(w.$asyncValidators,function(t,e){c(e,null)}),!1)}function a(){var r=[],i=!0;o(w.$asyncValidators,function(o,s){var a=o(t,e);if(!D(a))throw gs("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);c(s,n),r.push(a.then(function(){c(s,!0)},function(t){i=!1,c(s,!1)}))}),r.length?l.all(r).then(function(){u(i)},m):u(!0)}function c(t,e){f===x&&w.$setValidity(t,e)}function u(t){f===x&&r(t)}x++;var f=x;return i()&&s()?void a():void u(!1)},this.$commitViewValue=function(){var t=w.$viewValue;c.cancel($),(w.$$lastCommittedViewValue!==t||""===t&&w.$$hasNativeValidators)&&(w.$$lastCommittedViewValue=t,w.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function e(){w.$modelValue!==s&&w.$$writeModelToScope()}var r=w.$$lastCommittedViewValue,i=r;if(h=!y(i)||n)for(var o=0;o0&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,t,Z(e));s=t||n,o.$validate()}),o.$validators.pattern=function(t,e){return o.$isEmpty(e)||y(s)||s.test(e)}}}}},zs=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=-1;n.$observe("maxlength",function(t){var e=p(t);i=isNaN(e)?-1:e,r.$validate()}),r.$validators.maxlength=function(t,e){return i<0||r.$isEmpty(e)||e.length<=i}}}}},Ws=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=0;n.$observe("minlength",function(t){i=p(t)||0,r.$validate()}),r.$validators.minlength=function(t,e){return r.$isEmpty(e)||e.length>=i}}}}};return t.angular.bootstrap?void(t.console&&console.log("WARNING: Tried to load angular more than once.")):(lt(),bt(Ur),Ur.module("ngLocale",[],["$provide",function(t){function e(t){t+="";var e=t.indexOf(".");return e==-1?0:t.length-e-1}function r(t,r){var i=r;n===i&&(i=Math.min(e(t),3));var o=Math.pow(10,i),s=(t*o|0)%o;return{v:i,f:s}}var i={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(t,e){var n=0|t,o=r(t,e);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),void jr(e).ready(function(){ot(e,st)}))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},function(t,e,n){n(5),t.exports="ngRoute"},function(t,e){/** * @license AngularJS v1.4.14 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e,n){"use strict";function r(){function t(t,n){return e.extend(Object.create(t),n)}function n(t,e){var n=e.caseInsensitiveMatch,r={originalPath:t,regexp:t},i=r.keys=[];return t=t.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[\?\*])?/g,function(t,e,n,r){var o="?"===r||"*?"===r?"?":null,s="*"===r||"*?"===r?"*":null;return i.push({name:n,optional:!!o}),e=e||"",""+(o?"":e)+"(?:"+(o?e:"")+(s&&"(.+?)"||"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([\/$\*])/g,"\\$1"),r.regexp=new RegExp("^"+t+"$",n?"i":""),r}var r={};this.when=function(t,i){var o=e.copy(i);if(e.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),e.isUndefined(o.caseInsensitiveMatch)&&(o.caseInsensitiveMatch=this.caseInsensitiveMatch),r[t]=e.extend(o,t&&n(t,o)),t){var s="/"==t[t.length-1]?t.substr(0,t.length-1):t+"/";r[s]=e.extend({redirectTo:t},n(s,o))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(t){return"string"==typeof t&&(t={redirectTo:t}),this.when(null,t),this},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(n,i,o,s,a,u,l){function f(t,e){var n=e.keys,r={};if(!e.regexp)return null;var i=e.regexp.exec(t);if(!i)return null;for(var o=1,s=i.length;o=0&&y[o]!=r;o--);if(o>=0){for(i=y.length-1;i>=o;i--)n.end&&n.end(y[i]);y.length=o}}"string"!=typeof t&&(t=null===t||"undefined"==typeof t?"":""+t);var o,s,c,u,y=[],b=t;for(y.last=function(){return y[y.length-1]};t;){if(u="",s=!0,y.last()&&O[y.last()]?(t=t.replace(new RegExp("([\\W\\w]*)<\\s*\\/\\s*"+y.last()+"[^>]*>","i"),function(t,e){return e=e.replace(v,"$1").replace($,"$1"),n.chars&&n.chars(a(e)),""}),i("",y.last())):(0===t.indexOf("",o)===o&&(n.comment&&n.comment(t.substring(4,o)),t=t.substring(o+3),s=!1)):g.test(t)?(c=t.match(g),c&&(t=t.replace(c[0],""),s=!1)):m.test(t)?(c=t.match(h),c&&(t=t.substring(c[0].length),c[0].replace(h,i),s=!1)):d.test(t)&&(c=t.match(f),c?(c[4]&&(t=t.substring(c[0].length),c[0].replace(f,r)),s=!1):(u+="<",t=t.substring(1))),s&&(o=t.indexOf("<"),u+=o<0?t:t.substring(0,o),t=o<0?"":t.substring(o),n.chars&&n.chars(a(u)))),t==b)throw l("badparse","The sanitizer was unable to parse the following block of html: {0}",t);b=t}i()}function a(t){return t?(D.innerHTML=t.replace(//g,">")}function u(t,n){var r=!1,i=e.bind(t,t.push);return{start:function(t,o,s){t=e.lowercase(t),!r&&O[t]&&(r=t),r||T[t]!==!0||(i("<"),i(t),e.forEach(o,function(r,o){var s=e.lowercase(o),a="img"===t&&"src"===s||"background"===s;P[s]!==!0||N[s]===!0&&!n(r,a)||(i(" "),i(o),i('="'),i(c(r)),i('"'))}),i(s?"/>":">"))},end:function(t){t=e.lowercase(t),r||T[t]!==!0||(i("")),t==r&&(r=!1)},chars:function(t){r||i(c(t))}}}var l=e.$$minErr("$sanitize"),f=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,h=/^<\/\s*([\w:-]+)[^>]*>/,p=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,d=/^/g,g=/]*?)>/i,$=//g,y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b=/([^\#-~| |!])/g,w=o("area,br,col,hr,img,wbr"),x=o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),k=o("rp,rt"),S=e.extend({},k,x),E=e.extend({},x,o("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")),C=e.extend({},k,o("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")),A=o("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan,use"),O=o("script,style"),T=e.extend({},w,E,C,S,A),N=o("background,cite,href,longdesc,src,usemap,xlink:href"),M=o("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,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),j=o("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),P=e.extend({},N,j,M),D=document.createElement("pre");e.module("ngSanitize",[]).provider("$sanitize",r),e.module("ngSanitize").filter("linky",["$sanitize",function(t){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i;return function(o,s){function a(t){t&&p.push(i(t))}function c(t,n){p.push("'),a(n),p.push("")}if(!o)return o;for(var u,l,f,h=o,p=[];u=h.match(n);)l=u[0],u[2]||u[4]||(l=(u[3]?"http://":"mailto:")+l),f=u.index,a(h.substr(0,f)),c(l,u[0].replace(r,"")),h=h.substring(f+u[0].length);return a(h),t(p.join(""))}}])}(window,window.angular)},function(t,e,n){n(9),t.exports="ngTouch"},function(t,e){/** * @license AngularJS v1.4.14 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e,n){"use strict";function r(t){return e.lowercase(t.nodeName||t[0]&&t[0].nodeName)}function i(t,n,r){o.directive(t,["$parse","$swipe",function(i,o){var s=75,a=.3,c=30;return function(u,l,f){function h(t){if(!p)return!1;var e=Math.abs(t.y-p.y),r=(t.x-p.x)*n;return d&&e0&&r>c&&e/rs?(l=!1,void(i.cancel&&i.cancel(e))):(e.preventDefault(),void(i.move&&i.move(n,e)))}}),e.on(n(o,"end"),function(e){l&&(l=!1,i.end&&i.end(t(e),e))})}}}]),o.config(["$provide",function(t){t.decorator("ngClickDirective",["$delegate",function(t){return t.shift(),t}])}]),o.directive("ngClick",["$parse","$timeout","$rootElement",function(t,n,i){function o(t,e,n,r){return Math.abs(t-n)m)){var e=t.touches&&t.touches.length?t.touches:[t],n=e[0].clientX,i=e[0].clientY;n<1&&i<1||h&&h[0]===n&&h[1]===i||(h&&(h=null),"label"===r(t.target)&&(h=[n,i]),s(f,n,i)||(t.stopPropagation(),t.preventDefault(),t.target&&t.target.blur&&t.target.blur()))}}function c(t){var e=t.touches&&t.touches.length?t.touches:[t],r=e[0].clientX,i=e[0].clientY;f.push(r,i),n(function(){for(var t=0;t\n

\n

{{ui.heading}} {{ui.message}}

\n

Possible reasons are:

\n
    \n
  • 1. Your process was exited by another tool
  • \n
\n

You should check your terminal window to see what happened.
(Or simply try reloading this page.)

\n',controller:["$scope","$rootScope","$window",r]}})},function(t,e){t.exports=window.angular},function(t,e,n){function r(t,e){var n="info",r="Browsersync:",i="Welcome to Browsersync",o=2e3;t.ui={status:n,heading:r,message:i},t.show=function(e,i){i=i||{},t._timer&&clearTimeout(t._timer),t._timer=window.setTimeout(t.reset,i.timeout||o),t.ui.visible=!0,t.ui.status=i.status||n,t.ui.heading=i.heading||r,t.ui.message=i.message||r},t.reset=function(){t.ui.visible=!1,t.$digest()},e.$on("notify:flash",t.show)}var i=n(11);i.module("bsNotify",[]).directive("notifyElem",function(){return{restrict:"E",scope:{},template:'
\n

{{ui.heading}} {{ui.message}}

\n
',controller:["$scope","$rootScope",r]}})},function(t,e,n){function r(t){var e=[],n=[];return t.on("ui:history:update",function(t){n.forEach(function(e){e(t)})}),{visited:e,updateHistory:function(t){e=t},get:function(){return t.getData("visited")},remove:function(e){t.emit("ui",{namespace:"history",event:"remove",data:e})},clear:function(){t.emit("ui",{namespace:"history",event:"clear"})},on:function(t,e){n.push(e)},off:function(t){var e=n.indexOf(t);e>-1&&(n=n.splice(e,1))}}}var i=n(11);i.module("bsHistory",["bsSocket"]).service("History",["Socket",r])},function(t,e,n){function r(t){var e={reloadAll:function(){t.clientEvent("browser:reload")},sendAllTo:function(e){t.emit("ui",{namespace:"history",event:"sendAllTo",data:{path:e}})},scrollAllTo:function(){t.clientEvent("scroll",{position:{raw:0,proportional:0},override:!0})},highlight:function(e){t.emit("ui:highlight",e)}};return e}var i=n(11);i.module("bsClients",["bsSocket"]).service("Clients",["Socket",r])},function(t,e,n){function r(t,e){var n,r=t.defer();c.on("connection",function(t){if(n=t.session,e.$emit("ui:connection",t),r.resolve(t,this),""===window.name)window.name=JSON.stringify({id:o.id});else{var i=JSON.parse(window.name);i.id!==o.id}}),c.on("disconnect",function(){e.$emit("ui:disconnect")});var i={on:function(t,e){c.on(t,e)},off:function(t,e){c.off(t,e)},removeEvent:function(t,e){c.removeListener(t,e)},emit:function(t,e){c.emit(t,e||{})},clientEvent:function(t,e){c.emit("ui:client:proxy",{event:t,data:e})},options:function(){return r.promise},getData:function(e){var n=t.defer();return c.on("ui:receive:"+e,function(t){n.resolve(t)}),c.emit("ui:get:"+e),n.promise},uiEvent:function(t){c.emit("ui",t)},newSession:function(){}};return Object.defineProperty(i,"sessionId",{get:function(){return n}}),i}var i=n(11),o=n(16),s=window.___browserSync___.socketConfig,a=window.___browserSync___.socketUrl,c=o(a,s);i.module("bsSocket",[]).service("Socket",["$q","$rootScope",r])},function(t,e,n){function r(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r=i(t),o=r.source,u=r.id,l=r.path,f=c[u]&&l in c[u].nsps,h=e.forceNew||e["force new connection"]||!1===e.multiplex||f;return h?(a("ignoring socket cache for %s",o),n=s(o,e)):(c[u]||(a("new io instance for %s",o),c[u]=s(o,e)),n=c[u]),r.query&&!e.query&&(e.query=r.query),n.socket(r.path,e)}var i=n(17),o=n(23),s=n(30),a=n(19)("socket.io-client");t.exports=e=r;var c=e.managers={};e.protocol=o.protocol,e.connect=r,e.Manager=n(30),e.Socket=n(58)},function(t,e,n){(function(e){function r(t,n){var r=t;n=n||e.location,null==t&&(t=n.protocol+"//"+n.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?n.protocol+t:n.host+t),/^(https?|wss?):\/\//.test(t)||(o("protocol-less url %s",t),t="undefined"!=typeof n?n.protocol+"//"+t:"https://"+t),o("parse %s",t),r=i(t)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var s=r.host.indexOf(":")!==-1,a=s?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+a+":"+r.port,r.href=r.protocol+"://"+a+(n&&n.port===r.port?"":":"+r.port),r}var i=n(18),o=n(19)("socket.io-client:url");t.exports=r}).call(e,function(){return this}())},function(t,e){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e=t,i=t.indexOf("["),o=t.indexOf("]");i!=-1&&o!=-1&&(t=t.substring(0,i)+t.substring(i,o).replace(/:/g,";")+t.substring(o,t.length));for(var s=n.exec(t||""),a={},c=14;c--;)a[r[c]]=s[c]||"";return i!=-1&&o!=-1&&(a.source=e,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a}},function(t,e,n){(function(r){function i(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))}),t.splice(o,0,r)}}function s(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function c(){var t;try{t=e.storage.debug}catch(t){}return!t&&"undefined"!=typeof r&&"env"in r&&(t=r.env.DEBUG),t}function u(){try{return window.localStorage}catch(t){}}e=t.exports=n(21),e.log=s,e.formatArgs=o,e.save=a,e.load=c,e.useColors=i,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:u(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(c())}).call(e,n(20))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function s(){m&&p&&(m=!1,p.length?d=p.concat(d):v=-1,d.length&&a())}function a(){if(!m){var t=i(s);m=!0;for(var e=d.length;e;){for(p=d,d=[];++v1)for(var n=1;n100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),r=(e[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*a;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(t){return t>=u?Math.round(t/u)+"d":t>=c?Math.round(t/c)+"h":t>=a?Math.round(t/a)+"m":t>=s?Math.round(t/s)+"s":t+"ms"}function i(t){return o(t,u,"day")||o(t,c,"hour")||o(t,a,"minute")||o(t,s,"second")||t+" ms"}function o(t,e,n){if(!(t0)return n(t);if("number"===o&&isNaN(t)===!1)return e.long?i(t):r(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){function r(){}function i(t){var n=""+t.type;return e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data&&(n+=JSON.stringify(t.data)),f("encoded %j as %s",t,n),n}function o(t,e){function n(t){var n=d.deconstructPacket(t),r=i(n.packet),o=n.buffers;o.unshift(r),e(o)}d.removeBlobs(t,n)}function s(){this.reconstructor=null}function a(t){var n=0,r={type:Number(t.charAt(0))};if(null==e.types[r.type])return l();if(e.BINARY_EVENT===r.type||e.BINARY_ACK===r.type){for(var i="";"-"!==t.charAt(++n)&&(i+=t.charAt(n),n!=t.length););if(i!=Number(i)||"-"!==t.charAt(n))throw new Error("Illegal attachments");r.attachments=Number(i)}if("/"===t.charAt(n+1))for(r.nsp="";++n;){var o=t.charAt(n);if(","===o)break;if(r.nsp+=o,n===t.length)break}else r.nsp="/";var s=t.charAt(n+1);if(""!==s&&Number(s)==s){for(r.id="";++n;){var o=t.charAt(n);if(null==o||Number(o)!=o){--n;break}if(r.id+=t.charAt(n),n===t.length)break}r.id=Number(r.id)}return t.charAt(++n)&&(r=c(r,t.substr(n))),f("decoded %s as %j",t,r),r}function c(t,e){try{t.data=JSON.parse(e)}catch(t){return l()}return t}function u(t){this.reconPack=t,this.buffers=[]}function l(){return{type:e.ERROR,data:"parser error"}}var f=n(19)("socket.io-parser"),h=n(24),p=n(25),d=n(27),m=n(29);e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=r,e.Decoder=s,r.prototype.encode=function(t,n){if(t.type!==e.EVENT&&t.type!==e.ACK||!p(t.data)||(t.type=t.type===e.EVENT?e.BINARY_EVENT:e.BINARY_ACK),f("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type)o(t,n);else{var r=i(t);n([r])}},h(s.prototype),s.prototype.add=function(t){var n;if("string"==typeof t)n=a(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new u(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!m(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,this.emit("decoded",n))}},s.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},u.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=d.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},u.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},function(t,e,n){function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r,i=0;i0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},r.prototype.cleanup=function(){l("cleanup");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)l("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();l("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout(function(){t.skipReconnect||(l("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open(function(e){e?(l("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(l("reconnect success"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(n)}})}},r.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},function(t,e,n){t.exports=n(32),t.exports.parser=n(39)},function(t,e,n){(function(e){function r(t,n){if(!(this instanceof r))return new r(t,n);n=n||{},t&&"object"==typeof t&&(n=t,t=null),t?(t=l(t),n.hostname=t.host,n.secure="https"===t.protocol||"wss"===t.protocol,n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=l(n.host).host),this.secure=null!=n.secure?n.secure:e.location&&"https:"===location.protocol,n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.agent=n.agent||!1,this.hostname=n.hostname||(e.location?location.hostname:"localhost"),this.port=n.port||(e.location&&location.port?location.port:this.secure?443:80),this.query=n.query||{},"string"==typeof this.query&&(this.query=f.decode(this.query)),this.upgrade=!1!==n.upgrade,this.path=(n.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!n.forceJSONP,this.jsonp=!1!==n.jsonp,this.forceBase64=!!n.forceBase64,this.enablesXDR=!!n.enablesXDR,this.timestampParam=n.timestampParam||"t",this.timestampRequests=n.timestampRequests,this.transports=n.transports||["polling","websocket"],this.transportOptions=n.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=n.policyPort||843,this.rememberUpgrade=n.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=n.onlyBinaryUpgrades,this.perMessageDeflate=!1!==n.perMessageDeflate&&(n.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=n.pfx||null,this.key=n.key||null,this.passphrase=n.passphrase||null,this.cert=n.cert||null,this.ca=n.ca||null,this.ciphers=n.ciphers||null,this.rejectUnauthorized=void 0===n.rejectUnauthorized||n.rejectUnauthorized,this.forceNode=!!n.forceNode;var i="object"==typeof e&&e;i.global===i&&(n.extraHeaders&&Object.keys(n.extraHeaders).length>0&&(this.extraHeaders=n.extraHeaders),n.localAddress&&(this.localAddress=n.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}function i(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var o=n(33),s=n(24),a=n(50)("engine.io-client:socket"),c=n(56),u=n(39),l=n(57),f=n(47);t.exports=r,r.priorWebsocketSuccess=!1,s(r.prototype),r.protocol=u.protocol,r.Socket=r,r.Transport=n(38),r.transports=n(33),r.parser=n(39),r.prototype.createTransport=function(t){a('creating transport "%s"',t);var e=i(this.query);e.EIO=u.protocol,e.transport=t;var n=this.transportOptions[t]||{};this.id&&(e.sid=this.id);var r=new o[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0});return r},r.prototype.open=function(){var t;if(this.rememberUpgrade&&r.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout(function(){e.emit("error","No transports available")},0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},r.prototype.setTransport=function(t){a("setting transport %s",t.name);var e=this;this.transport&&(a("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(t){e.onPacket(t); }).on("error",function(t){e.onError(t)}).on("close",function(){e.onClose("transport close")})},r.prototype.probe=function(t){function e(){if(h.onlyBinaryUpgrades){var e=!this.supportsBinary&&h.transport.supportsBinary;f=f||e}f||(a('probe transport "%s" opened',t),l.send([{type:"ping",data:"probe"}]),l.once("packet",function(e){if(!f)if("pong"===e.type&&"probe"===e.data){if(a('probe transport "%s" pong',t),h.upgrading=!0,h.emit("upgrading",l),!l)return;r.priorWebsocketSuccess="websocket"===l.name,a('pausing current transport "%s"',h.transport.name),h.transport.pause(function(){f||"closed"!==h.readyState&&(a("changing transport and sending upgrade packet"),u(),h.setTransport(l),l.send([{type:"upgrade"}]),h.emit("upgrade",l),l=null,h.upgrading=!1,h.flush())})}else{a('probe transport "%s" failed',t);var n=new Error("probe error");n.transport=l.name,h.emit("upgradeError",n)}}))}function n(){f||(f=!0,u(),l.close(),l=null)}function i(e){var r=new Error("probe error: "+e);r.transport=l.name,n(),a('probe transport "%s" failed because of error: %s',t,e),h.emit("upgradeError",r)}function o(){i("transport closed")}function s(){i("socket closed")}function c(t){l&&t.name!==l.name&&(a('"%s" works - aborting "%s"',t.name,l.name),n())}function u(){l.removeListener("open",e),l.removeListener("error",i),l.removeListener("close",o),h.removeListener("close",s),h.removeListener("upgrading",c)}a('probing transport "%s"',t);var l=this.createTransport(t,{probe:1}),f=!1,h=this;r.priorWebsocketSuccess=!1,l.once("open",e),l.once("error",i),l.once("close",o),this.once("close",s),this.once("upgrading",c),l.open()},r.prototype.onOpen=function(){if(a("socket open"),this.readyState="open",r.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){a("starting upgrade probes");for(var t=0,e=this.upgrades.length;t1?{type:y[i],data:t.substring(1)}:{type:y[i]}:b}var o=new Uint8Array(t),i=o[0],s=h(t,1);return w&&"blob"===n&&(s=new w([s])),{type:y[i],data:s}},e.decodeBase64Packet=function(t,e){var n=y[t.charAt(0)];if(!u)return{type:n,data:{base64:!0,data:t.substr(1)}};var r=u.decode(t.substr(1));return"blob"===e&&w&&(r=new w([r])),{type:n,data:r}},e.encodePayload=function(t,n,r){function i(t){return t.length+":"+t}function o(t,r){e.encodePacket(t,!!s&&n,!1,function(t){r(null,i(t))})}"function"==typeof n&&(r=n,n=null);var s=f(t);return n&&s?w&&!g?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r):t.length?void c(t,o,function(t,e){return r(e.join(""))}):r("0:")},e.decodePayload=function(t,n,r){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,r);"function"==typeof n&&(r=n,n=null);var i;if(""===t)return r(b,0,1);for(var o,s,a="",c=0,u=t.length;c0;){for(var s=new Uint8Array(i),a=0===s[0],c="",u=1;255!==s[u];u++){if(c.length>310)return r(b,0,1);c+=s[u]}i=h(i,2+c.length),c=parseInt(c);var l=h(i,0,c);if(a)try{l=String.fromCharCode.apply(null,new Uint8Array(l))}catch(t){var f=new Uint8Array(l);l="";for(var u=0;ur&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var i=new Uint8Array(t),o=new Uint8Array(n-e),s=e,a=0;s=55296&&e<=56319&&i65535&&(e-=65536,i+=b(e>>>10&1023|55296),e=56320|1023&e),i+=b(e);return i}function c(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function u(t,e){return b(t>>e&63|128)}function l(t,e){if(0==(4294967168&t))return b(t);var n="";return 0==(4294965248&t)?n=b(t>>6&31|192):0==(4294901760&t)?(c(t,e)||(t=65533),n=b(t>>12&15|224),n+=u(t,6)):0==(4292870144&t)&&(n=b(t>>18&7|240),n+=u(t,12),n+=u(t,6)),n+=b(63&t|128)}function f(t,e){e=e||{};for(var n,r=!1!==e.strict,i=s(t),o=i.length,a=-1,c="";++a=$)throw Error("Invalid byte index");var t=255&g[y];if(y++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function p(t){var e,n,r,i,o;if(y>$)throw Error("Invalid byte index");if(y==$)return!1;if(e=255&g[y],y++,0==(128&e))return e;if(192==(224&e)){if(n=h(),o=(31&e)<<6|n,o>=128)return o;throw Error("Invalid continuation byte")}if(224==(240&e)){if(n=h(),r=h(),o=(15&e)<<12|n<<6|r,o>=2048)return c(o,t)?o:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(n=h(),r=h(),i=h(),o=(7&e)<<18|n<<12|r<<6|i,o>=65536&&o<=1114111))return o;throw Error("Invalid UTF-8 detected")}function d(t,e){e=e||{};var n=!1!==e.strict;g=s(t),$=g.length,y=0;for(var r,i=[];(r=p(n))!==!1;)i.push(r);return a(i)}var m="object"==typeof e&&e,v=("object"==typeof t&&t&&t.exports==m&&t,"object"==typeof i&&i);v.global!==v&&v.window!==v||(o=v);var g,$,y,b=String.fromCharCode,w={version:"2.1.2",encode:f,decode:d};r=function(){return w}.call(e,n,e,t),!(void 0!==r&&(t.exports=r))}(this)}).call(e,n(44)(t),function(){return this}())},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r>2],o+=t[(3&r[n])<<4|r[n+1]>>4],o+=t[(15&r[n+1])<<2|r[n+2]>>6],o+=t[63&r[n+2]];return i%3===2?o=o.substring(0,o.length-1)+"=":i%3===1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(t){var e,r,i,o,s,a=.75*t.length,c=t.length,u=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var l=new ArrayBuffer(a),f=new Uint8Array(l);for(e=0;e>4,f[u++]=(15&i)<<4|o>>2,f[u++]=(3&o)<<6|63&s;return l}}()},function(t,e){(function(e){function n(t){for(var e=0;e0);return e}function r(t){var e=0;for(l=0;l=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))}),t.splice(o,0,r)}}function s(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function c(){var t;try{t=e.storage.debug}catch(t){}return!t&&"undefined"!=typeof r&&"env"in r&&(t=r.env.DEBUG),t}function u(){try{return window.localStorage}catch(t){}}e=t.exports=n(51),e.log=s,e.formatArgs=o,e.save=a,e.load=c,e.useColors=i,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:u(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(c())}).call(e,n(20))},function(t,e,n){function r(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}function i(t){function n(){if(n.enabled){var t=n,r=+new Date,i=r-(u||r);t.diff=i,t.prev=u,t.curr=r,u=r;for(var o=new Array(arguments.length),s=0;s100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),r=(e[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*c;case"minutes":case"minute":case"mins":case"min":case"m":return n*a;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(t){return t>=u?Math.round(t/u)+"d":t>=c?Math.round(t/c)+"h":t>=a?Math.round(t/a)+"m":t>=s?Math.round(t/s)+"s":t+"ms"}function i(t){return o(t,u,"day")||o(t,c,"hour")||o(t,a,"minute")||o(t,s,"second")||t+" ms"}function o(t,e,n){if(!(t0)return n(t);if("number"===o&&isNaN(t)===!1)return e.long?i(t):r(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){(function(e){function r(){}function i(t){o.call(this,t),this.query=this.query||{},a||(e.___eio||(e.___eio=[]),a=e.___eio),this.index=a.length;var n=this;a.push(function(t){n.onData(t)}),this.query.j=this.index,e.document&&e.addEventListener&&e.addEventListener("beforeunload",function(){n.script&&(n.script.onerror=r)},!1)}var o=n(37),s=n(48);t.exports=i;var a,c=/\n/g,u=/\\n/g;s(i,o),i.prototype.supportsBinary=!1,i.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),o.prototype.doClose.call(this)},i.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e;var r="undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent);r&&setTimeout(function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)},100)},i.prototype.doWrite=function(t,e){function n(){r(),e()}function r(){if(i.iframe)try{i.form.removeChild(i.iframe)}catch(t){i.onError("jsonp polling iframe removal error",t)}try{var t=''),u.close(),c=u.w.frames[0].document,e=c.createElement("div")}catch(t){e=o.createElement("div"),c=o.body}var l=function(t){return function(){var n=Array.prototype.slice.call(arguments,0);n.unshift(e),c.appendChild(e),e.addBehavior("#default#userData"),e.load(s);var i=t.apply(r,n);return c.removeChild(e),i}},f=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),h=function(t){return t.replace(/^d/,"___$&").replace(f,"___")};r.set=l(function(t,e,n){return e=h(e),void 0===n?r.remove(e):(t.setAttribute(e,r.serialize(n)),t.save(s),n)}),r.get=l(function(t,e,n){e=h(e);var i=r.deserialize(t.getAttribute(e));return void 0===i?n:i}),r.remove=l(function(t,e){e=h(e),t.removeAttribute(e),t.save(s)}),r.clear=l(function(t){var e=t.XMLDocument.documentElement.attributes;t.load(s);for(var n=e.length-1;n>=0;n--)t.removeAttribute(e[n].name);t.save(s)}),r.getAll=function(t){var e={};return r.forEach(function(t,n){e[t]=n}),e},r.forEach=l(function(t,e){for(var n,i=t.XMLDocument.documentElement.attributes,o=0;n=i[o];++o)e(n.name,r.deserialize(t.getAttribute(n.name)))})}try{var p="__storejs__";r.set(p,p),r.get(p)!=p&&(r.disabled=!0),r.remove(p)}catch(t){r.disabled=!0}return r.enabled=!r.disabled,r})}).call(e,function(){return this}())},function(t,e,n){var r,i,o;!function(n,s){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=s():(i=[],r=s,o="function"==typeof r?r.apply(e,i):r,!(void 0!==o&&(t.exports=o)))}(this,function(){"use strict";function t(t){if(!t)return!0;if(o(t)&&0===t.length)return!0;if(!r(t)){for(var e in t)if(f.call(t,e))return!1;return!0}return!1}function e(t){return l.call(t)}function n(t){return"number"==typeof t||"[object Number]"===e(t)}function r(t){return"string"==typeof t||"[object String]"===e(t)}function i(t){return"object"==typeof t&&"[object Object]"===e(t)}function o(t){return"object"==typeof t&&"number"==typeof t.length&&"[object Array]"===e(t)}function s(t){return"boolean"==typeof t||"[object Boolean]"===e(t)}function a(t){var e=parseInt(t);return e.toString()===t?e:t}function c(e,i,o,s){if(n(i)&&(i=[i]),t(i))return e;if(r(i))return c(e,i.split(".").map(a),o,s);var u=i[0];if(1===i.length){var l=e[u];return void 0!==l&&s||(e[u]=o),l}return void 0===e[u]&&(n(i[1])?e[u]=[]:e[u]={}),c(e[u],i.slice(1),o,s)}function u(e,i){if(n(i)&&(i=[i]),!t(e)){if(t(i))return e;if(r(i))return u(e,i.split("."));var s=a(i[0]),c=e[s];if(1===i.length)void 0!==c&&(o(e)?e.splice(s,1):delete e[s]);else if(void 0!==e[s])return u(e[s],i.slice(1));return e}}var l=Object.prototype.toString,f=Object.prototype.hasOwnProperty,h=function(t){return Object.keys(h).reduce(function(e,n){return"function"==typeof h[n]&&(e[n]=h[n].bind(h,t)),e},{})};return h.has=function(e,s){if(t(e))return!1;if(n(s)?s=[s]:r(s)&&(s=s.split(".")),t(s)||0===s.length)return!1;for(var a=0;an[e]?1:-1}),n&&r.reverse(),r}}},function(t,e,n){var t=n(64);t.directive("icon",n(73)),t.directive("linkTo",n(74)),t.directive("switch",n(75)),t.directive("newTab",n(76))},function(t,e){t.exports=function(){return{scope:{icon:"@"},restrict:"E",replace:!0,template:'',link:function(t,e,n){return t.iconName="#svg-"+t.icon,t}}}},function(t,e){t.exports=function(){return{restrict:"E",replace:!1,transclude:!0,scope:{path:"@"},template:"as",controller:["$scope","$location","$injector",function(t,e,n){var r=n.get("pagesConfig"),i=n.get("Pages");t.navi=function(t){var n=r[t];i.enable(n),e.path(t)}}]}}},function(t,e){t.exports=function(){return{scope:{toggle:"&",item:"=",switchid:"@",title:"@",tagline:"@",active:"=",prop:"@"},restrict:"E",replace:!0,transclude:!0,templateUrl:"bs-switch.html",controllerAs:"ctrl",controller:["$scope",function(t){var e=this;e.item=t.item}]}}},function(t,e){t.exports=function(){return{scope:{url:"@",mode:"@"},restrict:"E",replace:!0,template:' New Tab '}}}]); //# sourceMappingURL=app.js.map