From 1255580b7a8661b47654686bf0c736d421f6be9c Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 1 Sep 2014 10:47:59 -0400 Subject: [PATCH] Initial Angular commit --- app/src/main/assets/book.html | 19 ++++++++----------- app/src/main/assets/dist/book-bundle.js | 4 ++-- app/src/main/assets/dist/bundle.js | 4 ---- app/src/main/assets/src/book.coffee | 2 ++ .../activity/viewer/BookFragment.java | 8 +++++++- 5 files changed, 19 insertions(+), 18 deletions(-) delete mode 100755 app/src/main/assets/dist/bundle.js diff --git a/app/src/main/assets/book.html b/app/src/main/assets/book.html index 4c38158..4d524d5 100644 --- a/app/src/main/assets/book.html +++ b/app/src/main/assets/book.html @@ -1,11 +1,8 @@ - - -
- - - - \ No newline at end of file + + + + + +
Hello {{ 'Android!' }}
+ + diff --git a/app/src/main/assets/dist/book-bundle.js b/app/src/main/assets/dist/book-bundle.js index 4709729..0d990e1 100755 --- a/app/src/main/assets/dist/book-bundle.js +++ b/app/src/main/assets/dist/book-bundle.js @@ -1,4 +1,4 @@ -!function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return i(n?n:t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&e-1 in t}function o(t,e,n){var r;if(t)if(S(t))for(r in t)"prototype"==r||"length"==r||"name"==r||t.hasOwnProperty&&!t.hasOwnProperty(r)||e.call(n,t[r],r);else if(Tr(t)||i(t))for(r=0;r=0&&t.splice(n,1),e}function R(t,e,n,r){if(k(t)||E(t))throw Er("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(e){if(t===e)throw Er("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],y(t)){var i=j(n,t);if(-1!==i)return r[i];n.push(t),r.push(e)}var a;if(Tr(t)){e.length=0;for(var s=0;si;i++)if(!q(t[i],e[i]))return!1;return!0}}return!1}function V(t,e,n){return t.concat(Sr.call(e,n))}function U(t,e){return Sr.call(t,e||0)}function F(t,e){var n=arguments.length>2?U(arguments,2):[];return!S(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,n.concat(Sr.call(arguments,0))):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function I(t,r){var i=r;return"string"==typeof t&&"$"===t.charAt(0)?i=n:k(r)?i="$WINDOW":r&&e===r?i="$DOCUMENT":E(r)&&(i="$SCOPE"),i}function H(t,e){return"undefined"==typeof t?n:JSON.stringify(t,I,e?" ":null)}function L(t){return w(t)?JSON.parse(t):t}function B(t){if("function"==typeof t)t=!0;else if(t&&0!==t.length){var e=pr(""+t);t=!("f"==e||"0"==e||"false"==e||"no"==e||"n"==e||"[]"==e)}else t=!1;return t}function z(t){t=yr(t).clone();try{t.empty()}catch(e){}var n=3,r=yr("
").append(t).html();try{return t[0].nodeType===n?pr(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+pr(e)})}catch(e){return pr(r)}}function W(t){try{return decodeURIComponent(t)}catch(e){}}function Q(t){var e,n,r={};return o((t||"").split("&"),function(t){if(t&&(e=t.replace(/\+/g,"%20").split("="),n=W(e[0]),m(n))){var i=m(e[1])?W(e[1]):!0;dr.call(r,n)?Tr(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function J(t){var e=[];return o(t,function(t,n){Tr(t)?o(t,function(t){e.push(X(n,!0)+(t===!0?"":"="+X(t,!0)))}):e.push(X(n,!0)+(t===!0?"":"="+X(t,!0)))}),e.length?e.join("&"):""}function G(t){return X(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function X(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,e?"%20":"+")}function K(t,n){function r(t){t&&s.push(t)}var i,a,s=[t],u=["ng:app","ng-app","x-ng-app","data-ng-app"],c=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;o(u,function(n){u[n]=!0,r(e.getElementById(n)),n=n.replace(":","\\:"),t.querySelectorAll&&(o(t.querySelectorAll("."+n),r),o(t.querySelectorAll("."+n+"\\:"),r),o(t.querySelectorAll("["+n+"]"),r))}),o(s,function(t){if(!i){var e=" "+t.className+" ",n=c.exec(e);n?(i=t,a=(n[2]||"").replace(/\s+/g,",")):o(t.attributes,function(e){!i&&u[e.name]&&(i=t,a=e.value)})}}),i&&n(i,a?[a]:[])}function Y(n,r){var i=function(){if(n=yr(n),n.injector()){var t=n[0]===e?"document":z(n);throw Er("btstrpd","App Already Bootstrapped with this Element '{0}'",t.replace(//,">"))}r=r||[],r.unshift(["$provide",function(t){t.value("$rootElement",n)}]),r.unshift("ng");var i=je(r);return i.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),i},a=/^NG_DEFER_BOOTSTRAP!/;return t&&!a.test(t.name)?i():(t.name=t.name.replace(a,""),void(Ar.resumeBootstrap=function(t){o(t,function(t){r.push(t)}),i()}))}function Z(t,e){return e=e||"_",t.replace(Pr,function(t,n){return(n?e:"")+t.toLowerCase()})}function te(){wr=t.jQuery,wr&&wr.fn.on?(yr=wr,f(wr.fn,{scope:Wr.scope,isolateScope:Wr.isolateScope,controller:Wr.controller,injector:Wr.injector,inheritedData:Wr.inheritedData}),le("remove",!0,!0,!1),le("empty",!1,!1,!1),le("html",!1,!1,!0)):yr=de,Ar.element=yr}function ee(t,e,n){if(!t)throw Er("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ne(t,e,n){return n&&Tr(t)&&(t=t[t.length-1]),ee(S(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function re(t,e){if("hasOwnProperty"===t)throw Er("badname","hasOwnProperty is not a valid {0} name",e)}function ie(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,a=i.length,s=0;a>s;s++)r=i[s],t&&(t=(o=t)[r]);return!n&&S(t)?F(o,t):t}function oe(t){var e=t[0],n=t[t.length-1];if(e===n)return yr(e);var r=e,i=[r];do{if(r=r.nextSibling,!r)break;i.push(r)}while(r!==n);return yr(i)}function ae(t){function e(t,e,n){return t[e]||(t[e]=n())}var n=r("$injector"),i=r("ng"),o=e(t,"angular",Object);return o.$$minErr=o.$$minErr||r,e(o,"module",function(){var t={};return function(r,o,a){var s=function(t,e){if("hasOwnProperty"===t)throw i("badname","hasOwnProperty is not a valid {0} name",e)};return s(r,"module"),o&&t.hasOwnProperty(r)&&(t[r]=null),e(t,r,function(){function t(t,n,r){return function(){return e[r||"push"]([t,n,arguments]),u}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var e=[],i=[],s=t("$injector","invoke"),u={_invokeQueue:e,_runBlocks:i,requires:o,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),config:s,run:function(t){return i.push(t),this}};return a&&s(a),u})}})}function se(e){f(e,{bootstrap:Y,copy:R,extend:f,equals:q,element:yr,forEach:o,injector:je,noop:d,bind:F,toJson:H,fromJson:L,identity:$,isUndefined:g,isDefined:m,isString:w,isFunction:S,isObject:y,isNumber:b,isElement:M,isArray:Tr,version:jr,isDate:x,lowercase:pr,uppercase:$r,callbacks:{counter:0},$$minErr:r,$$csp:Nr}),br=ae(t);try{br("ngLocale")}catch(n){br("ngLocale",[]).provider("$locale",nn)}br("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:Tn}),t.provider("$compile",Fe).directive({a:Ti,input:Fi,textarea:Fi,form:ji,script:xo,select:ko,style:Ao,option:Eo,ngBind:Yi,ngBindHtml:to,ngBindTemplate:Zi,ngClass:eo,ngClassEven:ro,ngClassOdd:no,ngCloak:io,ngController:oo,ngForm:Di,ngHide:vo,ngIf:so,ngInclude:uo,ngInit:lo,ngNonBindable:fo,ngPluralize:ho,ngRepeat:po,ngShow:$o,ngStyle:go,ngSwitch:mo,ngSwitchWhen:yo,ngSwitchDefault:wo,ngOptions:Co,ngTransclude:bo,ngModel:Wi,ngList:Gi,ngChange:Qi,required:Ji,ngRequired:Ji,ngValue:Ki}).directive({ngInclude:co}).directive(Mi).directive(ao),t.provider({$anchorScroll:De,$animate:ei,$browser:qe,$cacheFactory:Ve,$controller:Le,$document:Be,$exceptionHandler:ze,$filter:Fn,$interpolate:tn,$interval:en,$http:Xe,$httpBackend:Ye,$location:vn,$log:gn,$parse:Cn,$rootScope:On,$q:kn,$sce:Dn,$sceDelegate:jn,$sniffer:Rn,$templateCache:Ue,$timeout:_n,$window:Un,$$rAF:An,$$asyncCallback:Re})}])}function ue(){return++Rr}function ce(t){return t.replace(Vr,function(t,e,n,r){return r?n.toUpperCase():n}).replace(Ur,"Moz$1")}function le(t,e,n,r){function i(t){var i,a,s,u,c,l,f,h=n&&t?[this.filter(t)]:[this],p=e;if(!r||null!=t)for(;h.length;)for(i=h.shift(),a=0,s=i.length;s>a;a++)for(u=yr(i[a]),p?u.triggerHandler("$destroy"):p=!p,c=0,l=(f=u.children()).length;l>c;c++)h.push(wr(f[c]));return o.apply(this,arguments)}var o=wr.fn[t];o=o.$original||o,i.$original=o,wr.fn[t]=i}function fe(t){return!Hr.test(t)}function he(t,e){var n,r,i,o,a,s,u=e.createDocumentFragment(),c=[];if(fe(t))c.push(e.createTextNode(t));else{for(n=u.appendChild(e.createElement("div")),r=(Lr.exec(t)||["",""])[1].toLowerCase(),i=zr[r]||zr._default,n.innerHTML="
 
"+i[1]+t.replace(Br,"<$1>")+i[2],n.removeChild(n.firstChild),o=i[0];o--;)n=n.lastChild;for(a=0,s=n.childNodes.length;s>a;++a)c.push(n.childNodes[a]);n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",c}function pe(t,n){n=n||e;var r;return(r=Ir.exec(t))?[n.createElement(r[1])]:he(t,n)}function de(t){if(t instanceof de)return t;if(w(t)&&(t=Mr(t)),!(this instanceof de)){if(w(t)&&"<"!=t.charAt(0))throw Fr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new de(t)}if(w(t)){Ce(this,pe(t));var n=yr(e.createDocumentFragment());n.append(this)}else Ce(this,t)}function $e(t){return t.cloneNode(!0)}function ve(t){me(t);for(var e=0,n=t.childNodes||[];e-1:!1}function xe(t,e){e&&t.setAttribute&&o(e.split(" "),function(e){t.setAttribute("class",Mr((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Mr(e)+" "," ")))})}function Se(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(e.split(" "),function(t){t=Mr(t),-1===n.indexOf(" "+t+" ")&&(n+=t+" ")}),t.setAttribute("class",Mr(n))}}function Ce(t,e){if(e){e=e.nodeName||!m(e.length)||k(e)?[e]:e;for(var n=0;no;o++)if((r=yr.data(t,i[o]))!==n)return r;t=t.parentNode||11===t.nodeType&&t.host}}function Ae(t){for(var e=0,n=t.childNodes;e=mr?(r.preventDefault=null,r.stopPropagation=null,r.isDefaultPrevented=null):(delete r.preventDefault,delete r.stopPropagation,delete r.isDefaultPrevented)};return r.elem=t,r}function Me(t,e){var r,i=typeof t;return"function"==i||"object"==i&&null!==t?"function"==typeof(r=t.$$hashKey)?r=t.$$hashKey():r===n&&(r=t.$$hashKey=(e||c)()):r=t,i+":"+r}function Ne(t,e){if(e){var n=0;this.nextUid=function(){return++n}}o(t,this.put,this)}function Pe(t){var e,n,r,i;return"function"==typeof t?(e=t.$inject)||(e=[],t.length&&(n=t.toString().replace(Yr,""),r=n.match(Gr),o(r[1].split(Xr),function(t){t.replace(Kr,function(t,n,r){e.push(r)})})),t.$inject=e):Tr(t)?(i=t.length-1,ne(t[i],"fn"),e=t.slice(0,i)):ne(t,"fn",!0),e}function je(t){function e(t){return function(e,n){return y(e)?void o(e,u(t)):t(e,n)}}function n(t,e){if(re(t,"service"),(S(e)||Tr(e))&&(e=b.instantiate(e)),!e.$get)throw Zr("pget","Provider '{0}' must define $get factory method.",t);return m[t+p]=e}function r(t,e){return n(t,{$get:e})}function i(t,e){return r(t,["$injector",function(t){return t.instantiate(e)}])}function a(t,e){return r(t,v(e))}function s(t,e){re(t,"constant"),m[t]=e,x[t]=e}function c(t,e){var n=b.get(t+p),r=n.$get;n.$get=function(){var t=C.invoke(r,n);return C.invoke(e,null,{$delegate:t})}}function l(t){var e,n,r,i,a=[];return o(t,function(t){if(!g.get(t)){g.put(t,!0);try{if(w(t))for(e=br(t),a=a.concat(l(e.requires)).concat(e._runBlocks),n=e._invokeQueue,r=0,i=n.length;i>r;r++){var o=n[r],s=b.get(o[0]);s[o[1]].apply(s,o[2])}else S(t)?a.push(b.invoke(t)):Tr(t)?a.push(b.invoke(t)):ne(t,"module")}catch(u){throw Tr(t)&&(t=t[t.length-1]),u.message&&u.stack&&-1==u.stack.indexOf(u.message)&&(u=u.message+"\n"+u.stack),Zr("modulerr","Failed to instantiate module {0} due to:\n{1}",t,u.stack||u.message||u)}}}),a}function f(t,e){function n(n){if(t.hasOwnProperty(n)){if(t[n]===h)throw Zr("cdep","Circular dependency found: {0}",n+" <- "+$.join(" <- "));return t[n]}try{return $.unshift(n),t[n]=h,t[n]=e(n)}catch(r){throw t[n]===h&&delete t[n],r}finally{$.shift()}}function r(t,e,r){var i,o,a,s=[],u=Pe(t);for(o=0,i=u.length;i>o;o++){if(a=u[o],"string"!=typeof a)throw Zr("itkn","Incorrect injection token! Expected service name as string, got {0}",a);s.push(r&&r.hasOwnProperty(a)?r[a]:n(a))}return Tr(t)&&(t=t[i]),t.apply(e,s)}function i(t,e){var n,i,o=function(){};return o.prototype=(Tr(t)?t[t.length-1]:t).prototype,n=new o,i=r(t,n,e),y(i)||S(i)?i:n}return{invoke:r,instantiate:i,get:n,annotate:Pe,has:function(e){return m.hasOwnProperty(e+p)||t.hasOwnProperty(e)}}}var h={},p="Provider",$=[],g=new Ne([],!0),m={$provide:{provider:e(n),factory:e(r),service:e(i),value:e(a),constant:e(s),decorator:c}},b=m.$injector=f(m,function(){throw Zr("unpr","Unknown provider: {0}",$.join(" <- "))}),x={},C=x.$injector=f(x,function(t){var e=b.get(t+p);return C.invoke(e.$get,e)});return o(l(t),function(t){C.invoke(t||d)}),C}function De(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(e,n,r){function i(t){var e=null;return o(t,function(t){e||"a"!==pr(t.nodeName)||(e=t)}),e}function a(){var t,r=n.hash();r?(t=s.getElementById(r))?t.scrollIntoView():(t=i(s.getElementsByName(r)))?t.scrollIntoView():"top"===r&&e.scrollTo(0,0):e.scrollTo(0,0)}var s=e.document;return t&&r.$watch(function(){return n.hash()},function(){r.$evalAsync(a)}),a}]}function Re(){this.$get=["$$rAF","$timeout",function(t,e){return t.supported?function(e){return t(e)}:function(t){return e(t,0,!1)}}]}function _e(t,e,r,i){function a(t){try{t.apply(null,U(arguments,1))}finally{if(m--,0===m)for(;y.length;)try{y.pop()()}catch(e){r.error(e)}}}function s(t,e){!function n(){o(x,function(t){t()}),b=e(n,t)}()}function u(){k=null,S!=c.url()&&(S=c.url(),o(E,function(t){t(c.url())}))}var c=this,l=e[0],f=t.location,h=t.history,p=t.setTimeout,$=t.clearTimeout,v={};c.isMock=!1;var m=0,y=[];c.$$completeOutstandingRequest=a,c.$$incOutstandingRequestCount=function(){m++},c.notifyWhenNoOutstandingRequests=function(t){o(x,function(t){t()}),0===m?t():y.push(t)};var b,x=[];c.addPollFn=function(t){return g(b)&&s(100,p),x.push(t),t};var S=f.href,C=e.find("base"),k=null;c.url=function(e,n){if(f!==t.location&&(f=t.location),h!==t.history&&(h=t.history),e){if(S==e)return;return S=e,i.history?n?h.replaceState(null,"",e):(h.pushState(null,"",e),C.attr("href",C.attr("href"))):(k=e,n?f.replace(e):f.href=e),c}return k||f.href.replace(/%27/g,"'")};var E=[],A=!1;c.onUrlChange=function(e){return A||(i.history&&yr(t).on("popstate",u),i.hashchange?yr(t).on("hashchange",u):c.addPollFn(u),A=!0),E.push(e),e},c.baseHref=function(){var t=C.attr("href");return t?t.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var O={},T="",M=c.baseHref();c.cookies=function(t,e){var i,o,a,s,u;if(!t){if(l.cookie!==T)for(T=l.cookie,o=T.split("; "),O={},s=0;s0&&(t=unescape(a.substring(0,u)),O[t]===n&&(O[t]=unescape(a.substring(u+1))));return O}e===n?l.cookie=escape(t)+"=;path="+M+";expires=Thu, 01 Jan 1970 00:00:00 GMT":w(e)&&(i=(l.cookie=escape(t)+"="+escape(e)+";path="+M).length+1,i>4096&&r.warn("Cookie '"+t+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},c.defer=function(t,e){var n;return m++,n=p(function(){delete v[n],a(t)},e||0),v[n]=!0,n},c.defer.cancel=function(t){return v[t]?(delete v[t],$(t),a(d),!0):!1}}function qe(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new _e(t,r,e,n)}]}function Ve(){this.$get=function(){function t(t,n){function i(t){t!=h&&(p?p==t&&(p=t.n):p=t,o(t.n,t.p),o(t,h),h=t,h.n=null)}function o(t,e){t!=e&&(t&&(t.p=e),e&&(e.n=t))}if(t in e)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var a=0,s=f({},n,{id:t}),u={},c=n&&n.capacity||Number.MAX_VALUE,l={},h=null,p=null;return e[t]={put:function(t,e){if(cc&&this.remove(p.key),e},get:function(t){if(c").parent()[0])});var a=O(t,e,t,n,r,i);return A(t,"ng-scope"),function(e,n,r,i){ee(e,"scope");var s=n?Wr.clone.call(t):t;o(r,function(t,e){s.data("$"+e+"Controller",t)});for(var u=0,c=s.length;c>u;u++){var l=s[u],f=l.nodeType;(1===f||9===f)&&s.eq(u).data("$scope",e)}return n&&n(s,e),a&&a(e,s,s,i),s}}function A(t,e){try{t.addClass(e)}catch(n){}}function O(t,e,r,i,o,a){function s(t,r,i,o){var a,s,u,c,l,f,h,p,$=r.length,v=new Array($);for(l=0;$>l;l++)v[l]=r[l];for(l=0,h=0,f=d.length;f>l;h++)u=v[h],a=d[l++],s=d[l++],a?(a.scope?(c=t.$new(),yr.data(u,"$scope",c)):c=t,p=a.transcludeOnThisElement?T(t,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&e?T(t,e):null,a(s,c,u,i,p)):s&&s(t,u.childNodes,n,o)}for(var u,c,l,f,h,p,d=[],$=0;$m;m++){var b=!1,x=!1;if(f=g[m],!mr||mr>=8||f.specified){h=f.name,$=Mr(f.value),d=Ie(h),(v=te.test(d))&&(h=Z(d.substr(6),"-"));var S=d.replace(/(Start|End)$/,"");d===S+"Start"&&(b=h,x=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),p=Ie(h.toLowerCase()),l[p]=h,(v||!n.hasOwnProperty(p))&&(n[p]=$,Oe(t,p)&&(n[p]=!0)),W(t,e,$,p),R(e,p,"A",r,i,b,x)}}if(a=t.className,w(a)&&""!==a)for(;o=c.exec(a);)p=Ie(o[2]),R(e,p,"C",r,i)&&(n[p]=Mr(o[3])),a=a.substr(o.index+o[0].length);break;case 3:L(e,t.nodeValue);break;case 8:try{o=s.exec(t.nodeValue),o&&(p=Ie(o[1]),R(e,p,"M",r,i)&&(n[p]=Mr(o[2])))}catch(C){}}return e.sort(I),e}function N(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e)){do{if(!t)throw ni("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);1==t.nodeType&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0)}else r.push(t);return yr(r)}function P(t,e,n){return function(r,i,o,a,s){return i=N(i[0],e,n),t(r,i,o,a,s)}}function j(t,i,a,s,c,l,f,h,p){function d(t,e,n,r){t&&(n&&(t=P(t,n,r)),t.require=x.require,t.directiveName=C,(I===x||x.$$isolateScope)&&(t=J(t,{isolateScope:!0})),f.push(t)),e&&(n&&(e=P(e,n,r)),e.require=x.require,e.directiveName=C,(I===x||x.$$isolateScope)&&(e=J(e,{isolateScope:!0})),h.push(e))}function $(t,e,n,r){var i,a="data",s=!1;if(w(e)){for(;"^"==(i=e.charAt(0))||"?"==i;)e=e.substr(1),"^"==i&&(a="inheritedData"),s=s||"?"==i;if(i=null,r&&"data"===a&&(i=r[e]),i=i||n[a]("$"+e+"Controller"),!i&&!s)throw ni("ctreq","Controller '{0}', required by directive '{1}', can't be found!",e,t);return i}return Tr(e)&&(i=[],o(e,function(e){i.push($(t,e,n,r))})),i}function m(t,e,s,c,l){function p(t,e){var r;return arguments.length<2&&(e=t,t=n),K&&(r=k),l(t,e,r)}var d,m,y,w,b,x,S,C,k={};if(d=i===s?a:_(a,new G(yr(s),a.$attr)),m=d.$$element,I){var E=/^\s*([@=&])(\??)\s*(\w*)\s*$/;S=e.$new(!0),!L||L!==I&&L!==I.$$originalDirective?m.data("$isolateScopeNoTemplate",S):m.data("$isolateScope",S),A(m,"ng-isolate-scope"),o(I.scope,function(t,n){var i,o,a,s,u=t.match(E)||[],c=u[3]||n,l="?"==u[2],f=u[1];switch(S.$$isolateBindings[n]=f+c,f){case"@":d.$observe(c,function(t){S[n]=t}),d.$$observers[c].$$scope=e,d[c]&&(S[n]=r(d[c])(e));break;case"=":if(l&&!d[c])return;o=v(d[c]),s=o.literal?q:function(t,e){return t===e||t!==t&&e!==e},a=o.assign||function(){throw i=S[n]=o(e),ni("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",d[c],I.name)},i=S[n]=o(e),S.$watch(function(){var t=o(e);return s(t,S[n])||(s(t,i)?a(e,t=S[n]):S[n]=t),i=t},null,o.literal);break;case"&":o=v(d[c]),S[n]=function(t){return o(e,t)};break;default:throw ni("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",I.name,n,t)}})}for(C=l&&p,R&&o(R,function(t){var n,r={$scope:t===I||t.$$isolateScope?S:e,$element:m,$attrs:d,$transclude:C};x=t.controller,"@"==x&&(x=d[t.name]),n=g(x,r),k[t.name]=n,K||m.data("$"+t.name+"Controller",n),t.controllerAs&&(r.$scope[t.controllerAs]=n)}),y=0,w=f.length;w>y;y++)try{b=f[y],b(b.isolateScope?S:e,m,d,b.require&&$(b.directiveName,b.require,m,k),C)}catch(O){u(O,z(m))}var T=e;for(I&&(I.template||null===I.templateUrl)&&(T=S),t&&t(T,s.childNodes,n,l),y=h.length-1;y>=0;y--)try{b=h[y],b(b.isolateScope?S:e,m,d,b.require&&$(b.directiveName,b.require,m,k),C)}catch(O){u(O,z(m))}}p=p||{};for(var b,x,C,k,O,T,j=-Number.MAX_VALUE,R=p.controllerDirectives,I=p.newIsolateScopeDirective,L=p.templateDirective,B=p.nonTlbTranscludeDirective,W=!1,X=!1,K=p.hasElementTranscludeDirective,Z=a.$$element=yr(i),te=l,ee=s,ne=0,re=t.length;re>ne;ne++){x=t[ne];var ie=x.$$start,oe=x.$$end;if(ie&&(Z=N(i,ie,oe)),k=n,j>x.priority)break;if((T=x.scope)&&(b=b||x,x.templateUrl||(H("new/isolated scope",I,x,Z),y(T)&&(I=x))),C=x.name,!x.templateUrl&&x.controller&&(T=x.controller,R=R||{},H("'"+C+"' controller",R[C],x,Z),R[C]=x),(T=x.transclude)&&(W=!0,x.$$tlb||(H("transclusion",B,x,Z),B=x),"element"==T?(K=!0,j=x.priority,k=Z,Z=a.$$element=yr(e.createComment(" "+C+": "+a[C]+" ")),i=Z[0],Q(c,U(k),i),ee=E(k,s,j,te&&te.name,{nonTlbTranscludeDirective:B})):(k=yr($e(i)).contents(),Z.empty(),ee=E(k,s))),x.template)if(X=!0,H("template",L,x,Z),L=x,T=S(x.template)?x.template(Z,a):x.template,T=Y(T),x.replace){if(te=x,k=fe(T)?[]:yr(Mr(T)),i=k[0],1!=k.length||1!==i.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",C,"");Q(c,Z,i);var ae={$attr:{}},se=M(i,[],ae),ue=t.splice(ne+1,t.length-(ne+1));I&&D(se),t=t.concat(se).concat(ue),V(a,ae),re=t.length}else Z.html(T);if(x.templateUrl)X=!0,H("template",L,x,Z),L=x,x.replace&&(te=x),m=F(t.splice(ne,t.length-ne),Z,a,c,W&&ee,f,h,{controllerDirectives:R,newIsolateScopeDirective:I,templateDirective:L,nonTlbTranscludeDirective:B}),re=t.length;else if(x.compile)try{O=x.compile(Z,a,ee),S(O)?d(null,O,ie,oe):O&&d(O.pre,O.post,ie,oe)}catch(ce){u(ce,z(Z))}x.terminal&&(m.terminal=!0,j=Math.max(j,x.priority))}return m.scope=b&&b.scope===!0,m.transcludeOnThisElement=W,m.templateOnThisElement=X,m.transclude=ee,p.hasElementTranscludeDirective=K,m}function D(t){for(var e=0,n=t.length;n>e;e++)t[e]=p(t[e],{$$isolateScope:!0})}function R(e,r,o,s,c,l,f){if(r===c)return null;var h=null;if(i.hasOwnProperty(r))for(var d,$=t.get(r+a),v=0,g=$.length;g>v;v++)try{d=$[v],(s===n||s>d.priority)&&-1!=d.restrict.indexOf(o)&&(l&&(d=p(d,{$$start:l,$$end:f})),e.push(d),h=d)}catch(m){u(m)}return h}function V(t,e){var n=e.$attr,r=t.$attr,i=t.$$element;o(t,function(r,i){"$"!=i.charAt(0)&&(e[i]&&e[i]!==r&&(r+=("style"===i?";":" ")+e[i]),t.$set(i,r,!0,n[i]))}),o(e,function(e,o){"class"==o?(A(i,e),t["class"]=(t["class"]?t["class"]+" ":"")+e):"style"==o?(i.attr("style",i.attr("style")+";"+e),t.style=(t.style?t.style+";":"")+e):"$"==o.charAt(0)||t.hasOwnProperty(o)||(t[o]=e,r[o]=n[o])})}function F(t,e,n,r,i,a,s,u){var c,l,p=[],$=e[0],v=t.shift(),g=f({},v,{templateUrl:null,transclude:null,replace:null,$$originalDirective:v}),m=S(v.templateUrl)?v.templateUrl(e,n):v.templateUrl;return e.empty(),h.get(x.getTrustedResourceUrl(m),{cache:d}).success(function(f){var h,d,w,b;if(f=Y(f),v.replace){if(w=fe(f)?[]:yr(Mr(f)),h=w[0],1!=w.length||1!==h.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v.name,m);d={$attr:{}},Q(r,e,h);var x=M(h,[],d);y(v.scope)&&D(x),t=x.concat(t),V(n,d)}else h=$,e.html(f);for(t.unshift(g),c=j(t,h,n,i,e,v,a,s,u),o(r,function(t,n){t==h&&(r[n]=e[0])}),l=O(e[0].childNodes,i);p.length;){var S=p.shift(),C=p.shift(),k=p.shift(),E=p.shift(),N=e[0];if(C!==$){var P=C.className;u.hasElementTranscludeDirective&&v.replace||(N=$e(h)),Q(k,yr(C),N),A(yr(N),P)}b=c.transcludeOnThisElement?T(S,c.transclude,E):E,c(l,S,N,r,b)}p=null}).error(function(t,e,n,r){throw ni("tpload","Failed to load template: {0}",r.url)}),function(t,e,n,r,i){var o=i;p?(p.push(e),p.push(n),p.push(r),p.push(o)):(c.transcludeOnThisElement&&(o=T(e,c.transclude,i)),c(l,e,n,r,o))}}function I(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.namei;i++)if(t[i]==a){t[i++]=r;for(var c=i,l=c+s-1,f=t.length;f>c;c++,l++)f>l?t[c]=t[l]:delete t[c];t.length-=s-1;break}u&&u.replaceChild(r,a);var h=e.createDocumentFragment();h.appendChild(a),r[yr.expando]=a[yr.expando];for(var p=1,d=n.length;d>p;p++){var $=n[p];yr($).remove(),h.appendChild($),delete n[p]}n[0]=r,n.length=1}function J(t,e){return f(function(){return t.apply(null,arguments)},t,e)}var G=function(t,e){this.$$element=t,this.$attr=e||{}};G.prototype={$normalize:Ie,$addClass:function(t){t&&t.length>0&&C.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&C.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=He(t,e),r=He(e,t);0===n.length?C.removeClass(this.$$element,r):0===r.length?C.addClass(this.$$element,n):C.setClass(this.$$element,n,r)},$set:function(t,e,r,i){var a,s=Oe(this.$$element[0],t);s&&(this.$$element.prop(t,e),i=s),this[t]=e,i?this.$attr[t]=i:(i=this.$attr[t],i||(this.$attr[t]=i=Z(t,"-"))),a=xr(this.$$element),("A"===a&&"href"===t||"IMG"===a&&"src"===t)&&(this[t]=e=k(e,"src"===t)),r!==!1&&(null===e||e===n?this.$$element.removeAttr(i):this.$$element.attr(i,e));var c=this.$$observers;c&&o(c[t],function(t){try{t(e)}catch(n){u(n)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers={}),i=r[t]||(r[t]=[]);return i.push(e),m.$evalAsync(function(){i.$$inter||e(n[t])}),e}};var X=r.startSymbol(),K=r.endSymbol(),Y="{{"==X||"}}"==K?$:function(t){return t.replace(/\{\{/g,X).replace(/}}/g,K)},te=/^ngAttr[A-Z]/;return E}]}function Ie(t){return ce(t.replace(ri,""))}function He(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o0?" ":"")+a}return n}function Le(){var t={},e=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(e,n){re(e,"controller"),y(e)?f(t,e):t[e]=n},this.$get=["$injector","$window",function(n,i){return function(o,a){var s,u,c,l;if(w(o)&&(u=o.match(e),c=u[1],l=u[3],o=t.hasOwnProperty(c)?t[c]:ie(a.$scope,c,!0)||ie(i,c,!0),ne(o,c,!0)),s=n.instantiate(o,a),l){if(!a||"object"!=typeof a.$scope)throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",c||o.name,l);a.$scope[l]=s}return s}}]}function Be(){this.$get=["$window",function(t){return yr(t.document)}]}function ze(){this.$get=["$log",function(t){return function(){t.error.apply(t,arguments)}}]}function We(t){var e,n,r,i={};return t?(o(t.split("\n"),function(t){r=t.indexOf(":"),e=pr(Mr(t.substr(0,r))),n=Mr(t.substr(r+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}function Qe(t){var e=y(t)?t:n;return function(n){return e||(e=We(t)),n?e[pr(n)]||null:e}}function Je(t,e,n){return S(n)?n(t,e):(o(n,function(n){t=n(t,e)}),t)}function Ge(t){return t>=200&&300>t}function Xe(){var t=/^\s*(\[|\{[^\{])/,e=/[\}\]]\s*$/,r=/^\)\]\}',?\n/,i={"Content-Type":"application/json;charset=utf-8"},a=this.defaults={transformResponse:[function(n){return w(n)&&(n=n.replace(r,""),t.test(n)&&e.test(n)&&(n=L(n))),n}],transformRequest:[function(t){return!y(t)||A(t)||O(t)?t:H(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:_(i),put:_(i),patch:_(i)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},u=this.interceptors=[],c=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(t,e,r,i,l,h){function p(t){function e(t){var e=f({},t,{data:Je(t.data,t.headers,i.transformResponse)});return Ge(t.status)?e:l.reject(e)}function r(t){function e(t){var e;o(t,function(n,r){S(n)&&(e=n(),null!=e?t[r]=e:delete t[r])})}var n,r,i,s=a.headers,u=f({},t.headers);s=f({},s.common,s[pr(t.method)]);t:for(n in s){r=pr(n);for(i in u)if(pr(i)===r)continue t;u[n]=s[n]}return e(u),u}var i={method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse},s=r(t);f(i,t),i.headers=s,i.method=$r(i.method);var u=function(t){s=t.headers;var n=Je(t.data,Qe(s),t.transformRequest);return g(n)&&o(s,function(t,e){"content-type"===pr(e)&&delete s[e]}),g(t.withCredentials)&&!g(a.withCredentials)&&(t.withCredentials=a.withCredentials),v(t,n,s).then(e,e)},c=[u,n],h=l.when(i);for(o(k,function(t){(t.request||t.requestError)&&c.unshift(t.request,t.requestError),(t.response||t.responseError)&&c.push(t.response,t.responseError)});c.length;){var p=c.shift(),d=c.shift();h=h.then(p,d)}return h.success=function(t){return h.then(function(e){t(e.data,e.status,e.headers,i)}),h},h.error=function(t){return h.then(null,function(e){t(e.data,e.status,e.headers,i)}),h},h}function d(){o(arguments,function(t){p[t]=function(e,n){return p(f(n||{},{method:t,url:e}))}})}function $(){o(arguments,function(t){p[t]=function(e,n,r){return p(f(r||{},{method:t,url:e,data:n}))}})}function v(r,o,s){function u(t,e,n,r){h&&(Ge(t)?h.put(w,[t,e,We(n),r]):h.remove(w)),c(e,t,n,r),i.$$phase||i.$apply()}function c(t,e,n,i){e=Math.max(e,0),(Ge(e)?$.resolve:$.reject)({data:t,status:e,headers:Qe(n),config:r,statusText:i})}function f(){var t=j(p.pendingRequests,r);-1!==t&&p.pendingRequests.splice(t,1)}var h,d,$=l.defer(),v=$.promise,w=b(r.url,r.params);if(p.pendingRequests.push(r),v.then(f,f),!r.cache&&!a.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(h=y(r.cache)?r.cache:y(a.cache)?a.cache:C),h)if(d=h.get(w),m(d)){if(T(d))return d.then(f,f),d;Tr(d)?c(d[1],d[0],_(d[2]),d[3]):c(d,200,{},"OK")}else h.put(w,v);if(g(d)){var x=Vn(r.url)?e.cookies()[r.xsrfCookieName||a.xsrfCookieName]:n;x&&(s[r.xsrfHeaderName||a.xsrfHeaderName]=x),t(r.method,w,o,u,s,r.timeout,r.withCredentials,r.responseType)}return v}function b(t,e){if(!e)return t;var n=[];return s(e,function(t,e){null===t||g(t)||(Tr(t)||(t=[t]),o(t,function(t){y(t)&&(x(t)?t=t.toISOString():y(t)&&(t=H(t))),n.push(X(e)+"="+X(t))}))}),n.length>0&&(t+=(-1==t.indexOf("?")?"?":"&")+n.join("&")),t}var C=r("$http"),k=[];return o(u,function(t){k.unshift(w(t)?h.get(t):h.invoke(t))}),o(c,function(t,e){var n=w(t)?h.get(t):h.invoke(t);k.splice(e,0,{response:function(t){return n(l.when(t))},responseError:function(t){return n(l.reject(t))}})}),p.pendingRequests=[],d("get","delete","head","jsonp"),$("post","put"),p.defaults=a,p}]}function Ke(e){if(8>=mr&&(!e.match(/^(get|post|head|put|delete|options)$/i)||!t.XMLHttpRequest))return new t.ActiveXObject("Microsoft.XMLHTTP");if(t.XMLHttpRequest)return new t.XMLHttpRequest;throw r("$httpBackend")("noxhr","This browser does not support XMLHttpRequest.")}function Ye(){this.$get=["$browser","$window","$document",function(t,e,n){return Ze(t,Ke,t.defer,e.angular.callbacks,n[0])}]}function Ze(t,e,n,r,i){function a(t,e,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=t,o.async=!0,a=function(t){qr(o,"load",a),qr(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";t&&("load"!==t.type||r[e].called||(t={type:"error"}),u=t.type,s="error"===t.type?404:200),n&&n(s,u)},_r(o,"load",a),_r(o,"error",a),8>=mr&&(o.onreadystatechange=function(){w(o.readyState)&&/loaded|complete/.test(o.readyState)&&(o.onreadystatechange=null,a({type:"load"}))}),i.body.appendChild(o),a}var s=-1;return function(i,u,c,l,f,h,p,$){function v(){y=s,b&&b(),x&&x.abort()}function g(e,r,i,o,a){C&&n.cancel(C),b=x=null,0===r&&(r=i?200:"file"==qn(u).protocol?404:0),r=1223===r?204:r,a=a||"",e(r,i,o,a),t.$$completeOutstandingRequest(d)}var y;if(t.$$incOutstandingRequestCount(),u=u||t.url(),"jsonp"==pr(i)){var w="_"+(r.counter++).toString(36);r[w]=function(t){r[w].data=t,r[w].called=!0};var b=a(u.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(t,e){g(l,t,r[w].data,"",e),r[w]=d})}else{var x=e(i);if(x.open(i,u,!0),o(f,function(t,e){m(t)&&x.setRequestHeader(e,t)}),x.onreadystatechange=function(){if(x&&4==x.readyState){var t=null,e=null,n="";y!==s&&(t=x.getAllResponseHeaders(),e="response"in x?x.response:x.responseText),y===s&&10>mr||(n=x.statusText),g(l,y||x.status,e,t,n)}},p&&(x.withCredentials=!0),$)try{x.responseType=$}catch(S){if("json"!==$)throw S}x.send(c||null)}if(h>0)var C=n(v,h);else T(h)&&h.then(v)}}function tn(){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(o,u,c){for(var l,f,h,p,d=0,$=[],v=o.length,g=!1,m=[];v>d;)-1!=(l=o.indexOf(t,d))&&-1!=(f=o.indexOf(e,l+a))?(d!=l&&$.push(o.substring(d,l)),$.push(h=n(p=o.substring(l+a,f))),h.exp=p,d=f+s,g=!0):(d!=v&&$.push(o.substring(d)),d=v);if((v=$.length)||($.push(""),v=1),c&&$.length>1)throw ii("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);return!u||g?(m.length=v,h=function(t){try{for(var e,n=0,a=v;a>n;n++){if("function"==typeof(e=$[n]))if(e=e(t),e=c?i.getTrusted(c,e):i.valueOf(e),null==e)e="";else switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=H(e)}m[n]=e}return m.join("")}catch(s){var u=ii("interr","Can't interpolate: {0}\n{1}",o,s.toString());r(u)}},h.exp=o,h.parts=$,h):void 0}var a=t.length,s=e.length;return o.startSymbol=function(){return t},o.endSymbol=function(){return e},o}]}function en(){this.$get=["$rootScope","$window","$q",function(t,e,n){function r(r,o,a,s){var u=e.setInterval,c=e.clearInterval,l=n.defer(),f=l.promise,h=0,p=m(s)&&!s;return a=m(a)?a:0,f.then(null,null,r),f.$$intervalId=u(function(){l.notify(h++),a>0&&h>=a&&(l.resolve(h),c(f.$$intervalId),delete i[f.$$intervalId]),p||t.$apply()},o),i[f.$$intervalId]=l,f}var i={};return r.cancel=function(t){return t&&t.$$intervalId in i?(i[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete i[t.$$intervalId],!0):!1},r}]}function nn(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(t){return 1===t?"one":"other"}}}}function rn(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=G(e[n]);return e.join("/")}function on(t,e,n){var r=qn(t,n);e.$$protocol=r.protocol,e.$$host=r.hostname,e.$$port=h(r.port)||ai[r.protocol]||null}function an(t,e,n){var r="/"!==t.charAt(0);r&&(t="/"+t);var i=qn(t,n);e.$$path=decodeURIComponent(r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),e.$$search=Q(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function sn(t,e){return 0===e.indexOf(t)?e.substr(t.length):void 0}function un(t){var e=t.indexOf("#");return-1==e?t:t.substr(0,e)}function cn(t){return t.substr(0,un(t).lastIndexOf("/")+1)}function ln(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function fn(t,e){this.$$html5=!0,e=e||"";var r=cn(t);on(t,this,t),this.$$parse=function(e){var n=sn(r,e);if(!w(n))throw si("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,r);an(n,this,t),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=J(this.$$search),e=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(t?"?"+t:"")+e,this.$$absUrl=r+this.$$url.substr(1)},this.$$rewrite=function(i){var o,a;return(o=sn(t,i))!==n?(a=o,(o=sn(e,o))!==n?r+(sn("/",o)||o):t+a):(o=sn(r,i))!==n?r+o:r==i+"/"?r:void 0}}function hn(t,e){var n=cn(t);on(t,this,t),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=sn(t,r)||sn(n,r),a="#"==o.charAt(0)?sn(e,o):this.$$html5?o:"";if(!w(a))throw si("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',r,e);an(a,this,t),this.$$path=i(this.$$path,a,t),this.$$compose()},this.$$compose=function(){var n=J(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=t+(this.$$url?e+this.$$url:"")},this.$$rewrite=function(e){return un(t)==un(e)?e:void 0}}function pn(t,e){this.$$html5=!0,hn.apply(this,arguments);var n=cn(t);this.$$rewrite=function(r){var i;return t==un(r)?r:(i=sn(n,r))?t+e+i:n===r+"/"?n:void 0},this.$$compose=function(){var n=J(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=t+e+this.$$url}}function dn(t){return function(){return this[t]}}function $n(t,e){return function(n){return g(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function vn(){var e="",n=!1;this.hashPrefix=function(t){return m(t)?(e=t,this):e},this.html5Mode=function(t){return m(t)?(n=t,this):n},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(r,i,o,a){function s(t){r.$broadcast("$locationChangeSuccess",u.absUrl(),t)}var u,c,l,f=i.baseHref(),h=i.url();n?(l=ln(h)+(f||"/"),c=o.history?fn:pn):(l=un(h),c=hn),u=new c(l,"#"+e),u.$$parse(u.$$rewrite(h));var p=/^\s*(javascript|mailto):/i;a.on("click",function(n){if(!n.ctrlKey&&!n.metaKey&&2!=n.which){for(var o=yr(n.target);"a"!==pr(o[0].nodeName);)if(o[0]===a[0]||!(o=o.parent())[0])return;var s=o.prop("href");if(y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=qn(s.animVal).href),!p.test(s)){if(c===pn){var f=o.attr("href")||o.attr("xlink:href");if(f&&f.indexOf("://")<0){var h="#"+e;if("/"==f[0])s=l+h+f;else if("#"==f[0])s=l+h+(u.path()||"/")+f;else{var d=u.path().split("/"),$=f.split("/");2!==d.length||d[1]||(d.length=1);for(var v=0;v<$.length;v++)"."!=$[v]&&(".."==$[v]?d.pop():$[v].length&&d.push($[v]));s=l+h+d.join("/")}}}var g=u.$$rewrite(s);s&&!o.attr("target")&&g&&!n.isDefaultPrevented()&&(n.preventDefault(),g!=i.url()&&(u.$$parse(g),r.$apply(),t.angular["ff-684208-preventDefault"]=!0))}}}),u.absUrl()!=h&&i.url(u.absUrl(),!0),i.onUrlChange(function(t){u.absUrl()!=t&&(r.$evalAsync(function(){var e=u.absUrl();u.$$parse(t),r.$broadcast("$locationChangeStart",t,e).defaultPrevented?(u.$$parse(e),i.url(e)):s(e)}),r.$$phase||r.$digest())});var d=0;return r.$watch(function(){var t=i.url(),e=u.$$replace;return d&&t==u.absUrl()||(d++,r.$evalAsync(function(){r.$broadcast("$locationChangeStart",u.absUrl(),t).defaultPrevented?u.$$parse(t):(i.url(u.absUrl(),e),s(t))})),u.$$replace=!1,d}),u}]}function gn(){var t=!0,e=this;this.debugEnabled=function(e){return m(e)?(t=e,this):t},this.$get=["$window",function(n){function r(t){return t instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"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||d,a=!1;try{a=!!i.apply}catch(s){}return a?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 mn(t,e){if("__defineGetter__"===t||"__defineSetter__"===t||"__lookupGetter__"===t||"__lookupSetter__"===t||"__proto__"===t)throw ci("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",e);return t}function yn(t,e){if(t){if(t.constructor===t)throw ci("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t.document&&t.location&&t.alert&&t.setInterval)throw ci("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw ci("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",e);if(t===Object)throw ci("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",e)}return t}function wn(t,e){if(t){if(t.constructor===t)throw ci("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t===fi||t===hi||pi&&t===pi)throw ci("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",e)}}function bn(t,e,r,i,o){o=o||{};for(var a,s=e.split("."),u=0;s.length>1;u++){a=mn(s.shift(),i);var c=t[a];c||(c={},t[a]=c),t=c,t.then&&o.unwrapPromises&&(ui(i),"$$v"in t||!function(t){t.then(function(e){t.$$v=e})}(t),t.$$v===n&&(t.$$v={}),t=t.$$v)}return a=mn(s.shift(),i),yn(t,i),yn(t[a],i),t[a]=r,r}function xn(t,e,r,i,o,a,s){return mn(t,a),mn(e,a),mn(r,a),mn(i,a),mn(o,a),s.unwrapPromises?function(s,u){var c,l=u&&u.hasOwnProperty(t)?u:s;return null==l?l:(l=l[t],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),e?null==l?n:(l=l[e],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),r?null==l?n:(l=l[r],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),i?null==l?n:(l=l[i],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),o?null==l?n:(l=l[o],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),l):l):l):l):l)}:function(a,s){var u=s&&s.hasOwnProperty(t)?s:a;return null==u?u:(u=u[t],e?null==u?n:(u=u[e],r?null==u?n:(u=u[r],i?null==u?n:(u=u[i],o?null==u?n:u=u[o]:u):u):u):u)}}function Sn(t,e,r){if(mi.hasOwnProperty(t))return mi[t];var i,a=t.split("."),s=a.length;if(e.csp)i=6>s?xn(a[0],a[1],a[2],a[3],a[4],r,e):function(t,i){var o,u=0;do o=xn(a[u++],a[u++],a[u++],a[u++],a[u++],r,e)(t,i),i=n,t=o;while(s>u);return o};else{var u="var p;\n";o(a,function(t,n){mn(t,r),u+="if(s == null) return undefined;\ns="+(n?"s":'((k&&k.hasOwnProperty("'+t+'"))?k:s)')+'["'+t+'"];\n'+(e.unwrapPromises?'if (s && s.then) {\n pw("'+r.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")}),u+="return s;";var c=new Function("s","k","pw",u);c.toString=v(u),i=e.unwrapPromises?function(t,e){return c(t,e,ui)}:c}return"hasOwnProperty"!==t&&(mi[t]=i),i}function Cn(){var t={},e={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(t){return m(t)?(e.unwrapPromises=!!t,this):e.unwrapPromises},this.logPromiseWarnings=function(t){return m(t)?(e.logPromiseWarnings=t,this):e.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(n,r,i){return e.csp=r.csp,ui=function(t){e.logPromiseWarnings&&!li.hasOwnProperty(t)&&(li[t]=!0,i.warn("[$parse] Promise found in the expression `"+t+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(r){var i;switch(typeof r){case"string":if(t.hasOwnProperty(r))return t[r];var o=new vi(e),a=new gi(o,n,e);return i=a.parse(r),"hasOwnProperty"!==r&&(t[r]=i),i;case"function":return r;default:return d}}}]}function kn(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return En(function(e){t.$evalAsync(e)},e)}]}function En(t,e){function r(t){return t}function i(t){return c(t)}function a(t){var e=s(),n=0,r=Tr(t)?[]:{};return o(t,function(t,i){n++,u(t).then(function(t){r.hasOwnProperty(i)||(r[i]=t,--n||e.resolve(r))},function(t){r.hasOwnProperty(i)||e.reject(t)})}),0===n&&e.resolve(r),e.promise}var s=function(){var o,a,c=[];return a={resolve:function(e){if(c){var r=c;c=n,o=u(e),r.length&&t(function(){for(var t,e=0,n=r.length;n>e;e++)t=r[e],o.then(t[0],t[1],t[2])})}},reject:function(t){a.resolve(l(t))},notify:function(e){if(c){var n=c;c.length&&t(function(){for(var t,r=0,i=n.length;i>r;r++)t=n[r],t[2](e)})}},promise:{then:function(t,n,a){var u=s(),l=function(n){try{u.resolve((S(t)?t:r)(n))}catch(i){u.reject(i),e(i)}},f=function(t){try{u.resolve((S(n)?n:i)(t))}catch(r){u.reject(r),e(r)}},h=function(t){try{u.notify((S(a)?a:r)(t))}catch(n){e(n)}};return c?c.push([l,f,h]):o.then(l,f,h),u.promise},"catch":function(t){return this.then(null,t)},"finally":function(t){function e(t,e){var n=s();return e?n.resolve(t):n.reject(t),n.promise}function n(n,i){var o=null;try{o=(t||r)()}catch(a){return e(a,!1)}return T(o)?o.then(function(){return e(n,i)},function(t){return e(t,!1)}):e(n,i)}return this.then(function(t){return n(t,!0)},function(t){return n(t,!1)})}}}},u=function(e){return T(e)?e:{then:function(n){var r=s();return t(function(){r.resolve(n(e))}),r.promise}}},c=function(t){var e=s();return e.reject(t),e.promise},l=function(n){return{then:function(r,o){var a=s();return t(function(){try{a.resolve((S(o)?o:i)(n))}catch(t){a.reject(t),e(t)}}),a.promise}}},f=function(n,o,a,l){var f,h=s(),p=function(t){try{return(S(o)?o:r)(t)}catch(n){return e(n),c(n)}},d=function(t){try{return(S(a)?a:i)(t)}catch(n){return e(n),c(n)}},$=function(t){try{return(S(l)?l:r)(t)}catch(n){e(n)}};return t(function(){u(n).then(function(t){f||(f=!0,h.resolve(u(t).then(p,d,$)))},function(t){f||(f=!0,h.resolve(d(t)))},function(t){f||h.notify($(t))})}),h.promise};return{defer:s,reject:c,when:f,all:a}}function An(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame,r=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(t){var e=n(t);return function(){r(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return o.supported=i,o}]}function On(){var t=10,e=r("$rootScope"),n=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,a,s,u){function l(){this.$id=c(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this["this"]=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function f(t){if(g.$$phase)throw e("inprog","{0} already in progress",g.$$phase);g.$$phase=t}function h(){g.$$phase=null}function p(t,e){var n=s(t);return ne(n,e),n}function $(t,e,n){do t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n];while(t=t.$parent)}function v(){}l.prototype={constructor:l,$new:function(t){var e;return t?(e=new l,e.$root=this.$root,e.$$asyncQueue=this.$$asyncQueue,e.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=c(),this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),e=new this.$$childScopeClass),e["this"]=e,e.$parent=this,e.$$prevSibling=this.$$childTail,this.$$childHead?(this.$$childTail.$$nextSibling=e,this.$$childTail=e):this.$$childHead=this.$$childTail=e,e},$watch:function(t,e,r){var i=this,o=p(t,"watch"),a=i.$$watchers,s={fn:e,last:v,get:o,exp:t,eq:!!r};if(n=null,!S(e)){var u=p(e||d,"listener");s.fn=function(t,e,n){u(n)}}if("string"==typeof t&&o.constant){var c=s.fn;s.fn=function(t,e,n){c.call(this,t,e,n),D(a,s)}}return a||(a=i.$$watchers=[]),a.unshift(s),function(){D(a,s),n=null}},$watchCollection:function(t,e){function n(){o=h(c);var t,e,n;if(y(o))if(i(o)){a!==p&&(a=p,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var r=0;t>r;r++)n=a[r]!==a[r]&&o[r]!==o[r],n||a[r]===o[r]||(f++,a[r]=o[r])}else{a!==d&&(a=d={},v=0,f++),t=0;for(e in o)o.hasOwnProperty(e)&&(t++,a.hasOwnProperty(e)?(n=a[e]!==a[e]&&o[e]!==o[e],n||a[e]===o[e]||(f++,a[e]=o[e])):(v++,a[e]=o[e],f++));if(v>t){f++;for(e in a)a.hasOwnProperty(e)&&!o.hasOwnProperty(e)&&(v--,delete a[e])}}else a!==o&&(a=o,f++);return f}function r(){if($?($=!1,e(o,o,c)):e(o,u,c),l)if(y(o))if(i(o)){u=new Array(o.length);for(var t=0;t1,f=0,h=s(t),p=[],d={},$=!0,v=0;return this.$watch(n,r)},$digest:function(){var r,i,o,s,u,c,l,p,d,$,g,m=this.$$asyncQueue,y=this.$$postDigestQueue,w=t,b=this,x=[];f("$digest"),n=null;do{for(c=!1,p=b;m.length;){try{g=m.shift(),g.scope.$eval(g.expression)}catch(C){h(),a(C)}n=null}t:do{if(s=p.$$watchers)for(u=s.length;u--;)try{if(r=s[u])if((i=r.get(p))===(o=r.last)||(r.eq?q(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(r===n){c=!1;break t}}else c=!0,n=r,r.last=r.eq?R(i,null):i,r.fn(i,o===v?i:o,p),5>w&&(d=4-w,x[d]||(x[d]=[]),$=S(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,$+="; newVal: "+H(i)+"; oldVal: "+H(o),x[d].push($))}catch(C){h(),a(C)}if(!(l=p.$$childHead||p!==b&&p.$$nextSibling))for(;p!==b&&!(l=p.$$nextSibling);)p=p.$parent}while(p=l);if((c||m.length)&&!w--)throw h(),e("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,H(x))}while(c||m.length);for(h();y.length;)try{y.shift()()}catch(C){a(C)}},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==g&&(o(this.$$listenerCount,F(null,$,this)),t.$$childHead==this&&(t.$$childHead=this.$$nextSibling),t.$$childTail==this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=d,this.$on=this.$watch=function(){return d})}},$eval:function(t,e){return s(t)(this,e)},$evalAsync:function(t){g.$$phase||g.$$asyncQueue.length||u.defer(function(){g.$$asyncQueue.length&&g.$digest()}),this.$$asyncQueue.push({scope:this,expression:t})},$$postDigest:function(t){this.$$postDigestQueue.push(t)},$apply:function(t){try{return f("$apply"),this.$eval(t)}catch(e){a(e)}finally{h();try{g.$digest()}catch(e){throw a(e),e}}},$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(){n[j(n,e)]=null,$(i,1,t)}},$emit:function(t){var e,n,r,i=[],o=this,s=!1,u={name:t,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=V([u],arguments,1);do{for(e=o.$$listeners[t]||i,u.currentScope=o,n=0,r=e.length;r>n;n++)if(e[n])try{e[n].apply(null,c)}catch(l){a(l)}else e.splice(n,1),n--,r--;if(s)return u;o=o.$parent}while(o);return u},$broadcast:function(t){for(var e,n,r,i=this,o=i,s=i,u={name:t,targetScope:i,preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=V([u],arguments,1);o=s;){for(u.currentScope=o,e=o.$$listeners[t]||[],n=0,r=e.length;r>n;n++)if(e[n])try{e[n].apply(null,c)}catch(l){a(l)}else e.splice(n,1),n--,r--;if(!(s=o.$$listenerCount[t]&&o.$$childHead||o!==i&&o.$$nextSibling))for(;o!==i&&!(s=o.$$nextSibling);)o=o.$parent}return u}};var g=new l;return g}]}function Tn(){var t=/^\s*(https?|ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return m(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return m(t)?(e=t,this):e},this.$get=function(){return function(n,r){var i,o=r?e:t;return mr&&!(mr>=8)||(i=qn(n).href,""===i||i.match(o))?n:"unsafe:"+i}}}function Mn(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#-1)throw yi("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=Mn(t).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(C(t))return new RegExp("^"+t.source+"$");throw yi("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Pn(t){var e=[];return m(t)&&o(t,function(t){e.push(Nn(t))}),e}function jn(){this.SCE_CONTEXTS=wi;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=Pn(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=Pn(t)),e},this.$get=["$injector",function(r){function i(t,e){return"self"===t?Vn(e):!!t.exec(e.href)}function o(n){var r,o,a=qn(n.toString()),s=!1;for(r=0,o=t.length;o>r;r++)if(i(t[r],a)){s=!0;break}if(s)for(r=0,o=e.length;o>r;r++)if(i(e[r],a)){s=!1;break}return s}function a(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}function s(t,e){var r=h.hasOwnProperty(t)?h[t]:null;if(!r)throw yi("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||e===n||""===e)return e;if("string"!=typeof e)throw yi("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new r(e)}function u(t){return t instanceof f?t.$$unwrapTrustedValue():t}function c(t,e){if(null===e||e===n||""===e)return e;var r=h.hasOwnProperty(t)?h[t]:null;if(r&&e instanceof r)return e.$$unwrapTrustedValue();if(t===wi.RESOURCE_URL){if(o(e))return e;throw yi("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",e.toString())}if(t===wi.HTML)return l(e);throw yi("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw yi("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(l=r.get("$sanitize"));var f=a(),h={};return h[wi.HTML]=a(f),h[wi.CSS]=a(f),h[wi.URL]=a(f),h[wi.JS]=a(f),h[wi.RESOURCE_URL]=a(h[wi.URL]),{trustAs:s,getTrusted:c,valueOf:u}}]}function Dn(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sniffer","$sceDelegate",function(e,n,r){if(t&&n.msie&&n.msieDocumentMode<8)throw yi("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=_(wi);i.isEnabled=function(){return t},i.trustAs=r.trustAs,i.getTrusted=r.getTrusted,i.valueOf=r.valueOf,t||(i.trustAs=i.getTrusted=function(t,e){return e},i.valueOf=$),i.parseAs=function(t,n){var r=e(n);return r.literal&&r.constant?r:function(e,n){return i.getTrusted(t,r(e,n))}};var a=i.parseAs,s=i.getTrusted,u=i.trustAs;return o(wi,function(t,e){var n=pr(e);i[ce("parse_as_"+n)]=function(e){return a(t,e)},i[ce("get_trusted_"+n)]=function(e){return s(t,e)},i[ce("trust_as_"+n)]=function(e){return u(t,e)}}),i}]}function Rn(){this.$get=["$window","$document",function(t,e){var n,r,i={},o=h((/android (\d+)/.exec(pr((t.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((t.navigator||{}).userAgent),s=e[0]||{},u=s.documentMode,c=/^(Moz|webkit|O|ms)(?=[A-Z])/,l=s.body&&s.body.style,f=!1,p=!1; +!function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return i(n?n:t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&e-1 in t}function o(t,e,n){var r;if(t)if(S(t))for(r in t)"prototype"==r||"length"==r||"name"==r||t.hasOwnProperty&&!t.hasOwnProperty(r)||e.call(n,t[r],r);else if(Tr(t)||i(t))for(r=0;r=0&&t.splice(n,1),e}function R(t,e,n,r){if(k(t)||E(t))throw Er("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(e){if(t===e)throw Er("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],y(t)){var i=j(n,t);if(-1!==i)return r[i];n.push(t),r.push(e)}var a;if(Tr(t)){e.length=0;for(var s=0;si;i++)if(!q(t[i],e[i]))return!1;return!0}}return!1}function V(t,e,n){return t.concat(Sr.call(e,n))}function U(t,e){return Sr.call(t,e||0)}function F(t,e){var n=arguments.length>2?U(arguments,2):[];return!S(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,n.concat(Sr.call(arguments,0))):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function I(t,r){var i=r;return"string"==typeof t&&"$"===t.charAt(0)?i=n:k(r)?i="$WINDOW":r&&e===r?i="$DOCUMENT":E(r)&&(i="$SCOPE"),i}function H(t,e){return"undefined"==typeof t?n:JSON.stringify(t,I,e?" ":null)}function L(t){return w(t)?JSON.parse(t):t}function B(t){if("function"==typeof t)t=!0;else if(t&&0!==t.length){var e=pr(""+t);t=!("f"==e||"0"==e||"false"==e||"no"==e||"n"==e||"[]"==e)}else t=!1;return t}function z(t){t=yr(t).clone();try{t.empty()}catch(e){}var n=3,r=yr("
").append(t).html();try{return t[0].nodeType===n?pr(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+pr(e)})}catch(e){return pr(r)}}function W(t){try{return decodeURIComponent(t)}catch(e){}}function Q(t){var e,n,r={};return o((t||"").split("&"),function(t){if(t&&(e=t.replace(/\+/g,"%20").split("="),n=W(e[0]),m(n))){var i=m(e[1])?W(e[1]):!0;dr.call(r,n)?Tr(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function J(t){var e=[];return o(t,function(t,n){Tr(t)?o(t,function(t){e.push(X(n,!0)+(t===!0?"":"="+X(t,!0)))}):e.push(X(n,!0)+(t===!0?"":"="+X(t,!0)))}),e.length?e.join("&"):""}function G(t){return X(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function X(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,e?"%20":"+")}function K(t,n){function r(t){t&&s.push(t)}var i,a,s=[t],u=["ng:app","ng-app","x-ng-app","data-ng-app"],c=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;o(u,function(n){u[n]=!0,r(e.getElementById(n)),n=n.replace(":","\\:"),t.querySelectorAll&&(o(t.querySelectorAll("."+n),r),o(t.querySelectorAll("."+n+"\\:"),r),o(t.querySelectorAll("["+n+"]"),r))}),o(s,function(t){if(!i){var e=" "+t.className+" ",n=c.exec(e);n?(i=t,a=(n[2]||"").replace(/\s+/g,",")):o(t.attributes,function(e){!i&&u[e.name]&&(i=t,a=e.value)})}}),i&&n(i,a?[a]:[])}function Y(n,r){var i=function(){if(n=yr(n),n.injector()){var t=n[0]===e?"document":z(n);throw Er("btstrpd","App Already Bootstrapped with this Element '{0}'",t.replace(//,">"))}r=r||[],r.unshift(["$provide",function(t){t.value("$rootElement",n)}]),r.unshift("ng");var i=je(r);return i.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),i},a=/^NG_DEFER_BOOTSTRAP!/;return t&&!a.test(t.name)?i():(t.name=t.name.replace(a,""),void(Ar.resumeBootstrap=function(t){o(t,function(t){r.push(t)}),i()}))}function Z(t,e){return e=e||"_",t.replace(Pr,function(t,n){return(n?e:"")+t.toLowerCase()})}function te(){wr=t.jQuery,wr&&wr.fn.on?(yr=wr,f(wr.fn,{scope:Wr.scope,isolateScope:Wr.isolateScope,controller:Wr.controller,injector:Wr.injector,inheritedData:Wr.inheritedData}),le("remove",!0,!0,!1),le("empty",!1,!1,!1),le("html",!1,!1,!0)):yr=de,Ar.element=yr}function ee(t,e,n){if(!t)throw Er("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ne(t,e,n){return n&&Tr(t)&&(t=t[t.length-1]),ee(S(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function re(t,e){if("hasOwnProperty"===t)throw Er("badname","hasOwnProperty is not a valid {0} name",e)}function ie(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,a=i.length,s=0;a>s;s++)r=i[s],t&&(t=(o=t)[r]);return!n&&S(t)?F(o,t):t}function oe(t){var e=t[0],n=t[t.length-1];if(e===n)return yr(e);var r=e,i=[r];do{if(r=r.nextSibling,!r)break;i.push(r)}while(r!==n);return yr(i)}function ae(t){function e(t,e,n){return t[e]||(t[e]=n())}var n=r("$injector"),i=r("ng"),o=e(t,"angular",Object);return o.$$minErr=o.$$minErr||r,e(o,"module",function(){var t={};return function(r,o,a){var s=function(t,e){if("hasOwnProperty"===t)throw i("badname","hasOwnProperty is not a valid {0} name",e)};return s(r,"module"),o&&t.hasOwnProperty(r)&&(t[r]=null),e(t,r,function(){function t(t,n,r){return function(){return e[r||"push"]([t,n,arguments]),u}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var e=[],i=[],s=t("$injector","invoke"),u={_invokeQueue:e,_runBlocks:i,requires:o,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),config:s,run:function(t){return i.push(t),this}};return a&&s(a),u})}})}function se(e){f(e,{bootstrap:Y,copy:R,extend:f,equals:q,element:yr,forEach:o,injector:je,noop:d,bind:F,toJson:H,fromJson:L,identity:$,isUndefined:g,isDefined:m,isString:w,isFunction:S,isObject:y,isNumber:b,isElement:M,isArray:Tr,version:jr,isDate:x,lowercase:pr,uppercase:$r,callbacks:{counter:0},$$minErr:r,$$csp:Nr}),br=ae(t);try{br("ngLocale")}catch(n){br("ngLocale",[]).provider("$locale",nn)}br("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:Tn}),t.provider("$compile",Fe).directive({a:Ti,input:Fi,textarea:Fi,form:ji,script:xo,select:ko,style:Ao,option:Eo,ngBind:Yi,ngBindHtml:to,ngBindTemplate:Zi,ngClass:eo,ngClassEven:ro,ngClassOdd:no,ngCloak:io,ngController:oo,ngForm:Di,ngHide:vo,ngIf:so,ngInclude:uo,ngInit:lo,ngNonBindable:fo,ngPluralize:ho,ngRepeat:po,ngShow:$o,ngStyle:go,ngSwitch:mo,ngSwitchWhen:yo,ngSwitchDefault:wo,ngOptions:Co,ngTransclude:bo,ngModel:Wi,ngList:Gi,ngChange:Qi,required:Ji,ngRequired:Ji,ngValue:Ki}).directive({ngInclude:co}).directive(Mi).directive(ao),t.provider({$anchorScroll:De,$animate:ei,$browser:qe,$cacheFactory:Ve,$controller:Le,$document:Be,$exceptionHandler:ze,$filter:Fn,$interpolate:tn,$interval:en,$http:Xe,$httpBackend:Ye,$location:vn,$log:gn,$parse:Cn,$rootScope:On,$q:kn,$sce:Dn,$sceDelegate:jn,$sniffer:Rn,$templateCache:Ue,$timeout:_n,$window:Un,$$rAF:An,$$asyncCallback:Re})}])}function ue(){return++Rr}function ce(t){return t.replace(Vr,function(t,e,n,r){return r?n.toUpperCase():n}).replace(Ur,"Moz$1")}function le(t,e,n,r){function i(t){var i,a,s,u,c,l,f,h=n&&t?[this.filter(t)]:[this],p=e;if(!r||null!=t)for(;h.length;)for(i=h.shift(),a=0,s=i.length;s>a;a++)for(u=yr(i[a]),p?u.triggerHandler("$destroy"):p=!p,c=0,l=(f=u.children()).length;l>c;c++)h.push(wr(f[c]));return o.apply(this,arguments)}var o=wr.fn[t];o=o.$original||o,i.$original=o,wr.fn[t]=i}function fe(t){return!Hr.test(t)}function he(t,e){var n,r,i,o,a,s,u=e.createDocumentFragment(),c=[];if(fe(t))c.push(e.createTextNode(t));else{for(n=u.appendChild(e.createElement("div")),r=(Lr.exec(t)||["",""])[1].toLowerCase(),i=zr[r]||zr._default,n.innerHTML="
 
"+i[1]+t.replace(Br,"<$1>")+i[2],n.removeChild(n.firstChild),o=i[0];o--;)n=n.lastChild;for(a=0,s=n.childNodes.length;s>a;++a)c.push(n.childNodes[a]);n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",c}function pe(t,n){n=n||e;var r;return(r=Ir.exec(t))?[n.createElement(r[1])]:he(t,n)}function de(t){if(t instanceof de)return t;if(w(t)&&(t=Mr(t)),!(this instanceof de)){if(w(t)&&"<"!=t.charAt(0))throw Fr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new de(t)}if(w(t)){Ce(this,pe(t));var n=yr(e.createDocumentFragment());n.append(this)}else Ce(this,t)}function $e(t){return t.cloneNode(!0)}function ve(t){me(t);for(var e=0,n=t.childNodes||[];e-1:!1}function xe(t,e){e&&t.setAttribute&&o(e.split(" "),function(e){t.setAttribute("class",Mr((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Mr(e)+" "," ")))})}function Se(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(e.split(" "),function(t){t=Mr(t),-1===n.indexOf(" "+t+" ")&&(n+=t+" ")}),t.setAttribute("class",Mr(n))}}function Ce(t,e){if(e){e=e.nodeName||!m(e.length)||k(e)?[e]:e;for(var n=0;no;o++)if((r=yr.data(t,i[o]))!==n)return r;t=t.parentNode||11===t.nodeType&&t.host}}function Ae(t){for(var e=0,n=t.childNodes;e=mr?(r.preventDefault=null,r.stopPropagation=null,r.isDefaultPrevented=null):(delete r.preventDefault,delete r.stopPropagation,delete r.isDefaultPrevented)};return r.elem=t,r}function Me(t,e){var r,i=typeof t;return"function"==i||"object"==i&&null!==t?"function"==typeof(r=t.$$hashKey)?r=t.$$hashKey():r===n&&(r=t.$$hashKey=(e||c)()):r=t,i+":"+r}function Ne(t,e){if(e){var n=0;this.nextUid=function(){return++n}}o(t,this.put,this)}function Pe(t){var e,n,r,i;return"function"==typeof t?(e=t.$inject)||(e=[],t.length&&(n=t.toString().replace(Yr,""),r=n.match(Gr),o(r[1].split(Xr),function(t){t.replace(Kr,function(t,n,r){e.push(r)})})),t.$inject=e):Tr(t)?(i=t.length-1,ne(t[i],"fn"),e=t.slice(0,i)):ne(t,"fn",!0),e}function je(t){function e(t){return function(e,n){return y(e)?void o(e,u(t)):t(e,n)}}function n(t,e){if(re(t,"service"),(S(e)||Tr(e))&&(e=b.instantiate(e)),!e.$get)throw Zr("pget","Provider '{0}' must define $get factory method.",t);return m[t+p]=e}function r(t,e){return n(t,{$get:e})}function i(t,e){return r(t,["$injector",function(t){return t.instantiate(e)}])}function a(t,e){return r(t,v(e))}function s(t,e){re(t,"constant"),m[t]=e,x[t]=e}function c(t,e){var n=b.get(t+p),r=n.$get;n.$get=function(){var t=C.invoke(r,n);return C.invoke(e,null,{$delegate:t})}}function l(t){var e,n,r,i,a=[];return o(t,function(t){if(!g.get(t)){g.put(t,!0);try{if(w(t))for(e=br(t),a=a.concat(l(e.requires)).concat(e._runBlocks),n=e._invokeQueue,r=0,i=n.length;i>r;r++){var o=n[r],s=b.get(o[0]);s[o[1]].apply(s,o[2])}else S(t)?a.push(b.invoke(t)):Tr(t)?a.push(b.invoke(t)):ne(t,"module")}catch(u){throw Tr(t)&&(t=t[t.length-1]),u.message&&u.stack&&-1==u.stack.indexOf(u.message)&&(u=u.message+"\n"+u.stack),Zr("modulerr","Failed to instantiate module {0} due to:\n{1}",t,u.stack||u.message||u)}}}),a}function f(t,e){function n(n){if(t.hasOwnProperty(n)){if(t[n]===h)throw Zr("cdep","Circular dependency found: {0}",n+" <- "+$.join(" <- "));return t[n]}try{return $.unshift(n),t[n]=h,t[n]=e(n)}catch(r){throw t[n]===h&&delete t[n],r}finally{$.shift()}}function r(t,e,r){var i,o,a,s=[],u=Pe(t);for(o=0,i=u.length;i>o;o++){if(a=u[o],"string"!=typeof a)throw Zr("itkn","Incorrect injection token! Expected service name as string, got {0}",a);s.push(r&&r.hasOwnProperty(a)?r[a]:n(a))}return Tr(t)&&(t=t[i]),t.apply(e,s)}function i(t,e){var n,i,o=function(){};return o.prototype=(Tr(t)?t[t.length-1]:t).prototype,n=new o,i=r(t,n,e),y(i)||S(i)?i:n}return{invoke:r,instantiate:i,get:n,annotate:Pe,has:function(e){return m.hasOwnProperty(e+p)||t.hasOwnProperty(e)}}}var h={},p="Provider",$=[],g=new Ne([],!0),m={$provide:{provider:e(n),factory:e(r),service:e(i),value:e(a),constant:e(s),decorator:c}},b=m.$injector=f(m,function(){throw Zr("unpr","Unknown provider: {0}",$.join(" <- "))}),x={},C=x.$injector=f(x,function(t){var e=b.get(t+p);return C.invoke(e.$get,e)});return o(l(t),function(t){C.invoke(t||d)}),C}function De(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(e,n,r){function i(t){var e=null;return o(t,function(t){e||"a"!==pr(t.nodeName)||(e=t)}),e}function a(){var t,r=n.hash();r?(t=s.getElementById(r))?t.scrollIntoView():(t=i(s.getElementsByName(r)))?t.scrollIntoView():"top"===r&&e.scrollTo(0,0):e.scrollTo(0,0)}var s=e.document;return t&&r.$watch(function(){return n.hash()},function(){r.$evalAsync(a)}),a}]}function Re(){this.$get=["$$rAF","$timeout",function(t,e){return t.supported?function(e){return t(e)}:function(t){return e(t,0,!1)}}]}function _e(t,e,r,i){function a(t){try{t.apply(null,U(arguments,1))}finally{if(m--,0===m)for(;y.length;)try{y.pop()()}catch(e){r.error(e)}}}function s(t,e){!function n(){o(x,function(t){t()}),b=e(n,t)}()}function u(){k=null,S!=c.url()&&(S=c.url(),o(E,function(t){t(c.url())}))}var c=this,l=e[0],f=t.location,h=t.history,p=t.setTimeout,$=t.clearTimeout,v={};c.isMock=!1;var m=0,y=[];c.$$completeOutstandingRequest=a,c.$$incOutstandingRequestCount=function(){m++},c.notifyWhenNoOutstandingRequests=function(t){o(x,function(t){t()}),0===m?t():y.push(t)};var b,x=[];c.addPollFn=function(t){return g(b)&&s(100,p),x.push(t),t};var S=f.href,C=e.find("base"),k=null;c.url=function(e,n){if(f!==t.location&&(f=t.location),h!==t.history&&(h=t.history),e){if(S==e)return;return S=e,i.history?n?h.replaceState(null,"",e):(h.pushState(null,"",e),C.attr("href",C.attr("href"))):(k=e,n?f.replace(e):f.href=e),c}return k||f.href.replace(/%27/g,"'")};var E=[],A=!1;c.onUrlChange=function(e){return A||(i.history&&yr(t).on("popstate",u),i.hashchange?yr(t).on("hashchange",u):c.addPollFn(u),A=!0),E.push(e),e},c.baseHref=function(){var t=C.attr("href");return t?t.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var O={},T="",M=c.baseHref();c.cookies=function(t,e){var i,o,a,s,u;if(!t){if(l.cookie!==T)for(T=l.cookie,o=T.split("; "),O={},s=0;s0&&(t=unescape(a.substring(0,u)),O[t]===n&&(O[t]=unescape(a.substring(u+1))));return O}e===n?l.cookie=escape(t)+"=;path="+M+";expires=Thu, 01 Jan 1970 00:00:00 GMT":w(e)&&(i=(l.cookie=escape(t)+"="+escape(e)+";path="+M).length+1,i>4096&&r.warn("Cookie '"+t+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},c.defer=function(t,e){var n;return m++,n=p(function(){delete v[n],a(t)},e||0),v[n]=!0,n},c.defer.cancel=function(t){return v[t]?(delete v[t],$(t),a(d),!0):!1}}function qe(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new _e(t,r,e,n)}]}function Ve(){this.$get=function(){function t(t,n){function i(t){t!=h&&(p?p==t&&(p=t.n):p=t,o(t.n,t.p),o(t,h),h=t,h.n=null)}function o(t,e){t!=e&&(t&&(t.p=e),e&&(e.n=t))}if(t in e)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var a=0,s=f({},n,{id:t}),u={},c=n&&n.capacity||Number.MAX_VALUE,l={},h=null,p=null;return e[t]={put:function(t,e){if(cc&&this.remove(p.key),e},get:function(t){if(c").parent()[0])});var a=O(t,e,t,n,r,i);return A(t,"ng-scope"),function(e,n,r,i){ee(e,"scope");var s=n?Wr.clone.call(t):t;o(r,function(t,e){s.data("$"+e+"Controller",t)});for(var u=0,c=s.length;c>u;u++){var l=s[u],f=l.nodeType;(1===f||9===f)&&s.eq(u).data("$scope",e)}return n&&n(s,e),a&&a(e,s,s,i),s}}function A(t,e){try{t.addClass(e)}catch(n){}}function O(t,e,r,i,o,a){function s(t,r,i,o){var a,s,u,c,l,f,h,p,$=r.length,v=new Array($);for(l=0;$>l;l++)v[l]=r[l];for(l=0,h=0,f=d.length;f>l;h++)u=v[h],a=d[l++],s=d[l++],a?(a.scope?(c=t.$new(),yr.data(u,"$scope",c)):c=t,p=a.transcludeOnThisElement?T(t,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&e?T(t,e):null,a(s,c,u,i,p)):s&&s(t,u.childNodes,n,o)}for(var u,c,l,f,h,p,d=[],$=0;$m;m++){var b=!1,x=!1;if(f=g[m],!mr||mr>=8||f.specified){h=f.name,$=Mr(f.value),d=Ie(h),(v=te.test(d))&&(h=Z(d.substr(6),"-"));var S=d.replace(/(Start|End)$/,"");d===S+"Start"&&(b=h,x=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),p=Ie(h.toLowerCase()),l[p]=h,(v||!n.hasOwnProperty(p))&&(n[p]=$,Oe(t,p)&&(n[p]=!0)),W(t,e,$,p),R(e,p,"A",r,i,b,x)}}if(a=t.className,w(a)&&""!==a)for(;o=c.exec(a);)p=Ie(o[2]),R(e,p,"C",r,i)&&(n[p]=Mr(o[3])),a=a.substr(o.index+o[0].length);break;case 3:L(e,t.nodeValue);break;case 8:try{o=s.exec(t.nodeValue),o&&(p=Ie(o[1]),R(e,p,"M",r,i)&&(n[p]=Mr(o[2])))}catch(C){}}return e.sort(I),e}function N(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e)){do{if(!t)throw ni("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);1==t.nodeType&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0)}else r.push(t);return yr(r)}function P(t,e,n){return function(r,i,o,a,s){return i=N(i[0],e,n),t(r,i,o,a,s)}}function j(t,i,a,s,c,l,f,h,p){function d(t,e,n,r){t&&(n&&(t=P(t,n,r)),t.require=x.require,t.directiveName=C,(I===x||x.$$isolateScope)&&(t=J(t,{isolateScope:!0})),f.push(t)),e&&(n&&(e=P(e,n,r)),e.require=x.require,e.directiveName=C,(I===x||x.$$isolateScope)&&(e=J(e,{isolateScope:!0})),h.push(e))}function $(t,e,n,r){var i,a="data",s=!1;if(w(e)){for(;"^"==(i=e.charAt(0))||"?"==i;)e=e.substr(1),"^"==i&&(a="inheritedData"),s=s||"?"==i;if(i=null,r&&"data"===a&&(i=r[e]),i=i||n[a]("$"+e+"Controller"),!i&&!s)throw ni("ctreq","Controller '{0}', required by directive '{1}', can't be found!",e,t);return i}return Tr(e)&&(i=[],o(e,function(e){i.push($(t,e,n,r))})),i}function m(t,e,s,c,l){function p(t,e){var r;return arguments.length<2&&(e=t,t=n),K&&(r=k),l(t,e,r)}var d,m,y,w,b,x,S,C,k={};if(d=i===s?a:_(a,new G(yr(s),a.$attr)),m=d.$$element,I){var E=/^\s*([@=&])(\??)\s*(\w*)\s*$/;S=e.$new(!0),!L||L!==I&&L!==I.$$originalDirective?m.data("$isolateScopeNoTemplate",S):m.data("$isolateScope",S),A(m,"ng-isolate-scope"),o(I.scope,function(t,n){var i,o,a,s,u=t.match(E)||[],c=u[3]||n,l="?"==u[2],f=u[1];switch(S.$$isolateBindings[n]=f+c,f){case"@":d.$observe(c,function(t){S[n]=t}),d.$$observers[c].$$scope=e,d[c]&&(S[n]=r(d[c])(e));break;case"=":if(l&&!d[c])return;o=v(d[c]),s=o.literal?q:function(t,e){return t===e||t!==t&&e!==e},a=o.assign||function(){throw i=S[n]=o(e),ni("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",d[c],I.name)},i=S[n]=o(e),S.$watch(function(){var t=o(e);return s(t,S[n])||(s(t,i)?a(e,t=S[n]):S[n]=t),i=t},null,o.literal);break;case"&":o=v(d[c]),S[n]=function(t){return o(e,t)};break;default:throw ni("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",I.name,n,t)}})}for(C=l&&p,R&&o(R,function(t){var n,r={$scope:t===I||t.$$isolateScope?S:e,$element:m,$attrs:d,$transclude:C};x=t.controller,"@"==x&&(x=d[t.name]),n=g(x,r),k[t.name]=n,K||m.data("$"+t.name+"Controller",n),t.controllerAs&&(r.$scope[t.controllerAs]=n)}),y=0,w=f.length;w>y;y++)try{b=f[y],b(b.isolateScope?S:e,m,d,b.require&&$(b.directiveName,b.require,m,k),C)}catch(O){u(O,z(m))}var T=e;for(I&&(I.template||null===I.templateUrl)&&(T=S),t&&t(T,s.childNodes,n,l),y=h.length-1;y>=0;y--)try{b=h[y],b(b.isolateScope?S:e,m,d,b.require&&$(b.directiveName,b.require,m,k),C)}catch(O){u(O,z(m))}}p=p||{};for(var b,x,C,k,O,T,j=-Number.MAX_VALUE,R=p.controllerDirectives,I=p.newIsolateScopeDirective,L=p.templateDirective,B=p.nonTlbTranscludeDirective,W=!1,X=!1,K=p.hasElementTranscludeDirective,Z=a.$$element=yr(i),te=l,ee=s,ne=0,re=t.length;re>ne;ne++){x=t[ne];var ie=x.$$start,oe=x.$$end;if(ie&&(Z=N(i,ie,oe)),k=n,j>x.priority)break;if((T=x.scope)&&(b=b||x,x.templateUrl||(H("new/isolated scope",I,x,Z),y(T)&&(I=x))),C=x.name,!x.templateUrl&&x.controller&&(T=x.controller,R=R||{},H("'"+C+"' controller",R[C],x,Z),R[C]=x),(T=x.transclude)&&(W=!0,x.$$tlb||(H("transclusion",B,x,Z),B=x),"element"==T?(K=!0,j=x.priority,k=Z,Z=a.$$element=yr(e.createComment(" "+C+": "+a[C]+" ")),i=Z[0],Q(c,U(k),i),ee=E(k,s,j,te&&te.name,{nonTlbTranscludeDirective:B})):(k=yr($e(i)).contents(),Z.empty(),ee=E(k,s))),x.template)if(X=!0,H("template",L,x,Z),L=x,T=S(x.template)?x.template(Z,a):x.template,T=Y(T),x.replace){if(te=x,k=fe(T)?[]:yr(Mr(T)),i=k[0],1!=k.length||1!==i.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",C,"");Q(c,Z,i);var ae={$attr:{}},se=M(i,[],ae),ue=t.splice(ne+1,t.length-(ne+1));I&&D(se),t=t.concat(se).concat(ue),V(a,ae),re=t.length}else Z.html(T);if(x.templateUrl)X=!0,H("template",L,x,Z),L=x,x.replace&&(te=x),m=F(t.splice(ne,t.length-ne),Z,a,c,W&&ee,f,h,{controllerDirectives:R,newIsolateScopeDirective:I,templateDirective:L,nonTlbTranscludeDirective:B}),re=t.length;else if(x.compile)try{O=x.compile(Z,a,ee),S(O)?d(null,O,ie,oe):O&&d(O.pre,O.post,ie,oe)}catch(ce){u(ce,z(Z))}x.terminal&&(m.terminal=!0,j=Math.max(j,x.priority))}return m.scope=b&&b.scope===!0,m.transcludeOnThisElement=W,m.templateOnThisElement=X,m.transclude=ee,p.hasElementTranscludeDirective=K,m}function D(t){for(var e=0,n=t.length;n>e;e++)t[e]=p(t[e],{$$isolateScope:!0})}function R(e,r,o,s,c,l,f){if(r===c)return null;var h=null;if(i.hasOwnProperty(r))for(var d,$=t.get(r+a),v=0,g=$.length;g>v;v++)try{d=$[v],(s===n||s>d.priority)&&-1!=d.restrict.indexOf(o)&&(l&&(d=p(d,{$$start:l,$$end:f})),e.push(d),h=d)}catch(m){u(m)}return h}function V(t,e){var n=e.$attr,r=t.$attr,i=t.$$element;o(t,function(r,i){"$"!=i.charAt(0)&&(e[i]&&e[i]!==r&&(r+=("style"===i?";":" ")+e[i]),t.$set(i,r,!0,n[i]))}),o(e,function(e,o){"class"==o?(A(i,e),t["class"]=(t["class"]?t["class"]+" ":"")+e):"style"==o?(i.attr("style",i.attr("style")+";"+e),t.style=(t.style?t.style+";":"")+e):"$"==o.charAt(0)||t.hasOwnProperty(o)||(t[o]=e,r[o]=n[o])})}function F(t,e,n,r,i,a,s,u){var c,l,p=[],$=e[0],v=t.shift(),g=f({},v,{templateUrl:null,transclude:null,replace:null,$$originalDirective:v}),m=S(v.templateUrl)?v.templateUrl(e,n):v.templateUrl;return e.empty(),h.get(x.getTrustedResourceUrl(m),{cache:d}).success(function(f){var h,d,w,b;if(f=Y(f),v.replace){if(w=fe(f)?[]:yr(Mr(f)),h=w[0],1!=w.length||1!==h.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v.name,m);d={$attr:{}},Q(r,e,h);var x=M(h,[],d);y(v.scope)&&D(x),t=x.concat(t),V(n,d)}else h=$,e.html(f);for(t.unshift(g),c=j(t,h,n,i,e,v,a,s,u),o(r,function(t,n){t==h&&(r[n]=e[0])}),l=O(e[0].childNodes,i);p.length;){var S=p.shift(),C=p.shift(),k=p.shift(),E=p.shift(),N=e[0];if(C!==$){var P=C.className;u.hasElementTranscludeDirective&&v.replace||(N=$e(h)),Q(k,yr(C),N),A(yr(N),P)}b=c.transcludeOnThisElement?T(S,c.transclude,E):E,c(l,S,N,r,b)}p=null}).error(function(t,e,n,r){throw ni("tpload","Failed to load template: {0}",r.url)}),function(t,e,n,r,i){var o=i;p?(p.push(e),p.push(n),p.push(r),p.push(o)):(c.transcludeOnThisElement&&(o=T(e,c.transclude,i)),c(l,e,n,r,o))}}function I(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.namei;i++)if(t[i]==a){t[i++]=r;for(var c=i,l=c+s-1,f=t.length;f>c;c++,l++)f>l?t[c]=t[l]:delete t[c];t.length-=s-1;break}u&&u.replaceChild(r,a);var h=e.createDocumentFragment();h.appendChild(a),r[yr.expando]=a[yr.expando];for(var p=1,d=n.length;d>p;p++){var $=n[p];yr($).remove(),h.appendChild($),delete n[p]}n[0]=r,n.length=1}function J(t,e){return f(function(){return t.apply(null,arguments)},t,e)}var G=function(t,e){this.$$element=t,this.$attr=e||{}};G.prototype={$normalize:Ie,$addClass:function(t){t&&t.length>0&&C.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&C.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=He(t,e),r=He(e,t);0===n.length?C.removeClass(this.$$element,r):0===r.length?C.addClass(this.$$element,n):C.setClass(this.$$element,n,r)},$set:function(t,e,r,i){var a,s=Oe(this.$$element[0],t);s&&(this.$$element.prop(t,e),i=s),this[t]=e,i?this.$attr[t]=i:(i=this.$attr[t],i||(this.$attr[t]=i=Z(t,"-"))),a=xr(this.$$element),("A"===a&&"href"===t||"IMG"===a&&"src"===t)&&(this[t]=e=k(e,"src"===t)),r!==!1&&(null===e||e===n?this.$$element.removeAttr(i):this.$$element.attr(i,e));var c=this.$$observers;c&&o(c[t],function(t){try{t(e)}catch(n){u(n)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers={}),i=r[t]||(r[t]=[]);return i.push(e),m.$evalAsync(function(){i.$$inter||e(n[t])}),e}};var X=r.startSymbol(),K=r.endSymbol(),Y="{{"==X||"}}"==K?$:function(t){return t.replace(/\{\{/g,X).replace(/}}/g,K)},te=/^ngAttr[A-Z]/;return E}]}function Ie(t){return ce(t.replace(ri,""))}function He(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o0?" ":"")+a}return n}function Le(){var t={},e=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(e,n){re(e,"controller"),y(e)?f(t,e):t[e]=n},this.$get=["$injector","$window",function(n,i){return function(o,a){var s,u,c,l;if(w(o)&&(u=o.match(e),c=u[1],l=u[3],o=t.hasOwnProperty(c)?t[c]:ie(a.$scope,c,!0)||ie(i,c,!0),ne(o,c,!0)),s=n.instantiate(o,a),l){if(!a||"object"!=typeof a.$scope)throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",c||o.name,l);a.$scope[l]=s}return s}}]}function Be(){this.$get=["$window",function(t){return yr(t.document)}]}function ze(){this.$get=["$log",function(t){return function(){t.error.apply(t,arguments)}}]}function We(t){var e,n,r,i={};return t?(o(t.split("\n"),function(t){r=t.indexOf(":"),e=pr(Mr(t.substr(0,r))),n=Mr(t.substr(r+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}function Qe(t){var e=y(t)?t:n;return function(n){return e||(e=We(t)),n?e[pr(n)]||null:e}}function Je(t,e,n){return S(n)?n(t,e):(o(n,function(n){t=n(t,e)}),t)}function Ge(t){return t>=200&&300>t}function Xe(){var t=/^\s*(\[|\{[^\{])/,e=/[\}\]]\s*$/,r=/^\)\]\}',?\n/,i={"Content-Type":"application/json;charset=utf-8"},a=this.defaults={transformResponse:[function(n){return w(n)&&(n=n.replace(r,""),t.test(n)&&e.test(n)&&(n=L(n))),n}],transformRequest:[function(t){return!y(t)||A(t)||O(t)?t:H(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:_(i),put:_(i),patch:_(i)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},u=this.interceptors=[],c=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(t,e,r,i,l,h){function p(t){function e(t){var e=f({},t,{data:Je(t.data,t.headers,i.transformResponse)});return Ge(t.status)?e:l.reject(e)}function r(t){function e(t){var e;o(t,function(n,r){S(n)&&(e=n(),null!=e?t[r]=e:delete t[r])})}var n,r,i,s=a.headers,u=f({},t.headers);s=f({},s.common,s[pr(t.method)]);t:for(n in s){r=pr(n);for(i in u)if(pr(i)===r)continue t;u[n]=s[n]}return e(u),u}var i={method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse},s=r(t);f(i,t),i.headers=s,i.method=$r(i.method);var u=function(t){s=t.headers;var n=Je(t.data,Qe(s),t.transformRequest);return g(n)&&o(s,function(t,e){"content-type"===pr(e)&&delete s[e]}),g(t.withCredentials)&&!g(a.withCredentials)&&(t.withCredentials=a.withCredentials),v(t,n,s).then(e,e)},c=[u,n],h=l.when(i);for(o(k,function(t){(t.request||t.requestError)&&c.unshift(t.request,t.requestError),(t.response||t.responseError)&&c.push(t.response,t.responseError)});c.length;){var p=c.shift(),d=c.shift();h=h.then(p,d)}return h.success=function(t){return h.then(function(e){t(e.data,e.status,e.headers,i)}),h},h.error=function(t){return h.then(null,function(e){t(e.data,e.status,e.headers,i)}),h},h}function d(){o(arguments,function(t){p[t]=function(e,n){return p(f(n||{},{method:t,url:e}))}})}function $(){o(arguments,function(t){p[t]=function(e,n,r){return p(f(r||{},{method:t,url:e,data:n}))}})}function v(r,o,s){function u(t,e,n,r){h&&(Ge(t)?h.put(w,[t,e,We(n),r]):h.remove(w)),c(e,t,n,r),i.$$phase||i.$apply()}function c(t,e,n,i){e=Math.max(e,0),(Ge(e)?$.resolve:$.reject)({data:t,status:e,headers:Qe(n),config:r,statusText:i})}function f(){var t=j(p.pendingRequests,r);-1!==t&&p.pendingRequests.splice(t,1)}var h,d,$=l.defer(),v=$.promise,w=b(r.url,r.params);if(p.pendingRequests.push(r),v.then(f,f),!r.cache&&!a.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(h=y(r.cache)?r.cache:y(a.cache)?a.cache:C),h)if(d=h.get(w),m(d)){if(T(d))return d.then(f,f),d;Tr(d)?c(d[1],d[0],_(d[2]),d[3]):c(d,200,{},"OK")}else h.put(w,v);if(g(d)){var x=Vn(r.url)?e.cookies()[r.xsrfCookieName||a.xsrfCookieName]:n;x&&(s[r.xsrfHeaderName||a.xsrfHeaderName]=x),t(r.method,w,o,u,s,r.timeout,r.withCredentials,r.responseType)}return v}function b(t,e){if(!e)return t;var n=[];return s(e,function(t,e){null===t||g(t)||(Tr(t)||(t=[t]),o(t,function(t){y(t)&&(x(t)?t=t.toISOString():y(t)&&(t=H(t))),n.push(X(e)+"="+X(t))}))}),n.length>0&&(t+=(-1==t.indexOf("?")?"?":"&")+n.join("&")),t}var C=r("$http"),k=[];return o(u,function(t){k.unshift(w(t)?h.get(t):h.invoke(t))}),o(c,function(t,e){var n=w(t)?h.get(t):h.invoke(t);k.splice(e,0,{response:function(t){return n(l.when(t))},responseError:function(t){return n(l.reject(t))}})}),p.pendingRequests=[],d("get","delete","head","jsonp"),$("post","put"),p.defaults=a,p}]}function Ke(e){if(8>=mr&&(!e.match(/^(get|post|head|put|delete|options)$/i)||!t.XMLHttpRequest))return new t.ActiveXObject("Microsoft.XMLHTTP");if(t.XMLHttpRequest)return new t.XMLHttpRequest;throw r("$httpBackend")("noxhr","This browser does not support XMLHttpRequest.")}function Ye(){this.$get=["$browser","$window","$document",function(t,e,n){return Ze(t,Ke,t.defer,e.angular.callbacks,n[0])}]}function Ze(t,e,n,r,i){function a(t,e,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=t,o.async=!0,a=function(t){qr(o,"load",a),qr(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";t&&("load"!==t.type||r[e].called||(t={type:"error"}),u=t.type,s="error"===t.type?404:200),n&&n(s,u)},_r(o,"load",a),_r(o,"error",a),8>=mr&&(o.onreadystatechange=function(){w(o.readyState)&&/loaded|complete/.test(o.readyState)&&(o.onreadystatechange=null,a({type:"load"}))}),i.body.appendChild(o),a}var s=-1;return function(i,u,c,l,f,h,p,$){function v(){y=s,b&&b(),x&&x.abort()}function g(e,r,i,o,a){C&&n.cancel(C),b=x=null,0===r&&(r=i?200:"file"==qn(u).protocol?404:0),r=1223===r?204:r,a=a||"",e(r,i,o,a),t.$$completeOutstandingRequest(d)}var y;if(t.$$incOutstandingRequestCount(),u=u||t.url(),"jsonp"==pr(i)){var w="_"+(r.counter++).toString(36);r[w]=function(t){r[w].data=t,r[w].called=!0};var b=a(u.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(t,e){g(l,t,r[w].data,"",e),r[w]=d})}else{var x=e(i);if(x.open(i,u,!0),o(f,function(t,e){m(t)&&x.setRequestHeader(e,t)}),x.onreadystatechange=function(){if(x&&4==x.readyState){var t=null,e=null,n="";y!==s&&(t=x.getAllResponseHeaders(),e="response"in x?x.response:x.responseText),y===s&&10>mr||(n=x.statusText),g(l,y||x.status,e,t,n)}},p&&(x.withCredentials=!0),$)try{x.responseType=$}catch(S){if("json"!==$)throw S}x.send(c||null)}if(h>0)var C=n(v,h);else T(h)&&h.then(v)}}function tn(){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(o,u,c){for(var l,f,h,p,d=0,$=[],v=o.length,g=!1,m=[];v>d;)-1!=(l=o.indexOf(t,d))&&-1!=(f=o.indexOf(e,l+a))?(d!=l&&$.push(o.substring(d,l)),$.push(h=n(p=o.substring(l+a,f))),h.exp=p,d=f+s,g=!0):(d!=v&&$.push(o.substring(d)),d=v);if((v=$.length)||($.push(""),v=1),c&&$.length>1)throw ii("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);return!u||g?(m.length=v,h=function(t){try{for(var e,n=0,a=v;a>n;n++){if("function"==typeof(e=$[n]))if(e=e(t),e=c?i.getTrusted(c,e):i.valueOf(e),null==e)e="";else switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=H(e)}m[n]=e}return m.join("")}catch(s){var u=ii("interr","Can't interpolate: {0}\n{1}",o,s.toString());r(u)}},h.exp=o,h.parts=$,h):void 0}var a=t.length,s=e.length;return o.startSymbol=function(){return t},o.endSymbol=function(){return e},o}]}function en(){this.$get=["$rootScope","$window","$q",function(t,e,n){function r(r,o,a,s){var u=e.setInterval,c=e.clearInterval,l=n.defer(),f=l.promise,h=0,p=m(s)&&!s;return a=m(a)?a:0,f.then(null,null,r),f.$$intervalId=u(function(){l.notify(h++),a>0&&h>=a&&(l.resolve(h),c(f.$$intervalId),delete i[f.$$intervalId]),p||t.$apply()},o),i[f.$$intervalId]=l,f}var i={};return r.cancel=function(t){return t&&t.$$intervalId in i?(i[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete i[t.$$intervalId],!0):!1},r}]}function nn(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(t){return 1===t?"one":"other"}}}}function rn(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=G(e[n]);return e.join("/")}function on(t,e,n){var r=qn(t,n);e.$$protocol=r.protocol,e.$$host=r.hostname,e.$$port=h(r.port)||ai[r.protocol]||null}function an(t,e,n){var r="/"!==t.charAt(0);r&&(t="/"+t);var i=qn(t,n);e.$$path=decodeURIComponent(r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),e.$$search=Q(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function sn(t,e){return 0===e.indexOf(t)?e.substr(t.length):void 0}function un(t){var e=t.indexOf("#");return-1==e?t:t.substr(0,e)}function cn(t){return t.substr(0,un(t).lastIndexOf("/")+1)}function ln(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function fn(t,e){this.$$html5=!0,e=e||"";var r=cn(t);on(t,this,t),this.$$parse=function(e){var n=sn(r,e);if(!w(n))throw si("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,r);an(n,this,t),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=J(this.$$search),e=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(t?"?"+t:"")+e,this.$$absUrl=r+this.$$url.substr(1)},this.$$rewrite=function(i){var o,a;return(o=sn(t,i))!==n?(a=o,(o=sn(e,o))!==n?r+(sn("/",o)||o):t+a):(o=sn(r,i))!==n?r+o:r==i+"/"?r:void 0}}function hn(t,e){var n=cn(t);on(t,this,t),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=sn(t,r)||sn(n,r),a="#"==o.charAt(0)?sn(e,o):this.$$html5?o:"";if(!w(a))throw si("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',r,e);an(a,this,t),this.$$path=i(this.$$path,a,t),this.$$compose()},this.$$compose=function(){var n=J(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=t+(this.$$url?e+this.$$url:"")},this.$$rewrite=function(e){return un(t)==un(e)?e:void 0}}function pn(t,e){this.$$html5=!0,hn.apply(this,arguments);var n=cn(t);this.$$rewrite=function(r){var i;return t==un(r)?r:(i=sn(n,r))?t+e+i:n===r+"/"?n:void 0},this.$$compose=function(){var n=J(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=t+e+this.$$url}}function dn(t){return function(){return this[t]}}function $n(t,e){return function(n){return g(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function vn(){var e="",n=!1;this.hashPrefix=function(t){return m(t)?(e=t,this):e},this.html5Mode=function(t){return m(t)?(n=t,this):n},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(r,i,o,a){function s(t){r.$broadcast("$locationChangeSuccess",u.absUrl(),t)}var u,c,l,f=i.baseHref(),h=i.url();n?(l=ln(h)+(f||"/"),c=o.history?fn:pn):(l=un(h),c=hn),u=new c(l,"#"+e),u.$$parse(u.$$rewrite(h));var p=/^\s*(javascript|mailto):/i;a.on("click",function(n){if(!n.ctrlKey&&!n.metaKey&&2!=n.which){for(var o=yr(n.target);"a"!==pr(o[0].nodeName);)if(o[0]===a[0]||!(o=o.parent())[0])return;var s=o.prop("href");if(y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=qn(s.animVal).href),!p.test(s)){if(c===pn){var f=o.attr("href")||o.attr("xlink:href");if(f&&f.indexOf("://")<0){var h="#"+e;if("/"==f[0])s=l+h+f;else if("#"==f[0])s=l+h+(u.path()||"/")+f;else{var d=u.path().split("/"),$=f.split("/");2!==d.length||d[1]||(d.length=1);for(var v=0;v<$.length;v++)"."!=$[v]&&(".."==$[v]?d.pop():$[v].length&&d.push($[v]));s=l+h+d.join("/")}}}var g=u.$$rewrite(s);s&&!o.attr("target")&&g&&!n.isDefaultPrevented()&&(n.preventDefault(),g!=i.url()&&(u.$$parse(g),r.$apply(),t.angular["ff-684208-preventDefault"]=!0))}}}),u.absUrl()!=h&&i.url(u.absUrl(),!0),i.onUrlChange(function(t){u.absUrl()!=t&&(r.$evalAsync(function(){var e=u.absUrl();u.$$parse(t),r.$broadcast("$locationChangeStart",t,e).defaultPrevented?(u.$$parse(e),i.url(e)):s(e)}),r.$$phase||r.$digest())});var d=0;return r.$watch(function(){var t=i.url(),e=u.$$replace;return d&&t==u.absUrl()||(d++,r.$evalAsync(function(){r.$broadcast("$locationChangeStart",u.absUrl(),t).defaultPrevented?u.$$parse(t):(i.url(u.absUrl(),e),s(t))})),u.$$replace=!1,d}),u}]}function gn(){var t=!0,e=this;this.debugEnabled=function(e){return m(e)?(t=e,this):t},this.$get=["$window",function(n){function r(t){return t instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"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||d,a=!1;try{a=!!i.apply}catch(s){}return a?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 mn(t,e){if("__defineGetter__"===t||"__defineSetter__"===t||"__lookupGetter__"===t||"__lookupSetter__"===t||"__proto__"===t)throw ci("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",e);return t}function yn(t,e){if(t){if(t.constructor===t)throw ci("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t.document&&t.location&&t.alert&&t.setInterval)throw ci("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw ci("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",e);if(t===Object)throw ci("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",e)}return t}function wn(t,e){if(t){if(t.constructor===t)throw ci("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t===fi||t===hi||pi&&t===pi)throw ci("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",e)}}function bn(t,e,r,i,o){o=o||{};for(var a,s=e.split("."),u=0;s.length>1;u++){a=mn(s.shift(),i);var c=t[a];c||(c={},t[a]=c),t=c,t.then&&o.unwrapPromises&&(ui(i),"$$v"in t||!function(t){t.then(function(e){t.$$v=e})}(t),t.$$v===n&&(t.$$v={}),t=t.$$v)}return a=mn(s.shift(),i),yn(t,i),yn(t[a],i),t[a]=r,r}function xn(t,e,r,i,o,a,s){return mn(t,a),mn(e,a),mn(r,a),mn(i,a),mn(o,a),s.unwrapPromises?function(s,u){var c,l=u&&u.hasOwnProperty(t)?u:s;return null==l?l:(l=l[t],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),e?null==l?n:(l=l[e],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),r?null==l?n:(l=l[r],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),i?null==l?n:(l=l[i],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),o?null==l?n:(l=l[o],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),l):l):l):l):l)}:function(a,s){var u=s&&s.hasOwnProperty(t)?s:a;return null==u?u:(u=u[t],e?null==u?n:(u=u[e],r?null==u?n:(u=u[r],i?null==u?n:(u=u[i],o?null==u?n:u=u[o]:u):u):u):u)}}function Sn(t,e,r){if(mi.hasOwnProperty(t))return mi[t];var i,a=t.split("."),s=a.length;if(e.csp)i=6>s?xn(a[0],a[1],a[2],a[3],a[4],r,e):function(t,i){var o,u=0;do o=xn(a[u++],a[u++],a[u++],a[u++],a[u++],r,e)(t,i),i=n,t=o;while(s>u);return o};else{var u="var p;\n";o(a,function(t,n){mn(t,r),u+="if(s == null) return undefined;\ns="+(n?"s":'((k&&k.hasOwnProperty("'+t+'"))?k:s)')+'["'+t+'"];\n'+(e.unwrapPromises?'if (s && s.then) {\n pw("'+r.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")}),u+="return s;";var c=new Function("s","k","pw",u);c.toString=v(u),i=e.unwrapPromises?function(t,e){return c(t,e,ui)}:c}return"hasOwnProperty"!==t&&(mi[t]=i),i}function Cn(){var t={},e={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(t){return m(t)?(e.unwrapPromises=!!t,this):e.unwrapPromises},this.logPromiseWarnings=function(t){return m(t)?(e.logPromiseWarnings=t,this):e.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(n,r,i){return e.csp=r.csp,ui=function(t){e.logPromiseWarnings&&!li.hasOwnProperty(t)&&(li[t]=!0,i.warn("[$parse] Promise found in the expression `"+t+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(r){var i;switch(typeof r){case"string":if(t.hasOwnProperty(r))return t[r];var o=new vi(e),a=new gi(o,n,e);return i=a.parse(r),"hasOwnProperty"!==r&&(t[r]=i),i;case"function":return r;default:return d}}}]}function kn(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return En(function(e){t.$evalAsync(e)},e)}]}function En(t,e){function r(t){return t}function i(t){return c(t)}function a(t){var e=s(),n=0,r=Tr(t)?[]:{};return o(t,function(t,i){n++,u(t).then(function(t){r.hasOwnProperty(i)||(r[i]=t,--n||e.resolve(r))},function(t){r.hasOwnProperty(i)||e.reject(t)})}),0===n&&e.resolve(r),e.promise}var s=function(){var o,a,c=[];return a={resolve:function(e){if(c){var r=c;c=n,o=u(e),r.length&&t(function(){for(var t,e=0,n=r.length;n>e;e++)t=r[e],o.then(t[0],t[1],t[2])})}},reject:function(t){a.resolve(l(t))},notify:function(e){if(c){var n=c;c.length&&t(function(){for(var t,r=0,i=n.length;i>r;r++)t=n[r],t[2](e)})}},promise:{then:function(t,n,a){var u=s(),l=function(n){try{u.resolve((S(t)?t:r)(n))}catch(i){u.reject(i),e(i)}},f=function(t){try{u.resolve((S(n)?n:i)(t))}catch(r){u.reject(r),e(r)}},h=function(t){try{u.notify((S(a)?a:r)(t))}catch(n){e(n)}};return c?c.push([l,f,h]):o.then(l,f,h),u.promise},"catch":function(t){return this.then(null,t)},"finally":function(t){function e(t,e){var n=s();return e?n.resolve(t):n.reject(t),n.promise}function n(n,i){var o=null;try{o=(t||r)()}catch(a){return e(a,!1)}return T(o)?o.then(function(){return e(n,i)},function(t){return e(t,!1)}):e(n,i)}return this.then(function(t){return n(t,!0)},function(t){return n(t,!1)})}}}},u=function(e){return T(e)?e:{then:function(n){var r=s();return t(function(){r.resolve(n(e))}),r.promise}}},c=function(t){var e=s();return e.reject(t),e.promise},l=function(n){return{then:function(r,o){var a=s();return t(function(){try{a.resolve((S(o)?o:i)(n))}catch(t){a.reject(t),e(t)}}),a.promise}}},f=function(n,o,a,l){var f,h=s(),p=function(t){try{return(S(o)?o:r)(t)}catch(n){return e(n),c(n)}},d=function(t){try{return(S(a)?a:i)(t)}catch(n){return e(n),c(n)}},$=function(t){try{return(S(l)?l:r)(t)}catch(n){e(n)}};return t(function(){u(n).then(function(t){f||(f=!0,h.resolve(u(t).then(p,d,$)))},function(t){f||(f=!0,h.resolve(d(t)))},function(t){f||h.notify($(t))})}),h.promise};return{defer:s,reject:c,when:f,all:a}}function An(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame,r=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(t){var e=n(t);return function(){r(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return o.supported=i,o}]}function On(){var t=10,e=r("$rootScope"),n=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,a,s,u){function l(){this.$id=c(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this["this"]=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function f(t){if(g.$$phase)throw e("inprog","{0} already in progress",g.$$phase);g.$$phase=t}function h(){g.$$phase=null}function p(t,e){var n=s(t);return ne(n,e),n}function $(t,e,n){do t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n];while(t=t.$parent)}function v(){}l.prototype={constructor:l,$new:function(t){var e;return t?(e=new l,e.$root=this.$root,e.$$asyncQueue=this.$$asyncQueue,e.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=c(),this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),e=new this.$$childScopeClass),e["this"]=e,e.$parent=this,e.$$prevSibling=this.$$childTail,this.$$childHead?(this.$$childTail.$$nextSibling=e,this.$$childTail=e):this.$$childHead=this.$$childTail=e,e},$watch:function(t,e,r){var i=this,o=p(t,"watch"),a=i.$$watchers,s={fn:e,last:v,get:o,exp:t,eq:!!r};if(n=null,!S(e)){var u=p(e||d,"listener");s.fn=function(t,e,n){u(n)}}if("string"==typeof t&&o.constant){var c=s.fn;s.fn=function(t,e,n){c.call(this,t,e,n),D(a,s)}}return a||(a=i.$$watchers=[]),a.unshift(s),function(){D(a,s),n=null}},$watchCollection:function(t,e){function n(){o=h(c);var t,e,n;if(y(o))if(i(o)){a!==p&&(a=p,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var r=0;t>r;r++)n=a[r]!==a[r]&&o[r]!==o[r],n||a[r]===o[r]||(f++,a[r]=o[r])}else{a!==d&&(a=d={},v=0,f++),t=0;for(e in o)o.hasOwnProperty(e)&&(t++,a.hasOwnProperty(e)?(n=a[e]!==a[e]&&o[e]!==o[e],n||a[e]===o[e]||(f++,a[e]=o[e])):(v++,a[e]=o[e],f++));if(v>t){f++;for(e in a)a.hasOwnProperty(e)&&!o.hasOwnProperty(e)&&(v--,delete a[e])}}else a!==o&&(a=o,f++);return f}function r(){if($?($=!1,e(o,o,c)):e(o,u,c),l)if(y(o))if(i(o)){u=new Array(o.length);for(var t=0;t1,f=0,h=s(t),p=[],d={},$=!0,v=0;return this.$watch(n,r)},$digest:function(){var r,i,o,s,u,c,l,p,d,$,g,m=this.$$asyncQueue,y=this.$$postDigestQueue,w=t,b=this,x=[];f("$digest"),n=null;do{for(c=!1,p=b;m.length;){try{g=m.shift(),g.scope.$eval(g.expression)}catch(C){h(),a(C)}n=null}t:do{if(s=p.$$watchers)for(u=s.length;u--;)try{if(r=s[u])if((i=r.get(p))===(o=r.last)||(r.eq?q(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(r===n){c=!1;break t}}else c=!0,n=r,r.last=r.eq?R(i,null):i,r.fn(i,o===v?i:o,p),5>w&&(d=4-w,x[d]||(x[d]=[]),$=S(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,$+="; newVal: "+H(i)+"; oldVal: "+H(o),x[d].push($))}catch(C){h(),a(C)}if(!(l=p.$$childHead||p!==b&&p.$$nextSibling))for(;p!==b&&!(l=p.$$nextSibling);)p=p.$parent}while(p=l);if((c||m.length)&&!w--)throw h(),e("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,H(x))}while(c||m.length);for(h();y.length;)try{y.shift()()}catch(C){a(C)}},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==g&&(o(this.$$listenerCount,F(null,$,this)),t.$$childHead==this&&(t.$$childHead=this.$$nextSibling),t.$$childTail==this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=d,this.$on=this.$watch=function(){return d})}},$eval:function(t,e){return s(t)(this,e)},$evalAsync:function(t){g.$$phase||g.$$asyncQueue.length||u.defer(function(){g.$$asyncQueue.length&&g.$digest()}),this.$$asyncQueue.push({scope:this,expression:t})},$$postDigest:function(t){this.$$postDigestQueue.push(t)},$apply:function(t){try{return f("$apply"),this.$eval(t)}catch(e){a(e)}finally{h();try{g.$digest()}catch(e){throw a(e),e}}},$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(){n[j(n,e)]=null,$(i,1,t)}},$emit:function(t){var e,n,r,i=[],o=this,s=!1,u={name:t,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=V([u],arguments,1);do{for(e=o.$$listeners[t]||i,u.currentScope=o,n=0,r=e.length;r>n;n++)if(e[n])try{e[n].apply(null,c)}catch(l){a(l)}else e.splice(n,1),n--,r--;if(s)return u;o=o.$parent}while(o);return u},$broadcast:function(t){for(var e,n,r,i=this,o=i,s=i,u={name:t,targetScope:i,preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=V([u],arguments,1);o=s;){for(u.currentScope=o,e=o.$$listeners[t]||[],n=0,r=e.length;r>n;n++)if(e[n])try{e[n].apply(null,c)}catch(l){a(l)}else e.splice(n,1),n--,r--;if(!(s=o.$$listenerCount[t]&&o.$$childHead||o!==i&&o.$$nextSibling))for(;o!==i&&!(s=o.$$nextSibling);)o=o.$parent}return u}};var g=new l;return g}]}function Tn(){var t=/^\s*(https?|ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return m(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return m(t)?(e=t,this):e},this.$get=function(){return function(n,r){var i,o=r?e:t;return mr&&!(mr>=8)||(i=qn(n).href,""===i||i.match(o))?n:"unsafe:"+i}}}function Mn(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#-1)throw yi("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=Mn(t).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(C(t))return new RegExp("^"+t.source+"$");throw yi("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Pn(t){var e=[];return m(t)&&o(t,function(t){e.push(Nn(t))}),e}function jn(){this.SCE_CONTEXTS=wi;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=Pn(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=Pn(t)),e},this.$get=["$injector",function(r){function i(t,e){return"self"===t?Vn(e):!!t.exec(e.href)}function o(n){var r,o,a=qn(n.toString()),s=!1;for(r=0,o=t.length;o>r;r++)if(i(t[r],a)){s=!0;break}if(s)for(r=0,o=e.length;o>r;r++)if(i(e[r],a)){s=!1;break}return s}function a(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}function s(t,e){var r=h.hasOwnProperty(t)?h[t]:null;if(!r)throw yi("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||e===n||""===e)return e;if("string"!=typeof e)throw yi("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new r(e)}function u(t){return t instanceof f?t.$$unwrapTrustedValue():t}function c(t,e){if(null===e||e===n||""===e)return e;var r=h.hasOwnProperty(t)?h[t]:null;if(r&&e instanceof r)return e.$$unwrapTrustedValue();if(t===wi.RESOURCE_URL){if(o(e))return e;throw yi("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",e.toString())}if(t===wi.HTML)return l(e);throw yi("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw yi("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(l=r.get("$sanitize"));var f=a(),h={};return h[wi.HTML]=a(f),h[wi.CSS]=a(f),h[wi.URL]=a(f),h[wi.JS]=a(f),h[wi.RESOURCE_URL]=a(h[wi.URL]),{trustAs:s,getTrusted:c,valueOf:u}}]}function Dn(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sniffer","$sceDelegate",function(e,n,r){if(t&&n.msie&&n.msieDocumentMode<8)throw yi("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=_(wi);i.isEnabled=function(){return t},i.trustAs=r.trustAs,i.getTrusted=r.getTrusted,i.valueOf=r.valueOf,t||(i.trustAs=i.getTrusted=function(t,e){return e},i.valueOf=$),i.parseAs=function(t,n){var r=e(n);return r.literal&&r.constant?r:function(e,n){return i.getTrusted(t,r(e,n))}};var a=i.parseAs,s=i.getTrusted,u=i.trustAs;return o(wi,function(t,e){var n=pr(e);i[ce("parse_as_"+n)]=function(e){return a(t,e)},i[ce("get_trusted_"+n)]=function(e){return s(t,e)},i[ce("trust_as_"+n)]=function(e){return u(t,e)}}),i}]}function Rn(){this.$get=["$window","$document",function(t,e){var n,r,i={},o=h((/android (\d+)/.exec(pr((t.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((t.navigator||{}).userAgent),s=e[0]||{},u=s.documentMode,c=/^(Moz|webkit|O|ms)(?=[A-Z])/,l=s.body&&s.body.style,f=!1,p=!1; if(l){for(var d in l)if(r=c.exec(d)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),f=!!("transition"in l||n+"Transition"in l),p=!!("animation"in l||n+"Animation"in l),!o||f&&p||(f=w(s.body.style.webkitTransition),p=w(s.body.style.webkitAnimation))}return{history:!(!t.history||!t.history.pushState||4>o||a),hashchange:"onhashchange"in t&&(!u||u>7),hasEvent:function(t){if("input"==t&&9==mr)return!1;if(g(i[t])){var e=s.createElement("div");i[t]="on"+t in e}return i[t]},csp:Nr(),vendorPrefix:n,transitions:f,animations:p,android:o,msie:mr,msieDocumentMode:u}}]}function _n(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(t,e,n,r){function i(i,a,s){var u,c=n.defer(),l=c.promise,f=m(s)&&!s;return u=e.defer(function(){try{c.resolve(i())}catch(e){c.reject(e),r(e)}finally{delete o[l.$$timeoutId]}f||t.$apply()},a),l.$$timeoutId=u,o[u]=c,l}var o={};return i.cancel=function(t){return t&&t.$$timeoutId in o?(o[t.$$timeoutId].reject("canceled"),delete o[t.$$timeoutId],e.defer.cancel(t.$$timeoutId)):!1},i}]}function qn(t){var e=t;return mr&&(bi.setAttribute("href",e),e=bi.href),bi.setAttribute("href",e),{href:bi.href,protocol:bi.protocol?bi.protocol.replace(/:$/,""):"",host:bi.host,search:bi.search?bi.search.replace(/^\?/,""):"",hash:bi.hash?bi.hash.replace(/^#/,""):"",hostname:bi.hostname,port:bi.port,pathname:"/"===bi.pathname.charAt(0)?bi.pathname:"/"+bi.pathname}}function Vn(t){var e=w(t)?qn(t):t;return e.protocol===xi.protocol&&e.host===xi.host}function Un(){this.$get=v(t)}function Fn(t){function e(r,i){if(y(r)){var a={};return o(r,function(t,n){a[n]=e(n,t)}),a}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",Hn),e("date",Xn),e("filter",In),e("json",Kn),e("limitTo",Yn),e("lowercase",Ai),e("number",Ln),e("orderBy",Zn),e("uppercase",Oi)}function In(){return function(t,e,n){if(!Tr(t))return t;var r=typeof n,i=[];i.check=function(t){for(var e=0;e-1});var o=function(t,e){if("string"==typeof e&&"!"===e.charAt(0))return!o(t,e.substr(1));switch(typeof t){case"boolean":case"number":case"string":return n(t,e);case"object":switch(typeof e){case"object":return n(t,e);default:for(var r in t)if("$"!==r.charAt(0)&&o(t[r],e))return!0}return!1;case"array":for(var i=0;it;t=Math.abs(t);var a=t+"",s="",u=[],c=!1;if(-1!==a.indexOf("e")){var l=a.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&&l[3]>i+1?(a="0",t=0):(s=a,c=!0)}if(c)i>0&&t>-1&&1>t&&(s=t.toFixed(i));else{var f=(a.split(Si)[1]||"").length;g(i)&&(i=Math.min(Math.max(e.minFrac,f),e.maxFrac)),t=+(Math.round(+(t.toString()+"e"+i)).toString()+"e"+-i);var h=(""+t).split(Si),p=h[0];h=h[1]||"";var d,$=0,v=e.lgSize,m=e.gSize;if(p.length>=v+m)for($=p.length-v,d=0;$>d;d++)($-d)%m===0&&0!==d&&(s+=n),s+=p.charAt(d);for(d=$;dt&&(r="-",t=-t),t=""+t;t.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),zn(o,e,r)}}function Qn(t,e){return function(n,r){var i=n["get"+t](),o=$r(e?"SHORT"+t:t);return r[o][i]}}function Jn(t){var e=-1*t.getTimezoneOffset(),n=e>=0?"+":"";return n+=zn(Math[e>0?"floor":"ceil"](e/60),2)+zn(Math.abs(e%60),2)}function Gn(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function Xn(t){function e(t){var e;if(e=t.match(n)){var r=new Date(0),i=0,o=0,a=e[8]?r.setUTCFullYear:r.setFullYear,s=e[8]?r.setUTCHours:r.setHours;e[9]&&(i=h(e[9]+e[10]),o=h(e[9]+e[11])),a.call(r,h(e[1]),h(e[2])-1,h(e[3]));var u=h(e[4]||0)-i,c=h(e[5]||0)-o,l=h(e[6]||0),f=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(r,u,c,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){var i,a,s="",u=[];if(r=r||"mediumDate",r=t.DATETIME_FORMATS[r]||r,w(n)&&(n=Ei.test(n)?h(n):e(n)),b(n)&&(n=new Date(n)),!x(n))return n;for(;r;)a=ki.exec(r),a?(u=V(u,a,1),r=u.pop()):(u.push(r),r=null);return o(u,function(e){i=Ci[e],s+=i?i(n,t.DATETIME_FORMATS):e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function Kn(){return function(t){return H(t,!0)}}function Yn(){return function(t,e){if(!Tr(t)&&!w(t))return t;if(e=1/0===Math.abs(Number(e))?Number(e):h(e),w(t))return e?e>=0?t.slice(0,e):t.slice(e,t.length):"";var n,r,i=[];for(e>t.length?e=t.length:e<-t.length&&(e=-t.length),e>0?(n=0,r=e):(n=t.length+e,r=t.length);r>n;n++)i.push(t[n]);return i}}function Zn(t){return function(e,n,r){function i(t,e){for(var r=0;rt?-1:1):r>n?-1:1}if(!Tr(e))return e;if(!n)return e;n=Tr(n)?n:[n],n=N(n,function(e){var n=!1,r=e||$;if(w(e)&&(("+"==e.charAt(0)||"-"==e.charAt(0))&&(n="-"==e.charAt(0),e=e.substring(1)),r=t(e),r.constant)){var i=r();return o(function(t,e){return a(t[i],e[i])},n)}return o(function(t,e){return a(r(t),r(e))},n)});for(var s=[],u=0;u15&&19>e||e>=37&&40>=e||$()}),o.hasEvent("paste")&&e.on("paste cut",$)}e.on("change",p),i.$render=function(){e.val(i.$isEmpty(i.$viewValue)?"":i.$viewValue)};var v,g,m=n.ngPattern;if(m){var y=function(t,e){return nr(i,"pattern",i.$isEmpty(e)||t.test(e),e)};g=m.match(/^\/(.*)\/([gim]*)$/),g?(m=new RegExp(g[1],g[2]),v=function(t){return y(m,t)}):v=function(n){var i=t.$eval(m);if(!i||!i.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",m,i,z(e));return y(i,n)},i.$formatters.push(v),i.$parsers.push(v)}if(n.ngMinlength){var w=h(n.ngMinlength),b=function(t){return nr(i,"minlength",i.$isEmpty(t)||t.length>=w,t)};i.$parsers.push(b),i.$formatters.push(b)}if(n.ngMaxlength){var x=h(n.ngMaxlength),S=function(t){return nr(i,"maxlength",i.$isEmpty(t)||t.length<=x,t)};i.$parsers.push(S),i.$formatters.push(S)}}function ar(t,e,r,i,o,a){if(or(t,e,r,i,o,a),i.$parsers.push(function(t){var e=i.$isEmpty(t);return e||qi.test(t)?(i.$setValidity("number",!0),""===t?null:e?t:parseFloat(t)):(i.$setValidity("number",!1),n)}),ir(i,"number",Ui,null,i.$$validityState),i.$formatters.push(function(t){return i.$isEmpty(t)?"":""+t}),r.min){var s=function(t){var e=parseFloat(r.min);return nr(i,"min",i.$isEmpty(t)||t>=e,t)};i.$parsers.push(s),i.$formatters.push(s)}if(r.max){var u=function(t){var e=parseFloat(r.max);return nr(i,"max",i.$isEmpty(t)||e>=t,t)};i.$parsers.push(u),i.$formatters.push(u)}i.$formatters.push(function(t){return nr(i,"number",i.$isEmpty(t)||b(t),t)})}function sr(t,e,n,r,i,o){or(t,e,n,r,i,o);var a=function(t){return nr(r,"url",r.$isEmpty(t)||Ri.test(t),t)};r.$formatters.push(a),r.$parsers.push(a)}function ur(t,e,n,r,i,o){or(t,e,n,r,i,o);var a=function(t){return nr(r,"email",r.$isEmpty(t)||_i.test(t),t)};r.$formatters.push(a),r.$parsers.push(a)}function cr(t,e,n,r){g(n.name)&&e.attr("name",c()),e.on("click",function(){e[0].checked&&t.$apply(function(){r.$setViewValue(n.value)})}),r.$render=function(){var t=n.value;e[0].checked=t==r.$viewValue},n.$observe("value",r.$render)}function lr(t,e,n,r){var i=n.ngTrueValue,o=n.ngFalseValue;w(i)||(i=!0),w(o)||(o=!1),e.on("click",function(){t.$apply(function(){r.$setViewValue(e[0].checked)})}),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t!==i},r.$formatters.push(function(t){return t===i}),r.$parsers.push(function(t){return t?i:o})}function fr(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))}),s.data("$classCounts",n),r.join(" ")}function h(t,e){var i=r(e,t),o=r(t,e);o=f(o,-1),i=f(i,1),0===i.length?n.removeClass(s,o):0===o.length?n.addClass(s,i):n.setClass(s,i,o)}function p(t){if(e===!0||a.$index%2===e){var n=i(t||[]);if(d){if(!q(t,d)){var r=i(d);h(r,n)}}else c(n)}d=_(t)}var d;a.$watch(u[t],p,!0),u.$observe("class",function(){p(a.$eval(u[t]))}),"ngClass"!==t&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[t]));o===e?c(s):l(s)}})}}}]}var hr="validity",pr=function(t){return w(t)?t.toLowerCase():t},dr=Object.prototype.hasOwnProperty,$r=function(t){return w(t)?t.toUpperCase():t},vr=function(t){return w(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},gr=function(t){return w(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(-33&t.charCodeAt(0))}):t};"i"!=="I".toLowerCase()&&(pr=vr,$r=gr);var mr,yr,wr,br,xr,Sr=[].slice,Cr=[].push,kr=Object.prototype.toString,Er=r("ng"),Ar=t.angular||(t.angular={}),Or=["0","0","0"];mr=h((/msie (\d+)/.exec(pr(navigator.userAgent))||[])[1]),isNaN(mr)&&(mr=h((/trident\/.*; rv:(\d+)/.exec(pr(navigator.userAgent))||[])[1])),d.$inject=[],$.$inject=[];var Tr=function(){return S(Array.isArray)?Array.isArray:function(t){return"[object Array]"===kr.call(t)}}(),Mr=function(){return String.prototype.trim?function(t){return w(t)?t.trim():t}:function(t){return w(t)?t.replace(/^\s\s*/,"").replace(/\s\s*$/,""):t}}();xr=9>mr?function(t){return t=t.nodeName?t:t[0],t.scopeName&&"HTML"!=t.scopeName?$r(t.scopeName+":"+t.nodeName):t.nodeName}:function(t){return t.nodeName?t.nodeName:t[0].nodeName};var Nr=function(){if(m(Nr.isActive_))return Nr.isActive_;var t=!(!e.querySelector("[ng-csp]")&&!e.querySelector("[data-ng-csp]"));if(!t)try{new Function("")}catch(n){t=!0}return Nr.isActive_=t},Pr=/[A-Z]/g,jr={full:"1.2.23",major:1,minor:2,dot:23,codeName:"superficial-malady"};de.expando="ng339";var Dr=de.cache={},Rr=1,_r=t.document.addEventListener?function(t,e,n){t.addEventListener(e,n,!1)}:function(t,e,n){t.attachEvent("on"+e,n)},qr=t.document.removeEventListener?function(t,e,n){t.removeEventListener(e,n,!1)}:function(t,e,n){t.detachEvent("on"+e,n)},Vr=(de._data=function(t){return this.cache[t[this.expando]]||{}},/([\:\-\_]+(.))/g),Ur=/^moz([A-Z])/,Fr=r("jqLite"),Ir=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Hr=/<|&#?\w+;/,Lr=/<([\w:]+)/,Br=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,zr={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};zr.optgroup=zr.option,zr.tbody=zr.tfoot=zr.colgroup=zr.caption=zr.thead,zr.th=zr.td;var Wr=de.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===e.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),de(t).on("load",r))},toString:function(){var t=[];return o(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return yr(t>=0?this[t]:this[this.length+t])},length:0,push:Cr,sort:[].sort,splice:[].splice},Qr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){Qr[pr(t)]=t});var Jr={};o("input,select,option,textarea,button,form,details".split(","),function(t){Jr[$r(t)]=!0}),o({data:we,removeData:me},function(t,e){de[e]=t}),o({data:we,inheritedData:Ee,scope:function(t){return yr.data(t,"$scope")||Ee(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return yr.data(t,"$isolateScope")||yr.data(t,"$isolateScopeNoTemplate")},controller:ke,injector:function(t){return Ee(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:be,css:function(t,e,r){if(e=ce(e),!m(r)){var i;return 8>=mr&&(i=t.currentStyle&&t.currentStyle[e],""===i&&(i="auto")),i=i||t.style[e],8>=mr&&(i=""===i?n:i),i}t.style[e]=r},attr:function(t,e,r){var i=pr(e);if(Qr[i]){if(!m(r))return t[e]||(t.attributes.getNamedItem(e)||d).specified?i:n;r?(t[e]=!0,t.setAttribute(e,i)):(t[e]=!1,t.removeAttribute(i))}else if(m(r))t.setAttribute(e,r);else if(t.getAttribute){var o=t.getAttribute(e,2);return null===o?n:o}},prop:function(t,e,n){return m(n)?void(t[e]=n):t[e]},text:function(){function t(t,n){var r=e[t.nodeType];return g(n)?r?t[r]:"":void(t[r]=n)}var e=[];return 9>mr?(e[1]="innerText",e[3]="nodeValue"):e[1]=e[3]="textContent",t.$dv="",t}(),val:function(t,e){if(g(e)){if("SELECT"===xr(t)&&t.multiple){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){if(g(e))return t.innerHTML;for(var n=0,r=t.childNodes;ni;i++)if(t===we)t(this[i],e);else for(o in e)t(this[i],o,e[o]);return this}for(var s=t.$dv,u=s===n?Math.min(a,1):a,c=0;u>c;c++){var l=t(this[c],e,r);s=s?s+l:l}return s}for(i=0;a>i;i++)t(this[i],e,r);return this}}),o({removeData:me,dealoc:ve,on:function Oo(t,n,r,i){if(m(i))throw Fr("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");var a=ye(t,"events"),s=ye(t,"handle");a||ye(t,"events",a={}),s||ye(t,"handle",s=Te(t,a)),o(n.split(" "),function(n){var i=a[n];if(!i){if("mouseenter"==n||"mouseleave"==n){var o=e.body.contains||e.body.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1};a[n]=[];var u={mouseleave:"mouseout",mouseenter:"mouseover"};Oo(t,u[n],function(t){var e=this,r=t.relatedTarget;(!r||r!==e&&!o(e,r))&&s(t,n)})}else _r(t,n,s),a[n]=[];i=a[n]}i.push(r)})},off:ge,one:function(t,e,n){t=yr(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;ve(t),o(new de(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){1===t.nodeType&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){o(new de(e),function(e){(1===t.nodeType||11===t.nodeType)&&t.appendChild(e)})},prepend:function(t,e){if(1===t.nodeType){var n=t.firstChild;o(new de(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){e=yr(e)[0];var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)},remove:function(t){ve(t);var e=t.parentNode;e&&e.removeChild(t)},after:function(t,e){var n=t,r=t.parentNode;o(new de(e),function(t){r.insertBefore(t,n.nextSibling),n=t})},addClass:Se,removeClass:xe,toggleClass:function(t,e,n){e&&o(e.split(" "),function(e){var r=n;g(r)&&(r=!be(t,e)),(r?Se:xe)(t,e)})},parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},next:function(t){if(t.nextElementSibling)return t.nextElementSibling;for(var e=t.nextSibling;null!=e&&1!==e.nodeType;)e=e.nextSibling;return e},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:$e,triggerHandler:function(t,e,n){var r,i,a,s=e.type||e,u=(ye(t,"events")||{})[s];u&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopPropagation:d,type:s,target:t},e.type&&(r=f(r,e)),i=_(u),a=n?[r].concat(n):[r],o(i,function(e){e.apply(t,a)}))}},function(t,e){de.prototype[e]=function(e,n,r){for(var i,o=0;o":function(t,e,n,r){return n(t,e)>r(t,e)},"<=":function(t,e,n,r){return n(t,e)<=r(t,e)},">=":function(t,e,n,r){return n(t,e)>=r(t,e)},"&&":function(t,e,n,r){return n(t,e)&&r(t,e)},"||":function(t,e,n,r){return n(t,e)||r(t,e)},"&":function(t,e,n,r){return n(t,e)&r(t,e)},"|":function(t,e,n,r){return r(t,e)(t,e,n(t,e))},"!":function(t,e,n){return!n(t,e)}},$i={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},vi=function(t){this.options=t};vi.prototype={constructor:vi,lex:function(t){for(this.text=t,this.index=0,this.ch=n,this.lastCh=":",this.tokens=[];this.index="0"&&"9">=t},isWhitespace:function(t){return" "===t||"\r"===t||" "===t||"\n"===t||" "===t||" "===t},isIdent:function(t){return t>="a"&&"z">=t||t>="A"&&"Z">=t||"_"===t||"$"===t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var r=m(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw ci("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber:function(){for(var t="",e=this.index;this.index0){var i=this.tokens[0],o=i.text;if(o===t||o===e||o===n||o===r||!t&&!e&&!n&&!r)return i}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return i?(this.tokens.shift(),i):!1},consume:function(t){this.expect(t)||this.throwError("is unexpected, expecting ["+t+"]",this.peek())},unaryFn:function(t,e){return f(function(n,r){return t(n,r,e)},{constant:e.constant})},ternaryFn:function(t,e,n){return f(function(r,i){return t(r,i)?e(r,i):n(r,i)},{constant:t.constant&&e.constant&&n.constant})},binaryFn:function(t,e,n){return f(function(r,i){return e(r,i,t,n)},{constant:t.constant&&n.constant})},statements:function(){for(var t=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.filterChain()),!this.expect(";"))return 1===t.length?t[0]:function(e,n){for(var r,i=0;i","<=",">="))&&(e=this.binaryFn(e,t.fn,this.relational())),e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e=this.binaryFn(e,t.fn,this.multiplicative());return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e=this.binaryFn(e,t.fn,this.unary());return e},unary:function(){var t;return this.expect("+")?this.primary():(t=this.expect("-"))?this.binaryFn(gi.ZERO,t.fn,this.unary()):(t=this.expect("!"))?this.unaryFn(t.fn,this.unary()):this.primary()},fieldAccess:function(t){var e=this,n=this.expect().text,r=Sn(n,this.options,this.text);return f(function(e,n,i){return r(i||t(e,n))},{assign:function(r,i,o){var a=t(r,o);return a||t.assign(r,a={}),bn(a,n,i,e.text,e.options)}})},objectIndex:function(t){var e=this,r=this.expression();return this.consume("]"),f(function(i,o){var a,s,u=t(i,o),c=r(i,o);return mn(c,e.text),u?(a=yn(u[c],e.text),a&&a.then&&e.options.unwrapPromises&&(s=a,"$$v"in a||(s.$$v=n,s.then(function(t){s.$$v=t})),a=a.$$v),a):n},{assign:function(n,i,o){var a=mn(r(n,o),e.text),s=yn(t(n,o),e.text);return s||t.assign(n,s={}),s[a]=i}})},functionCall:function(t,e){var n=[];if(")"!==this.peekToken().text)do n.push(this.expression());while(this.expect(","));this.consume(")");var r=this;return function(i,o){for(var a=[],s=e?e(i,o):i,u=0;u=mr&&(n.href||n.name||n.$set("href",""),t.append(e.createComment("IE fix"))),n.href||n.xlinkHref||n.name?void 0:function(t,e){var n="[object SVGAnimatedString]"===kr.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}),Mi={};o(Qr,function(t,e){if("multiple"!=t){var n=Ie("ng-"+e);Mi[n]=function(){return{priority:100,link:function(t,r,i){t.$watch(i[n],function(t){i.$set(e,!!t)})}}}}}),o(["src","srcset","href"],function(t){var e=Ie("ng-"+t);Mi[e]=function(){return{priority:99,link:function(n,r,i){var o=t,a=t;"href"===t&&"[object SVGAnimatedString]"===kr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(e,function(e){return e?(i.$set(a,e),void(mr&&o&&r.prop(o,i[a]))):void("href"===t&&i.$set(a,null))})}}}});var Ni={$addControl:d,$removeControl:d,$setValidity:d,$setDirty:d,$setPristine:d};er.$inject=["$element","$attrs","$scope","$animate"];var Pi=function(t){return["$timeout",function(e){var r={name:"form",restrict:t?"EAC":"E",controller:er,compile:function(){return{pre:function(t,r,i,o){if(!i.action){var a=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1};_r(r[0],"submit",a),r.on("$destroy",function(){e(function(){qr(r[0],"submit",a)},0,!1)})}var s=r.parent().controller("form"),u=i.name||i.ngForm;u&&bn(t,u,o,u),s&&r.on("$destroy",function(){s.$removeControl(o),u&&bn(t,u,n,u),f(o,Ni)})}}}};return r}]},ji=Pi(),Di=Pi(!0),Ri=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,_i=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,qi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Vi={text:or,number:ar,url:sr,email:ur,radio:cr,checkbox:lr,hidden:d,button:d,submit:d,reset:d,file:d},Ui=["badInput"],Fi=["$browser","$sniffer",function(t,e){return{restrict:"E",require:"?ngModel",link:function(n,r,i,o){o&&(Vi[pr(i.type)]||Vi.text)(n,r,i,o,e,t)}}}],Ii="ng-valid",Hi="ng-invalid",Li="ng-pristine",Bi="ng-dirty",zi=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(t,e,n,i,a,s){function u(t,e){e=e?"-"+Z(e,"-"):"",s.removeClass(i,(t?Hi:Ii)+e),s.addClass(i,(t?Ii:Hi)+e)}this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=n.name;var c=a(n.ngModel),l=c.assign;if(!l)throw r("ngModel")("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,z(i));this.$render=d,this.$isEmpty=function(t){return g(t)||""===t||null===t||t!==t};var f=i.inheritedData("$formController")||Ni,h=0,p=this.$error={};i.addClass(Li),u(!0),this.$setValidity=function(t,e){p[t]!==!e&&(e?(p[t]&&h--,h||(u(!0),this.$valid=!0,this.$invalid=!1)):(u(!1),this.$invalid=!0,this.$valid=!1,h++),p[t]=!e,u(e,t),f.$setValidity(t,e,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,s.removeClass(i,Bi),s.addClass(i,Li)},this.$setViewValue=function(n){this.$viewValue=n,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,s.removeClass(i,Li),s.addClass(i,Bi),f.$setDirty()),o(this.$parsers,function(t){n=t(n)}),this.$modelValue!==n&&(this.$modelValue=n,l(t,n),o(this.$viewChangeListeners,function(t){try{t()}catch(n){e(n)}}))};var $=this;t.$watch(function(){var e=c(t);if($.$modelValue!==e){var n=$.$formatters,r=n.length;for($.$modelValue=e;r--;)e=n[r](e);$.$viewValue!==e&&($.$viewValue=e,$.$render())}return e})}],Wi=function(){return{require:["ngModel","^?form"],controller:zi,link:function(t,e,n,r){var i=r[0],o=r[1]||Ni;o.$addControl(i),t.$on("$destroy",function(){o.$removeControl(i)})}}},Qi=v({require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),Ji=function(){return{require:"?ngModel",link:function(t,e,n,r){if(r){n.required=!0;var i=function(t){return n.required&&r.$isEmpty(t)?void r.$setValidity("required",!1):(r.$setValidity("required",!0),t)};r.$formatters.push(i),r.$parsers.unshift(i),n.$observe("required",function(){i(r.$viewValue)})}}}},Gi=function(){return{require:"ngModel",link:function(t,e,r,i){var a=/\/(.*)\//.exec(r.ngList),s=a&&new RegExp(a[1])||r.ngList||",",u=function(t){if(!g(t)){var e=[];return t&&o(t.split(s),function(t){t&&e.push(Mr(t))}),e}};i.$parsers.push(u),i.$formatters.push(function(t){return Tr(t)?t.join(", "):n}),i.$isEmpty=function(t){return!t||!t.length}}}},Xi=/^(true|false|\d+)$/,Ki=function(){return{priority:100,compile:function(t,e){return Xi.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)})}}}},Yi=tr({compile:function(t){return t.addClass("ng-binding"),function(t,e,r){e.data("$binding",r.ngBind),t.$watch(r.ngBind,function(t){e.text(t==n?"":t)})}}}),Zi=["$interpolate",function(t){return function(e,n,r){var i=t(n.attr(r.$attr.ngBindTemplate));n.addClass("ng-binding").data("$binding",i),r.$observe("ngBindTemplate",function(t){n.text(t)})}}],to=["$sce","$parse",function(t,e){return{compile:function(n){return n.addClass("ng-binding"),function(n,r,i){function o(){return(a(n)||"").toString()}r.data("$binding",i.ngBindHtml);var a=e(i.ngBindHtml);n.$watch(o,function(){r.html(t.getTrustedHtml(a(n))||"")})}}}}],eo=fr("",!0),no=fr("Odd",0),ro=fr("Even",1),io=tr({compile:function(t,e){e.$set("ngCloak",n),t.removeClass("ng-cloak")}}),oo=[function(){return{scope:!0,controller:"@",priority:500}}],ao={};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=Ie("ng-"+t);ao[e]=["$parse",function(n){return{compile:function(r,i){var o=n(i[e]);return function(e,n){n.on(pr(t),function(t){e.$apply(function(){o(e,{$event:t})})})}}}}]});var so=["$animate",function(t){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,c;n.$watch(i.ngIf,function(o){B(o)?u||(u=n.$new(),a(u,function(n){n[n.length++]=e.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},t.enter(n,r.parent(),r)})):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),s&&(c=oe(s.clone),t.leave(c,function(){c=null}),s=null))})}}}],uo=["$http","$templateCache","$anchorScroll","$animate","$sce",function(t,e,n,r,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ar.noop,compile:function(o,a){var s=a.ngInclude||a.src,u=a.onload||"",c=a.autoscroll;return function(o,a,l,f,h){var p,d,$,v=0,g=function(){d&&(d.remove(),d=null),p&&(p.$destroy(),p=null),$&&(r.leave($,function(){d=null}),d=$,$=null)};o.$watch(i.parseAsResourceUrl(s),function(i){var s=function(){!m(c)||c&&!o.$eval(c)||n()},l=++v;i?(t.get(i,{cache:e}).success(function(t){if(l===v){var e=o.$new();f.template=t;var n=h(e,function(t){g(),r.enter(t,null,a,s)});p=e,$=n,p.$emit("$includeContentLoaded"),o.$eval(u)}}).error(function(){l===v&&g()}),o.$emit("$includeContentRequested")):(g(),f.template=null)})}}}}],co=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(e,n,r,i){n.html(i.template),t(n.contents())(e)}}}],lo=tr({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),fo=tr({terminal:!0,priority:1e3}),ho=["$locale","$interpolate",function(t,e){var n=/{}/g;return{restrict:"EA",link:function(r,i,a){var s=a.count,u=a.$attr.when&&i.attr(a.$attr.when),c=a.offset||0,l=r.$eval(u)||{},f={},h=e.startSymbol(),p=e.endSymbol(),d=/^when(Minus)?(.+)$/;o(a,function(t,e){d.test(e)&&(l[pr(e.replace("when","").replace("Minus","-"))]=i.attr(a.$attr[e]))}),o(l,function(t,r){f[r]=e(t.replace(n,h+s+"-"+c+p))}),r.$watch(function(){var e=parseFloat(r.$eval(s));return isNaN(e)?"":(e in l||(e=t.pluralCat(e-c)),f[e](r,i,!0))},function(t){i.text(t)})}}}],po=["$parse","$animate",function(t,n){function a(t){return t.clone[0]}function s(t){return t.clone[t.clone.length-1]}var u="$$NG_REMOVED",c=r("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(r,l,f,h,p){var d,$,v,g,m,y,w,b,x,S=f.ngRepeat,C=S.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),k={$id:Me};if(!C)throw c("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",S);if(y=C[1],w=C[2],d=C[3],d?($=t(d),v=function(t,e,n){return x&&(k[x]=t),k[b]=e,k.$index=n,$(r,k)}):(g=function(t,e){return Me(e)},m=function(t){return t}),C=y.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!C)throw c("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",y);b=C[3]||C[1],x=C[2];var E={};r.$watchCollection(w,function(t){var f,h,d,$,y,w,C,k,A,O,T,M,N=l[0],P={},j=[];if(i(t))O=t,A=v||g;else{A=v||m,O=[];for(w in t)t.hasOwnProperty(w)&&"$"!=w.charAt(0)&&O.push(w);O.sort()}for($=O.length,h=j.length=O.length,f=0;h>f;f++)if(w=t===O?f:O[f],C=t[w],k=A(w,C,f),re(k,"`track by` id"),E.hasOwnProperty(k))T=E[k],delete E[k],P[k]=T,j[f]=T;else{if(P.hasOwnProperty(k))throw o(j,function(t){t&&t.scope&&(E[t.id]=t)}),c("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}",S,k);j[f]={id:k},P[k]=!1}for(w in E)E.hasOwnProperty(w)&&(T=E[w],M=oe(T.clone),n.leave(M),o(M,function(t){t[u]=!0}),T.scope.$destroy());for(f=0,h=O.length;h>f;f++){if(w=t===O?f:O[f],C=t[w],T=j[f],j[f-1]&&(N=s(j[f-1])),T.scope){y=T.scope,d=N;do d=d.nextSibling;while(d&&d[u]);a(T)!=d&&n.move(oe(T.clone),null,yr(N)),N=s(T)}else y=r.$new();y[b]=C,x&&(y[x]=w),y.$index=f,y.$first=0===f,y.$last=f===$-1,y.$middle=!(y.$first||y.$last),y.$odd=!(y.$even=0===(1&f)),T.scope||p(y,function(t){t[t.length++]=e.createComment(" end ngRepeat: "+S+" "),n.enter(t,null,yr(N)),N=t,T.scope=y,T.clone=t,P[T.id]=T})}E=P})}}}],$o=["$animate",function(t){return function(e,n,r){e.$watch(r.ngShow,function(e){t[B(e)?"removeClass":"addClass"](n,"ng-hide")})}}],vo=["$animate",function(t){return function(e,n,r){e.$watch(r.ngHide,function(e){t[B(e)?"addClass":"removeClass"](n,"ng-hide")})}}],go=tr(function(t,e,n){t.$watch(n.ngStyle,function(t,n){n&&t!==n&&o(n,function(t,n){e.css(n,"")}),t&&e.css(t)},!0)}),mo=["$animate",function(t){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(e,n,r,i){var a=r.ngSwitch||r.on,s=[],u=[],c=[],l=[];e.$watch(a,function(n){var a,f;for(a=0,f=c.length;f>a;++a)c[a].remove();for(c.length=0,a=0,f=l.length;f>a;++a){var h=u[a];l[a].$destroy(),c[a]=h,t.leave(h,function(){c.splice(a,1)})}u.length=0,l.length=0,(s=i.cases["!"+n]||i.cases["?"])&&(e.$eval(r.change),o(s,function(n){var r=e.$new();l.push(r),n.transclude(r,function(e){var r=n.element;u.push(e),t.enter(e,r.parent(),r)})}))})}}}],yo=tr({transclude:"element",priority:800,require:"^ngSwitch",link:function(t,e,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:e})}}),wo=tr({transclude:"element",priority:800,require:"^ngSwitch",link:function(t,e,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:e})}}),bo=tr({link:function(t,e,n,i,o){if(!o)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",z(e));o(function(t){e.empty(),e.append(t)})}}),xo=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){if("text/ng-template"==n.type){var r=n.id,i=e[0].text;t.put(r,i)}}}}],So=r("ngOptions"),Co=v({terminal:!0}),ko=["$compile","$parse",function(t,r){var i=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,s={$setViewValue:d};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(t,e,n){var r,i,o=this,a={},u=s;o.databound=n.ngModel,o.init=function(t,e,n){u=t,r=e,i=n},o.addOption=function(e){re(e,'"option value"'),a[e]=!0,u.$viewValue==e&&(t.val(e),i.parent()&&i.remove())},o.removeOption=function(t){this.hasOption(t)&&(delete a[t],u.$viewValue==t&&this.renderUnknownOption(t))},o.renderUnknownOption=function(e){var n="? "+Me(e)+" ?";i.val(n),t.prepend(i),t.val(n),i.prop("selected",!0)},o.hasOption=function(t){return a.hasOwnProperty(t)},e.$on("$destroy",function(){o.renderUnknownOption=d})}],link:function(s,u,c,l){function f(t,e,n,r){n.$render=function(){var t=n.$viewValue;r.hasOption(t)?(C.parent()&&C.remove(),e.val(t),""===t&&d.prop("selected",!0)):g(t)&&d?e.val(""):r.renderUnknownOption(t)},e.on("change",function(){t.$apply(function(){C.parent()&&C.remove(),n.$setViewValue(e.val())})})}function h(t,e,n){var r;n.$render=function(){var t=new Ne(n.$viewValue);o(e.find("option"),function(e){e.selected=m(t.get(e.value))})},t.$watch(function(){q(r,n.$viewValue)||(r=_(n.$viewValue),n.$render())}),e.on("change",function(){t.$apply(function(){var t=[];o(e.find("option"),function(e){e.selected&&t.push(e.value)}),n.$setViewValue(t)})})}function p(e,o,s){function u(){var t=!1;if(y){var n=s.$modelValue;if(C&&Tr(n)){t=new Ne([]);for(var r={},i=0;iO;O++){if(g=O,p){if(g=q[O],"$"===g.charAt(0))continue;V[p]=g}if(V[h]=_[g],t=d(e,V)||"",(n=j[t])||(n=j[t]=[],D.push(t)),y)T=m(U.remove(C?C(e,V):$(e,V)));else{if(C){var F={};F[h]=R,T=C(e,F)===C(e,V)}else T=R===$(e,V);U=U||T}P=f(e,V),P=m(P)?P:"",n.push({id:C?C(e,V):p?q[O]:O,label:P,selected:T})}for(y||(b||null===R?j[""].unshift({id:"",label:"",selected:!U}):U||j[""].unshift({id:"?",label:"",selected:!0})),A=0,w=D.length;w>A;A++){for(t=D[A],n=j[t],k.length<=A?(i={element:S.clone().attr("label",t),label:n.label},c=[i],k.push(c),o.append(i.element)):(c=k[A],i=c[0],i.label!=t&&i.element.attr("label",i.label=t)),M=null,O=0,E=n.length;E>O;O++)r=n[O],(l=c[O+1])?(M=l.element,l.label!==r.label&&M.text(l.label=r.label),l.id!==r.id&&M.val(l.id=r.id),M[0].selected!==r.selected&&(M.prop("selected",l.selected=r.selected),mr&&M.prop("selected",l.selected))):(""===r.id&&b?N=b:(N=x.clone()).val(r.id).prop("selected",r.selected).attr("selected",r.selected).text(r.label),c.push(l={element:N,label:r.label,id:r.id,selected:r.selected}),M?M.after(N):i.element.append(N),M=N);for(O++;c.length>O;)c.pop().element.remove()}for(;k.length>A;)k.pop()[0].element.remove()}var l;if(!(l=w.match(i)))throw So("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",w,z(o));var f=r(l[2]||l[1]),h=l[4]||l[6],p=l[5],d=r(l[3]||""),$=r(l[2]?l[1]:h),v=r(l[7]),g=l[8],C=g?r(l[8]):null,k=[[{element:o,label:""}]];b&&(t(b)(e),b.removeClass("ng-scope"),b.remove()),o.empty(),o.on("change",function(){e.$apply(function(){var t,r,i,a,u,l,f,d,g,m=v(e)||[],w={};if(y){for(i=[],l=0,d=k.length;d>l;l++)for(t=k[l],u=1,f=t.length;f>u;u++)if((a=t[u].element)[0].selected){if(r=a.val(),p&&(w[p]=r),C)for(g=0;gk;k++)if(""===E[k].value){d=b=E.eq(k);break}$.init(v,b,C),y&&(v.$isEmpty=function(t){return!t||0===t.length}),w?p(s,u,v):y?h(s,u,v):f(s,u,v,$)}}}}],Eo=["$interpolate",function(t){var e={addOption:d,removeOption:d};return{restrict:"E",priority:100,compile:function(n,r){if(g(r.value)){var i=t(n.text(),!0);i||r.$set("value",n.text())}return function(t,n,r){var o="$selectController",a=n.parent(),s=a.data(o)||a.parent().data(o);s&&s.databound?n.prop("selected",!1):s=e,i?t.$watch(i,function(t,e){r.$set("value",t),t!==e&&s.removeOption(e),s.addOption(t)}):s.addOption(r.value),n.on("$destroy",function(){s.removeOption(r.value)})}}}}],Ao=v({restrict:"E",terminal:!0});return t.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(te(),se(Ar),void yr(e).ready(function(){K(e,Y)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('')},{}]},{},["./src/book.coffee"]); \ No newline at end of file diff --git a/app/src/main/assets/dist/bundle.js b/app/src/main/assets/dist/bundle.js deleted file mode 100755 index 4709729..0000000 --- a/app/src/main/assets/dist/bundle.js +++ /dev/null @@ -1,4 +0,0 @@ -!function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return i(n?n:t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&e-1 in t}function o(t,e,n){var r;if(t)if(S(t))for(r in t)"prototype"==r||"length"==r||"name"==r||t.hasOwnProperty&&!t.hasOwnProperty(r)||e.call(n,t[r],r);else if(Tr(t)||i(t))for(r=0;r=0&&t.splice(n,1),e}function R(t,e,n,r){if(k(t)||E(t))throw Er("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(e){if(t===e)throw Er("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],y(t)){var i=j(n,t);if(-1!==i)return r[i];n.push(t),r.push(e)}var a;if(Tr(t)){e.length=0;for(var s=0;si;i++)if(!q(t[i],e[i]))return!1;return!0}}return!1}function V(t,e,n){return t.concat(Sr.call(e,n))}function U(t,e){return Sr.call(t,e||0)}function F(t,e){var n=arguments.length>2?U(arguments,2):[];return!S(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,n.concat(Sr.call(arguments,0))):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function I(t,r){var i=r;return"string"==typeof t&&"$"===t.charAt(0)?i=n:k(r)?i="$WINDOW":r&&e===r?i="$DOCUMENT":E(r)&&(i="$SCOPE"),i}function H(t,e){return"undefined"==typeof t?n:JSON.stringify(t,I,e?" ":null)}function L(t){return w(t)?JSON.parse(t):t}function B(t){if("function"==typeof t)t=!0;else if(t&&0!==t.length){var e=pr(""+t);t=!("f"==e||"0"==e||"false"==e||"no"==e||"n"==e||"[]"==e)}else t=!1;return t}function z(t){t=yr(t).clone();try{t.empty()}catch(e){}var n=3,r=yr("
").append(t).html();try{return t[0].nodeType===n?pr(r):r.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+pr(e)})}catch(e){return pr(r)}}function W(t){try{return decodeURIComponent(t)}catch(e){}}function Q(t){var e,n,r={};return o((t||"").split("&"),function(t){if(t&&(e=t.replace(/\+/g,"%20").split("="),n=W(e[0]),m(n))){var i=m(e[1])?W(e[1]):!0;dr.call(r,n)?Tr(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function J(t){var e=[];return o(t,function(t,n){Tr(t)?o(t,function(t){e.push(X(n,!0)+(t===!0?"":"="+X(t,!0)))}):e.push(X(n,!0)+(t===!0?"":"="+X(t,!0)))}),e.length?e.join("&"):""}function G(t){return X(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function X(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,e?"%20":"+")}function K(t,n){function r(t){t&&s.push(t)}var i,a,s=[t],u=["ng:app","ng-app","x-ng-app","data-ng-app"],c=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;o(u,function(n){u[n]=!0,r(e.getElementById(n)),n=n.replace(":","\\:"),t.querySelectorAll&&(o(t.querySelectorAll("."+n),r),o(t.querySelectorAll("."+n+"\\:"),r),o(t.querySelectorAll("["+n+"]"),r))}),o(s,function(t){if(!i){var e=" "+t.className+" ",n=c.exec(e);n?(i=t,a=(n[2]||"").replace(/\s+/g,",")):o(t.attributes,function(e){!i&&u[e.name]&&(i=t,a=e.value)})}}),i&&n(i,a?[a]:[])}function Y(n,r){var i=function(){if(n=yr(n),n.injector()){var t=n[0]===e?"document":z(n);throw Er("btstrpd","App Already Bootstrapped with this Element '{0}'",t.replace(//,">"))}r=r||[],r.unshift(["$provide",function(t){t.value("$rootElement",n)}]),r.unshift("ng");var i=je(r);return i.invoke(["$rootScope","$rootElement","$compile","$injector","$animate",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),i},a=/^NG_DEFER_BOOTSTRAP!/;return t&&!a.test(t.name)?i():(t.name=t.name.replace(a,""),void(Ar.resumeBootstrap=function(t){o(t,function(t){r.push(t)}),i()}))}function Z(t,e){return e=e||"_",t.replace(Pr,function(t,n){return(n?e:"")+t.toLowerCase()})}function te(){wr=t.jQuery,wr&&wr.fn.on?(yr=wr,f(wr.fn,{scope:Wr.scope,isolateScope:Wr.isolateScope,controller:Wr.controller,injector:Wr.injector,inheritedData:Wr.inheritedData}),le("remove",!0,!0,!1),le("empty",!1,!1,!1),le("html",!1,!1,!0)):yr=de,Ar.element=yr}function ee(t,e,n){if(!t)throw Er("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ne(t,e,n){return n&&Tr(t)&&(t=t[t.length-1]),ee(S(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function re(t,e){if("hasOwnProperty"===t)throw Er("badname","hasOwnProperty is not a valid {0} name",e)}function ie(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,a=i.length,s=0;a>s;s++)r=i[s],t&&(t=(o=t)[r]);return!n&&S(t)?F(o,t):t}function oe(t){var e=t[0],n=t[t.length-1];if(e===n)return yr(e);var r=e,i=[r];do{if(r=r.nextSibling,!r)break;i.push(r)}while(r!==n);return yr(i)}function ae(t){function e(t,e,n){return t[e]||(t[e]=n())}var n=r("$injector"),i=r("ng"),o=e(t,"angular",Object);return o.$$minErr=o.$$minErr||r,e(o,"module",function(){var t={};return function(r,o,a){var s=function(t,e){if("hasOwnProperty"===t)throw i("badname","hasOwnProperty is not a valid {0} name",e)};return s(r,"module"),o&&t.hasOwnProperty(r)&&(t[r]=null),e(t,r,function(){function t(t,n,r){return function(){return e[r||"push"]([t,n,arguments]),u}}if(!o)throw n("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var e=[],i=[],s=t("$injector","invoke"),u={_invokeQueue:e,_runBlocks:i,requires:o,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),config:s,run:function(t){return i.push(t),this}};return a&&s(a),u})}})}function se(e){f(e,{bootstrap:Y,copy:R,extend:f,equals:q,element:yr,forEach:o,injector:je,noop:d,bind:F,toJson:H,fromJson:L,identity:$,isUndefined:g,isDefined:m,isString:w,isFunction:S,isObject:y,isNumber:b,isElement:M,isArray:Tr,version:jr,isDate:x,lowercase:pr,uppercase:$r,callbacks:{counter:0},$$minErr:r,$$csp:Nr}),br=ae(t);try{br("ngLocale")}catch(n){br("ngLocale",[]).provider("$locale",nn)}br("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:Tn}),t.provider("$compile",Fe).directive({a:Ti,input:Fi,textarea:Fi,form:ji,script:xo,select:ko,style:Ao,option:Eo,ngBind:Yi,ngBindHtml:to,ngBindTemplate:Zi,ngClass:eo,ngClassEven:ro,ngClassOdd:no,ngCloak:io,ngController:oo,ngForm:Di,ngHide:vo,ngIf:so,ngInclude:uo,ngInit:lo,ngNonBindable:fo,ngPluralize:ho,ngRepeat:po,ngShow:$o,ngStyle:go,ngSwitch:mo,ngSwitchWhen:yo,ngSwitchDefault:wo,ngOptions:Co,ngTransclude:bo,ngModel:Wi,ngList:Gi,ngChange:Qi,required:Ji,ngRequired:Ji,ngValue:Ki}).directive({ngInclude:co}).directive(Mi).directive(ao),t.provider({$anchorScroll:De,$animate:ei,$browser:qe,$cacheFactory:Ve,$controller:Le,$document:Be,$exceptionHandler:ze,$filter:Fn,$interpolate:tn,$interval:en,$http:Xe,$httpBackend:Ye,$location:vn,$log:gn,$parse:Cn,$rootScope:On,$q:kn,$sce:Dn,$sceDelegate:jn,$sniffer:Rn,$templateCache:Ue,$timeout:_n,$window:Un,$$rAF:An,$$asyncCallback:Re})}])}function ue(){return++Rr}function ce(t){return t.replace(Vr,function(t,e,n,r){return r?n.toUpperCase():n}).replace(Ur,"Moz$1")}function le(t,e,n,r){function i(t){var i,a,s,u,c,l,f,h=n&&t?[this.filter(t)]:[this],p=e;if(!r||null!=t)for(;h.length;)for(i=h.shift(),a=0,s=i.length;s>a;a++)for(u=yr(i[a]),p?u.triggerHandler("$destroy"):p=!p,c=0,l=(f=u.children()).length;l>c;c++)h.push(wr(f[c]));return o.apply(this,arguments)}var o=wr.fn[t];o=o.$original||o,i.$original=o,wr.fn[t]=i}function fe(t){return!Hr.test(t)}function he(t,e){var n,r,i,o,a,s,u=e.createDocumentFragment(),c=[];if(fe(t))c.push(e.createTextNode(t));else{for(n=u.appendChild(e.createElement("div")),r=(Lr.exec(t)||["",""])[1].toLowerCase(),i=zr[r]||zr._default,n.innerHTML="
 
"+i[1]+t.replace(Br,"<$1>")+i[2],n.removeChild(n.firstChild),o=i[0];o--;)n=n.lastChild;for(a=0,s=n.childNodes.length;s>a;++a)c.push(n.childNodes[a]);n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",c}function pe(t,n){n=n||e;var r;return(r=Ir.exec(t))?[n.createElement(r[1])]:he(t,n)}function de(t){if(t instanceof de)return t;if(w(t)&&(t=Mr(t)),!(this instanceof de)){if(w(t)&&"<"!=t.charAt(0))throw Fr("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new de(t)}if(w(t)){Ce(this,pe(t));var n=yr(e.createDocumentFragment());n.append(this)}else Ce(this,t)}function $e(t){return t.cloneNode(!0)}function ve(t){me(t);for(var e=0,n=t.childNodes||[];e-1:!1}function xe(t,e){e&&t.setAttribute&&o(e.split(" "),function(e){t.setAttribute("class",Mr((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Mr(e)+" "," ")))})}function Se(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(e.split(" "),function(t){t=Mr(t),-1===n.indexOf(" "+t+" ")&&(n+=t+" ")}),t.setAttribute("class",Mr(n))}}function Ce(t,e){if(e){e=e.nodeName||!m(e.length)||k(e)?[e]:e;for(var n=0;no;o++)if((r=yr.data(t,i[o]))!==n)return r;t=t.parentNode||11===t.nodeType&&t.host}}function Ae(t){for(var e=0,n=t.childNodes;e=mr?(r.preventDefault=null,r.stopPropagation=null,r.isDefaultPrevented=null):(delete r.preventDefault,delete r.stopPropagation,delete r.isDefaultPrevented)};return r.elem=t,r}function Me(t,e){var r,i=typeof t;return"function"==i||"object"==i&&null!==t?"function"==typeof(r=t.$$hashKey)?r=t.$$hashKey():r===n&&(r=t.$$hashKey=(e||c)()):r=t,i+":"+r}function Ne(t,e){if(e){var n=0;this.nextUid=function(){return++n}}o(t,this.put,this)}function Pe(t){var e,n,r,i;return"function"==typeof t?(e=t.$inject)||(e=[],t.length&&(n=t.toString().replace(Yr,""),r=n.match(Gr),o(r[1].split(Xr),function(t){t.replace(Kr,function(t,n,r){e.push(r)})})),t.$inject=e):Tr(t)?(i=t.length-1,ne(t[i],"fn"),e=t.slice(0,i)):ne(t,"fn",!0),e}function je(t){function e(t){return function(e,n){return y(e)?void o(e,u(t)):t(e,n)}}function n(t,e){if(re(t,"service"),(S(e)||Tr(e))&&(e=b.instantiate(e)),!e.$get)throw Zr("pget","Provider '{0}' must define $get factory method.",t);return m[t+p]=e}function r(t,e){return n(t,{$get:e})}function i(t,e){return r(t,["$injector",function(t){return t.instantiate(e)}])}function a(t,e){return r(t,v(e))}function s(t,e){re(t,"constant"),m[t]=e,x[t]=e}function c(t,e){var n=b.get(t+p),r=n.$get;n.$get=function(){var t=C.invoke(r,n);return C.invoke(e,null,{$delegate:t})}}function l(t){var e,n,r,i,a=[];return o(t,function(t){if(!g.get(t)){g.put(t,!0);try{if(w(t))for(e=br(t),a=a.concat(l(e.requires)).concat(e._runBlocks),n=e._invokeQueue,r=0,i=n.length;i>r;r++){var o=n[r],s=b.get(o[0]);s[o[1]].apply(s,o[2])}else S(t)?a.push(b.invoke(t)):Tr(t)?a.push(b.invoke(t)):ne(t,"module")}catch(u){throw Tr(t)&&(t=t[t.length-1]),u.message&&u.stack&&-1==u.stack.indexOf(u.message)&&(u=u.message+"\n"+u.stack),Zr("modulerr","Failed to instantiate module {0} due to:\n{1}",t,u.stack||u.message||u)}}}),a}function f(t,e){function n(n){if(t.hasOwnProperty(n)){if(t[n]===h)throw Zr("cdep","Circular dependency found: {0}",n+" <- "+$.join(" <- "));return t[n]}try{return $.unshift(n),t[n]=h,t[n]=e(n)}catch(r){throw t[n]===h&&delete t[n],r}finally{$.shift()}}function r(t,e,r){var i,o,a,s=[],u=Pe(t);for(o=0,i=u.length;i>o;o++){if(a=u[o],"string"!=typeof a)throw Zr("itkn","Incorrect injection token! Expected service name as string, got {0}",a);s.push(r&&r.hasOwnProperty(a)?r[a]:n(a))}return Tr(t)&&(t=t[i]),t.apply(e,s)}function i(t,e){var n,i,o=function(){};return o.prototype=(Tr(t)?t[t.length-1]:t).prototype,n=new o,i=r(t,n,e),y(i)||S(i)?i:n}return{invoke:r,instantiate:i,get:n,annotate:Pe,has:function(e){return m.hasOwnProperty(e+p)||t.hasOwnProperty(e)}}}var h={},p="Provider",$=[],g=new Ne([],!0),m={$provide:{provider:e(n),factory:e(r),service:e(i),value:e(a),constant:e(s),decorator:c}},b=m.$injector=f(m,function(){throw Zr("unpr","Unknown provider: {0}",$.join(" <- "))}),x={},C=x.$injector=f(x,function(t){var e=b.get(t+p);return C.invoke(e.$get,e)});return o(l(t),function(t){C.invoke(t||d)}),C}function De(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(e,n,r){function i(t){var e=null;return o(t,function(t){e||"a"!==pr(t.nodeName)||(e=t)}),e}function a(){var t,r=n.hash();r?(t=s.getElementById(r))?t.scrollIntoView():(t=i(s.getElementsByName(r)))?t.scrollIntoView():"top"===r&&e.scrollTo(0,0):e.scrollTo(0,0)}var s=e.document;return t&&r.$watch(function(){return n.hash()},function(){r.$evalAsync(a)}),a}]}function Re(){this.$get=["$$rAF","$timeout",function(t,e){return t.supported?function(e){return t(e)}:function(t){return e(t,0,!1)}}]}function _e(t,e,r,i){function a(t){try{t.apply(null,U(arguments,1))}finally{if(m--,0===m)for(;y.length;)try{y.pop()()}catch(e){r.error(e)}}}function s(t,e){!function n(){o(x,function(t){t()}),b=e(n,t)}()}function u(){k=null,S!=c.url()&&(S=c.url(),o(E,function(t){t(c.url())}))}var c=this,l=e[0],f=t.location,h=t.history,p=t.setTimeout,$=t.clearTimeout,v={};c.isMock=!1;var m=0,y=[];c.$$completeOutstandingRequest=a,c.$$incOutstandingRequestCount=function(){m++},c.notifyWhenNoOutstandingRequests=function(t){o(x,function(t){t()}),0===m?t():y.push(t)};var b,x=[];c.addPollFn=function(t){return g(b)&&s(100,p),x.push(t),t};var S=f.href,C=e.find("base"),k=null;c.url=function(e,n){if(f!==t.location&&(f=t.location),h!==t.history&&(h=t.history),e){if(S==e)return;return S=e,i.history?n?h.replaceState(null,"",e):(h.pushState(null,"",e),C.attr("href",C.attr("href"))):(k=e,n?f.replace(e):f.href=e),c}return k||f.href.replace(/%27/g,"'")};var E=[],A=!1;c.onUrlChange=function(e){return A||(i.history&&yr(t).on("popstate",u),i.hashchange?yr(t).on("hashchange",u):c.addPollFn(u),A=!0),E.push(e),e},c.baseHref=function(){var t=C.attr("href");return t?t.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var O={},T="",M=c.baseHref();c.cookies=function(t,e){var i,o,a,s,u;if(!t){if(l.cookie!==T)for(T=l.cookie,o=T.split("; "),O={},s=0;s0&&(t=unescape(a.substring(0,u)),O[t]===n&&(O[t]=unescape(a.substring(u+1))));return O}e===n?l.cookie=escape(t)+"=;path="+M+";expires=Thu, 01 Jan 1970 00:00:00 GMT":w(e)&&(i=(l.cookie=escape(t)+"="+escape(e)+";path="+M).length+1,i>4096&&r.warn("Cookie '"+t+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"))},c.defer=function(t,e){var n;return m++,n=p(function(){delete v[n],a(t)},e||0),v[n]=!0,n},c.defer.cancel=function(t){return v[t]?(delete v[t],$(t),a(d),!0):!1}}function qe(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new _e(t,r,e,n)}]}function Ve(){this.$get=function(){function t(t,n){function i(t){t!=h&&(p?p==t&&(p=t.n):p=t,o(t.n,t.p),o(t,h),h=t,h.n=null)}function o(t,e){t!=e&&(t&&(t.p=e),e&&(e.n=t))}if(t in e)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var a=0,s=f({},n,{id:t}),u={},c=n&&n.capacity||Number.MAX_VALUE,l={},h=null,p=null;return e[t]={put:function(t,e){if(cc&&this.remove(p.key),e},get:function(t){if(c").parent()[0])});var a=O(t,e,t,n,r,i);return A(t,"ng-scope"),function(e,n,r,i){ee(e,"scope");var s=n?Wr.clone.call(t):t;o(r,function(t,e){s.data("$"+e+"Controller",t)});for(var u=0,c=s.length;c>u;u++){var l=s[u],f=l.nodeType;(1===f||9===f)&&s.eq(u).data("$scope",e)}return n&&n(s,e),a&&a(e,s,s,i),s}}function A(t,e){try{t.addClass(e)}catch(n){}}function O(t,e,r,i,o,a){function s(t,r,i,o){var a,s,u,c,l,f,h,p,$=r.length,v=new Array($);for(l=0;$>l;l++)v[l]=r[l];for(l=0,h=0,f=d.length;f>l;h++)u=v[h],a=d[l++],s=d[l++],a?(a.scope?(c=t.$new(),yr.data(u,"$scope",c)):c=t,p=a.transcludeOnThisElement?T(t,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&e?T(t,e):null,a(s,c,u,i,p)):s&&s(t,u.childNodes,n,o)}for(var u,c,l,f,h,p,d=[],$=0;$m;m++){var b=!1,x=!1;if(f=g[m],!mr||mr>=8||f.specified){h=f.name,$=Mr(f.value),d=Ie(h),(v=te.test(d))&&(h=Z(d.substr(6),"-"));var S=d.replace(/(Start|End)$/,"");d===S+"Start"&&(b=h,x=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),p=Ie(h.toLowerCase()),l[p]=h,(v||!n.hasOwnProperty(p))&&(n[p]=$,Oe(t,p)&&(n[p]=!0)),W(t,e,$,p),R(e,p,"A",r,i,b,x)}}if(a=t.className,w(a)&&""!==a)for(;o=c.exec(a);)p=Ie(o[2]),R(e,p,"C",r,i)&&(n[p]=Mr(o[3])),a=a.substr(o.index+o[0].length);break;case 3:L(e,t.nodeValue);break;case 8:try{o=s.exec(t.nodeValue),o&&(p=Ie(o[1]),R(e,p,"M",r,i)&&(n[p]=Mr(o[2])))}catch(C){}}return e.sort(I),e}function N(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e)){do{if(!t)throw ni("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);1==t.nodeType&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0)}else r.push(t);return yr(r)}function P(t,e,n){return function(r,i,o,a,s){return i=N(i[0],e,n),t(r,i,o,a,s)}}function j(t,i,a,s,c,l,f,h,p){function d(t,e,n,r){t&&(n&&(t=P(t,n,r)),t.require=x.require,t.directiveName=C,(I===x||x.$$isolateScope)&&(t=J(t,{isolateScope:!0})),f.push(t)),e&&(n&&(e=P(e,n,r)),e.require=x.require,e.directiveName=C,(I===x||x.$$isolateScope)&&(e=J(e,{isolateScope:!0})),h.push(e))}function $(t,e,n,r){var i,a="data",s=!1;if(w(e)){for(;"^"==(i=e.charAt(0))||"?"==i;)e=e.substr(1),"^"==i&&(a="inheritedData"),s=s||"?"==i;if(i=null,r&&"data"===a&&(i=r[e]),i=i||n[a]("$"+e+"Controller"),!i&&!s)throw ni("ctreq","Controller '{0}', required by directive '{1}', can't be found!",e,t);return i}return Tr(e)&&(i=[],o(e,function(e){i.push($(t,e,n,r))})),i}function m(t,e,s,c,l){function p(t,e){var r;return arguments.length<2&&(e=t,t=n),K&&(r=k),l(t,e,r)}var d,m,y,w,b,x,S,C,k={};if(d=i===s?a:_(a,new G(yr(s),a.$attr)),m=d.$$element,I){var E=/^\s*([@=&])(\??)\s*(\w*)\s*$/;S=e.$new(!0),!L||L!==I&&L!==I.$$originalDirective?m.data("$isolateScopeNoTemplate",S):m.data("$isolateScope",S),A(m,"ng-isolate-scope"),o(I.scope,function(t,n){var i,o,a,s,u=t.match(E)||[],c=u[3]||n,l="?"==u[2],f=u[1];switch(S.$$isolateBindings[n]=f+c,f){case"@":d.$observe(c,function(t){S[n]=t}),d.$$observers[c].$$scope=e,d[c]&&(S[n]=r(d[c])(e));break;case"=":if(l&&!d[c])return;o=v(d[c]),s=o.literal?q:function(t,e){return t===e||t!==t&&e!==e},a=o.assign||function(){throw i=S[n]=o(e),ni("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",d[c],I.name)},i=S[n]=o(e),S.$watch(function(){var t=o(e);return s(t,S[n])||(s(t,i)?a(e,t=S[n]):S[n]=t),i=t},null,o.literal);break;case"&":o=v(d[c]),S[n]=function(t){return o(e,t)};break;default:throw ni("iscp","Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}",I.name,n,t)}})}for(C=l&&p,R&&o(R,function(t){var n,r={$scope:t===I||t.$$isolateScope?S:e,$element:m,$attrs:d,$transclude:C};x=t.controller,"@"==x&&(x=d[t.name]),n=g(x,r),k[t.name]=n,K||m.data("$"+t.name+"Controller",n),t.controllerAs&&(r.$scope[t.controllerAs]=n)}),y=0,w=f.length;w>y;y++)try{b=f[y],b(b.isolateScope?S:e,m,d,b.require&&$(b.directiveName,b.require,m,k),C)}catch(O){u(O,z(m))}var T=e;for(I&&(I.template||null===I.templateUrl)&&(T=S),t&&t(T,s.childNodes,n,l),y=h.length-1;y>=0;y--)try{b=h[y],b(b.isolateScope?S:e,m,d,b.require&&$(b.directiveName,b.require,m,k),C)}catch(O){u(O,z(m))}}p=p||{};for(var b,x,C,k,O,T,j=-Number.MAX_VALUE,R=p.controllerDirectives,I=p.newIsolateScopeDirective,L=p.templateDirective,B=p.nonTlbTranscludeDirective,W=!1,X=!1,K=p.hasElementTranscludeDirective,Z=a.$$element=yr(i),te=l,ee=s,ne=0,re=t.length;re>ne;ne++){x=t[ne];var ie=x.$$start,oe=x.$$end;if(ie&&(Z=N(i,ie,oe)),k=n,j>x.priority)break;if((T=x.scope)&&(b=b||x,x.templateUrl||(H("new/isolated scope",I,x,Z),y(T)&&(I=x))),C=x.name,!x.templateUrl&&x.controller&&(T=x.controller,R=R||{},H("'"+C+"' controller",R[C],x,Z),R[C]=x),(T=x.transclude)&&(W=!0,x.$$tlb||(H("transclusion",B,x,Z),B=x),"element"==T?(K=!0,j=x.priority,k=Z,Z=a.$$element=yr(e.createComment(" "+C+": "+a[C]+" ")),i=Z[0],Q(c,U(k),i),ee=E(k,s,j,te&&te.name,{nonTlbTranscludeDirective:B})):(k=yr($e(i)).contents(),Z.empty(),ee=E(k,s))),x.template)if(X=!0,H("template",L,x,Z),L=x,T=S(x.template)?x.template(Z,a):x.template,T=Y(T),x.replace){if(te=x,k=fe(T)?[]:yr(Mr(T)),i=k[0],1!=k.length||1!==i.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",C,"");Q(c,Z,i);var ae={$attr:{}},se=M(i,[],ae),ue=t.splice(ne+1,t.length-(ne+1));I&&D(se),t=t.concat(se).concat(ue),V(a,ae),re=t.length}else Z.html(T);if(x.templateUrl)X=!0,H("template",L,x,Z),L=x,x.replace&&(te=x),m=F(t.splice(ne,t.length-ne),Z,a,c,W&&ee,f,h,{controllerDirectives:R,newIsolateScopeDirective:I,templateDirective:L,nonTlbTranscludeDirective:B}),re=t.length;else if(x.compile)try{O=x.compile(Z,a,ee),S(O)?d(null,O,ie,oe):O&&d(O.pre,O.post,ie,oe)}catch(ce){u(ce,z(Z))}x.terminal&&(m.terminal=!0,j=Math.max(j,x.priority))}return m.scope=b&&b.scope===!0,m.transcludeOnThisElement=W,m.templateOnThisElement=X,m.transclude=ee,p.hasElementTranscludeDirective=K,m}function D(t){for(var e=0,n=t.length;n>e;e++)t[e]=p(t[e],{$$isolateScope:!0})}function R(e,r,o,s,c,l,f){if(r===c)return null;var h=null;if(i.hasOwnProperty(r))for(var d,$=t.get(r+a),v=0,g=$.length;g>v;v++)try{d=$[v],(s===n||s>d.priority)&&-1!=d.restrict.indexOf(o)&&(l&&(d=p(d,{$$start:l,$$end:f})),e.push(d),h=d)}catch(m){u(m)}return h}function V(t,e){var n=e.$attr,r=t.$attr,i=t.$$element;o(t,function(r,i){"$"!=i.charAt(0)&&(e[i]&&e[i]!==r&&(r+=("style"===i?";":" ")+e[i]),t.$set(i,r,!0,n[i]))}),o(e,function(e,o){"class"==o?(A(i,e),t["class"]=(t["class"]?t["class"]+" ":"")+e):"style"==o?(i.attr("style",i.attr("style")+";"+e),t.style=(t.style?t.style+";":"")+e):"$"==o.charAt(0)||t.hasOwnProperty(o)||(t[o]=e,r[o]=n[o])})}function F(t,e,n,r,i,a,s,u){var c,l,p=[],$=e[0],v=t.shift(),g=f({},v,{templateUrl:null,transclude:null,replace:null,$$originalDirective:v}),m=S(v.templateUrl)?v.templateUrl(e,n):v.templateUrl;return e.empty(),h.get(x.getTrustedResourceUrl(m),{cache:d}).success(function(f){var h,d,w,b;if(f=Y(f),v.replace){if(w=fe(f)?[]:yr(Mr(f)),h=w[0],1!=w.length||1!==h.nodeType)throw ni("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v.name,m);d={$attr:{}},Q(r,e,h);var x=M(h,[],d);y(v.scope)&&D(x),t=x.concat(t),V(n,d)}else h=$,e.html(f);for(t.unshift(g),c=j(t,h,n,i,e,v,a,s,u),o(r,function(t,n){t==h&&(r[n]=e[0])}),l=O(e[0].childNodes,i);p.length;){var S=p.shift(),C=p.shift(),k=p.shift(),E=p.shift(),N=e[0];if(C!==$){var P=C.className;u.hasElementTranscludeDirective&&v.replace||(N=$e(h)),Q(k,yr(C),N),A(yr(N),P)}b=c.transcludeOnThisElement?T(S,c.transclude,E):E,c(l,S,N,r,b)}p=null}).error(function(t,e,n,r){throw ni("tpload","Failed to load template: {0}",r.url)}),function(t,e,n,r,i){var o=i;p?(p.push(e),p.push(n),p.push(r),p.push(o)):(c.transcludeOnThisElement&&(o=T(e,c.transclude,i)),c(l,e,n,r,o))}}function I(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.namei;i++)if(t[i]==a){t[i++]=r;for(var c=i,l=c+s-1,f=t.length;f>c;c++,l++)f>l?t[c]=t[l]:delete t[c];t.length-=s-1;break}u&&u.replaceChild(r,a);var h=e.createDocumentFragment();h.appendChild(a),r[yr.expando]=a[yr.expando];for(var p=1,d=n.length;d>p;p++){var $=n[p];yr($).remove(),h.appendChild($),delete n[p]}n[0]=r,n.length=1}function J(t,e){return f(function(){return t.apply(null,arguments)},t,e)}var G=function(t,e){this.$$element=t,this.$attr=e||{}};G.prototype={$normalize:Ie,$addClass:function(t){t&&t.length>0&&C.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&C.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=He(t,e),r=He(e,t);0===n.length?C.removeClass(this.$$element,r):0===r.length?C.addClass(this.$$element,n):C.setClass(this.$$element,n,r)},$set:function(t,e,r,i){var a,s=Oe(this.$$element[0],t);s&&(this.$$element.prop(t,e),i=s),this[t]=e,i?this.$attr[t]=i:(i=this.$attr[t],i||(this.$attr[t]=i=Z(t,"-"))),a=xr(this.$$element),("A"===a&&"href"===t||"IMG"===a&&"src"===t)&&(this[t]=e=k(e,"src"===t)),r!==!1&&(null===e||e===n?this.$$element.removeAttr(i):this.$$element.attr(i,e));var c=this.$$observers;c&&o(c[t],function(t){try{t(e)}catch(n){u(n)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers={}),i=r[t]||(r[t]=[]);return i.push(e),m.$evalAsync(function(){i.$$inter||e(n[t])}),e}};var X=r.startSymbol(),K=r.endSymbol(),Y="{{"==X||"}}"==K?$:function(t){return t.replace(/\{\{/g,X).replace(/}}/g,K)},te=/^ngAttr[A-Z]/;return E}]}function Ie(t){return ce(t.replace(ri,""))}function He(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o0?" ":"")+a}return n}function Le(){var t={},e=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(e,n){re(e,"controller"),y(e)?f(t,e):t[e]=n},this.$get=["$injector","$window",function(n,i){return function(o,a){var s,u,c,l;if(w(o)&&(u=o.match(e),c=u[1],l=u[3],o=t.hasOwnProperty(c)?t[c]:ie(a.$scope,c,!0)||ie(i,c,!0),ne(o,c,!0)),s=n.instantiate(o,a),l){if(!a||"object"!=typeof a.$scope)throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",c||o.name,l);a.$scope[l]=s}return s}}]}function Be(){this.$get=["$window",function(t){return yr(t.document)}]}function ze(){this.$get=["$log",function(t){return function(){t.error.apply(t,arguments)}}]}function We(t){var e,n,r,i={};return t?(o(t.split("\n"),function(t){r=t.indexOf(":"),e=pr(Mr(t.substr(0,r))),n=Mr(t.substr(r+1)),e&&(i[e]=i[e]?i[e]+", "+n:n)}),i):i}function Qe(t){var e=y(t)?t:n;return function(n){return e||(e=We(t)),n?e[pr(n)]||null:e}}function Je(t,e,n){return S(n)?n(t,e):(o(n,function(n){t=n(t,e)}),t)}function Ge(t){return t>=200&&300>t}function Xe(){var t=/^\s*(\[|\{[^\{])/,e=/[\}\]]\s*$/,r=/^\)\]\}',?\n/,i={"Content-Type":"application/json;charset=utf-8"},a=this.defaults={transformResponse:[function(n){return w(n)&&(n=n.replace(r,""),t.test(n)&&e.test(n)&&(n=L(n))),n}],transformRequest:[function(t){return!y(t)||A(t)||O(t)?t:H(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:_(i),put:_(i),patch:_(i)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},u=this.interceptors=[],c=this.responseInterceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(t,e,r,i,l,h){function p(t){function e(t){var e=f({},t,{data:Je(t.data,t.headers,i.transformResponse)});return Ge(t.status)?e:l.reject(e)}function r(t){function e(t){var e;o(t,function(n,r){S(n)&&(e=n(),null!=e?t[r]=e:delete t[r])})}var n,r,i,s=a.headers,u=f({},t.headers);s=f({},s.common,s[pr(t.method)]);t:for(n in s){r=pr(n);for(i in u)if(pr(i)===r)continue t;u[n]=s[n]}return e(u),u}var i={method:"get",transformRequest:a.transformRequest,transformResponse:a.transformResponse},s=r(t);f(i,t),i.headers=s,i.method=$r(i.method);var u=function(t){s=t.headers;var n=Je(t.data,Qe(s),t.transformRequest);return g(n)&&o(s,function(t,e){"content-type"===pr(e)&&delete s[e]}),g(t.withCredentials)&&!g(a.withCredentials)&&(t.withCredentials=a.withCredentials),v(t,n,s).then(e,e)},c=[u,n],h=l.when(i);for(o(k,function(t){(t.request||t.requestError)&&c.unshift(t.request,t.requestError),(t.response||t.responseError)&&c.push(t.response,t.responseError)});c.length;){var p=c.shift(),d=c.shift();h=h.then(p,d)}return h.success=function(t){return h.then(function(e){t(e.data,e.status,e.headers,i)}),h},h.error=function(t){return h.then(null,function(e){t(e.data,e.status,e.headers,i)}),h},h}function d(){o(arguments,function(t){p[t]=function(e,n){return p(f(n||{},{method:t,url:e}))}})}function $(){o(arguments,function(t){p[t]=function(e,n,r){return p(f(r||{},{method:t,url:e,data:n}))}})}function v(r,o,s){function u(t,e,n,r){h&&(Ge(t)?h.put(w,[t,e,We(n),r]):h.remove(w)),c(e,t,n,r),i.$$phase||i.$apply()}function c(t,e,n,i){e=Math.max(e,0),(Ge(e)?$.resolve:$.reject)({data:t,status:e,headers:Qe(n),config:r,statusText:i})}function f(){var t=j(p.pendingRequests,r);-1!==t&&p.pendingRequests.splice(t,1)}var h,d,$=l.defer(),v=$.promise,w=b(r.url,r.params);if(p.pendingRequests.push(r),v.then(f,f),!r.cache&&!a.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(h=y(r.cache)?r.cache:y(a.cache)?a.cache:C),h)if(d=h.get(w),m(d)){if(T(d))return d.then(f,f),d;Tr(d)?c(d[1],d[0],_(d[2]),d[3]):c(d,200,{},"OK")}else h.put(w,v);if(g(d)){var x=Vn(r.url)?e.cookies()[r.xsrfCookieName||a.xsrfCookieName]:n;x&&(s[r.xsrfHeaderName||a.xsrfHeaderName]=x),t(r.method,w,o,u,s,r.timeout,r.withCredentials,r.responseType)}return v}function b(t,e){if(!e)return t;var n=[];return s(e,function(t,e){null===t||g(t)||(Tr(t)||(t=[t]),o(t,function(t){y(t)&&(x(t)?t=t.toISOString():y(t)&&(t=H(t))),n.push(X(e)+"="+X(t))}))}),n.length>0&&(t+=(-1==t.indexOf("?")?"?":"&")+n.join("&")),t}var C=r("$http"),k=[];return o(u,function(t){k.unshift(w(t)?h.get(t):h.invoke(t))}),o(c,function(t,e){var n=w(t)?h.get(t):h.invoke(t);k.splice(e,0,{response:function(t){return n(l.when(t))},responseError:function(t){return n(l.reject(t))}})}),p.pendingRequests=[],d("get","delete","head","jsonp"),$("post","put"),p.defaults=a,p}]}function Ke(e){if(8>=mr&&(!e.match(/^(get|post|head|put|delete|options)$/i)||!t.XMLHttpRequest))return new t.ActiveXObject("Microsoft.XMLHTTP");if(t.XMLHttpRequest)return new t.XMLHttpRequest;throw r("$httpBackend")("noxhr","This browser does not support XMLHttpRequest.")}function Ye(){this.$get=["$browser","$window","$document",function(t,e,n){return Ze(t,Ke,t.defer,e.angular.callbacks,n[0])}]}function Ze(t,e,n,r,i){function a(t,e,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=t,o.async=!0,a=function(t){qr(o,"load",a),qr(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";t&&("load"!==t.type||r[e].called||(t={type:"error"}),u=t.type,s="error"===t.type?404:200),n&&n(s,u)},_r(o,"load",a),_r(o,"error",a),8>=mr&&(o.onreadystatechange=function(){w(o.readyState)&&/loaded|complete/.test(o.readyState)&&(o.onreadystatechange=null,a({type:"load"}))}),i.body.appendChild(o),a}var s=-1;return function(i,u,c,l,f,h,p,$){function v(){y=s,b&&b(),x&&x.abort()}function g(e,r,i,o,a){C&&n.cancel(C),b=x=null,0===r&&(r=i?200:"file"==qn(u).protocol?404:0),r=1223===r?204:r,a=a||"",e(r,i,o,a),t.$$completeOutstandingRequest(d)}var y;if(t.$$incOutstandingRequestCount(),u=u||t.url(),"jsonp"==pr(i)){var w="_"+(r.counter++).toString(36);r[w]=function(t){r[w].data=t,r[w].called=!0};var b=a(u.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(t,e){g(l,t,r[w].data,"",e),r[w]=d})}else{var x=e(i);if(x.open(i,u,!0),o(f,function(t,e){m(t)&&x.setRequestHeader(e,t)}),x.onreadystatechange=function(){if(x&&4==x.readyState){var t=null,e=null,n="";y!==s&&(t=x.getAllResponseHeaders(),e="response"in x?x.response:x.responseText),y===s&&10>mr||(n=x.statusText),g(l,y||x.status,e,t,n)}},p&&(x.withCredentials=!0),$)try{x.responseType=$}catch(S){if("json"!==$)throw S}x.send(c||null)}if(h>0)var C=n(v,h);else T(h)&&h.then(v)}}function tn(){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(o,u,c){for(var l,f,h,p,d=0,$=[],v=o.length,g=!1,m=[];v>d;)-1!=(l=o.indexOf(t,d))&&-1!=(f=o.indexOf(e,l+a))?(d!=l&&$.push(o.substring(d,l)),$.push(h=n(p=o.substring(l+a,f))),h.exp=p,d=f+s,g=!0):(d!=v&&$.push(o.substring(d)),d=v);if((v=$.length)||($.push(""),v=1),c&&$.length>1)throw ii("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",o);return!u||g?(m.length=v,h=function(t){try{for(var e,n=0,a=v;a>n;n++){if("function"==typeof(e=$[n]))if(e=e(t),e=c?i.getTrusted(c,e):i.valueOf(e),null==e)e="";else switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=H(e)}m[n]=e}return m.join("")}catch(s){var u=ii("interr","Can't interpolate: {0}\n{1}",o,s.toString());r(u)}},h.exp=o,h.parts=$,h):void 0}var a=t.length,s=e.length;return o.startSymbol=function(){return t},o.endSymbol=function(){return e},o}]}function en(){this.$get=["$rootScope","$window","$q",function(t,e,n){function r(r,o,a,s){var u=e.setInterval,c=e.clearInterval,l=n.defer(),f=l.promise,h=0,p=m(s)&&!s;return a=m(a)?a:0,f.then(null,null,r),f.$$intervalId=u(function(){l.notify(h++),a>0&&h>=a&&(l.resolve(h),c(f.$$intervalId),delete i[f.$$intervalId]),p||t.$apply()},o),i[f.$$intervalId]=l,f}var i={};return r.cancel=function(t){return t&&t.$$intervalId in i?(i[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete i[t.$$intervalId],!0):!1},r}]}function nn(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(t){return 1===t?"one":"other"}}}}function rn(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=G(e[n]);return e.join("/")}function on(t,e,n){var r=qn(t,n);e.$$protocol=r.protocol,e.$$host=r.hostname,e.$$port=h(r.port)||ai[r.protocol]||null}function an(t,e,n){var r="/"!==t.charAt(0);r&&(t="/"+t);var i=qn(t,n);e.$$path=decodeURIComponent(r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),e.$$search=Q(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function sn(t,e){return 0===e.indexOf(t)?e.substr(t.length):void 0}function un(t){var e=t.indexOf("#");return-1==e?t:t.substr(0,e)}function cn(t){return t.substr(0,un(t).lastIndexOf("/")+1)}function ln(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function fn(t,e){this.$$html5=!0,e=e||"";var r=cn(t);on(t,this,t),this.$$parse=function(e){var n=sn(r,e);if(!w(n))throw si("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,r);an(n,this,t),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=J(this.$$search),e=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(t?"?"+t:"")+e,this.$$absUrl=r+this.$$url.substr(1)},this.$$rewrite=function(i){var o,a;return(o=sn(t,i))!==n?(a=o,(o=sn(e,o))!==n?r+(sn("/",o)||o):t+a):(o=sn(r,i))!==n?r+o:r==i+"/"?r:void 0}}function hn(t,e){var n=cn(t);on(t,this,t),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=sn(t,r)||sn(n,r),a="#"==o.charAt(0)?sn(e,o):this.$$html5?o:"";if(!w(a))throw si("ihshprfx",'Invalid url "{0}", missing hash prefix "{1}".',r,e);an(a,this,t),this.$$path=i(this.$$path,a,t),this.$$compose()},this.$$compose=function(){var n=J(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=t+(this.$$url?e+this.$$url:"")},this.$$rewrite=function(e){return un(t)==un(e)?e:void 0}}function pn(t,e){this.$$html5=!0,hn.apply(this,arguments);var n=cn(t);this.$$rewrite=function(r){var i;return t==un(r)?r:(i=sn(n,r))?t+e+i:n===r+"/"?n:void 0},this.$$compose=function(){var n=J(this.$$search),r=this.$$hash?"#"+G(this.$$hash):"";this.$$url=rn(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=t+e+this.$$url}}function dn(t){return function(){return this[t]}}function $n(t,e){return function(n){return g(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function vn(){var e="",n=!1;this.hashPrefix=function(t){return m(t)?(e=t,this):e},this.html5Mode=function(t){return m(t)?(n=t,this):n},this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(r,i,o,a){function s(t){r.$broadcast("$locationChangeSuccess",u.absUrl(),t)}var u,c,l,f=i.baseHref(),h=i.url();n?(l=ln(h)+(f||"/"),c=o.history?fn:pn):(l=un(h),c=hn),u=new c(l,"#"+e),u.$$parse(u.$$rewrite(h));var p=/^\s*(javascript|mailto):/i;a.on("click",function(n){if(!n.ctrlKey&&!n.metaKey&&2!=n.which){for(var o=yr(n.target);"a"!==pr(o[0].nodeName);)if(o[0]===a[0]||!(o=o.parent())[0])return;var s=o.prop("href");if(y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=qn(s.animVal).href),!p.test(s)){if(c===pn){var f=o.attr("href")||o.attr("xlink:href");if(f&&f.indexOf("://")<0){var h="#"+e;if("/"==f[0])s=l+h+f;else if("#"==f[0])s=l+h+(u.path()||"/")+f;else{var d=u.path().split("/"),$=f.split("/");2!==d.length||d[1]||(d.length=1);for(var v=0;v<$.length;v++)"."!=$[v]&&(".."==$[v]?d.pop():$[v].length&&d.push($[v]));s=l+h+d.join("/")}}}var g=u.$$rewrite(s);s&&!o.attr("target")&&g&&!n.isDefaultPrevented()&&(n.preventDefault(),g!=i.url()&&(u.$$parse(g),r.$apply(),t.angular["ff-684208-preventDefault"]=!0))}}}),u.absUrl()!=h&&i.url(u.absUrl(),!0),i.onUrlChange(function(t){u.absUrl()!=t&&(r.$evalAsync(function(){var e=u.absUrl();u.$$parse(t),r.$broadcast("$locationChangeStart",t,e).defaultPrevented?(u.$$parse(e),i.url(e)):s(e)}),r.$$phase||r.$digest())});var d=0;return r.$watch(function(){var t=i.url(),e=u.$$replace;return d&&t==u.absUrl()||(d++,r.$evalAsync(function(){r.$broadcast("$locationChangeStart",u.absUrl(),t).defaultPrevented?u.$$parse(t):(i.url(u.absUrl(),e),s(t))})),u.$$replace=!1,d}),u}]}function gn(){var t=!0,e=this;this.debugEnabled=function(e){return m(e)?(t=e,this):t},this.$get=["$window",function(n){function r(t){return t instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"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||d,a=!1;try{a=!!i.apply}catch(s){}return a?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 mn(t,e){if("__defineGetter__"===t||"__defineSetter__"===t||"__lookupGetter__"===t||"__lookupSetter__"===t||"__proto__"===t)throw ci("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",e);return t}function yn(t,e){if(t){if(t.constructor===t)throw ci("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t.document&&t.location&&t.alert&&t.setInterval)throw ci("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw ci("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",e);if(t===Object)throw ci("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",e)}return t}function wn(t,e){if(t){if(t.constructor===t)throw ci("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",e);if(t===fi||t===hi||pi&&t===pi)throw ci("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",e)}}function bn(t,e,r,i,o){o=o||{};for(var a,s=e.split("."),u=0;s.length>1;u++){a=mn(s.shift(),i);var c=t[a];c||(c={},t[a]=c),t=c,t.then&&o.unwrapPromises&&(ui(i),"$$v"in t||!function(t){t.then(function(e){t.$$v=e})}(t),t.$$v===n&&(t.$$v={}),t=t.$$v)}return a=mn(s.shift(),i),yn(t,i),yn(t[a],i),t[a]=r,r}function xn(t,e,r,i,o,a,s){return mn(t,a),mn(e,a),mn(r,a),mn(i,a),mn(o,a),s.unwrapPromises?function(s,u){var c,l=u&&u.hasOwnProperty(t)?u:s;return null==l?l:(l=l[t],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),e?null==l?n:(l=l[e],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),r?null==l?n:(l=l[r],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),i?null==l?n:(l=l[i],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),o?null==l?n:(l=l[o],l&&l.then&&(ui(a),"$$v"in l||(c=l,c.$$v=n,c.then(function(t){c.$$v=t})),l=l.$$v),l):l):l):l):l)}:function(a,s){var u=s&&s.hasOwnProperty(t)?s:a;return null==u?u:(u=u[t],e?null==u?n:(u=u[e],r?null==u?n:(u=u[r],i?null==u?n:(u=u[i],o?null==u?n:u=u[o]:u):u):u):u)}}function Sn(t,e,r){if(mi.hasOwnProperty(t))return mi[t];var i,a=t.split("."),s=a.length;if(e.csp)i=6>s?xn(a[0],a[1],a[2],a[3],a[4],r,e):function(t,i){var o,u=0;do o=xn(a[u++],a[u++],a[u++],a[u++],a[u++],r,e)(t,i),i=n,t=o;while(s>u);return o};else{var u="var p;\n";o(a,function(t,n){mn(t,r),u+="if(s == null) return undefined;\ns="+(n?"s":'((k&&k.hasOwnProperty("'+t+'"))?k:s)')+'["'+t+'"];\n'+(e.unwrapPromises?'if (s && s.then) {\n pw("'+r.replace(/(["\r\n])/g,"\\$1")+'");\n if (!("$$v" in s)) {\n p=s;\n p.$$v = undefined;\n p.then(function(v) {p.$$v=v;});\n}\n s=s.$$v\n}\n':"")}),u+="return s;";var c=new Function("s","k","pw",u);c.toString=v(u),i=e.unwrapPromises?function(t,e){return c(t,e,ui)}:c}return"hasOwnProperty"!==t&&(mi[t]=i),i}function Cn(){var t={},e={csp:!1,unwrapPromises:!1,logPromiseWarnings:!0};this.unwrapPromises=function(t){return m(t)?(e.unwrapPromises=!!t,this):e.unwrapPromises},this.logPromiseWarnings=function(t){return m(t)?(e.logPromiseWarnings=t,this):e.logPromiseWarnings},this.$get=["$filter","$sniffer","$log",function(n,r,i){return e.csp=r.csp,ui=function(t){e.logPromiseWarnings&&!li.hasOwnProperty(t)&&(li[t]=!0,i.warn("[$parse] Promise found in the expression `"+t+"`. Automatic unwrapping of promises in Angular expressions is deprecated."))},function(r){var i;switch(typeof r){case"string":if(t.hasOwnProperty(r))return t[r];var o=new vi(e),a=new gi(o,n,e);return i=a.parse(r),"hasOwnProperty"!==r&&(t[r]=i),i;case"function":return r;default:return d}}}]}function kn(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return En(function(e){t.$evalAsync(e)},e)}]}function En(t,e){function r(t){return t}function i(t){return c(t)}function a(t){var e=s(),n=0,r=Tr(t)?[]:{};return o(t,function(t,i){n++,u(t).then(function(t){r.hasOwnProperty(i)||(r[i]=t,--n||e.resolve(r))},function(t){r.hasOwnProperty(i)||e.reject(t)})}),0===n&&e.resolve(r),e.promise}var s=function(){var o,a,c=[];return a={resolve:function(e){if(c){var r=c;c=n,o=u(e),r.length&&t(function(){for(var t,e=0,n=r.length;n>e;e++)t=r[e],o.then(t[0],t[1],t[2])})}},reject:function(t){a.resolve(l(t))},notify:function(e){if(c){var n=c;c.length&&t(function(){for(var t,r=0,i=n.length;i>r;r++)t=n[r],t[2](e)})}},promise:{then:function(t,n,a){var u=s(),l=function(n){try{u.resolve((S(t)?t:r)(n))}catch(i){u.reject(i),e(i)}},f=function(t){try{u.resolve((S(n)?n:i)(t))}catch(r){u.reject(r),e(r)}},h=function(t){try{u.notify((S(a)?a:r)(t))}catch(n){e(n)}};return c?c.push([l,f,h]):o.then(l,f,h),u.promise},"catch":function(t){return this.then(null,t)},"finally":function(t){function e(t,e){var n=s();return e?n.resolve(t):n.reject(t),n.promise}function n(n,i){var o=null;try{o=(t||r)()}catch(a){return e(a,!1)}return T(o)?o.then(function(){return e(n,i)},function(t){return e(t,!1)}):e(n,i)}return this.then(function(t){return n(t,!0)},function(t){return n(t,!1)})}}}},u=function(e){return T(e)?e:{then:function(n){var r=s();return t(function(){r.resolve(n(e))}),r.promise}}},c=function(t){var e=s();return e.reject(t),e.promise},l=function(n){return{then:function(r,o){var a=s();return t(function(){try{a.resolve((S(o)?o:i)(n))}catch(t){a.reject(t),e(t)}}),a.promise}}},f=function(n,o,a,l){var f,h=s(),p=function(t){try{return(S(o)?o:r)(t)}catch(n){return e(n),c(n)}},d=function(t){try{return(S(a)?a:i)(t)}catch(n){return e(n),c(n)}},$=function(t){try{return(S(l)?l:r)(t)}catch(n){e(n)}};return t(function(){u(n).then(function(t){f||(f=!0,h.resolve(u(t).then(p,d,$)))},function(t){f||(f=!0,h.resolve(d(t)))},function(t){f||h.notify($(t))})}),h.promise};return{defer:s,reject:c,when:f,all:a}}function An(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame,r=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(t){var e=n(t);return function(){r(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return o.supported=i,o}]}function On(){var t=10,e=r("$rootScope"),n=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,a,s,u){function l(){this.$id=c(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this["this"]=this.$root=this,this.$$destroyed=!1,this.$$asyncQueue=[],this.$$postDigestQueue=[],this.$$listeners={},this.$$listenerCount={},this.$$isolateBindings={}}function f(t){if(g.$$phase)throw e("inprog","{0} already in progress",g.$$phase);g.$$phase=t}function h(){g.$$phase=null}function p(t,e){var n=s(t);return ne(n,e),n}function $(t,e,n){do t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n];while(t=t.$parent)}function v(){}l.prototype={constructor:l,$new:function(t){var e;return t?(e=new l,e.$root=this.$root,e.$$asyncQueue=this.$$asyncQueue,e.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$id=c(),this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),e=new this.$$childScopeClass),e["this"]=e,e.$parent=this,e.$$prevSibling=this.$$childTail,this.$$childHead?(this.$$childTail.$$nextSibling=e,this.$$childTail=e):this.$$childHead=this.$$childTail=e,e},$watch:function(t,e,r){var i=this,o=p(t,"watch"),a=i.$$watchers,s={fn:e,last:v,get:o,exp:t,eq:!!r};if(n=null,!S(e)){var u=p(e||d,"listener");s.fn=function(t,e,n){u(n)}}if("string"==typeof t&&o.constant){var c=s.fn;s.fn=function(t,e,n){c.call(this,t,e,n),D(a,s)}}return a||(a=i.$$watchers=[]),a.unshift(s),function(){D(a,s),n=null}},$watchCollection:function(t,e){function n(){o=h(c);var t,e,n;if(y(o))if(i(o)){a!==p&&(a=p,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var r=0;t>r;r++)n=a[r]!==a[r]&&o[r]!==o[r],n||a[r]===o[r]||(f++,a[r]=o[r])}else{a!==d&&(a=d={},v=0,f++),t=0;for(e in o)o.hasOwnProperty(e)&&(t++,a.hasOwnProperty(e)?(n=a[e]!==a[e]&&o[e]!==o[e],n||a[e]===o[e]||(f++,a[e]=o[e])):(v++,a[e]=o[e],f++));if(v>t){f++;for(e in a)a.hasOwnProperty(e)&&!o.hasOwnProperty(e)&&(v--,delete a[e])}}else a!==o&&(a=o,f++);return f}function r(){if($?($=!1,e(o,o,c)):e(o,u,c),l)if(y(o))if(i(o)){u=new Array(o.length);for(var t=0;t1,f=0,h=s(t),p=[],d={},$=!0,v=0;return this.$watch(n,r)},$digest:function(){var r,i,o,s,u,c,l,p,d,$,g,m=this.$$asyncQueue,y=this.$$postDigestQueue,w=t,b=this,x=[];f("$digest"),n=null;do{for(c=!1,p=b;m.length;){try{g=m.shift(),g.scope.$eval(g.expression)}catch(C){h(),a(C)}n=null}t:do{if(s=p.$$watchers)for(u=s.length;u--;)try{if(r=s[u])if((i=r.get(p))===(o=r.last)||(r.eq?q(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(r===n){c=!1;break t}}else c=!0,n=r,r.last=r.eq?R(i,null):i,r.fn(i,o===v?i:o,p),5>w&&(d=4-w,x[d]||(x[d]=[]),$=S(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,$+="; newVal: "+H(i)+"; oldVal: "+H(o),x[d].push($))}catch(C){h(),a(C)}if(!(l=p.$$childHead||p!==b&&p.$$nextSibling))for(;p!==b&&!(l=p.$$nextSibling);)p=p.$parent}while(p=l);if((c||m.length)&&!w--)throw h(),e("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,H(x))}while(c||m.length);for(h();y.length;)try{y.shift()()}catch(C){a(C)}},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this!==g&&(o(this.$$listenerCount,F(null,$,this)),t.$$childHead==this&&(t.$$childHead=this.$$nextSibling),t.$$childTail==this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=d,this.$on=this.$watch=function(){return d})}},$eval:function(t,e){return s(t)(this,e)},$evalAsync:function(t){g.$$phase||g.$$asyncQueue.length||u.defer(function(){g.$$asyncQueue.length&&g.$digest()}),this.$$asyncQueue.push({scope:this,expression:t})},$$postDigest:function(t){this.$$postDigestQueue.push(t)},$apply:function(t){try{return f("$apply"),this.$eval(t)}catch(e){a(e)}finally{h();try{g.$digest()}catch(e){throw a(e),e}}},$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(){n[j(n,e)]=null,$(i,1,t)}},$emit:function(t){var e,n,r,i=[],o=this,s=!1,u={name:t,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=V([u],arguments,1);do{for(e=o.$$listeners[t]||i,u.currentScope=o,n=0,r=e.length;r>n;n++)if(e[n])try{e[n].apply(null,c)}catch(l){a(l)}else e.splice(n,1),n--,r--;if(s)return u;o=o.$parent}while(o);return u},$broadcast:function(t){for(var e,n,r,i=this,o=i,s=i,u={name:t,targetScope:i,preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=V([u],arguments,1);o=s;){for(u.currentScope=o,e=o.$$listeners[t]||[],n=0,r=e.length;r>n;n++)if(e[n])try{e[n].apply(null,c)}catch(l){a(l)}else e.splice(n,1),n--,r--;if(!(s=o.$$listenerCount[t]&&o.$$childHead||o!==i&&o.$$nextSibling))for(;o!==i&&!(s=o.$$nextSibling);)o=o.$parent}return u}};var g=new l;return g}]}function Tn(){var t=/^\s*(https?|ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return m(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return m(t)?(e=t,this):e},this.$get=function(){return function(n,r){var i,o=r?e:t;return mr&&!(mr>=8)||(i=qn(n).href,""===i||i.match(o))?n:"unsafe:"+i}}}function Mn(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#-1)throw yi("iwcard","Illegal sequence *** in string matcher. String: {0}",t);return t=Mn(t).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(C(t))return new RegExp("^"+t.source+"$");throw yi("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Pn(t){var e=[];return m(t)&&o(t,function(t){e.push(Nn(t))}),e}function jn(){this.SCE_CONTEXTS=wi;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=Pn(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=Pn(t)),e},this.$get=["$injector",function(r){function i(t,e){return"self"===t?Vn(e):!!t.exec(e.href)}function o(n){var r,o,a=qn(n.toString()),s=!1;for(r=0,o=t.length;o>r;r++)if(i(t[r],a)){s=!0;break}if(s)for(r=0,o=e.length;o>r;r++)if(i(e[r],a)){s=!1;break}return s}function a(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}function s(t,e){var r=h.hasOwnProperty(t)?h[t]:null;if(!r)throw yi("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||e===n||""===e)return e;if("string"!=typeof e)throw yi("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new r(e)}function u(t){return t instanceof f?t.$$unwrapTrustedValue():t}function c(t,e){if(null===e||e===n||""===e)return e;var r=h.hasOwnProperty(t)?h[t]:null;if(r&&e instanceof r)return e.$$unwrapTrustedValue();if(t===wi.RESOURCE_URL){if(o(e))return e;throw yi("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",e.toString())}if(t===wi.HTML)return l(e);throw yi("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(){throw yi("unsafe","Attempting to use an unsafe value in a safe context.")};r.has("$sanitize")&&(l=r.get("$sanitize"));var f=a(),h={};return h[wi.HTML]=a(f),h[wi.CSS]=a(f),h[wi.URL]=a(f),h[wi.JS]=a(f),h[wi.RESOURCE_URL]=a(h[wi.URL]),{trustAs:s,getTrusted:c,valueOf:u}}]}function Dn(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sniffer","$sceDelegate",function(e,n,r){if(t&&n.msie&&n.msieDocumentMode<8)throw yi("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=_(wi);i.isEnabled=function(){return t},i.trustAs=r.trustAs,i.getTrusted=r.getTrusted,i.valueOf=r.valueOf,t||(i.trustAs=i.getTrusted=function(t,e){return e},i.valueOf=$),i.parseAs=function(t,n){var r=e(n);return r.literal&&r.constant?r:function(e,n){return i.getTrusted(t,r(e,n))}};var a=i.parseAs,s=i.getTrusted,u=i.trustAs;return o(wi,function(t,e){var n=pr(e);i[ce("parse_as_"+n)]=function(e){return a(t,e)},i[ce("get_trusted_"+n)]=function(e){return s(t,e)},i[ce("trust_as_"+n)]=function(e){return u(t,e)}}),i}]}function Rn(){this.$get=["$window","$document",function(t,e){var n,r,i={},o=h((/android (\d+)/.exec(pr((t.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((t.navigator||{}).userAgent),s=e[0]||{},u=s.documentMode,c=/^(Moz|webkit|O|ms)(?=[A-Z])/,l=s.body&&s.body.style,f=!1,p=!1; -if(l){for(var d in l)if(r=c.exec(d)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),f=!!("transition"in l||n+"Transition"in l),p=!!("animation"in l||n+"Animation"in l),!o||f&&p||(f=w(s.body.style.webkitTransition),p=w(s.body.style.webkitAnimation))}return{history:!(!t.history||!t.history.pushState||4>o||a),hashchange:"onhashchange"in t&&(!u||u>7),hasEvent:function(t){if("input"==t&&9==mr)return!1;if(g(i[t])){var e=s.createElement("div");i[t]="on"+t in e}return i[t]},csp:Nr(),vendorPrefix:n,transitions:f,animations:p,android:o,msie:mr,msieDocumentMode:u}}]}function _n(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(t,e,n,r){function i(i,a,s){var u,c=n.defer(),l=c.promise,f=m(s)&&!s;return u=e.defer(function(){try{c.resolve(i())}catch(e){c.reject(e),r(e)}finally{delete o[l.$$timeoutId]}f||t.$apply()},a),l.$$timeoutId=u,o[u]=c,l}var o={};return i.cancel=function(t){return t&&t.$$timeoutId in o?(o[t.$$timeoutId].reject("canceled"),delete o[t.$$timeoutId],e.defer.cancel(t.$$timeoutId)):!1},i}]}function qn(t){var e=t;return mr&&(bi.setAttribute("href",e),e=bi.href),bi.setAttribute("href",e),{href:bi.href,protocol:bi.protocol?bi.protocol.replace(/:$/,""):"",host:bi.host,search:bi.search?bi.search.replace(/^\?/,""):"",hash:bi.hash?bi.hash.replace(/^#/,""):"",hostname:bi.hostname,port:bi.port,pathname:"/"===bi.pathname.charAt(0)?bi.pathname:"/"+bi.pathname}}function Vn(t){var e=w(t)?qn(t):t;return e.protocol===xi.protocol&&e.host===xi.host}function Un(){this.$get=v(t)}function Fn(t){function e(r,i){if(y(r)){var a={};return o(r,function(t,n){a[n]=e(n,t)}),a}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",Hn),e("date",Xn),e("filter",In),e("json",Kn),e("limitTo",Yn),e("lowercase",Ai),e("number",Ln),e("orderBy",Zn),e("uppercase",Oi)}function In(){return function(t,e,n){if(!Tr(t))return t;var r=typeof n,i=[];i.check=function(t){for(var e=0;e-1});var o=function(t,e){if("string"==typeof e&&"!"===e.charAt(0))return!o(t,e.substr(1));switch(typeof t){case"boolean":case"number":case"string":return n(t,e);case"object":switch(typeof e){case"object":return n(t,e);default:for(var r in t)if("$"!==r.charAt(0)&&o(t[r],e))return!0}return!1;case"array":for(var i=0;it;t=Math.abs(t);var a=t+"",s="",u=[],c=!1;if(-1!==a.indexOf("e")){var l=a.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&&l[3]>i+1?(a="0",t=0):(s=a,c=!0)}if(c)i>0&&t>-1&&1>t&&(s=t.toFixed(i));else{var f=(a.split(Si)[1]||"").length;g(i)&&(i=Math.min(Math.max(e.minFrac,f),e.maxFrac)),t=+(Math.round(+(t.toString()+"e"+i)).toString()+"e"+-i);var h=(""+t).split(Si),p=h[0];h=h[1]||"";var d,$=0,v=e.lgSize,m=e.gSize;if(p.length>=v+m)for($=p.length-v,d=0;$>d;d++)($-d)%m===0&&0!==d&&(s+=n),s+=p.charAt(d);for(d=$;dt&&(r="-",t=-t),t=""+t;t.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),zn(o,e,r)}}function Qn(t,e){return function(n,r){var i=n["get"+t](),o=$r(e?"SHORT"+t:t);return r[o][i]}}function Jn(t){var e=-1*t.getTimezoneOffset(),n=e>=0?"+":"";return n+=zn(Math[e>0?"floor":"ceil"](e/60),2)+zn(Math.abs(e%60),2)}function Gn(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function Xn(t){function e(t){var e;if(e=t.match(n)){var r=new Date(0),i=0,o=0,a=e[8]?r.setUTCFullYear:r.setFullYear,s=e[8]?r.setUTCHours:r.setHours;e[9]&&(i=h(e[9]+e[10]),o=h(e[9]+e[11])),a.call(r,h(e[1]),h(e[2])-1,h(e[3]));var u=h(e[4]||0)-i,c=h(e[5]||0)-o,l=h(e[6]||0),f=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(r,u,c,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){var i,a,s="",u=[];if(r=r||"mediumDate",r=t.DATETIME_FORMATS[r]||r,w(n)&&(n=Ei.test(n)?h(n):e(n)),b(n)&&(n=new Date(n)),!x(n))return n;for(;r;)a=ki.exec(r),a?(u=V(u,a,1),r=u.pop()):(u.push(r),r=null);return o(u,function(e){i=Ci[e],s+=i?i(n,t.DATETIME_FORMATS):e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function Kn(){return function(t){return H(t,!0)}}function Yn(){return function(t,e){if(!Tr(t)&&!w(t))return t;if(e=1/0===Math.abs(Number(e))?Number(e):h(e),w(t))return e?e>=0?t.slice(0,e):t.slice(e,t.length):"";var n,r,i=[];for(e>t.length?e=t.length:e<-t.length&&(e=-t.length),e>0?(n=0,r=e):(n=t.length+e,r=t.length);r>n;n++)i.push(t[n]);return i}}function Zn(t){return function(e,n,r){function i(t,e){for(var r=0;rt?-1:1):r>n?-1:1}if(!Tr(e))return e;if(!n)return e;n=Tr(n)?n:[n],n=N(n,function(e){var n=!1,r=e||$;if(w(e)&&(("+"==e.charAt(0)||"-"==e.charAt(0))&&(n="-"==e.charAt(0),e=e.substring(1)),r=t(e),r.constant)){var i=r();return o(function(t,e){return a(t[i],e[i])},n)}return o(function(t,e){return a(r(t),r(e))},n)});for(var s=[],u=0;u15&&19>e||e>=37&&40>=e||$()}),o.hasEvent("paste")&&e.on("paste cut",$)}e.on("change",p),i.$render=function(){e.val(i.$isEmpty(i.$viewValue)?"":i.$viewValue)};var v,g,m=n.ngPattern;if(m){var y=function(t,e){return nr(i,"pattern",i.$isEmpty(e)||t.test(e),e)};g=m.match(/^\/(.*)\/([gim]*)$/),g?(m=new RegExp(g[1],g[2]),v=function(t){return y(m,t)}):v=function(n){var i=t.$eval(m);if(!i||!i.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",m,i,z(e));return y(i,n)},i.$formatters.push(v),i.$parsers.push(v)}if(n.ngMinlength){var w=h(n.ngMinlength),b=function(t){return nr(i,"minlength",i.$isEmpty(t)||t.length>=w,t)};i.$parsers.push(b),i.$formatters.push(b)}if(n.ngMaxlength){var x=h(n.ngMaxlength),S=function(t){return nr(i,"maxlength",i.$isEmpty(t)||t.length<=x,t)};i.$parsers.push(S),i.$formatters.push(S)}}function ar(t,e,r,i,o,a){if(or(t,e,r,i,o,a),i.$parsers.push(function(t){var e=i.$isEmpty(t);return e||qi.test(t)?(i.$setValidity("number",!0),""===t?null:e?t:parseFloat(t)):(i.$setValidity("number",!1),n)}),ir(i,"number",Ui,null,i.$$validityState),i.$formatters.push(function(t){return i.$isEmpty(t)?"":""+t}),r.min){var s=function(t){var e=parseFloat(r.min);return nr(i,"min",i.$isEmpty(t)||t>=e,t)};i.$parsers.push(s),i.$formatters.push(s)}if(r.max){var u=function(t){var e=parseFloat(r.max);return nr(i,"max",i.$isEmpty(t)||e>=t,t)};i.$parsers.push(u),i.$formatters.push(u)}i.$formatters.push(function(t){return nr(i,"number",i.$isEmpty(t)||b(t),t)})}function sr(t,e,n,r,i,o){or(t,e,n,r,i,o);var a=function(t){return nr(r,"url",r.$isEmpty(t)||Ri.test(t),t)};r.$formatters.push(a),r.$parsers.push(a)}function ur(t,e,n,r,i,o){or(t,e,n,r,i,o);var a=function(t){return nr(r,"email",r.$isEmpty(t)||_i.test(t),t)};r.$formatters.push(a),r.$parsers.push(a)}function cr(t,e,n,r){g(n.name)&&e.attr("name",c()),e.on("click",function(){e[0].checked&&t.$apply(function(){r.$setViewValue(n.value)})}),r.$render=function(){var t=n.value;e[0].checked=t==r.$viewValue},n.$observe("value",r.$render)}function lr(t,e,n,r){var i=n.ngTrueValue,o=n.ngFalseValue;w(i)||(i=!0),w(o)||(o=!1),e.on("click",function(){t.$apply(function(){r.$setViewValue(e[0].checked)})}),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t!==i},r.$formatters.push(function(t){return t===i}),r.$parsers.push(function(t){return t?i:o})}function fr(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))}),s.data("$classCounts",n),r.join(" ")}function h(t,e){var i=r(e,t),o=r(t,e);o=f(o,-1),i=f(i,1),0===i.length?n.removeClass(s,o):0===o.length?n.addClass(s,i):n.setClass(s,i,o)}function p(t){if(e===!0||a.$index%2===e){var n=i(t||[]);if(d){if(!q(t,d)){var r=i(d);h(r,n)}}else c(n)}d=_(t)}var d;a.$watch(u[t],p,!0),u.$observe("class",function(){p(a.$eval(u[t]))}),"ngClass"!==t&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[t]));o===e?c(s):l(s)}})}}}]}var hr="validity",pr=function(t){return w(t)?t.toLowerCase():t},dr=Object.prototype.hasOwnProperty,$r=function(t){return w(t)?t.toUpperCase():t},vr=function(t){return w(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},gr=function(t){return w(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(-33&t.charCodeAt(0))}):t};"i"!=="I".toLowerCase()&&(pr=vr,$r=gr);var mr,yr,wr,br,xr,Sr=[].slice,Cr=[].push,kr=Object.prototype.toString,Er=r("ng"),Ar=t.angular||(t.angular={}),Or=["0","0","0"];mr=h((/msie (\d+)/.exec(pr(navigator.userAgent))||[])[1]),isNaN(mr)&&(mr=h((/trident\/.*; rv:(\d+)/.exec(pr(navigator.userAgent))||[])[1])),d.$inject=[],$.$inject=[];var Tr=function(){return S(Array.isArray)?Array.isArray:function(t){return"[object Array]"===kr.call(t)}}(),Mr=function(){return String.prototype.trim?function(t){return w(t)?t.trim():t}:function(t){return w(t)?t.replace(/^\s\s*/,"").replace(/\s\s*$/,""):t}}();xr=9>mr?function(t){return t=t.nodeName?t:t[0],t.scopeName&&"HTML"!=t.scopeName?$r(t.scopeName+":"+t.nodeName):t.nodeName}:function(t){return t.nodeName?t.nodeName:t[0].nodeName};var Nr=function(){if(m(Nr.isActive_))return Nr.isActive_;var t=!(!e.querySelector("[ng-csp]")&&!e.querySelector("[data-ng-csp]"));if(!t)try{new Function("")}catch(n){t=!0}return Nr.isActive_=t},Pr=/[A-Z]/g,jr={full:"1.2.23",major:1,minor:2,dot:23,codeName:"superficial-malady"};de.expando="ng339";var Dr=de.cache={},Rr=1,_r=t.document.addEventListener?function(t,e,n){t.addEventListener(e,n,!1)}:function(t,e,n){t.attachEvent("on"+e,n)},qr=t.document.removeEventListener?function(t,e,n){t.removeEventListener(e,n,!1)}:function(t,e,n){t.detachEvent("on"+e,n)},Vr=(de._data=function(t){return this.cache[t[this.expando]]||{}},/([\:\-\_]+(.))/g),Ur=/^moz([A-Z])/,Fr=r("jqLite"),Ir=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Hr=/<|&#?\w+;/,Lr=/<([\w:]+)/,Br=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,zr={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};zr.optgroup=zr.option,zr.tbody=zr.tfoot=zr.colgroup=zr.caption=zr.thead,zr.th=zr.td;var Wr=de.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===e.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),de(t).on("load",r))},toString:function(){var t=[];return o(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return yr(t>=0?this[t]:this[this.length+t])},length:0,push:Cr,sort:[].sort,splice:[].splice},Qr={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){Qr[pr(t)]=t});var Jr={};o("input,select,option,textarea,button,form,details".split(","),function(t){Jr[$r(t)]=!0}),o({data:we,removeData:me},function(t,e){de[e]=t}),o({data:we,inheritedData:Ee,scope:function(t){return yr.data(t,"$scope")||Ee(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return yr.data(t,"$isolateScope")||yr.data(t,"$isolateScopeNoTemplate")},controller:ke,injector:function(t){return Ee(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:be,css:function(t,e,r){if(e=ce(e),!m(r)){var i;return 8>=mr&&(i=t.currentStyle&&t.currentStyle[e],""===i&&(i="auto")),i=i||t.style[e],8>=mr&&(i=""===i?n:i),i}t.style[e]=r},attr:function(t,e,r){var i=pr(e);if(Qr[i]){if(!m(r))return t[e]||(t.attributes.getNamedItem(e)||d).specified?i:n;r?(t[e]=!0,t.setAttribute(e,i)):(t[e]=!1,t.removeAttribute(i))}else if(m(r))t.setAttribute(e,r);else if(t.getAttribute){var o=t.getAttribute(e,2);return null===o?n:o}},prop:function(t,e,n){return m(n)?void(t[e]=n):t[e]},text:function(){function t(t,n){var r=e[t.nodeType];return g(n)?r?t[r]:"":void(t[r]=n)}var e=[];return 9>mr?(e[1]="innerText",e[3]="nodeValue"):e[1]=e[3]="textContent",t.$dv="",t}(),val:function(t,e){if(g(e)){if("SELECT"===xr(t)&&t.multiple){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){if(g(e))return t.innerHTML;for(var n=0,r=t.childNodes;ni;i++)if(t===we)t(this[i],e);else for(o in e)t(this[i],o,e[o]);return this}for(var s=t.$dv,u=s===n?Math.min(a,1):a,c=0;u>c;c++){var l=t(this[c],e,r);s=s?s+l:l}return s}for(i=0;a>i;i++)t(this[i],e,r);return this}}),o({removeData:me,dealoc:ve,on:function Oo(t,n,r,i){if(m(i))throw Fr("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");var a=ye(t,"events"),s=ye(t,"handle");a||ye(t,"events",a={}),s||ye(t,"handle",s=Te(t,a)),o(n.split(" "),function(n){var i=a[n];if(!i){if("mouseenter"==n||"mouseleave"==n){var o=e.body.contains||e.body.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1};a[n]=[];var u={mouseleave:"mouseout",mouseenter:"mouseover"};Oo(t,u[n],function(t){var e=this,r=t.relatedTarget;(!r||r!==e&&!o(e,r))&&s(t,n)})}else _r(t,n,s),a[n]=[];i=a[n]}i.push(r)})},off:ge,one:function(t,e,n){t=yr(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;ve(t),o(new de(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){1===t.nodeType&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){o(new de(e),function(e){(1===t.nodeType||11===t.nodeType)&&t.appendChild(e)})},prepend:function(t,e){if(1===t.nodeType){var n=t.firstChild;o(new de(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){e=yr(e)[0];var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)},remove:function(t){ve(t);var e=t.parentNode;e&&e.removeChild(t)},after:function(t,e){var n=t,r=t.parentNode;o(new de(e),function(t){r.insertBefore(t,n.nextSibling),n=t})},addClass:Se,removeClass:xe,toggleClass:function(t,e,n){e&&o(e.split(" "),function(e){var r=n;g(r)&&(r=!be(t,e)),(r?Se:xe)(t,e)})},parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},next:function(t){if(t.nextElementSibling)return t.nextElementSibling;for(var e=t.nextSibling;null!=e&&1!==e.nodeType;)e=e.nextSibling;return e},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:$e,triggerHandler:function(t,e,n){var r,i,a,s=e.type||e,u=(ye(t,"events")||{})[s];u&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopPropagation:d,type:s,target:t},e.type&&(r=f(r,e)),i=_(u),a=n?[r].concat(n):[r],o(i,function(e){e.apply(t,a)}))}},function(t,e){de.prototype[e]=function(e,n,r){for(var i,o=0;o":function(t,e,n,r){return n(t,e)>r(t,e)},"<=":function(t,e,n,r){return n(t,e)<=r(t,e)},">=":function(t,e,n,r){return n(t,e)>=r(t,e)},"&&":function(t,e,n,r){return n(t,e)&&r(t,e)},"||":function(t,e,n,r){return n(t,e)||r(t,e)},"&":function(t,e,n,r){return n(t,e)&r(t,e)},"|":function(t,e,n,r){return r(t,e)(t,e,n(t,e))},"!":function(t,e,n){return!n(t,e)}},$i={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},vi=function(t){this.options=t};vi.prototype={constructor:vi,lex:function(t){for(this.text=t,this.index=0,this.ch=n,this.lastCh=":",this.tokens=[];this.index="0"&&"9">=t},isWhitespace:function(t){return" "===t||"\r"===t||" "===t||"\n"===t||" "===t||" "===t},isIdent:function(t){return t>="a"&&"z">=t||t>="A"&&"Z">=t||"_"===t||"$"===t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var r=m(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw ci("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber:function(){for(var t="",e=this.index;this.index0){var i=this.tokens[0],o=i.text;if(o===t||o===e||o===n||o===r||!t&&!e&&!n&&!r)return i}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return i?(this.tokens.shift(),i):!1},consume:function(t){this.expect(t)||this.throwError("is unexpected, expecting ["+t+"]",this.peek())},unaryFn:function(t,e){return f(function(n,r){return t(n,r,e)},{constant:e.constant})},ternaryFn:function(t,e,n){return f(function(r,i){return t(r,i)?e(r,i):n(r,i)},{constant:t.constant&&e.constant&&n.constant})},binaryFn:function(t,e,n){return f(function(r,i){return e(r,i,t,n)},{constant:t.constant&&n.constant})},statements:function(){for(var t=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.filterChain()),!this.expect(";"))return 1===t.length?t[0]:function(e,n){for(var r,i=0;i","<=",">="))&&(e=this.binaryFn(e,t.fn,this.relational())),e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e=this.binaryFn(e,t.fn,this.multiplicative());return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e=this.binaryFn(e,t.fn,this.unary());return e},unary:function(){var t;return this.expect("+")?this.primary():(t=this.expect("-"))?this.binaryFn(gi.ZERO,t.fn,this.unary()):(t=this.expect("!"))?this.unaryFn(t.fn,this.unary()):this.primary()},fieldAccess:function(t){var e=this,n=this.expect().text,r=Sn(n,this.options,this.text);return f(function(e,n,i){return r(i||t(e,n))},{assign:function(r,i,o){var a=t(r,o);return a||t.assign(r,a={}),bn(a,n,i,e.text,e.options)}})},objectIndex:function(t){var e=this,r=this.expression();return this.consume("]"),f(function(i,o){var a,s,u=t(i,o),c=r(i,o);return mn(c,e.text),u?(a=yn(u[c],e.text),a&&a.then&&e.options.unwrapPromises&&(s=a,"$$v"in a||(s.$$v=n,s.then(function(t){s.$$v=t})),a=a.$$v),a):n},{assign:function(n,i,o){var a=mn(r(n,o),e.text),s=yn(t(n,o),e.text);return s||t.assign(n,s={}),s[a]=i}})},functionCall:function(t,e){var n=[];if(")"!==this.peekToken().text)do n.push(this.expression());while(this.expect(","));this.consume(")");var r=this;return function(i,o){for(var a=[],s=e?e(i,o):i,u=0;u=mr&&(n.href||n.name||n.$set("href",""),t.append(e.createComment("IE fix"))),n.href||n.xlinkHref||n.name?void 0:function(t,e){var n="[object SVGAnimatedString]"===kr.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}),Mi={};o(Qr,function(t,e){if("multiple"!=t){var n=Ie("ng-"+e);Mi[n]=function(){return{priority:100,link:function(t,r,i){t.$watch(i[n],function(t){i.$set(e,!!t)})}}}}}),o(["src","srcset","href"],function(t){var e=Ie("ng-"+t);Mi[e]=function(){return{priority:99,link:function(n,r,i){var o=t,a=t;"href"===t&&"[object SVGAnimatedString]"===kr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(e,function(e){return e?(i.$set(a,e),void(mr&&o&&r.prop(o,i[a]))):void("href"===t&&i.$set(a,null))})}}}});var Ni={$addControl:d,$removeControl:d,$setValidity:d,$setDirty:d,$setPristine:d};er.$inject=["$element","$attrs","$scope","$animate"];var Pi=function(t){return["$timeout",function(e){var r={name:"form",restrict:t?"EAC":"E",controller:er,compile:function(){return{pre:function(t,r,i,o){if(!i.action){var a=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1};_r(r[0],"submit",a),r.on("$destroy",function(){e(function(){qr(r[0],"submit",a)},0,!1)})}var s=r.parent().controller("form"),u=i.name||i.ngForm;u&&bn(t,u,o,u),s&&r.on("$destroy",function(){s.$removeControl(o),u&&bn(t,u,n,u),f(o,Ni)})}}}};return r}]},ji=Pi(),Di=Pi(!0),Ri=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,_i=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,qi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,Vi={text:or,number:ar,url:sr,email:ur,radio:cr,checkbox:lr,hidden:d,button:d,submit:d,reset:d,file:d},Ui=["badInput"],Fi=["$browser","$sniffer",function(t,e){return{restrict:"E",require:"?ngModel",link:function(n,r,i,o){o&&(Vi[pr(i.type)]||Vi.text)(n,r,i,o,e,t)}}}],Ii="ng-valid",Hi="ng-invalid",Li="ng-pristine",Bi="ng-dirty",zi=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate",function(t,e,n,i,a,s){function u(t,e){e=e?"-"+Z(e,"-"):"",s.removeClass(i,(t?Hi:Ii)+e),s.addClass(i,(t?Ii:Hi)+e)}this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$name=n.name;var c=a(n.ngModel),l=c.assign;if(!l)throw r("ngModel")("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,z(i));this.$render=d,this.$isEmpty=function(t){return g(t)||""===t||null===t||t!==t};var f=i.inheritedData("$formController")||Ni,h=0,p=this.$error={};i.addClass(Li),u(!0),this.$setValidity=function(t,e){p[t]!==!e&&(e?(p[t]&&h--,h||(u(!0),this.$valid=!0,this.$invalid=!1)):(u(!1),this.$invalid=!0,this.$valid=!1,h++),p[t]=!e,u(e,t),f.$setValidity(t,e,this))},this.$setPristine=function(){this.$dirty=!1,this.$pristine=!0,s.removeClass(i,Bi),s.addClass(i,Li)},this.$setViewValue=function(n){this.$viewValue=n,this.$pristine&&(this.$dirty=!0,this.$pristine=!1,s.removeClass(i,Li),s.addClass(i,Bi),f.$setDirty()),o(this.$parsers,function(t){n=t(n)}),this.$modelValue!==n&&(this.$modelValue=n,l(t,n),o(this.$viewChangeListeners,function(t){try{t()}catch(n){e(n)}}))};var $=this;t.$watch(function(){var e=c(t);if($.$modelValue!==e){var n=$.$formatters,r=n.length;for($.$modelValue=e;r--;)e=n[r](e);$.$viewValue!==e&&($.$viewValue=e,$.$render())}return e})}],Wi=function(){return{require:["ngModel","^?form"],controller:zi,link:function(t,e,n,r){var i=r[0],o=r[1]||Ni;o.$addControl(i),t.$on("$destroy",function(){o.$removeControl(i)})}}},Qi=v({require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),Ji=function(){return{require:"?ngModel",link:function(t,e,n,r){if(r){n.required=!0;var i=function(t){return n.required&&r.$isEmpty(t)?void r.$setValidity("required",!1):(r.$setValidity("required",!0),t)};r.$formatters.push(i),r.$parsers.unshift(i),n.$observe("required",function(){i(r.$viewValue)})}}}},Gi=function(){return{require:"ngModel",link:function(t,e,r,i){var a=/\/(.*)\//.exec(r.ngList),s=a&&new RegExp(a[1])||r.ngList||",",u=function(t){if(!g(t)){var e=[];return t&&o(t.split(s),function(t){t&&e.push(Mr(t))}),e}};i.$parsers.push(u),i.$formatters.push(function(t){return Tr(t)?t.join(", "):n}),i.$isEmpty=function(t){return!t||!t.length}}}},Xi=/^(true|false|\d+)$/,Ki=function(){return{priority:100,compile:function(t,e){return Xi.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)})}}}},Yi=tr({compile:function(t){return t.addClass("ng-binding"),function(t,e,r){e.data("$binding",r.ngBind),t.$watch(r.ngBind,function(t){e.text(t==n?"":t)})}}}),Zi=["$interpolate",function(t){return function(e,n,r){var i=t(n.attr(r.$attr.ngBindTemplate));n.addClass("ng-binding").data("$binding",i),r.$observe("ngBindTemplate",function(t){n.text(t)})}}],to=["$sce","$parse",function(t,e){return{compile:function(n){return n.addClass("ng-binding"),function(n,r,i){function o(){return(a(n)||"").toString()}r.data("$binding",i.ngBindHtml);var a=e(i.ngBindHtml);n.$watch(o,function(){r.html(t.getTrustedHtml(a(n))||"")})}}}}],eo=fr("",!0),no=fr("Odd",0),ro=fr("Even",1),io=tr({compile:function(t,e){e.$set("ngCloak",n),t.removeClass("ng-cloak")}}),oo=[function(){return{scope:!0,controller:"@",priority:500}}],ao={};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=Ie("ng-"+t);ao[e]=["$parse",function(n){return{compile:function(r,i){var o=n(i[e]);return function(e,n){n.on(pr(t),function(t){e.$apply(function(){o(e,{$event:t})})})}}}}]});var so=["$animate",function(t){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,c;n.$watch(i.ngIf,function(o){B(o)?u||(u=n.$new(),a(u,function(n){n[n.length++]=e.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},t.enter(n,r.parent(),r)})):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),s&&(c=oe(s.clone),t.leave(c,function(){c=null}),s=null))})}}}],uo=["$http","$templateCache","$anchorScroll","$animate","$sce",function(t,e,n,r,i){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ar.noop,compile:function(o,a){var s=a.ngInclude||a.src,u=a.onload||"",c=a.autoscroll;return function(o,a,l,f,h){var p,d,$,v=0,g=function(){d&&(d.remove(),d=null),p&&(p.$destroy(),p=null),$&&(r.leave($,function(){d=null}),d=$,$=null)};o.$watch(i.parseAsResourceUrl(s),function(i){var s=function(){!m(c)||c&&!o.$eval(c)||n()},l=++v;i?(t.get(i,{cache:e}).success(function(t){if(l===v){var e=o.$new();f.template=t;var n=h(e,function(t){g(),r.enter(t,null,a,s)});p=e,$=n,p.$emit("$includeContentLoaded"),o.$eval(u)}}).error(function(){l===v&&g()}),o.$emit("$includeContentRequested")):(g(),f.template=null)})}}}}],co=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(e,n,r,i){n.html(i.template),t(n.contents())(e)}}}],lo=tr({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),fo=tr({terminal:!0,priority:1e3}),ho=["$locale","$interpolate",function(t,e){var n=/{}/g;return{restrict:"EA",link:function(r,i,a){var s=a.count,u=a.$attr.when&&i.attr(a.$attr.when),c=a.offset||0,l=r.$eval(u)||{},f={},h=e.startSymbol(),p=e.endSymbol(),d=/^when(Minus)?(.+)$/;o(a,function(t,e){d.test(e)&&(l[pr(e.replace("when","").replace("Minus","-"))]=i.attr(a.$attr[e]))}),o(l,function(t,r){f[r]=e(t.replace(n,h+s+"-"+c+p))}),r.$watch(function(){var e=parseFloat(r.$eval(s));return isNaN(e)?"":(e in l||(e=t.pluralCat(e-c)),f[e](r,i,!0))},function(t){i.text(t)})}}}],po=["$parse","$animate",function(t,n){function a(t){return t.clone[0]}function s(t){return t.clone[t.clone.length-1]}var u="$$NG_REMOVED",c=r("ngRepeat");return{transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,link:function(r,l,f,h,p){var d,$,v,g,m,y,w,b,x,S=f.ngRepeat,C=S.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),k={$id:Me};if(!C)throw c("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",S);if(y=C[1],w=C[2],d=C[3],d?($=t(d),v=function(t,e,n){return x&&(k[x]=t),k[b]=e,k.$index=n,$(r,k)}):(g=function(t,e){return Me(e)},m=function(t){return t}),C=y.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/),!C)throw c("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",y);b=C[3]||C[1],x=C[2];var E={};r.$watchCollection(w,function(t){var f,h,d,$,y,w,C,k,A,O,T,M,N=l[0],P={},j=[];if(i(t))O=t,A=v||g;else{A=v||m,O=[];for(w in t)t.hasOwnProperty(w)&&"$"!=w.charAt(0)&&O.push(w);O.sort()}for($=O.length,h=j.length=O.length,f=0;h>f;f++)if(w=t===O?f:O[f],C=t[w],k=A(w,C,f),re(k,"`track by` id"),E.hasOwnProperty(k))T=E[k],delete E[k],P[k]=T,j[f]=T;else{if(P.hasOwnProperty(k))throw o(j,function(t){t&&t.scope&&(E[t.id]=t)}),c("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}",S,k);j[f]={id:k},P[k]=!1}for(w in E)E.hasOwnProperty(w)&&(T=E[w],M=oe(T.clone),n.leave(M),o(M,function(t){t[u]=!0}),T.scope.$destroy());for(f=0,h=O.length;h>f;f++){if(w=t===O?f:O[f],C=t[w],T=j[f],j[f-1]&&(N=s(j[f-1])),T.scope){y=T.scope,d=N;do d=d.nextSibling;while(d&&d[u]);a(T)!=d&&n.move(oe(T.clone),null,yr(N)),N=s(T)}else y=r.$new();y[b]=C,x&&(y[x]=w),y.$index=f,y.$first=0===f,y.$last=f===$-1,y.$middle=!(y.$first||y.$last),y.$odd=!(y.$even=0===(1&f)),T.scope||p(y,function(t){t[t.length++]=e.createComment(" end ngRepeat: "+S+" "),n.enter(t,null,yr(N)),N=t,T.scope=y,T.clone=t,P[T.id]=T})}E=P})}}}],$o=["$animate",function(t){return function(e,n,r){e.$watch(r.ngShow,function(e){t[B(e)?"removeClass":"addClass"](n,"ng-hide")})}}],vo=["$animate",function(t){return function(e,n,r){e.$watch(r.ngHide,function(e){t[B(e)?"addClass":"removeClass"](n,"ng-hide")})}}],go=tr(function(t,e,n){t.$watch(n.ngStyle,function(t,n){n&&t!==n&&o(n,function(t,n){e.css(n,"")}),t&&e.css(t)},!0)}),mo=["$animate",function(t){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(e,n,r,i){var a=r.ngSwitch||r.on,s=[],u=[],c=[],l=[];e.$watch(a,function(n){var a,f;for(a=0,f=c.length;f>a;++a)c[a].remove();for(c.length=0,a=0,f=l.length;f>a;++a){var h=u[a];l[a].$destroy(),c[a]=h,t.leave(h,function(){c.splice(a,1)})}u.length=0,l.length=0,(s=i.cases["!"+n]||i.cases["?"])&&(e.$eval(r.change),o(s,function(n){var r=e.$new();l.push(r),n.transclude(r,function(e){var r=n.element;u.push(e),t.enter(e,r.parent(),r)})}))})}}}],yo=tr({transclude:"element",priority:800,require:"^ngSwitch",link:function(t,e,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:e})}}),wo=tr({transclude:"element",priority:800,require:"^ngSwitch",link:function(t,e,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:e})}}),bo=tr({link:function(t,e,n,i,o){if(!o)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",z(e));o(function(t){e.empty(),e.append(t)})}}),xo=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){if("text/ng-template"==n.type){var r=n.id,i=e[0].text;t.put(r,i)}}}}],So=r("ngOptions"),Co=v({terminal:!0}),ko=["$compile","$parse",function(t,r){var i=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,s={$setViewValue:d};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(t,e,n){var r,i,o=this,a={},u=s;o.databound=n.ngModel,o.init=function(t,e,n){u=t,r=e,i=n},o.addOption=function(e){re(e,'"option value"'),a[e]=!0,u.$viewValue==e&&(t.val(e),i.parent()&&i.remove())},o.removeOption=function(t){this.hasOption(t)&&(delete a[t],u.$viewValue==t&&this.renderUnknownOption(t))},o.renderUnknownOption=function(e){var n="? "+Me(e)+" ?";i.val(n),t.prepend(i),t.val(n),i.prop("selected",!0)},o.hasOption=function(t){return a.hasOwnProperty(t)},e.$on("$destroy",function(){o.renderUnknownOption=d})}],link:function(s,u,c,l){function f(t,e,n,r){n.$render=function(){var t=n.$viewValue;r.hasOption(t)?(C.parent()&&C.remove(),e.val(t),""===t&&d.prop("selected",!0)):g(t)&&d?e.val(""):r.renderUnknownOption(t)},e.on("change",function(){t.$apply(function(){C.parent()&&C.remove(),n.$setViewValue(e.val())})})}function h(t,e,n){var r;n.$render=function(){var t=new Ne(n.$viewValue);o(e.find("option"),function(e){e.selected=m(t.get(e.value))})},t.$watch(function(){q(r,n.$viewValue)||(r=_(n.$viewValue),n.$render())}),e.on("change",function(){t.$apply(function(){var t=[];o(e.find("option"),function(e){e.selected&&t.push(e.value)}),n.$setViewValue(t)})})}function p(e,o,s){function u(){var t=!1;if(y){var n=s.$modelValue;if(C&&Tr(n)){t=new Ne([]);for(var r={},i=0;iO;O++){if(g=O,p){if(g=q[O],"$"===g.charAt(0))continue;V[p]=g}if(V[h]=_[g],t=d(e,V)||"",(n=j[t])||(n=j[t]=[],D.push(t)),y)T=m(U.remove(C?C(e,V):$(e,V)));else{if(C){var F={};F[h]=R,T=C(e,F)===C(e,V)}else T=R===$(e,V);U=U||T}P=f(e,V),P=m(P)?P:"",n.push({id:C?C(e,V):p?q[O]:O,label:P,selected:T})}for(y||(b||null===R?j[""].unshift({id:"",label:"",selected:!U}):U||j[""].unshift({id:"?",label:"",selected:!0})),A=0,w=D.length;w>A;A++){for(t=D[A],n=j[t],k.length<=A?(i={element:S.clone().attr("label",t),label:n.label},c=[i],k.push(c),o.append(i.element)):(c=k[A],i=c[0],i.label!=t&&i.element.attr("label",i.label=t)),M=null,O=0,E=n.length;E>O;O++)r=n[O],(l=c[O+1])?(M=l.element,l.label!==r.label&&M.text(l.label=r.label),l.id!==r.id&&M.val(l.id=r.id),M[0].selected!==r.selected&&(M.prop("selected",l.selected=r.selected),mr&&M.prop("selected",l.selected))):(""===r.id&&b?N=b:(N=x.clone()).val(r.id).prop("selected",r.selected).attr("selected",r.selected).text(r.label),c.push(l={element:N,label:r.label,id:r.id,selected:r.selected}),M?M.after(N):i.element.append(N),M=N);for(O++;c.length>O;)c.pop().element.remove()}for(;k.length>A;)k.pop()[0].element.remove()}var l;if(!(l=w.match(i)))throw So("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",w,z(o));var f=r(l[2]||l[1]),h=l[4]||l[6],p=l[5],d=r(l[3]||""),$=r(l[2]?l[1]:h),v=r(l[7]),g=l[8],C=g?r(l[8]):null,k=[[{element:o,label:""}]];b&&(t(b)(e),b.removeClass("ng-scope"),b.remove()),o.empty(),o.on("change",function(){e.$apply(function(){var t,r,i,a,u,l,f,d,g,m=v(e)||[],w={};if(y){for(i=[],l=0,d=k.length;d>l;l++)for(t=k[l],u=1,f=t.length;f>u;u++)if((a=t[u].element)[0].selected){if(r=a.val(),p&&(w[p]=r),C)for(g=0;gk;k++)if(""===E[k].value){d=b=E.eq(k);break}$.init(v,b,C),y&&(v.$isEmpty=function(t){return!t||0===t.length}),w?p(s,u,v):y?h(s,u,v):f(s,u,v,$)}}}}],Eo=["$interpolate",function(t){var e={addOption:d,removeOption:d};return{restrict:"E",priority:100,compile:function(n,r){if(g(r.value)){var i=t(n.text(),!0);i||r.$set("value",n.text())}return function(t,n,r){var o="$selectController",a=n.parent(),s=a.data(o)||a.parent().data(o);s&&s.databound?n.prop("selected",!1):s=e,i?t.$watch(i,function(t,e){r.$set("value",t),t!==e&&s.removeOption(e),s.addOption(t)}):s.addOption(r.value),n.on("$destroy",function(){s.removeOption(r.value)})}}}}],Ao=v({restrict:"E",terminal:!0});return t.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(te(),se(Ar),void yr(e).ready(function(){K(e,Y)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('')},{}]},{},["./src/book.coffee"]); \ No newline at end of file diff --git a/app/src/main/assets/src/book.coffee b/app/src/main/assets/src/book.coffee index cde749e..ef1117e 100644 --- a/app/src/main/assets/src/book.coffee +++ b/app/src/main/assets/src/book.coffee @@ -1 +1,3 @@ require 'angular' + +console.log 'hello' \ No newline at end of file diff --git a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BookFragment.java b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BookFragment.java index 0d605aa..3c441e2 100644 --- a/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BookFragment.java +++ b/app/src/main/java/org/bspeice/minimalbible/activity/viewer/BookFragment.java @@ -1,6 +1,7 @@ package org.bspeice.minimalbible.activity.viewer; import android.app.Activity; +import android.os.Build; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; @@ -112,7 +113,7 @@ public class BookFragment extends BaseFragment { Verse initial = new Verse(vUtil.getVersification(mBook.get()), BibleBook.GEN, 1, 1); super.onPageFinished(view, url); - invokeJavascript("set_content", lookupService.getHTMLVerse(initial)); +// invokeJavascript("set_content", lookupService.getHTMLVerse(initial)); } @Override @@ -122,6 +123,11 @@ public class BookFragment extends BaseFragment { description); } }); + + // TODO: Remove remote debugging when ready + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { + WebView.setWebContentsDebuggingEnabled(true); + } } /**